@zapier/zapier-sdk 0.84.1 → 0.84.3
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 +12 -0
- package/dist/experimental.cjs +324 -180
- package/dist/experimental.d.mts +30 -4
- package/dist/experimental.d.ts +30 -4
- package/dist/experimental.mjs +324 -180
- package/dist/{index-BTKFTcSZ.d.mts → index-B6Hbs-2p.d.mts} +168 -28
- package/dist/{index-BTKFTcSZ.d.ts → index-B6Hbs-2p.d.ts} +168 -28
- package/dist/index.cjs +324 -180
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +324 -180
- package/package.json +2 -2
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-
|
|
2
|
-
export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index-BTKFTcSZ.mjs';
|
|
1
|
+
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-B6Hbs-2p.mjs';
|
|
2
|
+
export { dL as API_ID, J as Action, dH as ActionEntry, d4 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bH as ActionItem, ci as ActionKeyProperty, bR as ActionKeyPropertySchema, cj as ActionProperty, bS as ActionPropertySchema, br as ActionResolverItem, cu as ActionTimeoutMsProperty, c1 as ActionTimeoutMsPropertySchema, bs as ActionTypeItem, ch as ActionTypeProperty, bQ as ActionTypePropertySchema, d1 as ApiError, ev as ApiEvent, dJ as ApiPluginOptions, K as App, d5 as AppFactoryInput, bF as AppItem, cf as AppKeyProperty, bO as AppKeyPropertySchema, cg as AppProperty, bP as AppPropertySchema, fy as ApplicationLifecycleEventData, cZ as ApprovalStatus, cz as AppsProperty, c6 as AppsPropertySchema, aB as ArrayResolver, eu as AuthEvent, eg as AuthMechanism, cn as AuthenticationIdProperty, bV as AuthenticationIdPropertySchema, fG as BaseEvent, ba as BaseSdkOptionsSchema, a$ as BatchOptions, ax as BoundFormatter, eX as CONNECTIONS_ID, ac as CONTEXT, ds as CONTEXT_CACHE_MAX_SIZE, dr as CONTEXT_CACHE_TTL_MS, be as CORE_ERROR_SYMBOL, b7 as CORE_OPTIONS_ID, bj as CORE_SIGNAL_SYMBOL, aX as CallerContext, Q as Choice, eA as ClientCredentialsObject, eL as ClientCredentialsObjectSchema, $ as Connection, eT as ConnectionEntry, eS as ConnectionEntrySchema, cl as ConnectionIdProperty, bU as ConnectionIdPropertySchema, bG as ConnectionItem, cm as ConnectionProperty, bW as ConnectionPropertySchema, eV as ConnectionsMap, eU as ConnectionsMapSchema, cB as ConnectionsProperty, c8 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aP as ControllerChoice, aR as ControllerMethodDescription, aQ as ControllerMethodSummary, aS as ControllerParameterDescription, aM as ControllerQuestion, bh as CoreCancelledSignal, aa as CoreDisposeError, bf as CoreErrorCode, bg as CoreSignal, ex as Credentials, eQ as CredentialsFunction, eP as CredentialsFunctionSchema, ez as CredentialsObject, eN as CredentialsObjectSchema, eR as CredentialsSchema, f2 as DEFAULT_ACTION_TIMEOUT_MS, fb as DEFAULT_APPROVAL_TIMEOUT_MS, dF as DEFAULT_CONFIG_PATH, fc as DEFAULT_MAX_APPROVAL_RETRIES, f1 as DEFAULT_PAGE_SIZE, bD as DEPRECATION_NOTICE_EVENT, cs as DebugProperty, b$ as DebugPropertySchema, bE as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fs as EVENT_EMISSION_ID, fz as EnhancedErrorEventData, cI as ErrorOptions, fx as EventContext, fq as EventEmissionContext, fr as EventEmitter, fw as EventTransport, d6 as FetchPluginProvides, O as Field, cy as FieldsProperty, c5 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b9 as FunctionDeprecation, b8 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bJ as InfoFieldItem, bI as InputFieldItem, ck as InputFieldProperty, bT as InputFieldPropertySchema, co as InputsProperty, bX as InputsPropertySchema, bC as JsonSseMessage, cH as LeaseLimitProperty, ce as LeaseLimitPropertySchema, cF as LeaseProperty, cc as LeasePropertySchema, cG as LeaseSecondsProperty, cd as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, cp as LimitProperty, bY as LimitPropertySchema, dd as ListActionInputFieldsPluginProvides, db as ListActionsPluginProvides, d9 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dh as ListConnectionsPluginProvides, ew as LoadingEvent, dA as MANIFEST_ID, f5 as MAX_CONCURRENCY_LIMIT, f0 as MAX_PAGE_LIMIT, dG as ManifestEntry, dw as ManifestPluginOptions, fH as MethodCalledEvent, fA as MethodCalledEventData, bm as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cq as OffsetProperty, bZ as OffsetPropertySchema, az as OutputFormatter, cr as OutputProperty, b_ as OutputPropertySchema, bN as PaginatedSdkFunction, ct as ParamsProperty, c0 as ParamsPropertySchema, eB as PkceCredentialsObject, eM as PkceCredentialsObjectSchema, bk as Plugin, p as PluginMeta, bl as PluginProvides, aK as PluginSurface, bx as PollOptions, a3 as PositionalMetadata, dO as RESOLVE_CREDENTIALS_ID, cX as RateLimitInfo, cw as RecordProperty, c3 as RecordPropertySchema, cx as RecordsProperty, c4 as RecordsPropertySchema, b4 as RelayFetchSchema, b3 as RelayRequestSchema, bw as RequestOptions, ef as ResolveAuthTokenOptions, eW as ResolveConnection, dK as ResolveCredentialsFn, eG as ResolveCredentialsOptions, bt as ResolvedAppLocator, eh as ResolvedAuth, ey as ResolvedCredentials, eO as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bK as RootFieldItem, du as RunActionPluginProvides, au as SDK_OPTIONS_ID, et as SdkEvent, bM as SdkPage, bB as SseMessage, aD as StaticResolver, cv as TableProperty, c2 as TablePropertySchema, cA as TablesProperty, c7 as TablesPropertySchema, cD as TriggerInboxKeyProperty, ca as TriggerInboxKeyPropertySchema, cE as TriggerInboxNameProperty, cb as TriggerInboxNamePropertySchema, cC as TriggerInboxProperty, c9 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dD as UpdateManifestEntryOptions, dE as UpdateManifestEntryResult, a1 as UserProfile, bL as UserProfileItem, r as WatchTriggerInboxSchema, e_ as ZAPIER_BASE_URL, f7 as ZAPIER_MAX_CONCURRENT_REQUESTS, f3 as ZAPIER_MAX_NETWORK_RETRIES, f4 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cV as ZapierActionError, cO as ZapierApiError, cP as ZapierAppNotFoundError, c_ as ZapierApprovalError, cM as ZapierAuthenticationError, cT as ZapierBundleError, eq as ZapierCacheEntry, er as ZapierCacheSetOptions, cS as ZapierConfigurationError, cW as ZapierConflictError, cJ as ZapierError, cQ as ZapierNotFoundError, cY as ZapierRateLimitError, c$ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cR as ZapierResourceNotFoundError, d2 as ZapierSignal, cU as ZapierTimeoutError, cL as ZapierUnknownError, cK as ZapierValidationError, dT as actionKeyResolver, dS as actionTypeResolver, a8 as addPlugin, dN as apiPlugin, dM as apiPluginRef, dR as appKeyResolver, d3 as appsPlugin, a_ as batch, fB as buildApplicationLifecycleEvent, b0 as buildCapabilityMessage, fD as buildErrorEvent, fC as buildErrorEventWithContext, fF as buildMethodCalledEvent, fp as cleanupEventListeners, ei as clearTokenCache, dZ as clientCredentialsNameResolver, d_ as clientIdResolver, bq as composePlugins, dV as connectionIdGenericResolver, dU as connectionIdResolver, eZ as connectionsPlugin, eY as connectionsPluginRef, fE as createBaseEvent, dj as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, es as createMemoryCache, a5 as createPaginatedFunction, bp as createPaginatedPluginMethod, bo as createPluginMethod, a6 as createPluginStack, ab as createSdk, fi as createTableFieldsPlugin, ff as createTablePlugin, fm as createTableRecordsPlugin, by as createZapierApi, b5 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bn as definePlugin, ak as defineProperty, al as defineResolver, dk as deleteClientCredentialsPlugin, fj as deleteTableFieldsPlugin, fg as deleteTablePlugin, fn as deleteTableRecordsPlugin, a9 as disposeSdk, e2 as durableRunIdResolver, fv as eventEmissionHookPlugin, fu as eventEmissionPlugin, ft as eventEmissionPluginRef, d7 as fetchPlugin, dp as findFirstConnectionPlugin, dz as findManifestEntry, dq as findUniqueConnectionPlugin, d0 as formatErrorMessage, ae as fromFunctionPlugin, fI as generateEventId, df as getActionInputFieldsSchemaPlugin, dm as getActionPlugin, bu as getAgent, dl as getAppPlugin, eJ as getBaseUrlFromCredentials, aV as getCallerContext, fO as getCiPlatform, eK as getClientIdFromCredentials, dn as getConnectionPlugin, ag as getContext, bd as getCoreErrorCause, bc as getCoreErrorCode, fQ as getCpuTime, fJ as getCurrentTimestamp, fP as getMemoryUsage, bz as getOrCreateApiClient, fL as getOsInfo, fM as getPlatformVersions, dy as getPreferredManifestEntryKey, dI as getProfilePlugin, as as getRegistryPlugin, fK as getReleaseId, fe as getTablePlugin, fk as getTableRecordPlugin, em as getTokenFromCliLogin, fR as getTtyContext, f8 as getZapierApprovalMode, fa as getZapierDefaultApprovalMode, f9 as getZapierOpenAutoModeApprovalsInBrowser, e$ as getZapierSdkService, ek as injectCliLogin, dY as inputFieldKeyResolver, dX as inputsAllOptionalResolver, dW as inputsResolver, ej as invalidateCachedToken, ep as invalidateCredentialsToken, fN as isCi, el as isCliLoginAvailable, eC as isClientCredentials, bb as isCoreError, bi as isCoreSignal, eF as isCredentialsFunction, eE as isCredentialsObject, bA as isPermanentHttpError, eD as isPkceCredentials, a2 as isPositional, de as listActionInputFieldChoicesPlugin, dc as listActionInputFieldsPlugin, da as listActionsPlugin, d8 as listAppsPlugin, di as listClientCredentialsPlugin, dg as listConnectionsPlugin, fh as listTableFieldsPlugin, fl as listTableRecordsPlugin, fd as listTablesPlugin, b1 as logDeprecation, dC as manifestPlugin, dB as manifestPluginRef, ar as omitExports, f6 as parseConcurrencyEnvVar, dx as readManifestFromFile, bv as registryPlugin, dv as requestPlugin, b2 as resetDeprecationWarnings, en as resolveAuth, eo as resolveAuthToken, eI as resolveCredentials, eH as resolveCredentialsFromEnv, dQ as resolveCredentialsPlugin, dP as resolveCredentialsPluginRef, ad as resolvePlugin, dt as runActionPlugin, aT as runInMethodScope, aW as runWithCallerContext, aU as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e8 as tableFieldIdsResolver, ea as tableFieldsResolver, ed as tableFiltersResolver, d$ as tableIdResolver, e9 as tableNameResolver, e6 as tableRecordIdResolver, e7 as tableRecordIdsResolver, eb as tableRecordsResolver, ee as tableSortResolver, ec as tableUpdateRecordsResolver, aY as toSnakeCase, aZ as toTitleCase, e0 as triggerInboxResolver, e5 as triggerMessagesResolver, fo as updateTableRecordsPlugin, e1 as workflowIdResolver, e4 as workflowRunIdResolver, e3 as workflowVersionIdResolver, cN as zapierAdaptError, b6 as zapierCoreOptions, at as zapierSdkPlugin } from './index-B6Hbs-2p.mjs';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -2509,7 +2509,33 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
2509
2509
|
profile_id: string;
|
|
2510
2510
|
description?: string | undefined;
|
|
2511
2511
|
parent_table_id?: string | undefined;
|
|
2512
|
-
}>, readonly []> & LeafSummary<"", "listTables", readonly [
|
|
2512
|
+
}>, readonly []> & LeafSummary<"", "listTables", readonly [MethodPlugin<"listTablesInternal", {
|
|
2513
|
+
tables?: string[] | undefined;
|
|
2514
|
+
tableIds?: string[] | undefined;
|
|
2515
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
2516
|
+
search?: string | undefined;
|
|
2517
|
+
owner?: string | undefined;
|
|
2518
|
+
includeShared?: boolean | undefined;
|
|
2519
|
+
pageSize?: number | undefined;
|
|
2520
|
+
maxItems?: number | undefined;
|
|
2521
|
+
cursor?: string | undefined;
|
|
2522
|
+
includePersonal?: boolean | undefined;
|
|
2523
|
+
} & {
|
|
2524
|
+
cursor?: string;
|
|
2525
|
+
pageSize?: number;
|
|
2526
|
+
} & {
|
|
2527
|
+
maxItems?: number;
|
|
2528
|
+
}, PaginatedSdkResult<{
|
|
2529
|
+
id: string;
|
|
2530
|
+
name: string;
|
|
2531
|
+
created_at: string;
|
|
2532
|
+
edited_at: string;
|
|
2533
|
+
kind: "table" | "virtual_table";
|
|
2534
|
+
account_id: string;
|
|
2535
|
+
profile_id: string;
|
|
2536
|
+
description?: string | undefined;
|
|
2537
|
+
parent_table_id?: string | undefined;
|
|
2538
|
+
}>, readonly []> & LeafSummary<"", "listTablesInternal", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"capabilities", CapabilitiesContext> & PluginSummary<"zapier/capabilities", never>]>]>;
|
|
2513
2539
|
} & {
|
|
2514
2540
|
getTable: MethodPlugin<"getTable", {
|
|
2515
2541
|
table: string;
|
|
@@ -3245,7 +3271,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3245
3271
|
updated_at: string;
|
|
3246
3272
|
};
|
|
3247
3273
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3248
|
-
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3274
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3249
3275
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3250
3276
|
getRegistry: (input?: {
|
|
3251
3277
|
package?: string | undefined;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-
|
|
2
|
-
export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index-BTKFTcSZ.js';
|
|
1
|
+
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-B6Hbs-2p.js';
|
|
2
|
+
export { dL as API_ID, J as Action, dH as ActionEntry, d4 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bH as ActionItem, ci as ActionKeyProperty, bR as ActionKeyPropertySchema, cj as ActionProperty, bS as ActionPropertySchema, br as ActionResolverItem, cu as ActionTimeoutMsProperty, c1 as ActionTimeoutMsPropertySchema, bs as ActionTypeItem, ch as ActionTypeProperty, bQ as ActionTypePropertySchema, d1 as ApiError, ev as ApiEvent, dJ as ApiPluginOptions, K as App, d5 as AppFactoryInput, bF as AppItem, cf as AppKeyProperty, bO as AppKeyPropertySchema, cg as AppProperty, bP as AppPropertySchema, fy as ApplicationLifecycleEventData, cZ as ApprovalStatus, cz as AppsProperty, c6 as AppsPropertySchema, aB as ArrayResolver, eu as AuthEvent, eg as AuthMechanism, cn as AuthenticationIdProperty, bV as AuthenticationIdPropertySchema, fG as BaseEvent, ba as BaseSdkOptionsSchema, a$ as BatchOptions, ax as BoundFormatter, eX as CONNECTIONS_ID, ac as CONTEXT, ds as CONTEXT_CACHE_MAX_SIZE, dr as CONTEXT_CACHE_TTL_MS, be as CORE_ERROR_SYMBOL, b7 as CORE_OPTIONS_ID, bj as CORE_SIGNAL_SYMBOL, aX as CallerContext, Q as Choice, eA as ClientCredentialsObject, eL as ClientCredentialsObjectSchema, $ as Connection, eT as ConnectionEntry, eS as ConnectionEntrySchema, cl as ConnectionIdProperty, bU as ConnectionIdPropertySchema, bG as ConnectionItem, cm as ConnectionProperty, bW as ConnectionPropertySchema, eV as ConnectionsMap, eU as ConnectionsMapSchema, cB as ConnectionsProperty, c8 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aP as ControllerChoice, aR as ControllerMethodDescription, aQ as ControllerMethodSummary, aS as ControllerParameterDescription, aM as ControllerQuestion, bh as CoreCancelledSignal, aa as CoreDisposeError, bf as CoreErrorCode, bg as CoreSignal, ex as Credentials, eQ as CredentialsFunction, eP as CredentialsFunctionSchema, ez as CredentialsObject, eN as CredentialsObjectSchema, eR as CredentialsSchema, f2 as DEFAULT_ACTION_TIMEOUT_MS, fb as DEFAULT_APPROVAL_TIMEOUT_MS, dF as DEFAULT_CONFIG_PATH, fc as DEFAULT_MAX_APPROVAL_RETRIES, f1 as DEFAULT_PAGE_SIZE, bD as DEPRECATION_NOTICE_EVENT, cs as DebugProperty, b$ as DebugPropertySchema, bE as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fs as EVENT_EMISSION_ID, fz as EnhancedErrorEventData, cI as ErrorOptions, fx as EventContext, fq as EventEmissionContext, fr as EventEmitter, fw as EventTransport, d6 as FetchPluginProvides, O as Field, cy as FieldsProperty, c5 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b9 as FunctionDeprecation, b8 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bJ as InfoFieldItem, bI as InputFieldItem, ck as InputFieldProperty, bT as InputFieldPropertySchema, co as InputsProperty, bX as InputsPropertySchema, bC as JsonSseMessage, cH as LeaseLimitProperty, ce as LeaseLimitPropertySchema, cF as LeaseProperty, cc as LeasePropertySchema, cG as LeaseSecondsProperty, cd as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, cp as LimitProperty, bY as LimitPropertySchema, dd as ListActionInputFieldsPluginProvides, db as ListActionsPluginProvides, d9 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dh as ListConnectionsPluginProvides, ew as LoadingEvent, dA as MANIFEST_ID, f5 as MAX_CONCURRENCY_LIMIT, f0 as MAX_PAGE_LIMIT, dG as ManifestEntry, dw as ManifestPluginOptions, fH as MethodCalledEvent, fA as MethodCalledEventData, bm as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cq as OffsetProperty, bZ as OffsetPropertySchema, az as OutputFormatter, cr as OutputProperty, b_ as OutputPropertySchema, bN as PaginatedSdkFunction, ct as ParamsProperty, c0 as ParamsPropertySchema, eB as PkceCredentialsObject, eM as PkceCredentialsObjectSchema, bk as Plugin, p as PluginMeta, bl as PluginProvides, aK as PluginSurface, bx as PollOptions, a3 as PositionalMetadata, dO as RESOLVE_CREDENTIALS_ID, cX as RateLimitInfo, cw as RecordProperty, c3 as RecordPropertySchema, cx as RecordsProperty, c4 as RecordsPropertySchema, b4 as RelayFetchSchema, b3 as RelayRequestSchema, bw as RequestOptions, ef as ResolveAuthTokenOptions, eW as ResolveConnection, dK as ResolveCredentialsFn, eG as ResolveCredentialsOptions, bt as ResolvedAppLocator, eh as ResolvedAuth, ey as ResolvedCredentials, eO as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bK as RootFieldItem, du as RunActionPluginProvides, au as SDK_OPTIONS_ID, et as SdkEvent, bM as SdkPage, bB as SseMessage, aD as StaticResolver, cv as TableProperty, c2 as TablePropertySchema, cA as TablesProperty, c7 as TablesPropertySchema, cD as TriggerInboxKeyProperty, ca as TriggerInboxKeyPropertySchema, cE as TriggerInboxNameProperty, cb as TriggerInboxNamePropertySchema, cC as TriggerInboxProperty, c9 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dD as UpdateManifestEntryOptions, dE as UpdateManifestEntryResult, a1 as UserProfile, bL as UserProfileItem, r as WatchTriggerInboxSchema, e_ as ZAPIER_BASE_URL, f7 as ZAPIER_MAX_CONCURRENT_REQUESTS, f3 as ZAPIER_MAX_NETWORK_RETRIES, f4 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cV as ZapierActionError, cO as ZapierApiError, cP as ZapierAppNotFoundError, c_ as ZapierApprovalError, cM as ZapierAuthenticationError, cT as ZapierBundleError, eq as ZapierCacheEntry, er as ZapierCacheSetOptions, cS as ZapierConfigurationError, cW as ZapierConflictError, cJ as ZapierError, cQ as ZapierNotFoundError, cY as ZapierRateLimitError, c$ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cR as ZapierResourceNotFoundError, d2 as ZapierSignal, cU as ZapierTimeoutError, cL as ZapierUnknownError, cK as ZapierValidationError, dT as actionKeyResolver, dS as actionTypeResolver, a8 as addPlugin, dN as apiPlugin, dM as apiPluginRef, dR as appKeyResolver, d3 as appsPlugin, a_ as batch, fB as buildApplicationLifecycleEvent, b0 as buildCapabilityMessage, fD as buildErrorEvent, fC as buildErrorEventWithContext, fF as buildMethodCalledEvent, fp as cleanupEventListeners, ei as clearTokenCache, dZ as clientCredentialsNameResolver, d_ as clientIdResolver, bq as composePlugins, dV as connectionIdGenericResolver, dU as connectionIdResolver, eZ as connectionsPlugin, eY as connectionsPluginRef, fE as createBaseEvent, dj as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, es as createMemoryCache, a5 as createPaginatedFunction, bp as createPaginatedPluginMethod, bo as createPluginMethod, a6 as createPluginStack, ab as createSdk, fi as createTableFieldsPlugin, ff as createTablePlugin, fm as createTableRecordsPlugin, by as createZapierApi, b5 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bn as definePlugin, ak as defineProperty, al as defineResolver, dk as deleteClientCredentialsPlugin, fj as deleteTableFieldsPlugin, fg as deleteTablePlugin, fn as deleteTableRecordsPlugin, a9 as disposeSdk, e2 as durableRunIdResolver, fv as eventEmissionHookPlugin, fu as eventEmissionPlugin, ft as eventEmissionPluginRef, d7 as fetchPlugin, dp as findFirstConnectionPlugin, dz as findManifestEntry, dq as findUniqueConnectionPlugin, d0 as formatErrorMessage, ae as fromFunctionPlugin, fI as generateEventId, df as getActionInputFieldsSchemaPlugin, dm as getActionPlugin, bu as getAgent, dl as getAppPlugin, eJ as getBaseUrlFromCredentials, aV as getCallerContext, fO as getCiPlatform, eK as getClientIdFromCredentials, dn as getConnectionPlugin, ag as getContext, bd as getCoreErrorCause, bc as getCoreErrorCode, fQ as getCpuTime, fJ as getCurrentTimestamp, fP as getMemoryUsage, bz as getOrCreateApiClient, fL as getOsInfo, fM as getPlatformVersions, dy as getPreferredManifestEntryKey, dI as getProfilePlugin, as as getRegistryPlugin, fK as getReleaseId, fe as getTablePlugin, fk as getTableRecordPlugin, em as getTokenFromCliLogin, fR as getTtyContext, f8 as getZapierApprovalMode, fa as getZapierDefaultApprovalMode, f9 as getZapierOpenAutoModeApprovalsInBrowser, e$ as getZapierSdkService, ek as injectCliLogin, dY as inputFieldKeyResolver, dX as inputsAllOptionalResolver, dW as inputsResolver, ej as invalidateCachedToken, ep as invalidateCredentialsToken, fN as isCi, el as isCliLoginAvailable, eC as isClientCredentials, bb as isCoreError, bi as isCoreSignal, eF as isCredentialsFunction, eE as isCredentialsObject, bA as isPermanentHttpError, eD as isPkceCredentials, a2 as isPositional, de as listActionInputFieldChoicesPlugin, dc as listActionInputFieldsPlugin, da as listActionsPlugin, d8 as listAppsPlugin, di as listClientCredentialsPlugin, dg as listConnectionsPlugin, fh as listTableFieldsPlugin, fl as listTableRecordsPlugin, fd as listTablesPlugin, b1 as logDeprecation, dC as manifestPlugin, dB as manifestPluginRef, ar as omitExports, f6 as parseConcurrencyEnvVar, dx as readManifestFromFile, bv as registryPlugin, dv as requestPlugin, b2 as resetDeprecationWarnings, en as resolveAuth, eo as resolveAuthToken, eI as resolveCredentials, eH as resolveCredentialsFromEnv, dQ as resolveCredentialsPlugin, dP as resolveCredentialsPluginRef, ad as resolvePlugin, dt as runActionPlugin, aT as runInMethodScope, aW as runWithCallerContext, aU as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e8 as tableFieldIdsResolver, ea as tableFieldsResolver, ed as tableFiltersResolver, d$ as tableIdResolver, e9 as tableNameResolver, e6 as tableRecordIdResolver, e7 as tableRecordIdsResolver, eb as tableRecordsResolver, ee as tableSortResolver, ec as tableUpdateRecordsResolver, aY as toSnakeCase, aZ as toTitleCase, e0 as triggerInboxResolver, e5 as triggerMessagesResolver, fo as updateTableRecordsPlugin, e1 as workflowIdResolver, e4 as workflowRunIdResolver, e3 as workflowVersionIdResolver, cN as zapierAdaptError, b6 as zapierCoreOptions, at as zapierSdkPlugin } from './index-B6Hbs-2p.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -2509,7 +2509,33 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
2509
2509
|
profile_id: string;
|
|
2510
2510
|
description?: string | undefined;
|
|
2511
2511
|
parent_table_id?: string | undefined;
|
|
2512
|
-
}>, readonly []> & LeafSummary<"", "listTables", readonly [
|
|
2512
|
+
}>, readonly []> & LeafSummary<"", "listTables", readonly [MethodPlugin<"listTablesInternal", {
|
|
2513
|
+
tables?: string[] | undefined;
|
|
2514
|
+
tableIds?: string[] | undefined;
|
|
2515
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
2516
|
+
search?: string | undefined;
|
|
2517
|
+
owner?: string | undefined;
|
|
2518
|
+
includeShared?: boolean | undefined;
|
|
2519
|
+
pageSize?: number | undefined;
|
|
2520
|
+
maxItems?: number | undefined;
|
|
2521
|
+
cursor?: string | undefined;
|
|
2522
|
+
includePersonal?: boolean | undefined;
|
|
2523
|
+
} & {
|
|
2524
|
+
cursor?: string;
|
|
2525
|
+
pageSize?: number;
|
|
2526
|
+
} & {
|
|
2527
|
+
maxItems?: number;
|
|
2528
|
+
}, PaginatedSdkResult<{
|
|
2529
|
+
id: string;
|
|
2530
|
+
name: string;
|
|
2531
|
+
created_at: string;
|
|
2532
|
+
edited_at: string;
|
|
2533
|
+
kind: "table" | "virtual_table";
|
|
2534
|
+
account_id: string;
|
|
2535
|
+
profile_id: string;
|
|
2536
|
+
description?: string | undefined;
|
|
2537
|
+
parent_table_id?: string | undefined;
|
|
2538
|
+
}>, readonly []> & LeafSummary<"", "listTablesInternal", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"capabilities", CapabilitiesContext> & PluginSummary<"zapier/capabilities", never>]>]>;
|
|
2513
2539
|
} & {
|
|
2514
2540
|
getTable: MethodPlugin<"getTable", {
|
|
2515
2541
|
table: string;
|
|
@@ -3245,7 +3271,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3245
3271
|
updated_at: string;
|
|
3246
3272
|
};
|
|
3247
3273
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3248
|
-
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3274
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3249
3275
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3250
3276
|
getRegistry: (input?: {
|
|
3251
3277
|
package?: string | undefined;
|