@zapier/zapier-sdk 0.109.1 → 0.110.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.
- package/CHANGELOG.md +21 -0
- package/README.md +124 -35
- package/dist/{chunk-NTUEFDSW.cjs → chunk-IHWWBHBO.cjs} +25 -1
- package/dist/{chunk-6TOSNLPZ.mjs → chunk-KCJZMIEC.mjs} +25 -2
- package/dist/experimental.cjs +519 -395
- package/dist/experimental.d.mts +224 -11
- package/dist/experimental.d.ts +224 -11
- package/dist/experimental.mjs +139 -19
- package/dist/{index-Cum18GPG.d.mts → index-BRxVTixv.d.mts} +3 -1
- package/dist/{index-Cum18GPG.d.ts → index-BRxVTixv.d.ts} +3 -1
- package/dist/index.cjs +283 -279
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-
|
|
2
|
-
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-
|
|
1
|
+
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowDraftRevisionResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-KCJZMIEC.mjs';
|
|
2
|
+
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowDraftRevisionResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-KCJZMIEC.mjs';
|
|
3
3
|
import './chunk-Y6FXYEAI.mjs';
|
|
4
4
|
import { defineMethod, openEnum, defineResolver, defineFormatter, definePlugin, createSdk, CORE_OPTIONS_ID } from '@zapier/kitcore';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -1730,32 +1730,45 @@ var WorkflowRunStatusSchema = z.union([
|
|
|
1730
1730
|
]).describe(
|
|
1731
1731
|
"Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal."
|
|
1732
1732
|
);
|
|
1733
|
-
var
|
|
1734
|
-
id: z.string().describe("Workflow run ID (
|
|
1735
|
-
trigger_id: z.string().nullable().describe(
|
|
1736
|
-
"ID of the trigger that fired this run, if any. Null for runs created without a trigger."
|
|
1737
|
-
),
|
|
1733
|
+
var workflowRunListItemBase = z.object({
|
|
1734
|
+
id: z.string().describe("Workflow run ID (UUIDv7). Unique across live and draft runs."),
|
|
1738
1735
|
durable_run_id: z.string().nullable().describe(
|
|
1739
1736
|
"Linked code-substrate-runner run ID. Null until the durable run is created."
|
|
1740
1737
|
),
|
|
1741
|
-
workflow_version_id: z.string().nullable().describe("Workflow version the run is bound to. Null in rare edge cases."),
|
|
1742
1738
|
status: WorkflowRunStatusSchema,
|
|
1743
1739
|
input: z.unknown().describe("Input passed to the run"),
|
|
1744
|
-
// `output` is intentionally omitted from list items: workflow-run lists no
|
|
1745
|
-
// longer carry the (potentially large/externalized) output payload. Fetch a
|
|
1746
|
-
// single run's output via `getWorkflowRun`. Use `status` to know when it's
|
|
1747
|
-
// available (`finished`/`failed`).
|
|
1748
1740
|
error: z.unknown().nullable().describe("Error payload when status is `failed` (null otherwise)"),
|
|
1749
1741
|
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
1750
1742
|
updated_at: z.string().describe("When the run was last updated (ISO-8601)")
|
|
1751
1743
|
});
|
|
1744
|
+
var LiveWorkflowRunListItemSchema = workflowRunListItemBase.extend({
|
|
1745
|
+
kind: z.literal("live").describe("A run of a published workflow version."),
|
|
1746
|
+
trigger_id: z.string().nullable().describe(
|
|
1747
|
+
"ID of the trigger that fired this run. Null for runs created without a trigger."
|
|
1748
|
+
),
|
|
1749
|
+
workflow_version_id: z.string().nullable().describe("Workflow version the run is bound to. Null in rare edge cases.")
|
|
1750
|
+
});
|
|
1751
|
+
var DraftWorkflowRunListItemSchema = workflowRunListItemBase.extend({
|
|
1752
|
+
kind: z.literal("draft").describe("A run launched from a workflow draft via `runWorkflowDraft`."),
|
|
1753
|
+
workflow_draft_id: z.string().nullable().describe(
|
|
1754
|
+
"The draft this run was launched from. Null once that draft has been deleted (the run outlives its draft)."
|
|
1755
|
+
),
|
|
1756
|
+
draft_revision: z.number().int().describe("The draft's revision at the moment this run was created.")
|
|
1757
|
+
});
|
|
1758
|
+
var WorkflowRunListItemSchema = z.discriminatedUnion("kind", [
|
|
1759
|
+
LiveWorkflowRunListItemSchema,
|
|
1760
|
+
DraftWorkflowRunListItemSchema
|
|
1761
|
+
]);
|
|
1752
1762
|
var ListWorkflowRunsOptionsSchema = z.object({
|
|
1753
1763
|
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
1754
1764
|
pageSize: z.number().int().min(1).max(100).optional().describe("Number of runs per page (max 100)"),
|
|
1765
|
+
kind: z.enum(["live", "draft"]).optional().describe(
|
|
1766
|
+
"Return only runs of this kind. Omit for both, interleaved by recency."
|
|
1767
|
+
),
|
|
1755
1768
|
cursor: z.string().optional().describe("Pagination cursor"),
|
|
1756
1769
|
maxItems: z.number().int().min(1).optional().describe("Maximum total runs to return across all pages")
|
|
1757
1770
|
}).describe(
|
|
1758
|
-
"List workflow runs
|
|
1771
|
+
"List workflow runs for a specific workflow, newest first. Live runs (of published versions) and draft runs share the one list; pass `kind` to narrow it to one."
|
|
1759
1772
|
);
|
|
1760
1773
|
var ListWorkflowRunsApiResponseSchema = z.object({
|
|
1761
1774
|
results: z.array(WorkflowRunListItemSchema),
|
|
@@ -1769,7 +1782,91 @@ var ListWorkflowRunsApiResponseSchema = z.object({
|
|
|
1769
1782
|
}).optional()
|
|
1770
1783
|
});
|
|
1771
1784
|
|
|
1772
|
-
// src/plugins/codeSubstrate/
|
|
1785
|
+
// src/plugins/codeSubstrate/runWorkflowDraft/schemas.ts
|
|
1786
|
+
var RunWorkflowDraftOptionsSchema = z.object({
|
|
1787
|
+
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
1788
|
+
draft: z.string().uuid().describe("Workflow draft ID"),
|
|
1789
|
+
draftRevision: z.number().int().min(0).describe(
|
|
1790
|
+
"The draft revision you intend to run, from the last read of the draft. The server rejects the run with a conflict if the draft has changed since. The upstream API treats this check as optional; the SDK requires it so a test run can never silently execute source the caller has already replaced."
|
|
1791
|
+
),
|
|
1792
|
+
input: JsonPayloadSchema.optional().describe(
|
|
1793
|
+
"Input data passed to the workflow. Accepts any JSON value, or its JSON-string encoding. Omit for a workflow that takes no input."
|
|
1794
|
+
)
|
|
1795
|
+
}).describe(
|
|
1796
|
+
"Launch a draft test run: execute the draft's current source without publishing it. The draft's payload is snapshotted onto the run at creation, so later edits (or discarding the draft) never change what the run executed. Draft runs are free (not task-charged) and rate limited per user. The run is accepted asynchronously \u2014 it comes back `initialized`; follow it with `getWorkflowRun`, or list it via `listWorkflowRuns` with `kind: \"draft\"`."
|
|
1797
|
+
);
|
|
1798
|
+
var RunWorkflowDraftResponseSchema = z.object({
|
|
1799
|
+
id: z.string().describe("Workflow run ID (UUIDv7). Unique across live and draft runs."),
|
|
1800
|
+
kind: z.literal("draft").describe("A run launched from a workflow draft."),
|
|
1801
|
+
workflow_id: z.string().describe("The workflow this run belongs to"),
|
|
1802
|
+
durable_run_id: z.string().nullable().describe(
|
|
1803
|
+
"Linked code-substrate-runner run ID. Usually still null in this response \u2014 the run is accepted and launched in the background."
|
|
1804
|
+
),
|
|
1805
|
+
workflow_draft_id: z.string().nullable().describe(
|
|
1806
|
+
"The draft this run was launched from. Becomes null once that draft is deleted \u2014 the run outlives its draft."
|
|
1807
|
+
),
|
|
1808
|
+
draft_revision: z.number().int().describe("The draft's revision at the moment this run was created."),
|
|
1809
|
+
status: WorkflowRunStatusSchema,
|
|
1810
|
+
input: z.unknown().describe("Input passed to the run"),
|
|
1811
|
+
output: z.unknown().nullable().describe("Return value, present when status is `finished`"),
|
|
1812
|
+
error: z.unknown().nullable().describe("Error payload when status is `failed` (null otherwise)"),
|
|
1813
|
+
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
1814
|
+
updated_at: z.string().describe("When the run was last updated (ISO-8601)")
|
|
1815
|
+
});
|
|
1816
|
+
|
|
1817
|
+
// src/plugins/codeSubstrate/runWorkflowDraft/index.ts
|
|
1818
|
+
var runWorkflowDraftPlugin = defineMethod({
|
|
1819
|
+
...codeSubstrateDefaults,
|
|
1820
|
+
name: "runWorkflowDraft",
|
|
1821
|
+
imports: [apiPluginRef],
|
|
1822
|
+
type: "create",
|
|
1823
|
+
itemType: "WorkflowRun",
|
|
1824
|
+
// The response is the draft variant of the run resource (`kind: "draft"`,
|
|
1825
|
+
// required `workflow_draft_id` / `draft_revision`), not the mixed-kind
|
|
1826
|
+
// `WorkflowRun` item the docs generator derives from itemType.
|
|
1827
|
+
returnType: "RunWorkflowDraftResponse",
|
|
1828
|
+
inputSchema: RunWorkflowDraftOptionsSchema,
|
|
1829
|
+
outputSchema: RunWorkflowDraftResponseSchema,
|
|
1830
|
+
skipOutputValidation: true,
|
|
1831
|
+
output: "item",
|
|
1832
|
+
resolvers: {
|
|
1833
|
+
workflow: workflowIdResolver,
|
|
1834
|
+
draft: workflowDraftIdResolver,
|
|
1835
|
+
draftRevision: workflowDraftRevisionResolver
|
|
1836
|
+
},
|
|
1837
|
+
run: async ({ imports, input }) => {
|
|
1838
|
+
const api = imports.api;
|
|
1839
|
+
const body = {
|
|
1840
|
+
draft_revision: input.draftRevision
|
|
1841
|
+
};
|
|
1842
|
+
if (input.input !== void 0) {
|
|
1843
|
+
body.input = input.input;
|
|
1844
|
+
}
|
|
1845
|
+
const raw = await api.post(
|
|
1846
|
+
`${CODE_SUBSTRATE_WORKFLOWS_API}/workflows/${encodeURIComponent(input.workflow)}/drafts/${encodeURIComponent(input.draft)}/runs`,
|
|
1847
|
+
body,
|
|
1848
|
+
{
|
|
1849
|
+
authRequired: true,
|
|
1850
|
+
resource: { type: "workflow-draft", id: input.draft },
|
|
1851
|
+
// 409 — the draft was edited concurrently (its draft_revision moved
|
|
1852
|
+
// past the caller's). Retryable after re-reading the draft. 429 (the
|
|
1853
|
+
// per-user draft-run rate limit) needs no handling here: the client
|
|
1854
|
+
// retries with backoff and then throws ZapierRateLimitError.
|
|
1855
|
+
customErrorHandler: ({ status, data }) => {
|
|
1856
|
+
if (status === 409) {
|
|
1857
|
+
const detail = extractErrorDetail(data);
|
|
1858
|
+
return new ZapierConflictError(
|
|
1859
|
+
`${detail ?? "Draft run conflict"} \u2014 the draft changed since it was last read. Re-read the draft to get the current draft_revision, then retry the run.`,
|
|
1860
|
+
{ statusCode: status, resourceType: "workflow-draft" }
|
|
1861
|
+
);
|
|
1862
|
+
}
|
|
1863
|
+
return void 0;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
);
|
|
1867
|
+
return { data: RunWorkflowDraftResponseSchema.parse(raw) };
|
|
1868
|
+
}
|
|
1869
|
+
});
|
|
1773
1870
|
var listWorkflowRunsPlugin = defineMethod({
|
|
1774
1871
|
...codeSubstrateDefaults,
|
|
1775
1872
|
name: "listWorkflowRuns",
|
|
@@ -1789,6 +1886,9 @@ var listWorkflowRunsPlugin = defineMethod({
|
|
|
1789
1886
|
if (input.pageSize !== void 0) {
|
|
1790
1887
|
searchParams.limit = input.pageSize.toString();
|
|
1791
1888
|
}
|
|
1889
|
+
if (input.kind !== void 0) {
|
|
1890
|
+
searchParams.kind = input.kind;
|
|
1891
|
+
}
|
|
1792
1892
|
if (input.cursor) {
|
|
1793
1893
|
searchParams.cursor = input.cursor;
|
|
1794
1894
|
}
|
|
@@ -1817,15 +1917,14 @@ var GetWorkflowRunOptionsSchema = z.object({
|
|
|
1817
1917
|
),
|
|
1818
1918
|
run: z.string().uuid().describe("Workflow run ID")
|
|
1819
1919
|
}).describe(
|
|
1820
|
-
"Get the current state of a workflow run
|
|
1920
|
+
"Get the current state of a workflow run \u2014 a live run of a published workflow version, or a draft run launched via `runWorkflowDraft` (the `kind` field says which)"
|
|
1821
1921
|
);
|
|
1822
|
-
var
|
|
1823
|
-
id: z.string().describe("Workflow run ID (
|
|
1824
|
-
|
|
1922
|
+
var workflowRunBase = z.object({
|
|
1923
|
+
id: z.string().describe("Workflow run ID (UUIDv7). Unique across live and draft runs."),
|
|
1924
|
+
workflow_id: z.string().describe("The workflow this run belongs to"),
|
|
1825
1925
|
durable_run_id: z.string().nullable().describe(
|
|
1826
1926
|
"Linked code-substrate-runner run ID. Null until the durable run is created."
|
|
1827
1927
|
),
|
|
1828
|
-
workflow_version_id: z.string().nullable().describe("Workflow version the run is bound to"),
|
|
1829
1928
|
status: WorkflowRunStatusSchema,
|
|
1830
1929
|
input: z.unknown().describe("Input passed to the run"),
|
|
1831
1930
|
output: z.unknown().nullable().describe("Return value, present when status is `finished`"),
|
|
@@ -1833,6 +1932,26 @@ var GetWorkflowRunResponseSchema = z.object({
|
|
|
1833
1932
|
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
1834
1933
|
updated_at: z.string().describe("When the run was last updated (ISO-8601)")
|
|
1835
1934
|
});
|
|
1935
|
+
var LiveWorkflowRunSchema = workflowRunBase.extend({
|
|
1936
|
+
kind: z.literal("live").describe("A run of a published workflow version."),
|
|
1937
|
+
trigger_id: z.string().nullable().describe(
|
|
1938
|
+
"ID of the trigger that fired this run. Null for runs created without a trigger."
|
|
1939
|
+
),
|
|
1940
|
+
workflow_version_id: z.string().nullable().describe("Workflow version the run is bound to. Null in rare edge cases.")
|
|
1941
|
+
});
|
|
1942
|
+
var DraftWorkflowRunSchema = workflowRunBase.extend({
|
|
1943
|
+
kind: z.literal("draft").describe("A run launched from a workflow draft via `runWorkflowDraft`."),
|
|
1944
|
+
workflow_draft_id: z.string().nullable().describe(
|
|
1945
|
+
"The draft this run was launched from. Null once that draft has been deleted (the run outlives its draft)."
|
|
1946
|
+
),
|
|
1947
|
+
draft_revision: z.number().int().describe(
|
|
1948
|
+
"The draft's revision at the moment this run was created. Compare against the draft's current `draft_revision` to tell whether the run still reflects the draft as it now stands."
|
|
1949
|
+
)
|
|
1950
|
+
});
|
|
1951
|
+
var GetWorkflowRunResponseSchema = z.discriminatedUnion("kind", [
|
|
1952
|
+
LiveWorkflowRunSchema,
|
|
1953
|
+
DraftWorkflowRunSchema
|
|
1954
|
+
]);
|
|
1836
1955
|
|
|
1837
1956
|
// src/plugins/codeSubstrate/getWorkflowRun/index.ts
|
|
1838
1957
|
var getWorkflowRunPlugin = defineMethod({
|
|
@@ -3186,6 +3305,7 @@ var zapierExperimentalSdkPlugin = definePlugin({
|
|
|
3186
3305
|
updateWorkflowDraftPlugin,
|
|
3187
3306
|
discardWorkflowDraftPlugin,
|
|
3188
3307
|
publishWorkflowDraftPlugin,
|
|
3308
|
+
runWorkflowDraftPlugin,
|
|
3189
3309
|
listWorkflowRunsPlugin,
|
|
3190
3310
|
getWorkflowRunPlugin,
|
|
3191
3311
|
listDurableRunsPlugin,
|
|
@@ -19029,6 +19029,8 @@ declare const workflowVersionIdResolver: ModelResolver;
|
|
|
19029
19029
|
|
|
19030
19030
|
declare const workflowDraftIdResolver: ModelResolver;
|
|
19031
19031
|
|
|
19032
|
+
declare const workflowDraftRevisionResolver: ModelResolver;
|
|
19033
|
+
|
|
19032
19034
|
declare const workflowRunIdResolver: ModelResolver;
|
|
19033
19035
|
|
|
19034
19036
|
declare const triggerMessagesResolver: ModelResolver;
|
|
@@ -19919,4 +19921,4 @@ declare function getAgent(): string | null;
|
|
|
19919
19921
|
*/
|
|
19920
19922
|
declare const registryPlugin: (_sdk: {}) => {};
|
|
19921
19923
|
|
|
19922
|
-
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierFetchInitOptions as Z, SDK_OPTIONS_ID as _, type CapabilitiesContext as a, LeaseLimitPropertySchema as a$, getCallerContext as a0, runWithCallerContext as a1, type CallerContext as a2, batch as a3, type BatchOptions as a4, buildCapabilityMessage as a5, logDeprecation as a6, resetDeprecationWarnings as a7, RelayRequestSchema as a8, RelayFetchSchema as a9, ActionTypePropertySchema as aA, ActionKeyPropertySchema as aB, ActionPropertySchema as aC, InputFieldPropertySchema as aD, ConnectionIdPropertySchema as aE, AuthenticationIdPropertySchema as aF, ConnectionPropertySchema as aG, InputsPropertySchema as aH, LimitPropertySchema as aI, OffsetPropertySchema as aJ, OutputPropertySchema as aK, DebugPropertySchema as aL, ParamsPropertySchema as aM, ActionTimeoutSecondsPropertySchema as aN, ActionTimeoutMillisecondsPropertySchema as aO, TablePropertySchema as aP, RecordPropertySchema as aQ, RecordsPropertySchema as aR, FieldsPropertySchema as aS, AppsPropertySchema as aT, TablesPropertySchema as aU, ConnectionsPropertySchema as aV, TriggerInboxPropertySchema as aW, TriggerInboxKeyPropertySchema as aX, TriggerInboxNamePropertySchema as aY, LeasePropertySchema as aZ, LeaseSecondsPropertySchema as a_, createZapierSdkWithoutRegistry as aa, zapierCoreOptions as ab, BaseSdkOptionsSchema as ac, type ActionItem as ad, type ActionTypeItem as ae, type ResolvedAppLocator as af, getAgent as ag, registryPlugin as ah, type RequestOptions as ai, type PollOptions as aj, createZapierApi as ak, getOrCreateApiClient as al, isPermanentHttpError as am, type SseMessage as an, type JsonSseMessage as ao, DEPRECATION_NOTICE_EVENT as ap, type DeprecationNoticePayload as aq, type AppItem as ar, type ConnectionItem as as, type ActionItem$1 as at, type InputFieldItem as au, type InfoFieldItem as av, type RootFieldItem as aw, type UserProfileItem as ax, AppKeyPropertySchema as ay, AppPropertySchema as az, type ActionProxy as b, ZapierSignal as b$, type AppKeyProperty as b0, type AppProperty as b1, type ActionTypeProperty as b2, type ActionKeyProperty as b3, type ActionProperty as b4, type InputFieldProperty as b5, type ConnectionIdProperty as b6, type ConnectionProperty as b7, type AuthenticationIdProperty as b8, type InputsProperty as b9, ZapierApiError as bA, ZapierAppNotFoundError as bB, ZapierNotFoundError as bC, ZapierResourceNotFoundError as bD, ZapierConfigurationError as bE, ZapierBundleError as bF, ZapierTimeoutError as bG, ZapierActionError as bH, ZapierConflictError as bI, type RateLimitInfo as bJ, ZapierRateLimitError as bK, type ApprovalStatus as bL, ZapierApprovalError as bM, ZapierRelayError as bN, isZapierError as bO, isZapierValidationError as bP, isZapierAuthenticationError as bQ, isZapierAppNotFoundError as bR, isZapierNotFoundError as bS, isZapierResourceNotFoundError as bT, isZapierConflictError as bU, isZapierTimeoutError as bV, isZapierBundleError as bW, isZapierActionError as bX, isZapierRateLimitError as bY, isZapierApprovalError as bZ, formatErrorMessage as b_, type LimitProperty as ba, type OffsetProperty as bb, type OutputProperty as bc, type DebugProperty as bd, type ParamsProperty as be, type ActionTimeoutSecondsProperty as bf, type ActionTimeoutMillisecondsProperty as bg, type TableProperty as bh, type RecordProperty as bi, type RecordsProperty as bj, type FieldsProperty as bk, type AppsProperty as bl, type TablesProperty as bm, type ConnectionsProperty as bn, type TriggerInboxProperty as bo, type TriggerInboxKeyProperty as bp, type TriggerInboxNameProperty as bq, type LeaseProperty as br, type LeaseSecondsProperty as bs, type LeaseLimitProperty as bt, type ErrorOptions as bu, ZapierError as bv, ZapierValidationError as bw, ZapierUnknownError as bx, ZapierAuthenticationError as by, zapierAdaptError as bz, type ZapierSdkApps as c, clientIdResolver as c$, isZapierSignal as c0, appsPlugin as c1, type ActionExecutionOptions as c2, type AppFactoryInput as c3, type FetchPluginProvides as c4, fetchPlugin as c5, listAppsPlugin as c6, type ListAppsPluginProvides as c7, listActionsPlugin as c8, type ListActionsPluginProvides as c9, findManifestEntry as cA, MANIFEST_ID as cB, manifestPluginRef as cC, manifestPlugin as cD, type UpdateManifestEntryOptions as cE, type UpdateManifestEntryResult as cF, DEFAULT_CONFIG_PATH as cG, type ManifestEntry as cH, type ActionEntry as cI, getProfilePlugin as cJ, type GetProfilePluginProvides as cK, type ApiPluginOptions as cL, API_ID as cM, apiPluginRef as cN, apiPlugin as cO, RESOLVE_CREDENTIALS_ID as cP, resolveCredentialsPluginRef as cQ, resolveCredentialsPlugin as cR, appKeyResolver as cS, actionTypeResolver as cT, actionKeyResolver as cU, connectionIdResolver as cV, connectionIdGenericResolver as cW, inputsResolver as cX, inputsAllOptionalResolver as cY, inputFieldKeyResolver as cZ, clientCredentialsNameResolver as c_, listActionInputFieldsPlugin as ca, type ListActionInputFieldsPluginProvides as cb, listActionInputFieldChoicesPlugin as cc, getActionInputFieldsSchemaPlugin as cd, listConnectionsPlugin as ce, type ListConnectionsPluginProvides as cf, listClientCredentialsPlugin as cg, createClientCredentialsPlugin as ch, deleteClientCredentialsPlugin as ci, getAppPlugin as cj, getActionPlugin as ck, getConnectionPlugin as cl, findFirstConnectionPlugin as cm, findUniqueConnectionPlugin as cn, CONTEXT_CACHE_TTL_MILLISECONDS as co, CONTEXT_CACHE_MAX_SIZE as cp, createActionRunPlugin as cq, type CreateActionRunPluginProvides as cr, getActionRunPlugin as cs, type GetActionRunPluginProvides as ct, runActionPlugin as cu, type RunActionPluginProvides as cv, requestPlugin as cw, type ManifestPluginOptions as cx, readManifestFromFile as cy, getPreferredManifestEntryKey as cz, type DrainTriggerInboxOptions as d, connectionsPluginRef as d$, tableIdResolver as d0, triggerInboxResolver as d1, workflowIdResolver as d2, durableRunIdResolver as d3, workflowVersionIdResolver as d4, workflowDraftIdResolver as d5, workflowRunIdResolver as d6, triggerMessagesResolver as d7, tableRecordIdResolver as d8, tableRecordIdsResolver as d9, type Credentials as dA, type ResolvedCredentials as dB, type CredentialsObject as dC, type ClientCredentialsObject as dD, type PkceCredentialsObject as dE, isClientCredentials as dF, isPkceCredentials as dG, isCredentialsObject as dH, isCredentialsFunction as dI, type ResolveCredentialsOptions as dJ, resolveCredentialsFromEnv as dK, resolveCredentials as dL, getBaseUrlFromCredentials as dM, getClientIdFromCredentials as dN, ClientCredentialsObjectSchema as dO, PkceCredentialsObjectSchema as dP, CredentialsObjectSchema as dQ, ResolvedCredentialsSchema as dR, CredentialsFunctionSchema as dS, type CredentialsFunction as dT, CredentialsSchema as dU, ConnectionEntrySchema as dV, type ConnectionEntry as dW, ConnectionsMapSchema as dX, type ConnectionsMap as dY, type ResolveConnection as dZ, CONNECTIONS_ID as d_, tableFieldIdsResolver as da, tableNameResolver as db, tableFieldsResolver as dc, tableRecordsResolver as dd, tableUpdateRecordsResolver as de, tableFiltersResolver as df, tableSortResolver as dg, type ResolveAuthTokenOptions as dh, AuthMechanism as di, type ResolvedAuth as dj, clearTokenCache as dk, invalidateCachedToken as dl, injectCliLogin as dm, isCliLoginAvailable as dn, getTokenFromCliLogin as dp, resolveAuth as dq, resolveAuthToken as dr, invalidateCredentialsToken as ds, type ZapierCacheEntry as dt, type ZapierCacheSetOptions as du, createMemoryCache as dv, type SdkEvent as dw, type AuthEvent as dx, type ApiEvent as dy, type LoadingEvent as dz, type Manifest as e, connectionsPlugin as e0, ZAPIER_BASE_URL as e1, getZapierSdkService as e2, getZapierCorrelationId as e3, getZapierCausationId as e4, MAX_PAGE_LIMIT as e5, DEFAULT_PAGE_SIZE as e6, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as e7, ACTION_RUNS_PATH as e8, ZAPIER_MAX_NETWORK_RETRIES as e9, eventEmissionPlugin as eA, eventEmissionHookPlugin as eB, type EventContext as eC, type ApplicationLifecycleEventData as eD, type EnhancedErrorEventData as eE, type MethodCalledEventData as eF, buildApplicationLifecycleEvent as eG, buildErrorEventWithContext as eH, buildErrorEvent as eI, createBaseEvent as eJ, buildMethodCalledEvent as eK, type MethodCalledEvent as eL, operationAnnotatorPlugin as eM, generateEventId as eN, getCurrentTimestamp as eO, getReleaseId as eP, getOsInfo as eQ, getPlatformVersions as eR, isCi as eS, getCiPlatform as eT, getMemoryUsage as eU, getCpuTime as eV, getTtyContext as eW, createZapierSdk as eX, type ZapierSdkOptions as eY, type ZapierSdk as eZ, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as ea, MAX_CONCURRENCY_LIMIT as eb, parseConcurrencyEnvVar as ec, ZAPIER_MAX_CONCURRENT_REQUESTS as ed, getZapierApprovalMode as ee, getZapierOpenAutoModeApprovalsInBrowser as ef, getZapierDefaultApprovalMode as eg, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eh, DEFAULT_MAX_APPROVAL_RETRIES as ei, listTablesPlugin as ej, getTablePlugin as ek, createTablePlugin as el, deleteTablePlugin as em, listTableFieldsPlugin as en, createTableFieldsPlugin as eo, deleteTableFieldsPlugin as ep, getTableRecordPlugin as eq, listTableRecordsPlugin as er, createTableRecordsPlugin as es, deleteTableRecordsPlugin as et, updateTableRecordsPlugin as eu, cleanupEventListeners as ev, type EventEmissionContext as ew, type EventEmitter as ex, EVENT_EMISSION_ID as ey, eventEmissionPluginRef as ez, type EventEmissionConfig as f, type ZapierCache as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
19924
|
+
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierFetchInitOptions as Z, SDK_OPTIONS_ID as _, type CapabilitiesContext as a, LeaseLimitPropertySchema as a$, getCallerContext as a0, runWithCallerContext as a1, type CallerContext as a2, batch as a3, type BatchOptions as a4, buildCapabilityMessage as a5, logDeprecation as a6, resetDeprecationWarnings as a7, RelayRequestSchema as a8, RelayFetchSchema as a9, ActionTypePropertySchema as aA, ActionKeyPropertySchema as aB, ActionPropertySchema as aC, InputFieldPropertySchema as aD, ConnectionIdPropertySchema as aE, AuthenticationIdPropertySchema as aF, ConnectionPropertySchema as aG, InputsPropertySchema as aH, LimitPropertySchema as aI, OffsetPropertySchema as aJ, OutputPropertySchema as aK, DebugPropertySchema as aL, ParamsPropertySchema as aM, ActionTimeoutSecondsPropertySchema as aN, ActionTimeoutMillisecondsPropertySchema as aO, TablePropertySchema as aP, RecordPropertySchema as aQ, RecordsPropertySchema as aR, FieldsPropertySchema as aS, AppsPropertySchema as aT, TablesPropertySchema as aU, ConnectionsPropertySchema as aV, TriggerInboxPropertySchema as aW, TriggerInboxKeyPropertySchema as aX, TriggerInboxNamePropertySchema as aY, LeasePropertySchema as aZ, LeaseSecondsPropertySchema as a_, createZapierSdkWithoutRegistry as aa, zapierCoreOptions as ab, BaseSdkOptionsSchema as ac, type ActionItem as ad, type ActionTypeItem as ae, type ResolvedAppLocator as af, getAgent as ag, registryPlugin as ah, type RequestOptions as ai, type PollOptions as aj, createZapierApi as ak, getOrCreateApiClient as al, isPermanentHttpError as am, type SseMessage as an, type JsonSseMessage as ao, DEPRECATION_NOTICE_EVENT as ap, type DeprecationNoticePayload as aq, type AppItem as ar, type ConnectionItem as as, type ActionItem$1 as at, type InputFieldItem as au, type InfoFieldItem as av, type RootFieldItem as aw, type UserProfileItem as ax, AppKeyPropertySchema as ay, AppPropertySchema as az, type ActionProxy as b, ZapierSignal as b$, type AppKeyProperty as b0, type AppProperty as b1, type ActionTypeProperty as b2, type ActionKeyProperty as b3, type ActionProperty as b4, type InputFieldProperty as b5, type ConnectionIdProperty as b6, type ConnectionProperty as b7, type AuthenticationIdProperty as b8, type InputsProperty as b9, ZapierApiError as bA, ZapierAppNotFoundError as bB, ZapierNotFoundError as bC, ZapierResourceNotFoundError as bD, ZapierConfigurationError as bE, ZapierBundleError as bF, ZapierTimeoutError as bG, ZapierActionError as bH, ZapierConflictError as bI, type RateLimitInfo as bJ, ZapierRateLimitError as bK, type ApprovalStatus as bL, ZapierApprovalError as bM, ZapierRelayError as bN, isZapierError as bO, isZapierValidationError as bP, isZapierAuthenticationError as bQ, isZapierAppNotFoundError as bR, isZapierNotFoundError as bS, isZapierResourceNotFoundError as bT, isZapierConflictError as bU, isZapierTimeoutError as bV, isZapierBundleError as bW, isZapierActionError as bX, isZapierRateLimitError as bY, isZapierApprovalError as bZ, formatErrorMessage as b_, type LimitProperty as ba, type OffsetProperty as bb, type OutputProperty as bc, type DebugProperty as bd, type ParamsProperty as be, type ActionTimeoutSecondsProperty as bf, type ActionTimeoutMillisecondsProperty as bg, type TableProperty as bh, type RecordProperty as bi, type RecordsProperty as bj, type FieldsProperty as bk, type AppsProperty as bl, type TablesProperty as bm, type ConnectionsProperty as bn, type TriggerInboxProperty as bo, type TriggerInboxKeyProperty as bp, type TriggerInboxNameProperty as bq, type LeaseProperty as br, type LeaseSecondsProperty as bs, type LeaseLimitProperty as bt, type ErrorOptions as bu, ZapierError as bv, ZapierValidationError as bw, ZapierUnknownError as bx, ZapierAuthenticationError as by, zapierAdaptError as bz, type ZapierSdkApps as c, clientIdResolver as c$, isZapierSignal as c0, appsPlugin as c1, type ActionExecutionOptions as c2, type AppFactoryInput as c3, type FetchPluginProvides as c4, fetchPlugin as c5, listAppsPlugin as c6, type ListAppsPluginProvides as c7, listActionsPlugin as c8, type ListActionsPluginProvides as c9, findManifestEntry as cA, MANIFEST_ID as cB, manifestPluginRef as cC, manifestPlugin as cD, type UpdateManifestEntryOptions as cE, type UpdateManifestEntryResult as cF, DEFAULT_CONFIG_PATH as cG, type ManifestEntry as cH, type ActionEntry as cI, getProfilePlugin as cJ, type GetProfilePluginProvides as cK, type ApiPluginOptions as cL, API_ID as cM, apiPluginRef as cN, apiPlugin as cO, RESOLVE_CREDENTIALS_ID as cP, resolveCredentialsPluginRef as cQ, resolveCredentialsPlugin as cR, appKeyResolver as cS, actionTypeResolver as cT, actionKeyResolver as cU, connectionIdResolver as cV, connectionIdGenericResolver as cW, inputsResolver as cX, inputsAllOptionalResolver as cY, inputFieldKeyResolver as cZ, clientCredentialsNameResolver as c_, listActionInputFieldsPlugin as ca, type ListActionInputFieldsPluginProvides as cb, listActionInputFieldChoicesPlugin as cc, getActionInputFieldsSchemaPlugin as cd, listConnectionsPlugin as ce, type ListConnectionsPluginProvides as cf, listClientCredentialsPlugin as cg, createClientCredentialsPlugin as ch, deleteClientCredentialsPlugin as ci, getAppPlugin as cj, getActionPlugin as ck, getConnectionPlugin as cl, findFirstConnectionPlugin as cm, findUniqueConnectionPlugin as cn, CONTEXT_CACHE_TTL_MILLISECONDS as co, CONTEXT_CACHE_MAX_SIZE as cp, createActionRunPlugin as cq, type CreateActionRunPluginProvides as cr, getActionRunPlugin as cs, type GetActionRunPluginProvides as ct, runActionPlugin as cu, type RunActionPluginProvides as cv, requestPlugin as cw, type ManifestPluginOptions as cx, readManifestFromFile as cy, getPreferredManifestEntryKey as cz, type DrainTriggerInboxOptions as d, CONNECTIONS_ID as d$, tableIdResolver as d0, triggerInboxResolver as d1, workflowIdResolver as d2, durableRunIdResolver as d3, workflowVersionIdResolver as d4, workflowDraftIdResolver as d5, workflowDraftRevisionResolver as d6, workflowRunIdResolver as d7, triggerMessagesResolver as d8, tableRecordIdResolver as d9, type LoadingEvent as dA, type Credentials as dB, type ResolvedCredentials as dC, type CredentialsObject as dD, type ClientCredentialsObject as dE, type PkceCredentialsObject as dF, isClientCredentials as dG, isPkceCredentials as dH, isCredentialsObject as dI, isCredentialsFunction as dJ, type ResolveCredentialsOptions as dK, resolveCredentialsFromEnv as dL, resolveCredentials as dM, getBaseUrlFromCredentials as dN, getClientIdFromCredentials as dO, ClientCredentialsObjectSchema as dP, PkceCredentialsObjectSchema as dQ, CredentialsObjectSchema as dR, ResolvedCredentialsSchema as dS, CredentialsFunctionSchema as dT, type CredentialsFunction as dU, CredentialsSchema as dV, ConnectionEntrySchema as dW, type ConnectionEntry as dX, ConnectionsMapSchema as dY, type ConnectionsMap as dZ, type ResolveConnection as d_, tableRecordIdsResolver as da, tableFieldIdsResolver as db, tableNameResolver as dc, tableFieldsResolver as dd, tableRecordsResolver as de, tableUpdateRecordsResolver as df, tableFiltersResolver as dg, tableSortResolver as dh, type ResolveAuthTokenOptions as di, AuthMechanism as dj, type ResolvedAuth as dk, clearTokenCache as dl, invalidateCachedToken as dm, injectCliLogin as dn, isCliLoginAvailable as dp, getTokenFromCliLogin as dq, resolveAuth as dr, resolveAuthToken as ds, invalidateCredentialsToken as dt, type ZapierCacheEntry as du, type ZapierCacheSetOptions as dv, createMemoryCache as dw, type SdkEvent as dx, type AuthEvent as dy, type ApiEvent as dz, type Manifest as e, connectionsPluginRef as e0, connectionsPlugin as e1, ZAPIER_BASE_URL as e2, getZapierSdkService as e3, getZapierCorrelationId as e4, getZapierCausationId as e5, MAX_PAGE_LIMIT as e6, DEFAULT_PAGE_SIZE as e7, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as e8, ACTION_RUNS_PATH as e9, eventEmissionPluginRef as eA, eventEmissionPlugin as eB, eventEmissionHookPlugin as eC, type EventContext as eD, type ApplicationLifecycleEventData as eE, type EnhancedErrorEventData as eF, type MethodCalledEventData as eG, buildApplicationLifecycleEvent as eH, buildErrorEventWithContext as eI, buildErrorEvent as eJ, createBaseEvent as eK, buildMethodCalledEvent as eL, type MethodCalledEvent as eM, operationAnnotatorPlugin as eN, generateEventId as eO, getCurrentTimestamp as eP, getReleaseId as eQ, getOsInfo as eR, getPlatformVersions as eS, isCi as eT, getCiPlatform as eU, getMemoryUsage as eV, getCpuTime as eW, getTtyContext as eX, createZapierSdk as eY, type ZapierSdkOptions as eZ, type ZapierSdk as e_, ZAPIER_MAX_NETWORK_RETRIES as ea, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eb, MAX_CONCURRENCY_LIMIT as ec, parseConcurrencyEnvVar as ed, ZAPIER_MAX_CONCURRENT_REQUESTS as ee, getZapierApprovalMode as ef, getZapierOpenAutoModeApprovalsInBrowser as eg, getZapierDefaultApprovalMode as eh, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as ei, DEFAULT_MAX_APPROVAL_RETRIES as ej, listTablesPlugin as ek, getTablePlugin as el, createTablePlugin as em, deleteTablePlugin as en, listTableFieldsPlugin as eo, createTableFieldsPlugin as ep, deleteTableFieldsPlugin as eq, getTableRecordPlugin as er, listTableRecordsPlugin as es, createTableRecordsPlugin as et, deleteTableRecordsPlugin as eu, updateTableRecordsPlugin as ev, cleanupEventListeners as ew, type EventEmissionContext as ex, type EventEmitter as ey, EVENT_EMISSION_ID as ez, type EventEmissionConfig as f, type ZapierCache as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
@@ -19029,6 +19029,8 @@ declare const workflowVersionIdResolver: ModelResolver;
|
|
|
19029
19029
|
|
|
19030
19030
|
declare const workflowDraftIdResolver: ModelResolver;
|
|
19031
19031
|
|
|
19032
|
+
declare const workflowDraftRevisionResolver: ModelResolver;
|
|
19033
|
+
|
|
19032
19034
|
declare const workflowRunIdResolver: ModelResolver;
|
|
19033
19035
|
|
|
19034
19036
|
declare const triggerMessagesResolver: ModelResolver;
|
|
@@ -19919,4 +19921,4 @@ declare function getAgent(): string | null;
|
|
|
19919
19921
|
*/
|
|
19920
19922
|
declare const registryPlugin: (_sdk: {}) => {};
|
|
19921
19923
|
|
|
19922
|
-
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierFetchInitOptions as Z, SDK_OPTIONS_ID as _, type CapabilitiesContext as a, LeaseLimitPropertySchema as a$, getCallerContext as a0, runWithCallerContext as a1, type CallerContext as a2, batch as a3, type BatchOptions as a4, buildCapabilityMessage as a5, logDeprecation as a6, resetDeprecationWarnings as a7, RelayRequestSchema as a8, RelayFetchSchema as a9, ActionTypePropertySchema as aA, ActionKeyPropertySchema as aB, ActionPropertySchema as aC, InputFieldPropertySchema as aD, ConnectionIdPropertySchema as aE, AuthenticationIdPropertySchema as aF, ConnectionPropertySchema as aG, InputsPropertySchema as aH, LimitPropertySchema as aI, OffsetPropertySchema as aJ, OutputPropertySchema as aK, DebugPropertySchema as aL, ParamsPropertySchema as aM, ActionTimeoutSecondsPropertySchema as aN, ActionTimeoutMillisecondsPropertySchema as aO, TablePropertySchema as aP, RecordPropertySchema as aQ, RecordsPropertySchema as aR, FieldsPropertySchema as aS, AppsPropertySchema as aT, TablesPropertySchema as aU, ConnectionsPropertySchema as aV, TriggerInboxPropertySchema as aW, TriggerInboxKeyPropertySchema as aX, TriggerInboxNamePropertySchema as aY, LeasePropertySchema as aZ, LeaseSecondsPropertySchema as a_, createZapierSdkWithoutRegistry as aa, zapierCoreOptions as ab, BaseSdkOptionsSchema as ac, type ActionItem as ad, type ActionTypeItem as ae, type ResolvedAppLocator as af, getAgent as ag, registryPlugin as ah, type RequestOptions as ai, type PollOptions as aj, createZapierApi as ak, getOrCreateApiClient as al, isPermanentHttpError as am, type SseMessage as an, type JsonSseMessage as ao, DEPRECATION_NOTICE_EVENT as ap, type DeprecationNoticePayload as aq, type AppItem as ar, type ConnectionItem as as, type ActionItem$1 as at, type InputFieldItem as au, type InfoFieldItem as av, type RootFieldItem as aw, type UserProfileItem as ax, AppKeyPropertySchema as ay, AppPropertySchema as az, type ActionProxy as b, ZapierSignal as b$, type AppKeyProperty as b0, type AppProperty as b1, type ActionTypeProperty as b2, type ActionKeyProperty as b3, type ActionProperty as b4, type InputFieldProperty as b5, type ConnectionIdProperty as b6, type ConnectionProperty as b7, type AuthenticationIdProperty as b8, type InputsProperty as b9, ZapierApiError as bA, ZapierAppNotFoundError as bB, ZapierNotFoundError as bC, ZapierResourceNotFoundError as bD, ZapierConfigurationError as bE, ZapierBundleError as bF, ZapierTimeoutError as bG, ZapierActionError as bH, ZapierConflictError as bI, type RateLimitInfo as bJ, ZapierRateLimitError as bK, type ApprovalStatus as bL, ZapierApprovalError as bM, ZapierRelayError as bN, isZapierError as bO, isZapierValidationError as bP, isZapierAuthenticationError as bQ, isZapierAppNotFoundError as bR, isZapierNotFoundError as bS, isZapierResourceNotFoundError as bT, isZapierConflictError as bU, isZapierTimeoutError as bV, isZapierBundleError as bW, isZapierActionError as bX, isZapierRateLimitError as bY, isZapierApprovalError as bZ, formatErrorMessage as b_, type LimitProperty as ba, type OffsetProperty as bb, type OutputProperty as bc, type DebugProperty as bd, type ParamsProperty as be, type ActionTimeoutSecondsProperty as bf, type ActionTimeoutMillisecondsProperty as bg, type TableProperty as bh, type RecordProperty as bi, type RecordsProperty as bj, type FieldsProperty as bk, type AppsProperty as bl, type TablesProperty as bm, type ConnectionsProperty as bn, type TriggerInboxProperty as bo, type TriggerInboxKeyProperty as bp, type TriggerInboxNameProperty as bq, type LeaseProperty as br, type LeaseSecondsProperty as bs, type LeaseLimitProperty as bt, type ErrorOptions as bu, ZapierError as bv, ZapierValidationError as bw, ZapierUnknownError as bx, ZapierAuthenticationError as by, zapierAdaptError as bz, type ZapierSdkApps as c, clientIdResolver as c$, isZapierSignal as c0, appsPlugin as c1, type ActionExecutionOptions as c2, type AppFactoryInput as c3, type FetchPluginProvides as c4, fetchPlugin as c5, listAppsPlugin as c6, type ListAppsPluginProvides as c7, listActionsPlugin as c8, type ListActionsPluginProvides as c9, findManifestEntry as cA, MANIFEST_ID as cB, manifestPluginRef as cC, manifestPlugin as cD, type UpdateManifestEntryOptions as cE, type UpdateManifestEntryResult as cF, DEFAULT_CONFIG_PATH as cG, type ManifestEntry as cH, type ActionEntry as cI, getProfilePlugin as cJ, type GetProfilePluginProvides as cK, type ApiPluginOptions as cL, API_ID as cM, apiPluginRef as cN, apiPlugin as cO, RESOLVE_CREDENTIALS_ID as cP, resolveCredentialsPluginRef as cQ, resolveCredentialsPlugin as cR, appKeyResolver as cS, actionTypeResolver as cT, actionKeyResolver as cU, connectionIdResolver as cV, connectionIdGenericResolver as cW, inputsResolver as cX, inputsAllOptionalResolver as cY, inputFieldKeyResolver as cZ, clientCredentialsNameResolver as c_, listActionInputFieldsPlugin as ca, type ListActionInputFieldsPluginProvides as cb, listActionInputFieldChoicesPlugin as cc, getActionInputFieldsSchemaPlugin as cd, listConnectionsPlugin as ce, type ListConnectionsPluginProvides as cf, listClientCredentialsPlugin as cg, createClientCredentialsPlugin as ch, deleteClientCredentialsPlugin as ci, getAppPlugin as cj, getActionPlugin as ck, getConnectionPlugin as cl, findFirstConnectionPlugin as cm, findUniqueConnectionPlugin as cn, CONTEXT_CACHE_TTL_MILLISECONDS as co, CONTEXT_CACHE_MAX_SIZE as cp, createActionRunPlugin as cq, type CreateActionRunPluginProvides as cr, getActionRunPlugin as cs, type GetActionRunPluginProvides as ct, runActionPlugin as cu, type RunActionPluginProvides as cv, requestPlugin as cw, type ManifestPluginOptions as cx, readManifestFromFile as cy, getPreferredManifestEntryKey as cz, type DrainTriggerInboxOptions as d, connectionsPluginRef as d$, tableIdResolver as d0, triggerInboxResolver as d1, workflowIdResolver as d2, durableRunIdResolver as d3, workflowVersionIdResolver as d4, workflowDraftIdResolver as d5, workflowRunIdResolver as d6, triggerMessagesResolver as d7, tableRecordIdResolver as d8, tableRecordIdsResolver as d9, type Credentials as dA, type ResolvedCredentials as dB, type CredentialsObject as dC, type ClientCredentialsObject as dD, type PkceCredentialsObject as dE, isClientCredentials as dF, isPkceCredentials as dG, isCredentialsObject as dH, isCredentialsFunction as dI, type ResolveCredentialsOptions as dJ, resolveCredentialsFromEnv as dK, resolveCredentials as dL, getBaseUrlFromCredentials as dM, getClientIdFromCredentials as dN, ClientCredentialsObjectSchema as dO, PkceCredentialsObjectSchema as dP, CredentialsObjectSchema as dQ, ResolvedCredentialsSchema as dR, CredentialsFunctionSchema as dS, type CredentialsFunction as dT, CredentialsSchema as dU, ConnectionEntrySchema as dV, type ConnectionEntry as dW, ConnectionsMapSchema as dX, type ConnectionsMap as dY, type ResolveConnection as dZ, CONNECTIONS_ID as d_, tableFieldIdsResolver as da, tableNameResolver as db, tableFieldsResolver as dc, tableRecordsResolver as dd, tableUpdateRecordsResolver as de, tableFiltersResolver as df, tableSortResolver as dg, type ResolveAuthTokenOptions as dh, AuthMechanism as di, type ResolvedAuth as dj, clearTokenCache as dk, invalidateCachedToken as dl, injectCliLogin as dm, isCliLoginAvailable as dn, getTokenFromCliLogin as dp, resolveAuth as dq, resolveAuthToken as dr, invalidateCredentialsToken as ds, type ZapierCacheEntry as dt, type ZapierCacheSetOptions as du, createMemoryCache as dv, type SdkEvent as dw, type AuthEvent as dx, type ApiEvent as dy, type LoadingEvent as dz, type Manifest as e, connectionsPlugin as e0, ZAPIER_BASE_URL as e1, getZapierSdkService as e2, getZapierCorrelationId as e3, getZapierCausationId as e4, MAX_PAGE_LIMIT as e5, DEFAULT_PAGE_SIZE as e6, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as e7, ACTION_RUNS_PATH as e8, ZAPIER_MAX_NETWORK_RETRIES as e9, eventEmissionPlugin as eA, eventEmissionHookPlugin as eB, type EventContext as eC, type ApplicationLifecycleEventData as eD, type EnhancedErrorEventData as eE, type MethodCalledEventData as eF, buildApplicationLifecycleEvent as eG, buildErrorEventWithContext as eH, buildErrorEvent as eI, createBaseEvent as eJ, buildMethodCalledEvent as eK, type MethodCalledEvent as eL, operationAnnotatorPlugin as eM, generateEventId as eN, getCurrentTimestamp as eO, getReleaseId as eP, getOsInfo as eQ, getPlatformVersions as eR, isCi as eS, getCiPlatform as eT, getMemoryUsage as eU, getCpuTime as eV, getTtyContext as eW, createZapierSdk as eX, type ZapierSdkOptions as eY, type ZapierSdk as eZ, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as ea, MAX_CONCURRENCY_LIMIT as eb, parseConcurrencyEnvVar as ec, ZAPIER_MAX_CONCURRENT_REQUESTS as ed, getZapierApprovalMode as ee, getZapierOpenAutoModeApprovalsInBrowser as ef, getZapierDefaultApprovalMode as eg, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eh, DEFAULT_MAX_APPROVAL_RETRIES as ei, listTablesPlugin as ej, getTablePlugin as ek, createTablePlugin as el, deleteTablePlugin as em, listTableFieldsPlugin as en, createTableFieldsPlugin as eo, deleteTableFieldsPlugin as ep, getTableRecordPlugin as eq, listTableRecordsPlugin as er, createTableRecordsPlugin as es, deleteTableRecordsPlugin as et, updateTableRecordsPlugin as eu, cleanupEventListeners as ev, type EventEmissionContext as ew, type EventEmitter as ex, EVENT_EMISSION_ID as ey, eventEmissionPluginRef as ez, type EventEmissionConfig as f, type ZapierCache as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
19924
|
+
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierFetchInitOptions as Z, SDK_OPTIONS_ID as _, type CapabilitiesContext as a, LeaseLimitPropertySchema as a$, getCallerContext as a0, runWithCallerContext as a1, type CallerContext as a2, batch as a3, type BatchOptions as a4, buildCapabilityMessage as a5, logDeprecation as a6, resetDeprecationWarnings as a7, RelayRequestSchema as a8, RelayFetchSchema as a9, ActionTypePropertySchema as aA, ActionKeyPropertySchema as aB, ActionPropertySchema as aC, InputFieldPropertySchema as aD, ConnectionIdPropertySchema as aE, AuthenticationIdPropertySchema as aF, ConnectionPropertySchema as aG, InputsPropertySchema as aH, LimitPropertySchema as aI, OffsetPropertySchema as aJ, OutputPropertySchema as aK, DebugPropertySchema as aL, ParamsPropertySchema as aM, ActionTimeoutSecondsPropertySchema as aN, ActionTimeoutMillisecondsPropertySchema as aO, TablePropertySchema as aP, RecordPropertySchema as aQ, RecordsPropertySchema as aR, FieldsPropertySchema as aS, AppsPropertySchema as aT, TablesPropertySchema as aU, ConnectionsPropertySchema as aV, TriggerInboxPropertySchema as aW, TriggerInboxKeyPropertySchema as aX, TriggerInboxNamePropertySchema as aY, LeasePropertySchema as aZ, LeaseSecondsPropertySchema as a_, createZapierSdkWithoutRegistry as aa, zapierCoreOptions as ab, BaseSdkOptionsSchema as ac, type ActionItem as ad, type ActionTypeItem as ae, type ResolvedAppLocator as af, getAgent as ag, registryPlugin as ah, type RequestOptions as ai, type PollOptions as aj, createZapierApi as ak, getOrCreateApiClient as al, isPermanentHttpError as am, type SseMessage as an, type JsonSseMessage as ao, DEPRECATION_NOTICE_EVENT as ap, type DeprecationNoticePayload as aq, type AppItem as ar, type ConnectionItem as as, type ActionItem$1 as at, type InputFieldItem as au, type InfoFieldItem as av, type RootFieldItem as aw, type UserProfileItem as ax, AppKeyPropertySchema as ay, AppPropertySchema as az, type ActionProxy as b, ZapierSignal as b$, type AppKeyProperty as b0, type AppProperty as b1, type ActionTypeProperty as b2, type ActionKeyProperty as b3, type ActionProperty as b4, type InputFieldProperty as b5, type ConnectionIdProperty as b6, type ConnectionProperty as b7, type AuthenticationIdProperty as b8, type InputsProperty as b9, ZapierApiError as bA, ZapierAppNotFoundError as bB, ZapierNotFoundError as bC, ZapierResourceNotFoundError as bD, ZapierConfigurationError as bE, ZapierBundleError as bF, ZapierTimeoutError as bG, ZapierActionError as bH, ZapierConflictError as bI, type RateLimitInfo as bJ, ZapierRateLimitError as bK, type ApprovalStatus as bL, ZapierApprovalError as bM, ZapierRelayError as bN, isZapierError as bO, isZapierValidationError as bP, isZapierAuthenticationError as bQ, isZapierAppNotFoundError as bR, isZapierNotFoundError as bS, isZapierResourceNotFoundError as bT, isZapierConflictError as bU, isZapierTimeoutError as bV, isZapierBundleError as bW, isZapierActionError as bX, isZapierRateLimitError as bY, isZapierApprovalError as bZ, formatErrorMessage as b_, type LimitProperty as ba, type OffsetProperty as bb, type OutputProperty as bc, type DebugProperty as bd, type ParamsProperty as be, type ActionTimeoutSecondsProperty as bf, type ActionTimeoutMillisecondsProperty as bg, type TableProperty as bh, type RecordProperty as bi, type RecordsProperty as bj, type FieldsProperty as bk, type AppsProperty as bl, type TablesProperty as bm, type ConnectionsProperty as bn, type TriggerInboxProperty as bo, type TriggerInboxKeyProperty as bp, type TriggerInboxNameProperty as bq, type LeaseProperty as br, type LeaseSecondsProperty as bs, type LeaseLimitProperty as bt, type ErrorOptions as bu, ZapierError as bv, ZapierValidationError as bw, ZapierUnknownError as bx, ZapierAuthenticationError as by, zapierAdaptError as bz, type ZapierSdkApps as c, clientIdResolver as c$, isZapierSignal as c0, appsPlugin as c1, type ActionExecutionOptions as c2, type AppFactoryInput as c3, type FetchPluginProvides as c4, fetchPlugin as c5, listAppsPlugin as c6, type ListAppsPluginProvides as c7, listActionsPlugin as c8, type ListActionsPluginProvides as c9, findManifestEntry as cA, MANIFEST_ID as cB, manifestPluginRef as cC, manifestPlugin as cD, type UpdateManifestEntryOptions as cE, type UpdateManifestEntryResult as cF, DEFAULT_CONFIG_PATH as cG, type ManifestEntry as cH, type ActionEntry as cI, getProfilePlugin as cJ, type GetProfilePluginProvides as cK, type ApiPluginOptions as cL, API_ID as cM, apiPluginRef as cN, apiPlugin as cO, RESOLVE_CREDENTIALS_ID as cP, resolveCredentialsPluginRef as cQ, resolveCredentialsPlugin as cR, appKeyResolver as cS, actionTypeResolver as cT, actionKeyResolver as cU, connectionIdResolver as cV, connectionIdGenericResolver as cW, inputsResolver as cX, inputsAllOptionalResolver as cY, inputFieldKeyResolver as cZ, clientCredentialsNameResolver as c_, listActionInputFieldsPlugin as ca, type ListActionInputFieldsPluginProvides as cb, listActionInputFieldChoicesPlugin as cc, getActionInputFieldsSchemaPlugin as cd, listConnectionsPlugin as ce, type ListConnectionsPluginProvides as cf, listClientCredentialsPlugin as cg, createClientCredentialsPlugin as ch, deleteClientCredentialsPlugin as ci, getAppPlugin as cj, getActionPlugin as ck, getConnectionPlugin as cl, findFirstConnectionPlugin as cm, findUniqueConnectionPlugin as cn, CONTEXT_CACHE_TTL_MILLISECONDS as co, CONTEXT_CACHE_MAX_SIZE as cp, createActionRunPlugin as cq, type CreateActionRunPluginProvides as cr, getActionRunPlugin as cs, type GetActionRunPluginProvides as ct, runActionPlugin as cu, type RunActionPluginProvides as cv, requestPlugin as cw, type ManifestPluginOptions as cx, readManifestFromFile as cy, getPreferredManifestEntryKey as cz, type DrainTriggerInboxOptions as d, CONNECTIONS_ID as d$, tableIdResolver as d0, triggerInboxResolver as d1, workflowIdResolver as d2, durableRunIdResolver as d3, workflowVersionIdResolver as d4, workflowDraftIdResolver as d5, workflowDraftRevisionResolver as d6, workflowRunIdResolver as d7, triggerMessagesResolver as d8, tableRecordIdResolver as d9, type LoadingEvent as dA, type Credentials as dB, type ResolvedCredentials as dC, type CredentialsObject as dD, type ClientCredentialsObject as dE, type PkceCredentialsObject as dF, isClientCredentials as dG, isPkceCredentials as dH, isCredentialsObject as dI, isCredentialsFunction as dJ, type ResolveCredentialsOptions as dK, resolveCredentialsFromEnv as dL, resolveCredentials as dM, getBaseUrlFromCredentials as dN, getClientIdFromCredentials as dO, ClientCredentialsObjectSchema as dP, PkceCredentialsObjectSchema as dQ, CredentialsObjectSchema as dR, ResolvedCredentialsSchema as dS, CredentialsFunctionSchema as dT, type CredentialsFunction as dU, CredentialsSchema as dV, ConnectionEntrySchema as dW, type ConnectionEntry as dX, ConnectionsMapSchema as dY, type ConnectionsMap as dZ, type ResolveConnection as d_, tableRecordIdsResolver as da, tableFieldIdsResolver as db, tableNameResolver as dc, tableFieldsResolver as dd, tableRecordsResolver as de, tableUpdateRecordsResolver as df, tableFiltersResolver as dg, tableSortResolver as dh, type ResolveAuthTokenOptions as di, AuthMechanism as dj, type ResolvedAuth as dk, clearTokenCache as dl, invalidateCachedToken as dm, injectCliLogin as dn, isCliLoginAvailable as dp, getTokenFromCliLogin as dq, resolveAuth as dr, resolveAuthToken as ds, invalidateCredentialsToken as dt, type ZapierCacheEntry as du, type ZapierCacheSetOptions as dv, createMemoryCache as dw, type SdkEvent as dx, type AuthEvent as dy, type ApiEvent as dz, type Manifest as e, connectionsPluginRef as e0, connectionsPlugin as e1, ZAPIER_BASE_URL as e2, getZapierSdkService as e3, getZapierCorrelationId as e4, getZapierCausationId as e5, MAX_PAGE_LIMIT as e6, DEFAULT_PAGE_SIZE as e7, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as e8, ACTION_RUNS_PATH as e9, eventEmissionPluginRef as eA, eventEmissionPlugin as eB, eventEmissionHookPlugin as eC, type EventContext as eD, type ApplicationLifecycleEventData as eE, type EnhancedErrorEventData as eF, type MethodCalledEventData as eG, buildApplicationLifecycleEvent as eH, buildErrorEventWithContext as eI, buildErrorEvent as eJ, createBaseEvent as eK, buildMethodCalledEvent as eL, type MethodCalledEvent as eM, operationAnnotatorPlugin as eN, generateEventId as eO, getCurrentTimestamp as eP, getReleaseId as eQ, getOsInfo as eR, getPlatformVersions as eS, isCi as eT, getCiPlatform as eU, getMemoryUsage as eV, getCpuTime as eW, getTtyContext as eX, createZapierSdk as eY, type ZapierSdkOptions as eZ, type ZapierSdk as e_, ZAPIER_MAX_NETWORK_RETRIES as ea, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eb, MAX_CONCURRENCY_LIMIT as ec, parseConcurrencyEnvVar as ed, ZAPIER_MAX_CONCURRENT_REQUESTS as ee, getZapierApprovalMode as ef, getZapierOpenAutoModeApprovalsInBrowser as eg, getZapierDefaultApprovalMode as eh, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as ei, DEFAULT_MAX_APPROVAL_RETRIES as ej, listTablesPlugin as ek, getTablePlugin as el, createTablePlugin as em, deleteTablePlugin as en, listTableFieldsPlugin as eo, createTableFieldsPlugin as ep, deleteTableFieldsPlugin as eq, getTableRecordPlugin as er, listTableRecordsPlugin as es, createTableRecordsPlugin as et, deleteTableRecordsPlugin as eu, updateTableRecordsPlugin as ev, cleanupEventListeners as ew, type EventEmissionContext as ex, type EventEmitter as ey, EVENT_EMISSION_ID as ez, type EventEmissionConfig as f, type ZapierCache as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|