@zapier/zapier-sdk 0.61.0 → 0.63.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +140 -0
  3. package/dist/experimental.cjs +317 -2
  4. package/dist/experimental.d.mts +139 -2
  5. package/dist/experimental.d.ts +137 -0
  6. package/dist/experimental.d.ts.map +1 -1
  7. package/dist/experimental.js +8 -0
  8. package/dist/experimental.mjs +317 -3
  9. package/dist/{index-iKbnOz6r.d.mts → index-3fBEDEsp.d.mts} +25 -1
  10. package/dist/{index-iKbnOz6r.d.ts → index-3fBEDEsp.d.ts} +25 -1
  11. package/dist/index.cjs +17 -1
  12. package/dist/index.d.mts +1 -1
  13. package/dist/index.mjs +17 -2
  14. package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +40 -0
  15. package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +1 -0
  16. package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +27 -0
  17. package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts +11 -0
  18. package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts.map +1 -0
  19. package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.js +12 -0
  20. package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +89 -0
  21. package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -0
  22. package/dist/plugins/codeSubstrate/getDurableRun/index.js +20 -0
  23. package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +178 -0
  24. package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts.map +1 -0
  25. package/dist/plugins/codeSubstrate/getDurableRun/schemas.js +130 -0
  26. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +55 -0
  27. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -0
  28. package/dist/plugins/codeSubstrate/listDurableRuns/index.js +27 -0
  29. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts +73 -0
  30. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts.map +1 -0
  31. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.js +59 -0
  32. package/dist/plugins/codeSubstrate/runDurable/index.d.ts +53 -0
  33. package/dist/plugins/codeSubstrate/runDurable/index.d.ts.map +1 -0
  34. package/dist/plugins/codeSubstrate/runDurable/index.js +36 -0
  35. package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts +24 -0
  36. package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts.map +1 -0
  37. package/dist/plugins/codeSubstrate/runDurable/schemas.js +61 -0
  38. package/dist/resolvers/durableRunId.d.ts +4 -0
  39. package/dist/resolvers/durableRunId.d.ts.map +1 -0
  40. package/dist/resolvers/durableRunId.js +14 -0
  41. package/dist/resolvers/index.d.ts +1 -0
  42. package/dist/resolvers/index.d.ts.map +1 -1
  43. package/dist/resolvers/index.js +1 -0
  44. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ import { definePlugin, createPaginatedPluginMethod, } from "../../../utils/plugin-utils";
2
+ import { DEFAULT_PAGE_SIZE } from "../../../constants";
3
+ import { codeSubstrateDefaults } from "../shared";
4
+ import { ListDurableRunsOptionsSchema, RunItemSchema, } from "./schemas";
5
+ export const listDurableRunsPlugin = definePlugin((sdk) => createPaginatedPluginMethod(sdk, {
6
+ ...codeSubstrateDefaults,
7
+ name: "listDurableRuns",
8
+ type: "list",
9
+ itemType: "DurableRun",
10
+ inputSchema: ListDurableRunsOptionsSchema,
11
+ outputSchema: RunItemSchema,
12
+ defaultPageSize: DEFAULT_PAGE_SIZE,
13
+ handler: async ({ sdk, options }) => {
14
+ const searchParams = {};
15
+ if (options.pageSize !== undefined) {
16
+ searchParams.limit = options.pageSize.toString();
17
+ }
18
+ if (options.cursor) {
19
+ searchParams.cursor = options.cursor;
20
+ }
21
+ const response = await sdk.context.api.get("/sdkdurableapi/api/v0/runs", { searchParams, authRequired: true });
22
+ return {
23
+ data: response.results,
24
+ nextCursor: response.meta.next_cursor ?? undefined,
25
+ };
26
+ },
27
+ }));
@@ -0,0 +1,73 @@
1
+ import { z } from "zod";
2
+ export declare const RunStatusSchema: z.ZodEnum<{
3
+ initialized: "initialized";
4
+ started: "started";
5
+ finished: "finished";
6
+ failed: "failed";
7
+ cancelled: "cancelled";
8
+ }>;
9
+ export type RunStatus = z.infer<typeof RunStatusSchema>;
10
+ export declare const RunErrorSchema: z.ZodObject<{
11
+ code: z.ZodString;
12
+ message: z.ZodString;
13
+ }, z.core.$loose>;
14
+ export type RunError = z.infer<typeof RunErrorSchema>;
15
+ export declare const RunItemSchema: z.ZodObject<{
16
+ id: z.ZodString;
17
+ status: z.ZodEnum<{
18
+ initialized: "initialized";
19
+ started: "started";
20
+ finished: "finished";
21
+ failed: "failed";
22
+ cancelled: "cancelled";
23
+ }>;
24
+ input: z.ZodUnknown;
25
+ output: z.ZodNullable<z.ZodUnknown>;
26
+ error: z.ZodNullable<z.ZodObject<{
27
+ code: z.ZodString;
28
+ message: z.ZodString;
29
+ }, z.core.$loose>>;
30
+ execution_id: z.ZodNullable<z.ZodString>;
31
+ is_private: z.ZodBoolean;
32
+ created_at: z.ZodString;
33
+ updated_at: z.ZodString;
34
+ }, z.core.$strip>;
35
+ export type RunItem = z.infer<typeof RunItemSchema>;
36
+ export declare const ListDurableRunsOptionsSchema: z.ZodObject<{
37
+ pageSize: z.ZodOptional<z.ZodNumber>;
38
+ cursor: z.ZodOptional<z.ZodString>;
39
+ maxItems: z.ZodOptional<z.ZodNumber>;
40
+ }, z.core.$strip>;
41
+ export type ListDurableRunsOptions = z.infer<typeof ListDurableRunsOptionsSchema>;
42
+ export declare const ListDurableRunsApiResponseSchema: z.ZodObject<{
43
+ results: z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ status: z.ZodEnum<{
46
+ initialized: "initialized";
47
+ started: "started";
48
+ finished: "finished";
49
+ failed: "failed";
50
+ cancelled: "cancelled";
51
+ }>;
52
+ input: z.ZodUnknown;
53
+ output: z.ZodNullable<z.ZodUnknown>;
54
+ error: z.ZodNullable<z.ZodObject<{
55
+ code: z.ZodString;
56
+ message: z.ZodString;
57
+ }, z.core.$loose>>;
58
+ execution_id: z.ZodNullable<z.ZodString>;
59
+ is_private: z.ZodBoolean;
60
+ created_at: z.ZodString;
61
+ updated_at: z.ZodString;
62
+ }, z.core.$strip>>;
63
+ meta: z.ZodObject<{
64
+ limit: z.ZodNumber;
65
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ }, z.core.$strip>;
68
+ links: z.ZodOptional<z.ZodObject<{
69
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>;
72
+ export type ListDurableRunsApiResponse = z.infer<typeof ListDurableRunsApiResponseSchema>;
73
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listDurableRuns/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;EAIzB,CAAC;AAEJ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc;;;iBAQxB,CAAC;AAEJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;iBAwBxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,4BAA4B;;;;iBAiBtC,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAY3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { z } from "zod";
2
+ export const RunStatusSchema = z
3
+ .enum(["initialized", "started", "finished", "failed", "cancelled"])
4
+ .describe("Run lifecycle status. `finished` / `failed` / `cancelled` are terminal.");
5
+ export const RunErrorSchema = z
6
+ .object({
7
+ code: z.string().describe("Machine-readable error category"),
8
+ message: z.string().describe("Human-readable error summary"),
9
+ })
10
+ .passthrough()
11
+ .describe("Structured run error. Always carries `code` and `message`; additional keys may appear depending on the error type.");
12
+ export const RunItemSchema = z.object({
13
+ id: z.string().describe("Run ID (UUID)"),
14
+ status: RunStatusSchema,
15
+ input: z.unknown().describe("Input data passed to the run"),
16
+ output: z
17
+ .unknown()
18
+ .nullable()
19
+ .describe("Return value, present when status is `finished`"),
20
+ error: RunErrorSchema.nullable().describe("Structured error details when the run failed (null otherwise)"),
21
+ execution_id: z
22
+ .string()
23
+ .nullable()
24
+ .describe("Linked execution ID. Null until the run leaves the `initialized` state."),
25
+ is_private: z
26
+ .boolean()
27
+ .describe("When true, the run is visible only to the creating user; otherwise visible across the account."),
28
+ created_at: z.string().describe("When the run was created (ISO-8601)"),
29
+ updated_at: z.string().describe("When the run was last updated (ISO-8601)"),
30
+ });
31
+ export const ListDurableRunsOptionsSchema = z
32
+ .object({
33
+ pageSize: z
34
+ .number()
35
+ .min(1)
36
+ .max(100)
37
+ .optional()
38
+ .describe("Number of runs per page (max 100)"),
39
+ cursor: z.string().optional().describe("Pagination cursor"),
40
+ maxItems: z
41
+ .number()
42
+ .min(1)
43
+ .optional()
44
+ .describe("Maximum total items to return across all pages"),
45
+ })
46
+ .describe("List run-once durable runs for the authenticated account, newest first");
47
+ export const ListDurableRunsApiResponseSchema = z.object({
48
+ results: z.array(RunItemSchema),
49
+ meta: z.object({
50
+ limit: z.number(),
51
+ cursor: z.string().nullable().optional(),
52
+ next_cursor: z.string().nullable().optional(),
53
+ }),
54
+ links: z
55
+ .object({
56
+ next: z.string().nullable().optional(),
57
+ })
58
+ .optional(),
59
+ });
@@ -0,0 +1,53 @@
1
+ export declare const runDurablePlugin: (sdk: {
2
+ context: {
3
+ api: import("../../..").ApiClient;
4
+ resolveCredentials: () => Promise<string | {
5
+ clientId: string;
6
+ clientSecret: string;
7
+ type?: "client_credentials" | undefined;
8
+ baseUrl?: string | undefined;
9
+ scope?: string | undefined;
10
+ } | {
11
+ clientId: string;
12
+ type?: "pkce" | undefined;
13
+ baseUrl?: string | undefined;
14
+ scope?: string | undefined;
15
+ } | undefined>;
16
+ };
17
+ } & {
18
+ context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ context: {
21
+ meta: Record<string, import("../../..").PluginMeta>;
22
+ };
23
+ }) => {
24
+ runDurable: (options?: {
25
+ source_files: Record<string, string>;
26
+ input?: unknown;
27
+ dependencies?: Record<string, string> | undefined;
28
+ zapier_durable_version?: string | undefined;
29
+ connections?: Record<string, {
30
+ connection_id: string | number;
31
+ }> | undefined;
32
+ app_versions?: Record<string, {
33
+ implementation_name: string;
34
+ version?: string | undefined;
35
+ }> | undefined;
36
+ private?: boolean | undefined;
37
+ } | undefined) => Promise<{
38
+ data: {
39
+ id: string;
40
+ status: "initialized";
41
+ is_private: boolean;
42
+ created_at: string;
43
+ };
44
+ }>;
45
+ } & {
46
+ context: {
47
+ meta: {
48
+ runDurable: import("../../..").PluginMeta;
49
+ };
50
+ };
51
+ };
52
+ export type RunDurablePluginProvides = ReturnType<typeof runDurablePlugin>;
53
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/runDurable/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC5B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { definePlugin, createPluginMethod } from "../../../utils/plugin-utils";
2
+ import { codeSubstrateDefaults } from "../shared";
3
+ import { RunDurableOptionsSchema, RunDurableResponseSchema, } from "./schemas";
4
+ export const runDurablePlugin = definePlugin((sdk) => createPluginMethod(sdk, {
5
+ ...codeSubstrateDefaults,
6
+ name: "runDurable",
7
+ type: "create",
8
+ itemType: "DurableRun",
9
+ inputSchema: RunDurableOptionsSchema,
10
+ outputSchema: RunDurableResponseSchema,
11
+ handler: async ({ sdk, options }) => {
12
+ const body = {
13
+ source_files: options.source_files,
14
+ };
15
+ if (options.input !== undefined) {
16
+ body.input = options.input;
17
+ }
18
+ if (options.dependencies !== undefined) {
19
+ body.dependencies = options.dependencies;
20
+ }
21
+ if (options.zapier_durable_version !== undefined) {
22
+ body.zapier_durable_version = options.zapier_durable_version;
23
+ }
24
+ if (options.connections !== undefined) {
25
+ body.connections = options.connections;
26
+ }
27
+ if (options.app_versions !== undefined) {
28
+ body.app_versions = options.app_versions;
29
+ }
30
+ if (options.private !== undefined) {
31
+ body.is_private = options.private;
32
+ }
33
+ const data = await sdk.context.api.post("/sdkdurableapi/api/v0/runs", body, { authRequired: true });
34
+ return { data };
35
+ },
36
+ }));
@@ -0,0 +1,24 @@
1
+ import { z } from "zod";
2
+ export declare const RunDurableOptionsSchema: z.ZodObject<{
3
+ source_files: z.ZodRecord<z.ZodString, z.ZodString>;
4
+ input: z.ZodOptional<z.ZodUnknown>;
5
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6
+ zapier_durable_version: z.ZodOptional<z.ZodString>;
7
+ connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8
+ connection_id: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
9
+ }, z.core.$strip>>>;
10
+ app_versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11
+ implementation_name: z.ZodString;
12
+ version: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>>>;
14
+ private: z.ZodOptional<z.ZodBoolean>;
15
+ }, z.core.$strip>;
16
+ export type RunDurableOptions = z.infer<typeof RunDurableOptionsSchema>;
17
+ export declare const RunDurableResponseSchema: z.ZodObject<{
18
+ id: z.ZodString;
19
+ status: z.ZodLiteral<"initialized">;
20
+ is_private: z.ZodBoolean;
21
+ created_at: z.ZodString;
22
+ }, z.core.$strip>;
23
+ export type RunDurableResponse = z.infer<typeof RunDurableResponseSchema>;
24
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/runDurable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;iBAsCjC,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;;;iBAanC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { z } from "zod";
2
+ const ConnectionMapEntrySchema = z.object({
3
+ connection_id: z
4
+ .union([
5
+ z.string().regex(/^[1-9][0-9]*$/, "must be a positive integer string"),
6
+ z.string().uuid("must be a UUID"),
7
+ z.number().int().positive(),
8
+ ])
9
+ .describe("Zapier connection ID. Accepts a positive integer (legacy) or a UUID string (newer connections)."),
10
+ });
11
+ const AppVersionMapEntrySchema = z.object({
12
+ implementation_name: z
13
+ .string()
14
+ .min(1)
15
+ .describe("Zapier app implementation name (e.g. `SlackCLIAPI`)"),
16
+ version: z
17
+ .string()
18
+ .optional()
19
+ .describe("Pinned app version (e.g. `1.27.1`). Latest if omitted."),
20
+ });
21
+ export const RunDurableOptionsSchema = z
22
+ .object({
23
+ source_files: z
24
+ .record(z.string(), z.string())
25
+ .refine((files) => Object.keys(files).length > 0, {
26
+ message: "source_files must contain at least one file",
27
+ })
28
+ .describe("Source files keyed by filename → contents"),
29
+ input: z.unknown().optional().describe("Input data passed to the run"),
30
+ dependencies: z
31
+ .record(z.string(), z.string())
32
+ .optional()
33
+ .describe("Optional npm package dependencies"),
34
+ zapier_durable_version: z
35
+ .string()
36
+ .optional()
37
+ .describe('Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.'),
38
+ connections: z
39
+ .record(z.string(), ConnectionMapEntrySchema)
40
+ .optional()
41
+ .describe("Named connection aliases. Maps alias names to Zapier connection IDs."),
42
+ app_versions: z
43
+ .record(z.string(), AppVersionMapEntrySchema)
44
+ .optional()
45
+ .describe("Pinned app versions. Maps app keys (slugs) to implementation names and versions."),
46
+ private: z
47
+ .boolean()
48
+ .optional()
49
+ .describe("Only the creating user can see the run (default false)"),
50
+ })
51
+ .describe("Run a workflow source file as a run-once durable run on sdkdurableapi (no deployed workflow required). Returns the run ID immediately; poll via getDurableRun for terminal status.");
52
+ export const RunDurableResponseSchema = z.object({
53
+ id: z.string().describe("Run ID (UUID) — server-generated, time-sortable"),
54
+ status: z
55
+ .literal("initialized")
56
+ .describe("Always `initialized` on creation. Poll via getDurableRun to observe the run advancing to `started` / `finished` / `failed` / `cancelled`."),
57
+ is_private: z
58
+ .boolean()
59
+ .describe("When true, the run is visible only to the creating user; otherwise visible across the account."),
60
+ created_at: z.string().describe("When the run was created (ISO-8601)"),
61
+ });
@@ -0,0 +1,4 @@
1
+ import type { DynamicResolver } from "../utils/schema-utils";
2
+ import type { RunItem } from "../plugins/codeSubstrate/listDurableRuns/schemas";
3
+ export declare const durableRunIdResolver: DynamicResolver<RunItem, {}>;
4
+ //# sourceMappingURL=durableRunId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"durableRunId.d.ts","sourceRoot":"","sources":["../../src/resolvers/durableRunId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAUhF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,OAAO,EAAE,EAAE,CAa7D,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { toIterable } from "../utils/pagination-utils";
2
+ export const durableRunIdResolver = {
3
+ type: "dynamic",
4
+ fetch: async (sdk) => toIterable(sdk.listDurableRuns()),
5
+ prompt: (runs) => ({
6
+ type: "list",
7
+ name: "run",
8
+ message: "Select a run:",
9
+ choices: runs.map((run) => ({
10
+ name: `${run.id} — ${run.status}`,
11
+ value: run.id,
12
+ })),
13
+ }),
14
+ };
@@ -13,6 +13,7 @@ export { clientIdResolver } from "./clientId";
13
13
  export { tableIdResolver } from "./tableId";
14
14
  export { triggerInboxResolver } from "./triggerInbox";
15
15
  export { workflowIdResolver } from "./workflowId";
16
+ export { durableRunIdResolver } from "./durableRunId";
16
17
  export { triggerMessagesResolver } from "./triggerMessages";
17
18
  export { tableRecordIdResolver, tableRecordIdsResolver } from "./tableRecordId";
18
19
  export { tableFieldIdsResolver } from "./tableFieldIds";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resolvers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,O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ver } from "./triggerInbox";
17
17
  export { workflowIdResolver } from "./workflowId";
18
+ export { durableRunIdResolver } from "./durableRunId";
18
19
  export { triggerMessagesResolver } from "./triggerMessages";
19
20
  export { tableRecordIdResolver, tableRecordIdsResolver } from "./tableRecordId";
20
21
  export { tableFieldIdsResolver } from "./tableFieldIds";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk",
3
- "version": "0.61.0",
3
+ "version": "0.63.0",
4
4
  "description": "Complete Zapier SDK - combines all Zapier SDK packages",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",