@zapier/zapier-sdk-cli 0.41.0 → 0.41.1
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 +43 -43
- 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
package/README.md
CHANGED
|
@@ -201,13 +201,13 @@ Get the JSON Schema representation of input fields for an action. Returns a JSON
|
|
|
201
201
|
|
|
202
202
|
**Options:**
|
|
203
203
|
|
|
204
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
205
|
-
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
206
|
-
| `<app>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') to get the input schema for
|
|
207
|
-
| `<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
|
|
208
|
-
| `<action>` | `string` | ✅ | — | — | Action key to get the input schema for
|
|
209
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias (
|
|
210
|
-
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect the schema (e.g., when fields depend on other field values)
|
|
204
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
205
|
+
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
206
|
+
| `<app>` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') to get the input schema for |
|
|
207
|
+
| `<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 |
|
|
208
|
+
| `<action>` | `string` | ✅ | — | — | Action key to get the input schema for |
|
|
209
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. Mutually exclusive with connectionId. |
|
|
210
|
+
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect the schema (e.g., when fields depend on other field values) |
|
|
211
211
|
|
|
212
212
|
**Usage:**
|
|
213
213
|
|
|
@@ -241,18 +241,18 @@ Get the available choices for a dynamic dropdown input field
|
|
|
241
241
|
|
|
242
242
|
**Options:**
|
|
243
243
|
|
|
244
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
245
|
-
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
246
|
-
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3')
|
|
247
|
-
| `<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
|
|
248
|
-
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row')
|
|
249
|
-
| `<input-field>` | `string` | ✅ | — | — | Input field key to get choices for
|
|
250
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias (
|
|
251
|
-
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect available choices
|
|
252
|
-
| `--page` | `number` | ❌ | — | — | Page number for paginated results
|
|
253
|
-
| `--page-size` | `number` | ❌ | — | — | Number of choices per page
|
|
254
|
-
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages
|
|
255
|
-
| `--cursor` | `string` | ❌ | — | — | Cursor to start from
|
|
244
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
245
|
+
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
246
|
+
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3') |
|
|
247
|
+
| `<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 |
|
|
248
|
+
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row') |
|
|
249
|
+
| `<input-field>` | `string` | ✅ | — | — | Input field key to get choices for |
|
|
250
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. Mutually exclusive with connectionId. |
|
|
251
|
+
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect available choices |
|
|
252
|
+
| `--page` | `number` | ❌ | — | — | Page number for paginated results |
|
|
253
|
+
| `--page-size` | `number` | ❌ | — | — | Number of choices per page |
|
|
254
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
255
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
256
256
|
|
|
257
257
|
**Usage:**
|
|
258
258
|
|
|
@@ -266,16 +266,16 @@ Get the input fields required for a specific action
|
|
|
266
266
|
|
|
267
267
|
**Options:**
|
|
268
268
|
|
|
269
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
270
|
-
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
271
|
-
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3')
|
|
272
|
-
| `<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
|
|
273
|
-
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row')
|
|
274
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias (
|
|
275
|
-
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect available fields
|
|
276
|
-
| `--page-size` | `number` | ❌ | — | — | Number of input fields per page
|
|
277
|
-
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages
|
|
278
|
-
| `--cursor` | `string` | ❌ | — | — | Cursor to start from
|
|
269
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
270
|
+
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
271
|
+
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3') |
|
|
272
|
+
| `<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 |
|
|
273
|
+
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row') |
|
|
274
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. Mutually exclusive with connectionId. |
|
|
275
|
+
| `--inputs` | `object` | ❌ | — | — | Current input values that may affect available fields |
|
|
276
|
+
| `--page-size` | `number` | ❌ | — | — | Number of input fields per page |
|
|
277
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
278
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
279
279
|
|
|
280
280
|
**Usage:**
|
|
281
281
|
|
|
@@ -289,17 +289,17 @@ Execute an action with the given inputs
|
|
|
289
289
|
|
|
290
290
|
**Options:**
|
|
291
291
|
|
|
292
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
293
|
-
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |
|
|
294
|
-
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3')
|
|
295
|
-
| `<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
|
|
296
|
-
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row')
|
|
297
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias (
|
|
298
|
-
| `--inputs` | `object` | ❌ | — | — | Input parameters for the action
|
|
299
|
-
| `--timeout-ms` | `number` | ❌ | — | — | Maximum time to wait for action completion in milliseconds (default: 180000)
|
|
300
|
-
| `--page-size` | `number` | ❌ | — | — | Number of results per page
|
|
301
|
-
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages
|
|
302
|
-
| `--cursor` | `string` | ❌ | — | — | Cursor to start from
|
|
292
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
293
|
+
| --------------- | ---------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
294
|
+
| `<app>` | `string` | ✅ | — | — | App slug (e.g., 'github'), implementation name (e.g., 'SlackCLIAPI'), or versioned ID (e.g., 'github@1.2.3') |
|
|
295
|
+
| `<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 |
|
|
296
|
+
| `<action>` | `string` | ✅ | — | — | Action key (e.g., 'send_message' or 'find_row') |
|
|
297
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. Mutually exclusive with connectionId. |
|
|
298
|
+
| `--inputs` | `object` | ❌ | — | — | Input parameters for the action |
|
|
299
|
+
| `--timeout-ms` | `number` | ❌ | — | — | Maximum time to wait for action completion in milliseconds (default: 180000) |
|
|
300
|
+
| `--page-size` | `number` | ❌ | — | — | Number of results per page |
|
|
301
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
302
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
303
303
|
|
|
304
304
|
**Usage:**
|
|
305
305
|
|
|
@@ -450,9 +450,9 @@ Execute getConnection
|
|
|
450
450
|
|
|
451
451
|
**Options:**
|
|
452
452
|
|
|
453
|
-
| Option | Type | Required | Default | Possible Values | Description
|
|
454
|
-
| -------------- | ---------------- | -------- | ------- | --------------- |
|
|
455
|
-
| `--connection` | `string, number` | ❌ | — | — | Connection alias (
|
|
453
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
454
|
+
| -------------- | ---------------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
455
|
+
| `--connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. |
|
|
456
456
|
|
|
457
457
|
**Usage:**
|
|
458
458
|
|
package/dist/cli.cjs
CHANGED
|
@@ -1103,7 +1103,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1103
1103
|
|
|
1104
1104
|
// package.json
|
|
1105
1105
|
var package_default = {
|
|
1106
|
-
version: "0.41.
|
|
1106
|
+
version: "0.41.1"};
|
|
1107
1107
|
|
|
1108
1108
|
// src/telemetry/builders.ts
|
|
1109
1109
|
function createCliBaseEvent(context = {}) {
|
|
@@ -4697,7 +4697,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4697
4697
|
// package.json with { type: 'json' }
|
|
4698
4698
|
var package_default2 = {
|
|
4699
4699
|
name: "@zapier/zapier-sdk-cli",
|
|
4700
|
-
version: "0.41.
|
|
4700
|
+
version: "0.41.1"};
|
|
4701
4701
|
var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
|
|
4702
4702
|
var CACHE_RESET_INTERVAL_MS = (() => {
|
|
4703
4703
|
const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
|
package/dist/cli.mjs
CHANGED
|
@@ -1065,7 +1065,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1065
1065
|
|
|
1066
1066
|
// package.json
|
|
1067
1067
|
var package_default = {
|
|
1068
|
-
version: "0.41.
|
|
1068
|
+
version: "0.41.1"};
|
|
1069
1069
|
|
|
1070
1070
|
// src/telemetry/builders.ts
|
|
1071
1071
|
function createCliBaseEvent(context = {}) {
|
|
@@ -4659,7 +4659,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
4659
4659
|
// package.json with { type: 'json' }
|
|
4660
4660
|
var package_default2 = {
|
|
4661
4661
|
name: "@zapier/zapier-sdk-cli",
|
|
4662
|
-
version: "0.41.
|
|
4662
|
+
version: "0.41.1"};
|
|
4663
4663
|
var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
|
|
4664
4664
|
var CACHE_RESET_INTERVAL_MS = (() => {
|
|
4665
4665
|
const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED