@zapier/zapier-sdk 0.102.4 → 0.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/dist/{chunk-6TIBB6TI.mjs → chunk-CJKNVBRZ.mjs} +723 -239
- package/dist/{chunk-WVRZG6I6.cjs → chunk-ZEZNG44W.cjs} +722 -238
- package/dist/experimental.cjs +355 -355
- package/dist/experimental.d.mts +4 -3
- package/dist/experimental.d.ts +4 -3
- package/dist/experimental.mjs +2 -2
- package/dist/{index-CfJjkJU-.d.mts → index-Blmu5pN3.d.mts} +25 -4
- package/dist/{index-CfJjkJU-.d.ts → index-Blmu5pN3.d.ts} +25 -4
- package/dist/index.cjs +277 -277
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions } from './index-
|
|
2
|
-
export { e3 as ACTION_RUNS_PATH, cJ as API_ID, w as Action, cE as ActionEntry, b_ as ActionExecutionOptions, H as ActionExecutionResult, I as ActionField, J as ActionFieldChoice, ap as ActionItem, a$ as ActionKeyProperty, ax as ActionKeyPropertySchema, b0 as ActionProperty, ay as ActionPropertySchema, a9 as ActionResolverItem, bc as ActionTimeoutMillisecondsProperty, aK as ActionTimeoutMillisecondsPropertySchema, bb as ActionTimeoutSecondsProperty, aJ as ActionTimeoutSecondsPropertySchema, aa as ActionTypeItem, a_ as ActionTypeProperty, aw as ActionTypePropertySchema, dv as ApiEvent, cH as ApiPluginOptions, x as App, b$ as AppFactoryInput, an as AppItem, aY as AppKeyProperty, au as AppKeyPropertySchema, aZ as AppProperty, av as AppPropertySchema, ez as ApplicationLifecycleEventData, bH as ApprovalStatus, bh as AppsProperty, aP as AppsPropertySchema, du as AuthEvent, df as AuthMechanism, b4 as AuthenticationIdProperty, aB as AuthenticationIdPropertySchema, eH as BaseEvent, a8 as BaseSdkOptionsSchema, a0 as BatchOptions, dX as CONNECTIONS_ID, cl as CONTEXT_CACHE_MAX_SIZE, ck as CONTEXT_CACHE_TTL_MILLISECONDS, _ as CallerContext, z as Choice, dA as ClientCredentialsObject, dL as ClientCredentialsObjectSchema, P as Connection, dT as ConnectionEntry, dS as ConnectionEntrySchema, b2 as ConnectionIdProperty, aA as ConnectionIdPropertySchema, ao as ConnectionItem, b3 as ConnectionProperty, aC as ConnectionPropertySchema, dV as ConnectionsMap, dU as ConnectionsMapSchema, bj as ConnectionsProperty, aR as ConnectionsPropertySchema, Q as ConnectionsResponse, cn as CreateActionRunPluginProvides, dx as Credentials, dQ as CredentialsFunction, dP as CredentialsFunctionSchema, dz as CredentialsObject, dN as CredentialsObjectSchema, dR as CredentialsSchema, e2 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ec as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cC as DEFAULT_CONFIG_PATH, ed as DEFAULT_MAX_APPROVAL_RETRIES, e1 as DEFAULT_PAGE_SIZE, al as DEPRECATION_NOTICE_EVENT, b9 as DebugProperty, aH as DebugPropertySchema, am as DeprecationNoticePayload, p as DrainTriggerInboxCallback, q as DrainTriggerInboxErrorObserver, j as DrainTriggerInboxSchema, et as EVENT_EMISSION_ID, eA as EnhancedErrorEventData, bq as ErrorOptions, ey as EventContext, er as EventEmissionContext, es as EventEmitter, ex as EventTransport, c0 as FetchPluginProvides, y as Field, bg as FieldsProperty, aO as FieldsPropertySchema, u as FindFirstAuthenticationPluginProvides, v as FindUniqueAuthenticationPluginProvides, cp as GetActionRunPluginProvides, t as GetAuthenticationPluginProvides, cG as GetProfilePluginProvides, ar as InfoFieldItem, aq as InputFieldItem, b1 as InputFieldProperty, az as InputFieldPropertySchema, b5 as InputsProperty, aD as InputsPropertySchema, ak as JsonSseMessage, bp as LeaseLimitProperty, aX as LeaseLimitPropertySchema, bn as LeaseProperty, aV as LeasePropertySchema, bo as LeaseSecondsProperty, aW as LeaseSecondsPropertySchema, r as LeasedTriggerMessageItem, b6 as LimitProperty, aE as LimitPropertySchema, c7 as ListActionInputFieldsPluginProvides, c5 as ListActionsPluginProvides, c3 as ListAppsPluginProvides, s as ListAuthenticationsPluginProvides, cb as ListConnectionsPluginProvides, dw as LoadingEvent, cx as MANIFEST_ID, e6 as MAX_CONCURRENCY_LIMIT, e0 as MAX_PAGE_LIMIT, cD as ManifestEntry, ct as ManifestPluginOptions, eI as MethodCalledEvent, eB as MethodCalledEventData, N as Need, K as NeedsRequest, O as NeedsResponse, b7 as OffsetProperty, aF as OffsetPropertySchema, b8 as OutputProperty, aG as OutputPropertySchema, ba as ParamsProperty, aI as ParamsPropertySchema, dB as PkceCredentialsObject, dM as PkceCredentialsObjectSchema, af as PollOptions, cM as RESOLVE_CREDENTIALS_ID, bF as RateLimitInfo, be as RecordProperty, aM as RecordPropertySchema, bf as RecordsProperty, aN as RecordsPropertySchema, a5 as RelayFetchSchema, a4 as RelayRequestSchema, ae as RequestOptions, de as ResolveAuthTokenOptions, dW as ResolveConnection, cI as ResolveCredentialsFn, dG as ResolveCredentialsOptions, ab as ResolvedAppLocator, dg as ResolvedAuth, dy as ResolvedCredentials, dO as ResolvedCredentialsSchema, as as RootFieldItem, cr as RunActionPluginProvides, S as SDK_OPTIONS_ID, dt as SdkEvent, aj as SseMessage, bd as TableProperty, aL as TablePropertySchema, bi as TablesProperty, aQ as TablesPropertySchema, bl as TriggerInboxKeyProperty, aT as TriggerInboxKeyPropertySchema, bm as TriggerInboxNameProperty, aU as TriggerInboxNamePropertySchema, bk as TriggerInboxProperty, aS as TriggerInboxPropertySchema, T as TriggerMessageStatus, cA as UpdateManifestEntryOptions, cB as UpdateManifestEntryResult, U as UserProfile, at as UserProfileItem, k as WatchTriggerInboxSchema, d_ as ZAPIER_BASE_URL, e8 as ZAPIER_MAX_CONCURRENT_REQUESTS, e4 as ZAPIER_MAX_NETWORK_RETRIES, e5 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, l as ZapierAbortDrainSignal, bD as ZapierActionError, bw as ZapierApiError, bx as ZapierAppNotFoundError, bI as ZapierApprovalError, bu as ZapierAuthenticationError, bB as ZapierBundleError, dq as ZapierCacheEntry, dr as ZapierCacheSetOptions, bA as ZapierConfigurationError, bE as ZapierConflictError, br as ZapierError, by as ZapierNotFoundError, bG as ZapierRateLimitError, bJ as ZapierRelayError, m as ZapierReleaseTriggerMessageSignal, bz as ZapierResourceNotFoundError, bX as ZapierSignal, bC as ZapierTimeoutError, bt as ZapierUnknownError, bs as ZapierValidationError, cR as actionKeyResolver, cQ as actionTypeResolver, cL as apiPlugin, cK as apiPluginRef, cP as appKeyResolver, bZ as appsPlugin, $ as batch, eC as buildApplicationLifecycleEvent, a1 as buildCapabilityMessage, eE as buildErrorEvent, eD as buildErrorEventWithContext, eG as buildMethodCalledEvent, eq as cleanupEventListeners, dh as clearTokenCache, cX as clientCredentialsNameResolver, cY as clientIdResolver, cT as connectionIdGenericResolver, cS as connectionIdResolver, dZ as connectionsPlugin, dY as connectionsPluginRef, cm as createActionRunPlugin, eF as createBaseEvent, cd as createClientCredentialsPlugin, ds as createMemoryCache, ej as createTableFieldsPlugin, eg as createTablePlugin, en as createTableRecordsPlugin, ag as createZapierApi, a6 as createZapierSdkWithoutRegistry, ce as deleteClientCredentialsPlugin, ek as deleteTableFieldsPlugin, eh as deleteTablePlugin, eo as deleteTableRecordsPlugin, d0 as durableRunIdResolver, ew as eventEmissionHookPlugin, ev as eventEmissionPlugin, eu as eventEmissionPluginRef, c1 as fetchPlugin, ci as findFirstConnectionPlugin, cw as findManifestEntry, cj as findUniqueConnectionPlugin, bW as formatErrorMessage, eK as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cg as getActionPlugin, co as getActionRunPlugin, ac as getAgent, cf as getAppPlugin, dJ as getBaseUrlFromCredentials, X as getCallerContext, eQ as getCiPlatform, dK as getClientIdFromCredentials, ch as getConnectionPlugin, eS as getCpuTime, eL as getCurrentTimestamp, eR as getMemoryUsage, ah as getOrCreateApiClient, eN as getOsInfo, eO as getPlatformVersions, cv as getPreferredManifestEntryKey, cF as getProfilePlugin, eM as getReleaseId, ef as getTablePlugin, el as getTableRecordPlugin, dl as getTokenFromCliLogin, eT as getTtyContext, e9 as getZapierApprovalMode, eb as getZapierDefaultApprovalMode, ea as getZapierOpenAutoModeApprovalsInBrowser, d$ as getZapierSdkService, dj as injectCliLogin, cW as inputFieldKeyResolver, cV as inputsAllOptionalResolver, cU as inputsResolver, di as invalidateCachedToken, dp as invalidateCredentialsToken, eP as isCi, dk as isCliLoginAvailable, dC as isClientCredentials, dF as isCredentialsFunction, dE as isCredentialsObject, ai as isPermanentHttpError, dD as isPkceCredentials, n as isZapierAbortDrainSignal, bT as isZapierActionError, bN as isZapierAppNotFoundError, bV as isZapierApprovalError, bM as isZapierAuthenticationError, bS as isZapierBundleError, bQ as isZapierConflictError, bK as isZapierError, bO as isZapierNotFoundError, bU as isZapierRateLimitError, o as isZapierReleaseTriggerMessageSignal, bP as isZapierResourceNotFoundError, bY as isZapierSignal, bR as isZapierTimeoutError, bL as isZapierValidationError, c8 as listActionInputFieldChoicesPlugin, c6 as listActionInputFieldsPlugin, c4 as listActionsPlugin, c2 as listAppsPlugin, cc as listClientCredentialsPlugin, ca as listConnectionsPlugin, ei as listTableFieldsPlugin, em as listTableRecordsPlugin, ee as listTablesPlugin, a2 as logDeprecation, cz as manifestPlugin, cy as manifestPluginRef, eJ as operationAnnotatorPlugin, e7 as parseConcurrencyEnvVar, cu as readManifestFromFile, ad as registryPlugin, cs as requestPlugin, a3 as resetDeprecationWarnings, dm as resolveAuth, dn as resolveAuthToken, dI as resolveCredentials, dH as resolveCredentialsFromEnv, cO as resolveCredentialsPlugin, cN as resolveCredentialsPluginRef, cq as runActionPlugin, Y as runWithCallerContext, V as sdkOptionsPluginRef, d7 as tableFieldIdsResolver, d9 as tableFieldsResolver, dc as tableFiltersResolver, cZ as tableIdResolver, d8 as tableNameResolver, d5 as tableRecordIdResolver, d6 as tableRecordIdsResolver, da as tableRecordsResolver, dd as tableSortResolver, db as tableUpdateRecordsResolver, c_ as triggerInboxResolver, d4 as triggerMessagesResolver, ep as updateTableRecordsPlugin, d2 as workflowDraftIdResolver, c$ as workflowIdResolver, d3 as workflowRunIdResolver, d1 as workflowVersionIdResolver, bv as zapierAdaptError, a7 as zapierCoreOptions, R as zapierSdkPlugin } from './index-
|
|
1
|
+
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions } from './index-Blmu5pN3.mjs';
|
|
2
|
+
export { e3 as ACTION_RUNS_PATH, cJ as API_ID, w as Action, cE as ActionEntry, b_ as ActionExecutionOptions, H as ActionExecutionResult, I as ActionField, J as ActionFieldChoice, ap as ActionItem, a$ as ActionKeyProperty, ax as ActionKeyPropertySchema, b0 as ActionProperty, ay as ActionPropertySchema, a9 as ActionResolverItem, bc as ActionTimeoutMillisecondsProperty, aK as ActionTimeoutMillisecondsPropertySchema, bb as ActionTimeoutSecondsProperty, aJ as ActionTimeoutSecondsPropertySchema, aa as ActionTypeItem, a_ as ActionTypeProperty, aw as ActionTypePropertySchema, dv as ApiEvent, cH as ApiPluginOptions, x as App, b$ as AppFactoryInput, an as AppItem, aY as AppKeyProperty, au as AppKeyPropertySchema, aZ as AppProperty, av as AppPropertySchema, ez as ApplicationLifecycleEventData, bH as ApprovalStatus, bh as AppsProperty, aP as AppsPropertySchema, du as AuthEvent, df as AuthMechanism, b4 as AuthenticationIdProperty, aB as AuthenticationIdPropertySchema, eH as BaseEvent, a8 as BaseSdkOptionsSchema, a0 as BatchOptions, dX as CONNECTIONS_ID, cl as CONTEXT_CACHE_MAX_SIZE, ck as CONTEXT_CACHE_TTL_MILLISECONDS, _ as CallerContext, z as Choice, dA as ClientCredentialsObject, dL as ClientCredentialsObjectSchema, P as Connection, dT as ConnectionEntry, dS as ConnectionEntrySchema, b2 as ConnectionIdProperty, aA as ConnectionIdPropertySchema, ao as ConnectionItem, b3 as ConnectionProperty, aC as ConnectionPropertySchema, dV as ConnectionsMap, dU as ConnectionsMapSchema, bj as ConnectionsProperty, aR as ConnectionsPropertySchema, Q as ConnectionsResponse, cn as CreateActionRunPluginProvides, dx as Credentials, dQ as CredentialsFunction, dP as CredentialsFunctionSchema, dz as CredentialsObject, dN as CredentialsObjectSchema, dR as CredentialsSchema, e2 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ec as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cC as DEFAULT_CONFIG_PATH, ed as DEFAULT_MAX_APPROVAL_RETRIES, e1 as DEFAULT_PAGE_SIZE, al as DEPRECATION_NOTICE_EVENT, b9 as DebugProperty, aH as DebugPropertySchema, am as DeprecationNoticePayload, p as DrainTriggerInboxCallback, q as DrainTriggerInboxErrorObserver, j as DrainTriggerInboxSchema, et as EVENT_EMISSION_ID, eA as EnhancedErrorEventData, bq as ErrorOptions, ey as EventContext, er as EventEmissionContext, es as EventEmitter, ex as EventTransport, c0 as FetchPluginProvides, y as Field, bg as FieldsProperty, aO as FieldsPropertySchema, u as FindFirstAuthenticationPluginProvides, v as FindUniqueAuthenticationPluginProvides, cp as GetActionRunPluginProvides, t as GetAuthenticationPluginProvides, cG as GetProfilePluginProvides, ar as InfoFieldItem, aq as InputFieldItem, b1 as InputFieldProperty, az as InputFieldPropertySchema, b5 as InputsProperty, aD as InputsPropertySchema, ak as JsonSseMessage, bp as LeaseLimitProperty, aX as LeaseLimitPropertySchema, bn as LeaseProperty, aV as LeasePropertySchema, bo as LeaseSecondsProperty, aW as LeaseSecondsPropertySchema, r as LeasedTriggerMessageItem, b6 as LimitProperty, aE as LimitPropertySchema, c7 as ListActionInputFieldsPluginProvides, c5 as ListActionsPluginProvides, c3 as ListAppsPluginProvides, s as ListAuthenticationsPluginProvides, cb as ListConnectionsPluginProvides, dw as LoadingEvent, cx as MANIFEST_ID, e6 as MAX_CONCURRENCY_LIMIT, e0 as MAX_PAGE_LIMIT, cD as ManifestEntry, ct as ManifestPluginOptions, eI as MethodCalledEvent, eB as MethodCalledEventData, N as Need, K as NeedsRequest, O as NeedsResponse, b7 as OffsetProperty, aF as OffsetPropertySchema, b8 as OutputProperty, aG as OutputPropertySchema, ba as ParamsProperty, aI as ParamsPropertySchema, dB as PkceCredentialsObject, dM as PkceCredentialsObjectSchema, af as PollOptions, cM as RESOLVE_CREDENTIALS_ID, bF as RateLimitInfo, be as RecordProperty, aM as RecordPropertySchema, bf as RecordsProperty, aN as RecordsPropertySchema, a5 as RelayFetchSchema, a4 as RelayRequestSchema, ae as RequestOptions, de as ResolveAuthTokenOptions, dW as ResolveConnection, cI as ResolveCredentialsFn, dG as ResolveCredentialsOptions, ab as ResolvedAppLocator, dg as ResolvedAuth, dy as ResolvedCredentials, dO as ResolvedCredentialsSchema, as as RootFieldItem, cr as RunActionPluginProvides, S as SDK_OPTIONS_ID, dt as SdkEvent, aj as SseMessage, bd as TableProperty, aL as TablePropertySchema, bi as TablesProperty, aQ as TablesPropertySchema, bl as TriggerInboxKeyProperty, aT as TriggerInboxKeyPropertySchema, bm as TriggerInboxNameProperty, aU as TriggerInboxNamePropertySchema, bk as TriggerInboxProperty, aS as TriggerInboxPropertySchema, T as TriggerMessageStatus, cA as UpdateManifestEntryOptions, cB as UpdateManifestEntryResult, U as UserProfile, at as UserProfileItem, k as WatchTriggerInboxSchema, d_ as ZAPIER_BASE_URL, e8 as ZAPIER_MAX_CONCURRENT_REQUESTS, e4 as ZAPIER_MAX_NETWORK_RETRIES, e5 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, l as ZapierAbortDrainSignal, bD as ZapierActionError, bw as ZapierApiError, bx as ZapierAppNotFoundError, bI as ZapierApprovalError, bu as ZapierAuthenticationError, bB as ZapierBundleError, dq as ZapierCacheEntry, dr as ZapierCacheSetOptions, bA as ZapierConfigurationError, bE as ZapierConflictError, br as ZapierError, by as ZapierNotFoundError, bG as ZapierRateLimitError, bJ as ZapierRelayError, m as ZapierReleaseTriggerMessageSignal, bz as ZapierResourceNotFoundError, bX as ZapierSignal, bC as ZapierTimeoutError, bt as ZapierUnknownError, bs as ZapierValidationError, cR as actionKeyResolver, cQ as actionTypeResolver, cL as apiPlugin, cK as apiPluginRef, cP as appKeyResolver, bZ as appsPlugin, $ as batch, eC as buildApplicationLifecycleEvent, a1 as buildCapabilityMessage, eE as buildErrorEvent, eD as buildErrorEventWithContext, eG as buildMethodCalledEvent, eq as cleanupEventListeners, dh as clearTokenCache, cX as clientCredentialsNameResolver, cY as clientIdResolver, cT as connectionIdGenericResolver, cS as connectionIdResolver, dZ as connectionsPlugin, dY as connectionsPluginRef, cm as createActionRunPlugin, eF as createBaseEvent, cd as createClientCredentialsPlugin, ds as createMemoryCache, ej as createTableFieldsPlugin, eg as createTablePlugin, en as createTableRecordsPlugin, ag as createZapierApi, a6 as createZapierSdkWithoutRegistry, ce as deleteClientCredentialsPlugin, ek as deleteTableFieldsPlugin, eh as deleteTablePlugin, eo as deleteTableRecordsPlugin, d0 as durableRunIdResolver, ew as eventEmissionHookPlugin, ev as eventEmissionPlugin, eu as eventEmissionPluginRef, c1 as fetchPlugin, ci as findFirstConnectionPlugin, cw as findManifestEntry, cj as findUniqueConnectionPlugin, bW as formatErrorMessage, eK as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cg as getActionPlugin, co as getActionRunPlugin, ac as getAgent, cf as getAppPlugin, dJ as getBaseUrlFromCredentials, X as getCallerContext, eQ as getCiPlatform, dK as getClientIdFromCredentials, ch as getConnectionPlugin, eS as getCpuTime, eL as getCurrentTimestamp, eR as getMemoryUsage, ah as getOrCreateApiClient, eN as getOsInfo, eO as getPlatformVersions, cv as getPreferredManifestEntryKey, cF as getProfilePlugin, eM as getReleaseId, ef as getTablePlugin, el as getTableRecordPlugin, dl as getTokenFromCliLogin, eT as getTtyContext, e9 as getZapierApprovalMode, eb as getZapierDefaultApprovalMode, ea as getZapierOpenAutoModeApprovalsInBrowser, d$ as getZapierSdkService, dj as injectCliLogin, cW as inputFieldKeyResolver, cV as inputsAllOptionalResolver, cU as inputsResolver, di as invalidateCachedToken, dp as invalidateCredentialsToken, eP as isCi, dk as isCliLoginAvailable, dC as isClientCredentials, dF as isCredentialsFunction, dE as isCredentialsObject, ai as isPermanentHttpError, dD as isPkceCredentials, n as isZapierAbortDrainSignal, bT as isZapierActionError, bN as isZapierAppNotFoundError, bV as isZapierApprovalError, bM as isZapierAuthenticationError, bS as isZapierBundleError, bQ as isZapierConflictError, bK as isZapierError, bO as isZapierNotFoundError, bU as isZapierRateLimitError, o as isZapierReleaseTriggerMessageSignal, bP as isZapierResourceNotFoundError, bY as isZapierSignal, bR as isZapierTimeoutError, bL as isZapierValidationError, c8 as listActionInputFieldChoicesPlugin, c6 as listActionInputFieldsPlugin, c4 as listActionsPlugin, c2 as listAppsPlugin, cc as listClientCredentialsPlugin, ca as listConnectionsPlugin, ei as listTableFieldsPlugin, em as listTableRecordsPlugin, ee as listTablesPlugin, a2 as logDeprecation, cz as manifestPlugin, cy as manifestPluginRef, eJ as operationAnnotatorPlugin, e7 as parseConcurrencyEnvVar, cu as readManifestFromFile, ad as registryPlugin, cs as requestPlugin, a3 as resetDeprecationWarnings, dm as resolveAuth, dn as resolveAuthToken, dI as resolveCredentials, dH as resolveCredentialsFromEnv, cO as resolveCredentialsPlugin, cN as resolveCredentialsPluginRef, cq as runActionPlugin, Y as runWithCallerContext, V as sdkOptionsPluginRef, d7 as tableFieldIdsResolver, d9 as tableFieldsResolver, dc as tableFiltersResolver, cZ as tableIdResolver, d8 as tableNameResolver, d5 as tableRecordIdResolver, d6 as tableRecordIdsResolver, da as tableRecordsResolver, dd as tableSortResolver, db as tableUpdateRecordsResolver, c_ as triggerInboxResolver, d4 as triggerMessagesResolver, ep as updateTableRecordsPlugin, d2 as workflowDraftIdResolver, c$ as workflowIdResolver, d3 as workflowRunIdResolver, d1 as workflowVersionIdResolver, bv as zapierAdaptError, a7 as zapierCoreOptions, R as zapierSdkPlugin } from './index-Blmu5pN3.mjs';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
@@ -3451,6 +3451,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
3451
3451
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
3452
3452
|
debug?: boolean | undefined;
|
|
3453
3453
|
baseUrl?: string | undefined;
|
|
3454
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
3454
3455
|
trackingBaseUrl?: string | undefined;
|
|
3455
3456
|
maxNetworkRetries?: number | undefined;
|
|
3456
3457
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -5357,7 +5358,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5357
5358
|
children?: unknown[] | undefined;
|
|
5358
5359
|
} | undefined;
|
|
5359
5360
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.PluginSummary<"zapier/api", never> & _zapier_kitcore.StandInId<"zapier/api">]>;
|
|
5360
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "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" | "createActionRun" | "getActionRun" | "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" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
5361
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "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" | "createActionRun" | "getActionRun" | "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" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
5361
5362
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
5362
5363
|
getRegistry: (input?: {
|
|
5363
5364
|
package?: string | undefined;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions } from './index-
|
|
2
|
-
export { e3 as ACTION_RUNS_PATH, cJ as API_ID, w as Action, cE as ActionEntry, b_ as ActionExecutionOptions, H as ActionExecutionResult, I as ActionField, J as ActionFieldChoice, ap as ActionItem, a$ as ActionKeyProperty, ax as ActionKeyPropertySchema, b0 as ActionProperty, ay as ActionPropertySchema, a9 as ActionResolverItem, bc as ActionTimeoutMillisecondsProperty, aK as ActionTimeoutMillisecondsPropertySchema, bb as ActionTimeoutSecondsProperty, aJ as ActionTimeoutSecondsPropertySchema, aa as ActionTypeItem, a_ as ActionTypeProperty, aw as ActionTypePropertySchema, dv as ApiEvent, cH as ApiPluginOptions, x as App, b$ as AppFactoryInput, an as AppItem, aY as AppKeyProperty, au as AppKeyPropertySchema, aZ as AppProperty, av as AppPropertySchema, ez as ApplicationLifecycleEventData, bH as ApprovalStatus, bh as AppsProperty, aP as AppsPropertySchema, du as AuthEvent, df as AuthMechanism, b4 as AuthenticationIdProperty, aB as AuthenticationIdPropertySchema, eH as BaseEvent, a8 as BaseSdkOptionsSchema, a0 as BatchOptions, dX as CONNECTIONS_ID, cl as CONTEXT_CACHE_MAX_SIZE, ck as CONTEXT_CACHE_TTL_MILLISECONDS, _ as CallerContext, z as Choice, dA as ClientCredentialsObject, dL as ClientCredentialsObjectSchema, P as Connection, dT as ConnectionEntry, dS as ConnectionEntrySchema, b2 as ConnectionIdProperty, aA as ConnectionIdPropertySchema, ao as ConnectionItem, b3 as ConnectionProperty, aC as ConnectionPropertySchema, dV as ConnectionsMap, dU as ConnectionsMapSchema, bj as ConnectionsProperty, aR as ConnectionsPropertySchema, Q as ConnectionsResponse, cn as CreateActionRunPluginProvides, dx as Credentials, dQ as CredentialsFunction, dP as CredentialsFunctionSchema, dz as CredentialsObject, dN as CredentialsObjectSchema, dR as CredentialsSchema, e2 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ec as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cC as DEFAULT_CONFIG_PATH, ed as DEFAULT_MAX_APPROVAL_RETRIES, e1 as DEFAULT_PAGE_SIZE, al as DEPRECATION_NOTICE_EVENT, b9 as DebugProperty, aH as DebugPropertySchema, am as DeprecationNoticePayload, p as DrainTriggerInboxCallback, q as DrainTriggerInboxErrorObserver, j as DrainTriggerInboxSchema, et as EVENT_EMISSION_ID, eA as EnhancedErrorEventData, bq as ErrorOptions, ey as EventContext, er as EventEmissionContext, es as EventEmitter, ex as EventTransport, c0 as FetchPluginProvides, y as Field, bg as FieldsProperty, aO as FieldsPropertySchema, u as FindFirstAuthenticationPluginProvides, v as FindUniqueAuthenticationPluginProvides, cp as GetActionRunPluginProvides, t as GetAuthenticationPluginProvides, cG as GetProfilePluginProvides, ar as InfoFieldItem, aq as InputFieldItem, b1 as InputFieldProperty, az as InputFieldPropertySchema, b5 as InputsProperty, aD as InputsPropertySchema, ak as JsonSseMessage, bp as LeaseLimitProperty, aX as LeaseLimitPropertySchema, bn as LeaseProperty, aV as LeasePropertySchema, bo as LeaseSecondsProperty, aW as LeaseSecondsPropertySchema, r as LeasedTriggerMessageItem, b6 as LimitProperty, aE as LimitPropertySchema, c7 as ListActionInputFieldsPluginProvides, c5 as ListActionsPluginProvides, c3 as ListAppsPluginProvides, s as ListAuthenticationsPluginProvides, cb as ListConnectionsPluginProvides, dw as LoadingEvent, cx as MANIFEST_ID, e6 as MAX_CONCURRENCY_LIMIT, e0 as MAX_PAGE_LIMIT, cD as ManifestEntry, ct as ManifestPluginOptions, eI as MethodCalledEvent, eB as MethodCalledEventData, N as Need, K as NeedsRequest, O as NeedsResponse, b7 as OffsetProperty, aF as OffsetPropertySchema, b8 as OutputProperty, aG as OutputPropertySchema, ba as ParamsProperty, aI as ParamsPropertySchema, dB as PkceCredentialsObject, dM as PkceCredentialsObjectSchema, af as PollOptions, cM as RESOLVE_CREDENTIALS_ID, bF as RateLimitInfo, be as RecordProperty, aM as RecordPropertySchema, bf as RecordsProperty, aN as RecordsPropertySchema, a5 as RelayFetchSchema, a4 as RelayRequestSchema, ae as RequestOptions, de as ResolveAuthTokenOptions, dW as ResolveConnection, cI as ResolveCredentialsFn, dG as ResolveCredentialsOptions, ab as ResolvedAppLocator, dg as ResolvedAuth, dy as ResolvedCredentials, dO as ResolvedCredentialsSchema, as as RootFieldItem, cr as RunActionPluginProvides, S as SDK_OPTIONS_ID, dt as SdkEvent, aj as SseMessage, bd as TableProperty, aL as TablePropertySchema, bi as TablesProperty, aQ as TablesPropertySchema, bl as TriggerInboxKeyProperty, aT as TriggerInboxKeyPropertySchema, bm as TriggerInboxNameProperty, aU as TriggerInboxNamePropertySchema, bk as TriggerInboxProperty, aS as TriggerInboxPropertySchema, T as TriggerMessageStatus, cA as UpdateManifestEntryOptions, cB as UpdateManifestEntryResult, U as UserProfile, at as UserProfileItem, k as WatchTriggerInboxSchema, d_ as ZAPIER_BASE_URL, e8 as ZAPIER_MAX_CONCURRENT_REQUESTS, e4 as ZAPIER_MAX_NETWORK_RETRIES, e5 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, l as ZapierAbortDrainSignal, bD as ZapierActionError, bw as ZapierApiError, bx as ZapierAppNotFoundError, bI as ZapierApprovalError, bu as ZapierAuthenticationError, bB as ZapierBundleError, dq as ZapierCacheEntry, dr as ZapierCacheSetOptions, bA as ZapierConfigurationError, bE as ZapierConflictError, br as ZapierError, by as ZapierNotFoundError, bG as ZapierRateLimitError, bJ as ZapierRelayError, m as ZapierReleaseTriggerMessageSignal, bz as ZapierResourceNotFoundError, bX as ZapierSignal, bC as ZapierTimeoutError, bt as ZapierUnknownError, bs as ZapierValidationError, cR as actionKeyResolver, cQ as actionTypeResolver, cL as apiPlugin, cK as apiPluginRef, cP as appKeyResolver, bZ as appsPlugin, $ as batch, eC as buildApplicationLifecycleEvent, a1 as buildCapabilityMessage, eE as buildErrorEvent, eD as buildErrorEventWithContext, eG as buildMethodCalledEvent, eq as cleanupEventListeners, dh as clearTokenCache, cX as clientCredentialsNameResolver, cY as clientIdResolver, cT as connectionIdGenericResolver, cS as connectionIdResolver, dZ as connectionsPlugin, dY as connectionsPluginRef, cm as createActionRunPlugin, eF as createBaseEvent, cd as createClientCredentialsPlugin, ds as createMemoryCache, ej as createTableFieldsPlugin, eg as createTablePlugin, en as createTableRecordsPlugin, ag as createZapierApi, a6 as createZapierSdkWithoutRegistry, ce as deleteClientCredentialsPlugin, ek as deleteTableFieldsPlugin, eh as deleteTablePlugin, eo as deleteTableRecordsPlugin, d0 as durableRunIdResolver, ew as eventEmissionHookPlugin, ev as eventEmissionPlugin, eu as eventEmissionPluginRef, c1 as fetchPlugin, ci as findFirstConnectionPlugin, cw as findManifestEntry, cj as findUniqueConnectionPlugin, bW as formatErrorMessage, eK as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cg as getActionPlugin, co as getActionRunPlugin, ac as getAgent, cf as getAppPlugin, dJ as getBaseUrlFromCredentials, X as getCallerContext, eQ as getCiPlatform, dK as getClientIdFromCredentials, ch as getConnectionPlugin, eS as getCpuTime, eL as getCurrentTimestamp, eR as getMemoryUsage, ah as getOrCreateApiClient, eN as getOsInfo, eO as getPlatformVersions, cv as getPreferredManifestEntryKey, cF as getProfilePlugin, eM as getReleaseId, ef as getTablePlugin, el as getTableRecordPlugin, dl as getTokenFromCliLogin, eT as getTtyContext, e9 as getZapierApprovalMode, eb as getZapierDefaultApprovalMode, ea as getZapierOpenAutoModeApprovalsInBrowser, d$ as getZapierSdkService, dj as injectCliLogin, cW as inputFieldKeyResolver, cV as inputsAllOptionalResolver, cU as inputsResolver, di as invalidateCachedToken, dp as invalidateCredentialsToken, eP as isCi, dk as isCliLoginAvailable, dC as isClientCredentials, dF as isCredentialsFunction, dE as isCredentialsObject, ai as isPermanentHttpError, dD as isPkceCredentials, n as isZapierAbortDrainSignal, bT as isZapierActionError, bN as isZapierAppNotFoundError, bV as isZapierApprovalError, bM as isZapierAuthenticationError, bS as isZapierBundleError, bQ as isZapierConflictError, bK as isZapierError, bO as isZapierNotFoundError, bU as isZapierRateLimitError, o as isZapierReleaseTriggerMessageSignal, bP as isZapierResourceNotFoundError, bY as isZapierSignal, bR as isZapierTimeoutError, bL as isZapierValidationError, c8 as listActionInputFieldChoicesPlugin, c6 as listActionInputFieldsPlugin, c4 as listActionsPlugin, c2 as listAppsPlugin, cc as listClientCredentialsPlugin, ca as listConnectionsPlugin, ei as listTableFieldsPlugin, em as listTableRecordsPlugin, ee as listTablesPlugin, a2 as logDeprecation, cz as manifestPlugin, cy as manifestPluginRef, eJ as operationAnnotatorPlugin, e7 as parseConcurrencyEnvVar, cu as readManifestFromFile, ad as registryPlugin, cs as requestPlugin, a3 as resetDeprecationWarnings, dm as resolveAuth, dn as resolveAuthToken, dI as resolveCredentials, dH as resolveCredentialsFromEnv, cO as resolveCredentialsPlugin, cN as resolveCredentialsPluginRef, cq as runActionPlugin, Y as runWithCallerContext, V as sdkOptionsPluginRef, d7 as tableFieldIdsResolver, d9 as tableFieldsResolver, dc as tableFiltersResolver, cZ as tableIdResolver, d8 as tableNameResolver, d5 as tableRecordIdResolver, d6 as tableRecordIdsResolver, da as tableRecordsResolver, dd as tableSortResolver, db as tableUpdateRecordsResolver, c_ as triggerInboxResolver, d4 as triggerMessagesResolver, ep as updateTableRecordsPlugin, d2 as workflowDraftIdResolver, c$ as workflowIdResolver, d3 as workflowRunIdResolver, d1 as workflowVersionIdResolver, bv as zapierAdaptError, a7 as zapierCoreOptions, R as zapierSdkPlugin } from './index-
|
|
1
|
+
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions } from './index-Blmu5pN3.js';
|
|
2
|
+
export { e3 as ACTION_RUNS_PATH, cJ as API_ID, w as Action, cE as ActionEntry, b_ as ActionExecutionOptions, H as ActionExecutionResult, I as ActionField, J as ActionFieldChoice, ap as ActionItem, a$ as ActionKeyProperty, ax as ActionKeyPropertySchema, b0 as ActionProperty, ay as ActionPropertySchema, a9 as ActionResolverItem, bc as ActionTimeoutMillisecondsProperty, aK as ActionTimeoutMillisecondsPropertySchema, bb as ActionTimeoutSecondsProperty, aJ as ActionTimeoutSecondsPropertySchema, aa as ActionTypeItem, a_ as ActionTypeProperty, aw as ActionTypePropertySchema, dv as ApiEvent, cH as ApiPluginOptions, x as App, b$ as AppFactoryInput, an as AppItem, aY as AppKeyProperty, au as AppKeyPropertySchema, aZ as AppProperty, av as AppPropertySchema, ez as ApplicationLifecycleEventData, bH as ApprovalStatus, bh as AppsProperty, aP as AppsPropertySchema, du as AuthEvent, df as AuthMechanism, b4 as AuthenticationIdProperty, aB as AuthenticationIdPropertySchema, eH as BaseEvent, a8 as BaseSdkOptionsSchema, a0 as BatchOptions, dX as CONNECTIONS_ID, cl as CONTEXT_CACHE_MAX_SIZE, ck as CONTEXT_CACHE_TTL_MILLISECONDS, _ as CallerContext, z as Choice, dA as ClientCredentialsObject, dL as ClientCredentialsObjectSchema, P as Connection, dT as ConnectionEntry, dS as ConnectionEntrySchema, b2 as ConnectionIdProperty, aA as ConnectionIdPropertySchema, ao as ConnectionItem, b3 as ConnectionProperty, aC as ConnectionPropertySchema, dV as ConnectionsMap, dU as ConnectionsMapSchema, bj as ConnectionsProperty, aR as ConnectionsPropertySchema, Q as ConnectionsResponse, cn as CreateActionRunPluginProvides, dx as Credentials, dQ as CredentialsFunction, dP as CredentialsFunctionSchema, dz as CredentialsObject, dN as CredentialsObjectSchema, dR as CredentialsSchema, e2 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ec as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cC as DEFAULT_CONFIG_PATH, ed as DEFAULT_MAX_APPROVAL_RETRIES, e1 as DEFAULT_PAGE_SIZE, al as DEPRECATION_NOTICE_EVENT, b9 as DebugProperty, aH as DebugPropertySchema, am as DeprecationNoticePayload, p as DrainTriggerInboxCallback, q as DrainTriggerInboxErrorObserver, j as DrainTriggerInboxSchema, et as EVENT_EMISSION_ID, eA as EnhancedErrorEventData, bq as ErrorOptions, ey as EventContext, er as EventEmissionContext, es as EventEmitter, ex as EventTransport, c0 as FetchPluginProvides, y as Field, bg as FieldsProperty, aO as FieldsPropertySchema, u as FindFirstAuthenticationPluginProvides, v as FindUniqueAuthenticationPluginProvides, cp as GetActionRunPluginProvides, t as GetAuthenticationPluginProvides, cG as GetProfilePluginProvides, ar as InfoFieldItem, aq as InputFieldItem, b1 as InputFieldProperty, az as InputFieldPropertySchema, b5 as InputsProperty, aD as InputsPropertySchema, ak as JsonSseMessage, bp as LeaseLimitProperty, aX as LeaseLimitPropertySchema, bn as LeaseProperty, aV as LeasePropertySchema, bo as LeaseSecondsProperty, aW as LeaseSecondsPropertySchema, r as LeasedTriggerMessageItem, b6 as LimitProperty, aE as LimitPropertySchema, c7 as ListActionInputFieldsPluginProvides, c5 as ListActionsPluginProvides, c3 as ListAppsPluginProvides, s as ListAuthenticationsPluginProvides, cb as ListConnectionsPluginProvides, dw as LoadingEvent, cx as MANIFEST_ID, e6 as MAX_CONCURRENCY_LIMIT, e0 as MAX_PAGE_LIMIT, cD as ManifestEntry, ct as ManifestPluginOptions, eI as MethodCalledEvent, eB as MethodCalledEventData, N as Need, K as NeedsRequest, O as NeedsResponse, b7 as OffsetProperty, aF as OffsetPropertySchema, b8 as OutputProperty, aG as OutputPropertySchema, ba as ParamsProperty, aI as ParamsPropertySchema, dB as PkceCredentialsObject, dM as PkceCredentialsObjectSchema, af as PollOptions, cM as RESOLVE_CREDENTIALS_ID, bF as RateLimitInfo, be as RecordProperty, aM as RecordPropertySchema, bf as RecordsProperty, aN as RecordsPropertySchema, a5 as RelayFetchSchema, a4 as RelayRequestSchema, ae as RequestOptions, de as ResolveAuthTokenOptions, dW as ResolveConnection, cI as ResolveCredentialsFn, dG as ResolveCredentialsOptions, ab as ResolvedAppLocator, dg as ResolvedAuth, dy as ResolvedCredentials, dO as ResolvedCredentialsSchema, as as RootFieldItem, cr as RunActionPluginProvides, S as SDK_OPTIONS_ID, dt as SdkEvent, aj as SseMessage, bd as TableProperty, aL as TablePropertySchema, bi as TablesProperty, aQ as TablesPropertySchema, bl as TriggerInboxKeyProperty, aT as TriggerInboxKeyPropertySchema, bm as TriggerInboxNameProperty, aU as TriggerInboxNamePropertySchema, bk as TriggerInboxProperty, aS as TriggerInboxPropertySchema, T as TriggerMessageStatus, cA as UpdateManifestEntryOptions, cB as UpdateManifestEntryResult, U as UserProfile, at as UserProfileItem, k as WatchTriggerInboxSchema, d_ as ZAPIER_BASE_URL, e8 as ZAPIER_MAX_CONCURRENT_REQUESTS, e4 as ZAPIER_MAX_NETWORK_RETRIES, e5 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, l as ZapierAbortDrainSignal, bD as ZapierActionError, bw as ZapierApiError, bx as ZapierAppNotFoundError, bI as ZapierApprovalError, bu as ZapierAuthenticationError, bB as ZapierBundleError, dq as ZapierCacheEntry, dr as ZapierCacheSetOptions, bA as ZapierConfigurationError, bE as ZapierConflictError, br as ZapierError, by as ZapierNotFoundError, bG as ZapierRateLimitError, bJ as ZapierRelayError, m as ZapierReleaseTriggerMessageSignal, bz as ZapierResourceNotFoundError, bX as ZapierSignal, bC as ZapierTimeoutError, bt as ZapierUnknownError, bs as ZapierValidationError, cR as actionKeyResolver, cQ as actionTypeResolver, cL as apiPlugin, cK as apiPluginRef, cP as appKeyResolver, bZ as appsPlugin, $ as batch, eC as buildApplicationLifecycleEvent, a1 as buildCapabilityMessage, eE as buildErrorEvent, eD as buildErrorEventWithContext, eG as buildMethodCalledEvent, eq as cleanupEventListeners, dh as clearTokenCache, cX as clientCredentialsNameResolver, cY as clientIdResolver, cT as connectionIdGenericResolver, cS as connectionIdResolver, dZ as connectionsPlugin, dY as connectionsPluginRef, cm as createActionRunPlugin, eF as createBaseEvent, cd as createClientCredentialsPlugin, ds as createMemoryCache, ej as createTableFieldsPlugin, eg as createTablePlugin, en as createTableRecordsPlugin, ag as createZapierApi, a6 as createZapierSdkWithoutRegistry, ce as deleteClientCredentialsPlugin, ek as deleteTableFieldsPlugin, eh as deleteTablePlugin, eo as deleteTableRecordsPlugin, d0 as durableRunIdResolver, ew as eventEmissionHookPlugin, ev as eventEmissionPlugin, eu as eventEmissionPluginRef, c1 as fetchPlugin, ci as findFirstConnectionPlugin, cw as findManifestEntry, cj as findUniqueConnectionPlugin, bW as formatErrorMessage, eK as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cg as getActionPlugin, co as getActionRunPlugin, ac as getAgent, cf as getAppPlugin, dJ as getBaseUrlFromCredentials, X as getCallerContext, eQ as getCiPlatform, dK as getClientIdFromCredentials, ch as getConnectionPlugin, eS as getCpuTime, eL as getCurrentTimestamp, eR as getMemoryUsage, ah as getOrCreateApiClient, eN as getOsInfo, eO as getPlatformVersions, cv as getPreferredManifestEntryKey, cF as getProfilePlugin, eM as getReleaseId, ef as getTablePlugin, el as getTableRecordPlugin, dl as getTokenFromCliLogin, eT as getTtyContext, e9 as getZapierApprovalMode, eb as getZapierDefaultApprovalMode, ea as getZapierOpenAutoModeApprovalsInBrowser, d$ as getZapierSdkService, dj as injectCliLogin, cW as inputFieldKeyResolver, cV as inputsAllOptionalResolver, cU as inputsResolver, di as invalidateCachedToken, dp as invalidateCredentialsToken, eP as isCi, dk as isCliLoginAvailable, dC as isClientCredentials, dF as isCredentialsFunction, dE as isCredentialsObject, ai as isPermanentHttpError, dD as isPkceCredentials, n as isZapierAbortDrainSignal, bT as isZapierActionError, bN as isZapierAppNotFoundError, bV as isZapierApprovalError, bM as isZapierAuthenticationError, bS as isZapierBundleError, bQ as isZapierConflictError, bK as isZapierError, bO as isZapierNotFoundError, bU as isZapierRateLimitError, o as isZapierReleaseTriggerMessageSignal, bP as isZapierResourceNotFoundError, bY as isZapierSignal, bR as isZapierTimeoutError, bL as isZapierValidationError, c8 as listActionInputFieldChoicesPlugin, c6 as listActionInputFieldsPlugin, c4 as listActionsPlugin, c2 as listAppsPlugin, cc as listClientCredentialsPlugin, ca as listConnectionsPlugin, ei as listTableFieldsPlugin, em as listTableRecordsPlugin, ee as listTablesPlugin, a2 as logDeprecation, cz as manifestPlugin, cy as manifestPluginRef, eJ as operationAnnotatorPlugin, e7 as parseConcurrencyEnvVar, cu as readManifestFromFile, ad as registryPlugin, cs as requestPlugin, a3 as resetDeprecationWarnings, dm as resolveAuth, dn as resolveAuthToken, dI as resolveCredentials, dH as resolveCredentialsFromEnv, cO as resolveCredentialsPlugin, cN as resolveCredentialsPluginRef, cq as runActionPlugin, Y as runWithCallerContext, V as sdkOptionsPluginRef, d7 as tableFieldIdsResolver, d9 as tableFieldsResolver, dc as tableFiltersResolver, cZ as tableIdResolver, d8 as tableNameResolver, d5 as tableRecordIdResolver, d6 as tableRecordIdsResolver, da as tableRecordsResolver, dd as tableSortResolver, db as tableUpdateRecordsResolver, c_ as triggerInboxResolver, d4 as triggerMessagesResolver, ep as updateTableRecordsPlugin, d2 as workflowDraftIdResolver, c$ as workflowIdResolver, d3 as workflowRunIdResolver, d1 as workflowVersionIdResolver, bv as zapierAdaptError, a7 as zapierCoreOptions, R as zapierSdkPlugin } from './index-Blmu5pN3.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
@@ -3451,6 +3451,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
3451
3451
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
3452
3452
|
debug?: boolean | undefined;
|
|
3453
3453
|
baseUrl?: string | undefined;
|
|
3454
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
3454
3455
|
trackingBaseUrl?: string | undefined;
|
|
3455
3456
|
maxNetworkRetries?: number | undefined;
|
|
3456
3457
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -5357,7 +5358,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5357
5358
|
children?: unknown[] | undefined;
|
|
5358
5359
|
} | undefined;
|
|
5359
5360
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.PluginSummary<"zapier/api", never> & _zapier_kitcore.StandInId<"zapier/api">]>;
|
|
5360
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "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" | "createActionRun" | "getActionRun" | "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" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
5361
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "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" | "createActionRun" | "getActionRun" | "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" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
5361
5362
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
5362
5363
|
getRegistry: (input?: {
|
|
5363
5364
|
package?: string | undefined;
|
package/dist/experimental.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-
|
|
2
|
-
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-
|
|
1
|
+
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-CJKNVBRZ.mjs';
|
|
2
|
+
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-CJKNVBRZ.mjs';
|
|
3
3
|
import './chunk-Y6FXYEAI.mjs';
|
|
4
4
|
import { defineMethod, openEnum, defineResolver, definePlugin, createSdk, CORE_OPTIONS_ID } from '@zapier/kitcore';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -1109,6 +1109,7 @@ declare const eventEmissionPlugin: _zapier_kitcore.PropertyPlugin<"eventEmission
|
|
|
1109
1109
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
1110
1110
|
debug?: boolean | undefined;
|
|
1111
1111
|
baseUrl?: string | undefined;
|
|
1112
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
1112
1113
|
trackingBaseUrl?: string | undefined;
|
|
1113
1114
|
maxNetworkRetries?: number | undefined;
|
|
1114
1115
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -1732,6 +1733,7 @@ declare const NeedsResponseSchema: z.ZodObject<{
|
|
|
1732
1733
|
|
|
1733
1734
|
interface ApiClientOptions {
|
|
1734
1735
|
baseUrl: string;
|
|
1736
|
+
routeOverrides?: Record<string, string>;
|
|
1735
1737
|
/**
|
|
1736
1738
|
* Authentication credentials.
|
|
1737
1739
|
*/
|
|
@@ -1744,14 +1746,21 @@ interface ApiClientOptions {
|
|
|
1744
1746
|
fetch?: typeof globalThis.fetch;
|
|
1745
1747
|
onEvent?: (event: SdkEvent) => void;
|
|
1746
1748
|
/**
|
|
1747
|
-
* Maximum number of retries for rate-limited requests (429 responses)
|
|
1749
|
+
* Maximum number of retries for rate-limited requests (429 responses) and,
|
|
1750
|
+
* on idempotent methods, retryable server errors (500, 502, 503, 504).
|
|
1748
1751
|
* Set to 0 to disable retries. Default is 3.
|
|
1752
|
+
*
|
|
1753
|
+
* Configures the transport this client builds for itself, so it is ignored
|
|
1754
|
+
* when `sendHttpRequest` supplies one.
|
|
1749
1755
|
*/
|
|
1750
1756
|
maxNetworkRetries?: number;
|
|
1751
1757
|
/**
|
|
1752
|
-
* Maximum delay in milliseconds to wait
|
|
1758
|
+
* Maximum delay in milliseconds to wait between network retries.
|
|
1753
1759
|
* If the server requests a longer delay, the request fails immediately.
|
|
1754
1760
|
* Default is 60000 (60 seconds).
|
|
1761
|
+
*
|
|
1762
|
+
* Ignored when `sendHttpRequest` supplies a transport, like
|
|
1763
|
+
* `maxNetworkRetries`.
|
|
1755
1764
|
*/
|
|
1756
1765
|
maxNetworkRetryDelayMilliseconds?: number;
|
|
1757
1766
|
/**
|
|
@@ -1826,6 +1835,12 @@ interface ApiClientOptions {
|
|
|
1826
1835
|
*
|
|
1827
1836
|
* `fetch` remains the credential-exchange transport because token resolution
|
|
1828
1837
|
* runs outside the request pipeline.
|
|
1838
|
+
*
|
|
1839
|
+
* A transport supplied here owns its retry policy. The SDK does not add
|
|
1840
|
+
* another retry loop, so `maxNetworkRetries` and
|
|
1841
|
+
* `maxNetworkRetryDelayMilliseconds` are ignored. A terminal 429 reports
|
|
1842
|
+
* `retries: 0` because the SDK cannot observe retries performed inside a
|
|
1843
|
+
* custom transport.
|
|
1829
1844
|
*/
|
|
1830
1845
|
sendHttpRequest?: SendHttpRequest;
|
|
1831
1846
|
}
|
|
@@ -2232,6 +2247,7 @@ declare const manifestPlugin: _zapier_kitcore.PropertyPlugin<"manifest", Manifes
|
|
|
2232
2247
|
}, z.core.$strip>]>]>>]>> | undefined;
|
|
2233
2248
|
debug?: boolean | undefined;
|
|
2234
2249
|
baseUrl?: string | undefined;
|
|
2250
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
2235
2251
|
trackingBaseUrl?: string | undefined;
|
|
2236
2252
|
maxNetworkRetries?: number | undefined;
|
|
2237
2253
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -4317,6 +4333,7 @@ declare const BaseSdkOptionsSchema: z.ZodObject<{
|
|
|
4317
4333
|
}, z.core.$strip>]>]>>]>>]>>;
|
|
4318
4334
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
4319
4335
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4336
|
+
routeOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4320
4337
|
trackingBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4321
4338
|
maxNetworkRetries: z.ZodOptional<z.ZodNumber>;
|
|
4322
4339
|
maxNetworkRetryDelaySeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4468,6 +4485,7 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
4468
4485
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
4469
4486
|
debug?: boolean | undefined;
|
|
4470
4487
|
baseUrl?: string | undefined;
|
|
4488
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
4471
4489
|
trackingBaseUrl?: string | undefined;
|
|
4472
4490
|
maxNetworkRetries?: number | undefined;
|
|
4473
4491
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -4494,7 +4512,7 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
4494
4512
|
token?: string | undefined;
|
|
4495
4513
|
} | undefined> & _zapier_kitcore.PluginSummary<never, never> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.AggregatePlugin<"httpTransport", {
|
|
4496
4514
|
sendHttpRequest: _zapier_kitcore.MethodPlugin<"sendHttpRequest", _zapier_kitcore.HttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.HttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "sendHttpRequest", readonly [_zapier_kitcore.MethodPlugin<"initializeHttpRequest", _zapier_kitcore.InitializeHttpRequestInput, Promise<_zapier_kitcore.HttpOperationContext>, readonly [], _zapier_kitcore.InitializeHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "initializeHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"attemptHttpRequest", _zapier_kitcore.AttemptHttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.AttemptHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "attemptHttpRequest", readonly [_zapier_kitcore.MethodPlugin<"prepareHttpRequest", _zapier_kitcore.PrepareHttpRequestInput, Promise<_zapier_kitcore.HttpRequest>, readonly [], _zapier_kitcore.PrepareHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "prepareHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"authorizeHttpRequest", _zapier_kitcore.AuthorizeHttpRequestInput, Promise<_zapier_kitcore.HttpRequest>, readonly [], _zapier_kitcore.AuthorizeHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "authorizeHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"dispatchHttpRequest", _zapier_kitcore.DispatchHttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.DispatchHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "dispatchHttpRequest", readonly [_zapier_kitcore.PropertyPlugin<"httpFetch", typeof fetch | undefined> & _zapier_kitcore.PluginSummary<never, never> & _zapier_kitcore.StandInId<"kitcore/httpFetch">]>, _zapier_kitcore.MethodPlugin<"receiveHttpResponse", _zapier_kitcore.ReceiveHttpResponseInput, Promise<Response>, readonly [], _zapier_kitcore.ReceiveHttpResponseInput> & _zapier_kitcore.LeafSummary<"kitcore", "receiveHttpResponse", readonly []>]>]>;
|
|
4497
|
-
}> & _zapier_kitcore.PluginSummary<never, "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport">]>;
|
|
4515
|
+
}> & _zapier_kitcore.PluginSummary<never, "kitcore/httpFetch" | "kitcore/retryHttpRequestOptions" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport">]>;
|
|
4498
4516
|
declare const RESOLVE_CREDENTIALS_ID = "zapier/resolveCredentials";
|
|
4499
4517
|
/**
|
|
4500
4518
|
* The typed stand-in for the credentials resolver
|
|
@@ -4551,6 +4569,7 @@ declare const resolveCredentialsPlugin: _zapier_kitcore.PropertyPlugin<"resolveC
|
|
|
4551
4569
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
4552
4570
|
debug?: boolean | undefined;
|
|
4553
4571
|
baseUrl?: string | undefined;
|
|
4572
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
4554
4573
|
trackingBaseUrl?: string | undefined;
|
|
4555
4574
|
maxNetworkRetries?: number | undefined;
|
|
4556
4575
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -10028,6 +10047,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
10028
10047
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
10029
10048
|
debug?: boolean | undefined;
|
|
10030
10049
|
baseUrl?: string | undefined;
|
|
10050
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
10031
10051
|
trackingBaseUrl?: string | undefined;
|
|
10032
10052
|
maxNetworkRetries?: number | undefined;
|
|
10033
10053
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -10709,7 +10729,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
10709
10729
|
data: Record<string, unknown>;
|
|
10710
10730
|
}[];
|
|
10711
10731
|
}> & _zapier_kitcore.LeafSummary<"", "updateTableRecords", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.PluginSummary<"zapier/api", never> & _zapier_kitcore.StandInId<"zapier/api">]>;
|
|
10712
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "
|
|
10732
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "request" | "kitcore/httpFetch" | "kitcore/retryHttpRequestOptions" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk">;
|
|
10713
10733
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
10714
10734
|
getRegistry: (input?: {
|
|
10715
10735
|
package?: string | undefined;
|
|
@@ -12448,6 +12468,7 @@ declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions",
|
|
|
12448
12468
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
12449
12469
|
debug?: boolean | undefined;
|
|
12450
12470
|
baseUrl?: string | undefined;
|
|
12471
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
12451
12472
|
trackingBaseUrl?: string | undefined;
|
|
12452
12473
|
maxNetworkRetries?: number | undefined;
|
|
12453
12474
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -1109,6 +1109,7 @@ declare const eventEmissionPlugin: _zapier_kitcore.PropertyPlugin<"eventEmission
|
|
|
1109
1109
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
1110
1110
|
debug?: boolean | undefined;
|
|
1111
1111
|
baseUrl?: string | undefined;
|
|
1112
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
1112
1113
|
trackingBaseUrl?: string | undefined;
|
|
1113
1114
|
maxNetworkRetries?: number | undefined;
|
|
1114
1115
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -1732,6 +1733,7 @@ declare const NeedsResponseSchema: z.ZodObject<{
|
|
|
1732
1733
|
|
|
1733
1734
|
interface ApiClientOptions {
|
|
1734
1735
|
baseUrl: string;
|
|
1736
|
+
routeOverrides?: Record<string, string>;
|
|
1735
1737
|
/**
|
|
1736
1738
|
* Authentication credentials.
|
|
1737
1739
|
*/
|
|
@@ -1744,14 +1746,21 @@ interface ApiClientOptions {
|
|
|
1744
1746
|
fetch?: typeof globalThis.fetch;
|
|
1745
1747
|
onEvent?: (event: SdkEvent) => void;
|
|
1746
1748
|
/**
|
|
1747
|
-
* Maximum number of retries for rate-limited requests (429 responses)
|
|
1749
|
+
* Maximum number of retries for rate-limited requests (429 responses) and,
|
|
1750
|
+
* on idempotent methods, retryable server errors (500, 502, 503, 504).
|
|
1748
1751
|
* Set to 0 to disable retries. Default is 3.
|
|
1752
|
+
*
|
|
1753
|
+
* Configures the transport this client builds for itself, so it is ignored
|
|
1754
|
+
* when `sendHttpRequest` supplies one.
|
|
1749
1755
|
*/
|
|
1750
1756
|
maxNetworkRetries?: number;
|
|
1751
1757
|
/**
|
|
1752
|
-
* Maximum delay in milliseconds to wait
|
|
1758
|
+
* Maximum delay in milliseconds to wait between network retries.
|
|
1753
1759
|
* If the server requests a longer delay, the request fails immediately.
|
|
1754
1760
|
* Default is 60000 (60 seconds).
|
|
1761
|
+
*
|
|
1762
|
+
* Ignored when `sendHttpRequest` supplies a transport, like
|
|
1763
|
+
* `maxNetworkRetries`.
|
|
1755
1764
|
*/
|
|
1756
1765
|
maxNetworkRetryDelayMilliseconds?: number;
|
|
1757
1766
|
/**
|
|
@@ -1826,6 +1835,12 @@ interface ApiClientOptions {
|
|
|
1826
1835
|
*
|
|
1827
1836
|
* `fetch` remains the credential-exchange transport because token resolution
|
|
1828
1837
|
* runs outside the request pipeline.
|
|
1838
|
+
*
|
|
1839
|
+
* A transport supplied here owns its retry policy. The SDK does not add
|
|
1840
|
+
* another retry loop, so `maxNetworkRetries` and
|
|
1841
|
+
* `maxNetworkRetryDelayMilliseconds` are ignored. A terminal 429 reports
|
|
1842
|
+
* `retries: 0` because the SDK cannot observe retries performed inside a
|
|
1843
|
+
* custom transport.
|
|
1829
1844
|
*/
|
|
1830
1845
|
sendHttpRequest?: SendHttpRequest;
|
|
1831
1846
|
}
|
|
@@ -2232,6 +2247,7 @@ declare const manifestPlugin: _zapier_kitcore.PropertyPlugin<"manifest", Manifes
|
|
|
2232
2247
|
}, z.core.$strip>]>]>>]>> | undefined;
|
|
2233
2248
|
debug?: boolean | undefined;
|
|
2234
2249
|
baseUrl?: string | undefined;
|
|
2250
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
2235
2251
|
trackingBaseUrl?: string | undefined;
|
|
2236
2252
|
maxNetworkRetries?: number | undefined;
|
|
2237
2253
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -4317,6 +4333,7 @@ declare const BaseSdkOptionsSchema: z.ZodObject<{
|
|
|
4317
4333
|
}, z.core.$strip>]>]>>]>>]>>;
|
|
4318
4334
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
4319
4335
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4336
|
+
routeOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4320
4337
|
trackingBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4321
4338
|
maxNetworkRetries: z.ZodOptional<z.ZodNumber>;
|
|
4322
4339
|
maxNetworkRetryDelaySeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4468,6 +4485,7 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
4468
4485
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
4469
4486
|
debug?: boolean | undefined;
|
|
4470
4487
|
baseUrl?: string | undefined;
|
|
4488
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
4471
4489
|
trackingBaseUrl?: string | undefined;
|
|
4472
4490
|
maxNetworkRetries?: number | undefined;
|
|
4473
4491
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -4494,7 +4512,7 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
4494
4512
|
token?: string | undefined;
|
|
4495
4513
|
} | undefined> & _zapier_kitcore.PluginSummary<never, never> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.AggregatePlugin<"httpTransport", {
|
|
4496
4514
|
sendHttpRequest: _zapier_kitcore.MethodPlugin<"sendHttpRequest", _zapier_kitcore.HttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.HttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "sendHttpRequest", readonly [_zapier_kitcore.MethodPlugin<"initializeHttpRequest", _zapier_kitcore.InitializeHttpRequestInput, Promise<_zapier_kitcore.HttpOperationContext>, readonly [], _zapier_kitcore.InitializeHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "initializeHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"attemptHttpRequest", _zapier_kitcore.AttemptHttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.AttemptHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "attemptHttpRequest", readonly [_zapier_kitcore.MethodPlugin<"prepareHttpRequest", _zapier_kitcore.PrepareHttpRequestInput, Promise<_zapier_kitcore.HttpRequest>, readonly [], _zapier_kitcore.PrepareHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "prepareHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"authorizeHttpRequest", _zapier_kitcore.AuthorizeHttpRequestInput, Promise<_zapier_kitcore.HttpRequest>, readonly [], _zapier_kitcore.AuthorizeHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "authorizeHttpRequest", readonly []>, _zapier_kitcore.MethodPlugin<"dispatchHttpRequest", _zapier_kitcore.DispatchHttpRequestInput, Promise<Response>, readonly [], _zapier_kitcore.DispatchHttpRequestInput> & _zapier_kitcore.LeafSummary<"kitcore", "dispatchHttpRequest", readonly [_zapier_kitcore.PropertyPlugin<"httpFetch", typeof fetch | undefined> & _zapier_kitcore.PluginSummary<never, never> & _zapier_kitcore.StandInId<"kitcore/httpFetch">]>, _zapier_kitcore.MethodPlugin<"receiveHttpResponse", _zapier_kitcore.ReceiveHttpResponseInput, Promise<Response>, readonly [], _zapier_kitcore.ReceiveHttpResponseInput> & _zapier_kitcore.LeafSummary<"kitcore", "receiveHttpResponse", readonly []>]>]>;
|
|
4497
|
-
}> & _zapier_kitcore.PluginSummary<never, "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport">]>;
|
|
4515
|
+
}> & _zapier_kitcore.PluginSummary<never, "kitcore/httpFetch" | "kitcore/retryHttpRequestOptions" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport">]>;
|
|
4498
4516
|
declare const RESOLVE_CREDENTIALS_ID = "zapier/resolveCredentials";
|
|
4499
4517
|
/**
|
|
4500
4518
|
* The typed stand-in for the credentials resolver
|
|
@@ -4551,6 +4569,7 @@ declare const resolveCredentialsPlugin: _zapier_kitcore.PropertyPlugin<"resolveC
|
|
|
4551
4569
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
4552
4570
|
debug?: boolean | undefined;
|
|
4553
4571
|
baseUrl?: string | undefined;
|
|
4572
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
4554
4573
|
trackingBaseUrl?: string | undefined;
|
|
4555
4574
|
maxNetworkRetries?: number | undefined;
|
|
4556
4575
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -10028,6 +10047,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
10028
10047
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
10029
10048
|
debug?: boolean | undefined;
|
|
10030
10049
|
baseUrl?: string | undefined;
|
|
10050
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
10031
10051
|
trackingBaseUrl?: string | undefined;
|
|
10032
10052
|
maxNetworkRetries?: number | undefined;
|
|
10033
10053
|
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
@@ -10709,7 +10729,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
10709
10729
|
data: Record<string, unknown>;
|
|
10710
10730
|
}[];
|
|
10711
10731
|
}> & _zapier_kitcore.LeafSummary<"", "updateTableRecords", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.PluginSummary<"zapier/api", never> & _zapier_kitcore.StandInId<"zapier/api">]>;
|
|
10712
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "kitcore/httpFetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "
|
|
10732
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "request" | "kitcore/httpFetch" | "kitcore/retryHttpRequestOptions" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "zapier/httpTransport" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk">;
|
|
10713
10733
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
10714
10734
|
getRegistry: (input?: {
|
|
10715
10735
|
package?: string | undefined;
|
|
@@ -12448,6 +12468,7 @@ declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions",
|
|
|
12448
12468
|
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
12449
12469
|
debug?: boolean | undefined;
|
|
12450
12470
|
baseUrl?: string | undefined;
|
|
12471
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
12451
12472
|
trackingBaseUrl?: string | undefined;
|
|
12452
12473
|
maxNetworkRetries?: number | undefined;
|
|
12453
12474
|
maxNetworkRetryDelaySeconds?: number | undefined;
|