@parall/sdk 1.46.0 → 1.48.0

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.
@@ -494,9 +494,15 @@ export declare const ENDPOINTS: {
494
494
  readonly CHANNEL_CONVERSATION_SESSION: (orgId: string, conversationId: string) => string;
495
495
  readonly CHANNEL_MESSAGE: (orgId: string, messageId: string) => string;
496
496
  readonly CHANNEL_PROVISIONING: (orgId: string) => string;
497
+ readonly CHANNEL_SLACK_MANIFEST_LINK: (orgId: string) => string;
497
498
  readonly CHANNEL_PROVISIONING_SESSION: (orgId: string, sessionId: string) => string;
498
499
  readonly CHANNEL_PROVISIONING_CANCEL: (orgId: string, sessionId: string) => string;
499
500
  readonly CHANNEL_SEND: (orgId: string) => string;
501
+ readonly SLACK_CHANNELS: (orgId: string) => string;
502
+ readonly SLACK_USERS: (orgId: string) => string;
503
+ readonly SLACK_HISTORY: (orgId: string) => string;
504
+ readonly SLACK_MEMBERS: (orgId: string) => string;
505
+ readonly SLACK_STATUS: (orgId: string) => string;
500
506
  readonly ORG_INVITATIONS: (orgId: string) => string;
501
507
  readonly ORG_INVITATION: (orgId: string, invId: string) => string;
502
508
  readonly ORG_INVITATION_RESEND: (orgId: string, invId: string) => string;
@@ -573,6 +579,7 @@ export declare const ENDPOINTS: {
573
579
  readonly ORG_UNREAD: (orgId: string) => string;
574
580
  readonly CHAT_READ: (orgId: string, chatId: string) => string;
575
581
  readonly THREAD_UNREAD: (orgId: string, chatId: string, threadRootId: string) => string;
582
+ readonly THREAD_READ: (orgId: string, chatId: string, threadRootId: string) => string;
576
583
  readonly REFS_RESOLVE: (orgId: string) => string;
577
584
  readonly REFS_BACKLINKS: (orgId: string) => string;
578
585
  readonly REFS_GRAPH: (orgId: string) => string;
@@ -613,10 +620,15 @@ export declare const ENDPOINTS: {
613
620
  readonly ORG_EDGE: (orgId: string) => string;
614
621
  readonly ORG_EDGE_DEVICES: (orgId: string) => string;
615
622
  readonly ORG_EDGE_DEVICE: (orgId: string, edgeId: string) => string;
623
+ readonly ORG_EDGE_DEVICE_UNREGISTER: (orgId: string, edgeId: string) => string;
616
624
  readonly ORG_EDGE_ONBOARDING: (orgId: string) => string;
617
625
  readonly ORG_EDGE_PROFILES: (orgId: string, edgeId: string) => string;
626
+ readonly ORG_EDGE_EXEC: (orgId: string) => string;
618
627
  readonly CLIP_CONNECTIONS: (orgId: string, clipId: string) => string;
619
628
  readonly CLIP_CONNECTION: (orgId: string, connId: string) => string;
629
+ readonly ORG_CLIP_REGISTRY: (orgId: string) => string;
630
+ readonly ORG_CLIP_INSTALL: (orgId: string) => string;
631
+ readonly ORG_CLIPS_INSTALLED: (orgId: string) => string;
620
632
  };
621
633
  /**
622
634
  * Wiki personal-namespace prefix — the path subtree a member owns for
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAGlC,eAAO,MAAM,SAAS,aAAa,CAAC;AAGpC,eAAO,MAAM,SAAS,aAAa,CAAC;AAMpC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmMlB,CAAC;AAIX;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEzB,CAAC;AAKX;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AAOX,wBAA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;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjE;AAGD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFZ,CAAC;AA6DX,eAAO,MAAM,cAAc;4BACV,MAAM;+BACH,MAAM,UAAU,MAAM;gCACrB,MAAM,QAAQ,MAAM;mCAGjB,MAAM,QAAQ,MAAM,OAAO,MAAM,mBAAmB,MAAM,EAAE;qCAKxE,MAAM,QACR,MAAM,OACP,MAAM,aACA,MAAM,WACR,MAAM;qCAKO,MAAM,QAAQ,MAAM,OAAO,MAAM,SAAS,MAAM,OAAO,MAAM;CAE7E,CAAC"}
package/dist/constants.js CHANGED
@@ -518,10 +518,17 @@ export const ENDPOINTS = {
518
518
  CHANNEL_CONVERSATION_SESSION: (orgId, conversationId) => `${API_BASE}/orgs/${orgId}/channel-conversations/${conversationId}/session`,
519
519
  CHANNEL_MESSAGE: (orgId, messageId) => `${API_BASE}/orgs/${orgId}/channel-messages/${messageId}`,
520
520
  CHANNEL_PROVISIONING: (orgId) => `${API_BASE}/orgs/${orgId}/channel-provisioning`,
521
+ CHANNEL_SLACK_MANIFEST_LINK: (orgId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/slack/manifest-link`,
521
522
  CHANNEL_PROVISIONING_SESSION: (orgId, sessionId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/${sessionId}`,
522
523
  CHANNEL_PROVISIONING_CANCEL: (orgId, sessionId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/${sessionId}/cancel`,
523
524
  // Tier-B platform verb (agent-only): send one message as the bound bot.
524
525
  CHANNEL_SEND: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/channel-send`,
526
+ // Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
527
+ SLACK_CHANNELS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/channels`,
528
+ SLACK_USERS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/users`,
529
+ SLACK_HISTORY: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/history`,
530
+ SLACK_MEMBERS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/members`,
531
+ SLACK_STATUS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/status`,
525
532
  // Invitations (org-scoped, admin)
526
533
  ORG_INVITATIONS: (orgId) => `${API_BASE}/orgs/${orgId}/invitations`,
527
534
  ORG_INVITATION: (orgId, invId) => `${API_BASE}/orgs/${orgId}/invitations/${invId}`,
@@ -616,6 +623,7 @@ export const ENDPOINTS = {
616
623
  ORG_UNREAD: (orgId) => `${API_BASE}/orgs/${orgId}/unread`,
617
624
  CHAT_READ: (orgId, chatId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/read`,
618
625
  THREAD_UNREAD: (orgId, chatId, threadRootId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/threads/${threadRootId}/unread`,
626
+ THREAD_READ: (orgId, chatId, threadRootId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/threads/${threadRootId}/read`,
619
627
  // References (org-scoped)
620
628
  REFS_RESOLVE: (orgId) => `${API_BASE}/orgs/${orgId}/refs/resolve`,
621
629
  REFS_BACKLINKS: (orgId) => `${API_BASE}/orgs/${orgId}/refs/backlinks`,
@@ -679,10 +687,17 @@ export const ENDPOINTS = {
679
687
  ORG_EDGE: (orgId) => `/api/v1/orgs/${orgId}/edge`,
680
688
  ORG_EDGE_DEVICES: (orgId) => `/api/v1/orgs/${orgId}/edge/devices`,
681
689
  ORG_EDGE_DEVICE: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}`,
690
+ ORG_EDGE_DEVICE_UNREGISTER: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}/unregister`,
682
691
  ORG_EDGE_ONBOARDING: (orgId) => `/api/v1/orgs/${orgId}/edge/onboarding`,
683
692
  ORG_EDGE_PROFILES: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}/profiles`,
693
+ ORG_EDGE_EXEC: (orgId) => `/api/v1/orgs/${orgId}/edge/exec`,
684
694
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
685
695
  CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
696
+ // Clip registry (v3, org-scoped, served by api-server — `crg_` entries; the
697
+ // Pinix Hub catalog proxy above is a different, id-less surface)
698
+ ORG_CLIP_REGISTRY: (orgId) => `/api/v1/orgs/${orgId}/clip-registry`,
699
+ ORG_CLIP_INSTALL: (orgId) => `/api/v1/orgs/${orgId}/clips/install`,
700
+ ORG_CLIPS_INSTALLED: (orgId) => `/api/v1/orgs/${orgId}/clips/installed`,
686
701
  };
687
702
  /**
688
703
  * Wiki personal-namespace prefix — the path subtree a member owns for
package/dist/types.d.ts CHANGED
@@ -2014,6 +2014,14 @@ export interface InboxItem {
2014
2014
  grouping_priority: number;
2015
2015
  /** Number of events in this group. Populated by the grouped list query. */
2016
2016
  group_count: number;
2017
+ /**
2018
+ * True when ANY row in this item's group is unread — the same group-level
2019
+ * definition the unread-count badge uses. The representative row's own
2020
+ * `read_at` can be set while older rows in its group are still unread, so
2021
+ * read-state display must key off this field. Optional: absent on locally
2022
+ * cached rows written before the field shipped (fall back to `read_at`).
2023
+ */
2024
+ group_unread?: boolean;
2017
2025
  read_at: string | null;
2018
2026
  archived_at: string | null;
2019
2027
  snoozed_until: string | null;
@@ -2046,6 +2054,14 @@ export interface ChannelConnection {
2046
2054
  ingress_url?: string;
2047
2055
  /** Returned once at mint time (create / token regeneration). */
2048
2056
  ingress_token?: string;
2057
+ /**
2058
+ * The in-product scope-upgrade re-auth can act on this connection
2059
+ * (slack, active, provisioned-family — its auth_config carries the
2060
+ * OAuth client). Mirrors the upgrade endpoint's preconditions exactly.
2061
+ * Manual-family connections upgrade via the Slack console; the UI
2062
+ * hides the upgrade CTA when this is false/absent.
2063
+ */
2064
+ upgrade_eligible?: boolean;
2049
2065
  created_at: string;
2050
2066
  updated_at: string;
2051
2067
  }
@@ -2144,14 +2160,32 @@ export type InitiateChannelProvisioningInput = {
2144
2160
  provider: 'slack';
2145
2161
  /**
2146
2162
  * The short-lived app-configuration token (12h, generated at
2147
- * api.slack.com/apps). Transits once into apps.manifest.create and is
2148
- * never stored.
2163
+ * api.slack.com/apps). Transits once into apps.manifest.create/update
2164
+ * and is never stored.
2149
2165
  */
2150
2166
  config_token: string;
2167
+ /**
2168
+ * Scope-upgrade re-auth: converge the agent's EXISTING active
2169
+ * connection's app on the current manifest and re-authorize it (bot
2170
+ * token replaced in place, app id preserved) instead of creating a
2171
+ * new app.
2172
+ */
2173
+ upgrade?: boolean;
2151
2174
  } | {
2152
2175
  agent_id: string;
2153
2176
  provider: Exclude<ChannelProvider, 'slack'>;
2154
2177
  };
2178
+ /**
2179
+ * Manifest-prefill link for the guided manual slack path: the platform
2180
+ * mints a pending connection and returns an api.slack.com link that opens
2181
+ * the create-app form with everything preset (events, scopes, this
2182
+ * connection's webhook URL). The user installs the app themselves and
2183
+ * activates the SAME connection by delivering bot token + signing secret.
2184
+ */
2185
+ export interface SlackManifestLinkResult {
2186
+ connection_id: string;
2187
+ manifest_url: string;
2188
+ }
2155
2189
  /**
2156
2190
  * Tier-B platform verb request (agent-only): send as the bound bot.
2157
2191
  * Deliberately narrowed to 'slack' — the verb surface is per-vendor
@@ -2163,9 +2197,12 @@ export interface SendChannelMessageInput {
2163
2197
  /** Vendor-native conversation id from the inbound event (e.g. C…/D…). */
2164
2198
  conversation_id: string;
2165
2199
  /**
2166
- * External message id being answered (channel-domain format). REQUIRED
2167
- * for channel conversations (the reply lands in that message's thread);
2168
- * optional for DMs (always linear).
2200
+ * External message id being answered (channel-domain format:
2201
+ * `{channel}:{ts}`, thread children `{channel}:{root}#{ts}`). REQUIRED
2202
+ * for channel conversations (the reply lands in that message's thread).
2203
+ * In DMs the SESSION never forks, but reply POSITION follows the
2204
+ * question: a thread-child id lands the reply inside that thread, a
2205
+ * bare id (or omitting the field) keeps the flattened main flow.
2169
2206
  */
2170
2207
  reply_to?: string;
2171
2208
  text: string;
@@ -2173,11 +2210,84 @@ export interface SendChannelMessageInput {
2173
2210
  export interface SentChannelMessage {
2174
2211
  channel_type: 'slack';
2175
2212
  conversation_id: string;
2176
- /** Channel-domain external id ({channel}:{ts}) — usable as a reply_to. */
2213
+ /**
2214
+ * Channel-domain external id — `{channel}:{ts}` for top-level posts,
2215
+ * `{channel}:{root}#{ts}` when the reply landed inside a thread — usable
2216
+ * directly as a future reply_to.
2217
+ */
2177
2218
  message_id: string;
2178
2219
  thread_anchor?: string;
2179
2220
  sent_at: string;
2180
2221
  }
2222
+ /**
2223
+ * Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
2224
+ * Authorization is the bot's own Slack permissions (invite the bot to a
2225
+ * channel to make its history readable) — reads have no external side
2226
+ * effect, so the seen-conversation restriction of the send verb does not
2227
+ * apply. Cursor pagination follows Slack's contract (empty = last page).
2228
+ */
2229
+ export interface SlackChannelInfo {
2230
+ id: string;
2231
+ name: string;
2232
+ is_private: boolean;
2233
+ is_member: boolean;
2234
+ num_members?: number;
2235
+ topic?: string;
2236
+ }
2237
+ export interface SlackChannelsPage {
2238
+ channels: SlackChannelInfo[];
2239
+ next_cursor?: string;
2240
+ }
2241
+ export interface SlackUserInfo {
2242
+ id: string;
2243
+ name: string;
2244
+ real_name?: string;
2245
+ is_bot: boolean;
2246
+ deleted?: boolean;
2247
+ }
2248
+ export interface SlackUsersPage {
2249
+ users: SlackUserInfo[];
2250
+ next_cursor?: string;
2251
+ }
2252
+ export interface SlackHistoryMessage {
2253
+ /**
2254
+ * Synthesized channel-domain id — `{conversation}:{ts}`, or
2255
+ * `{conversation}:{root}#{ts}` for thread children — directly usable as
2256
+ * the send verb's `reply_to` (no client-side root#child derivation).
2257
+ */
2258
+ message_id: string;
2259
+ ts: string;
2260
+ thread_ts?: string;
2261
+ user?: string;
2262
+ bot_id?: string;
2263
+ text: string;
2264
+ }
2265
+ export interface SlackHistoryPage {
2266
+ messages: SlackHistoryMessage[];
2267
+ next_cursor?: string;
2268
+ }
2269
+ export interface SlackMembersPage {
2270
+ /** Bare Slack user ids — resolve display names via the users verb. */
2271
+ members: string[];
2272
+ next_cursor?: string;
2273
+ }
2274
+ /**
2275
+ * Slack-native pagination for the read verbs. Filters are deliberately
2276
+ * FIXED server-side (channels: public+private, archived excluded) — the
2277
+ * public contract is cursor/limit only; widening it is a deliberate scope
2278
+ * decision, not a missing passthrough.
2279
+ */
2280
+ export interface SlackReadPageQuery {
2281
+ cursor?: string;
2282
+ limit?: number;
2283
+ }
2284
+ /** Agents-pane "typing…" indicator for one assistant thread (empty status clears). */
2285
+ export interface SlackStatusInput {
2286
+ conversation: string;
2287
+ /** The assistant thread's root ts. */
2288
+ thread_ts: string;
2289
+ status?: string;
2290
+ }
2181
2291
  export type DispatchEventType = 'message' | 'task_assign' | 'task_update' | 'task_comment' | 'wiki_comment' | 'schedule.fire' | 'external_trigger' | 'approval_decided' | 'channel_message';
2182
2292
  export type DispatchStatus = 'pending' | 'received' | 'acked';
2183
2293
  export type DispatchDeliveryReason = 'mention' | 'watcher' | 'assignee' | 'creator';
@@ -3310,6 +3420,8 @@ export type EdgePlacement = 'byoc' | 'hosted';
3310
3420
  * several minutes.
3311
3421
  */
3312
3422
  export type EdgeHostedState = 'idle' | 'deleting';
3423
+ /** Stable API error codes returned by the BYOC unregister contract. */
3424
+ export type EdgeDeviceUnregisterErrorCode = 'JWT_REQUIRED' | 'HUMAN_REQUIRED' | 'FORBIDDEN' | 'EDGE_PLACEMENT_UNSUPPORTED' | 'EDGE_ONLINE' | 'EDGE_INTEGRITY_ERROR';
3313
3425
  export interface EdgeDevice {
3314
3426
  id: string;
3315
3427
  org_id: string;
@@ -3357,6 +3469,98 @@ export interface ClipConnection {
3357
3469
  created_at: string;
3358
3470
  updated_at: string;
3359
3471
  }
3472
+ /**
3473
+ * A clip in the api-server org registry (`crg_…`, table `clip_registry`) — the
3474
+ * v3 registry that install and clip connections operate on. Distinct from
3475
+ * {@link RegistryClipInfo}, which is the clip-service → Pinix Hub catalog proxy
3476
+ * and carries no registry id.
3477
+ */
3478
+ export interface ClipRegistryEntry {
3479
+ id: string;
3480
+ org_id: string;
3481
+ name: string;
3482
+ description?: string;
3483
+ visibility: 'public' | 'private';
3484
+ version?: string;
3485
+ /** clip.json manifest. `type` absent/null means browser (predates the field). */
3486
+ manifest: Record<string, unknown> | null;
3487
+ author_id: string;
3488
+ /** Reviewed snapshot served cross-org. Absent = never approved. */
3489
+ approved_version_id?: string;
3490
+ created_at: string;
3491
+ updated_at: string;
3492
+ /** Author-org-only computed fields (state of the latest submitted version). */
3493
+ review_status?: string;
3494
+ review_note?: string;
3495
+ }
3496
+ export interface InstallRegistryClipResponse {
3497
+ ok: boolean;
3498
+ clip_id: string;
3499
+ name: string;
3500
+ }
3501
+ /**
3502
+ * Execute a registry (Edge) clip command on an Edge device
3503
+ * (`POST /orgs/{orgId}/edge/exec`).
3504
+ *
3505
+ * Routing is EXPLICIT — exactly one of:
3506
+ * - `connection`: a clip connection id (`ccn_…`) or its org-local alias. The
3507
+ * ONLY route to a hosted (Cloud Profile) device: the connection its
3508
+ * maintainer bound IS the org-wide authorization. Also valid for BYOC.
3509
+ * - `edge_id`: a BYOC desktop device the CALLER owns. Naming a hosted device
3510
+ * here is refused (`400 HOSTED_CONNECTION_REQUIRED`).
3511
+ * - neither: legacy BYOC fallback — resolves only to the caller's OWN online
3512
+ * desktop device, never to a hosted one.
3513
+ */
3514
+ export interface ExecEdgeClipRequest {
3515
+ /**
3516
+ * Clip name in the org's clip registry (or an installed marketplace clip).
3517
+ * Exactly ONE of `clip` or `clip_id` is required — same identity contract as
3518
+ * clip invoke: bare names keep the fail-closed collision behavior (own-org
3519
+ * shadows installs; two installed namesakes → `409 CLIP_NAME_AMBIGUOUS`).
3520
+ */
3521
+ clip?: string;
3522
+ /**
3523
+ * Exact registry Clip id (`crg_…`). Selects the exact object without
3524
+ * weakening execution trust (cross-org still requires public + approved +
3525
+ * installed and runs only the approved snapshot).
3526
+ */
3527
+ clip_id?: string;
3528
+ /** Command to run — resolves to `<command>.js` in the clip's files. */
3529
+ command: string;
3530
+ /** Command arguments, forwarded verbatim to the clip. */
3531
+ args?: unknown;
3532
+ /** Connection id (`ccn_…`) or alias. Required for hosted devices. */
3533
+ connection?: string;
3534
+ /** Owned BYOC device id. Mutually exclusive with `connection`. */
3535
+ edge_id?: string;
3536
+ /**
3537
+ * Browser profile name. With `connection` it may only restate the profile
3538
+ * that connection grants (`400 CONNECTION_PROFILE_MISMATCH` otherwise).
3539
+ */
3540
+ profile?: string;
3541
+ /** Execution timeout in MILLISECONDS (default 30000, max 120000). */
3542
+ timeout?: number;
3543
+ /**
3544
+ * Optional audit tag (≤128 chars). Keep the SAME id across an
3545
+ * EDGE_ACTIVATING retry loop so the server's audit log reads the retries as
3546
+ * one logical call. It is NOT an idempotency key — it deduplicates nothing.
3547
+ */
3548
+ correlation_id?: string;
3549
+ }
3550
+ /**
3551
+ * A completed execution's result envelope (HTTP 200). Every non-success is
3552
+ * thrown as a typed {@link ApiError} instead — see
3553
+ * {@link ParallClient.execEdgeClip} for the full code table and, critically,
3554
+ * which codes are safe to retry.
3555
+ */
3556
+ export interface EdgeClipExecResult {
3557
+ request_id: string;
3558
+ success: boolean;
3559
+ data?: unknown;
3560
+ error?: string;
3561
+ error_code?: string;
3562
+ duration_ms: number;
3563
+ }
3360
3564
  /**
3361
3565
  * Two INDEPENDENT onboarding journeys. The original fields mean what they always
3362
3566
  * meant — "has this org set up the desktop journey?" — and hosted-backed state