@zapier/zapier-sdk-cli 0.74.0 → 0.75.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 +20 -0
- package/README.md +34 -34
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/experimental.cjs +1 -1
- package/dist/experimental.d.mts +1 -1
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.mjs +1 -1
- package/dist/{extensions-DSCQgX9d.d.mts → extensions-OR2RDyZn.d.mts} +1 -0
- package/dist/{extensions-DSCQgX9d.d.ts → extensions-OR2RDyZn.d.ts} +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.75.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9a5ae37: Added `--status` to `list-connections`, `find-first-connection`, and `find-unique-connection` to filter connections by expiry: `active` (the default), `expired`, or `all` for both. `--expired` is now deprecated in favour of `--status expired` and still works; combining `--status` with `--expired` is rejected.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [9a5ae37]
|
|
12
|
+
- @zapier/zapier-sdk@0.98.0
|
|
13
|
+
- @zapier/zapier-sdk-mcp@0.20.3
|
|
14
|
+
|
|
15
|
+
## 0.74.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [e45f03b]
|
|
20
|
+
- @zapier/zapier-sdk@0.97.1
|
|
21
|
+
- @zapier/zapier-sdk-mcp@0.20.2
|
|
22
|
+
|
|
3
23
|
## 0.74.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1002,20 +1002,20 @@ Find the first connection matching the criteria
|
|
|
1002
1002
|
|
|
1003
1003
|
**Options:**
|
|
1004
1004
|
|
|
1005
|
-
| Option | Type | Required | Default | Possible Values
|
|
1006
|
-
| ------------------ | --------- | -------- | ------- |
|
|
1007
|
-
| `[app]` | `string` | ❌ | — | —
|
|
1008
|
-
| `--search` | `string` | ❌ | — | —
|
|
1009
|
-
| `--title` | `string` | ❌ | — | —
|
|
1010
|
-
| `--owner` | `string` | ❌ | — | —
|
|
1011
|
-
| `--account` | `string` | ❌ | — | —
|
|
1012
|
-
| `--include-shared` | `boolean` | ❌ | — | —
|
|
1013
|
-
| `--
|
|
1005
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1006
|
+
| ------------------ | --------- | -------- | ------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1007
|
+
| `[app]` | `string` | ❌ | — | — | App key of connections to list (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
1008
|
+
| `--search` | `string` | ❌ | — | — | Search term to filter connections by title |
|
|
1009
|
+
| `--title` | `string` | ❌ | — | — | Filter connections by exact title match (searches first, then filters locally) |
|
|
1010
|
+
| `--owner` | `string` | ❌ | — | — | Filter by owner, 'me' for your own connections or a specific user ID |
|
|
1011
|
+
| `--account` | `string` | ❌ | — | — | Account to filter by |
|
|
1012
|
+
| `--include-shared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
1013
|
+
| `--status` | `string` | ❌ | — | `active`, `expired`, `all` | Filter connections by expiry: 'active' (default) returns only non-expired connections, 'expired' only expired ones, and 'all' returns both. |
|
|
1014
1014
|
|
|
1015
1015
|
**Usage:**
|
|
1016
1016
|
|
|
1017
1017
|
```bash
|
|
1018
|
-
npx zapier-sdk find-first-connection [app] [--search] [--title] [--owner] [--account] [--include-shared] [--
|
|
1018
|
+
npx zapier-sdk find-first-connection [app] [--search] [--title] [--owner] [--account] [--include-shared] [--status]
|
|
1019
1019
|
```
|
|
1020
1020
|
|
|
1021
1021
|
#### `find-unique-connection`
|
|
@@ -1024,20 +1024,20 @@ Find a unique connection matching the criteria
|
|
|
1024
1024
|
|
|
1025
1025
|
**Options:**
|
|
1026
1026
|
|
|
1027
|
-
| Option | Type | Required | Default | Possible Values
|
|
1028
|
-
| ------------------ | --------- | -------- | ------- |
|
|
1029
|
-
| `[app]` | `string` | ❌ | — | —
|
|
1030
|
-
| `--search` | `string` | ❌ | — | —
|
|
1031
|
-
| `--title` | `string` | ❌ | — | —
|
|
1032
|
-
| `--owner` | `string` | ❌ | — | —
|
|
1033
|
-
| `--account` | `string` | ❌ | — | —
|
|
1034
|
-
| `--include-shared` | `boolean` | ❌ | — | —
|
|
1035
|
-
| `--
|
|
1027
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1028
|
+
| ------------------ | --------- | -------- | ------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1029
|
+
| `[app]` | `string` | ❌ | — | — | App key of connections to list (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
1030
|
+
| `--search` | `string` | ❌ | — | — | Search term to filter connections by title |
|
|
1031
|
+
| `--title` | `string` | ❌ | — | — | Filter connections by exact title match (searches first, then filters locally) |
|
|
1032
|
+
| `--owner` | `string` | ❌ | — | — | Filter by owner, 'me' for your own connections or a specific user ID |
|
|
1033
|
+
| `--account` | `string` | ❌ | — | — | Account to filter by |
|
|
1034
|
+
| `--include-shared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
1035
|
+
| `--status` | `string` | ❌ | — | `active`, `expired`, `all` | Filter connections by expiry: 'active' (default) returns only non-expired connections, 'expired' only expired ones, and 'all' returns both. |
|
|
1036
1036
|
|
|
1037
1037
|
**Usage:**
|
|
1038
1038
|
|
|
1039
1039
|
```bash
|
|
1040
|
-
npx zapier-sdk find-unique-connection [app] [--search] [--title] [--owner] [--account] [--include-shared] [--
|
|
1040
|
+
npx zapier-sdk find-unique-connection [app] [--search] [--title] [--owner] [--account] [--include-shared] [--status]
|
|
1041
1041
|
```
|
|
1042
1042
|
|
|
1043
1043
|
#### `get-connection`
|
|
@@ -1090,24 +1090,24 @@ List available connections with optional filtering
|
|
|
1090
1090
|
|
|
1091
1091
|
**Options:**
|
|
1092
1092
|
|
|
1093
|
-
| Option | Type | Required | Default | Possible Values
|
|
1094
|
-
| ------------------ | --------- | -------- | ------- |
|
|
1095
|
-
| `[app]` | `string` | ❌ | — | —
|
|
1096
|
-
| `--search` | `string` | ❌ | — | —
|
|
1097
|
-
| `--title` | `string` | ❌ | — | —
|
|
1098
|
-
| `--owner` | `string` | ❌ | — | —
|
|
1099
|
-
| `--connections` | `array` | ❌ | — | —
|
|
1100
|
-
| `--account` | `string` | ❌ | — | —
|
|
1101
|
-
| `--include-shared` | `boolean` | ❌ | — | —
|
|
1102
|
-
| `--
|
|
1103
|
-
| `--page-size` | `number` | ❌ | — | —
|
|
1104
|
-
| `--max-items` | `number` | ❌ | — | —
|
|
1105
|
-
| `--cursor` | `string` | ❌ | — | —
|
|
1093
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
1094
|
+
| ------------------ | --------- | -------- | ------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1095
|
+
| `[app]` | `string` | ❌ | — | — | App key of connections to list (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
1096
|
+
| `--search` | `string` | ❌ | — | — | Search term to filter connections by title |
|
|
1097
|
+
| `--title` | `string` | ❌ | — | — | Filter connections by exact title match (searches first, then filters locally) |
|
|
1098
|
+
| `--owner` | `string` | ❌ | — | — | Filter by owner, 'me' for your own connections or a specific user ID |
|
|
1099
|
+
| `--connections` | `array` | ❌ | — | — | List of connection IDs to filter by |
|
|
1100
|
+
| `--account` | `string` | ❌ | — | — | Account to filter by |
|
|
1101
|
+
| `--include-shared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
1102
|
+
| `--status` | `string` | ❌ | — | `active`, `expired`, `all` | Filter connections by expiry: 'active' (default) returns only non-expired connections, 'expired' only expired ones, and 'all' returns both. |
|
|
1103
|
+
| `--page-size` | `number` | ❌ | — | — | Number of connections per page |
|
|
1104
|
+
| `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
1105
|
+
| `--cursor` | `string` | ❌ | — | — | Cursor to start from |
|
|
1106
1106
|
|
|
1107
1107
|
**Usage:**
|
|
1108
1108
|
|
|
1109
1109
|
```bash
|
|
1110
|
-
npx zapier-sdk list-connections [app] [--search] [--title] [--owner] [--connections] [--account] [--include-shared] [--
|
|
1110
|
+
npx zapier-sdk list-connections [app] [--search] [--title] [--owner] [--connections] [--account] [--include-shared] [--status] [--page-size] [--max-items] [--cursor]
|
|
1111
1111
|
```
|
|
1112
1112
|
|
|
1113
1113
|
#### `wait-for-new-connection`
|
package/dist/cli.cjs
CHANGED
|
@@ -602,7 +602,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
602
602
|
|
|
603
603
|
// package.json
|
|
604
604
|
var package_default = {
|
|
605
|
-
version: "0.
|
|
605
|
+
version: "0.75.0"};
|
|
606
606
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
607
607
|
var LOCKFILES = [
|
|
608
608
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -8368,7 +8368,7 @@ function buildBoxLines(message) {
|
|
|
8368
8368
|
// package.json with { type: 'json' }
|
|
8369
8369
|
var package_default2 = {
|
|
8370
8370
|
name: "@zapier/zapier-sdk-cli",
|
|
8371
|
-
version: "0.
|
|
8371
|
+
version: "0.75.0"};
|
|
8372
8372
|
|
|
8373
8373
|
// src/sdk.ts
|
|
8374
8374
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/cli.mjs
CHANGED
|
@@ -558,7 +558,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
558
558
|
|
|
559
559
|
// package.json
|
|
560
560
|
var package_default = {
|
|
561
|
-
version: "0.
|
|
561
|
+
version: "0.75.0"};
|
|
562
562
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
563
563
|
var LOCKFILES = [
|
|
564
564
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -8324,7 +8324,7 @@ function buildBoxLines(message) {
|
|
|
8324
8324
|
// package.json with { type: 'json' }
|
|
8325
8325
|
var package_default2 = {
|
|
8326
8326
|
name: "@zapier/zapier-sdk-cli",
|
|
8327
|
-
version: "0.
|
|
8327
|
+
version: "0.75.0"};
|
|
8328
8328
|
|
|
8329
8329
|
// src/sdk.ts
|
|
8330
8330
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.cjs
CHANGED
|
@@ -6861,7 +6861,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6861
6861
|
// package.json with { type: 'json' }
|
|
6862
6862
|
var package_default = {
|
|
6863
6863
|
name: "@zapier/zapier-sdk-cli",
|
|
6864
|
-
version: "0.
|
|
6864
|
+
version: "0.75.0"};
|
|
6865
6865
|
|
|
6866
6866
|
// src/sdk.ts
|
|
6867
6867
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZapierSdkOptions } from '@zapier/zapier-sdk/experimental';
|
|
2
|
-
import { E as Extension, Z as ZapierSdkCli } from './extensions-
|
|
2
|
+
import { E as Extension, Z as ZapierSdkCli } from './extensions-OR2RDyZn.mjs';
|
|
3
3
|
import '@zapier/zapier-sdk';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZapierSdkOptions } from '@zapier/zapier-sdk/experimental';
|
|
2
|
-
import { E as Extension, Z as ZapierSdkCli } from './extensions-
|
|
2
|
+
import { E as Extension, Z as ZapierSdkCli } from './extensions-OR2RDyZn.js';
|
|
3
3
|
import '@zapier/zapier-sdk';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/experimental.mjs
CHANGED
|
@@ -6820,7 +6820,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6820
6820
|
// package.json with { type: 'json' }
|
|
6821
6821
|
var package_default = {
|
|
6822
6822
|
name: "@zapier/zapier-sdk-cli",
|
|
6823
|
-
version: "0.
|
|
6823
|
+
version: "0.75.0"};
|
|
6824
6824
|
|
|
6825
6825
|
// src/sdk.ts
|
|
6826
6826
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -252,6 +252,7 @@ declare const generateAppTypesPlugin: _zapier_zapier_sdk.MethodPlugin<"generateA
|
|
|
252
252
|
account?: string | undefined;
|
|
253
253
|
accountId?: string | undefined;
|
|
254
254
|
includeShared?: boolean | undefined;
|
|
255
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
255
256
|
isExpired?: boolean | undefined;
|
|
256
257
|
expired?: boolean | undefined;
|
|
257
258
|
pageSize?: number | undefined;
|
|
@@ -252,6 +252,7 @@ declare const generateAppTypesPlugin: _zapier_zapier_sdk.MethodPlugin<"generateA
|
|
|
252
252
|
account?: string | undefined;
|
|
253
253
|
accountId?: string | undefined;
|
|
254
254
|
includeShared?: boolean | undefined;
|
|
255
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
255
256
|
isExpired?: boolean | undefined;
|
|
256
257
|
expired?: boolean | undefined;
|
|
257
258
|
pageSize?: number | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -6862,7 +6862,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6862
6862
|
// package.json with { type: 'json' }
|
|
6863
6863
|
var package_default = {
|
|
6864
6864
|
name: "@zapier/zapier-sdk-cli",
|
|
6865
|
-
version: "0.
|
|
6865
|
+
version: "0.75.0"};
|
|
6866
6866
|
|
|
6867
6867
|
// src/sdk.ts
|
|
6868
6868
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -6946,7 +6946,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
6946
6946
|
|
|
6947
6947
|
// package.json
|
|
6948
6948
|
var package_default2 = {
|
|
6949
|
-
version: "0.
|
|
6949
|
+
version: "0.75.0"};
|
|
6950
6950
|
|
|
6951
6951
|
// src/telemetry/builders.ts
|
|
6952
6952
|
function createCliBaseEvent(context = {}) {
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -6821,7 +6821,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
6821
6821
|
// package.json with { type: 'json' }
|
|
6822
6822
|
var package_default = {
|
|
6823
6823
|
name: "@zapier/zapier-sdk-cli",
|
|
6824
|
-
version: "0.
|
|
6824
|
+
version: "0.75.0"};
|
|
6825
6825
|
|
|
6826
6826
|
// src/sdk.ts
|
|
6827
6827
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -6905,7 +6905,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
6905
6905
|
|
|
6906
6906
|
// package.json
|
|
6907
6907
|
var package_default2 = {
|
|
6908
|
-
version: "0.
|
|
6908
|
+
version: "0.75.0"};
|
|
6909
6909
|
|
|
6910
6910
|
// src/telemetry/builders.ts
|
|
6911
6911
|
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.75.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.20.
|
|
98
|
+
"@zapier/zapier-sdk": "0.98.0",
|
|
99
|
+
"@zapier/zapier-sdk-mcp": "0.20.3"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/cross-spawn": "^6.0.6",
|