@arbidocs/sdk 0.5.126 → 0.5.128

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.
@@ -13054,6 +13054,14 @@ declare class Arbi {
13054
13054
  /** Delete notifications for yourself (sender or recipient). */
13055
13055
  delete: (ids: string[]) => Promise<void>;
13056
13056
  };
13057
+ /** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
13058
+ readonly remoteControl: {
13059
+ replyScreen: (requestId: string, body: {
13060
+ status: "captured" | "denied" | "stopped" | "unavailable" | "action_finished";
13061
+ screenshot_png?: string;
13062
+ diagnostics?: string;
13063
+ }) => Promise<void>;
13064
+ };
13057
13065
  /** Authenticated native Word transport, with normal session recovery. */
13058
13066
  readonly editor: {
13059
13067
  request: (path: string, options?: RequestInit) => Promise<Response>;
@@ -13054,6 +13054,14 @@ declare class Arbi {
13054
13054
  /** Delete notifications for yourself (sender or recipient). */
13055
13055
  delete: (ids: string[]) => Promise<void>;
13056
13056
  };
13057
+ /** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
13058
+ readonly remoteControl: {
13059
+ replyScreen: (requestId: string, body: {
13060
+ status: "captured" | "denied" | "stopped" | "unavailable" | "action_finished";
13061
+ screenshot_png?: string;
13062
+ diagnostics?: string;
13063
+ }) => Promise<void>;
13064
+ };
13057
13065
  /** Authenticated native Word transport, with normal session recovery. */
13058
13066
  readonly editor: {
13059
13067
  request: (path: string, options?: RequestInit) => Promise<Response>;
package/dist/browser.cjs CHANGED
@@ -12662,6 +12662,19 @@ var Arbi = class {
12662
12662
  await deleteNotifications(this.requireClient(), ids);
12663
12663
  }
12664
12664
  };
12665
+ /** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
12666
+ remoteControl = {
12667
+ replyScreen: (requestId, body) => this.recovering(async () => {
12668
+ const { error } = await this.requireClient().fetch.POST(
12669
+ "/v1/remote-control/screen/{request_id}",
12670
+ {
12671
+ params: { path: { request_id: requestId } },
12672
+ body: { ...body, diagnostics: body.diagnostics ?? "" }
12673
+ }
12674
+ );
12675
+ if (error) throw new ArbiError("Could not return screen inspection to the assistant");
12676
+ })
12677
+ };
12665
12678
  /** Authenticated native Word transport, with normal session recovery. */
12666
12679
  editor = {
12667
12680
  request: (path2, options = {}) => this.recovering(async () => {