@zapier/zapier-sdk-cli 0.77.4 → 0.77.6
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 +17 -0
- package/README.md +38 -38
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/experimental.cjs +1 -1
- package/dist/experimental.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.77.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4a51b07: Added `editor_url` to the experimental create, get, list, update, and import workflow responses in the SDK and CLI.
|
|
8
|
+
- Updated dependencies [4a51b07]
|
|
9
|
+
- @zapier/zapier-sdk@0.102.3
|
|
10
|
+
- @zapier/zapier-sdk-mcp@0.21.7
|
|
11
|
+
|
|
12
|
+
## 0.77.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [b6dfdf9]
|
|
17
|
+
- @zapier/zapier-sdk@0.102.2
|
|
18
|
+
- @zapier/zapier-sdk-mcp@0.21.6
|
|
19
|
+
|
|
3
20
|
## 0.77.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -887,22 +887,22 @@ Publish a new version of a durable workflow. Enables the workflow by default.
|
|
|
887
887
|
|
|
888
888
|
**Options:**
|
|
889
889
|
|
|
890
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
891
|
-
| -------------------------- | --------- | -------- | ------- | --------------- |
|
|
892
|
-
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID
|
|
893
|
-
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents
|
|
894
|
-
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies
|
|
895
|
-
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.
|
|
896
|
-
| `--enabled` / `--disabled` | `boolean` | ❌ | — | — | Enable the workflow after publishing. Defaults to true if omitted; pass false to publish without enabling.
|
|
897
|
-
| `--ignore-open-drafts` | `boolean` | ❌ | — | — | Publish even though the workflow has open draft(s). Without this, the API rejects a direct publish with a 409 while any draft is open, since publishing the draft later would ship its stale content over this version.
|
|
898
|
-
| `--connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding.
|
|
899
|
-
| `--app-versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding.
|
|
900
|
-
| `--trigger` | `object` | ❌ | — | — | Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; for an on-demand, triggerless workflow, omit this and pass `manual: true` instead.
|
|
901
|
-
| ↳ `selectedApi` | `string` | ❌ | — | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI'). Required when a trigger is configured.
|
|
902
|
-
| ↳ `action` | `string` | ✅ | — | — | Trigger action key (e.g. 'new_row')
|
|
903
|
-
| ↳ `authenticationId` | `string` | ❌ | — | — | Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier).
|
|
904
|
-
| ↳ `params` | `object` | ❌ | — | — | Trigger parameters as a JSON object
|
|
905
|
-
| `--manual` | `boolean` | ❌ | — | — | Declare this an on-demand, triggerless workflow version. Pass `manual: true` only when omitting `trigger`; passing both is a contradiction the API rejects with a 400.
|
|
890
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
891
|
+
| -------------------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
892
|
+
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID |
|
|
893
|
+
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
|
|
894
|
+
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written. |
|
|
895
|
+
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Defaults to the server-configured version if omitted. "latest" is resolved by the server to the newest release old enough to clear the sandbox install age gate (24h) -- this is not npm's "latest" tag, which can point at a release too new to install. Ranges (^1.2.3, ~1.2) are rejected. |
|
|
896
|
+
| `--enabled` / `--disabled` | `boolean` | ❌ | — | — | Enable the workflow after publishing. Defaults to true if omitted; pass false to publish without enabling. |
|
|
897
|
+
| `--ignore-open-drafts` | `boolean` | ❌ | — | — | Publish even though the workflow has open draft(s). Without this, the API rejects a direct publish with a 409 while any draft is open, since publishing the draft later would ship its stale content over this version. |
|
|
898
|
+
| `--connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding. |
|
|
899
|
+
| `--app-versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding. |
|
|
900
|
+
| `--trigger` | `object` | ❌ | — | — | Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; for an on-demand, triggerless workflow, omit this and pass `manual: true` instead. |
|
|
901
|
+
| ↳ `selectedApi` | `string` | ❌ | — | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI'). Required when a trigger is configured. |
|
|
902
|
+
| ↳ `action` | `string` | ✅ | — | — | Trigger action key (e.g. 'new_row') |
|
|
903
|
+
| ↳ `authenticationId` | `string` | ❌ | — | — | Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier). |
|
|
904
|
+
| ↳ `params` | `object` | ❌ | — | — | Trigger parameters as a JSON object |
|
|
905
|
+
| `--manual` | `boolean` | ❌ | — | — | Declare this an on-demand, triggerless workflow version. Pass `manual: true` only when omitting `trigger`; passing both is a contradiction the API rejects with a 400. |
|
|
906
906
|
|
|
907
907
|
**Usage:**
|
|
908
908
|
|
|
@@ -916,16 +916,16 @@ Run a workflow source file as a run-once durable run on code-substrate-runner (n
|
|
|
916
916
|
|
|
917
917
|
**Options:**
|
|
918
918
|
|
|
919
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
920
|
-
| -------------------------- | --------- | -------- | ------- | --------------- |
|
|
921
|
-
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents
|
|
922
|
-
| `--input` | `unknown` | ❌ | — | — | Input data passed to the run. Accepts any JSON value, or its JSON-string encoding.
|
|
923
|
-
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies
|
|
924
|
-
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.
|
|
925
|
-
| `--connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`.
|
|
926
|
-
| `--app-versions` | `object` | ❌ | — | — | Pinned app versions. Maps app keys (slugs) to implementation names and versions.
|
|
927
|
-
| `--private` | `boolean` | ❌ | — | — | Only the creating user can see the run (default false)
|
|
928
|
-
| `--notifications` | `array` | ❌ | — | — | Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to.
|
|
919
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
920
|
+
| -------------------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
921
|
+
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
|
|
922
|
+
| `--input` | `unknown` | ❌ | — | — | Input data passed to the run. Accepts any JSON value, or its JSON-string encoding. |
|
|
923
|
+
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written. |
|
|
924
|
+
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Defaults to the server-configured version if omitted. "latest" is resolved by the server to the newest release old enough to clear the sandbox install age gate (24h) -- this is not npm's "latest" tag, which can point at a release too new to install. Ranges (^1.2.3, ~1.2) are rejected. |
|
|
925
|
+
| `--connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`. |
|
|
926
|
+
| `--app-versions` | `object` | ❌ | — | — | Pinned app versions. Maps app keys (slugs) to implementation names and versions. |
|
|
927
|
+
| `--private` | `boolean` | ❌ | — | — | Only the creating user can see the run (default false) |
|
|
928
|
+
| `--notifications` | `array` | ❌ | — | — | Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to. |
|
|
929
929
|
|
|
930
930
|
**Usage:**
|
|
931
931
|
|
|
@@ -974,18 +974,18 @@ Update (autosave) an open workflow draft
|
|
|
974
974
|
|
|
975
975
|
**Options:**
|
|
976
976
|
|
|
977
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
978
|
-
| -------------------------- | --------- | -------- | ------- | --------------- |
|
|
979
|
-
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID
|
|
980
|
-
| `<draft>` | `string` | ✅ | — | — | Workflow draft ID
|
|
981
|
-
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents
|
|
982
|
-
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Leaves the stored pin unchanged if omitted.
|
|
983
|
-
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies
|
|
984
|
-
| `--draft-revision` | `number` | ❌ | — | — | Expected draft revision for optimistic concurrency. Pass the revision from the last read; the server rejects the save with a conflict if the draft has changed since. Omit to skip the check.
|
|
985
|
-
| `--trigger` | `object` | ❌ | — | — | Trigger configuration. Omit to leave the stored trigger unchanged, pass null to clear it, or pass an object to replace it; for an on-demand, triggerless workflow, clear this and pass `manual: true` instead.
|
|
986
|
-
| `--connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding.
|
|
987
|
-
| `--app-versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding.
|
|
988
|
-
| `--manual` | `boolean` | ❌ | — | — | Declare this draft on-demand and triggerless. Pass `manual: true` only when omitting `trigger` (or clearing it with `trigger: null`); passing both is a contradiction the API rejects with a 400. Setting a `trigger` later clears a previously stored `manual: true`.
|
|
977
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
978
|
+
| -------------------------- | --------- | -------- | ------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
979
|
+
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID |
|
|
980
|
+
| `<draft>` | `string` | ✅ | — | — | Workflow draft ID |
|
|
981
|
+
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
|
|
982
|
+
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Leaves the stored pin unchanged if omitted. A draft stores what you pass verbatim, so "latest" is recorded as-is and resolved to an exact version when the draft is published -- reading the draft back shows "latest", not a version. Ranges (^1.2.3, ~1.2) are rejected at publish. |
|
|
983
|
+
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written. |
|
|
984
|
+
| `--draft-revision` | `number` | ❌ | — | — | Expected draft revision for optimistic concurrency. Pass the revision from the last read; the server rejects the save with a conflict if the draft has changed since. Omit to skip the check. |
|
|
985
|
+
| `--trigger` | `object` | ❌ | — | — | Trigger configuration. Omit to leave the stored trigger unchanged, pass null to clear it, or pass an object to replace it; for an on-demand, triggerless workflow, clear this and pass `manual: true` instead. |
|
|
986
|
+
| `--connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding. |
|
|
987
|
+
| `--app-versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding. |
|
|
988
|
+
| `--manual` | `boolean` | ❌ | — | — | Declare this draft on-demand and triggerless. Pass `manual: true` only when omitting `trigger` (or clearing it with `trigger: null`); passing both is a contradiction the API rejects with a 400. Setting a `trigger` later clears a previously stored `manual: true`. |
|
|
989
989
|
|
|
990
990
|
**Usage:**
|
|
991
991
|
|
package/dist/cli.cjs
CHANGED
|
@@ -602,7 +602,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
602
602
|
|
|
603
603
|
// package.json
|
|
604
604
|
var package_default = {
|
|
605
|
-
version: "0.77.
|
|
605
|
+
version: "0.77.6"};
|
|
606
606
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
607
607
|
var LOCKFILES = [
|
|
608
608
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -8367,7 +8367,7 @@ function buildBoxLines(message) {
|
|
|
8367
8367
|
// package.json with { type: 'json' }
|
|
8368
8368
|
var package_default2 = {
|
|
8369
8369
|
name: "@zapier/zapier-sdk-cli",
|
|
8370
|
-
version: "0.77.
|
|
8370
|
+
version: "0.77.6"};
|
|
8371
8371
|
|
|
8372
8372
|
// src/sdk.ts
|
|
8373
8373
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/cli.mjs
CHANGED
|
@@ -558,7 +558,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
558
558
|
|
|
559
559
|
// package.json
|
|
560
560
|
var package_default = {
|
|
561
|
-
version: "0.77.
|
|
561
|
+
version: "0.77.6"};
|
|
562
562
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
563
563
|
var LOCKFILES = [
|
|
564
564
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -8323,7 +8323,7 @@ function buildBoxLines(message) {
|
|
|
8323
8323
|
// package.json with { type: 'json' }
|
|
8324
8324
|
var package_default2 = {
|
|
8325
8325
|
name: "@zapier/zapier-sdk-cli",
|
|
8326
|
-
version: "0.77.
|
|
8326
|
+
version: "0.77.6"};
|
|
8327
8327
|
|
|
8328
8328
|
// src/sdk.ts
|
|
8329
8329
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.cjs
CHANGED
|
@@ -6860,7 +6860,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6860
6860
|
// package.json with { type: 'json' }
|
|
6861
6861
|
var package_default = {
|
|
6862
6862
|
name: "@zapier/zapier-sdk-cli",
|
|
6863
|
-
version: "0.77.
|
|
6863
|
+
version: "0.77.6"};
|
|
6864
6864
|
|
|
6865
6865
|
// src/sdk.ts
|
|
6866
6866
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.mjs
CHANGED
|
@@ -6819,7 +6819,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6819
6819
|
// package.json with { type: 'json' }
|
|
6820
6820
|
var package_default = {
|
|
6821
6821
|
name: "@zapier/zapier-sdk-cli",
|
|
6822
|
-
version: "0.77.
|
|
6822
|
+
version: "0.77.6"};
|
|
6823
6823
|
|
|
6824
6824
|
// src/sdk.ts
|
|
6825
6825
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/index.cjs
CHANGED
|
@@ -6861,7 +6861,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6861
6861
|
// package.json with { type: 'json' }
|
|
6862
6862
|
var package_default = {
|
|
6863
6863
|
name: "@zapier/zapier-sdk-cli",
|
|
6864
|
-
version: "0.77.
|
|
6864
|
+
version: "0.77.6"};
|
|
6865
6865
|
|
|
6866
6866
|
// src/sdk.ts
|
|
6867
6867
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -6945,7 +6945,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
6945
6945
|
|
|
6946
6946
|
// package.json
|
|
6947
6947
|
var package_default2 = {
|
|
6948
|
-
version: "0.77.
|
|
6948
|
+
version: "0.77.6"};
|
|
6949
6949
|
|
|
6950
6950
|
// src/telemetry/builders.ts
|
|
6951
6951
|
function createCliBaseEvent(context = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -6820,7 +6820,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6820
6820
|
// package.json with { type: 'json' }
|
|
6821
6821
|
var package_default = {
|
|
6822
6822
|
name: "@zapier/zapier-sdk-cli",
|
|
6823
|
-
version: "0.77.
|
|
6823
|
+
version: "0.77.6"};
|
|
6824
6824
|
|
|
6825
6825
|
// src/sdk.ts
|
|
6826
6826
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -6904,7 +6904,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
6904
6904
|
|
|
6905
6905
|
// package.json
|
|
6906
6906
|
var package_default2 = {
|
|
6907
|
-
version: "0.77.
|
|
6907
|
+
version: "0.77.6"};
|
|
6908
6908
|
|
|
6909
6909
|
// src/telemetry/builders.ts
|
|
6910
6910
|
function createCliBaseEvent(context = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zapier/zapier-sdk-cli",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.6",
|
|
4
4
|
"description": "Command line interface for Zapier SDK",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"wrap-ansi": "^10.0.0",
|
|
97
97
|
"zod": "4.3.6",
|
|
98
98
|
"@zapier/kitcore": "0.17.2",
|
|
99
|
-
"@zapier/zapier-sdk": "0.102.
|
|
100
|
-
"@zapier/zapier-sdk-mcp": "0.21.
|
|
99
|
+
"@zapier/zapier-sdk": "0.102.3",
|
|
100
|
+
"@zapier/zapier-sdk-mcp": "0.21.7"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@types/cross-spawn": "^6.0.6",
|