@zapier/zapier-sdk 0.80.0 → 0.80.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +6 -6
- package/dist/experimental.cjs +23 -6
- package/dist/experimental.d.mts +2 -2
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.mjs +23 -6
- package/dist/{index-Dpl8IaV9.d.mts → index-DEQqvs2r.d.mts} +4 -0
- package/dist/{index-Dpl8IaV9.d.ts → index-DEQqvs2r.d.ts} +4 -0
- package/dist/index.cjs +5 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.80.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 072fe2b: Decode JSON-string `input` on `triggerWorkflow` and `runDurable`. Their `input`
|
|
8
|
+
field is freeform (`z.unknown()`), which the CLI surfaces as a raw string flag
|
|
9
|
+
and never JSON-parses, so `--input '{"a":1}'` reached the API as a string and
|
|
10
|
+
was double-encoded (server rejected it with `expected object, received string`).
|
|
11
|
+
The input is now normalized at the schema boundary: a `{`/`[`-leading JSON
|
|
12
|
+
string is decoded to its value, while objects and scalar strings pass through
|
|
13
|
+
unchanged. This also fixes programmatic callers passing a JSON string.
|
|
14
|
+
|
|
15
|
+
## 0.80.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 4fd8dce: _This release contains no user-facing changes._
|
|
20
|
+
|
|
3
21
|
## 0.80.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1712,7 +1712,7 @@ Run a workflow source file as a run-once durable run on sdkdurableapi (no deploy
|
|
|
1712
1712
|
| -------------------------- | ---------- | -------- | ------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1713
1713
|
| `options` | `object` | ✅ | — | — | |
|
|
1714
1714
|
| ↳ `sourceFiles` | `object` | ✅ | — | — | Source files keyed by filename → contents |
|
|
1715
|
-
| ↳ `input` | `unknown` | ❌ | — | — | Input data passed to the run
|
|
1715
|
+
| ↳ `input` | `unknown` | ❌ | — | — | Input data passed to the run. Accepts any JSON value, or its JSON-string encoding. |
|
|
1716
1716
|
| ↳ `dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
|
|
1717
1717
|
| ↳ `zapierDurableVersion` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
|
|
1718
1718
|
| ↳ `connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`. |
|
|
@@ -1748,11 +1748,11 @@ Look up a workflow's trigger URL and fire it manually, as the authenticated acco
|
|
|
1748
1748
|
|
|
1749
1749
|
**Parameters:**
|
|
1750
1750
|
|
|
1751
|
-
| Name | Type | Required | Default | Possible Values | Description
|
|
1752
|
-
| -------------- | --------- | -------- | ------- | --------------- |
|
|
1753
|
-
| `options` | `object` | ✅ | — | — |
|
|
1754
|
-
| ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID
|
|
1755
|
-
| ↳ `input` | `unknown` | ❌ | — | — | JSON payload delivered as the trigger body. Sent as `application/json`; omit to fire with an empty body. |
|
|
1751
|
+
| Name | Type | Required | Default | Possible Values | Description |
|
|
1752
|
+
| -------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1753
|
+
| `options` | `object` | ✅ | — | — | |
|
|
1754
|
+
| ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
|
|
1755
|
+
| ↳ `input` | `unknown` | ❌ | — | — | JSON payload delivered as the trigger body. Accepts any JSON value, or its JSON-string encoding. Sent as `application/json`; omit to fire with an empty body. |
|
|
1756
1756
|
|
|
1757
1757
|
**Returns:** `Promise<WorkflowRunItem>`
|
|
1758
1758
|
|
package/dist/experimental.cjs
CHANGED
|
@@ -5216,7 +5216,7 @@ function parseDeprecationDate(value) {
|
|
|
5216
5216
|
}
|
|
5217
5217
|
|
|
5218
5218
|
// src/sdk-version.ts
|
|
5219
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.
|
|
5219
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.2" : void 0) || "unknown";
|
|
5220
5220
|
|
|
5221
5221
|
// src/utils/open-url.ts
|
|
5222
5222
|
var nodePrefix = "node:";
|
|
@@ -6502,7 +6502,8 @@ function getOrCreateApiClient(config) {
|
|
|
6502
6502
|
token,
|
|
6503
6503
|
api: providedApi,
|
|
6504
6504
|
debug = false,
|
|
6505
|
-
fetch: customFetch
|
|
6505
|
+
fetch: customFetch,
|
|
6506
|
+
callerPackage
|
|
6506
6507
|
} = config;
|
|
6507
6508
|
if (providedApi) {
|
|
6508
6509
|
return providedApi;
|
|
@@ -6512,7 +6513,8 @@ function getOrCreateApiClient(config) {
|
|
|
6512
6513
|
credentials,
|
|
6513
6514
|
token,
|
|
6514
6515
|
debug,
|
|
6515
|
-
fetch: customFetch
|
|
6516
|
+
fetch: customFetch,
|
|
6517
|
+
callerPackage
|
|
6516
6518
|
});
|
|
6517
6519
|
}
|
|
6518
6520
|
|
|
@@ -13731,6 +13733,19 @@ var codeSubstrateDefaults = {
|
|
|
13731
13733
|
categories: ["code-workflow"],
|
|
13732
13734
|
experimental: true
|
|
13733
13735
|
};
|
|
13736
|
+
var JsonPayloadSchema = zod.z.preprocess((val) => {
|
|
13737
|
+
if (typeof val === "string") {
|
|
13738
|
+
const trimmed = val.trim();
|
|
13739
|
+
if (trimmed.startsWith("{") || trimmed.startsWith("[")) {
|
|
13740
|
+
try {
|
|
13741
|
+
return JSON.parse(trimmed);
|
|
13742
|
+
} catch {
|
|
13743
|
+
return val;
|
|
13744
|
+
}
|
|
13745
|
+
}
|
|
13746
|
+
}
|
|
13747
|
+
return val;
|
|
13748
|
+
}, zod.z.unknown());
|
|
13734
13749
|
var SourceFilesSchema = zod.z.record(zod.z.string(), zod.z.string()).refine((files) => Object.keys(files).length > 0, {
|
|
13735
13750
|
message: "sourceFiles must contain at least one file"
|
|
13736
13751
|
}).describe("Source files keyed by filename \u2192 contents");
|
|
@@ -14395,7 +14410,9 @@ var RunNotificationSchema = zod.z.object({
|
|
|
14395
14410
|
"Webhook subscriber for run lifecycle events. Server POSTs `{run_id, event}` on each subscribed transition."
|
|
14396
14411
|
);
|
|
14397
14412
|
var RunDurableBaseSchema = zod.z.object({
|
|
14398
|
-
input:
|
|
14413
|
+
input: JsonPayloadSchema.optional().describe(
|
|
14414
|
+
"Input data passed to the run. Accepts any JSON value, or its JSON-string encoding."
|
|
14415
|
+
),
|
|
14399
14416
|
dependencies: zod.z.record(zod.z.string(), zod.z.string()).optional().describe("Optional npm package dependencies"),
|
|
14400
14417
|
zapierDurableVersion: zod.z.string().optional().describe(
|
|
14401
14418
|
'Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.'
|
|
@@ -14957,8 +14974,8 @@ var TriggerWorkflowLookupResponseSchema = zod.z.object({
|
|
|
14957
14974
|
}).passthrough();
|
|
14958
14975
|
var TriggerWorkflowOptionsSchema = zod.z.object({
|
|
14959
14976
|
workflow: zod.z.string().uuid().describe("Durable workflow ID"),
|
|
14960
|
-
input:
|
|
14961
|
-
"JSON payload delivered as the trigger body. Sent as `application/json`; omit to fire with an empty body."
|
|
14977
|
+
input: JsonPayloadSchema.optional().describe(
|
|
14978
|
+
"JSON payload delivered as the trigger body. Accepts any JSON value, or its JSON-string encoding. Sent as `application/json`; omit to fire with an empty body."
|
|
14962
14979
|
)
|
|
14963
14980
|
}).describe(
|
|
14964
14981
|
"Look up a workflow's trigger URL and fire it manually, as the authenticated account."
|
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-
|
|
2
|
-
export { H as Action, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-Dpl8IaV9.mjs';
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-DEQqvs2r.mjs';
|
|
2
|
+
export { H as Action, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-DEQqvs2r.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';
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-
|
|
2
|
-
export { H as Action, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-Dpl8IaV9.js';
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-DEQqvs2r.js';
|
|
2
|
+
export { H as Action, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-DEQqvs2r.js';
|
|
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';
|
package/dist/experimental.mjs
CHANGED
|
@@ -5214,7 +5214,7 @@ function parseDeprecationDate(value) {
|
|
|
5214
5214
|
}
|
|
5215
5215
|
|
|
5216
5216
|
// src/sdk-version.ts
|
|
5217
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.
|
|
5217
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.2" : void 0) || "unknown";
|
|
5218
5218
|
|
|
5219
5219
|
// src/utils/open-url.ts
|
|
5220
5220
|
var nodePrefix = "node:";
|
|
@@ -6500,7 +6500,8 @@ function getOrCreateApiClient(config) {
|
|
|
6500
6500
|
token,
|
|
6501
6501
|
api: providedApi,
|
|
6502
6502
|
debug = false,
|
|
6503
|
-
fetch: customFetch
|
|
6503
|
+
fetch: customFetch,
|
|
6504
|
+
callerPackage
|
|
6504
6505
|
} = config;
|
|
6505
6506
|
if (providedApi) {
|
|
6506
6507
|
return providedApi;
|
|
@@ -6510,7 +6511,8 @@ function getOrCreateApiClient(config) {
|
|
|
6510
6511
|
credentials,
|
|
6511
6512
|
token,
|
|
6512
6513
|
debug,
|
|
6513
|
-
fetch: customFetch
|
|
6514
|
+
fetch: customFetch,
|
|
6515
|
+
callerPackage
|
|
6514
6516
|
});
|
|
6515
6517
|
}
|
|
6516
6518
|
|
|
@@ -13729,6 +13731,19 @@ var codeSubstrateDefaults = {
|
|
|
13729
13731
|
categories: ["code-workflow"],
|
|
13730
13732
|
experimental: true
|
|
13731
13733
|
};
|
|
13734
|
+
var JsonPayloadSchema = z.preprocess((val) => {
|
|
13735
|
+
if (typeof val === "string") {
|
|
13736
|
+
const trimmed = val.trim();
|
|
13737
|
+
if (trimmed.startsWith("{") || trimmed.startsWith("[")) {
|
|
13738
|
+
try {
|
|
13739
|
+
return JSON.parse(trimmed);
|
|
13740
|
+
} catch {
|
|
13741
|
+
return val;
|
|
13742
|
+
}
|
|
13743
|
+
}
|
|
13744
|
+
}
|
|
13745
|
+
return val;
|
|
13746
|
+
}, z.unknown());
|
|
13732
13747
|
var SourceFilesSchema = z.record(z.string(), z.string()).refine((files) => Object.keys(files).length > 0, {
|
|
13733
13748
|
message: "sourceFiles must contain at least one file"
|
|
13734
13749
|
}).describe("Source files keyed by filename \u2192 contents");
|
|
@@ -14393,7 +14408,9 @@ var RunNotificationSchema = z.object({
|
|
|
14393
14408
|
"Webhook subscriber for run lifecycle events. Server POSTs `{run_id, event}` on each subscribed transition."
|
|
14394
14409
|
);
|
|
14395
14410
|
var RunDurableBaseSchema = z.object({
|
|
14396
|
-
input:
|
|
14411
|
+
input: JsonPayloadSchema.optional().describe(
|
|
14412
|
+
"Input data passed to the run. Accepts any JSON value, or its JSON-string encoding."
|
|
14413
|
+
),
|
|
14397
14414
|
dependencies: z.record(z.string(), z.string()).optional().describe("Optional npm package dependencies"),
|
|
14398
14415
|
zapierDurableVersion: z.string().optional().describe(
|
|
14399
14416
|
'Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.'
|
|
@@ -14955,8 +14972,8 @@ var TriggerWorkflowLookupResponseSchema = z.object({
|
|
|
14955
14972
|
}).passthrough();
|
|
14956
14973
|
var TriggerWorkflowOptionsSchema = z.object({
|
|
14957
14974
|
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
14958
|
-
input:
|
|
14959
|
-
"JSON payload delivered as the trigger body. Sent as `application/json`; omit to fire with an empty body."
|
|
14975
|
+
input: JsonPayloadSchema.optional().describe(
|
|
14976
|
+
"JSON payload delivered as the trigger body. Accepts any JSON value, or its JSON-string encoding. Sent as `application/json`; omit to fire with an empty body."
|
|
14960
14977
|
)
|
|
14961
14978
|
}).describe(
|
|
14962
14979
|
"Look up a workflow's trigger URL and fire it manually, as the authenticated account."
|
package/dist/index.cjs
CHANGED
|
@@ -8749,7 +8749,7 @@ function parseDeprecationDate(value) {
|
|
|
8749
8749
|
}
|
|
8750
8750
|
|
|
8751
8751
|
// src/sdk-version.ts
|
|
8752
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.
|
|
8752
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.2" : void 0) || "unknown";
|
|
8753
8753
|
|
|
8754
8754
|
// src/utils/open-url.ts
|
|
8755
8755
|
var nodePrefix = "node:";
|
|
@@ -10035,7 +10035,8 @@ function getOrCreateApiClient(config) {
|
|
|
10035
10035
|
token,
|
|
10036
10036
|
api: providedApi,
|
|
10037
10037
|
debug = false,
|
|
10038
|
-
fetch: customFetch
|
|
10038
|
+
fetch: customFetch,
|
|
10039
|
+
callerPackage
|
|
10039
10040
|
} = config;
|
|
10040
10041
|
if (providedApi) {
|
|
10041
10042
|
return providedApi;
|
|
@@ -10045,7 +10046,8 @@ function getOrCreateApiClient(config) {
|
|
|
10045
10046
|
credentials,
|
|
10046
10047
|
token,
|
|
10047
10048
|
debug,
|
|
10048
|
-
fetch: customFetch
|
|
10049
|
+
fetch: customFetch,
|
|
10050
|
+
callerPackage
|
|
10049
10051
|
});
|
|
10050
10052
|
}
|
|
10051
10053
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as Action, f as ActionEntry, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ap as DynamicListResolver, m as DynamicResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, E as EventEmissionContext, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, b as Manifest, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, O as OutputFormatter, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, i as PaginatedSdkResult, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, a as PluginMeta, b1 as PluginProvides, bb as PollOptions, k as PositionalMetadata, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, R as ResolvedAppLocator, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, n as WatchTriggerInboxOptions, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, l as ZapierFetchInitOptions, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, fF as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, fD as createZapierSdk, fE as createZapierSdkStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, g as findManifestEntry, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, r as readManifestFromFile, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-Dpl8IaV9.mjs';
|
|
1
|
+
export { H as Action, f as ActionEntry, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ap as DynamicListResolver, m as DynamicResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, E as EventEmissionContext, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, b as Manifest, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, O as OutputFormatter, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, i as PaginatedSdkResult, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, a as PluginMeta, b1 as PluginProvides, bb as PollOptions, k as PositionalMetadata, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, R as ResolvedAppLocator, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, n as WatchTriggerInboxOptions, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, l as ZapierFetchInitOptions, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, fF as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, fD as createZapierSdk, fE as createZapierSdkStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, g as findManifestEntry, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, r as readManifestFromFile, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-DEQqvs2r.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'zod/v4/core';
|
|
4
4
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as Action, f as ActionEntry, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ap as DynamicListResolver, m as DynamicResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, E as EventEmissionContext, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, b as Manifest, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, O as OutputFormatter, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, i as PaginatedSdkResult, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, a as PluginMeta, b1 as PluginProvides, bb as PollOptions, k as PositionalMetadata, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, R as ResolvedAppLocator, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, n as WatchTriggerInboxOptions, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, l as ZapierFetchInitOptions, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, fF as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, fD as createZapierSdk, fE as createZapierSdkStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, g as findManifestEntry, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, r as readManifestFromFile, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-Dpl8IaV9.js';
|
|
1
|
+
export { H as Action, f as ActionEntry, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ap as DynamicListResolver, m as DynamicResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, E as EventEmissionContext, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, b as Manifest, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, O as OutputFormatter, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, i as PaginatedSdkResult, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, a as PluginMeta, b1 as PluginProvides, bb as PollOptions, k as PositionalMetadata, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, R as ResolvedAppLocator, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, n as WatchTriggerInboxOptions, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, l as ZapierFetchInitOptions, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, fF as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, fD as createZapierSdk, fE as createZapierSdkStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, g as findManifestEntry, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, r as readManifestFromFile, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-DEQqvs2r.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'zod/v4/core';
|
|
4
4
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
package/dist/index.mjs
CHANGED
|
@@ -8747,7 +8747,7 @@ function parseDeprecationDate(value) {
|
|
|
8747
8747
|
}
|
|
8748
8748
|
|
|
8749
8749
|
// src/sdk-version.ts
|
|
8750
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.
|
|
8750
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.2" : void 0) || "unknown";
|
|
8751
8751
|
|
|
8752
8752
|
// src/utils/open-url.ts
|
|
8753
8753
|
var nodePrefix = "node:";
|
|
@@ -10033,7 +10033,8 @@ function getOrCreateApiClient(config) {
|
|
|
10033
10033
|
token,
|
|
10034
10034
|
api: providedApi,
|
|
10035
10035
|
debug = false,
|
|
10036
|
-
fetch: customFetch
|
|
10036
|
+
fetch: customFetch,
|
|
10037
|
+
callerPackage
|
|
10037
10038
|
} = config;
|
|
10038
10039
|
if (providedApi) {
|
|
10039
10040
|
return providedApi;
|
|
@@ -10043,7 +10044,8 @@ function getOrCreateApiClient(config) {
|
|
|
10043
10044
|
credentials,
|
|
10044
10045
|
token,
|
|
10045
10046
|
debug,
|
|
10046
|
-
fetch: customFetch
|
|
10047
|
+
fetch: customFetch,
|
|
10048
|
+
callerPackage
|
|
10047
10049
|
});
|
|
10048
10050
|
}
|
|
10049
10051
|
|