@zapier/zapier-sdk-cli 0.61.2 → 0.62.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 +32 -0
- package/README.md +68 -68
- 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,37 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.62.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8d232d2: Deprecated `name` in favor of `key` for trigger inboxes. `name` continues to work as a deprecated alias.
|
|
8
|
+
- `createTriggerInbox` now accepts an optional `key` parameter; `name` is deprecated.
|
|
9
|
+
- `ensureTriggerInbox` now takes `key` as its required idempotency identifier; passing `name` still works but is deprecated.
|
|
10
|
+
- `listTriggerInboxes` now accepts a `key` filter; the `name` filter is deprecated.
|
|
11
|
+
- Trigger inbox locators (the `inbox` argument on `getTriggerInbox`, `updateTriggerInbox`, and related methods) now resolve non-UUID values by `key`.
|
|
12
|
+
- Trigger inbox responses now include a `key` field alongside `name` (both hold the same value; `key` may be `null` when an inbox has no natural key).
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [8d232d2]
|
|
17
|
+
- @zapier/zapier-sdk-mcp@0.17.0
|
|
18
|
+
- @zapier/zapier-sdk@0.81.0
|
|
19
|
+
|
|
20
|
+
## 0.61.3
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 072fe2b: Decode JSON-string `input` on `triggerWorkflow` and `runDurable`. Their `input`
|
|
25
|
+
field is freeform (`z.unknown()`), which the CLI surfaces as a raw string flag
|
|
26
|
+
and never JSON-parses, so `--input '{"a":1}'` reached the API as a string and
|
|
27
|
+
was double-encoded (server rejected it with `expected object, received string`).
|
|
28
|
+
The input is now normalized at the schema boundary: a `{`/`[`-leading JSON
|
|
29
|
+
string is decoded to its value, while objects and scalar strings pass through
|
|
30
|
+
unchanged. This also fixes programmatic callers passing a JSON string.
|
|
31
|
+
- Updated dependencies [072fe2b]
|
|
32
|
+
- @zapier/zapier-sdk@0.80.2
|
|
33
|
+
- @zapier/zapier-sdk-mcp@0.16.3
|
|
34
|
+
|
|
3
35
|
## 0.61.2
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -746,7 +746,7 @@ Run a workflow source file as a run-once durable run on sdkdurableapi (no deploy
|
|
|
746
746
|
| Option | Type | Required | Default | Possible Values | Description |
|
|
747
747
|
| -------------------------- | --------- | -------- | ------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
748
748
|
| `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
|
|
749
|
-
| `--input` | `unknown` | ❌ | — | — | Input data passed to the run
|
|
749
|
+
| `--input` | `unknown` | ❌ | — | — | Input data passed to the run. Accepts any JSON value, or its JSON-string encoding. |
|
|
750
750
|
| `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
|
|
751
751
|
| `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
|
|
752
752
|
| `--connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`. |
|
|
@@ -766,10 +766,10 @@ Look up a workflow's trigger URL and fire it manually, as the authenticated acco
|
|
|
766
766
|
|
|
767
767
|
**Options:**
|
|
768
768
|
|
|
769
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
770
|
-
| ------------ | --------- | -------- | ------- | --------------- |
|
|
771
|
-
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID
|
|
772
|
-
| `--input` | `unknown` | ❌ | — | — | JSON payload delivered as the trigger body. Sent as `application/json`; omit to fire with an empty body. |
|
|
769
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
770
|
+
| ------------ | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
771
|
+
| `<workflow>` | `string` | ✅ | — | — | Durable workflow ID |
|
|
772
|
+
| `--input` | `unknown` | ❌ | — | — | JSON payload delivered as the trigger body. Accepts any JSON value, or its JSON-string encoding. Sent as `application/json`; omit to fire with an empty body. |
|
|
773
773
|
|
|
774
774
|
**Usage:**
|
|
775
775
|
|
|
@@ -1235,11 +1235,11 @@ Acknowledge messages from a lease. Acked messages are removed from the inbox; un
|
|
|
1235
1235
|
|
|
1236
1236
|
**Options:**
|
|
1237
1237
|
|
|
1238
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1239
|
-
| ------------ | -------- | -------- | ------- | --------------- |
|
|
1240
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1241
|
-
| `<lease>` | `string` | ✅ | — | — | Lease ID returned from leaseTriggerInboxMessages
|
|
1242
|
-
| `--messages` | `array` | ❌ | — | — | Specific message IDs to ack. Omit to ack every message in the lease.
|
|
1238
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1239
|
+
| ------------ | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1240
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1241
|
+
| `<lease>` | `string` | ✅ | — | — | Lease ID returned from leaseTriggerInboxMessages |
|
|
1242
|
+
| `--messages` | `array` | ❌ | — | — | Specific message IDs to ack. Omit to ack every message in the lease. |
|
|
1243
1243
|
|
|
1244
1244
|
**Usage:**
|
|
1245
1245
|
|
|
@@ -1249,23 +1249,23 @@ npx zapier-sdk ack-trigger-inbox-messages <inbox> <lease> [--messages]
|
|
|
1249
1249
|
|
|
1250
1250
|
#### `create-trigger-inbox` 🧪 _experimental_
|
|
1251
1251
|
|
|
1252
|
-
Create a new trigger inbox subscription. Always creates a new inbox; use ensureTriggerInbox for get-or-create on a stable
|
|
1252
|
+
Create a new trigger inbox subscription. Always creates a new inbox; use ensureTriggerInbox for get-or-create on a stable key.
|
|
1253
1253
|
|
|
1254
1254
|
**Options:**
|
|
1255
1255
|
|
|
1256
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1257
|
-
| -------------------- | ---------------- | -------- | ------- | --------------- |
|
|
1258
|
-
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3')
|
|
1259
|
-
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row')
|
|
1260
|
-
| `--
|
|
1261
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID. Optional for triggers that don't require auth.
|
|
1262
|
-
| `--inputs` | `object` | ❌ | — | — | Input parameters for the trigger subscription
|
|
1263
|
-
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive
|
|
1256
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1257
|
+
| -------------------- | ---------------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
1258
|
+
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3') |
|
|
1259
|
+
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row') |
|
|
1260
|
+
| `--key` | `string` | ❌ | — | — | Optional inbox key. Auto-generated when omitted. Throws a conflict error if the key is already in use by another subscription. |
|
|
1261
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID. Optional for triggers that don't require auth. |
|
|
1262
|
+
| `--inputs` | `object` | ❌ | — | — | Input parameters for the trigger subscription |
|
|
1263
|
+
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive |
|
|
1264
1264
|
|
|
1265
1265
|
**Usage:**
|
|
1266
1266
|
|
|
1267
1267
|
```bash
|
|
1268
|
-
npx zapier-sdk create-trigger-inbox <app> <action> [--
|
|
1268
|
+
npx zapier-sdk create-trigger-inbox <app> <action> [--key] [--connection] [--inputs] [--notification-url]
|
|
1269
1269
|
```
|
|
1270
1270
|
|
|
1271
1271
|
#### `delete-trigger-inbox` 🧪 _experimental_
|
|
@@ -1274,9 +1274,9 @@ Mark a trigger inbox for deletion
|
|
|
1274
1274
|
|
|
1275
1275
|
**Options:**
|
|
1276
1276
|
|
|
1277
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1278
|
-
| --------- | -------- | -------- | ------- | --------------- |
|
|
1279
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1277
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1278
|
+
| --------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1279
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1280
1280
|
|
|
1281
1281
|
**Usage:**
|
|
1282
1282
|
|
|
@@ -1292,7 +1292,7 @@ Drain an existing trigger inbox: lease currently-available messages, process eac
|
|
|
1292
1292
|
|
|
1293
1293
|
| Option | Type | Required | Default | Possible Values | Description |
|
|
1294
1294
|
| --------------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1295
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1295
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1296
1296
|
| `--concurrency` | `number` | ❌ | — | — | Per-message handler workers running in parallel. Defaults to `leaseLimit`, or 1 if neither is set. |
|
|
1297
1297
|
| `--lease-limit` | `number` | ❌ | — | — | Per-lease HTTP batch size. Defaults to `concurrency`, or 1 if neither is set. |
|
|
1298
1298
|
| `--lease-seconds` | `number` | ❌ | — | — | Seconds until the lease expires; messages return to available if not acked. API default is 300 (5 minutes). |
|
|
@@ -1311,23 +1311,23 @@ npx zapier-sdk drain-trigger-inbox <inbox> [--concurrency] [--lease-limit] [--le
|
|
|
1311
1311
|
|
|
1312
1312
|
#### `ensure-trigger-inbox` 🧪 _experimental_
|
|
1313
1313
|
|
|
1314
|
-
Get-or-create a trigger inbox by
|
|
1314
|
+
Get-or-create a trigger inbox by key. Idempotent on (user, account, key): returns the existing inbox if a matching subscription is registered, creates a new one otherwise. Throws ZapierConflictError if the key exists with a different subscription.
|
|
1315
1315
|
|
|
1316
1316
|
**Options:**
|
|
1317
1317
|
|
|
1318
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1319
|
-
| -------------------- | ---------------- | -------- | ------- | --------------- |
|
|
1320
|
-
| `<
|
|
1321
|
-
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3')
|
|
1322
|
-
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row')
|
|
1323
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID. Optional for triggers that don't require auth.
|
|
1324
|
-
| `--inputs` | `object` | ❌ | — | — | Input parameters for the trigger subscription
|
|
1325
|
-
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive
|
|
1318
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1319
|
+
| -------------------- | ---------------- | -------- | ------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1320
|
+
| `<key>` | `string` | ✅ | — | — | Inbox key; serves as the idempotency key. Required for ensureTriggerInbox — without one, the API mints a fresh inbox each call (use createTriggerInbox for that path). |
|
|
1321
|
+
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3') |
|
|
1322
|
+
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row') |
|
|
1323
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID. Optional for triggers that don't require auth. |
|
|
1324
|
+
| `--inputs` | `object` | ❌ | — | — | Input parameters for the trigger subscription |
|
|
1325
|
+
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive |
|
|
1326
1326
|
|
|
1327
1327
|
**Usage:**
|
|
1328
1328
|
|
|
1329
1329
|
```bash
|
|
1330
|
-
npx zapier-sdk ensure-trigger-inbox <
|
|
1330
|
+
npx zapier-sdk ensure-trigger-inbox <key> <app> <action> [--connection] [--inputs] [--notification-url]
|
|
1331
1331
|
```
|
|
1332
1332
|
|
|
1333
1333
|
#### `get-trigger-inbox` 🧪 _experimental_
|
|
@@ -1336,9 +1336,9 @@ Get details of a trigger inbox by ID
|
|
|
1336
1336
|
|
|
1337
1337
|
**Options:**
|
|
1338
1338
|
|
|
1339
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1340
|
-
| --------- | -------- | -------- | ------- | --------------- |
|
|
1341
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1339
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1340
|
+
| --------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1341
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1342
1342
|
|
|
1343
1343
|
**Usage:**
|
|
1344
1344
|
|
|
@@ -1373,7 +1373,7 @@ Lease up to N messages from a trigger inbox. Returns messages plus a lease ID; a
|
|
|
1373
1373
|
|
|
1374
1374
|
| Option | Type | Required | Default | Possible Values | Description |
|
|
1375
1375
|
| ----------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
1376
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1376
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1377
1377
|
| `--lease-limit` | `number` | ❌ | — | — | Maximum messages to lease in a single batch (1-100) |
|
|
1378
1378
|
| `--lease-seconds` | `number` | ❌ | — | — | Seconds until the lease expires; messages return to available if not acked. API default is 300 (5 minutes). |
|
|
1379
1379
|
|
|
@@ -1389,12 +1389,12 @@ List messages in a trigger inbox (no payload, status-only)
|
|
|
1389
1389
|
|
|
1390
1390
|
**Options:**
|
|
1391
1391
|
|
|
1392
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1393
|
-
| ------------- | -------- | -------- | ------- | --------------- |
|
|
1394
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1395
|
-
| `--page-size` | `number` | ❌ | — | — | Number of messages per page
|
|
1396
|
-
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages
|
|
1397
|
-
| `--cursor` | `string` | ❌ | — | — | Pagination cursor
|
|
1392
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1393
|
+
| ------------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1394
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1395
|
+
| `--page-size` | `number` | ❌ | — | — | Number of messages per page |
|
|
1396
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
1397
|
+
| `--cursor` | `string` | ❌ | — | — | Pagination cursor |
|
|
1398
1398
|
|
|
1399
1399
|
**Usage:**
|
|
1400
1400
|
|
|
@@ -1408,18 +1408,18 @@ List all trigger inboxes for the authenticated user
|
|
|
1408
1408
|
|
|
1409
1409
|
**Options:**
|
|
1410
1410
|
|
|
1411
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1412
|
-
| ------------- | -------- | -------- | ------- | ------------------------------------------------------------------------ |
|
|
1413
|
-
| `--
|
|
1414
|
-
| `--status` | `string` | ❌ | — | `initializing`, `active`, `paused`, `deleting`, `initialization_failure` | Filter by inbox status
|
|
1415
|
-
| `--page-size` | `number` | ❌ | — | — | Number of inboxes per page
|
|
1416
|
-
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages
|
|
1417
|
-
| `--cursor` | `string` | ❌ | — | — | Cursor (offset) to start from for pagination
|
|
1411
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1412
|
+
| ------------- | -------- | -------- | ------- | ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
|
|
1413
|
+
| `--key` | `string` | ❌ | — | — | Filter by inbox key (exact match). Keys are unique per (user, account), so this returns at most one inbox. |
|
|
1414
|
+
| `--status` | `string` | ❌ | — | `initializing`, `active`, `paused`, `deleting`, `initialization_failure` | Filter by inbox status |
|
|
1415
|
+
| `--page-size` | `number` | ❌ | — | — | Number of inboxes per page |
|
|
1416
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
1417
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor (offset) to start from for pagination |
|
|
1418
1418
|
|
|
1419
1419
|
**Usage:**
|
|
1420
1420
|
|
|
1421
1421
|
```bash
|
|
1422
|
-
npx zapier-sdk list-trigger-inboxes [--
|
|
1422
|
+
npx zapier-sdk list-trigger-inboxes [--key] [--status] [--page-size] [--max-items] [--cursor]
|
|
1423
1423
|
```
|
|
1424
1424
|
|
|
1425
1425
|
#### `list-trigger-input-field-choices` 🧪 _experimental_
|
|
@@ -1493,9 +1493,9 @@ Pause a trigger inbox; events stop being collected
|
|
|
1493
1493
|
|
|
1494
1494
|
**Options:**
|
|
1495
1495
|
|
|
1496
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1497
|
-
| --------- | -------- | -------- | ------- | --------------- |
|
|
1498
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1496
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1497
|
+
| --------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1498
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1499
1499
|
|
|
1500
1500
|
**Usage:**
|
|
1501
1501
|
|
|
@@ -1509,11 +1509,11 @@ Release messages from a lease back to the inbox without acknowledging them. Rele
|
|
|
1509
1509
|
|
|
1510
1510
|
**Options:**
|
|
1511
1511
|
|
|
1512
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1513
|
-
| ------------ | -------- | -------- | ------- | --------------- |
|
|
1514
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1515
|
-
| `<lease>` | `string` | ✅ | — | — | Lease ID returned from leaseTriggerInboxMessages
|
|
1516
|
-
| `--messages` | `array` | ❌ | — | — | Specific message IDs to release. Omit to release every message in the lease.
|
|
1512
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1513
|
+
| ------------ | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1514
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1515
|
+
| `<lease>` | `string` | ✅ | — | — | Lease ID returned from leaseTriggerInboxMessages |
|
|
1516
|
+
| `--messages` | `array` | ❌ | — | — | Specific message IDs to release. Omit to release every message in the lease. |
|
|
1517
1517
|
|
|
1518
1518
|
**Usage:**
|
|
1519
1519
|
|
|
@@ -1527,9 +1527,9 @@ Resume a paused trigger inbox; events resume being collected
|
|
|
1527
1527
|
|
|
1528
1528
|
**Options:**
|
|
1529
1529
|
|
|
1530
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1531
|
-
| --------- | -------- | -------- | ------- | --------------- |
|
|
1532
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1530
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1531
|
+
| --------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1532
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1533
1533
|
|
|
1534
1534
|
**Usage:**
|
|
1535
1535
|
|
|
@@ -1543,10 +1543,10 @@ Update settings on an existing trigger inbox
|
|
|
1543
1543
|
|
|
1544
1544
|
**Options:**
|
|
1545
1545
|
|
|
1546
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
1547
|
-
| -------------------- | -------- | -------- | ------- | --------------- |
|
|
1548
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1549
|
-
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive. Pass null to clear.
|
|
1546
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1547
|
+
| -------------------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------- |
|
|
1548
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1549
|
+
| `--notification-url` | `string` | ❌ | — | — | Webhook URL to POST to when new messages arrive. Pass null to clear. |
|
|
1550
1550
|
|
|
1551
1551
|
**Usage:**
|
|
1552
1552
|
|
|
@@ -1562,7 +1562,7 @@ Continuously consume a trigger inbox: drain currently-available messages via onM
|
|
|
1562
1562
|
|
|
1563
1563
|
| Option | Type | Required | Default | Possible Values | Description |
|
|
1564
1564
|
| ------------------------------ | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1565
|
-
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or
|
|
1565
|
+
| `<inbox>` | `string` | ✅ | — | — | Trigger inbox identifier — UUID or key. Non-UUID values are resolved by key via the inbox list endpoint. |
|
|
1566
1566
|
| `--concurrency` | `number` | ❌ | — | — | Per-message handler workers running in parallel. Defaults to `leaseLimit`, or 1 if neither is set. |
|
|
1567
1567
|
| `--lease-limit` | `number` | ❌ | — | — | Per-lease HTTP batch size. Defaults to `concurrency`, or 1 if neither is set. |
|
|
1568
1568
|
| `--lease-seconds` | `number` | ❌ | — | — | Seconds until the lease expires; messages return to available if not acked. API default is 300 (5 minutes). |
|
package/dist/cli.cjs
CHANGED
|
@@ -1727,7 +1727,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1727
1727
|
|
|
1728
1728
|
// package.json
|
|
1729
1729
|
var package_default = {
|
|
1730
|
-
version: "0.
|
|
1730
|
+
version: "0.62.0"};
|
|
1731
1731
|
|
|
1732
1732
|
// src/telemetry/builders.ts
|
|
1733
1733
|
function createCliBaseEvent(context = {}) {
|
|
@@ -7612,7 +7612,7 @@ function buildBoxLines(message) {
|
|
|
7612
7612
|
// package.json with { type: 'json' }
|
|
7613
7613
|
var package_default2 = {
|
|
7614
7614
|
name: "@zapier/zapier-sdk-cli",
|
|
7615
|
-
version: "0.
|
|
7615
|
+
version: "0.62.0"};
|
|
7616
7616
|
|
|
7617
7617
|
// src/sdk.ts
|
|
7618
7618
|
zapierSdk.injectCliLogin(login_exports);
|
package/dist/cli.mjs
CHANGED
|
@@ -1684,7 +1684,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1684
1684
|
|
|
1685
1685
|
// package.json
|
|
1686
1686
|
var package_default = {
|
|
1687
|
-
version: "0.
|
|
1687
|
+
version: "0.62.0"};
|
|
1688
1688
|
|
|
1689
1689
|
// src/telemetry/builders.ts
|
|
1690
1690
|
function createCliBaseEvent(context = {}) {
|
|
@@ -7569,7 +7569,7 @@ function buildBoxLines(message) {
|
|
|
7569
7569
|
// package.json with { type: 'json' }
|
|
7570
7570
|
var package_default2 = {
|
|
7571
7571
|
name: "@zapier/zapier-sdk-cli",
|
|
7572
|
-
version: "0.
|
|
7572
|
+
version: "0.62.0"};
|
|
7573
7573
|
|
|
7574
7574
|
// src/sdk.ts
|
|
7575
7575
|
injectCliLogin(login_exports);
|
package/dist/experimental.cjs
CHANGED
|
@@ -4741,7 +4741,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
4741
4741
|
// package.json with { type: 'json' }
|
|
4742
4742
|
var package_default = {
|
|
4743
4743
|
name: "@zapier/zapier-sdk-cli",
|
|
4744
|
-
version: "0.
|
|
4744
|
+
version: "0.62.0"};
|
|
4745
4745
|
|
|
4746
4746
|
// src/experimental.ts
|
|
4747
4747
|
experimental.injectCliLogin(login_exports);
|
package/dist/experimental.mjs
CHANGED
|
@@ -4705,7 +4705,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
4705
4705
|
// package.json with { type: 'json' }
|
|
4706
4706
|
var package_default = {
|
|
4707
4707
|
name: "@zapier/zapier-sdk-cli",
|
|
4708
|
-
version: "0.
|
|
4708
|
+
version: "0.62.0"};
|
|
4709
4709
|
|
|
4710
4710
|
// src/experimental.ts
|
|
4711
4711
|
injectCliLogin(login_exports);
|
package/dist/index.cjs
CHANGED
|
@@ -4740,7 +4740,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
4740
4740
|
// package.json with { type: 'json' }
|
|
4741
4741
|
var package_default = {
|
|
4742
4742
|
name: "@zapier/zapier-sdk-cli",
|
|
4743
|
-
version: "0.
|
|
4743
|
+
version: "0.62.0"};
|
|
4744
4744
|
|
|
4745
4745
|
// src/sdk.ts
|
|
4746
4746
|
zapierSdk.injectCliLogin(login_exports);
|
|
@@ -4780,7 +4780,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4780
4780
|
|
|
4781
4781
|
// package.json
|
|
4782
4782
|
var package_default2 = {
|
|
4783
|
-
version: "0.
|
|
4783
|
+
version: "0.62.0"};
|
|
4784
4784
|
|
|
4785
4785
|
// src/telemetry/builders.ts
|
|
4786
4786
|
function createCliBaseEvent(context = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -4704,7 +4704,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
4704
4704
|
// package.json with { type: 'json' }
|
|
4705
4705
|
var package_default = {
|
|
4706
4706
|
name: "@zapier/zapier-sdk-cli",
|
|
4707
|
-
version: "0.
|
|
4707
|
+
version: "0.62.0"};
|
|
4708
4708
|
|
|
4709
4709
|
// src/sdk.ts
|
|
4710
4710
|
injectCliLogin(login_exports);
|
|
@@ -4744,7 +4744,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4744
4744
|
|
|
4745
4745
|
// package.json
|
|
4746
4746
|
var package_default2 = {
|
|
4747
|
-
version: "0.
|
|
4747
|
+
version: "0.62.0"};
|
|
4748
4748
|
|
|
4749
4749
|
// src/telemetry/builders.ts
|
|
4750
4750
|
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.62.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.
|
|
98
|
+
"@zapier/zapier-sdk": "0.81.0",
|
|
99
|
+
"@zapier/zapier-sdk-mcp": "0.17.0"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/express": "^5.0.3",
|