@zapier/zapier-sdk 0.101.1 → 0.101.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.101.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6bfea6d: Clarified that `pageSize` on `listConnections`, `listAuthentications`, and `listApps` may be capped by the upstream API — values above its limit are rejected rather than forwarded unbounded.
8
+
3
9
  ## 0.101.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1021,14 +1021,14 @@ List all available apps with optional filtering
1021
1021
 
1022
1022
  **Parameters:**
1023
1023
 
1024
- | Name | Type | Required | Default | Possible Values | Description |
1025
- | -------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------- |
1026
- | `options` | `object` | ✅ | — | — | |
1027
- | ​ ↳ `search` | `string` | ❌ | — | — | Search term to filter apps by name |
1028
- | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of apps per page |
1029
- | ​ ↳ `apps` | `array` | ❌ | — | — | Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github') |
1030
- | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
1031
- | ​ ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
1024
+ | Name | Type | Required | Default | Possible Values | Description |
1025
+ | -------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------- |
1026
+ | `options` | `object` | ✅ | — | — | |
1027
+ | ​ ↳ `search` | `string` | ❌ | — | — | Search term to filter apps by name |
1028
+ | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of apps per page. The upstream API may cap this and reject values above its limit. |
1029
+ | ​ ↳ `apps` | `array` | ❌ | — | — | Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github') |
1030
+ | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
1031
+ | ​ ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
1032
1032
 
1033
1033
  **Returns:** `Promise<PaginatedResult<AppItem>>`
1034
1034
 
@@ -2592,7 +2592,7 @@ List available connections with optional filtering
2592
2592
  | ​ ↳ `account` | `string` | ❌ | — | — | Account to filter by |
2593
2593
  | ​ ↳ `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. |
2594
2594
  | ​ ↳ `status` | `string` | ❌ | — | `active`, `expired`, `all` | Filter connections by expiry: 'active' (default) returns only non-expired connections, 'expired' only expired ones, and 'all' returns both. |
2595
- | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of connections per page |
2595
+ | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of connections per page. The upstream API may cap this and reject values above its limit. |
2596
2596
  | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
2597
2597
  | ​ ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
2598
2598
 
@@ -6901,7 +6901,7 @@ function parseDeprecationDate(value) {
6901
6901
  }
6902
6902
 
6903
6903
  // src/sdk-version.ts
6904
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.101.1" : void 0) || "unknown";
6904
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.101.2" : void 0) || "unknown";
6905
6905
 
6906
6906
  // src/utils/open-url.ts
6907
6907
  var nodePrefix = "node:";
@@ -11539,7 +11539,9 @@ var ListAppsSchema = ListAppsQuerySchema.omit({
11539
11539
  "Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github')"
11540
11540
  ).meta({ deprecated: true }),
11541
11541
  // Override pageSize to make optional (base has default value)
11542
- pageSize: z.number().min(1).optional().describe("Number of apps per page"),
11542
+ pageSize: z.number().min(1).optional().describe(
11543
+ "Number of apps per page. The upstream API may cap this and reject values above its limit."
11544
+ ),
11543
11545
  // SDK specific property for pagination/iterable helpers
11544
11546
  maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
11545
11547
  // SDK specific property for pagination/iterable helpers
@@ -12328,7 +12330,9 @@ var ListConnectionsQuerySchema = ListConnectionsQuerySchema$1.omit({
12328
12330
  deprecationMessage: "Use --status expired instead to show only expired connections, or --status all for both."
12329
12331
  }),
12330
12332
  // Override pageSize to make optional
12331
- pageSize: z.number().min(1).optional().describe("Number of connections per page"),
12333
+ pageSize: z.number().min(1).optional().describe(
12334
+ "Number of connections per page. The upstream API may cap this and reject values above its limit."
12335
+ ),
12332
12336
  // SDK specific property for pagination/iterable helpers
12333
12337
  maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
12334
12338
  // SDK specific property for pagination/iterable helpers
@@ -6903,7 +6903,7 @@ function parseDeprecationDate(value) {
6903
6903
  }
6904
6904
 
6905
6905
  // src/sdk-version.ts
6906
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.101.1" : void 0) || "unknown";
6906
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.101.2" : void 0) || "unknown";
6907
6907
 
6908
6908
  // src/utils/open-url.ts
6909
6909
  var nodePrefix = "node:";
@@ -11541,7 +11541,9 @@ var ListAppsSchema = apps.ListAppsQuerySchema.omit({
11541
11541
  "Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github')"
11542
11542
  ).meta({ deprecated: true }),
11543
11543
  // Override pageSize to make optional (base has default value)
11544
- pageSize: zod.z.number().min(1).optional().describe("Number of apps per page"),
11544
+ pageSize: zod.z.number().min(1).optional().describe(
11545
+ "Number of apps per page. The upstream API may cap this and reject values above its limit."
11546
+ ),
11545
11547
  // SDK specific property for pagination/iterable helpers
11546
11548
  maxItems: zod.z.number().min(1).optional().describe("Maximum total items to return across all pages"),
11547
11549
  // SDK specific property for pagination/iterable helpers
@@ -12330,7 +12332,9 @@ var ListConnectionsQuerySchema = connections.ListConnectionsQuerySchema.omit({
12330
12332
  deprecationMessage: "Use --status expired instead to show only expired connections, or --status all for both."
12331
12333
  }),
12332
12334
  // Override pageSize to make optional
12333
- pageSize: zod.z.number().min(1).optional().describe("Number of connections per page"),
12335
+ pageSize: zod.z.number().min(1).optional().describe(
12336
+ "Number of connections per page. The upstream API may cap this and reject values above its limit."
12337
+ ),
12334
12338
  // SDK specific property for pagination/iterable helpers
12335
12339
  maxItems: zod.z.number().min(1).optional().describe("Maximum total items to return across all pages"),
12336
12340
  // SDK specific property for pagination/iterable helpers