@zapier/zapier-sdk 0.109.1 → 0.110.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.110.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f8637ed: Added `runWorkflowDraft` (experimental), exposed in the CLI as `run-workflow-draft`. Launches a draft test run: executes a workflow draft's current source without publishing it.
8
+ - Pass `workflow`, `draft`, and `draftRevision` (from the last read of the draft). The run is rejected with a conflict error if the draft changed since. In interactive CLI use, `draftRevision` resolves via a picker that reads the draft's current revision, so it never has to be typed by hand.
9
+ - Optionally pass `input` for workflows that take input.
10
+ - Draft runs are free (not task-charged) and rate limited per user.
11
+ - The run is accepted asynchronously and returned with `kind: "draft"` and status `initialized`; follow it with `getWorkflowRun`, or list draft runs via `listWorkflowRuns` with `kind: "draft"`.
12
+
13
+ - f8637ed: Workflow runs now carry a `kind` discriminator (`"live"` or `"draft"`), and `listWorkflowRuns` (CLI: `list-workflow-runs`) accepts a `kind` filter — omit it for both kinds interleaved by recency. The `getWorkflowRun` and `listWorkflowRuns` response schemas are discriminated unions on `kind`, so TypeScript narrows kind-specific fields after a `run.kind === "draft"` check, and each kind carries only its own fields:
14
+
15
+ | Kind | Fields |
16
+ | ------- | ----------------------------------------------------------- |
17
+ | `live` | `trigger_id`, `workflow_version_id` (absent on draft runs) |
18
+ | `draft` | `workflow_draft_id`, `draft_revision` (absent on live runs) |
19
+
20
+ This also fixes `listWorkflowRuns` rejecting responses for workflows that have draft runs: draft rows omit the live-only fields, which the previous response schema treated as required.
21
+
22
+ `getWorkflowRun` responses now also include `workflow_id` (always returned by the API, previously stripped by the SDK's response schema).
23
+
3
24
  ## 0.109.1
4
25
 
5
26
  ### Patch Changes
package/README.md CHANGED
@@ -55,6 +55,7 @@
55
55
  - [`publishWorkflowDraft`](#publishworkflowdraft--experimental)
56
56
  - [`publishWorkflowVersion`](#publishworkflowversion--experimental)
57
57
  - [`runDurable`](#rundurable--experimental)
58
+ - [`runWorkflowDraft`](#runworkflowdraft--experimental)
58
59
  - [`triggerWorkflow`](#triggerworkflow--experimental)
59
60
  - [`updateAgenticManagementConfig`](#updateagenticmanagementconfig--experimental)
60
61
  - [`updateAgenticManagementIntent`](#updateagenticmanagementintent--experimental)
@@ -1738,7 +1739,7 @@ const { data: workflowDraft } = await zapier.getWorkflowDraft({
1738
1739
 
1739
1740
  #### `getWorkflowRun` 🧪 _experimental_
1740
1741
 
1741
- Get the current state of a workflow run (a triggered execution of a deployed workflow)
1742
+ Get the current state of a workflow run a live run of a published workflow version, or a draft run launched via `runWorkflowDraft` (the `kind` field says which)
1742
1743
 
1743
1744
  **Parameters:**
1744
1745
 
@@ -1750,19 +1751,43 @@ Get the current state of a workflow run (a triggered execution of a deployed wor
1750
1751
 
1751
1752
  **Returns:** `Promise<WorkflowRunItem>`
1752
1753
 
1753
- | Name | Type | Required | Possible Values | Description |
1754
- | ------------------------- | --------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------- |
1755
- | `data` | `object` | ✅ | — | |
1756
- | ​ ↳ `id` | `string` | ✅ | — | Workflow run ID (UUID) |
1757
- | ​ ↳ `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run, if any |
1758
- | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1759
- | ​ ↳ `workflow_version_id` | `string` | ✅ | | Workflow version the run is bound to |
1760
- | ​ ↳ `status` | `string` | | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1761
- | ​ ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
1762
- | ​ ↳ `output` | `unknown` | ✅ | — | Return value, present when status is `finished` |
1763
- | ​ ↳ `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
1764
- | ​ ↳ `created_at` | `string` | ✅ | | When the run was created (ISO-8601) |
1765
- | ​ ↳ `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
1754
+ | Name | Type | Required | Possible Values | Description |
1755
+ | ------ | -------- | -------- | --------------- | -------------------------------------------------- |
1756
+ | `data` | `object` | ✅ | — | One of the variants below, distinguished by `kind` |
1757
+
1758
+ **When `kind` is `"live"`:**
1759
+
1760
+ | Name | Type | Required | Possible Values | Description |
1761
+ | --------------------- | --------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------- |
1762
+ | `id` | `string` | ✅ | — | Workflow run ID (UUIDv7). Unique across live and draft runs. |
1763
+ | `workflow_id` | `string` | ✅ | — | The workflow this run belongs to |
1764
+ | `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1765
+ | `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1766
+ | `input` | `unknown` | ✅ | — | Input passed to the run |
1767
+ | `output` | `unknown` | ✅ | — | Return value, present when status is `finished` |
1768
+ | `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
1769
+ | `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
1770
+ | `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
1771
+ | `kind` | `string` | ✅ | `live` | A run of a published workflow version. |
1772
+ | `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run. Null for runs created without a trigger. |
1773
+ | `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to. Null in rare edge cases. |
1774
+
1775
+ **When `kind` is `"draft"`:**
1776
+
1777
+ | Name | Type | Required | Possible Values | Description |
1778
+ | ------------------- | --------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1779
+ | `id` | `string` | ✅ | — | Workflow run ID (UUIDv7). Unique across live and draft runs. |
1780
+ | `workflow_id` | `string` | ✅ | — | The workflow this run belongs to |
1781
+ | `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1782
+ | `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1783
+ | `input` | `unknown` | ✅ | — | Input passed to the run |
1784
+ | `output` | `unknown` | ✅ | — | Return value, present when status is `finished` |
1785
+ | `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
1786
+ | `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
1787
+ | `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
1788
+ | `kind` | `string` | ✅ | `draft` | A run launched from a workflow draft via `runWorkflowDraft`. |
1789
+ | `workflow_draft_id` | `string` | ✅ | — | The draft this run was launched from. Null once that draft has been deleted (the run outlives its draft). |
1790
+ | `draft_revision` | `number` | ✅ | — | The draft's revision at the moment this run was created. Compare against the draft's current `draft_revision` to tell whether the run still reflects the draft as it now stands. |
1766
1791
 
1767
1792
  **Example:**
1768
1793
 
@@ -1991,33 +2016,55 @@ for await (const workflowDraft of zapier
1991
2016
 
1992
2017
  #### `listWorkflowRuns` 🧪 _experimental_
1993
2018
 
1994
- List workflow runs (triggered executions) for a specific deployed workflow, newest first
2019
+ List workflow runs for a specific workflow, newest first. Live runs (of published versions) and draft runs share the one list; pass `kind` to narrow it to one.
1995
2020
 
1996
2021
  **Parameters:**
1997
2022
 
1998
- | Name | Type | Required | Default | Possible Values | Description |
1999
- | -------------- | -------- | -------- | ------- | --------------- | --------------------------------------------- |
2000
- | `options` | `object` | ✅ | — | — | |
2001
- | ​ ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
2002
- | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of runs per page (max 100) |
2003
- | ​ ↳ `cursor` | `string` | ❌ | — | | Pagination cursor |
2004
- | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total runs to return across all pages |
2023
+ | Name | Type | Required | Default | Possible Values | Description |
2024
+ | -------------- | -------- | -------- | ------- | --------------- | --------------------------------------------------------------------- |
2025
+ | `options` | `object` | ✅ | — | — | |
2026
+ | ​ ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
2027
+ | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of runs per page (max 100) |
2028
+ | ​ ↳ `kind` | `string` | ❌ | — | `live`, `draft` | Return only runs of this kind. Omit for both, interleaved by recency. |
2029
+ | ​ ↳ `cursor` | `string` | ❌ | — | — | Pagination cursor |
2030
+ | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total runs to return across all pages |
2005
2031
 
2006
2032
  **Returns:** `Promise<PaginatedResult<WorkflowRunItem>>`
2007
2033
 
2008
- | Name | Type | Required | Possible Values | Description |
2009
- | ------------------------- | ---------- | -------- | ----------------------------------------------------------- | --------------------------------------------------------------------------------------- |
2010
- | `data[]` | `object[]` | ✅ | — | |
2011
- | ​ ↳ `id` | `string` | | — | Workflow run ID (UUID) |
2012
- | ​ ↳ `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run, if any. Null for runs created without a trigger. |
2013
- | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
2014
- | ​ ↳ `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to. Null in rare edge cases. |
2015
- | ​ ↳ `status` | `string` | | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
2016
- | ​ ↳ `input` | `unknown` | | | Input passed to the run |
2017
- | ​ ↳ `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
2018
- | ​ ↳ `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
2019
- | ​ ↳ `updated_at` | `string` | ✅ | | When the run was last updated (ISO-8601) |
2020
- | `nextCursor` | `string` | | — | Cursor for the next page; omitted when there are no more pages |
2034
+ | Name | Type | Required | Possible Values | Description |
2035
+ | ------------ | ---------- | -------- | --------------- | -------------------------------------------------------------- |
2036
+ | `data[]` | `object[]` | ✅ | — | One of the variants below, distinguished by `kind` |
2037
+ | `nextCursor` | `string` | | — | Cursor for the next page; omitted when there are no more pages |
2038
+
2039
+ **When `kind` is `"live"`:**
2040
+
2041
+ | Name | Type | Required | Possible Values | Description |
2042
+ | --------------------- | --------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------- |
2043
+ | `id` | `string` | ✅ | — | Workflow run ID (UUIDv7). Unique across live and draft runs. |
2044
+ | `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
2045
+ | `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
2046
+ | `input` | `unknown` | | — | Input passed to the run |
2047
+ | `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
2048
+ | `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
2049
+ | `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
2050
+ | `kind` | `string` | ✅ | `live` | A run of a published workflow version. |
2051
+ | `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run. Null for runs created without a trigger. |
2052
+ | `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to. Null in rare edge cases. |
2053
+
2054
+ **When `kind` is `"draft"`:**
2055
+
2056
+ | Name | Type | Required | Possible Values | Description |
2057
+ | ------------------- | --------- | -------- | ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
2058
+ | `id` | `string` | ✅ | — | Workflow run ID (UUIDv7). Unique across live and draft runs. |
2059
+ | `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
2060
+ | `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
2061
+ | `input` | `unknown` | ✅ | — | Input passed to the run |
2062
+ | `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
2063
+ | `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
2064
+ | `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
2065
+ | `kind` | `string` | ✅ | `draft` | A run launched from a workflow draft via `runWorkflowDraft`. |
2066
+ | `workflow_draft_id` | `string` | ✅ | — | The draft this run was launched from. Null once that draft has been deleted (the run outlives its draft). |
2067
+ | `draft_revision` | `number` | ✅ | — | The draft's revision at the moment this run was created. |
2021
2068
 
2022
2069
  **Example:**
2023
2070
 
@@ -2310,6 +2357,48 @@ const { data: durableRun } = await zapier.runDurable({
2310
2357
  });
2311
2358
  ```
2312
2359
 
2360
+ #### `runWorkflowDraft` 🧪 _experimental_
2361
+
2362
+ Launch a draft test run: execute the draft's current source without publishing it. The draft's payload is snapshotted onto the run at creation, so later edits (or discarding the draft) never change what the run executed. Draft runs are free (not task-charged) and rate limited per user. The run is accepted asynchronously — it comes back `initialized`; follow it with `getWorkflowRun`, or list it via `listWorkflowRuns` with `kind: "draft"`.
2363
+
2364
+ **Parameters:**
2365
+
2366
+ | Name | Type | Required | Default | Possible Values | Description |
2367
+ | ------------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
2368
+ | `options` | `object` | ✅ | — | — | |
2369
+ | ​ ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
2370
+ | ​ ↳ `draft` | `string` | ✅ | — | — | Workflow draft ID |
2371
+ | ​ ↳ `draftRevision` | `number` | ✅ | — | — | The draft revision you intend to run, from the last read of the draft. The server rejects the run with a conflict if the draft has changed since. The upstream API treats this check as optional; the SDK requires it so a test run can never silently execute source the caller has already replaced. |
2372
+ | ​ ↳ `input` | `unknown` | ❌ | — | — | Input data passed to the workflow. Accepts any JSON value, or its JSON-string encoding. Omit for a workflow that takes no input. |
2373
+
2374
+ **Returns:** `Promise<RunWorkflowDraftResponse>`
2375
+
2376
+ | Name | Type | Required | Possible Values | Description |
2377
+ | ----------------------- | --------- | -------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
2378
+ | `data` | `object` | ✅ | — | |
2379
+ | ​ ↳ `id` | `string` | ✅ | — | Workflow run ID (UUIDv7). Unique across live and draft runs. |
2380
+ | ​ ↳ `kind` | `string` | ✅ | `draft` | A run launched from a workflow draft. |
2381
+ | ​ ↳ `workflow_id` | `string` | ✅ | — | The workflow this run belongs to |
2382
+ | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Usually still null in this response — the run is accepted and launched in the background. |
2383
+ | ​ ↳ `workflow_draft_id` | `string` | ✅ | — | The draft this run was launched from. Becomes null once that draft is deleted — the run outlives its draft. |
2384
+ | ​ ↳ `draft_revision` | `number` | ✅ | — | The draft's revision at the moment this run was created. |
2385
+ | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
2386
+ | ​ ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
2387
+ | ​ ↳ `output` | `unknown` | ✅ | — | Return value, present when status is `finished` |
2388
+ | ​ ↳ `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
2389
+ | ​ ↳ `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
2390
+ | ​ ↳ `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
2391
+
2392
+ **Example:**
2393
+
2394
+ ```typescript
2395
+ const { data: workflowRun } = await zapier.runWorkflowDraft({
2396
+ workflow: "example-workflow",
2397
+ draft: "example-draft",
2398
+ draftRevision: 100,
2399
+ });
2400
+ ```
2401
+
2313
2402
  #### `triggerWorkflow` 🧪 _experimental_
2314
2403
 
2315
2404
  Look up a workflow's trigger URL and fire it manually, as the authenticated account.
@@ -2798,7 +2798,7 @@ function logRouteOverride({
2798
2798
  }
2799
2799
 
2800
2800
  // src/sdk-version.ts
2801
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.109.1" : void 0) || "unknown";
2801
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.110.0" : void 0) || "unknown";
2802
2802
 
2803
2803
  // src/utils/open-url.ts
2804
2804
  var nodePrefix = "node:";
@@ -5721,6 +5721,29 @@ var workflowDraftIdResolver = kitcore.defineResolver({
5721
5721
  }))
5722
5722
  })
5723
5723
  });
5724
+ var getWorkflowDraftRef = kitcore.declareMethod({ id: "getWorkflowDraft" });
5725
+ var workflowDraftRevisionResolver = kitcore.defineResolver({
5726
+ imports: [getWorkflowDraftRef],
5727
+ requireParameters: ["workflow", "draft"],
5728
+ listItems: async ({
5729
+ imports,
5730
+ input
5731
+ }) => {
5732
+ const { data } = await imports.getWorkflowDraft({
5733
+ workflow: input.workflow,
5734
+ draft: input.draft
5735
+ });
5736
+ return { data: [data] };
5737
+ },
5738
+ prompt: ({ items }) => ({
5739
+ type: "list",
5740
+ message: "Confirm the draft revision to run:",
5741
+ choices: items.map((d) => ({
5742
+ label: `revision ${d.draft_revision} \u2014 last edited ${d.last_edited_at ?? "never"}`,
5743
+ value: d.draft_revision
5744
+ }))
5745
+ })
5746
+ });
5724
5747
  var listWorkflowRunsRef = kitcore.declareMethod({ id: "listWorkflowRuns" });
5725
5748
  var workflowRunIdResolver = kitcore.defineResolver({
5726
5749
  imports: [listWorkflowRunsRef],
@@ -13294,6 +13317,7 @@ exports.triggerInboxResolver = triggerInboxResolver;
13294
13317
  exports.triggerMessagesResolver = triggerMessagesResolver;
13295
13318
  exports.updateTableRecordsPlugin = updateTableRecordsPlugin;
13296
13319
  exports.workflowDraftIdResolver = workflowDraftIdResolver;
13320
+ exports.workflowDraftRevisionResolver = workflowDraftRevisionResolver;
13297
13321
  exports.workflowIdResolver = workflowIdResolver;
13298
13322
  exports.workflowRunIdResolver = workflowRunIdResolver;
13299
13323
  exports.workflowVersionIdResolver = workflowVersionIdResolver;
@@ -2797,7 +2797,7 @@ function logRouteOverride({
2797
2797
  }
2798
2798
 
2799
2799
  // src/sdk-version.ts
2800
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.109.1" : void 0) || "unknown";
2800
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.110.0" : void 0) || "unknown";
2801
2801
 
2802
2802
  // src/utils/open-url.ts
2803
2803
  var nodePrefix = "node:";
@@ -5720,6 +5720,29 @@ var workflowDraftIdResolver = defineResolver({
5720
5720
  }))
5721
5721
  })
5722
5722
  });
5723
+ var getWorkflowDraftRef = declareMethod({ id: "getWorkflowDraft" });
5724
+ var workflowDraftRevisionResolver = defineResolver({
5725
+ imports: [getWorkflowDraftRef],
5726
+ requireParameters: ["workflow", "draft"],
5727
+ listItems: async ({
5728
+ imports,
5729
+ input
5730
+ }) => {
5731
+ const { data } = await imports.getWorkflowDraft({
5732
+ workflow: input.workflow,
5733
+ draft: input.draft
5734
+ });
5735
+ return { data: [data] };
5736
+ },
5737
+ prompt: ({ items }) => ({
5738
+ type: "list",
5739
+ message: "Confirm the draft revision to run:",
5740
+ choices: items.map((d) => ({
5741
+ label: `revision ${d.draft_revision} \u2014 last edited ${d.last_edited_at ?? "never"}`,
5742
+ value: d.draft_revision
5743
+ }))
5744
+ })
5745
+ });
5723
5746
  var listWorkflowRunsRef = declareMethod({ id: "listWorkflowRuns" });
5724
5747
  var workflowRunIdResolver = defineResolver({
5725
5748
  imports: [listWorkflowRunsRef],
@@ -12874,4 +12897,4 @@ var registryPlugin = (_sdk) => {
12874
12897
  return {};
12875
12898
  };
12876
12899
 
12877
- export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createMemoryCache, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, extractErrorDetail, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, runActionPlugin, runWithCallerContext, sdkOptionsPluginRef, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin };
12900
+ export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createMemoryCache, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, extractErrorDetail, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, runActionPlugin, runWithCallerContext, sdkOptionsPluginRef, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowDraftRevisionResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin };