@zapier/zapier-sdk 0.61.0 → 0.62.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 (32) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +82 -0
  3. package/dist/experimental.cjs +198 -2
  4. package/dist/experimental.d.mts +96 -2
  5. package/dist/experimental.d.ts +94 -0
  6. package/dist/experimental.d.ts.map +1 -1
  7. package/dist/experimental.js +4 -0
  8. package/dist/experimental.mjs +198 -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/getDurableRun/index.d.ts +89 -0
  15. package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -0
  16. package/dist/plugins/codeSubstrate/getDurableRun/index.js +20 -0
  17. package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +178 -0
  18. package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts.map +1 -0
  19. package/dist/plugins/codeSubstrate/getDurableRun/schemas.js +130 -0
  20. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +55 -0
  21. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -0
  22. package/dist/plugins/codeSubstrate/listDurableRuns/index.js +27 -0
  23. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts +73 -0
  24. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts.map +1 -0
  25. package/dist/plugins/codeSubstrate/listDurableRuns/schemas.js +59 -0
  26. package/dist/resolvers/durableRunId.d.ts +4 -0
  27. package/dist/resolvers/durableRunId.d.ts.map +1 -0
  28. package/dist/resolvers/durableRunId.js +14 -0
  29. package/dist/resolvers/index.d.ts +1 -0
  30. package/dist/resolvers/index.d.ts.map +1 -1
  31. package/dist/resolvers/index.js +1 -0
  32. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.62.0
4
+
5
+ ### Minor Changes
6
+
7
+ - eb9b408: Add the durable-run-read experimental code-substrate plugins: `listDurableRuns` and `getDurableRun`. Both are registered only in `@zapier/zapier-sdk/experimental`; the stable subpath does not expose them. `listDurableRuns` is paginated (cursor + pageSize) per the sdkdurableapi `/api/v0/runs` contract; `getDurableRun` returns the full run state with nested execution and operations journal. Handlers pass API responses through verbatim (no client-side `.parse()` re-emission) so callers see any richer fields the server adds later without an SDK release. Also adds `durableRunIdResolver` in `src/resolvers/durableRunId.ts` so commands that take a run id present an interactive picker via `sdk.listDurableRuns()` in the CLI (uses `toIterable` to pull across pages). Input field naming follows the in-tree convention (`run` rather than the fork's `runId`); input is validated as a UUID at the boundary so non-UUID strings fail with a clear schema error instead of an opaque 500 from the backend's `::uuid` cast.
8
+
3
9
  ## 0.61.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -31,7 +31,9 @@
31
31
  - [`deleteWorkflow`](#deleteworkflow--experimental)
32
32
  - [`disableWorkflow`](#disableworkflow--experimental)
33
33
  - [`enableWorkflow`](#enableworkflow--experimental)
34
+ - [`getDurableRun`](#getdurablerun--experimental)
34
35
  - [`getWorkflow`](#getworkflow--experimental)
36
+ - [`listDurableRuns`](#listdurableruns--experimental)
35
37
  - [`listWorkflows`](#listworkflows--experimental)
36
38
  - [`updateWorkflow`](#updateworkflow--experimental)
37
39
  - [Connections](#connections)
@@ -1199,6 +1201,40 @@ const result = await zapier.enableWorkflow({
1199
1201
  });
1200
1202
  ```
1201
1203
 
1204
+ #### `getDurableRun` 🧪 _experimental_
1205
+
1206
+ Get the full state of a run-once durable run, including its operations journal
1207
+
1208
+ **Parameters:**
1209
+
1210
+ | Name | Type | Required | Default | Possible Values | Description |
1211
+ | --------- | -------- | -------- | ------- | --------------- | -------------- |
1212
+ | `options` | `object` | ✅ | — | — | |
1213
+ | ​ ↳ `run` | `string` | ✅ | — | — | Durable run ID |
1214
+
1215
+ **Returns:** `Promise<DurableRunItem>`
1216
+
1217
+ | Name | Type | Required | Possible Values | Description |
1218
+ | ---------------- | --------- | -------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
1219
+ | `data` | `object` | ✅ | — | |
1220
+ | ​ ↳ `id` | `string` | ✅ | — | Run ID (UUID) |
1221
+ | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1222
+ | ​ ↳ `input` | `string` | ✅ | — | Input data passed to the run |
1223
+ | ​ ↳ `output` | `string` | ✅ | — | Return value, present when status is `finished` |
1224
+ | ​ ↳ `error` | `object` | ✅ | — | Structured error details when the run failed (null otherwise) |
1225
+ | ​ ↳ `execution` | `object` | ✅ | — | Linked execution, including the operations journal. Null while the run is still in `initialized` state. |
1226
+ | ​ ↳ `is_private` | `boolean` | ✅ | — | When true, the run is visible only to the creating user; otherwise visible across the account. |
1227
+ | ​ ↳ `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
1228
+ | ​ ↳ `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
1229
+
1230
+ **Example:**
1231
+
1232
+ ```typescript
1233
+ const { data: durableRun } = await zapier.getDurableRun({
1234
+ run: "example-run",
1235
+ });
1236
+ ```
1237
+
1202
1238
  #### `getWorkflow` 🧪 _experimental_
1203
1239
 
1204
1240
  Get a durable workflow with its current version details and trigger claim status
@@ -1239,6 +1275,52 @@ const { data: workflow } = await zapier.getWorkflow({
1239
1275
  });
1240
1276
  ```
1241
1277
 
1278
+ #### `listDurableRuns` 🧪 _experimental_
1279
+
1280
+ List run-once durable runs for the authenticated account, newest first
1281
+
1282
+ **Parameters:**
1283
+
1284
+ | Name | Type | Required | Default | Possible Values | Description |
1285
+ | -------------- | -------- | -------- | ------- | --------------- | ---------------------------------------------- |
1286
+ | `options` | `object` | ✅ | — | — | |
1287
+ | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of runs per page (max 100) |
1288
+ | ​ ↳ `cursor` | `string` | ❌ | — | — | Pagination cursor |
1289
+ | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
1290
+
1291
+ **Returns:** `Promise<PaginatedResult<DurableRunItem>>`
1292
+
1293
+ | Name | Type | Required | Possible Values | Description |
1294
+ | ------------------ | ---------- | -------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1295
+ | `data[]` | `object[]` | ✅ | — | |
1296
+ | ​ ↳ `id` | `string` | ✅ | — | Run ID (UUID) |
1297
+ | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1298
+ | ​ ↳ `input` | `string` | ✅ | — | Input data passed to the run |
1299
+ | ​ ↳ `output` | `string` | ✅ | — | Return value, present when status is `finished` |
1300
+ | ​ ↳ `error` | `object` | ✅ | — | Structured error details when the run failed (null otherwise) |
1301
+ | ​ ↳ `execution_id` | `string` | ✅ | — | Linked execution ID. Null until the run leaves the `initialized` state. |
1302
+ | ​ ↳ `is_private` | `boolean` | ✅ | — | When true, the run is visible only to the creating user; otherwise visible across the account. |
1303
+ | ​ ↳ `created_at` | `string` | ✅ | — | When the run was created (ISO-8601) |
1304
+ | ​ ↳ `updated_at` | `string` | ✅ | — | When the run was last updated (ISO-8601) |
1305
+ | `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
1306
+
1307
+ **Example:**
1308
+
1309
+ ```typescript
1310
+ // Get first page and a cursor for the second page
1311
+ const { data: durableRuns, nextCursor } = await zapier.listDurableRuns();
1312
+
1313
+ // Or iterate over all pages
1314
+ for await (const page of zapier.listDurableRuns()) {
1315
+ // Do something with each page
1316
+ }
1317
+
1318
+ // Or iterate over individual items across all pages
1319
+ for await (const durableRun of zapier.listDurableRuns().items()) {
1320
+ // Do something with each durableRun
1321
+ }
1322
+ ```
1323
+
1242
1324
  #### `listWorkflows` 🧪 _experimental_
1243
1325
 
1244
1326
  List all active durable workflows for the authenticated account
@@ -2889,7 +2889,7 @@ async function invalidateCredentialsToken(options) {
2889
2889
  }
2890
2890
 
2891
2891
  // src/sdk-version.ts
2892
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.61.0" : void 0) || "unknown";
2892
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.62.0" : void 0) || "unknown";
2893
2893
 
2894
2894
  // src/utils/open-url.ts
2895
2895
  var nodePrefix = "node:";
@@ -4286,6 +4286,21 @@ var workflowIdResolver = {
4286
4286
  })
4287
4287
  };
4288
4288
 
4289
+ // src/resolvers/durableRunId.ts
4290
+ var durableRunIdResolver = {
4291
+ type: "dynamic",
4292
+ fetch: async (sdk) => toIterable(sdk.listDurableRuns()),
4293
+ prompt: (runs) => ({
4294
+ type: "list",
4295
+ name: "run",
4296
+ message: "Select a run:",
4297
+ choices: runs.map((run) => ({
4298
+ name: `${run.id} \u2014 ${run.status}`,
4299
+ value: run.id
4300
+ }))
4301
+ })
4302
+ };
4303
+
4289
4304
  // src/resolvers/triggerMessages.ts
4290
4305
  var triggerMessagesResolver = {
4291
4306
  type: "dynamic",
@@ -10824,6 +10839,186 @@ var deleteWorkflowPlugin = definePlugin(
10824
10839
  }
10825
10840
  })
10826
10841
  );
10842
+ var RunStatusSchema = zod.z.enum(["initialized", "started", "finished", "failed", "cancelled"]).describe(
10843
+ "Run lifecycle status. `finished` / `failed` / `cancelled` are terminal."
10844
+ );
10845
+ var RunErrorSchema = zod.z.object({
10846
+ code: zod.z.string().describe("Machine-readable error category"),
10847
+ message: zod.z.string().describe("Human-readable error summary")
10848
+ }).passthrough().describe(
10849
+ "Structured run error. Always carries `code` and `message`; additional keys may appear depending on the error type."
10850
+ );
10851
+ var RunItemSchema = zod.z.object({
10852
+ id: zod.z.string().describe("Run ID (UUID)"),
10853
+ status: RunStatusSchema,
10854
+ input: zod.z.unknown().describe("Input data passed to the run"),
10855
+ output: zod.z.unknown().nullable().describe("Return value, present when status is `finished`"),
10856
+ error: RunErrorSchema.nullable().describe(
10857
+ "Structured error details when the run failed (null otherwise)"
10858
+ ),
10859
+ execution_id: zod.z.string().nullable().describe(
10860
+ "Linked execution ID. Null until the run leaves the `initialized` state."
10861
+ ),
10862
+ is_private: zod.z.boolean().describe(
10863
+ "When true, the run is visible only to the creating user; otherwise visible across the account."
10864
+ ),
10865
+ created_at: zod.z.string().describe("When the run was created (ISO-8601)"),
10866
+ updated_at: zod.z.string().describe("When the run was last updated (ISO-8601)")
10867
+ });
10868
+ var ListDurableRunsOptionsSchema = zod.z.object({
10869
+ pageSize: zod.z.number().min(1).max(100).optional().describe("Number of runs per page (max 100)"),
10870
+ cursor: zod.z.string().optional().describe("Pagination cursor"),
10871
+ maxItems: zod.z.number().min(1).optional().describe("Maximum total items to return across all pages")
10872
+ }).describe(
10873
+ "List run-once durable runs for the authenticated account, newest first"
10874
+ );
10875
+ zod.z.object({
10876
+ results: zod.z.array(RunItemSchema),
10877
+ meta: zod.z.object({
10878
+ limit: zod.z.number(),
10879
+ cursor: zod.z.string().nullable().optional(),
10880
+ next_cursor: zod.z.string().nullable().optional()
10881
+ }),
10882
+ links: zod.z.object({
10883
+ next: zod.z.string().nullable().optional()
10884
+ }).optional()
10885
+ });
10886
+
10887
+ // src/plugins/codeSubstrate/listDurableRuns/index.ts
10888
+ var listDurableRunsPlugin = definePlugin(
10889
+ (sdk) => createPaginatedPluginMethod(sdk, {
10890
+ ...codeSubstrateDefaults,
10891
+ name: "listDurableRuns",
10892
+ type: "list",
10893
+ itemType: "DurableRun",
10894
+ inputSchema: ListDurableRunsOptionsSchema,
10895
+ outputSchema: RunItemSchema,
10896
+ defaultPageSize: DEFAULT_PAGE_SIZE,
10897
+ handler: async ({ sdk: sdk2, options }) => {
10898
+ const searchParams = {};
10899
+ if (options.pageSize !== void 0) {
10900
+ searchParams.limit = options.pageSize.toString();
10901
+ }
10902
+ if (options.cursor) {
10903
+ searchParams.cursor = options.cursor;
10904
+ }
10905
+ const response = await sdk2.context.api.get(
10906
+ "/sdkdurableapi/api/v0/runs",
10907
+ { searchParams, authRequired: true }
10908
+ );
10909
+ return {
10910
+ data: response.results,
10911
+ nextCursor: response.meta.next_cursor ?? void 0
10912
+ };
10913
+ }
10914
+ })
10915
+ );
10916
+ var OperationTypeSchema = zod.z.enum(["step", "wait", "callback"]).describe(
10917
+ "Operation kind: `step` is a journaled function call; `wait` is a time-based suspension; `callback` is a wait on an external callback."
10918
+ );
10919
+ var OperationStatusSchema = zod.z.enum(["pending", "completed", "failed", "exhausted"]).describe(
10920
+ "Operation lifecycle status. `exhausted` means retries were exceeded."
10921
+ );
10922
+ var OperationSchema = zod.z.object({
10923
+ id: zod.z.string().describe("Operation ID (UUID)"),
10924
+ execution_id: zod.z.string().describe("Parent execution ID"),
10925
+ name: zod.z.string().describe("Operation name as declared by the workflow author"),
10926
+ type: OperationTypeSchema,
10927
+ status: OperationStatusSchema,
10928
+ result: zod.z.unknown().optional().describe("Result value when the operation completed"),
10929
+ error: zod.z.unknown().optional().describe("Error payload when the operation failed"),
10930
+ retry_count: zod.z.number().describe("Number of retry attempts so far"),
10931
+ max_attempts: zod.z.number().optional().describe(
10932
+ "Cap on total attempts for this operation. Absent if no cap applies."
10933
+ ),
10934
+ next_retry_at: zod.z.string().optional().describe("When the next retry will be attempted (ISO-8601)"),
10935
+ resume_at: zod.z.string().optional().describe(
10936
+ "When a `wait` operation resumes (ISO-8601). Set only for type=wait."
10937
+ ),
10938
+ callback_token: zod.z.string().nullable().optional().describe(
10939
+ "Token for delivering a callback. Set only for type=callback; null until the callback URL is materialized."
10940
+ ),
10941
+ payload_schema: zod.z.unknown().optional().describe("JSON Schema describing the expected callback payload"),
10942
+ payload: zod.z.unknown().optional().describe("Payload delivered to a callback operation, when received"),
10943
+ expires_at: zod.z.string().optional().describe("When a callback or wait operation expires (ISO-8601)"),
10944
+ completed_at: zod.z.string().optional().describe("When the operation reached a terminal state (ISO-8601)"),
10945
+ created_at: zod.z.string().describe("When the operation was created (ISO-8601)")
10946
+ });
10947
+ var ExecutionStatusSchema = zod.z.enum(["running", "waiting", "completed", "failed"]).describe(
10948
+ "Execution lifecycle status. `waiting` means blocked on a wait or callback operation."
10949
+ );
10950
+ var ExecutionSummarySchema = zod.z.object({
10951
+ id: zod.z.string().describe("Execution ID (UUID)"),
10952
+ name: zod.z.string().describe("Durable function name"),
10953
+ status: ExecutionStatusSchema,
10954
+ input: zod.z.unknown().describe("Input passed when the execution was created"),
10955
+ output: zod.z.unknown().optional().describe("Return value when status is `completed`"),
10956
+ error: zod.z.unknown().optional().describe("Error details when status is `failed`"),
10957
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe(
10958
+ "Caller-supplied tags (Zap ID, Step ID, Agent ID, etc.) carried alongside the execution"
10959
+ ),
10960
+ created_at: zod.z.string().describe("When the execution was created (ISO-8601)"),
10961
+ summary: zod.z.object({
10962
+ total_attempts: zod.z.number().describe(
10963
+ "Total ticks attempted against this execution across all retries"
10964
+ ),
10965
+ last_error: zod.z.object({
10966
+ code: zod.z.string().describe("Machine-readable error category"),
10967
+ title: zod.z.string().describe("Short error label"),
10968
+ detail: zod.z.string().nullable().optional().describe("Longer-form error detail, when provided")
10969
+ }).passthrough().optional().describe("The most recent error, if the execution has failed once")
10970
+ }).passthrough().nullable().optional().describe(
10971
+ "Aggregate health summary. Null when no attempts have been recorded yet."
10972
+ ),
10973
+ operations: zod.z.array(OperationSchema).optional().describe(
10974
+ "Operations journal \u2014 append-only record of every step/wait/callback the execution made"
10975
+ )
10976
+ });
10977
+ var GetDurableRunOptionsSchema = zod.z.object({
10978
+ run: zod.z.string().uuid().describe("Durable run ID")
10979
+ }).describe(
10980
+ "Get the full state of a run-once durable run, including its operations journal"
10981
+ );
10982
+ var GetDurableRunResponseSchema = zod.z.object({
10983
+ id: zod.z.string().describe("Run ID (UUID)"),
10984
+ status: RunStatusSchema,
10985
+ input: zod.z.unknown().describe("Input data passed to the run"),
10986
+ output: zod.z.unknown().nullable().describe("Return value, present when status is `finished`"),
10987
+ error: RunErrorSchema.nullable().describe(
10988
+ "Structured error details when the run failed (null otherwise)"
10989
+ ),
10990
+ execution: ExecutionSummarySchema.nullable().describe(
10991
+ "Linked execution, including the operations journal. Null while the run is still in `initialized` state."
10992
+ ),
10993
+ is_private: zod.z.boolean().describe(
10994
+ "When true, the run is visible only to the creating user; otherwise visible across the account."
10995
+ ),
10996
+ created_at: zod.z.string().describe("When the run was created (ISO-8601)"),
10997
+ updated_at: zod.z.string().describe("When the run was last updated (ISO-8601)")
10998
+ });
10999
+
11000
+ // src/plugins/codeSubstrate/getDurableRun/index.ts
11001
+ var getDurableRunPlugin = definePlugin(
11002
+ (sdk) => createPluginMethod(sdk, {
11003
+ ...codeSubstrateDefaults,
11004
+ name: "getDurableRun",
11005
+ type: "item",
11006
+ itemType: "DurableRun",
11007
+ inputSchema: GetDurableRunOptionsSchema,
11008
+ outputSchema: GetDurableRunResponseSchema,
11009
+ resolvers: { run: durableRunIdResolver },
11010
+ handler: async ({ sdk: sdk2, options }) => {
11011
+ const data = await sdk2.context.api.get(
11012
+ `/sdkdurableapi/api/v0/runs/${encodeURIComponent(options.run)}`,
11013
+ {
11014
+ authRequired: true,
11015
+ resource: { type: "run", id: options.run }
11016
+ }
11017
+ );
11018
+ return { data };
11019
+ }
11020
+ })
11021
+ );
10827
11022
 
10828
11023
  // src/utils/batch-utils.ts
10829
11024
  var DEFAULT_CONCURRENCY = 10;
@@ -10983,7 +11178,7 @@ var registryPlugin = definePlugin((_sdk) => {
10983
11178
 
10984
11179
  // src/experimental.ts
10985
11180
  function createZapierSdk2(options = {}) {
10986
- return createSdk().addPlugin(createOptionsPlugin(options)).addPlugin(eventEmissionPlugin).addPlugin(apiPlugin).addPlugin(manifestPlugin).addPlugin(capabilitiesPlugin).addPlugin(connectionsPlugin).addPlugin(listAppsPlugin).addPlugin(getAppPlugin).addPlugin(listActionsPlugin).addPlugin(getActionPlugin).addPlugin(listActionInputFieldsPlugin).addPlugin(getActionInputFieldsSchemaPlugin).addPlugin(listActionInputFieldChoicesPlugin).addPlugin(listInputFieldsDeprecatedPlugin).addPlugin(getInputFieldsSchemaDeprecatedPlugin).addPlugin(listInputFieldChoicesDeprecatedPlugin).addPlugin(runActionPlugin).addPlugin(listConnectionsPlugin).addPlugin(getConnectionPlugin).addPlugin(findFirstConnectionPlugin).addPlugin(findUniqueConnectionPlugin).addPlugin(listAuthenticationsPlugin).addPlugin(getAuthenticationPlugin).addPlugin(findFirstAuthenticationPlugin).addPlugin(findUniqueAuthenticationPlugin).addPlugin(listClientCredentialsPlugin).addPlugin(createClientCredentialsPlugin).addPlugin(deleteClientCredentialsPlugin).addPlugin(fetchPlugin).addPlugin(requestPlugin).addPlugin(createTriggerInboxPlugin).addPlugin(ensureTriggerInboxPlugin).addPlugin(listTriggerInboxesPlugin).addPlugin(getTriggerInboxPlugin).addPlugin(updateTriggerInboxPlugin).addPlugin(deleteTriggerInboxPlugin).addPlugin(pauseTriggerInboxPlugin).addPlugin(resumeTriggerInboxPlugin).addPlugin(listTriggerInboxMessagesPlugin).addPlugin(leaseTriggerInboxMessagesPlugin).addPlugin(ackTriggerInboxMessagesPlugin).addPlugin(releaseTriggerInboxMessagesPlugin).addPlugin(drainTriggerInboxPlugin).addPlugin(watchTriggerInboxPlugin).addPlugin(listTriggersPlugin).addPlugin(listTriggerInputFieldsPlugin).addPlugin(listTriggerInputFieldChoicesPlugin).addPlugin(getTriggerInputFieldsSchemaPlugin).addPlugin(listTablesPlugin).addPlugin(getTablePlugin).addPlugin(deleteTablePlugin).addPlugin(createTablePlugin).addPlugin(listTableFieldsPlugin).addPlugin(createTableFieldsPlugin).addPlugin(deleteTableFieldsPlugin).addPlugin(getTableRecordPlugin).addPlugin(listTableRecordsPlugin).addPlugin(createTableRecordsPlugin).addPlugin(deleteTableRecordsPlugin).addPlugin(updateTableRecordsPlugin).addPlugin(listWorkflowsPlugin).addPlugin(getWorkflowPlugin).addPlugin(createWorkflowPlugin).addPlugin(updateWorkflowPlugin).addPlugin(enableWorkflowPlugin).addPlugin(disableWorkflowPlugin).addPlugin(deleteWorkflowPlugin).addPlugin(appsPlugin).addPlugin(getProfilePlugin);
11181
+ return createSdk().addPlugin(createOptionsPlugin(options)).addPlugin(eventEmissionPlugin).addPlugin(apiPlugin).addPlugin(manifestPlugin).addPlugin(capabilitiesPlugin).addPlugin(connectionsPlugin).addPlugin(listAppsPlugin).addPlugin(getAppPlugin).addPlugin(listActionsPlugin).addPlugin(getActionPlugin).addPlugin(listActionInputFieldsPlugin).addPlugin(getActionInputFieldsSchemaPlugin).addPlugin(listActionInputFieldChoicesPlugin).addPlugin(listInputFieldsDeprecatedPlugin).addPlugin(getInputFieldsSchemaDeprecatedPlugin).addPlugin(listInputFieldChoicesDeprecatedPlugin).addPlugin(runActionPlugin).addPlugin(listConnectionsPlugin).addPlugin(getConnectionPlugin).addPlugin(findFirstConnectionPlugin).addPlugin(findUniqueConnectionPlugin).addPlugin(listAuthenticationsPlugin).addPlugin(getAuthenticationPlugin).addPlugin(findFirstAuthenticationPlugin).addPlugin(findUniqueAuthenticationPlugin).addPlugin(listClientCredentialsPlugin).addPlugin(createClientCredentialsPlugin).addPlugin(deleteClientCredentialsPlugin).addPlugin(fetchPlugin).addPlugin(requestPlugin).addPlugin(createTriggerInboxPlugin).addPlugin(ensureTriggerInboxPlugin).addPlugin(listTriggerInboxesPlugin).addPlugin(getTriggerInboxPlugin).addPlugin(updateTriggerInboxPlugin).addPlugin(deleteTriggerInboxPlugin).addPlugin(pauseTriggerInboxPlugin).addPlugin(resumeTriggerInboxPlugin).addPlugin(listTriggerInboxMessagesPlugin).addPlugin(leaseTriggerInboxMessagesPlugin).addPlugin(ackTriggerInboxMessagesPlugin).addPlugin(releaseTriggerInboxMessagesPlugin).addPlugin(drainTriggerInboxPlugin).addPlugin(watchTriggerInboxPlugin).addPlugin(listTriggersPlugin).addPlugin(listTriggerInputFieldsPlugin).addPlugin(listTriggerInputFieldChoicesPlugin).addPlugin(getTriggerInputFieldsSchemaPlugin).addPlugin(listTablesPlugin).addPlugin(getTablePlugin).addPlugin(deleteTablePlugin).addPlugin(createTablePlugin).addPlugin(listTableFieldsPlugin).addPlugin(createTableFieldsPlugin).addPlugin(deleteTableFieldsPlugin).addPlugin(getTableRecordPlugin).addPlugin(listTableRecordsPlugin).addPlugin(createTableRecordsPlugin).addPlugin(deleteTableRecordsPlugin).addPlugin(updateTableRecordsPlugin).addPlugin(listWorkflowsPlugin).addPlugin(getWorkflowPlugin).addPlugin(createWorkflowPlugin).addPlugin(updateWorkflowPlugin).addPlugin(enableWorkflowPlugin).addPlugin(disableWorkflowPlugin).addPlugin(deleteWorkflowPlugin).addPlugin(listDurableRunsPlugin).addPlugin(getDurableRunPlugin).addPlugin(appsPlugin).addPlugin(getProfilePlugin);
10987
11182
  }
10988
11183
 
10989
11184
  exports.ActionKeyPropertySchema = ActionKeyPropertySchema;
@@ -11097,6 +11292,7 @@ exports.deleteClientCredentialsPlugin = deleteClientCredentialsPlugin;
11097
11292
  exports.deleteTableFieldsPlugin = deleteTableFieldsPlugin;
11098
11293
  exports.deleteTablePlugin = deleteTablePlugin;
11099
11294
  exports.deleteTableRecordsPlugin = deleteTableRecordsPlugin;
11295
+ exports.durableRunIdResolver = durableRunIdResolver;
11100
11296
  exports.eventEmissionPlugin = eventEmissionPlugin;
11101
11297
  exports.fetchPlugin = fetchPlugin;
11102
11298
  exports.findFirstConnectionPlugin = findFirstConnectionPlugin;
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, W as WithAddPlugin, P as PluginMeta, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, M as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, b as AddActionEntryOptions, c as AddActionEntryResult, d as ActionEntry, f as findManifestEntry, r as readManifestFromFile, C as CapabilitiesContext, e as PaginatedSdkResult, F as FieldsetItem, g as PositionalMetadata, h as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, i as DynamicResolver, j as WatchTriggerInboxOptions, k as ActionProxy, l as ZapierSdkApps } from './index-iKbnOz6r.mjs';
2
- export { u as Action, bZ as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aB as ActionItem, bc as ActionKeyProperty, aM as ActionKeyPropertySchema, bd as ActionProperty, aN as ActionPropertySchema, as as ActionResolverItem, bo as ActionTimeoutMsProperty, aY as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bb as ActionTypeProperty, aL as ActionTypePropertySchema, bB as ApiError, dj as ApiEvent, cH as ApiPluginOptions, cJ as ApiPluginProvides, v as App, b_ as AppFactoryInput, az as AppItem, b9 as AppKeyProperty, aJ as AppKeyPropertySchema, ba as AppProperty, aK as AppPropertySchema, et as ApplicationLifecycleEventData, bS as ApprovalStatus, bY as AppsPluginProvides, bt as AppsProperty, b1 as AppsPropertySchema, a0 as ArrayResolver, di as AuthEvent, bh as AuthenticationIdProperty, aQ as AuthenticationIdPropertySchema, eB as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cu as CONTEXT_CACHE_MAX_SIZE, ct as CONTEXT_CACHE_TTL_MS, x as Choice, dq as ClientCredentialsObject, dB as ClientCredentialsObjectSchema, K as Connection, dJ as ConnectionEntry, dI as ConnectionEntrySchema, bf as ConnectionIdProperty, aP as ConnectionIdPropertySchema, aA as ConnectionItem, bg as ConnectionProperty, aR as ConnectionPropertySchema, dL as ConnectionsMap, dK as ConnectionsMapSchema, dN as ConnectionsPluginProvides, bv as ConnectionsProperty, b3 as ConnectionsPropertySchema, O as ConnectionsResponse, cg as CreateClientCredentialsPluginProvides, eb as CreateTableFieldsPluginProvides, e5 as CreateTablePluginProvides, ej as CreateTableRecordsPluginProvides, dm as Credentials, dG as CredentialsFunction, dF as CredentialsFunctionSchema, dp as CredentialsObject, dD as CredentialsObjectSchema, dH as CredentialsSchema, dS as DEFAULT_ACTION_TIMEOUT_MS, d_ as DEFAULT_APPROVAL_TIMEOUT_MS, cD as DEFAULT_CONFIG_PATH, d$ as DEFAULT_MAX_APPROVAL_RETRIES, dR as DEFAULT_PAGE_SIZE, bm as DebugProperty, aW as DebugPropertySchema, ci as DeleteClientCredentialsPluginProvides, ed as DeleteTableFieldsPluginProvides, e7 as DeleteTablePluginProvides, el as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, a3 as DynamicListResolver, a4 as DynamicSearchResolver, eu as EnhancedErrorEventData, bC as ErrorOptions, dl as EventCallback, es as EventContext, ep as EventEmissionConfig, er as EventEmissionProvides, c0 as FetchPluginProvides, w as Field, bs as FieldsProperty, b0 as FieldsPropertySchema, a5 as FieldsResolver, s as FindFirstAuthenticationPluginProvides, cq as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cs as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, aG as FunctionOptions, aj as FunctionRegistryEntry, ca as GetActionInputFieldsSchemaPluginProvides, cm as GetActionPluginProvides, ck as GetAppPluginProvides, G as GetAuthenticationPluginProvides, co as GetConnectionPluginProvides, cG as GetProfilePluginProvides, e3 as GetTablePluginProvides, ef as GetTableRecordPluginProvides, aD as InfoFieldItem, aC as InputFieldItem, be as InputFieldProperty, aO as InputFieldPropertySchema, bi as InputsProperty, aS as InputsPropertySchema, bA as LeaseLimitProperty, b8 as LeaseLimitPropertySchema, by as LeaseProperty, b6 as LeasePropertySchema, bz as LeaseSecondsProperty, b7 as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bj as LimitProperty, aT as LimitPropertySchema, c8 as ListActionInputFieldChoicesPluginProvides, c6 as ListActionInputFieldsPluginProvides, c4 as ListActionsPluginProvides, c2 as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, ce as ListClientCredentialsPluginProvides, cc as ListConnectionsPluginProvides, e9 as ListTableFieldsPluginProvides, eh as ListTableRecordsPluginProvides, e1 as ListTablesPluginProvides, dk as LoadingEvent, dV as MAX_CONCURRENCY_LIMIT, dQ as MAX_PAGE_LIMIT, cE as ManifestEntry, cz as ManifestPluginOptions, cC as ManifestPluginProvides, eC as MethodCalledEvent, ev as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bk as OffsetProperty, aU as OffsetPropertySchema, _ as OutputFormatter, bl as OutputProperty, aV as OutputPropertySchema, aI as PaginatedSdkFunction, bn as ParamsProperty, aX as ParamsPropertySchema, dr as PkceCredentialsObject, dC as PkceCredentialsObjectSchema, am as Plugin, an as PluginProvides, aw as PollOptions, bQ as RateLimitInfo, bq as RecordProperty, a_ as RecordPropertySchema, br as RecordsProperty, a$ as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cy as RequestPluginProvides, d5 as ResolveAuthTokenOptions, dw as ResolveCredentialsOptions, dn as ResolvedCredentials, dE as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aE as RootFieldItem, cw as RunActionPluginProvides, dh as SdkEvent, aH as SdkPage, a2 as StaticResolver, bp as TableProperty, aZ as TablePropertySchema, bu as TablesProperty, b2 as TablesPropertySchema, bx as TriggerInboxNameProperty, b5 as TriggerInboxNamePropertySchema, bw as TriggerInboxProperty, b4 as TriggerInboxPropertySchema, T as TriggerMessageStatus, en as UpdateTableRecordsPluginProvides, Q as UserProfile, aF as UserProfileItem, dO as ZAPIER_BASE_URL, dX as ZAPIER_MAX_CONCURRENT_REQUESTS, dT as ZAPIER_MAX_NETWORK_RETRIES, dU as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, bO as ZapierActionError, bE as ZapierApiError, bF as ZapierAppNotFoundError, bT as ZapierApprovalError, bI as ZapierAuthenticationError, bM as ZapierBundleError, dd as ZapierCache, de as ZapierCacheEntry, df as ZapierCacheSetOptions, bL as ZapierConfigurationError, bP as ZapierConflictError, bD as ZapierError, bJ as ZapierNotFoundError, bR as ZapierRateLimitError, bU as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bK as ZapierResourceNotFoundError, bW as ZapierSignal, bN as ZapierTimeoutError, bH as ZapierUnknownError, bG as ZapierValidationError, cM as actionKeyResolver, cL as actionTypeResolver, cI as apiPlugin, cK as appKeyResolver, bX as appsPlugin, cO as authenticationIdGenericResolver, cN as authenticationIdResolver, a9 as batch, ew as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, ey as buildErrorEvent, ex as buildErrorEventWithContext, eA as buildMethodCalledEvent, eo as cleanupEventListeners, d6 as clearTokenCache, cS as clientCredentialsNameResolver, cT as clientIdResolver, ar as composePlugins, cO as connectionIdGenericResolver, cN as connectionIdResolver, dM as connectionsPlugin, ez as createBaseEvent, cf as createClientCredentialsPlugin, V as createFunction, dg as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, ea as createTableFieldsPlugin, e4 as createTablePlugin, ei as createTableRecordsPlugin, ax as createZapierApi, ag as createZapierSdkWithoutRegistry, ao as definePlugin, ch as deleteClientCredentialsPlugin, ec as deleteTableFieldsPlugin, e6 as deleteTablePlugin, ek as deleteTableRecordsPlugin, eq as eventEmissionPlugin, b$ as fetchPlugin, cp as findFirstConnectionPlugin, cr as findUniqueConnectionPlugin, bV as formatErrorMessage, eD as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cl as getActionPlugin, cj as getAppPlugin, dz as getBaseUrlFromCredentials, eJ as getCiPlatform, dA as getClientIdFromCredentials, cn as getConnectionPlugin, eL as getCpuTime, eE as getCurrentTimestamp, eK as getMemoryUsage, ay as getOrCreateApiClient, eG as getOsInfo, eH as getPlatformVersions, cA as getPreferredManifestEntryKey, cF as getProfilePlugin, eF as getReleaseId, e2 as getTablePlugin, ee as getTableRecordPlugin, da as getTokenFromCliLogin, dY as getZapierApprovalMode, dZ as getZapierDefaultApprovalMode, dP as getZapierSdkService, d8 as injectCliLogin, cR as inputFieldKeyResolver, cQ as inputsAllOptionalResolver, cP as inputsResolver, d7 as invalidateCachedToken, dc as invalidateCredentialsToken, eI as isCi, d9 as isCliLoginAvailable, ds as isClientCredentials, dv as isCredentialsFunction, du as isCredentialsObject, dt as isPkceCredentials, S as isPositional, c7 as listActionInputFieldChoicesPlugin, c5 as listActionInputFieldsPlugin, c3 as listActionsPlugin, c1 as listAppsPlugin, cd as listClientCredentialsPlugin, cb as listConnectionsPlugin, e8 as listTableFieldsPlugin, eg as listTableRecordsPlugin, e0 as listTablesPlugin, ac as logDeprecation, cB as manifestPlugin, dW as parseConcurrencyEnvVar, au as registryPlugin, cx as requestPlugin, ad as resetDeprecationWarnings, db as resolveAuthToken, dy as resolveCredentials, dx as resolveCredentialsFromEnv, cv as runActionPlugin, a6 as runWithTelemetryContext, c_ as tableFieldIdsResolver, d0 as tableFieldsResolver, d3 as tableFiltersResolver, cU as tableIdResolver, c$ as tableNameResolver, cY as tableRecordIdResolver, cZ as tableRecordIdsResolver, d1 as tableRecordsResolver, d4 as tableSortResolver, d2 as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, cV as triggerInboxResolver, cX as triggerMessagesResolver, em as updateTableRecordsPlugin, cW as workflowIdResolver } from './index-iKbnOz6r.mjs';
1
+ import { B as BaseSdkOptions, W as WithAddPlugin, P as PluginMeta, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, M as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, b as AddActionEntryOptions, c as AddActionEntryResult, d as ActionEntry, f as findManifestEntry, r as readManifestFromFile, C as CapabilitiesContext, e as PaginatedSdkResult, F as FieldsetItem, g as PositionalMetadata, h as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, i as DynamicResolver, j as WatchTriggerInboxOptions, k as ActionProxy, l as ZapierSdkApps } from './index-3fBEDEsp.mjs';
2
+ export { u as Action, bZ as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aB as ActionItem, bc as ActionKeyProperty, aM as ActionKeyPropertySchema, bd as ActionProperty, aN as ActionPropertySchema, as as ActionResolverItem, bo as ActionTimeoutMsProperty, aY as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bb as ActionTypeProperty, aL as ActionTypePropertySchema, bB as ApiError, dk as ApiEvent, cH as ApiPluginOptions, cJ as ApiPluginProvides, v as App, b_ as AppFactoryInput, az as AppItem, b9 as AppKeyProperty, aJ as AppKeyPropertySchema, ba as AppProperty, aK as AppPropertySchema, eu as ApplicationLifecycleEventData, bS as ApprovalStatus, bY as AppsPluginProvides, bt as AppsProperty, b1 as AppsPropertySchema, a0 as ArrayResolver, dj as AuthEvent, bh as AuthenticationIdProperty, aQ as AuthenticationIdPropertySchema, eC as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cu as CONTEXT_CACHE_MAX_SIZE, ct as CONTEXT_CACHE_TTL_MS, x as Choice, dr as ClientCredentialsObject, dC as ClientCredentialsObjectSchema, K as Connection, dK as ConnectionEntry, dJ as ConnectionEntrySchema, bf as ConnectionIdProperty, aP as ConnectionIdPropertySchema, aA as ConnectionItem, bg as ConnectionProperty, aR as ConnectionPropertySchema, dM as ConnectionsMap, dL as ConnectionsMapSchema, dO as ConnectionsPluginProvides, bv as ConnectionsProperty, b3 as ConnectionsPropertySchema, O as ConnectionsResponse, cg as CreateClientCredentialsPluginProvides, ec as CreateTableFieldsPluginProvides, e6 as CreateTablePluginProvides, ek as CreateTableRecordsPluginProvides, dn as Credentials, dH as CredentialsFunction, dG as CredentialsFunctionSchema, dq as CredentialsObject, dE as CredentialsObjectSchema, dI as CredentialsSchema, dT as DEFAULT_ACTION_TIMEOUT_MS, d$ as DEFAULT_APPROVAL_TIMEOUT_MS, cD as DEFAULT_CONFIG_PATH, e0 as DEFAULT_MAX_APPROVAL_RETRIES, dS as DEFAULT_PAGE_SIZE, bm as DebugProperty, aW as DebugPropertySchema, ci as DeleteClientCredentialsPluginProvides, ee as DeleteTableFieldsPluginProvides, e8 as DeleteTablePluginProvides, em as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, a3 as DynamicListResolver, a4 as DynamicSearchResolver, ev as EnhancedErrorEventData, bC as ErrorOptions, dm as EventCallback, et as EventContext, eq as EventEmissionConfig, es as EventEmissionProvides, c0 as FetchPluginProvides, w as Field, bs as FieldsProperty, b0 as FieldsPropertySchema, a5 as FieldsResolver, s as FindFirstAuthenticationPluginProvides, cq as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cs as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, aG as FunctionOptions, aj as FunctionRegistryEntry, ca as GetActionInputFieldsSchemaPluginProvides, cm as GetActionPluginProvides, ck as GetAppPluginProvides, G as GetAuthenticationPluginProvides, co as GetConnectionPluginProvides, cG as GetProfilePluginProvides, e4 as GetTablePluginProvides, eg as GetTableRecordPluginProvides, aD as InfoFieldItem, aC as InputFieldItem, be as InputFieldProperty, aO as InputFieldPropertySchema, bi as InputsProperty, aS as InputsPropertySchema, bA as LeaseLimitProperty, b8 as LeaseLimitPropertySchema, by as LeaseProperty, b6 as LeasePropertySchema, bz as LeaseSecondsProperty, b7 as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bj as LimitProperty, aT as LimitPropertySchema, c8 as ListActionInputFieldChoicesPluginProvides, c6 as ListActionInputFieldsPluginProvides, c4 as ListActionsPluginProvides, c2 as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, ce as ListClientCredentialsPluginProvides, cc as ListConnectionsPluginProvides, ea as ListTableFieldsPluginProvides, ei as ListTableRecordsPluginProvides, e2 as ListTablesPluginProvides, dl as LoadingEvent, dW as MAX_CONCURRENCY_LIMIT, dR as MAX_PAGE_LIMIT, cE as ManifestEntry, cz as ManifestPluginOptions, cC as ManifestPluginProvides, eD as MethodCalledEvent, ew as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bk as OffsetProperty, aU as OffsetPropertySchema, _ as OutputFormatter, bl as OutputProperty, aV as OutputPropertySchema, aI as PaginatedSdkFunction, bn as ParamsProperty, aX as ParamsPropertySchema, ds as PkceCredentialsObject, dD as PkceCredentialsObjectSchema, am as Plugin, an as PluginProvides, aw as PollOptions, bQ as RateLimitInfo, bq as RecordProperty, a_ as RecordPropertySchema, br as RecordsProperty, a$ as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cy as RequestPluginProvides, d6 as ResolveAuthTokenOptions, dx as ResolveCredentialsOptions, dp as ResolvedCredentials, dF as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aE as RootFieldItem, cw as RunActionPluginProvides, di as SdkEvent, aH as SdkPage, a2 as StaticResolver, bp as TableProperty, aZ as TablePropertySchema, bu as TablesProperty, b2 as TablesPropertySchema, bx as TriggerInboxNameProperty, b5 as TriggerInboxNamePropertySchema, bw as TriggerInboxProperty, b4 as TriggerInboxPropertySchema, T as TriggerMessageStatus, eo as UpdateTableRecordsPluginProvides, Q as UserProfile, aF as UserProfileItem, dP as ZAPIER_BASE_URL, dY as ZAPIER_MAX_CONCURRENT_REQUESTS, dU as ZAPIER_MAX_NETWORK_RETRIES, dV as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, bO as ZapierActionError, bE as ZapierApiError, bF as ZapierAppNotFoundError, bT as ZapierApprovalError, bI as ZapierAuthenticationError, bM as ZapierBundleError, de as ZapierCache, df as ZapierCacheEntry, dg as ZapierCacheSetOptions, bL as ZapierConfigurationError, bP as ZapierConflictError, bD as ZapierError, bJ as ZapierNotFoundError, bR as ZapierRateLimitError, bU as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bK as ZapierResourceNotFoundError, bW as ZapierSignal, bN as ZapierTimeoutError, bH as ZapierUnknownError, bG as ZapierValidationError, cM as actionKeyResolver, cL as actionTypeResolver, cI as apiPlugin, cK as appKeyResolver, bX as appsPlugin, cO as authenticationIdGenericResolver, cN as authenticationIdResolver, a9 as batch, ex as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, ez as buildErrorEvent, ey as buildErrorEventWithContext, eB as buildMethodCalledEvent, ep as cleanupEventListeners, d7 as clearTokenCache, cS as clientCredentialsNameResolver, cT as clientIdResolver, ar as composePlugins, cO as connectionIdGenericResolver, cN as connectionIdResolver, dN as connectionsPlugin, eA as createBaseEvent, cf as createClientCredentialsPlugin, V as createFunction, dh as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, eb as createTableFieldsPlugin, e5 as createTablePlugin, ej as createTableRecordsPlugin, ax as createZapierApi, ag as createZapierSdkWithoutRegistry, ao as definePlugin, ch as deleteClientCredentialsPlugin, ed as deleteTableFieldsPlugin, e7 as deleteTablePlugin, el as deleteTableRecordsPlugin, cX as durableRunIdResolver, er as eventEmissionPlugin, b$ as fetchPlugin, cp as findFirstConnectionPlugin, cr as findUniqueConnectionPlugin, bV as formatErrorMessage, eE as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cl as getActionPlugin, cj as getAppPlugin, dA as getBaseUrlFromCredentials, eK as getCiPlatform, dB as getClientIdFromCredentials, cn as getConnectionPlugin, eM as getCpuTime, eF as getCurrentTimestamp, eL as getMemoryUsage, ay as getOrCreateApiClient, eH as getOsInfo, eI as getPlatformVersions, cA as getPreferredManifestEntryKey, cF as getProfilePlugin, eG as getReleaseId, e3 as getTablePlugin, ef as getTableRecordPlugin, db as getTokenFromCliLogin, dZ as getZapierApprovalMode, d_ as getZapierDefaultApprovalMode, dQ as getZapierSdkService, d9 as injectCliLogin, cR as inputFieldKeyResolver, cQ as inputsAllOptionalResolver, cP as inputsResolver, d8 as invalidateCachedToken, dd as invalidateCredentialsToken, eJ as isCi, da as isCliLoginAvailable, dt as isClientCredentials, dw as isCredentialsFunction, dv as isCredentialsObject, du as isPkceCredentials, S as isPositional, c7 as listActionInputFieldChoicesPlugin, c5 as listActionInputFieldsPlugin, c3 as listActionsPlugin, c1 as listAppsPlugin, cd as listClientCredentialsPlugin, cb as listConnectionsPlugin, e9 as listTableFieldsPlugin, eh as listTableRecordsPlugin, e1 as listTablesPlugin, ac as logDeprecation, cB as manifestPlugin, dX as parseConcurrencyEnvVar, au as registryPlugin, cx as requestPlugin, ad as resetDeprecationWarnings, dc as resolveAuthToken, dz as resolveCredentials, dy as resolveCredentialsFromEnv, cv as runActionPlugin, a6 as runWithTelemetryContext, c$ as tableFieldIdsResolver, d1 as tableFieldsResolver, d4 as tableFiltersResolver, cU as tableIdResolver, d0 as tableNameResolver, cZ as tableRecordIdResolver, c_ as tableRecordIdsResolver, d2 as tableRecordsResolver, d5 as tableSortResolver, d3 as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, cV as triggerInboxResolver, cY as triggerMessagesResolver, en as updateTableRecordsPlugin, cW as workflowIdResolver } from './index-3fBEDEsp.mjs';
3
3
  import * as zod_v4_core from 'zod/v4/core';
4
4
  import * as zod from 'zod';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
@@ -2417,6 +2417,100 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2417
2417
  deleteWorkflow: PluginMeta;
2418
2418
  };
2419
2419
  };
2420
+ } & {
2421
+ listDurableRuns: (options?: ({
2422
+ pageSize?: number | undefined;
2423
+ cursor?: string | undefined;
2424
+ maxItems?: number | undefined;
2425
+ } & {
2426
+ cursor?: string;
2427
+ pageSize?: number;
2428
+ maxItems?: number;
2429
+ }) | undefined) => PaginatedSdkResult<{
2430
+ id: string;
2431
+ status: "initialized" | "started" | "finished" | "failed" | "cancelled";
2432
+ input: unknown;
2433
+ output: unknown;
2434
+ error: {
2435
+ [x: string]: unknown;
2436
+ code: string;
2437
+ message: string;
2438
+ } | null;
2439
+ execution_id: string | null;
2440
+ is_private: boolean;
2441
+ created_at: string;
2442
+ updated_at: string;
2443
+ }>;
2444
+ } & {
2445
+ context: {
2446
+ meta: {
2447
+ listDurableRuns: PluginMeta;
2448
+ };
2449
+ };
2450
+ } & {
2451
+ getDurableRun: (options?: {
2452
+ run: string;
2453
+ } | undefined) => Promise<{
2454
+ data: {
2455
+ id: string;
2456
+ status: "initialized" | "started" | "finished" | "failed" | "cancelled";
2457
+ input: unknown;
2458
+ output: unknown;
2459
+ error: {
2460
+ [x: string]: unknown;
2461
+ code: string;
2462
+ message: string;
2463
+ } | null;
2464
+ execution: {
2465
+ id: string;
2466
+ name: string;
2467
+ status: "failed" | "running" | "waiting" | "completed";
2468
+ input: unknown;
2469
+ created_at: string;
2470
+ output?: unknown;
2471
+ error?: unknown;
2472
+ metadata?: Record<string, unknown> | undefined;
2473
+ summary?: {
2474
+ [x: string]: unknown;
2475
+ total_attempts: number;
2476
+ last_error?: {
2477
+ [x: string]: unknown;
2478
+ code: string;
2479
+ title: string;
2480
+ detail?: string | null | undefined;
2481
+ } | undefined;
2482
+ } | null | undefined;
2483
+ operations?: {
2484
+ id: string;
2485
+ execution_id: string;
2486
+ name: string;
2487
+ type: "step" | "wait" | "callback";
2488
+ status: "failed" | "completed" | "pending" | "exhausted";
2489
+ retry_count: number;
2490
+ created_at: string;
2491
+ result?: unknown;
2492
+ error?: unknown;
2493
+ max_attempts?: number | undefined;
2494
+ next_retry_at?: string | undefined;
2495
+ resume_at?: string | undefined;
2496
+ callback_token?: string | null | undefined;
2497
+ payload_schema?: unknown;
2498
+ payload?: unknown;
2499
+ expires_at?: string | undefined;
2500
+ completed_at?: string | undefined;
2501
+ }[] | undefined;
2502
+ } | null;
2503
+ is_private: boolean;
2504
+ created_at: string;
2505
+ updated_at: string;
2506
+ };
2507
+ }>;
2508
+ } & {
2509
+ context: {
2510
+ meta: {
2511
+ getDurableRun: PluginMeta;
2512
+ };
2513
+ };
2420
2514
  } & {
2421
2515
  apps: ActionProxy & ZapierSdkApps;
2422
2516
  context: {
@@ -2432,6 +2432,100 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2432
2432
  deleteWorkflow: PluginMeta;
2433
2433
  };
2434
2434
  };
2435
+ } & {
2436
+ listDurableRuns: (options?: ({
2437
+ pageSize?: number | undefined;
2438
+ cursor?: string | undefined;
2439
+ maxItems?: number | undefined;
2440
+ } & {
2441
+ cursor?: string;
2442
+ pageSize?: number;
2443
+ maxItems?: number;
2444
+ }) | undefined) => import("./index").PaginatedSdkResult<{
2445
+ id: string;
2446
+ status: "initialized" | "started" | "finished" | "failed" | "cancelled";
2447
+ input: unknown;
2448
+ output: unknown;
2449
+ error: {
2450
+ [x: string]: unknown;
2451
+ code: string;
2452
+ message: string;
2453
+ } | null;
2454
+ execution_id: string | null;
2455
+ is_private: boolean;
2456
+ created_at: string;
2457
+ updated_at: string;
2458
+ }>;
2459
+ } & {
2460
+ context: {
2461
+ meta: {
2462
+ listDurableRuns: PluginMeta;
2463
+ };
2464
+ };
2465
+ } & {
2466
+ getDurableRun: (options?: {
2467
+ run: string;
2468
+ } | undefined) => Promise<{
2469
+ data: {
2470
+ id: string;
2471
+ status: "initialized" | "started" | "finished" | "failed" | "cancelled";
2472
+ input: unknown;
2473
+ output: unknown;
2474
+ error: {
2475
+ [x: string]: unknown;
2476
+ code: string;
2477
+ message: string;
2478
+ } | null;
2479
+ execution: {
2480
+ id: string;
2481
+ name: string;
2482
+ status: "failed" | "waiting" | "completed" | "running";
2483
+ input: unknown;
2484
+ created_at: string;
2485
+ output?: unknown;
2486
+ error?: unknown;
2487
+ metadata?: Record<string, unknown> | undefined;
2488
+ summary?: {
2489
+ [x: string]: unknown;
2490
+ total_attempts: number;
2491
+ last_error?: {
2492
+ [x: string]: unknown;
2493
+ code: string;
2494
+ title: string;
2495
+ detail?: string | null | undefined;
2496
+ } | undefined;
2497
+ } | null | undefined;
2498
+ operations?: {
2499
+ id: string;
2500
+ execution_id: string;
2501
+ name: string;
2502
+ type: "step" | "wait" | "callback";
2503
+ status: "pending" | "failed" | "exhausted" | "completed";
2504
+ retry_count: number;
2505
+ created_at: string;
2506
+ result?: unknown;
2507
+ error?: unknown;
2508
+ max_attempts?: number | undefined;
2509
+ next_retry_at?: string | undefined;
2510
+ resume_at?: string | undefined;
2511
+ callback_token?: string | null | undefined;
2512
+ payload_schema?: unknown;
2513
+ payload?: unknown;
2514
+ expires_at?: string | undefined;
2515
+ completed_at?: string | undefined;
2516
+ }[] | undefined;
2517
+ } | null;
2518
+ is_private: boolean;
2519
+ created_at: string;
2520
+ updated_at: string;
2521
+ };
2522
+ }>;
2523
+ } & {
2524
+ context: {
2525
+ meta: {
2526
+ getDurableRun: PluginMeta;
2527
+ };
2528
+ };
2435
2529
  } & {
2436
2530
  apps: import("./plugins/apps/schemas").ActionProxy & import("./index").ZapierSdkApps;
2437
2531
  context: {
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA+EjD,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D,wBAAgB,eAAe,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAwG4nJ,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAT11J;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAM3D,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -83,6 +83,8 @@ import { updateWorkflowPlugin } from "./plugins/codeSubstrate/updateWorkflow";
83
83
  import { enableWorkflowPlugin } from "./plugins/codeSubstrate/enableWorkflow";
84
84
  import { disableWorkflowPlugin } from "./plugins/codeSubstrate/disableWorkflow";
85
85
  import { deleteWorkflowPlugin } from "./plugins/codeSubstrate/deleteWorkflow";
86
+ import { listDurableRunsPlugin } from "./plugins/codeSubstrate/listDurableRuns";
87
+ import { getDurableRunPlugin } from "./plugins/codeSubstrate/getDurableRun";
86
88
  // Re-export everything from the stable index so callers importing from
87
89
  // the experimental subpath get the full API surface (types, helpers,
88
90
  // errors) without having to import from two paths.
@@ -165,6 +167,8 @@ export function createZapierSdk(options = {}) {
165
167
  .addPlugin(enableWorkflowPlugin)
166
168
  .addPlugin(disableWorkflowPlugin)
167
169
  .addPlugin(deleteWorkflowPlugin)
170
+ .addPlugin(listDurableRunsPlugin)
171
+ .addPlugin(getDurableRunPlugin)
168
172
  // Magic apps plugin
169
173
  .addPlugin(appsPlugin)
170
174
  // Profile