@zapier/zapier-sdk-cli 0.26.1 → 0.26.2
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 +9 -0
- package/README.md +23 -6
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.26.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 642713b: Update README with more detail and more attention on fetch.
|
|
8
|
+
- Updated dependencies [642713b]
|
|
9
|
+
- @zapier/zapier-sdk@0.25.2
|
|
10
|
+
- @zapier/zapier-sdk-mcp@0.8.3
|
|
11
|
+
|
|
3
12
|
## 0.26.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -51,14 +51,31 @@ npm install -D @zapier/zapier-sdk-cli
|
|
|
51
51
|
# See all available commands
|
|
52
52
|
npx zapier-sdk --help
|
|
53
53
|
|
|
54
|
-
# Login to Zapier
|
|
54
|
+
# Login to Zapier.
|
|
55
55
|
npx zapier-sdk login
|
|
56
56
|
|
|
57
|
-
#
|
|
58
|
-
npx zapier-sdk list-apps
|
|
59
|
-
|
|
60
|
-
#
|
|
61
|
-
|
|
57
|
+
# Search from thousands of supported apps.
|
|
58
|
+
npx zapier-sdk list-apps --search "gmail"
|
|
59
|
+
# The output will show you the valid keys next to the app title like this:
|
|
60
|
+
# 1. Gmail (GoogleMailV2CLIAPI, gmail)
|
|
61
|
+
|
|
62
|
+
# Run any action for the app, using one of the app keys.
|
|
63
|
+
npx zapier-sdk run-action gmail
|
|
64
|
+
# This will ask you for the type of action you want to run.
|
|
65
|
+
# `search` or `write` are typically great for testing.
|
|
66
|
+
# Note that you usually need an authentication (connection) to the app to run
|
|
67
|
+
# the action. If you don't already have one, you can create a new one at:
|
|
68
|
+
# https://zapier.com/app/assets/connections
|
|
69
|
+
|
|
70
|
+
# List authentications for an app.
|
|
71
|
+
npx zapier-sdk list-authentications gmail
|
|
72
|
+
# Or only list the ones you own.
|
|
73
|
+
npx zapier-sdk list-authentications gmail --owner me
|
|
74
|
+
# Or just grab the first one.
|
|
75
|
+
npx zapier-sdk find-first-authentication gmail --owner me
|
|
76
|
+
|
|
77
|
+
# Make any API request to an app using your authentication (connection).
|
|
78
|
+
npx zapier-sdk fetch "https://gmail.googleapis.com/gmail/v1/users/me/labels" --authentication-id 123
|
|
62
79
|
```
|
|
63
80
|
|
|
64
81
|
## Global Options
|
package/dist/cli.cjs
CHANGED
|
@@ -1774,7 +1774,7 @@ var LoginSchema = zod.z.object({
|
|
|
1774
1774
|
|
|
1775
1775
|
// package.json
|
|
1776
1776
|
var package_default = {
|
|
1777
|
-
version: "0.26.
|
|
1777
|
+
version: "0.26.2"};
|
|
1778
1778
|
|
|
1779
1779
|
// src/telemetry/builders.ts
|
|
1780
1780
|
function createCliBaseEvent(context = {}) {
|
|
@@ -3055,7 +3055,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
3055
3055
|
// package.json with { type: 'json' }
|
|
3056
3056
|
var package_default2 = {
|
|
3057
3057
|
name: "@zapier/zapier-sdk-cli",
|
|
3058
|
-
version: "0.26.
|
|
3058
|
+
version: "0.26.2"};
|
|
3059
3059
|
function detectPackageManager(cwd = process.cwd()) {
|
|
3060
3060
|
const ua = process.env.npm_config_user_agent;
|
|
3061
3061
|
if (ua) {
|
package/dist/cli.mjs
CHANGED
|
@@ -1738,7 +1738,7 @@ var LoginSchema = z.object({
|
|
|
1738
1738
|
|
|
1739
1739
|
// package.json
|
|
1740
1740
|
var package_default = {
|
|
1741
|
-
version: "0.26.
|
|
1741
|
+
version: "0.26.2"};
|
|
1742
1742
|
|
|
1743
1743
|
// src/telemetry/builders.ts
|
|
1744
1744
|
function createCliBaseEvent(context = {}) {
|
|
@@ -3019,7 +3019,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
3019
3019
|
// package.json with { type: 'json' }
|
|
3020
3020
|
var package_default2 = {
|
|
3021
3021
|
name: "@zapier/zapier-sdk-cli",
|
|
3022
|
-
version: "0.26.
|
|
3022
|
+
version: "0.26.2"};
|
|
3023
3023
|
function detectPackageManager(cwd = process.cwd()) {
|
|
3024
3024
|
const ua = process.env.npm_config_user_agent;
|
|
3025
3025
|
if (ua) {
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED