@zapier/zapier-sdk-core 0.8.0 → 0.9.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/index.cjs +27 -4
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +27 -4
  5. package/dist/index.js.map +1 -1
  6. package/dist/v0/schemas/actions.cjs +12 -1
  7. package/dist/v0/schemas/actions.cjs.map +1 -1
  8. package/dist/v0/schemas/actions.d.cts +39 -28
  9. package/dist/v0/schemas/actions.d.ts +39 -28
  10. package/dist/v0/schemas/actions.js +12 -1
  11. package/dist/v0/schemas/actions.js.map +1 -1
  12. package/dist/v0/schemas/apps.cjs +7 -1
  13. package/dist/v0/schemas/apps.cjs.map +1 -1
  14. package/dist/v0/schemas/apps.d.cts +32 -30
  15. package/dist/v0/schemas/apps.d.ts +32 -30
  16. package/dist/v0/schemas/apps.js +7 -1
  17. package/dist/v0/schemas/apps.js.map +1 -1
  18. package/dist/v0/schemas/authentications.cjs +27 -4
  19. package/dist/v0/schemas/authentications.cjs.map +1 -1
  20. package/dist/v0/schemas/authentications.d.cts +17 -0
  21. package/dist/v0/schemas/authentications.d.ts +17 -0
  22. package/dist/v0/schemas/authentications.js +27 -4
  23. package/dist/v0/schemas/authentications.js.map +1 -1
  24. package/dist/v0/schemas/client-credentials.cjs +5 -1
  25. package/dist/v0/schemas/client-credentials.cjs.map +1 -1
  26. package/dist/v0/schemas/client-credentials.d.cts +1 -0
  27. package/dist/v0/schemas/client-credentials.d.ts +1 -0
  28. package/dist/v0/schemas/client-credentials.js +5 -1
  29. package/dist/v0/schemas/client-credentials.js.map +1 -1
  30. package/dist/v0/schemas/connections.cjs +4 -1
  31. package/dist/v0/schemas/connections.cjs.map +1 -1
  32. package/dist/v0/schemas/connections.d.cts +14 -2
  33. package/dist/v0/schemas/connections.d.ts +14 -2
  34. package/dist/v0/schemas/connections.js +4 -1
  35. package/dist/v0/schemas/connections.js.map +1 -1
  36. package/openapi.yaml +132 -15
  37. package/package.json +2 -2
@@ -25,6 +25,9 @@ declare const ConnectionSchema: z.ZodObject<{
25
25
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
26
  members: z.ZodOptional<z.ZodString>;
27
27
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
28
+ public_id: z.ZodOptional<z.ZodString>;
29
+ account_public_id: z.ZodOptional<z.ZodString>;
30
+ customuser_public_id: z.ZodOptional<z.ZodString>;
28
31
  }, z.core.$strip>;
29
32
  /**
30
33
  * Normalized connection item returned by getConnection handler
@@ -40,8 +43,8 @@ declare const ConnectionSchema: z.ZodObject<{
40
43
  * - app_version: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "1.0.0")
41
44
  */
42
45
  declare const ConnectionItemSchema: z.ZodObject<{
43
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
46
  date: z.ZodString;
47
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
48
  is_invite_only: z.ZodBoolean;
46
49
  lastchanged: z.ZodOptional<z.ZodString>;
47
50
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,6 +59,9 @@ declare const ConnectionItemSchema: z.ZodObject<{
56
59
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
60
  members: z.ZodOptional<z.ZodString>;
58
61
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
62
+ public_id: z.ZodOptional<z.ZodString>;
63
+ account_public_id: z.ZodOptional<z.ZodString>;
64
+ customuser_public_id: z.ZodOptional<z.ZodString>;
59
65
  id: z.ZodString;
60
66
  account_id: z.ZodString;
61
67
  implementation_id: z.ZodOptional<z.ZodString>;
@@ -90,6 +96,9 @@ declare const ConnectionsResponseSchema: z.ZodObject<{
90
96
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
91
97
  members: z.ZodOptional<z.ZodString>;
92
98
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
99
+ public_id: z.ZodOptional<z.ZodString>;
100
+ account_public_id: z.ZodOptional<z.ZodString>;
101
+ customuser_public_id: z.ZodOptional<z.ZodString>;
93
102
  }, z.core.$strip>>;
94
103
  }, z.core.$strip>;
95
104
  type Connection = z.infer<typeof ConnectionSchema>;
@@ -128,8 +137,8 @@ declare const ListConnectionsQuerySchema: z.ZodObject<{
128
137
  */
129
138
  declare const ListConnectionsResponseSchema: z.ZodObject<{
130
139
  data: z.ZodArray<z.ZodObject<{
131
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
140
  date: z.ZodString;
141
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
142
  is_invite_only: z.ZodBoolean;
134
143
  lastchanged: z.ZodOptional<z.ZodString>;
135
144
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -144,6 +153,9 @@ declare const ListConnectionsResponseSchema: z.ZodObject<{
144
153
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
145
154
  members: z.ZodOptional<z.ZodString>;
146
155
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
156
+ public_id: z.ZodOptional<z.ZodString>;
157
+ account_public_id: z.ZodOptional<z.ZodString>;
158
+ customuser_public_id: z.ZodOptional<z.ZodString>;
147
159
  id: z.ZodString;
148
160
  account_id: z.ZodString;
149
161
  implementation_id: z.ZodOptional<z.ZodString>;
@@ -25,6 +25,9 @@ declare const ConnectionSchema: z.ZodObject<{
25
25
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
26
  members: z.ZodOptional<z.ZodString>;
27
27
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
28
+ public_id: z.ZodOptional<z.ZodString>;
29
+ account_public_id: z.ZodOptional<z.ZodString>;
30
+ customuser_public_id: z.ZodOptional<z.ZodString>;
28
31
  }, z.core.$strip>;
29
32
  /**
30
33
  * Normalized connection item returned by getConnection handler
@@ -40,8 +43,8 @@ declare const ConnectionSchema: z.ZodObject<{
40
43
  * - app_version: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "1.0.0")
41
44
  */
42
45
  declare const ConnectionItemSchema: z.ZodObject<{
43
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
46
  date: z.ZodString;
47
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
48
  is_invite_only: z.ZodBoolean;
46
49
  lastchanged: z.ZodOptional<z.ZodString>;
47
50
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,6 +59,9 @@ declare const ConnectionItemSchema: z.ZodObject<{
56
59
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
60
  members: z.ZodOptional<z.ZodString>;
58
61
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
62
+ public_id: z.ZodOptional<z.ZodString>;
63
+ account_public_id: z.ZodOptional<z.ZodString>;
64
+ customuser_public_id: z.ZodOptional<z.ZodString>;
59
65
  id: z.ZodString;
60
66
  account_id: z.ZodString;
61
67
  implementation_id: z.ZodOptional<z.ZodString>;
@@ -90,6 +96,9 @@ declare const ConnectionsResponseSchema: z.ZodObject<{
90
96
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
91
97
  members: z.ZodOptional<z.ZodString>;
92
98
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
99
+ public_id: z.ZodOptional<z.ZodString>;
100
+ account_public_id: z.ZodOptional<z.ZodString>;
101
+ customuser_public_id: z.ZodOptional<z.ZodString>;
93
102
  }, z.core.$strip>>;
94
103
  }, z.core.$strip>;
95
104
  type Connection = z.infer<typeof ConnectionSchema>;
@@ -128,8 +137,8 @@ declare const ListConnectionsQuerySchema: z.ZodObject<{
128
137
  */
129
138
  declare const ListConnectionsResponseSchema: z.ZodObject<{
130
139
  data: z.ZodArray<z.ZodObject<{
131
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
140
  date: z.ZodString;
141
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
142
  is_invite_only: z.ZodBoolean;
134
143
  lastchanged: z.ZodOptional<z.ZodString>;
135
144
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -144,6 +153,9 @@ declare const ListConnectionsResponseSchema: z.ZodObject<{
144
153
  groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
145
154
  members: z.ZodOptional<z.ZodString>;
146
155
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
156
+ public_id: z.ZodOptional<z.ZodString>;
157
+ account_public_id: z.ZodOptional<z.ZodString>;
158
+ customuser_public_id: z.ZodOptional<z.ZodString>;
147
159
  id: z.ZodString;
148
160
  account_id: z.ZodString;
149
161
  implementation_id: z.ZodOptional<z.ZodString>;
@@ -22,7 +22,10 @@ var ConnectionSchema = z.object({
22
22
  z.record(z.string(), z.unknown()).describe("Groups associated with the connection")
23
23
  ).optional().describe("Array of groups associated with the connection"),
24
24
  members: z.string().optional().describe("Members associated with the connection"),
25
- permissions: z.record(z.string(), z.boolean()).optional().describe("Permissions for the connection")
25
+ permissions: z.record(z.string(), z.boolean()).optional().describe("Permissions for the connection"),
26
+ public_id: z.string().optional().describe("Public UUID for the connection"),
27
+ account_public_id: z.string().optional().describe("Public UUID for the associated account"),
28
+ customuser_public_id: z.string().optional().describe("Public UUID for the associated custom user")
26
29
  });
27
30
  var ConnectionItemSchema = ConnectionSchema.omit({
28
31
  selected_api: true,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/v0/schemas/connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\n/**\n * Base Connection schema matching the API response\n * (internally uses the same v4 authentications API)\n */\nexport const ConnectionSchema = z.object({\n id: z.number().describe(\"Unique identifier for the connection\"),\n date: z.string().describe(\"Date created\"),\n lastchanged: z.string().optional().describe(\"Date last changed\"),\n account_id: z.number().describe(\"Account ID associated with this connection\"),\n customuser_id: z\n .number()\n .optional()\n .describe(\"Custom user ID (if applicable)\"),\n selected_api: z.string().describe(\"Selected API key (internal identifier)\"),\n destination_selected_api: z\n .string()\n .nullable()\n .optional()\n .describe(\"Destination API key (if applicable)\"),\n is_invite_only: z.boolean().describe(\"Whether the connection is invite-only\"),\n is_private: z.boolean().describe(\"Whether the connection is private\"),\n shared_with_all: z\n .boolean()\n .describe(\"Whether the connection is shared with all users\"),\n is_stale: z.string().optional().describe(\"Stale status string\"),\n is_shared: z.string().optional().describe(\"Shared status string\"),\n marked_stale_at: z\n .string()\n .nullable()\n .optional()\n .describe(\"Date when marked stale\"),\n label: z\n .string()\n .nullable()\n .optional()\n .describe(\"User label for the connection\"),\n identifier: z.string().nullable().optional().describe(\"Identifier\"),\n title: z.string().nullable().optional().describe(\"Title of the connection\"),\n url: z.string().optional().describe(\"URL to the connection resource\"),\n groups: z\n .array(\n z\n .record(z.string(), z.unknown())\n .describe(\"Groups associated with the connection\"),\n )\n .optional()\n .describe(\"Array of groups associated with the connection\"),\n members: z\n .string()\n .optional()\n .describe(\"Members associated with the connection\"),\n permissions: z\n .record(z.string(), z.boolean())\n .optional()\n .describe(\"Permissions for the connection\"),\n});\n\n/**\n * Normalized connection item returned by getConnection handler\n *\n * Transforms API response fields:\n * - selected_api → implementation_id\n * - customuser_id → profile_id\n * - is_stale → is_expired (preserved as is_stale too)\n * - marked_stale_at → expired_at (preserved as marked_stale_at too)\n *\n * Adds computed fields:\n * - app_key: Extracted from selected_api (e.g., \"SlackCLIAPI@1.0.0\" → \"SlackCLIAPI\")\n * - app_version: Extracted from selected_api (e.g., \"SlackCLIAPI@1.0.0\" → \"1.0.0\")\n */\nexport const ConnectionItemSchema = ConnectionSchema.omit({\n selected_api: true,\n customuser_id: true,\n}).extend({\n // Override numeric IDs with string versions (converted by normalizeConnectionItem)\n id: z.string().describe(\"Unique identifier for the connection\"),\n account_id: z.string().describe(\"Account ID associated with this connection\"),\n\n // Renamed fields\n implementation_id: z\n .string()\n .optional()\n .describe(\"Implementation ID (was selected_api)\"),\n profile_id: z.string().optional().describe(\"Profile ID (was customuser_id)\"),\n\n // Mapped fields (originals preserved in ...restOfAuth)\n is_expired: z\n .string()\n .optional()\n .describe(\"Whether the connection is expired (mapped from is_stale)\"),\n expired_at: z\n .string()\n .nullable()\n .optional()\n .describe(\"Date when connection expired (mapped from marked_stale_at)\"),\n\n // Computed fields\n app_key: z\n .string()\n .optional()\n .describe(\"App Key extracted from implementation_id\"),\n app_version: z\n .string()\n .optional()\n .describe(\"App Version extracted from implementation_id\"),\n});\n\nexport const ConnectionsResponseSchema = z.object({\n count: z.number().describe(\"Total number of items\"),\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\"Cursor for the next page of results (if available)\"),\n previous: z\n .string()\n .nullable()\n .optional()\n .describe(\"Cursor for the previous page of results (if available)\"),\n results: z.array(ConnectionSchema).describe(\"Array of connection items\"),\n});\n\nexport type Connection = z.infer<typeof ConnectionSchema>;\nexport type ConnectionItem = z.infer<typeof ConnectionItemSchema>;\nexport type ConnectionsResponse = z.infer<typeof ConnectionsResponseSchema>;\n\n/**\n * Path parameters schema for getConnection endpoint.\n */\nexport const GetConnectionParamSchema = z\n .object({\n connectionId: z.string().describe(\"Connection ID to retrieve\"),\n })\n .describe(\"Get a specific connection by ID\");\n\nexport type GetConnectionParam = z.infer<typeof GetConnectionParamSchema>;\n\n/**\n * Response type for getConnection endpoint.\n * Wraps ConnectionItem in the standard API response envelope.\n */\nexport type GetConnectionResponse = { data: ConnectionItem };\n\n/**\n * Query parameters for listing connections\n */\nexport const ListConnectionsQuerySchema = z\n .object({\n app_key: z\n .string()\n .optional()\n .describe(\n \"Filter connections by app key (e.g., 'SlackCLIAPI' or slug like 'github')\",\n ),\n connection_ids: z\n .string()\n .optional()\n .describe(\"Comma-separated list of connection IDs to filter by\"),\n search: z\n .string()\n .optional()\n .describe(\"Search term to filter connections by title\"),\n title: z\n .string()\n .optional()\n .describe(\n \"Filter connections by exact title match (searches first, then filters locally)\",\n ),\n account_id: z\n .string()\n .optional()\n .describe(\"Filter connections by account ID\"),\n owner: z\n .string()\n .optional()\n .describe(\n \"Filter by owner, 'me' for your own connections or a specific user ID\",\n ),\n is_expired: z\n .boolean()\n .optional()\n .describe(\n \"Filter by expired status (true = expired only, false = non-expired only)\",\n ),\n page_size: z\n .number()\n .min(1)\n .optional()\n .describe(\"Number of connections per page\"),\n offset: z\n .string()\n .optional()\n .describe(\"Pagination offset from previous response\"),\n })\n .describe(\"Query parameters for listing connections\");\n\n/**\n * Response schema for listConnections\n */\nexport const ListConnectionsResponseSchema = z\n .object({\n data: z.array(ConnectionItemSchema).describe(\"Array of connection items\"),\n links: z\n .object({\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\n \"Fully qualified URL for the next page of results (if available), e.g. https://sdkapi.zapier.com/api/v0/connections?offset=100&page_size=50\",\n ),\n })\n .describe(\"Pagination links for navigating through results\"),\n meta: z\n .object({\n count: z.number().describe(\"Total number of items\"),\n limit: z.number().describe(\"Number of items per page\"),\n offset: z.number().describe(\"Offset of the current page\"),\n })\n .describe(\"Metadata for the paginated result set\"),\n })\n .describe(\"Response schema for listing connections\");\n\n/**\n * TypeScript types for request and response\n */\nexport type ListConnectionsQuery = z.infer<typeof ListConnectionsQuerySchema>;\nexport type ListConnectionsResponse = z.infer<\n typeof ListConnectionsResponseSchema\n>;\n"],"mappings":";AAAA,SAAS,SAAS;AAMX,IAAM,mBAAmB,EAAE,OAAO;AAAA,EACvC,IAAI,EAAE,OAAO,EAAE,SAAS,sCAAsC;AAAA,EAC9D,MAAM,EAAE,OAAO,EAAE,SAAS,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OAAO,EACP,SAAS,EACT,SAAS,4CAA4C;AAAA,EACxD,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,YAAY,EACT,OAAO,EACP,SAAS,EACT,SAAS,kCAAkC;AAAA,EAC9C,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,YAAY,EACT,QAAQ,EACR,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,WAAW,EACR,OAAO,EACP,IAAI,CAAC,EACL,SAAS,EACT,SAAS,gCAAgC;AAAA,EAC5C,QAAQ,EACL,OAAO,EACP,SAAS,EACT,SAAS,0CAA0C;AACxD,CAAC,EACA,SAAS,0CAA0C;AAK/C,IAAM,gCAAgC,EAC1C,OAAO;AAAA,EACN,MAAM,EAAE,MAAM,oBAAoB,EAAE,SAAS,2BAA2B;AAAA,EACxE,OAAO,EACJ,OAAO;AAAA,IACN,MAAM,EACH,OAAO,EACP,SAAS,EACT,SAAS,EACT;AAAA,MACC;AAAA,IACF;AAAA,EACJ,CAAC,EACA,SAAS,iDAAiD;AAAA,EAC7D,MAAM,EACH,OAAO;AAAA,IACN,OAAO,EAAE,OAAO,EAAE,SAAS,uBAAuB;AAAA,IAClD,OAAO,EAAE,OAAO,EAAE,SAAS,0BAA0B;AAAA,IACrD,QAAQ,EAAE,OAAO,EAAE,SAAS,4BAA4B;AAAA,EAC1D,CAAC,EACA,SAAS,uCAAuC;AACrD,CAAC,EACA,SAAS,yCAAyC;","names":[]}
1
+ {"version":3,"sources":["../../../src/v0/schemas/connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\n/**\n * Base Connection schema matching the API response\n * (internally uses the same v4 authentications API)\n */\nexport const ConnectionSchema = z.object({\n id: z.number().describe(\"Unique identifier for the connection\"),\n date: z.string().describe(\"Date created\"),\n lastchanged: z.string().optional().describe(\"Date last changed\"),\n account_id: z.number().describe(\"Account ID associated with this connection\"),\n customuser_id: z\n .number()\n .optional()\n .describe(\"Custom user ID (if applicable)\"),\n selected_api: z.string().describe(\"Selected API key (internal identifier)\"),\n destination_selected_api: z\n .string()\n .nullable()\n .optional()\n .describe(\"Destination API key (if applicable)\"),\n is_invite_only: z.boolean().describe(\"Whether the connection is invite-only\"),\n is_private: z.boolean().describe(\"Whether the connection is private\"),\n shared_with_all: z\n .boolean()\n .describe(\"Whether the connection is shared with all users\"),\n is_stale: z.string().optional().describe(\"Stale status string\"),\n is_shared: z.string().optional().describe(\"Shared status string\"),\n marked_stale_at: z\n .string()\n .nullable()\n .optional()\n .describe(\"Date when marked stale\"),\n label: z\n .string()\n .nullable()\n .optional()\n .describe(\"User label for the connection\"),\n identifier: z.string().nullable().optional().describe(\"Identifier\"),\n title: z.string().nullable().optional().describe(\"Title of the connection\"),\n url: z.string().optional().describe(\"URL to the connection resource\"),\n groups: z\n .array(\n z\n .record(z.string(), z.unknown())\n .describe(\"Groups associated with the connection\"),\n )\n .optional()\n .describe(\"Array of groups associated with the connection\"),\n members: z\n .string()\n .optional()\n .describe(\"Members associated with the connection\"),\n permissions: z\n .record(z.string(), z.boolean())\n .optional()\n .describe(\"Permissions for the connection\"),\n public_id: z.string().optional().describe(\"Public UUID for the connection\"),\n account_public_id: z\n .string()\n .optional()\n .describe(\"Public UUID for the associated account\"),\n customuser_public_id: z\n .string()\n .optional()\n .describe(\"Public UUID for the associated custom user\"),\n});\n\n/**\n * Normalized connection item returned by getConnection handler\n *\n * Transforms API response fields:\n * - selected_api → implementation_id\n * - customuser_id → profile_id\n * - is_stale → is_expired (preserved as is_stale too)\n * - marked_stale_at → expired_at (preserved as marked_stale_at too)\n *\n * Adds computed fields:\n * - app_key: Extracted from selected_api (e.g., \"SlackCLIAPI@1.0.0\" → \"SlackCLIAPI\")\n * - app_version: Extracted from selected_api (e.g., \"SlackCLIAPI@1.0.0\" → \"1.0.0\")\n */\nexport const ConnectionItemSchema = ConnectionSchema.omit({\n selected_api: true,\n customuser_id: true,\n}).extend({\n // Override numeric IDs with string versions (converted by normalizeConnectionItem)\n id: z.string().describe(\"Unique identifier for the connection\"),\n account_id: z.string().describe(\"Account ID associated with this connection\"),\n\n // Renamed fields\n implementation_id: z\n .string()\n .optional()\n .describe(\"Implementation ID (was selected_api)\"),\n profile_id: z.string().optional().describe(\"Profile ID (was customuser_id)\"),\n\n // Mapped fields (originals preserved in ...restOfAuth)\n is_expired: z\n .string()\n .optional()\n .describe(\"Whether the connection is expired (mapped from is_stale)\"),\n expired_at: z\n .string()\n .nullable()\n .optional()\n .describe(\"Date when connection expired (mapped from marked_stale_at)\"),\n\n // Computed fields\n app_key: z\n .string()\n .optional()\n .describe(\"App Key extracted from implementation_id\"),\n app_version: z\n .string()\n .optional()\n .describe(\"App Version extracted from implementation_id\"),\n});\n\nexport const ConnectionsResponseSchema = z.object({\n count: z.number().describe(\"Total number of items\"),\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\"Cursor for the next page of results (if available)\"),\n previous: z\n .string()\n .nullable()\n .optional()\n .describe(\"Cursor for the previous page of results (if available)\"),\n results: z.array(ConnectionSchema).describe(\"Array of connection items\"),\n});\n\nexport type Connection = z.infer<typeof ConnectionSchema>;\nexport type ConnectionItem = z.infer<typeof ConnectionItemSchema>;\nexport type ConnectionsResponse = z.infer<typeof ConnectionsResponseSchema>;\n\n/**\n * Path parameters schema for getConnection endpoint.\n */\nexport const GetConnectionParamSchema = z\n .object({\n connectionId: z.string().describe(\"Connection ID to retrieve\"),\n })\n .describe(\"Get a specific connection by ID\");\n\nexport type GetConnectionParam = z.infer<typeof GetConnectionParamSchema>;\n\n/**\n * Response type for getConnection endpoint.\n * Wraps ConnectionItem in the standard API response envelope.\n */\nexport type GetConnectionResponse = { data: ConnectionItem };\n\n/**\n * Query parameters for listing connections\n */\nexport const ListConnectionsQuerySchema = z\n .object({\n app_key: z\n .string()\n .optional()\n .describe(\n \"Filter connections by app key (e.g., 'SlackCLIAPI' or slug like 'github')\",\n ),\n connection_ids: z\n .string()\n .optional()\n .describe(\"Comma-separated list of connection IDs to filter by\"),\n search: z\n .string()\n .optional()\n .describe(\"Search term to filter connections by title\"),\n title: z\n .string()\n .optional()\n .describe(\n \"Filter connections by exact title match (searches first, then filters locally)\",\n ),\n account_id: z\n .string()\n .optional()\n .describe(\"Filter connections by account ID\"),\n owner: z\n .string()\n .optional()\n .describe(\n \"Filter by owner, 'me' for your own connections or a specific user ID\",\n ),\n is_expired: z\n .boolean()\n .optional()\n .describe(\n \"Filter by expired status (true = expired only, false = non-expired only)\",\n ),\n page_size: z\n .number()\n .min(1)\n .optional()\n .describe(\"Number of connections per page\"),\n offset: z\n .string()\n .optional()\n .describe(\"Pagination offset from previous response\"),\n })\n .describe(\"Query parameters for listing connections\");\n\n/**\n * Response schema for listConnections\n */\nexport const ListConnectionsResponseSchema = z\n .object({\n data: z.array(ConnectionItemSchema).describe(\"Array of connection items\"),\n links: z\n .object({\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\n \"Fully qualified URL for the next page of results (if available), e.g. https://sdkapi.zapier.com/api/v0/connections?offset=100&page_size=50\",\n ),\n })\n .describe(\"Pagination links for navigating through results\"),\n meta: z\n .object({\n count: z.number().describe(\"Total number of items\"),\n limit: z.number().describe(\"Number of items per page\"),\n offset: z.number().describe(\"Offset of the current page\"),\n })\n .describe(\"Metadata for the paginated result set\"),\n })\n .describe(\"Response schema for listing connections\");\n\n/**\n * TypeScript types for request and response\n */\nexport type ListConnectionsQuery = z.infer<typeof ListConnectionsQuerySchema>;\nexport type ListConnectionsResponse = z.infer<\n typeof ListConnectionsResponseSchema\n>;\n"],"mappings":";AAAA,SAAS,SAAS;AAMX,IAAM,mBAAmB,EAAE,OAAO;AAAA,EACvC,IAAI,EAAE,OAAO,EAAE,SAAS,sCAAsC;AAAA,EAC9D,MAAM,EAAE,OAAO,EAAE,SAAS,cAAc;AAAA,EACxC,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,mBAAmB;AAAA,EAC/D,YAAY,EAAE,O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AAAA,EACF;AAAA,EACF,gBAAgB,EACb,OAAO,EACP,SAAS,EACT,SAAS,qDAAqD;AAAA,EACjE,QAAQ,EACL,OAAO,EACP,SAAS,EACT,SAAS,4CAA4C;AAAA,EACxD,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,YAAY,EACT,OAAO,EACP,SAAS,EACT,SAAS,kCAAkC;AAAA,EAC9C,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,YAAY,EACT,QAAQ,EACR,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,WAAW,EACR,OAAO,EACP,IAAI,CAAC,EACL,SAAS,EACT,SAAS,gCAAgC;AAAA,EAC5C,QAAQ,EACL,OAAO,EACP,SAAS,EACT,SAAS,0CAA0C;AACxD,CAAC,EACA,SAAS,0CAA0C;AAK/C,IAAM,gCAAgC,EAC1C,OAAO;AAAA,EACN,MAAM,EAAE,MAAM,oBAAoB,EAAE,SAAS,2BAA2B;AAAA,EACxE,OAAO,EACJ,OAAO;AAAA,IACN,MAAM,EACH,OAAO,EACP,SAAS,EACT,SAAS,EACT;AAAA,MACC;AAAA,IACF;AAAA,EACJ,CAAC,EACA,SAAS,iDAAiD;AAAA,EAC7D,MAAM,EACH,OAAO;AAAA,IACN,OAAO,EAAE,OAAO,EAAE,SAAS,uBAAuB;AAAA,IAClD,OAAO,EAAE,OAAO,EAAE,SAAS,0BAA0B;AAAA,IACrD,QAAQ,EAAE,OAAO,EAAE,SAAS,4BAA4B;AAAA,EAC1D,CAAC,EACA,SAAS,uCAAuC;AACrD,CAAC,EACA,SAAS,yCAAyC;","names":[]}
package/openapi.yaml CHANGED
@@ -318,6 +318,15 @@ components:
318
318
  additionalProperties:
319
319
  type: boolean
320
320
  description: Permissions for the authentication
321
+ public_id:
322
+ type: string
323
+ description: Public UUID for the authentication
324
+ account_public_id:
325
+ type: string
326
+ description: Public UUID for the associated account
327
+ customuser_public_id:
328
+ type: string
329
+ description: Public UUID for the associated custom user
321
330
  implementation_id:
322
331
  type: string
323
332
  description: Implementation ID (was selected_api)
@@ -453,6 +462,15 @@ components:
453
462
  additionalProperties:
454
463
  type: boolean
455
464
  description: Permissions for the connection
465
+ public_id:
466
+ type: string
467
+ description: Public UUID for the connection
468
+ account_public_id:
469
+ type: string
470
+ description: Public UUID for the associated account
471
+ customuser_public_id:
472
+ type: string
473
+ description: Public UUID for the associated custom user
456
474
  implementation_id:
457
475
  type: string
458
476
  description: Implementation ID (was selected_api)
@@ -851,6 +869,15 @@ components:
851
869
  additionalProperties:
852
870
  type: boolean
853
871
  description: Permissions for the authentication
872
+ public_id:
873
+ type: string
874
+ description: Public UUID for the authentication
875
+ account_public_id:
876
+ type: string
877
+ description: Public UUID for the associated account
878
+ customuser_public_id:
879
+ type: string
880
+ description: Public UUID for the associated custom user
854
881
  implementation_id:
855
882
  type: string
856
883
  description: Implementation ID (was selected_api)
@@ -1056,6 +1083,15 @@ components:
1056
1083
  additionalProperties:
1057
1084
  type: boolean
1058
1085
  description: Permissions for the connection
1086
+ public_id:
1087
+ type: string
1088
+ description: Public UUID for the connection
1089
+ account_public_id:
1090
+ type: string
1091
+ description: Public UUID for the associated account
1092
+ customuser_public_id:
1093
+ type: string
1094
+ description: Public UUID for the associated custom user
1059
1095
  implementation_id:
1060
1096
  type: string
1061
1097
  description: Implementation ID (was selected_api)
@@ -1269,6 +1305,15 @@ paths:
1269
1305
  requiredScopes:
1270
1306
  - credentials
1271
1307
  parameters:
1308
+ - schema:
1309
+ type: integer
1310
+ minimum: 1
1311
+ maximum: 100
1312
+ description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
1313
+ required: false
1314
+ description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
1315
+ name: pageSize
1316
+ in: query
1272
1317
  - schema:
1273
1318
  type: integer
1274
1319
  minimum: 1
@@ -1276,7 +1321,7 @@ paths:
1276
1321
  description: "Number of items per page (default: 100, max: 100)"
1277
1322
  required: false
1278
1323
  description: "Number of items per page (default: 100, max: 100)"
1279
- name: pageSize
1324
+ name: page_size
1280
1325
  in: query
1281
1326
  - schema:
1282
1327
  type:
@@ -1506,15 +1551,37 @@ paths:
1506
1551
  tags:
1507
1552
  - Actions
1508
1553
  operationId: v0_list_actions
1509
- security:
1510
- - userJwt: []
1554
+ security: []
1511
1555
  parameters:
1556
+ - schema:
1557
+ type: string
1558
+ description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
1559
+ required: false
1560
+ description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
1561
+ name: appKey
1562
+ in: query
1512
1563
  - schema:
1513
1564
  type: string
1514
1565
  description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
1515
- required: true
1566
+ required: false
1516
1567
  description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
1517
- name: appKey
1568
+ name: app_key
1569
+ in: query
1570
+ - schema:
1571
+ type: string
1572
+ enum:
1573
+ - filter
1574
+ - read
1575
+ - read_bulk
1576
+ - run
1577
+ - search
1578
+ - search_and_write
1579
+ - search_or_write
1580
+ - write
1581
+ description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
1582
+ required: false
1583
+ description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
1584
+ name: actionType
1518
1585
  in: query
1519
1586
  - schema:
1520
1587
  type: string
@@ -1530,7 +1597,7 @@ paths:
1530
1597
  description: Filter actions by type (e.g., 'read', 'write', 'search')
1531
1598
  required: false
1532
1599
  description: Filter actions by type (e.g., 'read', 'write', 'search')
1533
- name: actionType
1600
+ name: action_type
1534
1601
  in: query
1535
1602
  responses:
1536
1603
  "200":
@@ -1568,15 +1635,21 @@ paths:
1568
1635
  tags:
1569
1636
  - Apps
1570
1637
  operationId: v0_list_apps
1571
- security:
1572
- - userJwt: []
1638
+ security: []
1573
1639
  parameters:
1640
+ - schema:
1641
+ type: string
1642
+ description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
1643
+ required: false
1644
+ description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
1645
+ name: appKeys
1646
+ in: query
1574
1647
  - schema:
1575
1648
  type: string
1576
1649
  description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
1577
1650
  required: false
1578
1651
  description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
1579
- name: appKeys
1652
+ name: app_keys
1580
1653
  in: query
1581
1654
  - schema:
1582
1655
  type: string
@@ -1585,13 +1658,21 @@ paths:
1585
1658
  description: Search term to filter apps by name
1586
1659
  name: search
1587
1660
  in: query
1661
+ - schema:
1662
+ type: number
1663
+ minimum: 1
1664
+ description: "Deprecated: Use page_size instead. Number of apps per page"
1665
+ required: false
1666
+ description: "Deprecated: Use page_size instead. Number of apps per page"
1667
+ name: pageSize
1668
+ in: query
1588
1669
  - schema:
1589
1670
  type: number
1590
1671
  minimum: 1
1591
1672
  description: Number of apps per page
1592
1673
  required: false
1593
1674
  description: Number of apps per page
1594
- name: pageSize
1675
+ name: page_size
1595
1676
  in: query
1596
1677
  - schema:
1597
1678
  type: string
@@ -1640,19 +1721,33 @@ paths:
1640
1721
  security:
1641
1722
  - userJwt: []
1642
1723
  parameters:
1724
+ - schema:
1725
+ type: string
1726
+ description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
1727
+ required: false
1728
+ description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
1729
+ name: appKey
1730
+ in: query
1643
1731
  - schema:
1644
1732
  type: string
1645
1733
  description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
1646
1734
  required: false
1647
1735
  description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
1648
- name: appKey
1736
+ name: app_key
1737
+ in: query
1738
+ - schema:
1739
+ type: string
1740
+ description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
1741
+ required: false
1742
+ description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
1743
+ name: authenticationIds
1649
1744
  in: query
1650
1745
  - schema:
1651
1746
  type: string
1652
1747
  description: Comma-separated list of authentication IDs to filter by
1653
1748
  required: false
1654
1749
  description: Comma-separated list of authentication IDs to filter by
1655
- name: authenticationIds
1750
+ name: authentication_ids
1656
1751
  in: query
1657
1752
  - schema:
1658
1753
  type: string
@@ -1668,12 +1763,19 @@ paths:
1668
1763
  description: Filter authentications by exact title match (searches first, then filters locally)
1669
1764
  name: title
1670
1765
  in: query
1766
+ - schema:
1767
+ type: string
1768
+ description: "Deprecated: Use account_id instead. Filter authentications by account ID"
1769
+ required: false
1770
+ description: "Deprecated: Use account_id instead. Filter authentications by account ID"
1771
+ name: accountId
1772
+ in: query
1671
1773
  - schema:
1672
1774
  type: string
1673
1775
  description: Filter authentications by account ID
1674
1776
  required: false
1675
1777
  description: Filter authentications by account ID
1676
- name: accountId
1778
+ name: account_id
1677
1779
  in: query
1678
1780
  - schema:
1679
1781
  type: string
@@ -1682,12 +1784,27 @@ paths:
1682
1784
  description: Filter by owner, 'me' for your own authentications or a specific user ID
1683
1785
  name: owner
1684
1786
  in: query
1787
+ - schema:
1788
+ type: boolean
1789
+ description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
1790
+ required: false
1791
+ description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
1792
+ name: isExpired
1793
+ in: query
1685
1794
  - schema:
1686
1795
  type: boolean
1687
1796
  description: Filter by expired status (true = expired only, false = non-expired only)
1688
1797
  required: false
1689
1798
  description: Filter by expired status (true = expired only, false = non-expired only)
1690
- name: isExpired
1799
+ name: is_expired
1800
+ in: query
1801
+ - schema:
1802
+ type: number
1803
+ minimum: 1
1804
+ description: "Deprecated: Use page_size instead. Number of authentications per page"
1805
+ required: false
1806
+ description: "Deprecated: Use page_size instead. Number of authentications per page"
1807
+ name: pageSize
1691
1808
  in: query
1692
1809
  - schema:
1693
1810
  type: number
@@ -1695,7 +1812,7 @@ paths:
1695
1812
  description: Number of authentications per page
1696
1813
  required: false
1697
1814
  description: Number of authentications per page
1698
- name: pageSize
1815
+ name: page_size
1699
1816
  in: query
1700
1817
  - schema:
1701
1818
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-core",
3
- "version": "0.8.0",
3
+ "version": "0.9.2",
4
4
  "description": "Core schemas and TypeScript types for the Zapier SDK API",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Zapier, Inc.",
@@ -83,7 +83,7 @@
83
83
  "LICENSE"
84
84
  ],
85
85
  "dependencies": {
86
- "zod": "^4.0.0"
86
+ "zod": "4.3.6"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@asteasolutions/zod-to-openapi": "^8.1.0",