@zapier/zapier-sdk-cli 0.25.0 → 0.26.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 +12 -11
- 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 +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b0b7eb3: Add timeoutMs for setting the timeout for polling action results.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [b0b7eb3]
|
|
12
|
+
- @zapier/zapier-sdk@0.25.0
|
|
13
|
+
- @zapier/zapier-sdk-mcp@0.8.1
|
|
14
|
+
|
|
3
15
|
## 0.25.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -228,21 +228,22 @@ Execute an action with the given inputs
|
|
|
228
228
|
|
|
229
229
|
**Options:**
|
|
230
230
|
|
|
231
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
232
|
-
| --------------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
233
|
-
| `<app-key>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github')
|
|
234
|
-
| `<action-type>` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type
|
|
235
|
-
| `<action-key>` | `string` | ✅ | — | — | Action key to execute
|
|
236
|
-
| `--authentication-id` | `string, number` | ❌ | — | — | Authentication ID to use for this action
|
|
237
|
-
| `--inputs` | `object` | ❌ | — | — | Input parameters for the action
|
|
238
|
-
| `--
|
|
239
|
-
| `--
|
|
240
|
-
| `--
|
|
231
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
232
|
+
| --------------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
233
|
+
| `<app-key>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
234
|
+
| `<action-type>` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
|
|
235
|
+
| `<action-key>` | `string` | ✅ | — | — | Action key to execute |
|
|
236
|
+
| `--authentication-id` | `string, number` | ❌ | — | — | Authentication ID to use for this action |
|
|
237
|
+
| `--inputs` | `object` | ❌ | — | — | Input parameters for the action |
|
|
238
|
+
| `--timeout-ms` | `number` | ❌ | — | — | Maximum time to wait for action completion in milliseconds (default: 180000) |
|
|
239
|
+
| `--page-size` | `number` | ❌ | — | — | Number of results per page |
|
|
240
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
241
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
241
242
|
|
|
242
243
|
**Usage:**
|
|
243
244
|
|
|
244
245
|
```bash
|
|
245
|
-
npx zapier-sdk run-action <app-key> <action-type> <action-key> [--authentication-id] [--inputs] [--page-size] [--max-items] [--cursor]
|
|
246
|
+
npx zapier-sdk run-action <app-key> <action-type> <action-key> [--authentication-id] [--inputs] [--timeout-ms] [--page-size] [--max-items] [--cursor]
|
|
246
247
|
```
|
|
247
248
|
|
|
248
249
|
### Apps
|
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.
|
|
1777
|
+
version: "0.26.0"};
|
|
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.
|
|
3058
|
+
version: "0.26.0"};
|
|
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.
|
|
1741
|
+
version: "0.26.0"};
|
|
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.
|
|
3022
|
+
version: "0.26.0"};
|
|
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