@zapier/zapier-sdk 0.40.2 → 0.40.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 +6 -0
- package/README.md +3 -3
- package/dist/index.cjs +11 -3
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +11 -3
- package/dist/plugins/findFirstConnection/schemas.d.ts +1 -0
- package/dist/plugins/findFirstConnection/schemas.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/schemas.d.ts +1 -0
- package/dist/plugins/findUniqueConnection/schemas.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.js +5 -0
- package/dist/plugins/listConnections/schemas.d.ts +1 -0
- package/dist/plugins/listConnections/schemas.d.ts.map +1 -1
- package/dist/plugins/listConnections/schemas.js +13 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -860,7 +860,7 @@ Find the first connection matching the criteria
|
|
|
860
860
|
| ↳ `app` | `string` | ❌ | — | — | App key of connections to list (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
861
861
|
| ↳ `account` | `string` | ❌ | — | — | Account to filter by |
|
|
862
862
|
| ↳ `includeShared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
863
|
-
| ↳ `
|
|
863
|
+
| ↳ `expired` | `boolean` | ❌ | — | — | Show only expired connections (default: only non-expired connections are returned) |
|
|
864
864
|
|
|
865
865
|
**Returns:** `Promise<ConnectionItem>`
|
|
866
866
|
|
|
@@ -885,7 +885,7 @@ Find a unique connection matching the criteria
|
|
|
885
885
|
| ↳ `app` | `string` | ❌ | — | — | App key of connections to list (e.g., 'SlackCLIAPI' or slug like 'github') |
|
|
886
886
|
| ↳ `account` | `string` | ❌ | — | — | Account to filter by |
|
|
887
887
|
| ↳ `includeShared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
888
|
-
| ↳ `
|
|
888
|
+
| ↳ `expired` | `boolean` | ❌ | — | — | Show only expired connections (default: only non-expired connections are returned) |
|
|
889
889
|
|
|
890
890
|
**Returns:** `Promise<ConnectionItem>`
|
|
891
891
|
|
|
@@ -930,7 +930,7 @@ List available connections with optional filtering
|
|
|
930
930
|
| ↳ `connections` | `array` | ❌ | — | — | List of connection IDs to filter by |
|
|
931
931
|
| ↳ `account` | `string` | ❌ | — | — | Account to filter by |
|
|
932
932
|
| ↳ `includeShared` | `boolean` | ❌ | — | — | Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections. |
|
|
933
|
-
| ↳ `
|
|
933
|
+
| ↳ `expired` | `boolean` | ❌ | — | — | Show only expired connections (default: only non-expired connections are returned) |
|
|
934
934
|
| ↳ `pageSize` | `number` | ❌ | — | — | Number of connections per page |
|
|
935
935
|
| ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
936
936
|
| ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
|
package/dist/index.cjs
CHANGED
|
@@ -3215,8 +3215,14 @@ var ListConnectionsQuerySchema = connections.ListConnectionsQuerySchema.omit({
|
|
|
3215
3215
|
includeShared: zod.z.boolean().optional().describe(
|
|
3216
3216
|
"Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections."
|
|
3217
3217
|
),
|
|
3218
|
-
|
|
3219
|
-
isExpired: zod.z.boolean().optional().describe("Filter by expired status")
|
|
3218
|
+
/** @deprecated Use `expired` instead */
|
|
3219
|
+
isExpired: zod.z.boolean().optional().describe("Filter by expired status").meta({
|
|
3220
|
+
deprecated: true,
|
|
3221
|
+
deprecationMessage: "Use --expired instead to show only expired connections."
|
|
3222
|
+
}),
|
|
3223
|
+
expired: zod.z.boolean().optional().describe(
|
|
3224
|
+
"Show only expired connections (default: only non-expired connections are returned)"
|
|
3225
|
+
),
|
|
3220
3226
|
// Override pageSize to make optional
|
|
3221
3227
|
pageSize: zod.z.number().min(1).optional().describe("Number of connections per page"),
|
|
3222
3228
|
// SDK specific property for pagination/iterable helpers
|
|
@@ -3309,6 +3315,8 @@ var listConnectionsPlugin = ({ context }) => {
|
|
|
3309
3315
|
}
|
|
3310
3316
|
if (options.isExpired !== void 0) {
|
|
3311
3317
|
searchParams.is_expired = options.isExpired.toString();
|
|
3318
|
+
} else {
|
|
3319
|
+
searchParams.is_expired = (options.expired ?? false).toString();
|
|
3312
3320
|
}
|
|
3313
3321
|
if (options.cursor) {
|
|
3314
3322
|
searchParams.offset = options.cursor;
|
|
@@ -7922,7 +7930,7 @@ function getCpuTime() {
|
|
|
7922
7930
|
}
|
|
7923
7931
|
|
|
7924
7932
|
// src/plugins/eventEmission/builders.ts
|
|
7925
|
-
var SDK_VERSION = "0.40.
|
|
7933
|
+
var SDK_VERSION = "0.40.3";
|
|
7926
7934
|
function createBaseEvent(context = {}) {
|
|
7927
7935
|
return {
|
|
7928
7936
|
event_id: generateEventId(),
|
package/dist/index.d.mts
CHANGED
|
@@ -1362,6 +1362,7 @@ declare const FindFirstConnectionSchema: z.ZodObject<{
|
|
|
1362
1362
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1363
1363
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1364
1364
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
1365
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
1365
1366
|
}, z.core.$strip>;
|
|
1366
1367
|
type FindFirstConnectionOptions = z.infer<typeof FindFirstConnectionSchema>;
|
|
1367
1368
|
|
|
@@ -1379,6 +1380,7 @@ declare const FindUniqueConnectionSchema: z.ZodObject<{
|
|
|
1379
1380
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1380
1381
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1381
1382
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
1383
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
1382
1384
|
}, z.core.$strip>;
|
|
1383
1385
|
type FindUniqueConnectionOptions = z.infer<typeof FindUniqueConnectionSchema>;
|
|
1384
1386
|
|
|
@@ -1951,6 +1953,7 @@ declare const ListConnectionsQuerySchema: z.ZodObject<{
|
|
|
1951
1953
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1952
1954
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1953
1955
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
1956
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
1954
1957
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1955
1958
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1956
1959
|
cursor: z.ZodOptional<z.ZodString>;
|
package/dist/index.mjs
CHANGED
|
@@ -3193,8 +3193,14 @@ var ListConnectionsQuerySchema = ListConnectionsQuerySchema$1.omit({
|
|
|
3193
3193
|
includeShared: z.boolean().optional().describe(
|
|
3194
3194
|
"Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections."
|
|
3195
3195
|
),
|
|
3196
|
-
|
|
3197
|
-
isExpired: z.boolean().optional().describe("Filter by expired status")
|
|
3196
|
+
/** @deprecated Use `expired` instead */
|
|
3197
|
+
isExpired: z.boolean().optional().describe("Filter by expired status").meta({
|
|
3198
|
+
deprecated: true,
|
|
3199
|
+
deprecationMessage: "Use --expired instead to show only expired connections."
|
|
3200
|
+
}),
|
|
3201
|
+
expired: z.boolean().optional().describe(
|
|
3202
|
+
"Show only expired connections (default: only non-expired connections are returned)"
|
|
3203
|
+
),
|
|
3198
3204
|
// Override pageSize to make optional
|
|
3199
3205
|
pageSize: z.number().min(1).optional().describe("Number of connections per page"),
|
|
3200
3206
|
// SDK specific property for pagination/iterable helpers
|
|
@@ -3287,6 +3293,8 @@ var listConnectionsPlugin = ({ context }) => {
|
|
|
3287
3293
|
}
|
|
3288
3294
|
if (options.isExpired !== void 0) {
|
|
3289
3295
|
searchParams.is_expired = options.isExpired.toString();
|
|
3296
|
+
} else {
|
|
3297
|
+
searchParams.is_expired = (options.expired ?? false).toString();
|
|
3290
3298
|
}
|
|
3291
3299
|
if (options.cursor) {
|
|
3292
3300
|
searchParams.offset = options.cursor;
|
|
@@ -7900,7 +7908,7 @@ function getCpuTime() {
|
|
|
7900
7908
|
}
|
|
7901
7909
|
|
|
7902
7910
|
// src/plugins/eventEmission/builders.ts
|
|
7903
|
-
var SDK_VERSION = "0.40.
|
|
7911
|
+
var SDK_VERSION = "0.40.3";
|
|
7904
7912
|
function createBaseEvent(context = {}) {
|
|
7905
7913
|
return {
|
|
7906
7914
|
event_id: generateEventId(),
|
|
@@ -15,6 +15,7 @@ export declare const FindFirstConnectionSchema: z.ZodObject<{
|
|
|
15
15
|
accountId: z.ZodOptional<z.ZodString>;
|
|
16
16
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
18
19
|
}, z.core.$strip>;
|
|
19
20
|
export type FindFirstConnectionOptions = z.infer<typeof FindFirstConnectionSchema>;
|
|
20
21
|
export type FindFirstConnectionError = ZapierAuthenticationError | ZapierApiError | ZapierValidationError | ZapierUnknownError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/findFirstConnection/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/findFirstConnection/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;iBAOwB,CAAC;AAG/D,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAChC,yBAAyB,GACzB,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,8BAA8B;IAC7C,mBAAmB,EAAE,CACnB,OAAO,CAAC,EAAE,0BAA0B,KACjC,OAAO,CAAC;QAAE,IAAI,EAAE,cAAc,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CAC/C"}
|
|
@@ -15,6 +15,7 @@ export declare const FindUniqueConnectionSchema: z.ZodObject<{
|
|
|
15
15
|
accountId: z.ZodOptional<z.ZodString>;
|
|
16
16
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
18
19
|
}, z.core.$strip>;
|
|
19
20
|
export type FindUniqueConnectionOptions = z.infer<typeof FindUniqueConnectionSchema>;
|
|
20
21
|
export type FindUniqueConnectionError = ZapierAuthenticationError | ZapierApiError | ZapierResourceNotFoundError | ZapierValidationError | ZapierUnknownError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/findUniqueConnection/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,2BAA2B,EAC3B,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/findUniqueConnection/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,2BAA2B,EAC3B,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAOsB,CAAC;AAG9D,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AAGF,MAAM,MAAM,yBAAyB,GACjC,yBAAyB,GACzB,cAAc,GACd,2BAA2B,GAC3B,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,+BAA+B;IAC9C,oBAAoB,EAAE,CACpB,OAAO,CAAC,EAAE,2BAA2B,KAClC,OAAO,CAAC;QAAE,IAAI,EAAE,cAAc,CAAA;KAAE,CAAC,CAAC;CACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listConnections/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACzB,MAAM,WAAW,CAAC;AAQnB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAG1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAQ7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,CACf,OAAO,CAAC,EAAE,sBAAsB,KAC7B,OAAO,CAAC,mBAAmB,CAAC,GAC/B,aAAa,CAAC,mBAAmB,CAAC,GAAG;QACnC,KAAK,IAAI,aAAa,CAAC,cAAc,CAAC,CAAC;KACxC,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,eAAe,EAAE;gBACf,WAAW,EAAE,OAAO,0BAA0B,CAAC;aAChD,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,UAAU,CAAC,sBAAsB,CAAC,EAClC;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,GAAG,oBAAoB,GACtB,mBAAmB,GACnB,yBAAyB,CAAC,SAAS,CAAC,EACtC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listConnections/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACzB,MAAM,WAAW,CAAC;AAQnB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAG1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAQ7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,CACf,OAAO,CAAC,EAAE,sBAAsB,KAC7B,OAAO,CAAC,mBAAmB,CAAC,GAC/B,aAAa,CAAC,mBAAmB,CAAC,GAAG;QACnC,KAAK,IAAI,aAAa,CAAC,cAAc,CAAC,CAAC;KACxC,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,eAAe,EAAE;gBACf,WAAW,EAAE,OAAO,0BAA0B,CAAC;aAChD,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,UAAU,CAAC,sBAAsB,CAAC,EAClC;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,GAAG,oBAAoB,GACtB,mBAAmB,GACnB,yBAAyB,CAAC,SAAS,CAAC,EACtC,6BAA6B,CA0I9B,CAAC"}
|
|
@@ -68,9 +68,14 @@ export const listConnectionsPlugin = ({ context }) => {
|
|
|
68
68
|
if (owner) {
|
|
69
69
|
searchParams.owner = owner;
|
|
70
70
|
}
|
|
71
|
+
// isExpired takes priority when explicitly set. Otherwise expired defaults to false,
|
|
72
|
+
// meaning only non-expired connections are returned unless the caller opts in.
|
|
71
73
|
if (options.isExpired !== undefined) {
|
|
72
74
|
searchParams.is_expired = options.isExpired.toString();
|
|
73
75
|
}
|
|
76
|
+
else {
|
|
77
|
+
searchParams.is_expired = (options.expired ?? false).toString();
|
|
78
|
+
}
|
|
74
79
|
if (options.cursor) {
|
|
75
80
|
searchParams.offset = options.cursor;
|
|
76
81
|
}
|
|
@@ -19,6 +19,7 @@ export declare const ListConnectionsQuerySchema: z.ZodObject<{
|
|
|
19
19
|
accountId: z.ZodOptional<z.ZodString>;
|
|
20
20
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
expired: z.ZodOptional<z.ZodBoolean>;
|
|
22
23
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
23
24
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
24
25
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listConnections/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listConnections/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;iBAoF0B,CAAC;AAGlE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAGhF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,oBAAoB,GAC5B,yBAAyB,GACzB,cAAc,GACd,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,oBAAoB,CAAC,sBAAsB,EAAE,cAAc,CAAC,CAAC;CAC/E"}
|
|
@@ -43,8 +43,19 @@ export const ListConnectionsQuerySchema = ListConnectionsQueryBase.omit({
|
|
|
43
43
|
.boolean()
|
|
44
44
|
.optional()
|
|
45
45
|
.describe("Include connections shared with you. By default, only your own connections are returned (owner=me). Set to true to also include shared connections."),
|
|
46
|
-
|
|
47
|
-
isExpired: z
|
|
46
|
+
/** @deprecated Use `expired` instead */
|
|
47
|
+
isExpired: z
|
|
48
|
+
.boolean()
|
|
49
|
+
.optional()
|
|
50
|
+
.describe("Filter by expired status")
|
|
51
|
+
.meta({
|
|
52
|
+
deprecated: true,
|
|
53
|
+
deprecationMessage: "Use --expired instead to show only expired connections.",
|
|
54
|
+
}),
|
|
55
|
+
expired: z
|
|
56
|
+
.boolean()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe("Show only expired connections (default: only non-expired connections are returned)"),
|
|
48
59
|
// Override pageSize to make optional
|
|
49
60
|
pageSize: z
|
|
50
61
|
.number()
|