@nivaro/sdk 0.1.17 → 0.1.19

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/README.md CHANGED
@@ -24,6 +24,14 @@ The `@nivaro/sdk` package is a fully-typed TypeScript client for the Nivaro REST
24
24
  pnpm add @nivaro/sdk
25
25
  ```
26
26
 
27
+ #### MCP server (Claude Code, Claude Desktop, Cursor)
28
+
29
+ The companion package `@nivaro/mcp` wraps the SDK as a Model Context Protocol server, so an AI coding assistant can read and write an instance directly: collection schemas, record reads and aggregates, rehearsed creates, updates, deletes with an explicit confirm, pipeline state and transitions, and the instance's own ask-your-data assistant. It authenticates with an `nvk_` API key, so role permissions, row-level security and user scopes apply unchanged; a sandbox key is read-only by construction. Install and client config snippets live in the package README (`packages/mcp/README.md`).
30
+
31
+ ```typescript
32
+ claude mcp add nivaro -e NIVARO_URL=https://nivaro.example.com -e NIVARO_TOKEN=nvk_... -- npx -y @nivaro/mcp
33
+ ```
34
+
27
35
  #### Create a client
28
36
 
29
37
  ```typescript
@@ -2446,6 +2454,92 @@ await nivaro.request(createHierarchyConfig({
2446
2454
 
2447
2455
  ---
2448
2456
 
2457
+ ## SDK — Help Videos
2458
+
2459
+ Tutorial recordings: upload, edit, version, publish, choose where they show, require viewing and track progress. Authoring commands need an author (an administrator or a role in the author setting); reading and progress need only visibility.
2460
+
2461
+ ```typescript
2462
+ import {
2463
+ openHelpVideoUpload, finalizeHelpVideoUpload, createHelpVideo,
2464
+ setHelpVideoContexts, publishHelpVideo, helpVideosFor,
2465
+ } from '@nivaro/sdk'
2466
+
2467
+ // 1. Open an upload, send the bytes, finalize, create the video
2468
+ const { data: up } = await nivaro.request(openHelpVideoUpload('video/webm'))
2469
+ let part = up.next_part
2470
+ for (const chunk of chunks) {
2471
+ // Raw PUT — not a Command, because Commands JSON-encode their bodies.
2472
+ await fetch(`${baseUrl}/api/help-videos/uploads/${up.id}/parts/${part++}`, {
2473
+ method: 'PUT',
2474
+ headers: { Authorization: `Bearer ${token}`, 'Content-Type': 'application/octet-stream' },
2475
+ body: chunk, // at most 8 MB per part; the response is the upload session
2476
+ })
2477
+ }
2478
+ await nivaro.request(finalizeHelpVideoUpload(up.id, { duration_ms }))
2479
+ const { data: video } = await nivaro.request(createHelpVideo({ upload_id: up.id, title: 'Raise a PO' }))
2480
+
2481
+ // 2. Say where it shows, then publish
2482
+ await nivaro.request(setHelpVideoContexts(video.id, [{ kind: 'page', key: 'inbox', state_key: null }]))
2483
+ await nivaro.request(publishHelpVideo(video.id))
2484
+
2485
+ // 3. Show the right videos on a screen
2486
+ const { data } = await nivaro.request(helpVideosFor({ collection: 'purchase_orders', item: 42 }))
2487
+ ```
2488
+
2489
+ #### Response notes
2490
+
2491
+ - `stream_url`, `captions_url` and `poster_url` are ticketed (`?st=`): hand them to `<video>`, `<track>` and `<img>` as-is. Authors also get `draft_stream_url` and `draft_captions_url`.
2492
+ - `published.playable` is `false` when a viewer’s stream would answer 409 (the video is still being prepared); authors always get `true`.
2493
+ - `required` is true when the video is required for the caller’s own role. Authors also get `required_role_ids`. `my_progress` is the caller’s own progress (or `null`).
2494
+ - `recordHelpVideoProgress` takes `buckets` as a 20-character `0`/`1` string (the 5% sections seen) and answers `{ data: { completed } }`, or no body (204) for a masquerade session.
2495
+ - `listHelpVideos` and `helpVideosFor` carry `can_author`, so a screen can offer "Add a video" without a second call.
2496
+
2497
+ #### Errors callers must handle
2498
+
2499
+ | Status | code | When |
2500
+ | --- | --- | --- |
2501
+ | 409 | `HELP_VIDEO_PROCESSING` | A viewer requested `stream_url` before a current render exists and the original cannot be shown. Check `published.playable`, retry later. |
2502
+ | 409 | `HELP_VIDEO_EDITS_CONFLICT` | `saveHelpVideoDraft` with a stale `base_hash`. The body carries `current_hash`; reload the draft and merge. |
2503
+ | 409 | `UPLOAD_CLOSED` | The upload is already finalized or finishing; or, on discard, already used by a video or discarded. |
2504
+ | 422 | `UPLOAD_NOT_VIDEO` | A part is not a WebM or MP4 recording. |
2505
+ | 422 | `UPLOAD_TOO_LONG` | The recording is longer than 30 minutes (on finalize). |
2506
+ | 422 | `HELP_VIDEO_NOT_READY` | `publishHelpVideo` before the checklist is done; the body lists `missing`. |
2507
+ | 409 | `HELP_VIDEO_NOTHING_TO_PUBLISH` | `publishHelpVideo` with no draft, or a draft that is exactly the published version (`draft_matches_published`). With `watch_again` on a video someone must watch, it re-asks them instead. |
2508
+ | 422 | `HELP_VIDEO_EDITS_INVALID` | `saveHelpVideoDraft` with edits that cannot be kept, such as cuts that leave less than a second. The message says why; the stored draft is unchanged. |
2509
+ | 409 | `HELP_VIDEO_NOTHING_TO_RENDER` | `rerenderHelpVideo` for a version that does not exist. |
2510
+ | 403 | `HELP_VIDEO_AUTHOR_ONLY` | An authoring command by a non-author. |
2511
+ | 404 | `HELP_VIDEO_NOT_FOUND` | Unknown id, or a video the caller may not see. |
2512
+
2513
+ | Command | Route | Auth |
2514
+ | --- | --- | --- |
2515
+ | listHelpVideos(params?) | GET /help-videos | Authenticated |
2516
+ | readHelpVideo(id) | GET /help-videos/:id | Authenticated |
2517
+ | helpVideosFor(params) | GET /help-videos/for | Authenticated |
2518
+ | createHelpVideo(body) | POST /help-videos | Author |
2519
+ | updateHelpVideo(id, body) | PATCH /help-videos/:id | Author |
2520
+ | setHelpVideoContexts(id, contexts) | PUT /help-videos/:id/contexts | Author |
2521
+ | setHelpVideoRequirements(id, role_ids) | PUT /help-videos/:id/requirements | Author |
2522
+ | archiveHelpVideo(id, opts?) | DELETE /help-videos/:id | Author (purge: admin, archived videos only) |
2523
+ | readHelpVideoDraft(id) | GET /help-videos/:id/draft/edits | Author |
2524
+ | saveHelpVideoDraft(id, edits, base_hash?) | PUT /help-videos/:id/draft/edits | Author |
2525
+ | publishHelpVideo(id, opts?) | POST /help-videos/:id/publish | Author |
2526
+ | rerecordHelpVideo(id, upload_id) | POST /help-videos/:id/rerecord | Author |
2527
+ | listHelpVideoVersions(id) | GET /help-videos/:id/versions | Author |
2528
+ | restoreHelpVideoVersion(id, versionId) | POST /help-videos/:id/versions/:vid/restore | Author |
2529
+ | rerenderHelpVideo(id, opts?) | POST /help-videos/:id/render | Author |
2530
+ | recordHelpVideoProgress(id, body) | POST /help-videos/:id/progress | Authenticated |
2531
+ | readRequiredHelpVideos() | GET /help-videos/required/mine | Authenticated |
2532
+ | readHelpVideoAnalytics(id) | GET /help-videos/:id/analytics | Author |
2533
+ | readHelpVideoWalk(id) | GET /help-videos/:id/walk | Authenticated |
2534
+ | openHelpVideoUpload(mime) | POST /help-videos/uploads | Author |
2535
+ | finalizeHelpVideoUpload(id, meta?) | POST /help-videos/uploads/:id/finalize | Author |
2536
+ | listMyHelpVideoUploads() | GET /help-videos/uploads/mine | Author |
2537
+ | abandonHelpVideoUpload(id) | DELETE /help-videos/uploads/:id | Author |
2538
+ | listHelpVideoPages() | GET /help-videos/pages | Authenticated |
2539
+ | registerHelpVideoPage(body) | POST /help-videos/pages | Author |
2540
+
2541
+ ---
2542
+
2449
2543
  ## SDK Coverage: 300+ Typed Commands
2450
2544
 
2451
2545
  The @nivaro/sdk command surface now covers every feature area — roughly 175 typed `Command<T>` factories spanning items, files, workflows, pipelines, flows, comments, webhooks, rules, custom queries, trees and hierarchies, submission forms, field watches, notification subscriptions, imports, SLA, alerts, AI endpoints (generate, summarize, validate, check-duplicates), translations, drafts, scheduled changes, record templates, saved views, API keys, widget feeds, sync jobs, ERP submissions, PDF templates, pages, queues (worklists, items, claims, saved views, trends, workload), roles & policies (RBAC/RLS), user management + out-of-office delegation, file management (list/meta/presign/transform URLs), dashboard widgets, extension item/bulk actions, throughput reporting, and more. If a REST route exists, there is a typed command for it.
package/dist/index.d.ts CHANGED
@@ -4492,6 +4492,366 @@ declare function fileTransformPath(id: string, options?: {
4492
4492
  quality?: number;
4493
4493
  }): string;
4494
4494
 
4495
+ /**
4496
+ * Help videos: tutorial recordings with edits, versions, where they show,
4497
+ * required viewing and progress. Upload parts are raw octet-stream PUTs to
4498
+ * /help-videos/uploads/:id/parts/:n (see README); everything else is here.
4499
+ *
4500
+ * Error codes callers must handle (all JSON `{ error, code }`):
4501
+ * - 409 `HELP_VIDEO_PROCESSING`: a viewer's `stream_url` answers this while the
4502
+ * video is still being rendered (check `published.playable` first).
4503
+ * - 409 `HELP_VIDEO_EDITS_CONFLICT`: `saveHelpVideoDraft` with a stale
4504
+ * `base_hash`; the body also carries `current_hash`.
4505
+ * - 409 `UPLOAD_CLOSED`: the upload was already finalized or is finishing.
4506
+ * - 422 `UPLOAD_NOT_VIDEO`: a part is not a WebM or MP4 recording.
4507
+ * - 422 `UPLOAD_TOO_LONG`: the recording is over 30 minutes (finalize).
4508
+ * Also: 403 `HELP_VIDEO_AUTHOR_ONLY` on any authoring command by a non-author,
4509
+ * 404 `HELP_VIDEO_NOT_FOUND` for an unknown or invisible video.
4510
+ */
4511
+
4512
+ type HelpVideoContext = {
4513
+ kind: 'collection' | 'page';
4514
+ key: string;
4515
+ state_key: string | null;
4516
+ };
4517
+ type HelpVideoVisibility = {
4518
+ mode: 'everyone' | 'roles';
4519
+ role_ids: string[];
4520
+ };
4521
+ interface HelpVideoVersion {
4522
+ id: string;
4523
+ version: number;
4524
+ edits: Record<string, unknown>;
4525
+ edits_hash: string;
4526
+ source_duration_ms: number | null;
4527
+ width: number | null;
4528
+ height: number | null;
4529
+ render_status: 'none' | 'queued' | 'rendering' | 'ready' | 'failed' | 'unavailable';
4530
+ render_progress: number | null;
4531
+ render_error: string | null;
4532
+ rendered_current: boolean;
4533
+ /** Published version only: false when a non-author would get a 409 HELP_VIDEO_PROCESSING. */
4534
+ playable?: boolean;
4535
+ note: string | null;
4536
+ created_at: string;
4537
+ /** Draft, re-record and restore results only (recorder data). Clicks on the
4538
+ * recorded tab: `t_ms` source time, `x`/`y` fractions (0–1) of the frame. */
4539
+ clicks?: HelpVideoClick[] | null;
4540
+ /** Microphone loudness 0–1, one value per 100 ms of source time. */
4541
+ levels?: number[] | null;
4542
+ }
4543
+ /**
4544
+ * One recorded click. Recorded on the author's own tab, a click also says
4545
+ * what was clicked: `label` (accessible name, ≤ 80 chars, never an input's
4546
+ * value), `role` (button, link, tab…), `hook` (nearest `data-*` attribute as
4547
+ * `data-name` or `data-name=value`), `page_key` (the help-video page key of
4548
+ * the screen, when one is registered), `path` (no query string) and `origin`.
4549
+ */
4550
+ interface HelpVideoClick {
4551
+ t_ms: number;
4552
+ x: number;
4553
+ y: number;
4554
+ label?: string;
4555
+ role?: string;
4556
+ hook?: string;
4557
+ page_key?: string;
4558
+ path?: string;
4559
+ /** The app's origin (`https://host`) the click happened on. */
4560
+ origin?: string;
4561
+ }
4562
+ /** One step of "Show me on this page": a labelled click of the published version. */
4563
+ interface HelpVideoWalkStep {
4564
+ label: string;
4565
+ role: string | null;
4566
+ hook: string | null;
4567
+ page_key: string | null;
4568
+ path: string | null;
4569
+ origin: string | null;
4570
+ /** Where the step happens in the finished video (edited time). */
4571
+ edited_ms: number;
4572
+ /** The callout or box text shown around the click, else null. */
4573
+ text: string | null;
4574
+ }
4575
+ /** Ticketed download links (`attachment`), relative to the API origin. */
4576
+ interface HelpVideoDownloadUrls {
4577
+ video: string;
4578
+ captions_vtt: string | null;
4579
+ captions_srt: string | null;
4580
+ }
4581
+ interface HelpVideoProgress {
4582
+ position_ms: number;
4583
+ completed: boolean;
4584
+ percent: number;
4585
+ }
4586
+ interface HelpVideo {
4587
+ id: string;
4588
+ title: string;
4589
+ description: string | null;
4590
+ category: string | null;
4591
+ status: 'draft' | 'published' | 'archived';
4592
+ duration_ms: number | null;
4593
+ /** Ticketed URLs (`?st=`): play them as-is, do not rebuild them. */
4594
+ poster_url: string | null;
4595
+ stream_url: string | null;
4596
+ captions_url: string | null;
4597
+ contexts: HelpVideoContext[];
4598
+ /** Required for THIS viewer's role (not for the video in general). */
4599
+ required: boolean;
4600
+ published: HelpVideoVersion | null;
4601
+ /** Authors only. */
4602
+ visibility?: HelpVideoVisibility;
4603
+ required_role_ids?: string[];
4604
+ draft?: HelpVideoVersion | null;
4605
+ /** Author-only: the draft is exactly the published version; publishing it
4606
+ * answers 409 `HELP_VIDEO_NOTHING_TO_PUBLISH`. */
4607
+ draft_matches_published?: boolean;
4608
+ draft_stream_url?: string | null;
4609
+ draft_captions_url?: string | null;
4610
+ /** Author-only: viewers may download (authors always may). */
4611
+ allow_downloads?: boolean;
4612
+ /** Author-only: the draft's downloads. */
4613
+ draft_download_urls?: HelpVideoDownloadUrls | null;
4614
+ created_by_name?: string | null;
4615
+ /** Null when this person may not download the published version. */
4616
+ download_urls: HelpVideoDownloadUrls | null;
4617
+ updated_at: string;
4618
+ my_progress: HelpVideoProgress | null;
4619
+ }
4620
+ /** An upload session, as returned by open, each part PUT and "my uploads". */
4621
+ interface HelpVideoUploadSession {
4622
+ id: string;
4623
+ mime: string;
4624
+ bytes_received: number;
4625
+ next_part: number;
4626
+ /** `open` while parts arrive; `finalized` once uploaded (listed by
4627
+ * `listMyHelpVideoUploads` only while no video uses it). */
4628
+ status: string;
4629
+ /** Probed length of a finalized recording; null while open. */
4630
+ duration_ms: number | null;
4631
+ created_at: string;
4632
+ updated_at: string;
4633
+ }
4634
+ interface HelpVideoFinalizedUpload {
4635
+ file_id: string;
4636
+ duration_ms: number | null;
4637
+ width: number | null;
4638
+ height: number | null;
4639
+ has_audio: boolean;
4640
+ clicks: unknown;
4641
+ levels: unknown;
4642
+ }
4643
+ declare function listHelpVideos(params?: {
4644
+ search?: string;
4645
+ category?: string;
4646
+ status?: string;
4647
+ page?: number;
4648
+ limit?: number;
4649
+ }): Command<{
4650
+ data: HelpVideo[];
4651
+ total: number;
4652
+ categories: string[];
4653
+ can_author: boolean;
4654
+ }>;
4655
+ declare function readHelpVideo(id: string): Command<{
4656
+ data: HelpVideo;
4657
+ }>;
4658
+ declare function helpVideosFor(params: {
4659
+ collection?: string;
4660
+ item?: string | number;
4661
+ state?: string;
4662
+ page?: string;
4663
+ }): Command<{
4664
+ data: HelpVideo[];
4665
+ can_author: boolean;
4666
+ state: string | null;
4667
+ }>;
4668
+ declare function createHelpVideo(body: {
4669
+ upload_id: string;
4670
+ title?: string;
4671
+ contexts?: HelpVideoContext[];
4672
+ }): Command<{
4673
+ data: HelpVideo;
4674
+ }>;
4675
+ declare function updateHelpVideo(id: string, body: {
4676
+ title?: string;
4677
+ description?: string | null;
4678
+ category?: string | null;
4679
+ visibility?: HelpVideoVisibility;
4680
+ /** Viewers may download (authors always may). */
4681
+ allow_downloads?: boolean;
4682
+ }): Command<{
4683
+ data: HelpVideo;
4684
+ }>;
4685
+ declare function setHelpVideoContexts(id: string, contexts: HelpVideoContext[]): Command<{
4686
+ data: {
4687
+ ok: true;
4688
+ };
4689
+ }>;
4690
+ declare function setHelpVideoRequirements(id: string, role_ids: string[]): Command<{
4691
+ data: {
4692
+ ok: true;
4693
+ added: string[];
4694
+ };
4695
+ }>;
4696
+ /** Archives the video; `purge: true` deletes it for good (administrators only, and only once it is archived). */
4697
+ declare function archiveHelpVideo(id: string, opts?: {
4698
+ purge?: boolean;
4699
+ }): Command<void>;
4700
+ /**
4701
+ * The guided walk of the published version: its labelled clicks that viewers
4702
+ * see, in order. Same visibility as watching; a draft is never walked, so a
4703
+ * video without a published version (or recorded without labels) has none.
4704
+ */
4705
+ declare function readHelpVideoWalk(id: string): Command<{
4706
+ data: {
4707
+ version_id: string | null;
4708
+ steps: HelpVideoWalkStep[];
4709
+ };
4710
+ }>;
4711
+ declare function readHelpVideoDraft(id: string): Command<{
4712
+ data: HelpVideoVersion;
4713
+ }>;
4714
+ /** 409 `HELP_VIDEO_EDITS_CONFLICT` (body carries `current_hash`) when `base_hash` is stale. */
4715
+ declare function saveHelpVideoDraft(id: string, edits: Record<string, unknown>, base_hash?: string): Command<{
4716
+ data: HelpVideoVersion;
4717
+ }>;
4718
+ /** 422 `HELP_VIDEO_NOT_READY` (body lists `missing`) or 409 `HELP_VIDEO_NOTHING_TO_PUBLISH`
4719
+ * (no draft, or the draft equals what is published). With `watch_again` on an
4720
+ * unchanged video someone must watch, the requirement is re-armed instead: no
4721
+ * new version, no render. */
4722
+ declare function publishHelpVideo(id: string, opts?: {
4723
+ watch_again?: boolean;
4724
+ }): Command<{
4725
+ data: HelpVideo;
4726
+ }>;
4727
+ declare function rerecordHelpVideo(id: string, upload_id: string): Command<{
4728
+ data: HelpVideoVersion;
4729
+ }>;
4730
+ declare function listHelpVideoVersions(id: string): Command<{
4731
+ data: Array<HelpVideoVersion & {
4732
+ is_published: boolean;
4733
+ is_draft: boolean;
4734
+ created_by_name: string | null;
4735
+ }>;
4736
+ }>;
4737
+ declare function restoreHelpVideoVersion(id: string, versionId: string): Command<{
4738
+ data: HelpVideoVersion;
4739
+ }>;
4740
+ /** Re-queue the render of the published version (or the draft with `draft`).
4741
+ * 409 `HELP_VIDEO_NOTHING_TO_RENDER` when that version does not exist. */
4742
+ declare function rerenderHelpVideo(id: string, opts?: {
4743
+ draft?: boolean;
4744
+ }): Command<{
4745
+ data: {
4746
+ ok: true;
4747
+ };
4748
+ }>;
4749
+ /** `buckets` is a 20-character string of 0/1: the 5% sections watched so far.
4750
+ * Resolves with no body (204) for a masquerade session, which is never tracked. */
4751
+ declare function recordHelpVideoProgress(id: string, body: {
4752
+ position_ms: number;
4753
+ watched_ms_delta: number;
4754
+ buckets: string;
4755
+ version_id?: string;
4756
+ }): Command<{
4757
+ data: {
4758
+ completed: boolean;
4759
+ };
4760
+ } | undefined>;
4761
+ declare function readRequiredHelpVideos(): Command<{
4762
+ data: HelpVideo[];
4763
+ }>;
4764
+ declare function readHelpVideoAnalytics(id: string): Command<{
4765
+ data: {
4766
+ views: number;
4767
+ unique_viewers: number;
4768
+ completion_rate: number;
4769
+ drop_off: number[];
4770
+ watched_hours: number;
4771
+ };
4772
+ }>;
4773
+ declare function openHelpVideoUpload(mime: string): Command<{
4774
+ data: HelpVideoUploadSession;
4775
+ }>;
4776
+ /** 409 `UPLOAD_CLOSED`, 422 `UPLOAD_TOO_LONG`, 422 `UPLOAD_EMPTY`, 422 `UPLOAD_UNREADABLE`. */
4777
+ declare function finalizeHelpVideoUpload(id: string, meta?: {
4778
+ duration_ms?: number;
4779
+ clicks?: unknown;
4780
+ levels?: unknown;
4781
+ }): Command<{
4782
+ data: HelpVideoFinalizedUpload;
4783
+ }>;
4784
+ /** Your unfinished uploads and finished recordings never saved as a video
4785
+ * (save one with `createHelpVideo` / `rerecordHelpVideo`, no finalize). */
4786
+ declare function listMyHelpVideoUploads(): Command<{
4787
+ data: HelpVideoUploadSession[];
4788
+ }>;
4789
+ /** Discards an open upload, or a finished recording no video uses (its file
4790
+ * is deleted). 409 `UPLOAD_CLOSED` for anything else. */
4791
+ declare function abandonHelpVideoUpload(id: string): Command<void>;
4792
+ declare function listHelpVideoPages(): Command<{
4793
+ data: Array<{
4794
+ key: string;
4795
+ label: string;
4796
+ app: string | null;
4797
+ }>;
4798
+ }>;
4799
+ declare function registerHelpVideoPage(body: {
4800
+ key: string;
4801
+ label: string;
4802
+ app?: string;
4803
+ }): Command<void>;
4804
+ /** A fresh ticketed download link for the published version (or the draft,
4805
+ * authors only). The link answers with the file as an attachment: the
4806
+ * current render, or the original only when the edits hide nothing; 409
4807
+ * `HELP_VIDEO_PROCESSING` while a viewer's video is being prepared.
4808
+ * 403 `HELP_VIDEO_DOWNLOAD_OFF` when downloads are off for this viewer. */
4809
+ declare function readHelpVideoDownloadLink(id: string, opts?: {
4810
+ file?: 'video' | 'captions.vtt' | 'captions.srt';
4811
+ draft?: boolean;
4812
+ }): Command<{
4813
+ data: {
4814
+ url: string;
4815
+ };
4816
+ }>;
4817
+ /** Administrators: a 10-minute link to a package (tar) of these published
4818
+ * videos — files plus a manifest — to import on another instance. */
4819
+ declare function exportHelpVideoPackage(ids: string[]): Command<{
4820
+ data: {
4821
+ url: string;
4822
+ count: number;
4823
+ };
4824
+ }>;
4825
+ /** Administrators: start an import. Send the package as raw
4826
+ * application/octet-stream PUTs of at most 8 MB to
4827
+ * /help-videos/packages/imports/:id/parts/:n (n from 0), then preview. */
4828
+ declare function openHelpVideoPackageImport(): Command<{
4829
+ data: {
4830
+ id: string;
4831
+ next_part: number;
4832
+ max_bytes: number;
4833
+ };
4834
+ }>;
4835
+ /** Checks the uploaded package and says what applying it would do; writes nothing.
4836
+ * 422 `HELP_VIDEO_PACKAGE_INVALID` when the package is unusable as a whole. */
4837
+ declare function previewHelpVideoPackageImport(id: string): Command<{
4838
+ data: unknown;
4839
+ }>;
4840
+ /** Applies a previewed package (every usable video, or only `video_ids`). */
4841
+ declare function applyHelpVideoPackageImport(id: string, video_ids?: string[]): Command<{
4842
+ data: {
4843
+ results: Array<{
4844
+ id: string;
4845
+ title: string;
4846
+ outcome: 'created' | 'updated' | 'failed' | 'skipped';
4847
+ version?: number;
4848
+ render?: 'reused' | 'queued';
4849
+ error?: string;
4850
+ }>;
4851
+ };
4852
+ }>;
4853
+ declare function discardHelpVideoPackageImport(id: string): Command<void>;
4854
+
4495
4855
  interface ImportTemplateSummary {
4496
4856
  id: string;
4497
4857
  name: string;
@@ -7192,4 +7552,4 @@ declare function submitFormItem(collection: string, values: Record<string, unkno
7192
7552
  data: Record<string, unknown>;
7193
7553
  }>;
7194
7554
 
7195
- export { type AccessAudit, type AccessAuditFinding, type AccessAuditRun, type AccessAuditSubject, type AccessReason, type ActivityEntry, type ActivityQuery, type ActivityReportQuery, type ActivityReportRow, type ActivityReportSummary, type Addendum, type AddendumStatus, type AggregateQuery, type AggregateRow, type AiChatTraceEntry, type AiCollectionSettings, type AiColumnMapping, type AiDuplicateMatch, type AiQueryFilter, type AiQueryResult, type AiReviewFinding, type AiViolation, type AlertDefinition, type AlertLogEntry, type AlertSubscription, type AnomalyDefinition, type AnomalyRule, type ApiAnalyticsBucket, type ApiAnalyticsCollection, type ApiAnalyticsPath, type ApiAnalyticsSummary, type ApiErrorLog, type ApiKey, type ApiKeyScope, type ApprovalBrief, type ApprovalChain, type ApprovalChainStep, type ApprovalDecision, type ApprovalInstance, type ApprovalInstanceDetail, type ApprovalStatus, type ApprovalStepInput, type AtRiskCondition, type AtRiskOp, type AtRiskResult, type AtRiskRule, type AtRiskSummaryEntry, type AttributeDefinition, type AttributeValue, type BatchRead, type BatchReadResult, type BlackoutDate, type BoolFilterOps, type CMSCollection, type CascadeFilterRule, type ChangeOrder, type ChatChannel, type ChatChannelMember, type ChatDirectoryChannel, type ChatMessage, type ChatPin, type ChatReaction, type ChatRoomKind, type ChatRoomSummary, type ChatRoomType, type ChatSearchHit, type CollectionLayout, type CollectionPresetSummary, type Command, type Comment, type ConfigSnapshot, type ConfigTableClassification, type ContentBundle, type ContentExportFormat, type ContentExportOptions, type CoverageGapItem, type CoverageGapOwner, type CoverageGapReport, type CronJob, type CustomQuery, type DataQualityRule, type DataQualityRuleResult, type DataQualityRuleType, type DataQualityRun, type DataQualitySeverity, type DeadLetter, type DraftPublishConfig, type DraftStatus, type DryRunReport, type ErpSubmission, type ErpSubmissionStatus, type ExtensionManifest, type ExternalApi, type ExternalApiEndpoint, type ExternalApiSchema, type ExternalApiSlotContext, type ExternalApiSpecImportResult, type ExternalApiTestResult, type FieldChangeEntry, type FieldCondition, type FieldConfig, type FieldDependencyConfig, type FieldFilter, type FieldGroup, type FieldTranslations, type FieldVisibilityRules, type FieldWatch, type FileRecord, type FileUploadResult, type FileUsageEntry, type Filter, type FlowReplayResult, type FlowRun, type FlowTestStep, type FormFieldDescriptor, type FormFieldRelation, type FormGroupDescriptor, type FormLockCondition, type FormSchema, type FormValidationRule, type FormVisibilityRule, type GlobalSearchRecord, type GlobalSearchResults, type GraphQLResponse, type HierarchyConfigDef, type HierarchyFlatNode, type HierarchyLevelDef, type HierarchyNestedNode, type IDFilterOps, type ISODate, type ImportDefinition, type ImportJob, type ImportParseResponse, type ImportPreview, type ImportPreviewDiff, type ImportTemplateSummary, type InstanceOwner, type IntegrationApiHealth, type InternalWidget, type Issue, type IssueSeverity, type IssueStatus, type IssueSummary, type ItemLock, type LastTouch, type LayoutAssignment, type LayoutGroup, type LayoutVersion, type ListResponse, type ManagedUser, type MetricAlertRule, type MetricAlertSubscription, type MetricDefinition, type MyTask, type MyWorkOwnedEntry, type MyWorkSla, type MyWorkSummary, type NivaroClient, type NivaroClientOptions, type NivaroExtensionPlugin, type NivaroRealtime, type NivaroRuntime, type NotificationItem, type NotificationPage, type NotificationSubscription, type NumberFilterOps, type OmniSearchHit, type OnlinePresenceConfig, type OnlinePresenceUser, type Page, type PageLayout, type PageSlotKey, type PageWidget, type PdfTemplate, type PermissionSimulation, type PersistedQuery, type PickerExclusionStatus, type PipelineFlowEdge, type PipelineFlowState, type PipelineImpactResult, type PipelineOwnerGroup, type PipelineOwnerGroupUser, type PipelineSimulation, type PipelineState, type PipelineVersionEntry, type PluginSlots, type Policy, type PreflightCheck, type PreflightReport, type PreflightSeverity, type PresenceClient, type PresenceOptions, type PresenceSession, type PresenceSessionInfo, type PresenceViewer, type PromotionApplyResult, type PromotionPreview, type Query, type Queue, type QueueColumnPrefs, type QueueCondition, type QueueDetail, type QueueDisplayConfig, type QueueItem, type QueueItemsResult, type QueueOwner, type QueueRowClickMode, type QueueScope, type QueueSource, type QueueSourceType, type QueueStats, type QueueTrendPoint, type QueueView, type QueueViewKind, type QueueWorkloadRow, READ_MANY_MAX, type RealtimeEvent, type RecordGraphEdge, type RecordGraphNode, type RecordLink, type RecordLinkType, type RecordTemplate, type RecordViewRecap, type RegisteredAction, type RelatedCommentEntry, type RelationFilter, type RelationOption, type ReportAlert, type ReportAlertCondition, type ReportAlertLogEntry, type ReportAnnotation, type ReportColumnFormat, type ReportDateRange, type ReportDef, type ReportEntityFilter, type ReportFilterPreset, type ReportQueryColumn, type ReportQueryWidgetConfig, type ReportSnapshotEntry, type ReportSubscription, type ReportTemplateEntry, type ReportVersionEntry, type ReportWidget, type ReportWidgetConfig, type ReportWidgetData, type ReportWidgetPreset, type ReportWidgetType, type RequestTrace, type ResolvedOwner, type RetentionPolicy, type RetentionRun, type RetentionRunResult, type Revision, type Role, type Rule, type SavedView, type ScheduledChange, type ScheduledReport, type ScopeDimension, type ScopeDimensionInfo, type SemanticSearchMatch, type SessionRecording, type ShareLink, type SlaBatchStatus, type SlaRule, type SlaStatus, type StagedImportRun, type StagedImportStats, type StringFilterOps, type SubRow, type SubRowTemplate, type SyncJob, type Task, type TaskDoneWhenRule, type TaskPriority, type TaskStatus, type TimelineEvent, type TraceSpan, type TreeFlatNode, type TreeNestedNode, type TreeNodeConfig, type TreePermission, type TreePermissionAction, type UUID, type UserActivityEntry, type UserActivitySummary, type UserScopesInfo, type ViewSubscription, type VirtualCollection, type Webhook, type WebhookDelivery, type WidgetFeed, type WorkflowBinding, type WorkflowHistoryEntry, type WorkflowInstance, type WorkflowInstanceData, type WorkflowState, type WorkflowTransition, type Workspace, type WorkspaceQuotas, type WorkspaceTemplate, type WorkspaceUsage, _and, _contains, _ends_with, _eq, _gt, _gte, _in, _lt, _lte, _ncontains, _neq, _nin, _nnull, _none, _null, _or, _some, _starts_with, acquireItemLock, activateLayout, addChatChannelMember, addInstanceOwner, addSubRow, aggregateItems, aiBrief, aiBuildReport, aiChat, aiCheckDuplicates, aiGenerate, aiMapColumns, aiQuery, aiReportFilters, aiReview, aiSummarize, aiValidate, appendSessionRecordingEvents, applyContentBundle, applyRecordTemplate, applySubRowTemplate, approveAddendum, approveAiProposal, asc, backupExportPath, batchPickerExclusionStatus, bulkPickerExclusion, callExternalApi, callExternalApiEndpoint, cancelScheduledChange, cancelStagedImport, cascadeFieldDependencies, checkBlackoutDate, claimQueueItem, claimTask, clearTraces, cloneItem, cloneLayout, cloneReport, compareConfigSnapshot, completeTask, copyReportWidget, createAccessAudit, createAddendum, createAlertDefinition, createAlertSubscription, createAnomalyRule, createApiKey, createApprovalChain, createAtRiskRule, createAttributeDefinition, createBlackoutDate, createChatChannel, createChatRoomType, createCollectionLayout, createComment, createDataQualityRule, createExternalApi, createExternalApiEndpoint, createFieldGroup, createFieldWatch, createGroupDm, createHierarchyConfig, createImportDefinition, createImportJob, createImportJobFromUrl, createInternalWidget, createIssue, createItem, createMetricAlertRule, createNivaro, createNotification, createNotificationSubscription, createPage, createPdfTemplate, createPersistedQuery, createPresence, createQueue, createQueueView, createRealtime, createRecordLink, createRecordTemplate, createReport, createReportAlert, createReportAnnotation, createReportFromTemplate, createReportSnapshot, createReportWidgetPreset, createRetentionPolicy, createRole, createRolePolicy, createRule, createSavedView, createScheduledChange, createScheduledReport, createShareLink, createSlaRule, createSubRowTemplate, createSyncJob, createTask, createTreePermission, createUser, createViewSubscription, createVirtualCollection, createWebhook, createWidgetFeed, createWorkspace, createWorkspaceTemplate, decideApproval, deleteAccessAudit, deleteAddendum, deleteAlertDefinition, deleteAlertSubscription, deleteAnomalyRule, deleteApiKey, deleteApprovalChain, deleteAtRiskRule, deleteAttributeDefinition, deleteBlackoutDate, deleteChatMessage, deleteCollectionLayout, deleteComment, deleteDataQualityRule, deleteExternalApi, deleteExternalApiEndpoint, deleteExternalApiSchema, deleteFieldGroup, deleteFieldTranslations, deleteFieldWatch, deleteFile, deleteHierarchyConfig, deleteImportJob, deleteInternalWidget, deleteIssue, deleteItem, deleteMetricAlertRule, deleteNotification, deleteNotificationSubscription, deletePage, deletePdfTemplate, deletePersistedQuery, deleteQueue, deleteQueueView, deleteRecordLink, deleteRecordTemplate, deleteReport, deleteReportAlert, deleteReportAnnotation, deleteReportFilterPreset, deleteReportSnapshot, deleteReportTemplate, deleteReportWidgetPreset, deleteRetentionPolicy, deleteRole, deleteRolePolicy, deleteRule, deleteSavedView, deleteScheduledReport, deleteSessionRecording, deleteSlaRule, deleteSubRow, deleteSubRowTemplate, deleteSyncJob, deleteTask, deleteTreePermission, deleteUser, deleteViewSubscription, deleteVirtualCollection, deleteWebhook, deleteWidgetFeed, deleteWorkspace, deleteWorkspaceTemplate, deployImportProcedure, desc, disableTwoFactor, drillReportRow, editChatMessage, endSessionRecording, evaluateAlerts, evaluateAtRisk, evaluateFieldDefaults, evaluateFieldLock, evaluateFieldRules, evaluateFieldVisibility, excludeFromPicker, executeBulkAction, executeCustomQuery, executeImportTemplate, executeItemAction, executeScheduledChange, explainRecordAccess, explainReportTrend, exportBlueprint, exportConfigSnapshot, exportContent, exportContentBundle, exportSchemaSnapshot, fetchFormSchema, fileDownloadPath, fileTransformPath, generateToken, generateUserToken, getAlertDefinition, getAttributeValues, getBrunoCollection, getExternalApi, getExternalApiEndpoint, getFieldTranslations, getFlowRun, getLocales, getOpenApi, getPickerExclusionStatus, getPostmanCollection, getPresence, getRetentionPolicy, getSlaRule, getSlaStatus, getTranslations, getTypes, getWebhook, globalSearch, heartbeatItemLock, importExternalApiSpec, importSchemaSnapshot, includeInPicker, installBlueprint, installCollectionPreset, invokeInternalWidgetAction, isPageSlot, joinChatRoom, leaveChatRoom, listAccessAuditRuns, listAccessAudits, listActiveAtRiskRules, listActivePresence, listAddendums, listAlertDefinitions, listAlertSubscriptions, listAllNotificationSubscriptions, listAnomalyDefinitions, listAnomalyRules, listApiKeys, listApprovalChains, listApprovalInstances, listAtRiskRules, listAttributeDefinitions, listBlackoutDates, listBulkActions, listChangeOrders, listChatChannelMembers, listChatMessages, listChatPins, listChatRoles, listChatRoomTypes, listChatRooms, listCollectionPresets, listCollectionRecordTemplates, listComments, listCronJobs, listCustomQueries, listDataQualityRules, listDataQualityRuns, listDeadLetters, listExternalApiEndpoints, listExternalApiSchemas, listExternalApis, listFieldGroups, listFieldWatches, listFiles, listFlowRuns, listHierarchyConfigs, listImportDefinitionVersions, listImportDefinitions, listImportJobs, listImportTemplates, listInternalWidgets, listIssues, listItemActions, listItemScheduledChanges, listLayoutVersions, listMetricAlertRules, listMetricAlertSubscriptions, listMetricDefinitions, listMyTasks, listNotificationSubscriptions, listNotifications, listOrphanFiles, listPages, listPdfTemplates, listPersistedQueries, listPinnedItems, listPipelineVersions, listQueueViews, listQueues, listRecordLinks, listRecordTemplates, listRegisteredExtensions, listRegisteredFlowOperations, listRegisteredFlowTriggers, listRelatedComments, listReportAlerts, listReportAnnotations, listReportFilterPresets, listReportSnapshots, listReportTemplates, listReportVersions, listReportWidgetPresets, listReports, listRequestedTasks, listRetentionPolicies, listRetentionRuns, listRolePolicies, listRoleUsers, listRoles, listRules, listSavedViews, listScheduledChanges, listScheduledReports, listScopeDimensions, listSessionRecordings, listShareLinks, listSlaRules, listStagedImports, listSubRowTemplates, listSubRows, listSyncJobs, listTasks, listTeamTasks, listThroughputCollections, listTraces, listTreePermissions, listViewSubscriptions, listVirtualCollections, listWebhookDeliveries, listWebhooks, listWidgetFeeds, listWorkspaceTemplates, listWorkspaces, markAllNotificationsRead, markChatRoomRead, markNotificationRead, markNotificationsRead, moveTreeNode, nudgeTask, omniSearch, presignFileUpload, previewContentBundle, previewImportJob, previewReportWidget, publishItem, queryVirtualCollection, readAccessAuditFindings, readActiveLayout, readActivity, readActivityReportSummary, readAddendum, readAiSettings, readAlertLog, readAllStateOwners, readAnomalyLog, readApiAnalyticsErrors, readApiAnalyticsSummary, readApiAnalyticsTimeseries, readApiAnalyticsTopCollections, readApiAnalyticsTopPaths, readApiKey, readApprovalBrief, readApprovalChain, readAtRiskSummary, readBackupManifest, readChatConfig, readChatDirectory, readChatPeerRead, readCollection, readCollectionLayout, readCollectionLayouts, readCollections, readConfigInventory, readCoverageGaps, readDataQualityRun, readDetailLayout, readDistinctValues, readDraftPublishConfig, readErpSubmissionHistory, readFieldChangeHistory, readFieldConfig, readFieldImpact, readFieldWatch, readFileMeta, readFileUsage, readHierarchyConfig, readHierarchyNodeAncestors, readHierarchyNodeChildren, readHierarchyNodes, readHierarchyTree, readImportJob, readImportProcedure, readInstanceOwners, readIntegrationHealth, readInternalWidget, readIssue, readIssueSummary, readItem, readItemLock, readItemLockConfig, readItems, readLastTouch, readLayoutAssignments, readLayoutGroups, readMany, readMe, readMetricAlertLog, readMyScopes, readMyWork, readNotificationCount, readNotificationSubscriptionStats, readOnlinePresence, readOwnerGroups, readPage, readPageWidgetData, readPdfTemplate, readPersistedQuery, readPipelineFlowMap, readPipelineReplay, readPipelineTemplate, readPipelineTemplates, readPipelineVersion, readPreflight, readQueue, readQueueCollectionStates, readQueueColumnPrefs, readQueueItems, readQueueTrends, readQueueWorkload, readRecordGraph, readRelationOptions, readReport, readReportAlertLog, readReportAlertsLog, readReportFilterOptions, readReportFiring, readReportSnapshot, readReportSubscription, readReportUsage, readReportWidgetData, readRevision, readRevisions, readRole, readScopeDimensionCoverage, readSessionRecordingEvents, readSettings, readSingleton, readSlaStatusBatch, readStagedImport, readStagedImportStats, readStateOwnerGroups, readStateOwners, readStateOwnersBatch, readSyncJob, readTask, readTaskCounts, readTaskHistory, readThroughputReport, readTimeline, readTrace, readTreeAncestors, readTreeChildren, readTreeConfig, readTreeDescendants, readTreeNested, readTreeNodes, readTwoFactorStatus, readUnreadNotificationCount, readUser, readUserActivity, readUserActivitySummary, readUserCard, readUserScopes, readUsers, readWorkflowBindings, readWorkflowInstance, readWorkflowInstances, readWorkspace, readWorkspaceUsage, rebuildTreePaths, rehearseCreateItem, reindexSemanticSearch, rejectAddendum, rejectAiProposal, releaseItemLock, releaseQueueItem, rematerializeQueue, removeChatChannelMember, removeInstanceOwner, renderInternalWidget, renderPdfTemplate, reorderFieldGroups, reorderSubRows, reorderTreeSiblings, replaceSubRows, replayActivityEvent, replayFlow, reportClientError, requestRecordAccess, requeueStagedImport, resetReportCache, resolveReportAlert, restoreImportDefinitionVersion, restoreLayoutVersion, restorePipelineVersion, restoreReportVersion, retryDeadLetter, retryErpSubmission, retryWebhookDelivery, revokeApiKey, revokeShareLink, revokeToken, revokeUserToken, rollbackRevision, rotateWidgetFeedToken, runAccessAudit, runActivityReport, runActivityReportCsv, runCronJob, runDataQuality, runRetentionPolicy, runScheduledReport, runSyncJob, saveMyScopeDefaults, saveReportFilterPreset, saveReportTemplate, saveReportWidgets, saveUserScope, searchChatMessages, semanticSearch, sendBulkNotification, sendChatMessage, sendTestMail, sessionRecordingEnabled, setMyDelegate, setQueueDefaultView, setReportSubscription, setTranslations, setupTwoFactor, simulatePermissions, simulatePipeline, simulatePipelineImpact, startApproval, startMasquerade, startSessionRecording, startWorkflow, stopMasquerade, submitAddendum, submitFormItem, submitItemForReview, submitToErp, subscribeFieldWatch, subscribeMetricAlert, suggestImportValidation, suggestQueueLabels, switchWorkspace, testExternalApi, testFlow, testWebhook, toggleChatPin, toggleChatReaction, togglePinnedItem, toggleReportAlert, touchRecordView, transitionWorkflow, unpublishItem, unsubscribeFieldWatch, unsubscribeMetricAlert, updateAccessAudit, updateAddendum, updateAiSettings, updateAlertDefinition, updateAnomalyLogEntry, updateAnomalyRule, updateApiKey, updateApprovalChain, updateAtRiskRule, updateAttributeDefinition, updateAttributeValues, updateChatChannel, updateChatRoom, updateChatRoomType, updateCollectionLayout, updateComment, updateDataQualityRule, updateDraftPublishConfig, updateErpSubmissionStatus, updateExternalApi, updateExternalApiEndpoint, updateFieldConfig, updateFieldGroup, updateFieldWatch, updateFileMeta, updateHierarchyConfig, updateImportDefinition, updateInternalWidget, updateIssue, updateItem, updateItemLockConfig, updateLayoutAssignments, updateLayoutUngroupedSort, updateMe, updateMetricAlertRule, updateMetricAlertSubscription, updateNotificationSubscription, updatePage, updatePdfTemplate, updatePersistedQuery, updateQueue, updateQueueSources, updateQueueView, updateRecordTemplate, updateReport, updateReportAlert, updateReportWidgetPreset, updateRetentionPolicy, updateRole, updateRolePolicy, updateRoleUiPermissions, updateRule, updateSavedView, updateScheduledReport, updateSettings, updateSingleton, updateSlaRule, updateSyncJob, updateTask, updateTreePermission, updateUser, updateVirtualCollection, updateWebhook, updateWidgetFeed, updateWorkflowBinding, updateWorkspace, validateVirtualCollectionSql, verifyTwoFactor };
7555
+ export { type AccessAudit, type AccessAuditFinding, type AccessAuditRun, type AccessAuditSubject, type AccessReason, type ActivityEntry, type ActivityQuery, type ActivityReportQuery, type ActivityReportRow, type ActivityReportSummary, type Addendum, type AddendumStatus, type AggregateQuery, type AggregateRow, type AiChatTraceEntry, type AiCollectionSettings, type AiColumnMapping, type AiDuplicateMatch, type AiQueryFilter, type AiQueryResult, type AiReviewFinding, type AiViolation, type AlertDefinition, type AlertLogEntry, type AlertSubscription, type AnomalyDefinition, type AnomalyRule, type ApiAnalyticsBucket, type ApiAnalyticsCollection, type ApiAnalyticsPath, type ApiAnalyticsSummary, type ApiErrorLog, type ApiKey, type ApiKeyScope, type ApprovalBrief, type ApprovalChain, type ApprovalChainStep, type ApprovalDecision, type ApprovalInstance, type ApprovalInstanceDetail, type ApprovalStatus, type ApprovalStepInput, type AtRiskCondition, type AtRiskOp, type AtRiskResult, type AtRiskRule, type AtRiskSummaryEntry, type AttributeDefinition, type AttributeValue, type BatchRead, type BatchReadResult, type BlackoutDate, type BoolFilterOps, type CMSCollection, type CascadeFilterRule, type ChangeOrder, type ChatChannel, type ChatChannelMember, type ChatDirectoryChannel, type ChatMessage, type ChatPin, type ChatReaction, type ChatRoomKind, type ChatRoomSummary, type ChatRoomType, type ChatSearchHit, type CollectionLayout, type CollectionPresetSummary, type Command, type Comment, type ConfigSnapshot, type ConfigTableClassification, type ContentBundle, type ContentExportFormat, type ContentExportOptions, type CoverageGapItem, type CoverageGapOwner, type CoverageGapReport, type CronJob, type CustomQuery, type DataQualityRule, type DataQualityRuleResult, type DataQualityRuleType, type DataQualityRun, type DataQualitySeverity, type DeadLetter, type DraftPublishConfig, type DraftStatus, type DryRunReport, type ErpSubmission, type ErpSubmissionStatus, type ExtensionManifest, type ExternalApi, type ExternalApiEndpoint, type ExternalApiSchema, type ExternalApiSlotContext, type ExternalApiSpecImportResult, type ExternalApiTestResult, type FieldChangeEntry, type FieldCondition, type FieldConfig, type FieldDependencyConfig, type FieldFilter, type FieldGroup, type FieldTranslations, type FieldVisibilityRules, type FieldWatch, type FileRecord, type FileUploadResult, type FileUsageEntry, type Filter, type FlowReplayResult, type FlowRun, type FlowTestStep, type FormFieldDescriptor, type FormFieldRelation, type FormGroupDescriptor, type FormLockCondition, type FormSchema, type FormValidationRule, type FormVisibilityRule, type GlobalSearchRecord, type GlobalSearchResults, type GraphQLResponse, type HelpVideo, type HelpVideoClick, type HelpVideoContext, type HelpVideoDownloadUrls, type HelpVideoFinalizedUpload, type HelpVideoProgress, type HelpVideoUploadSession, type HelpVideoVersion, type HelpVideoVisibility, type HelpVideoWalkStep, type HierarchyConfigDef, type HierarchyFlatNode, type HierarchyLevelDef, type HierarchyNestedNode, type IDFilterOps, type ISODate, type ImportDefinition, type ImportJob, type ImportParseResponse, type ImportPreview, type ImportPreviewDiff, type ImportTemplateSummary, type InstanceOwner, type IntegrationApiHealth, type InternalWidget, type Issue, type IssueSeverity, type IssueStatus, type IssueSummary, type ItemLock, type LastTouch, type LayoutAssignment, type LayoutGroup, type LayoutVersion, type ListResponse, type ManagedUser, type MetricAlertRule, type MetricAlertSubscription, type MetricDefinition, type MyTask, type MyWorkOwnedEntry, type MyWorkSla, type MyWorkSummary, type NivaroClient, type NivaroClientOptions, type NivaroExtensionPlugin, type NivaroRealtime, type NivaroRuntime, type NotificationItem, type NotificationPage, type NotificationSubscription, type NumberFilterOps, type OmniSearchHit, type OnlinePresenceConfig, type OnlinePresenceUser, type Page, type PageLayout, type PageSlotKey, type PageWidget, type PdfTemplate, type PermissionSimulation, type PersistedQuery, type PickerExclusionStatus, type PipelineFlowEdge, type PipelineFlowState, type PipelineImpactResult, type PipelineOwnerGroup, type PipelineOwnerGroupUser, type PipelineSimulation, type PipelineState, type PipelineVersionEntry, type PluginSlots, type Policy, type PreflightCheck, type PreflightReport, type PreflightSeverity, type PresenceClient, type PresenceOptions, type PresenceSession, type PresenceSessionInfo, type PresenceViewer, type PromotionApplyResult, type PromotionPreview, type Query, type Queue, type QueueColumnPrefs, type QueueCondition, type QueueDetail, type QueueDisplayConfig, type QueueItem, type QueueItemsResult, type QueueOwner, type QueueRowClickMode, type QueueScope, type QueueSource, type QueueSourceType, type QueueStats, type QueueTrendPoint, type QueueView, type QueueViewKind, type QueueWorkloadRow, READ_MANY_MAX, type RealtimeEvent, type RecordGraphEdge, type RecordGraphNode, type RecordLink, type RecordLinkType, type RecordTemplate, type RecordViewRecap, type RegisteredAction, type RelatedCommentEntry, type RelationFilter, type RelationOption, type ReportAlert, type ReportAlertCondition, type ReportAlertLogEntry, type ReportAnnotation, type ReportColumnFormat, type ReportDateRange, type ReportDef, type ReportEntityFilter, type ReportFilterPreset, type ReportQueryColumn, type ReportQueryWidgetConfig, type ReportSnapshotEntry, type ReportSubscription, type ReportTemplateEntry, type ReportVersionEntry, type ReportWidget, type ReportWidgetConfig, type ReportWidgetData, type ReportWidgetPreset, type ReportWidgetType, type RequestTrace, type ResolvedOwner, type RetentionPolicy, type RetentionRun, type RetentionRunResult, type Revision, type Role, type Rule, type SavedView, type ScheduledChange, type ScheduledReport, type ScopeDimension, type ScopeDimensionInfo, type SemanticSearchMatch, type SessionRecording, type ShareLink, type SlaBatchStatus, type SlaRule, type SlaStatus, type StagedImportRun, type StagedImportStats, type StringFilterOps, type SubRow, type SubRowTemplate, type SyncJob, type Task, type TaskDoneWhenRule, type TaskPriority, type TaskStatus, type TimelineEvent, type TraceSpan, type TreeFlatNode, type TreeNestedNode, type TreeNodeConfig, type TreePermission, type TreePermissionAction, type UUID, type UserActivityEntry, type UserActivitySummary, type UserScopesInfo, type ViewSubscription, type VirtualCollection, type Webhook, type WebhookDelivery, type WidgetFeed, type WorkflowBinding, type WorkflowHistoryEntry, type WorkflowInstance, type WorkflowInstanceData, type WorkflowState, type WorkflowTransition, type Workspace, type WorkspaceQuotas, type WorkspaceTemplate, type WorkspaceUsage, _and, _contains, _ends_with, _eq, _gt, _gte, _in, _lt, _lte, _ncontains, _neq, _nin, _nnull, _none, _null, _or, _some, _starts_with, abandonHelpVideoUpload, acquireItemLock, activateLayout, addChatChannelMember, addInstanceOwner, addSubRow, aggregateItems, aiBrief, aiBuildReport, aiChat, aiCheckDuplicates, aiGenerate, aiMapColumns, aiQuery, aiReportFilters, aiReview, aiSummarize, aiValidate, appendSessionRecordingEvents, applyContentBundle, applyHelpVideoPackageImport, applyRecordTemplate, applySubRowTemplate, approveAddendum, approveAiProposal, archiveHelpVideo, asc, backupExportPath, batchPickerExclusionStatus, bulkPickerExclusion, callExternalApi, callExternalApiEndpoint, cancelScheduledChange, cancelStagedImport, cascadeFieldDependencies, checkBlackoutDate, claimQueueItem, claimTask, clearTraces, cloneItem, cloneLayout, cloneReport, compareConfigSnapshot, completeTask, copyReportWidget, createAccessAudit, createAddendum, createAlertDefinition, createAlertSubscription, createAnomalyRule, createApiKey, createApprovalChain, createAtRiskRule, createAttributeDefinition, createBlackoutDate, createChatChannel, createChatRoomType, createCollectionLayout, createComment, createDataQualityRule, createExternalApi, createExternalApiEndpoint, createFieldGroup, createFieldWatch, createGroupDm, createHelpVideo, createHierarchyConfig, createImportDefinition, createImportJob, createImportJobFromUrl, createInternalWidget, createIssue, createItem, createMetricAlertRule, createNivaro, createNotification, createNotificationSubscription, createPage, createPdfTemplate, createPersistedQuery, createPresence, createQueue, createQueueView, createRealtime, createRecordLink, createRecordTemplate, createReport, createReportAlert, createReportAnnotation, createReportFromTemplate, createReportSnapshot, createReportWidgetPreset, createRetentionPolicy, createRole, createRolePolicy, createRule, createSavedView, createScheduledChange, createScheduledReport, createShareLink, createSlaRule, createSubRowTemplate, createSyncJob, createTask, createTreePermission, createUser, createViewSubscription, createVirtualCollection, createWebhook, createWidgetFeed, createWorkspace, createWorkspaceTemplate, decideApproval, deleteAccessAudit, deleteAddendum, deleteAlertDefinition, deleteAlertSubscription, deleteAnomalyRule, deleteApiKey, deleteApprovalChain, deleteAtRiskRule, deleteAttributeDefinition, deleteBlackoutDate, deleteChatMessage, deleteCollectionLayout, deleteComment, deleteDataQualityRule, deleteExternalApi, deleteExternalApiEndpoint, deleteExternalApiSchema, deleteFieldGroup, deleteFieldTranslations, deleteFieldWatch, deleteFile, deleteHierarchyConfig, deleteImportJob, deleteInternalWidget, deleteIssue, deleteItem, deleteMetricAlertRule, deleteNotification, deleteNotificationSubscription, deletePage, deletePdfTemplate, deletePersistedQuery, deleteQueue, deleteQueueView, deleteRecordLink, deleteRecordTemplate, deleteReport, deleteReportAlert, deleteReportAnnotation, deleteReportFilterPreset, deleteReportSnapshot, deleteReportTemplate, deleteReportWidgetPreset, deleteRetentionPolicy, deleteRole, deleteRolePolicy, deleteRule, deleteSavedView, deleteScheduledReport, deleteSessionRecording, deleteSlaRule, deleteSubRow, deleteSubRowTemplate, deleteSyncJob, deleteTask, deleteTreePermission, deleteUser, deleteViewSubscription, deleteVirtualCollection, deleteWebhook, deleteWidgetFeed, deleteWorkspace, deleteWorkspaceTemplate, deployImportProcedure, desc, disableTwoFactor, discardHelpVideoPackageImport, drillReportRow, editChatMessage, endSessionRecording, evaluateAlerts, evaluateAtRisk, evaluateFieldDefaults, evaluateFieldLock, evaluateFieldRules, evaluateFieldVisibility, excludeFromPicker, executeBulkAction, executeCustomQuery, executeImportTemplate, executeItemAction, executeScheduledChange, explainRecordAccess, explainReportTrend, exportBlueprint, exportConfigSnapshot, exportContent, exportContentBundle, exportHelpVideoPackage, exportSchemaSnapshot, fetchFormSchema, fileDownloadPath, fileTransformPath, finalizeHelpVideoUpload, generateToken, generateUserToken, getAlertDefinition, getAttributeValues, getBrunoCollection, getExternalApi, getExternalApiEndpoint, getFieldTranslations, getFlowRun, getLocales, getOpenApi, getPickerExclusionStatus, getPostmanCollection, getPresence, getRetentionPolicy, getSlaRule, getSlaStatus, getTranslations, getTypes, getWebhook, globalSearch, heartbeatItemLock, helpVideosFor, importExternalApiSpec, importSchemaSnapshot, includeInPicker, installBlueprint, installCollectionPreset, invokeInternalWidgetAction, isPageSlot, joinChatRoom, leaveChatRoom, listAccessAuditRuns, listAccessAudits, listActiveAtRiskRules, listActivePresence, listAddendums, listAlertDefinitions, listAlertSubscriptions, listAllNotificationSubscriptions, listAnomalyDefinitions, listAnomalyRules, listApiKeys, listApprovalChains, listApprovalInstances, listAtRiskRules, listAttributeDefinitions, listBlackoutDates, listBulkActions, listChangeOrders, listChatChannelMembers, listChatMessages, listChatPins, listChatRoles, listChatRoomTypes, listChatRooms, listCollectionPresets, listCollectionRecordTemplates, listComments, listCronJobs, listCustomQueries, listDataQualityRules, listDataQualityRuns, listDeadLetters, listExternalApiEndpoints, listExternalApiSchemas, listExternalApis, listFieldGroups, listFieldWatches, listFiles, listFlowRuns, listHelpVideoPages, listHelpVideoVersions, listHelpVideos, listHierarchyConfigs, listImportDefinitionVersions, listImportDefinitions, listImportJobs, listImportTemplates, listInternalWidgets, listIssues, listItemActions, listItemScheduledChanges, listLayoutVersions, listMetricAlertRules, listMetricAlertSubscriptions, listMetricDefinitions, listMyHelpVideoUploads, listMyTasks, listNotificationSubscriptions, listNotifications, listOrphanFiles, listPages, listPdfTemplates, listPersistedQueries, listPinnedItems, listPipelineVersions, listQueueViews, listQueues, listRecordLinks, listRecordTemplates, listRegisteredExtensions, listRegisteredFlowOperations, listRegisteredFlowTriggers, listRelatedComments, listReportAlerts, listReportAnnotations, listReportFilterPresets, listReportSnapshots, listReportTemplates, listReportVersions, listReportWidgetPresets, listReports, listRequestedTasks, listRetentionPolicies, listRetentionRuns, listRolePolicies, listRoleUsers, listRoles, listRules, listSavedViews, listScheduledChanges, listScheduledReports, listScopeDimensions, listSessionRecordings, listShareLinks, listSlaRules, listStagedImports, listSubRowTemplates, listSubRows, listSyncJobs, listTasks, listTeamTasks, listThroughputCollections, listTraces, listTreePermissions, listViewSubscriptions, listVirtualCollections, listWebhookDeliveries, listWebhooks, listWidgetFeeds, listWorkspaceTemplates, listWorkspaces, markAllNotificationsRead, markChatRoomRead, markNotificationRead, markNotificationsRead, moveTreeNode, nudgeTask, omniSearch, openHelpVideoPackageImport, openHelpVideoUpload, presignFileUpload, previewContentBundle, previewHelpVideoPackageImport, previewImportJob, previewReportWidget, publishHelpVideo, publishItem, queryVirtualCollection, readAccessAuditFindings, readActiveLayout, readActivity, readActivityReportSummary, readAddendum, readAiSettings, readAlertLog, readAllStateOwners, readAnomalyLog, readApiAnalyticsErrors, readApiAnalyticsSummary, readApiAnalyticsTimeseries, readApiAnalyticsTopCollections, readApiAnalyticsTopPaths, readApiKey, readApprovalBrief, readApprovalChain, readAtRiskSummary, readBackupManifest, readChatConfig, readChatDirectory, readChatPeerRead, readCollection, readCollectionLayout, readCollectionLayouts, readCollections, readConfigInventory, readCoverageGaps, readDataQualityRun, readDetailLayout, readDistinctValues, readDraftPublishConfig, readErpSubmissionHistory, readFieldChangeHistory, readFieldConfig, readFieldImpact, readFieldWatch, readFileMeta, readFileUsage, readHelpVideo, readHelpVideoAnalytics, readHelpVideoDownloadLink, readHelpVideoDraft, readHelpVideoWalk, readHierarchyConfig, readHierarchyNodeAncestors, readHierarchyNodeChildren, readHierarchyNodes, readHierarchyTree, readImportJob, readImportProcedure, readInstanceOwners, readIntegrationHealth, readInternalWidget, readIssue, readIssueSummary, readItem, readItemLock, readItemLockConfig, readItems, readLastTouch, readLayoutAssignments, readLayoutGroups, readMany, readMe, readMetricAlertLog, readMyScopes, readMyWork, readNotificationCount, readNotificationSubscriptionStats, readOnlinePresence, readOwnerGroups, readPage, readPageWidgetData, readPdfTemplate, readPersistedQuery, readPipelineFlowMap, readPipelineReplay, readPipelineTemplate, readPipelineTemplates, readPipelineVersion, readPreflight, readQueue, readQueueCollectionStates, readQueueColumnPrefs, readQueueItems, readQueueTrends, readQueueWorkload, readRecordGraph, readRelationOptions, readReport, readReportAlertLog, readReportAlertsLog, readReportFilterOptions, readReportFiring, readReportSnapshot, readReportSubscription, readReportUsage, readReportWidgetData, readRequiredHelpVideos, readRevision, readRevisions, readRole, readScopeDimensionCoverage, readSessionRecordingEvents, readSettings, readSingleton, readSlaStatusBatch, readStagedImport, readStagedImportStats, readStateOwnerGroups, readStateOwners, readStateOwnersBatch, readSyncJob, readTask, readTaskCounts, readTaskHistory, readThroughputReport, readTimeline, readTrace, readTreeAncestors, readTreeChildren, readTreeConfig, readTreeDescendants, readTreeNested, readTreeNodes, readTwoFactorStatus, readUnreadNotificationCount, readUser, readUserActivity, readUserActivitySummary, readUserCard, readUserScopes, readUsers, readWorkflowBindings, readWorkflowInstance, readWorkflowInstances, readWorkspace, readWorkspaceUsage, rebuildTreePaths, recordHelpVideoProgress, registerHelpVideoPage, rehearseCreateItem, reindexSemanticSearch, rejectAddendum, rejectAiProposal, releaseItemLock, releaseQueueItem, rematerializeQueue, removeChatChannelMember, removeInstanceOwner, renderInternalWidget, renderPdfTemplate, reorderFieldGroups, reorderSubRows, reorderTreeSiblings, replaceSubRows, replayActivityEvent, replayFlow, reportClientError, requestRecordAccess, requeueStagedImport, rerecordHelpVideo, rerenderHelpVideo, resetReportCache, resolveReportAlert, restoreHelpVideoVersion, restoreImportDefinitionVersion, restoreLayoutVersion, restorePipelineVersion, restoreReportVersion, retryDeadLetter, retryErpSubmission, retryWebhookDelivery, revokeApiKey, revokeShareLink, revokeToken, revokeUserToken, rollbackRevision, rotateWidgetFeedToken, runAccessAudit, runActivityReport, runActivityReportCsv, runCronJob, runDataQuality, runRetentionPolicy, runScheduledReport, runSyncJob, saveHelpVideoDraft, saveMyScopeDefaults, saveReportFilterPreset, saveReportTemplate, saveReportWidgets, saveUserScope, searchChatMessages, semanticSearch, sendBulkNotification, sendChatMessage, sendTestMail, sessionRecordingEnabled, setHelpVideoContexts, setHelpVideoRequirements, setMyDelegate, setQueueDefaultView, setReportSubscription, setTranslations, setupTwoFactor, simulatePermissions, simulatePipeline, simulatePipelineImpact, startApproval, startMasquerade, startSessionRecording, startWorkflow, stopMasquerade, submitAddendum, submitFormItem, submitItemForReview, submitToErp, subscribeFieldWatch, subscribeMetricAlert, suggestImportValidation, suggestQueueLabels, switchWorkspace, testExternalApi, testFlow, testWebhook, toggleChatPin, toggleChatReaction, togglePinnedItem, toggleReportAlert, touchRecordView, transitionWorkflow, unpublishItem, unsubscribeFieldWatch, unsubscribeMetricAlert, updateAccessAudit, updateAddendum, updateAiSettings, updateAlertDefinition, updateAnomalyLogEntry, updateAnomalyRule, updateApiKey, updateApprovalChain, updateAtRiskRule, updateAttributeDefinition, updateAttributeValues, updateChatChannel, updateChatRoom, updateChatRoomType, updateCollectionLayout, updateComment, updateDataQualityRule, updateDraftPublishConfig, updateErpSubmissionStatus, updateExternalApi, updateExternalApiEndpoint, updateFieldConfig, updateFieldGroup, updateFieldWatch, updateFileMeta, updateHelpVideo, updateHierarchyConfig, updateImportDefinition, updateInternalWidget, updateIssue, updateItem, updateItemLockConfig, updateLayoutAssignments, updateLayoutUngroupedSort, updateMe, updateMetricAlertRule, updateMetricAlertSubscription, updateNotificationSubscription, updatePage, updatePdfTemplate, updatePersistedQuery, updateQueue, updateQueueSources, updateQueueView, updateRecordTemplate, updateReport, updateReportAlert, updateReportWidgetPreset, updateRetentionPolicy, updateRole, updateRolePolicy, updateRoleUiPermissions, updateRule, updateSavedView, updateScheduledReport, updateSettings, updateSingleton, updateSlaRule, updateSyncJob, updateTask, updateTreePermission, updateUser, updateVirtualCollection, updateWebhook, updateWidgetFeed, updateWorkflowBinding, updateWorkspace, validateVirtualCollectionSql, verifyTwoFactor };
package/dist/index.js CHANGED
@@ -1372,6 +1372,109 @@ function fileTransformPath(id, options = {}) {
1372
1372
  return `/api/files/${id}/transform${qs ? `?${qs}` : ""}`;
1373
1373
  }
1374
1374
 
1375
+ // src/commands/help-videos.ts
1376
+ function listHelpVideos(params) {
1377
+ return cmd("GET", "/help-videos", params);
1378
+ }
1379
+ function readHelpVideo(id) {
1380
+ return cmd("GET", `/help-videos/${id}`);
1381
+ }
1382
+ function helpVideosFor(params) {
1383
+ return cmd("GET", "/help-videos/for", params);
1384
+ }
1385
+ function createHelpVideo(body) {
1386
+ return cmd("POST", "/help-videos", void 0, body);
1387
+ }
1388
+ function updateHelpVideo(id, body) {
1389
+ return cmd("PATCH", `/help-videos/${id}`, void 0, body);
1390
+ }
1391
+ function setHelpVideoContexts(id, contexts) {
1392
+ return cmd("PUT", `/help-videos/${id}/contexts`, void 0, { contexts });
1393
+ }
1394
+ function setHelpVideoRequirements(id, role_ids) {
1395
+ return cmd("PUT", `/help-videos/${id}/requirements`, void 0, { role_ids });
1396
+ }
1397
+ function archiveHelpVideo(id, opts) {
1398
+ return cmd("DELETE", `/help-videos/${id}`, opts?.purge ? { purge: 1 } : void 0);
1399
+ }
1400
+ function readHelpVideoWalk(id) {
1401
+ return cmd("GET", `/help-videos/${id}/walk`);
1402
+ }
1403
+ function readHelpVideoDraft(id) {
1404
+ return cmd("GET", `/help-videos/${id}/draft/edits`);
1405
+ }
1406
+ function saveHelpVideoDraft(id, edits, base_hash) {
1407
+ return cmd("PUT", `/help-videos/${id}/draft/edits`, void 0, { edits, base_hash });
1408
+ }
1409
+ function publishHelpVideo(id, opts) {
1410
+ return cmd("POST", `/help-videos/${id}/publish`, void 0, opts ?? {});
1411
+ }
1412
+ function rerecordHelpVideo(id, upload_id) {
1413
+ return cmd("POST", `/help-videos/${id}/rerecord`, void 0, { upload_id });
1414
+ }
1415
+ function listHelpVideoVersions(id) {
1416
+ return cmd("GET", `/help-videos/${id}/versions`);
1417
+ }
1418
+ function restoreHelpVideoVersion(id, versionId) {
1419
+ return cmd("POST", `/help-videos/${id}/versions/${versionId}/restore`);
1420
+ }
1421
+ function rerenderHelpVideo(id, opts) {
1422
+ return cmd("POST", `/help-videos/${id}/render`, opts?.draft ? { draft: 1 } : void 0);
1423
+ }
1424
+ function recordHelpVideoProgress(id, body) {
1425
+ return cmd("POST", `/help-videos/${id}/progress`, void 0, body);
1426
+ }
1427
+ function readRequiredHelpVideos() {
1428
+ return cmd("GET", "/help-videos/required/mine");
1429
+ }
1430
+ function readHelpVideoAnalytics(id) {
1431
+ return cmd("GET", `/help-videos/${id}/analytics`);
1432
+ }
1433
+ function openHelpVideoUpload(mime) {
1434
+ return cmd("POST", "/help-videos/uploads", void 0, { mime });
1435
+ }
1436
+ function finalizeHelpVideoUpload(id, meta) {
1437
+ return cmd("POST", `/help-videos/uploads/${id}/finalize`, void 0, meta ?? {});
1438
+ }
1439
+ function listMyHelpVideoUploads() {
1440
+ return cmd("GET", "/help-videos/uploads/mine");
1441
+ }
1442
+ function abandonHelpVideoUpload(id) {
1443
+ return cmd("DELETE", `/help-videos/uploads/${id}`);
1444
+ }
1445
+ function listHelpVideoPages() {
1446
+ return cmd("GET", "/help-videos/pages");
1447
+ }
1448
+ function registerHelpVideoPage(body) {
1449
+ return cmd("POST", "/help-videos/pages", void 0, body);
1450
+ }
1451
+ function readHelpVideoDownloadLink(id, opts) {
1452
+ return cmd("GET", `/help-videos/${id}/download-link`, {
1453
+ file: opts?.file ?? "video",
1454
+ ...opts?.draft ? { draft: 1 } : {}
1455
+ });
1456
+ }
1457
+ function exportHelpVideoPackage(ids) {
1458
+ return cmd("POST", "/help-videos/packages", void 0, { ids });
1459
+ }
1460
+ function openHelpVideoPackageImport() {
1461
+ return cmd("POST", "/help-videos/packages/imports");
1462
+ }
1463
+ function previewHelpVideoPackageImport(id) {
1464
+ return cmd("POST", `/help-videos/packages/imports/${id}/preview`);
1465
+ }
1466
+ function applyHelpVideoPackageImport(id, video_ids) {
1467
+ return cmd(
1468
+ "POST",
1469
+ `/help-videos/packages/imports/${id}/apply`,
1470
+ void 0,
1471
+ video_ids ? { video_ids } : {}
1472
+ );
1473
+ }
1474
+ function discardHelpVideoPackageImport(id) {
1475
+ return cmd("DELETE", `/help-videos/packages/imports/${id}`);
1476
+ }
1477
+
1375
1478
  // src/commands/import-templates.ts
1376
1479
  var listImportTemplates = (collection) => cmd("GET", "/import-templates", { collection });
1377
1480
  var executeImportTemplate = (id, payload) => cmd("POST", `/import-templates/${id}/execute`, void 0, payload);
@@ -2573,6 +2676,7 @@ export {
2573
2676
  _or,
2574
2677
  _some,
2575
2678
  _starts_with,
2679
+ abandonHelpVideoUpload,
2576
2680
  acquireItemLock,
2577
2681
  activateLayout,
2578
2682
  addChatChannelMember,
@@ -2592,10 +2696,12 @@ export {
2592
2696
  aiValidate,
2593
2697
  appendSessionRecordingEvents,
2594
2698
  applyContentBundle,
2699
+ applyHelpVideoPackageImport,
2595
2700
  applyRecordTemplate,
2596
2701
  applySubRowTemplate,
2597
2702
  approveAddendum,
2598
2703
  approveAiProposal,
2704
+ archiveHelpVideo,
2599
2705
  asc,
2600
2706
  backupExportPath,
2601
2707
  batchPickerExclusionStatus,
@@ -2635,6 +2741,7 @@ export {
2635
2741
  createFieldGroup,
2636
2742
  createFieldWatch,
2637
2743
  createGroupDm,
2744
+ createHelpVideo,
2638
2745
  createHierarchyConfig,
2639
2746
  createImportDefinition,
2640
2747
  createImportJob,
@@ -2748,6 +2855,7 @@ export {
2748
2855
  deployImportProcedure,
2749
2856
  desc,
2750
2857
  disableTwoFactor,
2858
+ discardHelpVideoPackageImport,
2751
2859
  drillReportRow,
2752
2860
  editChatMessage,
2753
2861
  endSessionRecording,
@@ -2769,10 +2877,12 @@ export {
2769
2877
  exportConfigSnapshot,
2770
2878
  exportContent,
2771
2879
  exportContentBundle,
2880
+ exportHelpVideoPackage,
2772
2881
  exportSchemaSnapshot,
2773
2882
  fetchFormSchema,
2774
2883
  fileDownloadPath,
2775
2884
  fileTransformPath,
2885
+ finalizeHelpVideoUpload,
2776
2886
  generateToken,
2777
2887
  generateUserToken,
2778
2888
  getAlertDefinition,
@@ -2795,6 +2905,7 @@ export {
2795
2905
  getWebhook,
2796
2906
  globalSearch,
2797
2907
  heartbeatItemLock,
2908
+ helpVideosFor,
2798
2909
  importExternalApiSpec,
2799
2910
  importSchemaSnapshot,
2800
2911
  includeInPicker,
@@ -2843,6 +2954,9 @@ export {
2843
2954
  listFieldWatches,
2844
2955
  listFiles,
2845
2956
  listFlowRuns,
2957
+ listHelpVideoPages,
2958
+ listHelpVideoVersions,
2959
+ listHelpVideos,
2846
2960
  listHierarchyConfigs,
2847
2961
  listImportDefinitionVersions,
2848
2962
  listImportDefinitions,
@@ -2856,6 +2970,7 @@ export {
2856
2970
  listMetricAlertRules,
2857
2971
  listMetricAlertSubscriptions,
2858
2972
  listMetricDefinitions,
2973
+ listMyHelpVideoUploads,
2859
2974
  listMyTasks,
2860
2975
  listNotificationSubscriptions,
2861
2976
  listNotifications,
@@ -2918,10 +3033,14 @@ export {
2918
3033
  moveTreeNode,
2919
3034
  nudgeTask,
2920
3035
  omniSearch,
3036
+ openHelpVideoPackageImport,
3037
+ openHelpVideoUpload,
2921
3038
  presignFileUpload,
2922
3039
  previewContentBundle,
3040
+ previewHelpVideoPackageImport,
2923
3041
  previewImportJob,
2924
3042
  previewReportWidget,
3043
+ publishHelpVideo,
2925
3044
  publishItem,
2926
3045
  queryVirtualCollection,
2927
3046
  readAccessAuditFindings,
@@ -2963,6 +3082,11 @@ export {
2963
3082
  readFieldWatch,
2964
3083
  readFileMeta,
2965
3084
  readFileUsage,
3085
+ readHelpVideo,
3086
+ readHelpVideoAnalytics,
3087
+ readHelpVideoDownloadLink,
3088
+ readHelpVideoDraft,
3089
+ readHelpVideoWalk,
2966
3090
  readHierarchyConfig,
2967
3091
  readHierarchyNodeAncestors,
2968
3092
  readHierarchyNodeChildren,
@@ -3018,6 +3142,7 @@ export {
3018
3142
  readReportSubscription,
3019
3143
  readReportUsage,
3020
3144
  readReportWidgetData,
3145
+ readRequiredHelpVideos,
3021
3146
  readRevision,
3022
3147
  readRevisions,
3023
3148
  readRole,
@@ -3058,6 +3183,8 @@ export {
3058
3183
  readWorkspace,
3059
3184
  readWorkspaceUsage,
3060
3185
  rebuildTreePaths,
3186
+ recordHelpVideoProgress,
3187
+ registerHelpVideoPage,
3061
3188
  rehearseCreateItem,
3062
3189
  reindexSemanticSearch,
3063
3190
  rejectAddendum,
@@ -3078,8 +3205,11 @@ export {
3078
3205
  reportClientError,
3079
3206
  requestRecordAccess,
3080
3207
  requeueStagedImport,
3208
+ rerecordHelpVideo,
3209
+ rerenderHelpVideo,
3081
3210
  resetReportCache,
3082
3211
  resolveReportAlert,
3212
+ restoreHelpVideoVersion,
3083
3213
  restoreImportDefinitionVersion,
3084
3214
  restoreLayoutVersion,
3085
3215
  restorePipelineVersion,
@@ -3101,6 +3231,7 @@ export {
3101
3231
  runRetentionPolicy,
3102
3232
  runScheduledReport,
3103
3233
  runSyncJob,
3234
+ saveHelpVideoDraft,
3104
3235
  saveMyScopeDefaults,
3105
3236
  saveReportFilterPreset,
3106
3237
  saveReportTemplate,
@@ -3112,6 +3243,8 @@ export {
3112
3243
  sendChatMessage,
3113
3244
  sendTestMail,
3114
3245
  sessionRecordingEnabled,
3246
+ setHelpVideoContexts,
3247
+ setHelpVideoRequirements,
3115
3248
  setMyDelegate,
3116
3249
  setQueueDefaultView,
3117
3250
  setReportSubscription,
@@ -3171,6 +3304,7 @@ export {
3171
3304
  updateFieldGroup,
3172
3305
  updateFieldWatch,
3173
3306
  updateFileMeta,
3307
+ updateHelpVideo,
3174
3308
  updateHierarchyConfig,
3175
3309
  updateImportDefinition,
3176
3310
  updateInternalWidget,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/sdk",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "TypeScript SDK for Nivaro CMS — typed REST client, GraphQL, realtime subscriptions, and presence.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",