@zapier/zapier-sdk 0.8.0 → 0.8.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/dist/index.mjs CHANGED
@@ -47,12 +47,12 @@ var ActionTypePropertySchema = z.enum([
47
47
  ]).describe("Action type that matches the action's defined type");
48
48
  var ActionKeyPropertySchema = z.string().min(1).describe("Action key to execute");
49
49
  var AuthenticationIdPropertySchema = z.number().int().describe("Authentication ID to use for this action");
50
- var InputsPropertySchema = z.record(z.any()).describe("Input parameters for the action");
50
+ var InputsPropertySchema = z.record(z.unknown()).describe("Input parameters for the action");
51
51
  var LimitPropertySchema = z.number().int().min(1).max(MAX_PAGE_LIMIT).default(50).describe("Maximum number of items to return");
52
52
  var OffsetPropertySchema = z.number().int().min(0).default(0).describe("Number of items to skip for pagination");
53
53
  var OutputPropertySchema = z.string().describe("Output file path");
54
54
  var DebugPropertySchema = z.boolean().default(false).describe("Enable debug logging");
55
- var ParamsPropertySchema = z.record(z.any()).describe("Additional parameters");
55
+ var ParamsPropertySchema = z.record(z.unknown()).describe("Additional parameters");
56
56
 
57
57
  // src/types/errors.ts
58
58
  var ZapierError = class extends Error {
@@ -24,7 +24,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
24
24
  actionKey: z.ZodString;
25
25
  inputFieldKey: z.ZodString;
26
26
  authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28
28
  page: z.ZodOptional<z.ZodNumber>;
29
29
  pageSize: z.ZodOptional<z.ZodNumber>;
30
30
  maxItems: z.ZodOptional<z.ZodNumber>;
@@ -35,7 +35,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
35
35
  inputFieldKey: string;
36
36
  page?: number | undefined;
37
37
  authenticationId?: number | null | undefined;
38
- inputs?: Record<string, any> | undefined;
38
+ inputs?: Record<string, unknown> | undefined;
39
39
  pageSize?: number | undefined;
40
40
  maxItems?: number | undefined;
41
41
  }, {
@@ -45,7 +45,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
45
45
  inputFieldKey: string;
46
46
  page?: number | undefined;
47
47
  authenticationId?: number | null | undefined;
48
- inputs?: Record<string, any> | undefined;
48
+ inputs?: Record<string, unknown> | undefined;
49
49
  pageSize?: number | undefined;
50
50
  maxItems?: number | undefined;
51
51
  }>;
@@ -6,7 +6,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
6
6
  actionType: z.ZodEnum<["read", "read_bulk", "write", "run", "search", "search_or_write", "search_and_write", "filter"]>;
7
7
  actionKey: z.ZodString;
8
8
  authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  pageSize: z.ZodOptional<z.ZodNumber>;
11
11
  maxItems: z.ZodOptional<z.ZodNumber>;
12
12
  }, "strip", z.ZodTypeAny, {
@@ -14,7 +14,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
14
14
  actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
15
15
  actionKey: string;
16
16
  authenticationId?: number | null | undefined;
17
- inputs?: Record<string, any> | undefined;
17
+ inputs?: Record<string, unknown> | undefined;
18
18
  pageSize?: number | undefined;
19
19
  maxItems?: number | undefined;
20
20
  }, {
@@ -22,7 +22,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
22
22
  actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
23
23
  actionKey: string;
24
24
  authenticationId?: number | null | undefined;
25
- inputs?: Record<string, any> | undefined;
25
+ inputs?: Record<string, unknown> | undefined;
26
26
  pageSize?: number | undefined;
27
27
  maxItems?: number | undefined;
28
28
  }>;
@@ -5,7 +5,7 @@ export declare const RunActionSchema: z.ZodObject<{
5
5
  actionType: z.ZodEnum<["read", "read_bulk", "write", "run", "search", "search_or_write", "search_and_write", "filter"]>;
6
6
  actionKey: z.ZodString;
7
7
  authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
9
  pageSize: z.ZodOptional<z.ZodNumber>;
10
10
  maxItems: z.ZodOptional<z.ZodNumber>;
11
11
  }, "strip", z.ZodTypeAny, {
@@ -13,7 +13,7 @@ export declare const RunActionSchema: z.ZodObject<{
13
13
  actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
14
14
  actionKey: string;
15
15
  authenticationId?: number | null | undefined;
16
- inputs?: Record<string, any> | undefined;
16
+ inputs?: Record<string, unknown> | undefined;
17
17
  pageSize?: number | undefined;
18
18
  maxItems?: number | undefined;
19
19
  }, {
@@ -21,17 +21,17 @@ export declare const RunActionSchema: z.ZodObject<{
21
21
  actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
22
22
  actionKey: string;
23
23
  authenticationId?: number | null | undefined;
24
- inputs?: Record<string, any> | undefined;
24
+ inputs?: Record<string, unknown> | undefined;
25
25
  pageSize?: number | undefined;
26
26
  maxItems?: number | undefined;
27
27
  }>;
28
28
  export type RunActionOptions = z.infer<typeof RunActionSchema>;
29
29
  export interface RunActionPage {
30
- data: any[];
30
+ data: unknown[];
31
31
  nextCursor?: string;
32
32
  }
33
33
  export type RunActionError = import("../../types/errors").ZapierActionError | import("../../types/errors").ZapierValidationError | import("../../types/errors").ZapierConfigurationError | import("../../types/errors").ZapierUnknownError;
34
34
  export interface RunActionSdkFunction {
35
- runAction: PaginatedSdkFunction<RunActionOptions, any>;
35
+ runAction: PaginatedSdkFunction<RunActionOptions, unknown>;
36
36
  }
37
37
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/runAction/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAGlE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAoB0B,CAAC;AAGvD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAG/D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,cAAc,GACtB,OAAO,oBAAoB,EAAE,iBAAiB,GAC9C,OAAO,oBAAoB,EAAE,qBAAqB,GAClD,OAAO,oBAAoB,EAAE,wBAAwB,GACrD,OAAO,oBAAoB,EAAE,kBAAkB,CAAC;AAGpD,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;CACxD"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/runAction/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAGlE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAoB0B,CAAC;AAGvD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAG/D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,cAAc,GACtB,OAAO,oBAAoB,EAAE,iBAAiB,GAC9C,OAAO,oBAAoB,EAAE,qBAAqB,GAClD,OAAO,oBAAoB,EAAE,wBAAwB,GACrD,OAAO,oBAAoB,EAAE,kBAAkB,CAAC;AAGpD,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;CAC5D"}
@@ -9,7 +9,7 @@ export interface FunctionOptions {
9
9
  /** Function to dynamically resolve authentication token */
10
10
  getToken?: () => Promise<string | undefined>;
11
11
  /** Optional pre-instantiated API client */
12
- api?: any;
12
+ api?: import("../api/types").ApiClient;
13
13
  /** Enable debug logging */
14
14
  debug?: boolean;
15
15
  /** Custom fetch implementation */
@@ -1 +1 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/types/functions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,eAAe;IAC9B,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,2CAA2C;IAC3C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;CACjC;AAGD,MAAM,MAAM,oBAAoB,CAAC,QAAQ,EAAE,KAAK,IAAI,CAClD,OAAO,EAAE,QAAQ,KACd,OAAO,CAAC;IAAE,IAAI,EAAE,KAAK,EAAE,CAAA;CAAE,CAAC,GAC7B,aAAa,CAAC;IAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG;IACtD,KAAK,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;CAC/B,CAAC"}
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/types/functions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,eAAe;IAC9B,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,2CAA2C;IAC3C,GAAG,CAAC,EAAE,OAAO,cAAc,EAAE,SAAS,CAAC;IACvC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;CACjC;AAGD,MAAM,MAAM,oBAAoB,CAAC,QAAQ,EAAE,KAAK,IAAI,CAClD,OAAO,EAAE,QAAQ,KACd,OAAO,CAAC;IAAE,IAAI,EAAE,KAAK,EAAE,CAAA;CAAE,CAAC,GAC7B,aAAa,CAAC;IAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG;IACtD,KAAK,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;CAC/B,CAAC"}
@@ -3,12 +3,12 @@ export declare const AppKeyPropertySchema: z.ZodString;
3
3
  export declare const ActionTypePropertySchema: z.ZodEnum<["read", "read_bulk", "write", "run", "search", "search_or_write", "search_and_write", "filter"]>;
4
4
  export declare const ActionKeyPropertySchema: z.ZodString;
5
5
  export declare const AuthenticationIdPropertySchema: z.ZodNumber;
6
- export declare const InputsPropertySchema: z.ZodRecord<z.ZodString, z.ZodAny>;
6
+ export declare const InputsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
7
  export declare const LimitPropertySchema: z.ZodDefault<z.ZodNumber>;
8
8
  export declare const OffsetPropertySchema: z.ZodDefault<z.ZodNumber>;
9
9
  export declare const OutputPropertySchema: z.ZodString;
10
10
  export declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
11
- export declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodAny>;
11
+ export declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
12
  export type AppKeyProperty = z.infer<typeof AppKeyPropertySchema>;
13
13
  export type ActionTypeProperty = z.infer<typeof ActionTypePropertySchema>;
14
14
  export type ActionKeyProperty = z.infer<typeof ActionKeyPropertySchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../src/types/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,oBAAoB,aAEhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,6GAW4B,CAAC;AAElE,eAAO,MAAM,uBAAuB,aAGA,CAAC;AAErC,eAAO,MAAM,8BAA8B,aAGY,CAAC;AAExD,eAAO,MAAM,oBAAoB,oCAEa,CAAC;AAE/C,eAAO,MAAM,mBAAmB,2BAMgB,CAAC;AAEjD,eAAO,MAAM,oBAAoB,2BAKoB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,aAA0C,CAAC;AAE5E,eAAO,MAAM,mBAAmB,4BAGG,CAAC;AAEpC,eAAO,MAAM,oBAAoB,oCAEG,CAAC;AAGrC,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../src/types/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,oBAAoB,aAEhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,6GAW4B,CAAC;AAElE,eAAO,MAAM,uBAAuB,aAGA,CAAC;AAErC,eAAO,MAAM,8BAA8B,aAGY,CAAC;AAExD,eAAO,MAAM,oBAAoB,wCAEa,CAAC;AAE/C,eAAO,MAAM,mBAAmB,2BAMgB,CAAC;AAEjD,eAAO,MAAM,oBAAoB,2BAKoB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,aAA0C,CAAC;AAE5E,eAAO,MAAM,mBAAmB,4BAGG,CAAC;AAEpC,eAAO,MAAM,oBAAoB,wCAEG,CAAC;AAGrC,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -25,7 +25,7 @@ export const AuthenticationIdPropertySchema = z
25
25
  .int()
26
26
  .describe("Authentication ID to use for this action");
27
27
  export const InputsPropertySchema = z
28
- .record(z.any())
28
+ .record(z.unknown())
29
29
  .describe("Input parameters for the action");
30
30
  export const LimitPropertySchema = z
31
31
  .number()
@@ -46,5 +46,5 @@ export const DebugPropertySchema = z
46
46
  .default(false)
47
47
  .describe("Enable debug logging");
48
48
  export const ParamsPropertySchema = z
49
- .record(z.any())
49
+ .record(z.unknown())
50
50
  .describe("Additional parameters");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Complete Zapier SDK - combines all Zapier SDK packages",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
package/src/api/types.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * to ensure a single source of truth and eliminate duplication.
10
10
  */
11
11
 
12
+ import type { SdkEvent } from "../types/events";
12
13
  import { z } from "zod";
13
14
  import {
14
15
  NeedChoicesSchema,
@@ -49,7 +50,7 @@ export interface ApiClientOptions {
49
50
  getToken?: () => Promise<string | undefined>;
50
51
  debug?: boolean;
51
52
  fetch?: typeof globalThis.fetch;
52
- onEvent?: (event: any) => void;
53
+ onEvent?: (event: SdkEvent) => void;
53
54
  }
54
55
 
55
56
  export interface ApiClient {
@@ -96,7 +97,7 @@ export interface PollOptions extends RequestOptions {
96
97
  }
97
98
 
98
99
  export interface DebugLogger {
99
- (message: string, data?: any): void;
100
+ (message: string, data?: unknown): void;
100
101
  }
101
102
 
102
103
  // ============================================================================
@@ -36,7 +36,7 @@ export type RunActionOptions = z.infer<typeof RunActionSchema>;
36
36
 
37
37
  // Page result structure (for consistency with other paginated functions)
38
38
  export interface RunActionPage {
39
- data: any[];
39
+ data: unknown[];
40
40
  nextCursor?: string;
41
41
  }
42
42
 
@@ -49,5 +49,5 @@ export type RunActionError =
49
49
 
50
50
  // SDK function interface - ready to be mixed into main SDK interface
51
51
  export interface RunActionSdkFunction {
52
- runAction: PaginatedSdkFunction<RunActionOptions, any>;
52
+ runAction: PaginatedSdkFunction<RunActionOptions, unknown>;
53
53
  }
@@ -11,7 +11,7 @@ export interface FunctionOptions {
11
11
  /** Function to dynamically resolve authentication token */
12
12
  getToken?: () => Promise<string | undefined>;
13
13
  /** Optional pre-instantiated API client */
14
- api?: any;
14
+ api?: import("../api/types").ApiClient;
15
15
  /** Enable debug logging */
16
16
  debug?: boolean;
17
17
  /** Custom fetch implementation */
@@ -33,7 +33,7 @@ export const AuthenticationIdPropertySchema = z
33
33
  .describe("Authentication ID to use for this action");
34
34
 
35
35
  export const InputsPropertySchema = z
36
- .record(z.any())
36
+ .record(z.unknown())
37
37
  .describe("Input parameters for the action");
38
38
 
39
39
  export const LimitPropertySchema = z
@@ -59,7 +59,7 @@ export const DebugPropertySchema = z
59
59
  .describe("Enable debug logging");
60
60
 
61
61
  export const ParamsPropertySchema = z
62
- .record(z.any())
62
+ .record(z.unknown())
63
63
  .describe("Additional parameters");
64
64
 
65
65
  // Inferred TypeScript types for the properties