@zapier/zapier-sdk-cli 0.36.2 → 0.36.3
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 +8 -0
- package/README.md +13 -12
- 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
package/README.md
CHANGED
|
@@ -287,22 +287,23 @@ Execute an action with the given inputs
|
|
|
287
287
|
|
|
288
288
|
**Options:**
|
|
289
289
|
|
|
290
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
291
|
-
| ----------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
292
|
-
| `<app-key>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github')
|
|
293
|
-
| `<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
|
|
294
|
-
| `<action-key>` | `string` | ✅ | — | — | Action key to execute
|
|
295
|
-
| `--connection-id` | `string, number` | ❌ | — | — | Connection ID to use when running the action. Required if the action needs a connection to authenticate and interact with the service.
|
|
296
|
-
| `--
|
|
297
|
-
| `--
|
|
298
|
-
| `--
|
|
299
|
-
| `--
|
|
300
|
-
| `--
|
|
290
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
291
|
+
| ----------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
292
|
+
| `<app-key>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
293
|
+
| `<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 |
|
|
294
|
+
| `<action-key>` | `string` | ✅ | — | — | Action key to execute |
|
|
295
|
+
| `--connection-id` | `string, number` | ❌ | — | — | Connection ID to use when running the action. Required if the action needs a connection to authenticate and interact with the service. |
|
|
296
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias (string) or numeric connectionId. Strings are resolved from the connections map; numbers are used directly. Mutually exclusive with connectionId. |
|
|
297
|
+
| `--inputs` | `object` | ❌ | — | — | Input parameters for the action |
|
|
298
|
+
| `--timeout-ms` | `number` | ❌ | — | — | Maximum time to wait for action completion in milliseconds (default: 180000) |
|
|
299
|
+
| `--page-size` | `number` | ❌ | — | — | Number of results per page |
|
|
300
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
301
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
301
302
|
|
|
302
303
|
**Usage:**
|
|
303
304
|
|
|
304
305
|
```bash
|
|
305
|
-
npx zapier-sdk run-action <app-key> <action-type> <action-key> [--connection-id] [--inputs] [--timeout-ms] [--page-size] [--max-items] [--cursor]
|
|
306
|
+
npx zapier-sdk run-action <app-key> <action-type> <action-key> [--connection-id] [--connection] [--inputs] [--timeout-ms] [--page-size] [--max-items] [--cursor]
|
|
306
307
|
```
|
|
307
308
|
|
|
308
309
|
### Apps
|
package/dist/cli.cjs
CHANGED
|
@@ -1024,7 +1024,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1024
1024
|
|
|
1025
1025
|
// package.json
|
|
1026
1026
|
var package_default = {
|
|
1027
|
-
version: "0.36.
|
|
1027
|
+
version: "0.36.3"};
|
|
1028
1028
|
|
|
1029
1029
|
// src/telemetry/builders.ts
|
|
1030
1030
|
function createCliBaseEvent(context = {}) {
|
|
@@ -4559,7 +4559,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4559
4559
|
// package.json with { type: 'json' }
|
|
4560
4560
|
var package_default2 = {
|
|
4561
4561
|
name: "@zapier/zapier-sdk-cli",
|
|
4562
|
-
version: "0.36.
|
|
4562
|
+
version: "0.36.3"};
|
|
4563
4563
|
var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
|
|
4564
4564
|
var CACHE_RESET_INTERVAL_MS = (() => {
|
|
4565
4565
|
const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
|
package/dist/cli.mjs
CHANGED
|
@@ -986,7 +986,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
986
986
|
|
|
987
987
|
// package.json
|
|
988
988
|
var package_default = {
|
|
989
|
-
version: "0.36.
|
|
989
|
+
version: "0.36.3"};
|
|
990
990
|
|
|
991
991
|
// src/telemetry/builders.ts
|
|
992
992
|
function createCliBaseEvent(context = {}) {
|
|
@@ -4521,7 +4521,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4521
4521
|
// package.json with { type: 'json' }
|
|
4522
4522
|
var package_default2 = {
|
|
4523
4523
|
name: "@zapier/zapier-sdk-cli",
|
|
4524
|
-
version: "0.36.
|
|
4524
|
+
version: "0.36.3"};
|
|
4525
4525
|
var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
|
|
4526
4526
|
var CACHE_RESET_INTERVAL_MS = (() => {
|
|
4527
4527
|
const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED