@zapier/zapier-sdk-cli 0.76.0 โ 0.77.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 +19 -0
- 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,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.77.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cfc7020: Added `importWorkflow` (experimental), exposed in the CLI as `import-workflow`. Converts an existing Zap into a durable workflow: pass `zap` (the Zap ID) and optionally `name` and `private`. Returns `{ workflow, draft, issues }`. The workflow is created disabled with no published version; publish the draft to make it live, once any blocking `issues` are resolved. The original Zap is untouched.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [cfc7020]
|
|
12
|
+
- @zapier/zapier-sdk@0.101.0
|
|
13
|
+
- @zapier/zapier-sdk-mcp@0.21.1
|
|
14
|
+
|
|
3
15
|
## 0.76.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
- [`get-workflow-draft`](#get-workflow-draft--experimental)
|
|
43
43
|
- [`get-workflow-run`](#get-workflow-run--experimental)
|
|
44
44
|
- [`get-workflow-version`](#get-workflow-version--experimental)
|
|
45
|
+
- [`import-workflow`](#import-workflow--experimental)
|
|
45
46
|
- [`list-durable-runs`](#list-durable-runs--experimental)
|
|
46
47
|
- [`list-workflow-drafts`](#list-workflow-drafts--experimental)
|
|
47
48
|
- [`list-workflow-runs`](#list-workflow-runs--experimental)
|
|
@@ -747,6 +748,24 @@ Get full details of a workflow version including source files
|
|
|
747
748
|
npx zapier-sdk get-workflow-version <workflow> <version>
|
|
748
749
|
```
|
|
749
750
|
|
|
751
|
+
#### `import-workflow` ๐งช _experimental_
|
|
752
|
+
|
|
753
|
+
Convert an existing Zap into a durable workflow. Transforms the Zap's latest published version (falling back to its draft only when the Zap has never been published) and puts the resulting source in an open draft. The workflow is created disabled with no published version, so publish the draft to make it live. The original Zap is untouched and keeps running.
|
|
754
|
+
|
|
755
|
+
**Options:**
|
|
756
|
+
|
|
757
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
758
|
+
| ----------- | --------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|
|
759
|
+
| `<zap>` | `string` | โ
| โ | โ | ID of the Zap to import. Must be owned by the requesting user. Recorded on the created workflow as source_zap_id. |
|
|
760
|
+
| `--name` | `string` | โ | โ | โ | Name for the created workflow. Defaults to a kebab-cased form of the Zap's title, or "imported-workflow" when the Zap has no title. |
|
|
761
|
+
| `--private` | `boolean` | โ | โ | โ | Restrict the created workflow to the creating user. Defaults to false, which makes it account-visible. |
|
|
762
|
+
|
|
763
|
+
**Usage:**
|
|
764
|
+
|
|
765
|
+
```bash
|
|
766
|
+
npx zapier-sdk import-workflow <zap> [--name] [--private]
|
|
767
|
+
```
|
|
768
|
+
|
|
750
769
|
#### `list-durable-runs` ๐งช _experimental_
|
|
751
770
|
|
|
752
771
|
List run-once durable runs for the authenticated account, newest first
|
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.
|
|
605
|
+
version: "0.77.0"};
|
|
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.
|
|
8370
|
+
version: "0.77.0"};
|
|
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.
|
|
561
|
+
version: "0.77.0"};
|
|
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.
|
|
8326
|
+
version: "0.77.0"};
|
|
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.
|
|
6863
|
+
version: "0.77.0"};
|
|
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.
|
|
6822
|
+
version: "0.77.0"};
|
|
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.
|
|
6864
|
+
version: "0.77.0"};
|
|
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.
|
|
6948
|
+
version: "0.77.0"};
|
|
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.
|
|
6823
|
+
version: "0.77.0"};
|
|
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.
|
|
6907
|
+
version: "0.77.0"};
|
|
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.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Command line interface for Zapier SDK",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"typescript": "^5.8.3",
|
|
96
96
|
"wrap-ansi": "^10.0.0",
|
|
97
97
|
"zod": "4.3.6",
|
|
98
|
-
"@zapier/zapier-sdk": "0.
|
|
99
|
-
"@zapier/zapier-sdk-mcp": "0.21.
|
|
98
|
+
"@zapier/zapier-sdk": "0.101.0",
|
|
99
|
+
"@zapier/zapier-sdk-mcp": "0.21.1"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/cross-spawn": "^6.0.6",
|