@zapier/zapier-sdk 0.74.0 → 0.75.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 +12 -0
- package/README.md +33 -30
- package/dist/experimental.cjs +23 -2
- package/dist/experimental.d.mts +10 -4
- package/dist/experimental.d.ts +8 -2
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +23 -2
- package/dist/{index-WMit6fkJ.d.mts → index-Cq9YBV9i.d.mts} +10 -2
- package/dist/{index-WMit6fkJ.d.ts → index-Cq9YBV9i.d.ts} +10 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +7 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +2 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +2 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts +0 -2
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.js +4 -4
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +8 -0
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +6 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.js +14 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.75.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8e5253d: `listWorkflowRuns` (and `list-workflow-runs`) no longer return `output` on list items. Workflow-run lists no longer carry the (potentially large, soon-externalized) run output; fetch a single run's output via `getWorkflowRun` / `get-workflow-run`. Use `status` (`finished`/`failed`) to know when output is available.
|
|
8
|
+
|
|
9
|
+
## 0.74.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- f56bfdb: Surface trigger claim failure reason and workflow disable reason on the experimental `getWorkflow` / `listWorkflows` responses (and therefore the `get-workflow` / `list-workflows` CLI commands). Each `triggers[]` entry gains `error` (the latest claim's failure reason, present when `status` is `failed`), and the workflow gains a top-level `disabled_reason` (`trigger_claim_failed` when system-disabled, otherwise null). The two signals stay independent so an enabled workflow with a failed trigger is representable. Both fields are optional until the CSW API ships them server-side (COSUB-630).
|
|
14
|
+
|
|
3
15
|
## 0.74.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1330,35 +1330,37 @@ Get a durable workflow with its current version details and trigger claim status
|
|
|
1330
1330
|
|
|
1331
1331
|
**Returns:** `Promise<WorkflowItem>`
|
|
1332
1332
|
|
|
1333
|
-
| Name | Type | Required | Possible Values | Description
|
|
1334
|
-
| ------------------------------ | ---------- | -------- | ------------------------------------------------------------------- |
|
|
1335
|
-
| `data` | `object` | ✅ | — |
|
|
1336
|
-
| ↳ `id` | `string` | ✅ | — | Workflow ID (UUID)
|
|
1337
|
-
| ↳ `name` | `string` | ✅ | — | Workflow name
|
|
1338
|
-
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset)
|
|
1339
|
-
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive.
|
|
1340
|
-
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers
|
|
1341
|
-
| ↳ `
|
|
1342
|
-
| ↳ `
|
|
1343
|
-
| ↳ `
|
|
1344
|
-
|
|
|
1345
|
-
| ↳ `
|
|
1346
|
-
| ↳ `
|
|
1347
|
-
| ↳ `
|
|
1348
|
-
| ↳ `
|
|
1349
|
-
| ↳ `
|
|
1350
|
-
| ↳ `
|
|
1351
|
-
| ↳ `
|
|
1352
|
-
| ↳ `
|
|
1353
|
-
| ↳ `
|
|
1354
|
-
|
|
|
1355
|
-
|
|
|
1356
|
-
| ↳ `
|
|
1357
|
-
| ↳ `
|
|
1358
|
-
| ↳ `
|
|
1359
|
-
| ↳ `
|
|
1360
|
-
|
|
|
1361
|
-
|
|
|
1333
|
+
| Name | Type | Required | Possible Values | Description |
|
|
1334
|
+
| ------------------------------ | ---------- | -------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1335
|
+
| `data` | `object` | ✅ | — | |
|
|
1336
|
+
| ↳ `id` | `string` | ✅ | — | Workflow ID (UUID) |
|
|
1337
|
+
| ↳ `name` | `string` | ✅ | — | Workflow name |
|
|
1338
|
+
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset) |
|
|
1339
|
+
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
|
|
1340
|
+
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers |
|
|
1341
|
+
| ↳ `disabled_reason` | `string` | ❌ | `trigger_claim_failed` | Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger. |
|
|
1342
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the workflow is private to the creating user. False means account-visible. |
|
|
1343
|
+
| ↳ `created_by_user_id` | `string` | ✅ | — | User ID of the workflow creator (null in legacy data) |
|
|
1344
|
+
| ↳ `current_version` | `object` | ❌ | — | The currently published version, if any. Absent for workflows with no version published yet. |
|
|
1345
|
+
| ↳ `id` | `string` | ✅ | — | Workflow version ID (UUID) |
|
|
1346
|
+
| ↳ `workflow_id` | `string` | ✅ | — | Parent workflow ID |
|
|
1347
|
+
| ↳ `source_files` | `object` | ✅ | — | Source files keyed by filename → contents |
|
|
1348
|
+
| ↳ `zapier_durable_version` | `string` | ✅ | — | Pinned semver of @zapier/zapier-durable used by this version's runs |
|
|
1349
|
+
| ↳ `dependencies` | `object` | ✅ | — | Additional npm dependencies pinned for this version (or null) |
|
|
1350
|
+
| ↳ `created_by_user_id` | `string` | ✅ | — | ID of the user who published this version |
|
|
1351
|
+
| ↳ `created_at` | `string` | ✅ | — | When the version was published (ISO-8601) |
|
|
1352
|
+
| ↳ `trigger` | `object` | ✅ | — | Trigger configuration persisted on this version, or null for webhook-only workflows. |
|
|
1353
|
+
| ↳ `connections` | `object` | ✅ | — | Connection aliases bound on this version (or null). |
|
|
1354
|
+
| ↳ `app_versions` | `object` | ✅ | — | App-version pins bound on this version (or null). |
|
|
1355
|
+
| ↳ `triggers[]` | `object[]` | ✅ | — | Trigger configurations from the current version, with live claim status. Empty array when the workflow has no triggers. |
|
|
1356
|
+
| ↳ `selected_api` | `string` | ✅ | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI') |
|
|
1357
|
+
| ↳ `action` | `string` | ✅ | — | Trigger action key (e.g. 'new_row') |
|
|
1358
|
+
| ↳ `authentication_id` | `string` | ❌ | — | Connection ID for the trigger source. Null for no-auth triggers. |
|
|
1359
|
+
| ↳ `params` | `object` | ❌ | — | Trigger parameters as a JSON object |
|
|
1360
|
+
| ↳ `status` | `string` | ✅ | `unclaimed`, `pending`, `active`, `releasing`, `released`, `failed` | Live trigger claim status — whether the trigger is currently subscribed to its source. |
|
|
1361
|
+
| ↳ `error` | `string` | ❌ | — | Failure reason for the latest claim. Present (non-null) only when status is 'failed'. |
|
|
1362
|
+
| ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
|
|
1363
|
+
| ↳ `updated_at` | `string` | ✅ | — | When the workflow was last modified (ISO-8601) |
|
|
1362
1364
|
|
|
1363
1365
|
**Example:**
|
|
1364
1366
|
|
|
@@ -1512,7 +1514,6 @@ List workflow runs (triggered executions) for a specific deployed workflow, newe
|
|
|
1512
1514
|
| ↳ `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to. Null in rare edge cases. |
|
|
1513
1515
|
| ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
|
|
1514
1516
|
| ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
|
|
1515
|
-
| ↳ `output` | `unknown` | ✅ | — | Return value, present when status is `finished` |
|
|
1516
1517
|
| ↳ `error` | `unknown` | ✅ | — | Error payload when status is `failed` (null otherwise) |
|
|
1517
1518
|
| ↳ `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
|
|
1518
1519
|
| ↳ `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
|
|
@@ -1622,6 +1623,7 @@ List all active durable workflows for the authenticated account
|
|
|
1622
1623
|
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset) |
|
|
1623
1624
|
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
|
|
1624
1625
|
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers |
|
|
1626
|
+
| ↳ `disabled_reason` | `string` | ❌ | `trigger_claim_failed` | Why the workflow is off, when system-disabled. Null when not system-disabled. |
|
|
1625
1627
|
| ↳ `is_private` | `boolean` | ✅ | — | Whether the workflow is private to the creating user. False means account-visible. |
|
|
1626
1628
|
| ↳ `created_by_user_id` | `string` | ✅ | — | User ID of the workflow creator (null in legacy data) |
|
|
1627
1629
|
| ↳ `current_version_id` | `string` | ✅ | — | ID of the workflow version that runs handle. Null until a version is published. |
|
|
@@ -1631,6 +1633,7 @@ List all active durable workflows for the authenticated account
|
|
|
1631
1633
|
| ↳ `authentication_id` | `string` | ❌ | — | Connection ID for the trigger source. Null for no-auth triggers. |
|
|
1632
1634
|
| ↳ `params` | `object` | ❌ | — | Trigger parameters as a JSON object |
|
|
1633
1635
|
| ↳ `status` | `string` | ✅ | `unclaimed`, `pending`, `active`, `releasing`, `released`, `failed` | Live trigger claim status — whether the trigger is currently subscribed to its source. |
|
|
1636
|
+
| ↳ `error` | `string` | ❌ | — | Failure reason for the latest claim. Present (non-null) only when status is 'failed'. |
|
|
1634
1637
|
| ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
|
|
1635
1638
|
| ↳ `updated_at` | `string` | ✅ | — | When the workflow was last modified (ISO-8601) |
|
|
1636
1639
|
| `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
|
package/dist/experimental.cjs
CHANGED
|
@@ -3318,7 +3318,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
3318
3318
|
}
|
|
3319
3319
|
|
|
3320
3320
|
// src/sdk-version.ts
|
|
3321
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
3321
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.75.0" : void 0) || "unknown";
|
|
3322
3322
|
|
|
3323
3323
|
// src/utils/open-url.ts
|
|
3324
3324
|
var nodePrefix = "node:";
|
|
@@ -11877,6 +11877,7 @@ var WorkflowTriggerStatusSchema = zod.z.enum([
|
|
|
11877
11877
|
"released",
|
|
11878
11878
|
"failed"
|
|
11879
11879
|
]);
|
|
11880
|
+
var WorkflowDisabledReasonSchema = zod.z.enum(["trigger_claim_failed"]);
|
|
11880
11881
|
var WorkflowTriggerSchema = zod.z.object({
|
|
11881
11882
|
selected_api: zod.z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11882
11883
|
action: zod.z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
@@ -11886,6 +11887,12 @@ var WorkflowTriggerSchema = zod.z.object({
|
|
|
11886
11887
|
params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Trigger parameters as a JSON object"),
|
|
11887
11888
|
status: WorkflowTriggerStatusSchema.describe(
|
|
11888
11889
|
"Live trigger claim status \u2014 whether the trigger is currently subscribed to its source."
|
|
11890
|
+
),
|
|
11891
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11892
|
+
// always sends it (null unless status=failed). Already sanitized at write
|
|
11893
|
+
// time — surface verbatim.
|
|
11894
|
+
error: zod.z.string().nullable().optional().describe(
|
|
11895
|
+
"Failure reason for the latest claim. Present (non-null) only when status is 'failed'."
|
|
11889
11896
|
)
|
|
11890
11897
|
}).describe(
|
|
11891
11898
|
"Trigger from a workflow's current version, combined with the live claim status."
|
|
@@ -11900,6 +11907,11 @@ var WorkflowItemSchema = zod.z.object({
|
|
|
11900
11907
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11901
11908
|
),
|
|
11902
11909
|
enabled: zod.z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11910
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11911
|
+
// always sends it (null unless the workflow was system-disabled).
|
|
11912
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
11913
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled."
|
|
11914
|
+
),
|
|
11903
11915
|
is_private: zod.z.boolean().describe(
|
|
11904
11916
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11905
11917
|
),
|
|
@@ -11991,6 +12003,12 @@ var GetWorkflowResponseSchema = zod.z.object({
|
|
|
11991
12003
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11992
12004
|
),
|
|
11993
12005
|
enabled: zod.z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
12006
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
12007
|
+
// always sends it (null unless the workflow was system-disabled). Kept
|
|
12008
|
+
// independent of per-trigger status+error — see WorkflowDisabledReasonSchema.
|
|
12009
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
12010
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger."
|
|
12011
|
+
),
|
|
11994
12012
|
is_private: zod.z.boolean().describe(
|
|
11995
12013
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11996
12014
|
),
|
|
@@ -12837,7 +12855,10 @@ var WorkflowRunListItemSchema = zod.z.object({
|
|
|
12837
12855
|
workflow_version_id: zod.z.string().nullable().describe("Workflow version the run is bound to. Null in rare edge cases."),
|
|
12838
12856
|
status: WorkflowRunStatusSchema,
|
|
12839
12857
|
input: zod.z.unknown().describe("Input passed to the run"),
|
|
12840
|
-
output
|
|
12858
|
+
// `output` is intentionally omitted from list items: workflow-run lists no
|
|
12859
|
+
// longer carry the (potentially large/externalized) output payload. Fetch a
|
|
12860
|
+
// single run's output via `getWorkflowRun`. Use `status` to know when it's
|
|
12861
|
+
// available (`finished`/`failed`).
|
|
12841
12862
|
error: zod.z.unknown().nullable().describe("Error payload when status is `failed` (null otherwise)"),
|
|
12842
12863
|
created_at: zod.z.string().describe("When the run was created (ISO-8601)"),
|
|
12843
12864
|
updated_at: zod.z.string().describe("When the run was last updated (ISO-8601)")
|
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-
|
|
2
|
-
export { H as Action, ci as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aW as ActionItem, bw as ActionKeyProperty, b4 as ActionKeyPropertySchema, bx as ActionProperty, b5 as ActionPropertySchema, aK as ActionResolverItem, bI as ActionTimeoutMsProperty, bg as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bv as ActionTypeProperty, b3 as ActionTypePropertySchema, ce as ApiError, dI as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, I as App, cj as AppFactoryInput, aU as AppItem, bt as AppKeyProperty, b1 as AppKeyPropertySchema, bu as AppProperty, b2 as AppPropertySchema, eS as ApplicationLifecycleEventData, ca as ApprovalStatus, ch as AppsPluginProvides, bN as AppsProperty, bl as AppsPropertySchema, a8 as ArrayResolver, dH as AuthEvent, bB as AuthenticationIdProperty, b8 as AuthenticationIdPropertySchema, e_ as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dO as ClientCredentialsObject, dZ as ClientCredentialsObjectSchema, _ as Connection, e5 as ConnectionEntry, e4 as ConnectionEntrySchema, bz as ConnectionIdProperty, b7 as ConnectionIdPropertySchema, aV as ConnectionItem, bA as ConnectionProperty, b9 as ConnectionPropertySchema, e7 as ConnectionsMap, e6 as ConnectionsMapSchema, e9 as ConnectionsPluginProvides, bP as ConnectionsProperty, bn as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cB as CreateClientCredentialsPluginProvides, eA as CreateTableFieldsPluginProvides, eu as CreateTablePluginProvides, eI as CreateTableRecordsPluginProvides, dL as Credentials, e2 as CredentialsFunction, e1 as CredentialsFunctionSchema, dN as CredentialsObject, d$ as CredentialsObjectSchema, e3 as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MS, en as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, bG as DebugProperty, be as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, eC as DeleteTableFieldsPluginProvides, ew as DeleteTablePluginProvides, eK as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eT as EnhancedErrorEventData, bV as ErrorOptions, dK as EventCallback, eR as EventContext, eO as EventEmissionConfig, eQ as EventEmissionProvides, cl as FetchPluginProvides, J as Field, bM as FieldsProperty, bk as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, es as GetTablePluginProvides, eE as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, by as InputFieldProperty, b6 as InputFieldPropertySchema, bC as InputsProperty, ba as InputsPropertySchema, aT as JsonSseMessage, bU as LeaseLimitProperty, bs as LeaseLimitPropertySchema, bS as LeaseProperty, bq as LeasePropertySchema, bT as LeaseSecondsProperty, br as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bD as LimitProperty, bb as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, ey as ListTableFieldsPluginProvides, eG as ListTableRecordsPluginProvides, eq as ListTablesPluginProvides, dJ as LoadingEvent, eh as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, e$ as MethodCalledEvent, eU as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bE as OffsetProperty, bc as OffsetPropertySchema, bF as OutputProperty, bd as OutputPropertySchema, b0 as PaginatedSdkFunction, bH as ParamsProperty, bf as ParamsPropertySchema, dP as PkceCredentialsObject, d_ as PkceCredentialsObjectSchema, aE as Plugin, aF as PluginProvides, aO as PollOptions, c8 as RateLimitInfo, bK as RecordProperty, bi as RecordPropertySchema, bL as RecordsProperty, bj as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aN as RequestOptions, cT as RequestPluginProvides, du as ResolveAuthTokenOptions, dU as ResolveCredentialsOptions, dM as ResolvedCredentials, e0 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dG as SdkEvent, a$ as SdkPage, aS as SseMessage, aa as StaticResolver, bJ as TableProperty, bh as TablePropertySchema, bO as TablesProperty, bm as TablesPropertySchema, bR as TriggerInboxNameProperty, bp as TriggerInboxNamePropertySchema, bQ as TriggerInboxProperty, bo as TriggerInboxPropertySchema, T as TriggerMessageStatus, eM as UpdateTableRecordsPluginProvides, a0 as UserProfile, a_ as UserProfileItem, ea as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c6 as ZapierActionError, b$ as ZapierApiError, c0 as ZapierAppNotFoundError, cb as ZapierApprovalError, bZ as ZapierAuthenticationError, c4 as ZapierBundleError, dC as ZapierCache, dD as ZapierCacheEntry, dE as ZapierCacheSetOptions, c3 as ZapierConfigurationError, c7 as ZapierConflictError, bW as ZapierError, c1 as ZapierNotFoundError, c9 as ZapierRateLimitError, cc as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c2 as ZapierResourceNotFoundError, cf as ZapierSignal, c5 as ZapierTimeoutError, bY as ZapierUnknownError, bX as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, a5 as addPlugin, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, al as batch, eV as buildApplicationLifecycleEvent, an as buildCapabilityMessage, eX as buildErrorEvent, eW as buildErrorEventWithContext, eZ as buildMethodCalledEvent, eN as cleanupEventListeners, dv as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, aJ as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e8 as connectionsPlugin, eY as createBaseEvent, cA as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dF as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, ez as createTableFieldsPlugin, et as createTablePlugin, eH as createTableRecordsPlugin, aP as createZapierApi, av as createZapierCoreStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cC as deleteClientCredentialsPlugin, eB as deleteTableFieldsPlugin, ev as deleteTablePlugin, eJ as deleteTableRecordsPlugin, dg as durableRunIdResolver, eP as eventEmissionPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, cM as findUniqueConnectionPlugin, cd as formatErrorMessage, f0 as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, fa as getAgent, cE as getAppPlugin, dX as getBaseUrlFromCredentials, ag as getCallerContext, f6 as getCiPlatform, dY as getClientIdFromCredentials, cI as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, f8 as getCpuTime, f1 as getCurrentTimestamp, f7 as getMemoryUsage, aQ as getOrCreateApiClient, f3 as getOsInfo, f4 as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, f2 as getReleaseId, er as getTablePlugin, eD as getTableRecordPlugin, dz as getTokenFromCliLogin, f9 as getTtyContext, ek as getZapierApprovalMode, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, eb as getZapierSdkService, dx as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, dw as invalidateCachedToken, dB as invalidateCredentialsToken, f5 as isCi, dy as isCliLoginAvailable, dQ as isClientCredentials, az as isCoreError, dT as isCredentialsFunction, dS as isCredentialsObject, aR as isPermanentHttpError, dR as isPkceCredentials, a1 as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, ex as listTableFieldsPlugin, eF as listTableRecordsPlugin, ep as listTablesPlugin, ao as logDeprecation, cW as manifestPlugin, ei as parseConcurrencyEnvVar, aM as registryPlugin, cS as requestPlugin, ap as resetDeprecationWarnings, dA as resolveAuthToken, dW as resolveCredentials, dV as resolveCredentialsFromEnv, cQ as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dm as tableFieldIdsResolver, dp as tableFieldsResolver, ds as tableFiltersResolver, dd as tableIdResolver, dn as tableNameResolver, dk as tableRecordIdResolver, dl as tableRecordIdsResolver, dq as tableRecordsResolver, dt as tableSortResolver, dr as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, de as triggerInboxResolver, dj as triggerMessagesResolver, eL as updateTableRecordsPlugin, df as workflowIdResolver, di as workflowRunIdResolver, dh as workflowVersionIdResolver, b_ as zapierAdaptError } from './index-
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-Cq9YBV9i.mjs';
|
|
2
|
+
export { H as Action, ci as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aW as ActionItem, bw as ActionKeyProperty, b4 as ActionKeyPropertySchema, bx as ActionProperty, b5 as ActionPropertySchema, aK as ActionResolverItem, bI as ActionTimeoutMsProperty, bg as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bv as ActionTypeProperty, b3 as ActionTypePropertySchema, ce as ApiError, dI as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, I as App, cj as AppFactoryInput, aU as AppItem, bt as AppKeyProperty, b1 as AppKeyPropertySchema, bu as AppProperty, b2 as AppPropertySchema, eS as ApplicationLifecycleEventData, ca as ApprovalStatus, ch as AppsPluginProvides, bN as AppsProperty, bl as AppsPropertySchema, a8 as ArrayResolver, dH as AuthEvent, bB as AuthenticationIdProperty, b8 as AuthenticationIdPropertySchema, e_ as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dO as ClientCredentialsObject, dZ as ClientCredentialsObjectSchema, _ as Connection, e5 as ConnectionEntry, e4 as ConnectionEntrySchema, bz as ConnectionIdProperty, b7 as ConnectionIdPropertySchema, aV as ConnectionItem, bA as ConnectionProperty, b9 as ConnectionPropertySchema, e7 as ConnectionsMap, e6 as ConnectionsMapSchema, e9 as ConnectionsPluginProvides, bP as ConnectionsProperty, bn as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cB as CreateClientCredentialsPluginProvides, eA as CreateTableFieldsPluginProvides, eu as CreateTablePluginProvides, eI as CreateTableRecordsPluginProvides, dL as Credentials, e2 as CredentialsFunction, e1 as CredentialsFunctionSchema, dN as CredentialsObject, d$ as CredentialsObjectSchema, e3 as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MS, en as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, bG as DebugProperty, be as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, eC as DeleteTableFieldsPluginProvides, ew as DeleteTablePluginProvides, eK as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eT as EnhancedErrorEventData, bV as ErrorOptions, dK as EventCallback, eR as EventContext, eO as EventEmissionConfig, eQ as EventEmissionProvides, cl as FetchPluginProvides, J as Field, bM as FieldsProperty, bk as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, es as GetTablePluginProvides, eE as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, by as InputFieldProperty, b6 as InputFieldPropertySchema, bC as InputsProperty, ba as InputsPropertySchema, aT as JsonSseMessage, bU as LeaseLimitProperty, bs as LeaseLimitPropertySchema, bS as LeaseProperty, bq as LeasePropertySchema, bT as LeaseSecondsProperty, br as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bD as LimitProperty, bb as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, ey as ListTableFieldsPluginProvides, eG as ListTableRecordsPluginProvides, eq as ListTablesPluginProvides, dJ as LoadingEvent, eh as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, e$ as MethodCalledEvent, eU as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bE as OffsetProperty, bc as OffsetPropertySchema, bF as OutputProperty, bd as OutputPropertySchema, b0 as PaginatedSdkFunction, bH as ParamsProperty, bf as ParamsPropertySchema, dP as PkceCredentialsObject, d_ as PkceCredentialsObjectSchema, aE as Plugin, aF as PluginProvides, aO as PollOptions, c8 as RateLimitInfo, bK as RecordProperty, bi as RecordPropertySchema, bL as RecordsProperty, bj as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aN as RequestOptions, cT as RequestPluginProvides, du as ResolveAuthTokenOptions, dU as ResolveCredentialsOptions, dM as ResolvedCredentials, e0 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dG as SdkEvent, a$ as SdkPage, aS as SseMessage, aa as StaticResolver, bJ as TableProperty, bh as TablePropertySchema, bO as TablesProperty, bm as TablesPropertySchema, bR as TriggerInboxNameProperty, bp as TriggerInboxNamePropertySchema, bQ as TriggerInboxProperty, bo as TriggerInboxPropertySchema, T as TriggerMessageStatus, eM as UpdateTableRecordsPluginProvides, a0 as UserProfile, a_ as UserProfileItem, ea as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c6 as ZapierActionError, b$ as ZapierApiError, c0 as ZapierAppNotFoundError, cb as ZapierApprovalError, bZ as ZapierAuthenticationError, c4 as ZapierBundleError, dC as ZapierCache, dD as ZapierCacheEntry, dE as ZapierCacheSetOptions, c3 as ZapierConfigurationError, c7 as ZapierConflictError, bW as ZapierError, c1 as ZapierNotFoundError, c9 as ZapierRateLimitError, cc as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c2 as ZapierResourceNotFoundError, cf as ZapierSignal, c5 as ZapierTimeoutError, bY as ZapierUnknownError, bX as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, a5 as addPlugin, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, al as batch, eV as buildApplicationLifecycleEvent, an as buildCapabilityMessage, eX as buildErrorEvent, eW as buildErrorEventWithContext, eZ as buildMethodCalledEvent, eN as cleanupEventListeners, dv as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, aJ as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e8 as connectionsPlugin, eY as createBaseEvent, cA as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dF as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, ez as createTableFieldsPlugin, et as createTablePlugin, eH as createTableRecordsPlugin, aP as createZapierApi, av as createZapierCoreStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cC as deleteClientCredentialsPlugin, eB as deleteTableFieldsPlugin, ev as deleteTablePlugin, eJ as deleteTableRecordsPlugin, dg as durableRunIdResolver, eP as eventEmissionPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, cM as findUniqueConnectionPlugin, cd as formatErrorMessage, f0 as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, fa as getAgent, cE as getAppPlugin, dX as getBaseUrlFromCredentials, ag as getCallerContext, f6 as getCiPlatform, dY as getClientIdFromCredentials, cI as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, f8 as getCpuTime, f1 as getCurrentTimestamp, f7 as getMemoryUsage, aQ as getOrCreateApiClient, f3 as getOsInfo, f4 as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, f2 as getReleaseId, er as getTablePlugin, eD as getTableRecordPlugin, dz as getTokenFromCliLogin, f9 as getTtyContext, ek as getZapierApprovalMode, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, eb as getZapierSdkService, dx as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, dw as invalidateCachedToken, dB as invalidateCredentialsToken, f5 as isCi, dy as isCliLoginAvailable, dQ as isClientCredentials, az as isCoreError, dT as isCredentialsFunction, dS as isCredentialsObject, aR as isPermanentHttpError, dR as isPkceCredentials, a1 as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, ex as listTableFieldsPlugin, eF as listTableRecordsPlugin, ep as listTablesPlugin, ao as logDeprecation, cW as manifestPlugin, ei as parseConcurrencyEnvVar, aM as registryPlugin, cS as requestPlugin, ap as resetDeprecationWarnings, dA as resolveAuthToken, dW as resolveCredentials, dV as resolveCredentialsFromEnv, cQ as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dm as tableFieldIdsResolver, dp as tableFieldsResolver, ds as tableFiltersResolver, dd as tableIdResolver, dn as tableNameResolver, dk as tableRecordIdResolver, dl as tableRecordIdsResolver, dq as tableRecordsResolver, dt as tableSortResolver, dr as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, de as triggerInboxResolver, dj as triggerMessagesResolver, eL as updateTableRecordsPlugin, df as workflowIdResolver, di as workflowRunIdResolver, dh as workflowVersionIdResolver, b_ as zapierAdaptError } from './index-Cq9YBV9i.mjs';
|
|
3
3
|
import * as zod_v4_core from 'zod/v4/core';
|
|
4
4
|
import * as zod from 'zod';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -2588,9 +2588,11 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2588
2588
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
2589
2589
|
authentication_id?: string | null | undefined;
|
|
2590
2590
|
params?: Record<string, unknown> | undefined;
|
|
2591
|
+
error?: string | null | undefined;
|
|
2591
2592
|
}[];
|
|
2592
2593
|
created_at: string;
|
|
2593
2594
|
updated_at: string;
|
|
2595
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2594
2596
|
}>;
|
|
2595
2597
|
} & {
|
|
2596
2598
|
context: {
|
|
@@ -2616,9 +2618,11 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2616
2618
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
2617
2619
|
authentication_id?: string | null | undefined;
|
|
2618
2620
|
params?: Record<string, unknown> | undefined;
|
|
2621
|
+
error?: string | null | undefined;
|
|
2619
2622
|
}[];
|
|
2620
2623
|
created_at: string;
|
|
2621
2624
|
updated_at: string;
|
|
2625
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2622
2626
|
current_version?: {
|
|
2623
2627
|
id: string;
|
|
2624
2628
|
workflow_id: string;
|
|
@@ -3096,7 +3100,6 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
3096
3100
|
workflow_version_id: string | null;
|
|
3097
3101
|
status: string;
|
|
3098
3102
|
input: unknown;
|
|
3099
|
-
output: unknown;
|
|
3100
3103
|
error: unknown;
|
|
3101
3104
|
created_at: string;
|
|
3102
3105
|
updated_at: string;
|
|
@@ -5788,9 +5791,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5788
5791
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
5789
5792
|
authentication_id?: string | null | undefined;
|
|
5790
5793
|
params?: Record<string, unknown> | undefined;
|
|
5794
|
+
error?: string | null | undefined;
|
|
5791
5795
|
}[];
|
|
5792
5796
|
created_at: string;
|
|
5793
5797
|
updated_at: string;
|
|
5798
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5794
5799
|
}>;
|
|
5795
5800
|
} & {
|
|
5796
5801
|
context: {
|
|
@@ -5816,9 +5821,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5816
5821
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
5817
5822
|
authentication_id?: string | null | undefined;
|
|
5818
5823
|
params?: Record<string, unknown> | undefined;
|
|
5824
|
+
error?: string | null | undefined;
|
|
5819
5825
|
}[];
|
|
5820
5826
|
created_at: string;
|
|
5821
5827
|
updated_at: string;
|
|
5828
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5822
5829
|
current_version?: {
|
|
5823
5830
|
id: string;
|
|
5824
5831
|
workflow_id: string;
|
|
@@ -6296,7 +6303,6 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
6296
6303
|
workflow_version_id: string | null;
|
|
6297
6304
|
status: string;
|
|
6298
6305
|
input: unknown;
|
|
6299
|
-
output: unknown;
|
|
6300
6306
|
error: unknown;
|
|
6301
6307
|
created_at: string;
|
|
6302
6308
|
updated_at: string;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2603,9 +2603,11 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2603
2603
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2604
2604
|
authentication_id?: string | null | undefined;
|
|
2605
2605
|
params?: Record<string, unknown> | undefined;
|
|
2606
|
+
error?: string | null | undefined;
|
|
2606
2607
|
}[];
|
|
2607
2608
|
created_at: string;
|
|
2608
2609
|
updated_at: string;
|
|
2610
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2609
2611
|
}>;
|
|
2610
2612
|
} & {
|
|
2611
2613
|
context: {
|
|
@@ -2631,9 +2633,11 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2631
2633
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2632
2634
|
authentication_id?: string | null | undefined;
|
|
2633
2635
|
params?: Record<string, unknown> | undefined;
|
|
2636
|
+
error?: string | null | undefined;
|
|
2634
2637
|
}[];
|
|
2635
2638
|
created_at: string;
|
|
2636
2639
|
updated_at: string;
|
|
2640
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2637
2641
|
current_version?: {
|
|
2638
2642
|
id: string;
|
|
2639
2643
|
workflow_id: string;
|
|
@@ -3111,7 +3115,6 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
3111
3115
|
workflow_version_id: string | null;
|
|
3112
3116
|
status: string;
|
|
3113
3117
|
input: unknown;
|
|
3114
|
-
output: unknown;
|
|
3115
3118
|
error: unknown;
|
|
3116
3119
|
created_at: string;
|
|
3117
3120
|
updated_at: string;
|
|
@@ -5803,9 +5806,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5803
5806
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5804
5807
|
authentication_id?: string | null | undefined;
|
|
5805
5808
|
params?: Record<string, unknown> | undefined;
|
|
5809
|
+
error?: string | null | undefined;
|
|
5806
5810
|
}[];
|
|
5807
5811
|
created_at: string;
|
|
5808
5812
|
updated_at: string;
|
|
5813
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5809
5814
|
}>;
|
|
5810
5815
|
} & {
|
|
5811
5816
|
context: {
|
|
@@ -5831,9 +5836,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5831
5836
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5832
5837
|
authentication_id?: string | null | undefined;
|
|
5833
5838
|
params?: Record<string, unknown> | undefined;
|
|
5839
|
+
error?: string | null | undefined;
|
|
5834
5840
|
}[];
|
|
5835
5841
|
created_at: string;
|
|
5836
5842
|
updated_at: string;
|
|
5843
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5837
5844
|
current_version?: {
|
|
5838
5845
|
id: string;
|
|
5839
5846
|
workflow_id: string;
|
|
@@ -6311,7 +6318,6 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
6311
6318
|
workflow_version_id: string | null;
|
|
6312
6319
|
status: string;
|
|
6313
6320
|
input: unknown;
|
|
6314
|
-
output: unknown;
|
|
6315
6321
|
error: unknown;
|
|
6316
6322
|
created_at: string;
|
|
6317
6323
|
updated_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+F1C,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmJikC,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC
|
|
1
|
+
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+F1C,cAAc,SAAS,CAAC;AAExB,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAhBhhD;AASD,MAAM,WAAW,SAAU,SAAQ,UAAU,CAAC,OAAO,eAAe,CAAC;CAAG;AAMxE,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/experimental.mjs
CHANGED
|
@@ -3316,7 +3316,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
|
|
3318
3318
|
// src/sdk-version.ts
|
|
3319
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
3319
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.75.0" : void 0) || "unknown";
|
|
3320
3320
|
|
|
3321
3321
|
// src/utils/open-url.ts
|
|
3322
3322
|
var nodePrefix = "node:";
|
|
@@ -11875,6 +11875,7 @@ var WorkflowTriggerStatusSchema = z.enum([
|
|
|
11875
11875
|
"released",
|
|
11876
11876
|
"failed"
|
|
11877
11877
|
]);
|
|
11878
|
+
var WorkflowDisabledReasonSchema = z.enum(["trigger_claim_failed"]);
|
|
11878
11879
|
var WorkflowTriggerSchema = z.object({
|
|
11879
11880
|
selected_api: z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11880
11881
|
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
@@ -11884,6 +11885,12 @@ var WorkflowTriggerSchema = z.object({
|
|
|
11884
11885
|
params: z.record(z.string(), z.unknown()).optional().describe("Trigger parameters as a JSON object"),
|
|
11885
11886
|
status: WorkflowTriggerStatusSchema.describe(
|
|
11886
11887
|
"Live trigger claim status \u2014 whether the trigger is currently subscribed to its source."
|
|
11888
|
+
),
|
|
11889
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11890
|
+
// always sends it (null unless status=failed). Already sanitized at write
|
|
11891
|
+
// time — surface verbatim.
|
|
11892
|
+
error: z.string().nullable().optional().describe(
|
|
11893
|
+
"Failure reason for the latest claim. Present (non-null) only when status is 'failed'."
|
|
11887
11894
|
)
|
|
11888
11895
|
}).describe(
|
|
11889
11896
|
"Trigger from a workflow's current version, combined with the live claim status."
|
|
@@ -11898,6 +11905,11 @@ var WorkflowItemSchema = z.object({
|
|
|
11898
11905
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11899
11906
|
),
|
|
11900
11907
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11908
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11909
|
+
// always sends it (null unless the workflow was system-disabled).
|
|
11910
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
11911
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled."
|
|
11912
|
+
),
|
|
11901
11913
|
is_private: z.boolean().describe(
|
|
11902
11914
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11903
11915
|
),
|
|
@@ -11989,6 +12001,12 @@ var GetWorkflowResponseSchema = z.object({
|
|
|
11989
12001
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11990
12002
|
),
|
|
11991
12003
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
12004
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
12005
|
+
// always sends it (null unless the workflow was system-disabled). Kept
|
|
12006
|
+
// independent of per-trigger status+error — see WorkflowDisabledReasonSchema.
|
|
12007
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
12008
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger."
|
|
12009
|
+
),
|
|
11992
12010
|
is_private: z.boolean().describe(
|
|
11993
12011
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11994
12012
|
),
|
|
@@ -12835,7 +12853,10 @@ var WorkflowRunListItemSchema = z.object({
|
|
|
12835
12853
|
workflow_version_id: z.string().nullable().describe("Workflow version the run is bound to. Null in rare edge cases."),
|
|
12836
12854
|
status: WorkflowRunStatusSchema,
|
|
12837
12855
|
input: z.unknown().describe("Input passed to the run"),
|
|
12838
|
-
output
|
|
12856
|
+
// `output` is intentionally omitted from list items: workflow-run lists no
|
|
12857
|
+
// longer carry the (potentially large/externalized) output payload. Fetch a
|
|
12858
|
+
// single run's output via `getWorkflowRun`. Use `status` to know when it's
|
|
12859
|
+
// available (`finished`/`failed`).
|
|
12839
12860
|
error: z.unknown().nullable().describe("Error payload when status is `failed` (null otherwise)"),
|
|
12840
12861
|
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
12841
12862
|
updated_at: z.string().describe("When the run was last updated (ISO-8601)")
|
|
@@ -7581,9 +7581,11 @@ declare const listWorkflowsPlugin: (sdk: {
|
|
|
7581
7581
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7582
7582
|
authentication_id?: string | null | undefined;
|
|
7583
7583
|
params?: Record<string, unknown> | undefined;
|
|
7584
|
+
error?: string | null | undefined;
|
|
7584
7585
|
}[];
|
|
7585
7586
|
created_at: string;
|
|
7586
7587
|
updated_at: string;
|
|
7588
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7587
7589
|
}>;
|
|
7588
7590
|
} & {
|
|
7589
7591
|
context: {
|
|
@@ -7600,6 +7602,9 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7600
7602
|
description: z.ZodNullable<z.ZodString>;
|
|
7601
7603
|
trigger_url: z.ZodString;
|
|
7602
7604
|
enabled: z.ZodBoolean;
|
|
7605
|
+
disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7606
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
7607
|
+
}>>>;
|
|
7603
7608
|
is_private: z.ZodBoolean;
|
|
7604
7609
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
7605
7610
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
@@ -7616,6 +7621,7 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7616
7621
|
releasing: "releasing";
|
|
7617
7622
|
released: "released";
|
|
7618
7623
|
}>;
|
|
7624
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7619
7625
|
}, z.core.$strip>>;
|
|
7620
7626
|
created_at: z.ZodString;
|
|
7621
7627
|
updated_at: z.ZodString;
|
|
@@ -7745,9 +7751,11 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7745
7751
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7746
7752
|
authentication_id?: string | null | undefined;
|
|
7747
7753
|
params?: Record<string, unknown> | undefined;
|
|
7754
|
+
error?: string | null | undefined;
|
|
7748
7755
|
}[];
|
|
7749
7756
|
created_at: string;
|
|
7750
7757
|
updated_at: string;
|
|
7758
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7751
7759
|
}>;
|
|
7752
7760
|
} & {
|
|
7753
7761
|
context: {
|
|
@@ -7868,9 +7876,11 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7868
7876
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7869
7877
|
authentication_id?: string | null | undefined;
|
|
7870
7878
|
params?: Record<string, unknown> | undefined;
|
|
7879
|
+
error?: string | null | undefined;
|
|
7871
7880
|
}[];
|
|
7872
7881
|
created_at: string;
|
|
7873
7882
|
updated_at: string;
|
|
7883
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7874
7884
|
}>;
|
|
7875
7885
|
} & {
|
|
7876
7886
|
context: {
|
|
@@ -7899,7 +7909,6 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7899
7909
|
workflow_version_id: string | null;
|
|
7900
7910
|
status: string;
|
|
7901
7911
|
input: unknown;
|
|
7902
|
-
output: unknown;
|
|
7903
7912
|
error: unknown;
|
|
7904
7913
|
created_at: string;
|
|
7905
7914
|
updated_at: string;
|
|
@@ -7926,7 +7935,6 @@ declare const WorkflowRunListItemSchema: z.ZodObject<{
|
|
|
7926
7935
|
cancelled: "cancelled";
|
|
7927
7936
|
}>, z.ZodString]>;
|
|
7928
7937
|
input: z.ZodUnknown;
|
|
7929
|
-
output: z.ZodNullable<z.ZodUnknown>;
|
|
7930
7938
|
error: z.ZodNullable<z.ZodUnknown>;
|
|
7931
7939
|
created_at: z.ZodString;
|
|
7932
7940
|
updated_at: z.ZodString;
|