@zapier/zapier-sdk 0.72.0 → 0.73.1
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/README.md +32 -32
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +9 -0
- package/dist/api/types.d.ts +5 -4
- package/dist/api/types.d.ts.map +1 -1
- package/dist/experimental.cjs +175 -65
- package/dist/experimental.d.mts +160 -12
- package/dist/experimental.d.ts +158 -10
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +175 -65
- package/dist/{index-B43uST61.d.mts → index-D1O7Pcex.d.mts} +5 -4
- package/dist/{index-B43uST61.d.ts → index-D1O7Pcex.d.ts} +5 -4
- package/dist/index.cjs +10 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +10 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +42 -3
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +49 -11
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts +117 -5
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.js +77 -14
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +37 -2
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/runDurable/index.js +10 -9
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts +117 -4
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/runDurable/schemas.js +38 -37
- package/dist/plugins/codeSubstrate/shared.d.ts +56 -0
- package/dist/plugins/codeSubstrate/shared.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared.js +100 -0
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-
|
|
2
|
-
export { H as Action, cf as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aT as ActionItem, bt as ActionKeyProperty, b1 as ActionKeyPropertySchema, bu as ActionProperty, b2 as ActionPropertySchema, aH as ActionResolverItem, bF as ActionTimeoutMsProperty, bd as ActionTimeoutMsPropertySchema, aI as ActionTypeItem, bs as ActionTypeProperty, b0 as ActionTypePropertySchema, cb as ApiError, dF as ApiEvent, cZ as ApiPluginOptions, c$ as ApiPluginProvides, I as App, cg as AppFactoryInput, aR as AppItem, bq as AppKeyProperty, a_ as AppKeyPropertySchema, br as AppProperty, a$ as AppPropertySchema, eP as ApplicationLifecycleEventData, c7 as ApprovalStatus, ce as AppsPluginProvides, bK as AppsProperty, bi as AppsPropertySchema, a8 as ArrayResolver, dE as AuthEvent, by as AuthenticationIdProperty, b5 as AuthenticationIdPropertySchema, eX as BaseEvent, av as BaseSdkOptionsSchema, aj as BatchOptions, cM as CONTEXT_CACHE_MAX_SIZE, cL as CONTEXT_CACHE_TTL_MS, az as CORE_ERROR_SYMBOL, K as Choice, dL as ClientCredentialsObject, dW as ClientCredentialsObjectSchema, _ as Connection, e2 as ConnectionEntry, e1 as ConnectionEntrySchema, bw as ConnectionIdProperty, b4 as ConnectionIdPropertySchema, aS as ConnectionItem, bx as ConnectionProperty, b6 as ConnectionPropertySchema, e4 as ConnectionsMap, e3 as ConnectionsMapSchema, e6 as ConnectionsPluginProvides, bM as ConnectionsProperty, bk as ConnectionsPropertySchema, $ as ConnectionsResponse, aA as CoreErrorCode, cy as CreateClientCredentialsPluginProvides, ex as CreateTableFieldsPluginProvides, er as CreateTablePluginProvides, eF as CreateTableRecordsPluginProvides, dI as Credentials, d$ as CredentialsFunction, d_ as CredentialsFunctionSchema, dK as CredentialsObject, dY as CredentialsObjectSchema, e0 as CredentialsSchema, eb as DEFAULT_ACTION_TIMEOUT_MS, ek as DEFAULT_APPROVAL_TIMEOUT_MS, cV as DEFAULT_CONFIG_PATH, el as DEFAULT_MAX_APPROVAL_RETRIES, ea as DEFAULT_PAGE_SIZE, bD as DebugProperty, bb as DebugPropertySchema, cA as DeleteClientCredentialsPluginProvides, ez as DeleteTableFieldsPluginProvides, et as DeleteTablePluginProvides, eH as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eQ as EnhancedErrorEventData, bS as ErrorOptions, dH as EventCallback, eO as EventContext, eL as EventEmissionConfig, eN as EventEmissionProvides, ci as FetchPluginProvides, J as Field, bJ as FieldsProperty, bh as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cI as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cK as FindUniqueConnectionPluginProvides, a6 as FormattedItem, au as FunctionDeprecation, at as FunctionRegistryEntry, cs as GetActionInputFieldsSchemaPluginProvides, cE as GetActionPluginProvides, cC as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cG as GetConnectionPluginProvides, cY as GetProfilePluginProvides, ep as GetTablePluginProvides, eB as GetTableRecordPluginProvides, aV as InfoFieldItem, aU as InputFieldItem, bv as InputFieldProperty, b3 as InputFieldPropertySchema, bz as InputsProperty, b7 as InputsPropertySchema, aQ as JsonSseMessage, bR as LeaseLimitProperty, bp as LeaseLimitPropertySchema, bP as LeaseProperty, bn as LeasePropertySchema, bQ as LeaseSecondsProperty, bo as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bA as LimitProperty, b8 as LimitPropertySchema, cq as ListActionInputFieldChoicesPluginProvides, co as ListActionInputFieldsPluginProvides, cm as ListActionsPluginProvides, ck as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cw as ListClientCredentialsPluginProvides, cu as ListConnectionsPluginProvides, ev as ListTableFieldsPluginProvides, eD as ListTableRecordsPluginProvides, en as ListTablesPluginProvides, dG as LoadingEvent, ee as MAX_CONCURRENCY_LIMIT, e9 as MAX_PAGE_LIMIT, cW as ManifestEntry, cR as ManifestPluginOptions, cU as ManifestPluginProvides, eY as MethodCalledEvent, eR as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bB as OffsetProperty, b9 as OffsetPropertySchema, bC as OutputProperty, ba as OutputPropertySchema, aZ as PaginatedSdkFunction, bE as ParamsProperty, bc as ParamsPropertySchema, dM as PkceCredentialsObject, dX as PkceCredentialsObjectSchema, aB as Plugin, aC as PluginProvides, aL as PollOptions, c5 as RateLimitInfo, bH as RecordProperty, bf as RecordPropertySchema, bI as RecordsProperty, bg as RecordsPropertySchema, ao as RelayFetchSchema, an as RelayRequestSchema, aK as RequestOptions, cQ as RequestPluginProvides, dr as ResolveAuthTokenOptions, dR as ResolveCredentialsOptions, dJ as ResolvedCredentials, dZ as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aW as RootFieldItem, cO as RunActionPluginProvides, dD as SdkEvent, aY as SdkPage, aP as SseMessage, aa as StaticResolver, bG as TableProperty, be as TablePropertySchema, bL as TablesProperty, bj as TablesPropertySchema, bO as TriggerInboxNameProperty, bm as TriggerInboxNamePropertySchema, bN as TriggerInboxProperty, bl as TriggerInboxPropertySchema, T as TriggerMessageStatus, eJ as UpdateTableRecordsPluginProvides, a0 as UserProfile, aX as UserProfileItem, e7 as ZAPIER_BASE_URL, eg as ZAPIER_MAX_CONCURRENT_REQUESTS, ec as ZAPIER_MAX_NETWORK_RETRIES, ed as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c3 as ZapierActionError, bY as ZapierApiError, bZ as ZapierAppNotFoundError, c8 as ZapierApprovalError, bW as ZapierAuthenticationError, c1 as ZapierBundleError, dz as ZapierCache, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, c0 as ZapierConfigurationError, c4 as ZapierConflictError, bT as ZapierError, b_ as ZapierNotFoundError, c6 as ZapierRateLimitError, c9 as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, b$ as ZapierResourceNotFoundError, cc as ZapierSignal, c2 as ZapierTimeoutError, bV as ZapierUnknownError, bU as ZapierValidationError, d2 as actionKeyResolver, d1 as actionTypeResolver, a5 as addPlugin, c_ as apiPlugin, d0 as appKeyResolver, cd as appsPlugin, d4 as authenticationIdGenericResolver, d3 as authenticationIdResolver, ai as batch, eS as buildApplicationLifecycleEvent, ak as buildCapabilityMessage, eU as buildErrorEvent, eT as buildErrorEventWithContext, eW as buildMethodCalledEvent, eK as cleanupEventListeners, ds as clearTokenCache, d8 as clientCredentialsNameResolver, d9 as clientIdResolver, aG as composePlugins, d4 as connectionIdGenericResolver, d3 as connectionIdResolver, e5 as connectionsPlugin, eV as createBaseEvent, cx as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dC as createMemoryCache, ar as createOptionsPlugin, aF as createPaginatedPluginMethod, aE as createPluginMethod, a3 as createPluginStack, aq as createSdk, ew as createTableFieldsPlugin, eq as createTablePlugin, eE as createTableRecordsPlugin, aM as createZapierApi, as as createZapierCoreStack, ap as createZapierSdkWithoutRegistry, aD as definePlugin, cz as deleteClientCredentialsPlugin, ey as deleteTableFieldsPlugin, es as deleteTablePlugin, eG as deleteTableRecordsPlugin, dd as durableRunIdResolver, eM as eventEmissionPlugin, ch as fetchPlugin, cH as findFirstConnectionPlugin, cJ as findUniqueConnectionPlugin, ca as formatErrorMessage, eZ as generateEventId, cr as getActionInputFieldsSchemaPlugin, cD as getActionPlugin, f7 as getAgent, cB as getAppPlugin, dU as getBaseUrlFromCredentials, f3 as getCiPlatform, dV as getClientIdFromCredentials, cF as getConnectionPlugin, ay as getCoreErrorCause, ax as getCoreErrorCode, f5 as getCpuTime, e_ as getCurrentTimestamp, f4 as getMemoryUsage, aN as getOrCreateApiClient, f0 as getOsInfo, f1 as getPlatformVersions, cS as getPreferredManifestEntryKey, cX as getProfilePlugin, e$ as getReleaseId, eo as getTablePlugin, eA as getTableRecordPlugin, dw as getTokenFromCliLogin, f6 as getTtyContext, eh as getZapierApprovalMode, ej as getZapierDefaultApprovalMode, ei as getZapierOpenAutoModeApprovalsInBrowser, e8 as getZapierSdkService, du as injectCliLogin, d7 as inputFieldKeyResolver, d6 as inputsAllOptionalResolver, d5 as inputsResolver, dt as invalidateCachedToken, dy as invalidateCredentialsToken, f2 as isCi, dv as isCliLoginAvailable, dN as isClientCredentials, aw as isCoreError, dQ as isCredentialsFunction, dP as isCredentialsObject, aO as isPermanentHttpError, dO as isPkceCredentials, a1 as isPositional, cp as listActionInputFieldChoicesPlugin, cn as listActionInputFieldsPlugin, cl as listActionsPlugin, cj as listAppsPlugin, cv as listClientCredentialsPlugin, ct as listConnectionsPlugin, eu as listTableFieldsPlugin, eC as listTableRecordsPlugin, em as listTablesPlugin, al as logDeprecation, cT as manifestPlugin, ef as parseConcurrencyEnvVar, aJ as registryPlugin, cP as requestPlugin, am as resetDeprecationWarnings, dx as resolveAuthToken, dT as resolveCredentials, dS as resolveCredentialsFromEnv, cN as runActionPlugin, ae as runInMethodScope, af as runWithTelemetryContext, dj as tableFieldIdsResolver, dl as tableFieldsResolver, dp as tableFiltersResolver, da as tableIdResolver, dk as tableNameResolver, dh as tableRecordIdResolver, di as tableRecordIdsResolver, dm as tableRecordsResolver, dq as tableSortResolver, dn as tableUpdateRecordsResolver, ag as toSnakeCase, ah as toTitleCase, db as triggerInboxResolver, dg as triggerMessagesResolver, eI as updateTableRecordsPlugin, dc as workflowIdResolver, df as workflowRunIdResolver, de as workflowVersionIdResolver, bX as zapierAdaptError } from './index-
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-D1O7Pcex.mjs';
|
|
2
|
+
export { H as Action, cf as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aT as ActionItem, bt as ActionKeyProperty, b1 as ActionKeyPropertySchema, bu as ActionProperty, b2 as ActionPropertySchema, aH as ActionResolverItem, bF as ActionTimeoutMsProperty, bd as ActionTimeoutMsPropertySchema, aI as ActionTypeItem, bs as ActionTypeProperty, b0 as ActionTypePropertySchema, cb as ApiError, dF as ApiEvent, cZ as ApiPluginOptions, c$ as ApiPluginProvides, I as App, cg as AppFactoryInput, aR as AppItem, bq as AppKeyProperty, a_ as AppKeyPropertySchema, br as AppProperty, a$ as AppPropertySchema, eP as ApplicationLifecycleEventData, c7 as ApprovalStatus, ce as AppsPluginProvides, bK as AppsProperty, bi as AppsPropertySchema, a8 as ArrayResolver, dE as AuthEvent, by as AuthenticationIdProperty, b5 as AuthenticationIdPropertySchema, eX as BaseEvent, av as BaseSdkOptionsSchema, aj as BatchOptions, cM as CONTEXT_CACHE_MAX_SIZE, cL as CONTEXT_CACHE_TTL_MS, az as CORE_ERROR_SYMBOL, K as Choice, dL as ClientCredentialsObject, dW as ClientCredentialsObjectSchema, _ as Connection, e2 as ConnectionEntry, e1 as ConnectionEntrySchema, bw as ConnectionIdProperty, b4 as ConnectionIdPropertySchema, aS as ConnectionItem, bx as ConnectionProperty, b6 as ConnectionPropertySchema, e4 as ConnectionsMap, e3 as ConnectionsMapSchema, e6 as ConnectionsPluginProvides, bM as ConnectionsProperty, bk as ConnectionsPropertySchema, $ as ConnectionsResponse, aA as CoreErrorCode, cy as CreateClientCredentialsPluginProvides, ex as CreateTableFieldsPluginProvides, er as CreateTablePluginProvides, eF as CreateTableRecordsPluginProvides, dI as Credentials, d$ as CredentialsFunction, d_ as CredentialsFunctionSchema, dK as CredentialsObject, dY as CredentialsObjectSchema, e0 as CredentialsSchema, eb as DEFAULT_ACTION_TIMEOUT_MS, ek as DEFAULT_APPROVAL_TIMEOUT_MS, cV as DEFAULT_CONFIG_PATH, el as DEFAULT_MAX_APPROVAL_RETRIES, ea as DEFAULT_PAGE_SIZE, bD as DebugProperty, bb as DebugPropertySchema, cA as DeleteClientCredentialsPluginProvides, ez as DeleteTableFieldsPluginProvides, et as DeleteTablePluginProvides, eH as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eQ as EnhancedErrorEventData, bS as ErrorOptions, dH as EventCallback, eO as EventContext, eL as EventEmissionConfig, eN as EventEmissionProvides, ci as FetchPluginProvides, J as Field, bJ as FieldsProperty, bh as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cI as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cK as FindUniqueConnectionPluginProvides, a6 as FormattedItem, au as FunctionDeprecation, at as FunctionRegistryEntry, cs as GetActionInputFieldsSchemaPluginProvides, cE as GetActionPluginProvides, cC as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cG as GetConnectionPluginProvides, cY as GetProfilePluginProvides, ep as GetTablePluginProvides, eB as GetTableRecordPluginProvides, aV as InfoFieldItem, aU as InputFieldItem, bv as InputFieldProperty, b3 as InputFieldPropertySchema, bz as InputsProperty, b7 as InputsPropertySchema, aQ as JsonSseMessage, bR as LeaseLimitProperty, bp as LeaseLimitPropertySchema, bP as LeaseProperty, bn as LeasePropertySchema, bQ as LeaseSecondsProperty, bo as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bA as LimitProperty, b8 as LimitPropertySchema, cq as ListActionInputFieldChoicesPluginProvides, co as ListActionInputFieldsPluginProvides, cm as ListActionsPluginProvides, ck as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cw as ListClientCredentialsPluginProvides, cu as ListConnectionsPluginProvides, ev as ListTableFieldsPluginProvides, eD as ListTableRecordsPluginProvides, en as ListTablesPluginProvides, dG as LoadingEvent, ee as MAX_CONCURRENCY_LIMIT, e9 as MAX_PAGE_LIMIT, cW as ManifestEntry, cR as ManifestPluginOptions, cU as ManifestPluginProvides, eY as MethodCalledEvent, eR as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bB as OffsetProperty, b9 as OffsetPropertySchema, bC as OutputProperty, ba as OutputPropertySchema, aZ as PaginatedSdkFunction, bE as ParamsProperty, bc as ParamsPropertySchema, dM as PkceCredentialsObject, dX as PkceCredentialsObjectSchema, aB as Plugin, aC as PluginProvides, aL as PollOptions, c5 as RateLimitInfo, bH as RecordProperty, bf as RecordPropertySchema, bI as RecordsProperty, bg as RecordsPropertySchema, ao as RelayFetchSchema, an as RelayRequestSchema, aK as RequestOptions, cQ as RequestPluginProvides, dr as ResolveAuthTokenOptions, dR as ResolveCredentialsOptions, dJ as ResolvedCredentials, dZ as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aW as RootFieldItem, cO as RunActionPluginProvides, dD as SdkEvent, aY as SdkPage, aP as SseMessage, aa as StaticResolver, bG as TableProperty, be as TablePropertySchema, bL as TablesProperty, bj as TablesPropertySchema, bO as TriggerInboxNameProperty, bm as TriggerInboxNamePropertySchema, bN as TriggerInboxProperty, bl as TriggerInboxPropertySchema, T as TriggerMessageStatus, eJ as UpdateTableRecordsPluginProvides, a0 as UserProfile, aX as UserProfileItem, e7 as ZAPIER_BASE_URL, eg as ZAPIER_MAX_CONCURRENT_REQUESTS, ec as ZAPIER_MAX_NETWORK_RETRIES, ed as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c3 as ZapierActionError, bY as ZapierApiError, bZ as ZapierAppNotFoundError, c8 as ZapierApprovalError, bW as ZapierAuthenticationError, c1 as ZapierBundleError, dz as ZapierCache, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, c0 as ZapierConfigurationError, c4 as ZapierConflictError, bT as ZapierError, b_ as ZapierNotFoundError, c6 as ZapierRateLimitError, c9 as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, b$ as ZapierResourceNotFoundError, cc as ZapierSignal, c2 as ZapierTimeoutError, bV as ZapierUnknownError, bU as ZapierValidationError, d2 as actionKeyResolver, d1 as actionTypeResolver, a5 as addPlugin, c_ as apiPlugin, d0 as appKeyResolver, cd as appsPlugin, d4 as authenticationIdGenericResolver, d3 as authenticationIdResolver, ai as batch, eS as buildApplicationLifecycleEvent, ak as buildCapabilityMessage, eU as buildErrorEvent, eT as buildErrorEventWithContext, eW as buildMethodCalledEvent, eK as cleanupEventListeners, ds as clearTokenCache, d8 as clientCredentialsNameResolver, d9 as clientIdResolver, aG as composePlugins, d4 as connectionIdGenericResolver, d3 as connectionIdResolver, e5 as connectionsPlugin, eV as createBaseEvent, cx as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dC as createMemoryCache, ar as createOptionsPlugin, aF as createPaginatedPluginMethod, aE as createPluginMethod, a3 as createPluginStack, aq as createSdk, ew as createTableFieldsPlugin, eq as createTablePlugin, eE as createTableRecordsPlugin, aM as createZapierApi, as as createZapierCoreStack, ap as createZapierSdkWithoutRegistry, aD as definePlugin, cz as deleteClientCredentialsPlugin, ey as deleteTableFieldsPlugin, es as deleteTablePlugin, eG as deleteTableRecordsPlugin, dd as durableRunIdResolver, eM as eventEmissionPlugin, ch as fetchPlugin, cH as findFirstConnectionPlugin, cJ as findUniqueConnectionPlugin, ca as formatErrorMessage, eZ as generateEventId, cr as getActionInputFieldsSchemaPlugin, cD as getActionPlugin, f7 as getAgent, cB as getAppPlugin, dU as getBaseUrlFromCredentials, f3 as getCiPlatform, dV as getClientIdFromCredentials, cF as getConnectionPlugin, ay as getCoreErrorCause, ax as getCoreErrorCode, f5 as getCpuTime, e_ as getCurrentTimestamp, f4 as getMemoryUsage, aN as getOrCreateApiClient, f0 as getOsInfo, f1 as getPlatformVersions, cS as getPreferredManifestEntryKey, cX as getProfilePlugin, e$ as getReleaseId, eo as getTablePlugin, eA as getTableRecordPlugin, dw as getTokenFromCliLogin, f6 as getTtyContext, eh as getZapierApprovalMode, ej as getZapierDefaultApprovalMode, ei as getZapierOpenAutoModeApprovalsInBrowser, e8 as getZapierSdkService, du as injectCliLogin, d7 as inputFieldKeyResolver, d6 as inputsAllOptionalResolver, d5 as inputsResolver, dt as invalidateCachedToken, dy as invalidateCredentialsToken, f2 as isCi, dv as isCliLoginAvailable, dN as isClientCredentials, aw as isCoreError, dQ as isCredentialsFunction, dP as isCredentialsObject, aO as isPermanentHttpError, dO as isPkceCredentials, a1 as isPositional, cp as listActionInputFieldChoicesPlugin, cn as listActionInputFieldsPlugin, cl as listActionsPlugin, cj as listAppsPlugin, cv as listClientCredentialsPlugin, ct as listConnectionsPlugin, eu as listTableFieldsPlugin, eC as listTableRecordsPlugin, em as listTablesPlugin, al as logDeprecation, cT as manifestPlugin, ef as parseConcurrencyEnvVar, aJ as registryPlugin, cP as requestPlugin, am as resetDeprecationWarnings, dx as resolveAuthToken, dT as resolveCredentials, dS as resolveCredentialsFromEnv, cN as runActionPlugin, ae as runInMethodScope, af as runWithTelemetryContext, dj as tableFieldIdsResolver, dl as tableFieldsResolver, dp as tableFiltersResolver, da as tableIdResolver, dk as tableNameResolver, dh as tableRecordIdResolver, di as tableRecordIdsResolver, dm as tableRecordsResolver, dq as tableSortResolver, dn as tableUpdateRecordsResolver, ag as toSnakeCase, ah as toTitleCase, db as triggerInboxResolver, dg as triggerMessagesResolver, eI as updateTableRecordsPlugin, dc as workflowIdResolver, df as workflowRunIdResolver, de as workflowVersionIdResolver, bX as zapierAdaptError } from './index-D1O7Pcex.mjs';
|
|
3
3
|
import * as zod_v4_core from 'zod/v4/core';
|
|
4
4
|
import * as zod from 'zod';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -2837,15 +2837,50 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2837
2837
|
};
|
|
2838
2838
|
} & {
|
|
2839
2839
|
runDurable: (options?: {
|
|
2840
|
+
sourceFiles: Record<string, string>;
|
|
2841
|
+
input?: unknown;
|
|
2842
|
+
dependencies?: Record<string, string> | undefined;
|
|
2843
|
+
zapierDurableVersion?: string | undefined;
|
|
2844
|
+
zapier_durable_version?: string | undefined;
|
|
2845
|
+
connections?: Record<string, {
|
|
2846
|
+
connectionId?: string | number | undefined;
|
|
2847
|
+
connection_id?: string | number | undefined;
|
|
2848
|
+
}> | undefined;
|
|
2849
|
+
appVersions?: Record<string, {
|
|
2850
|
+
implementationName?: string | undefined;
|
|
2851
|
+
implementation_name?: string | undefined;
|
|
2852
|
+
version?: string | undefined;
|
|
2853
|
+
}> | undefined;
|
|
2854
|
+
app_versions?: Record<string, {
|
|
2855
|
+
implementationName?: string | undefined;
|
|
2856
|
+
implementation_name?: string | undefined;
|
|
2857
|
+
version?: string | undefined;
|
|
2858
|
+
}> | undefined;
|
|
2859
|
+
private?: boolean | undefined;
|
|
2860
|
+
notifications?: {
|
|
2861
|
+
url: string;
|
|
2862
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
2863
|
+
type?: "webhook" | undefined;
|
|
2864
|
+
max_retries?: number | undefined;
|
|
2865
|
+
}[] | undefined;
|
|
2866
|
+
} | {
|
|
2840
2867
|
source_files: Record<string, string>;
|
|
2841
2868
|
input?: unknown;
|
|
2842
2869
|
dependencies?: Record<string, string> | undefined;
|
|
2870
|
+
zapierDurableVersion?: string | undefined;
|
|
2843
2871
|
zapier_durable_version?: string | undefined;
|
|
2844
2872
|
connections?: Record<string, {
|
|
2845
|
-
|
|
2873
|
+
connectionId?: string | number | undefined;
|
|
2874
|
+
connection_id?: string | number | undefined;
|
|
2875
|
+
}> | undefined;
|
|
2876
|
+
appVersions?: Record<string, {
|
|
2877
|
+
implementationName?: string | undefined;
|
|
2878
|
+
implementation_name?: string | undefined;
|
|
2879
|
+
version?: string | undefined;
|
|
2846
2880
|
}> | undefined;
|
|
2847
2881
|
app_versions?: Record<string, {
|
|
2848
|
-
|
|
2882
|
+
implementationName?: string | undefined;
|
|
2883
|
+
implementation_name?: string | undefined;
|
|
2849
2884
|
version?: string | undefined;
|
|
2850
2885
|
}> | undefined;
|
|
2851
2886
|
private?: boolean | undefined;
|
|
@@ -2886,21 +2921,60 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2886
2921
|
};
|
|
2887
2922
|
} & {
|
|
2888
2923
|
publishWorkflowVersion: (options?: {
|
|
2924
|
+
workflow: string;
|
|
2925
|
+
sourceFiles: Record<string, string>;
|
|
2926
|
+
dependencies?: Record<string, string> | undefined;
|
|
2927
|
+
zapierDurableVersion?: string | undefined;
|
|
2928
|
+
zapier_durable_version?: string | undefined;
|
|
2929
|
+
enabled?: boolean | undefined;
|
|
2930
|
+
connections?: Record<string, {
|
|
2931
|
+
connectionId?: string | number | undefined;
|
|
2932
|
+
connection_id?: string | number | undefined;
|
|
2933
|
+
}> | null | undefined;
|
|
2934
|
+
appVersions?: Record<string, {
|
|
2935
|
+
implementationName?: string | undefined;
|
|
2936
|
+
implementation_name?: string | undefined;
|
|
2937
|
+
version?: string | undefined;
|
|
2938
|
+
}> | null | undefined;
|
|
2939
|
+
app_versions?: Record<string, {
|
|
2940
|
+
implementationName?: string | undefined;
|
|
2941
|
+
implementation_name?: string | undefined;
|
|
2942
|
+
version?: string | undefined;
|
|
2943
|
+
}> | null | undefined;
|
|
2944
|
+
trigger?: {
|
|
2945
|
+
action: string;
|
|
2946
|
+
selectedApi?: string | undefined;
|
|
2947
|
+
selected_api?: string | undefined;
|
|
2948
|
+
authenticationId?: string | null | undefined;
|
|
2949
|
+
authentication_id?: string | null | undefined;
|
|
2950
|
+
params?: Record<string, unknown> | undefined;
|
|
2951
|
+
} | undefined;
|
|
2952
|
+
} | {
|
|
2889
2953
|
workflow: string;
|
|
2890
2954
|
source_files: Record<string, string>;
|
|
2891
2955
|
dependencies?: Record<string, string> | undefined;
|
|
2956
|
+
zapierDurableVersion?: string | undefined;
|
|
2892
2957
|
zapier_durable_version?: string | undefined;
|
|
2893
2958
|
enabled?: boolean | undefined;
|
|
2894
2959
|
connections?: Record<string, {
|
|
2895
|
-
|
|
2960
|
+
connectionId?: string | number | undefined;
|
|
2961
|
+
connection_id?: string | number | undefined;
|
|
2962
|
+
}> | null | undefined;
|
|
2963
|
+
appVersions?: Record<string, {
|
|
2964
|
+
implementationName?: string | undefined;
|
|
2965
|
+
implementation_name?: string | undefined;
|
|
2966
|
+
version?: string | undefined;
|
|
2896
2967
|
}> | null | undefined;
|
|
2897
2968
|
app_versions?: Record<string, {
|
|
2898
|
-
|
|
2969
|
+
implementationName?: string | undefined;
|
|
2970
|
+
implementation_name?: string | undefined;
|
|
2899
2971
|
version?: string | undefined;
|
|
2900
2972
|
}> | null | undefined;
|
|
2901
2973
|
trigger?: {
|
|
2902
|
-
selected_api: string;
|
|
2903
2974
|
action: string;
|
|
2975
|
+
selectedApi?: string | undefined;
|
|
2976
|
+
selected_api?: string | undefined;
|
|
2977
|
+
authenticationId?: string | null | undefined;
|
|
2904
2978
|
authentication_id?: string | null | undefined;
|
|
2905
2979
|
params?: Record<string, unknown> | undefined;
|
|
2906
2980
|
} | undefined;
|
|
@@ -5963,15 +6037,50 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5963
6037
|
};
|
|
5964
6038
|
} & {
|
|
5965
6039
|
runDurable: (options?: {
|
|
6040
|
+
sourceFiles: Record<string, string>;
|
|
6041
|
+
input?: unknown;
|
|
6042
|
+
dependencies?: Record<string, string> | undefined;
|
|
6043
|
+
zapierDurableVersion?: string | undefined;
|
|
6044
|
+
zapier_durable_version?: string | undefined;
|
|
6045
|
+
connections?: Record<string, {
|
|
6046
|
+
connectionId?: string | number | undefined;
|
|
6047
|
+
connection_id?: string | number | undefined;
|
|
6048
|
+
}> | undefined;
|
|
6049
|
+
appVersions?: Record<string, {
|
|
6050
|
+
implementationName?: string | undefined;
|
|
6051
|
+
implementation_name?: string | undefined;
|
|
6052
|
+
version?: string | undefined;
|
|
6053
|
+
}> | undefined;
|
|
6054
|
+
app_versions?: Record<string, {
|
|
6055
|
+
implementationName?: string | undefined;
|
|
6056
|
+
implementation_name?: string | undefined;
|
|
6057
|
+
version?: string | undefined;
|
|
6058
|
+
}> | undefined;
|
|
6059
|
+
private?: boolean | undefined;
|
|
6060
|
+
notifications?: {
|
|
6061
|
+
url: string;
|
|
6062
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
6063
|
+
type?: "webhook" | undefined;
|
|
6064
|
+
max_retries?: number | undefined;
|
|
6065
|
+
}[] | undefined;
|
|
6066
|
+
} | {
|
|
5966
6067
|
source_files: Record<string, string>;
|
|
5967
6068
|
input?: unknown;
|
|
5968
6069
|
dependencies?: Record<string, string> | undefined;
|
|
6070
|
+
zapierDurableVersion?: string | undefined;
|
|
5969
6071
|
zapier_durable_version?: string | undefined;
|
|
5970
6072
|
connections?: Record<string, {
|
|
5971
|
-
|
|
6073
|
+
connectionId?: string | number | undefined;
|
|
6074
|
+
connection_id?: string | number | undefined;
|
|
6075
|
+
}> | undefined;
|
|
6076
|
+
appVersions?: Record<string, {
|
|
6077
|
+
implementationName?: string | undefined;
|
|
6078
|
+
implementation_name?: string | undefined;
|
|
6079
|
+
version?: string | undefined;
|
|
5972
6080
|
}> | undefined;
|
|
5973
6081
|
app_versions?: Record<string, {
|
|
5974
|
-
|
|
6082
|
+
implementationName?: string | undefined;
|
|
6083
|
+
implementation_name?: string | undefined;
|
|
5975
6084
|
version?: string | undefined;
|
|
5976
6085
|
}> | undefined;
|
|
5977
6086
|
private?: boolean | undefined;
|
|
@@ -6012,21 +6121,60 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
6012
6121
|
};
|
|
6013
6122
|
} & {
|
|
6014
6123
|
publishWorkflowVersion: (options?: {
|
|
6124
|
+
workflow: string;
|
|
6125
|
+
sourceFiles: Record<string, string>;
|
|
6126
|
+
dependencies?: Record<string, string> | undefined;
|
|
6127
|
+
zapierDurableVersion?: string | undefined;
|
|
6128
|
+
zapier_durable_version?: string | undefined;
|
|
6129
|
+
enabled?: boolean | undefined;
|
|
6130
|
+
connections?: Record<string, {
|
|
6131
|
+
connectionId?: string | number | undefined;
|
|
6132
|
+
connection_id?: string | number | undefined;
|
|
6133
|
+
}> | null | undefined;
|
|
6134
|
+
appVersions?: Record<string, {
|
|
6135
|
+
implementationName?: string | undefined;
|
|
6136
|
+
implementation_name?: string | undefined;
|
|
6137
|
+
version?: string | undefined;
|
|
6138
|
+
}> | null | undefined;
|
|
6139
|
+
app_versions?: Record<string, {
|
|
6140
|
+
implementationName?: string | undefined;
|
|
6141
|
+
implementation_name?: string | undefined;
|
|
6142
|
+
version?: string | undefined;
|
|
6143
|
+
}> | null | undefined;
|
|
6144
|
+
trigger?: {
|
|
6145
|
+
action: string;
|
|
6146
|
+
selectedApi?: string | undefined;
|
|
6147
|
+
selected_api?: string | undefined;
|
|
6148
|
+
authenticationId?: string | null | undefined;
|
|
6149
|
+
authentication_id?: string | null | undefined;
|
|
6150
|
+
params?: Record<string, unknown> | undefined;
|
|
6151
|
+
} | undefined;
|
|
6152
|
+
} | {
|
|
6015
6153
|
workflow: string;
|
|
6016
6154
|
source_files: Record<string, string>;
|
|
6017
6155
|
dependencies?: Record<string, string> | undefined;
|
|
6156
|
+
zapierDurableVersion?: string | undefined;
|
|
6018
6157
|
zapier_durable_version?: string | undefined;
|
|
6019
6158
|
enabled?: boolean | undefined;
|
|
6020
6159
|
connections?: Record<string, {
|
|
6021
|
-
|
|
6160
|
+
connectionId?: string | number | undefined;
|
|
6161
|
+
connection_id?: string | number | undefined;
|
|
6162
|
+
}> | null | undefined;
|
|
6163
|
+
appVersions?: Record<string, {
|
|
6164
|
+
implementationName?: string | undefined;
|
|
6165
|
+
implementation_name?: string | undefined;
|
|
6166
|
+
version?: string | undefined;
|
|
6022
6167
|
}> | null | undefined;
|
|
6023
6168
|
app_versions?: Record<string, {
|
|
6024
|
-
|
|
6169
|
+
implementationName?: string | undefined;
|
|
6170
|
+
implementation_name?: string | undefined;
|
|
6025
6171
|
version?: string | undefined;
|
|
6026
6172
|
}> | null | undefined;
|
|
6027
6173
|
trigger?: {
|
|
6028
|
-
selected_api: string;
|
|
6029
6174
|
action: string;
|
|
6175
|
+
selectedApi?: string | undefined;
|
|
6176
|
+
selected_api?: string | undefined;
|
|
6177
|
+
authenticationId?: string | null | undefined;
|
|
6030
6178
|
authentication_id?: string | null | undefined;
|
|
6031
6179
|
params?: Record<string, unknown> | undefined;
|
|
6032
6180
|
} | undefined;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2852,15 +2852,50 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2852
2852
|
};
|
|
2853
2853
|
} & {
|
|
2854
2854
|
runDurable: (options?: {
|
|
2855
|
+
sourceFiles: Record<string, string>;
|
|
2856
|
+
input?: unknown;
|
|
2857
|
+
dependencies?: Record<string, string> | undefined;
|
|
2858
|
+
zapierDurableVersion?: string | undefined;
|
|
2859
|
+
zapier_durable_version?: string | undefined;
|
|
2860
|
+
connections?: Record<string, {
|
|
2861
|
+
connectionId?: string | number | undefined;
|
|
2862
|
+
connection_id?: string | number | undefined;
|
|
2863
|
+
}> | undefined;
|
|
2864
|
+
appVersions?: Record<string, {
|
|
2865
|
+
implementationName?: string | undefined;
|
|
2866
|
+
implementation_name?: string | undefined;
|
|
2867
|
+
version?: string | undefined;
|
|
2868
|
+
}> | undefined;
|
|
2869
|
+
app_versions?: Record<string, {
|
|
2870
|
+
implementationName?: string | undefined;
|
|
2871
|
+
implementation_name?: string | undefined;
|
|
2872
|
+
version?: string | undefined;
|
|
2873
|
+
}> | undefined;
|
|
2874
|
+
private?: boolean | undefined;
|
|
2875
|
+
notifications?: {
|
|
2876
|
+
url: string;
|
|
2877
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
2878
|
+
type?: "webhook" | undefined;
|
|
2879
|
+
max_retries?: number | undefined;
|
|
2880
|
+
}[] | undefined;
|
|
2881
|
+
} | {
|
|
2855
2882
|
source_files: Record<string, string>;
|
|
2856
2883
|
input?: unknown;
|
|
2857
2884
|
dependencies?: Record<string, string> | undefined;
|
|
2885
|
+
zapierDurableVersion?: string | undefined;
|
|
2858
2886
|
zapier_durable_version?: string | undefined;
|
|
2859
2887
|
connections?: Record<string, {
|
|
2860
|
-
|
|
2888
|
+
connectionId?: string | number | undefined;
|
|
2889
|
+
connection_id?: string | number | undefined;
|
|
2890
|
+
}> | undefined;
|
|
2891
|
+
appVersions?: Record<string, {
|
|
2892
|
+
implementationName?: string | undefined;
|
|
2893
|
+
implementation_name?: string | undefined;
|
|
2894
|
+
version?: string | undefined;
|
|
2861
2895
|
}> | undefined;
|
|
2862
2896
|
app_versions?: Record<string, {
|
|
2863
|
-
|
|
2897
|
+
implementationName?: string | undefined;
|
|
2898
|
+
implementation_name?: string | undefined;
|
|
2864
2899
|
version?: string | undefined;
|
|
2865
2900
|
}> | undefined;
|
|
2866
2901
|
private?: boolean | undefined;
|
|
@@ -2901,21 +2936,60 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2901
2936
|
};
|
|
2902
2937
|
} & {
|
|
2903
2938
|
publishWorkflowVersion: (options?: {
|
|
2939
|
+
workflow: string;
|
|
2940
|
+
sourceFiles: Record<string, string>;
|
|
2941
|
+
dependencies?: Record<string, string> | undefined;
|
|
2942
|
+
zapierDurableVersion?: string | undefined;
|
|
2943
|
+
zapier_durable_version?: string | undefined;
|
|
2944
|
+
enabled?: boolean | undefined;
|
|
2945
|
+
connections?: Record<string, {
|
|
2946
|
+
connectionId?: string | number | undefined;
|
|
2947
|
+
connection_id?: string | number | undefined;
|
|
2948
|
+
}> | null | undefined;
|
|
2949
|
+
appVersions?: Record<string, {
|
|
2950
|
+
implementationName?: string | undefined;
|
|
2951
|
+
implementation_name?: string | undefined;
|
|
2952
|
+
version?: string | undefined;
|
|
2953
|
+
}> | null | undefined;
|
|
2954
|
+
app_versions?: Record<string, {
|
|
2955
|
+
implementationName?: string | undefined;
|
|
2956
|
+
implementation_name?: string | undefined;
|
|
2957
|
+
version?: string | undefined;
|
|
2958
|
+
}> | null | undefined;
|
|
2959
|
+
trigger?: {
|
|
2960
|
+
action: string;
|
|
2961
|
+
selectedApi?: string | undefined;
|
|
2962
|
+
selected_api?: string | undefined;
|
|
2963
|
+
authenticationId?: string | null | undefined;
|
|
2964
|
+
authentication_id?: string | null | undefined;
|
|
2965
|
+
params?: Record<string, unknown> | undefined;
|
|
2966
|
+
} | undefined;
|
|
2967
|
+
} | {
|
|
2904
2968
|
workflow: string;
|
|
2905
2969
|
source_files: Record<string, string>;
|
|
2906
2970
|
dependencies?: Record<string, string> | undefined;
|
|
2971
|
+
zapierDurableVersion?: string | undefined;
|
|
2907
2972
|
zapier_durable_version?: string | undefined;
|
|
2908
2973
|
enabled?: boolean | undefined;
|
|
2909
2974
|
connections?: Record<string, {
|
|
2910
|
-
|
|
2975
|
+
connectionId?: string | number | undefined;
|
|
2976
|
+
connection_id?: string | number | undefined;
|
|
2977
|
+
}> | null | undefined;
|
|
2978
|
+
appVersions?: Record<string, {
|
|
2979
|
+
implementationName?: string | undefined;
|
|
2980
|
+
implementation_name?: string | undefined;
|
|
2981
|
+
version?: string | undefined;
|
|
2911
2982
|
}> | null | undefined;
|
|
2912
2983
|
app_versions?: Record<string, {
|
|
2913
|
-
|
|
2984
|
+
implementationName?: string | undefined;
|
|
2985
|
+
implementation_name?: string | undefined;
|
|
2914
2986
|
version?: string | undefined;
|
|
2915
2987
|
}> | null | undefined;
|
|
2916
2988
|
trigger?: {
|
|
2917
|
-
selected_api: string;
|
|
2918
2989
|
action: string;
|
|
2990
|
+
selectedApi?: string | undefined;
|
|
2991
|
+
selected_api?: string | undefined;
|
|
2992
|
+
authenticationId?: string | null | undefined;
|
|
2919
2993
|
authentication_id?: string | null | undefined;
|
|
2920
2994
|
params?: Record<string, unknown> | undefined;
|
|
2921
2995
|
} | undefined;
|
|
@@ -5978,15 +6052,50 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5978
6052
|
};
|
|
5979
6053
|
} & {
|
|
5980
6054
|
runDurable: (options?: {
|
|
6055
|
+
sourceFiles: Record<string, string>;
|
|
6056
|
+
input?: unknown;
|
|
6057
|
+
dependencies?: Record<string, string> | undefined;
|
|
6058
|
+
zapierDurableVersion?: string | undefined;
|
|
6059
|
+
zapier_durable_version?: string | undefined;
|
|
6060
|
+
connections?: Record<string, {
|
|
6061
|
+
connectionId?: string | number | undefined;
|
|
6062
|
+
connection_id?: string | number | undefined;
|
|
6063
|
+
}> | undefined;
|
|
6064
|
+
appVersions?: Record<string, {
|
|
6065
|
+
implementationName?: string | undefined;
|
|
6066
|
+
implementation_name?: string | undefined;
|
|
6067
|
+
version?: string | undefined;
|
|
6068
|
+
}> | undefined;
|
|
6069
|
+
app_versions?: Record<string, {
|
|
6070
|
+
implementationName?: string | undefined;
|
|
6071
|
+
implementation_name?: string | undefined;
|
|
6072
|
+
version?: string | undefined;
|
|
6073
|
+
}> | undefined;
|
|
6074
|
+
private?: boolean | undefined;
|
|
6075
|
+
notifications?: {
|
|
6076
|
+
url: string;
|
|
6077
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
6078
|
+
type?: "webhook" | undefined;
|
|
6079
|
+
max_retries?: number | undefined;
|
|
6080
|
+
}[] | undefined;
|
|
6081
|
+
} | {
|
|
5981
6082
|
source_files: Record<string, string>;
|
|
5982
6083
|
input?: unknown;
|
|
5983
6084
|
dependencies?: Record<string, string> | undefined;
|
|
6085
|
+
zapierDurableVersion?: string | undefined;
|
|
5984
6086
|
zapier_durable_version?: string | undefined;
|
|
5985
6087
|
connections?: Record<string, {
|
|
5986
|
-
|
|
6088
|
+
connectionId?: string | number | undefined;
|
|
6089
|
+
connection_id?: string | number | undefined;
|
|
6090
|
+
}> | undefined;
|
|
6091
|
+
appVersions?: Record<string, {
|
|
6092
|
+
implementationName?: string | undefined;
|
|
6093
|
+
implementation_name?: string | undefined;
|
|
6094
|
+
version?: string | undefined;
|
|
5987
6095
|
}> | undefined;
|
|
5988
6096
|
app_versions?: Record<string, {
|
|
5989
|
-
|
|
6097
|
+
implementationName?: string | undefined;
|
|
6098
|
+
implementation_name?: string | undefined;
|
|
5990
6099
|
version?: string | undefined;
|
|
5991
6100
|
}> | undefined;
|
|
5992
6101
|
private?: boolean | undefined;
|
|
@@ -6027,21 +6136,60 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
6027
6136
|
};
|
|
6028
6137
|
} & {
|
|
6029
6138
|
publishWorkflowVersion: (options?: {
|
|
6139
|
+
workflow: string;
|
|
6140
|
+
sourceFiles: Record<string, string>;
|
|
6141
|
+
dependencies?: Record<string, string> | undefined;
|
|
6142
|
+
zapierDurableVersion?: string | undefined;
|
|
6143
|
+
zapier_durable_version?: string | undefined;
|
|
6144
|
+
enabled?: boolean | undefined;
|
|
6145
|
+
connections?: Record<string, {
|
|
6146
|
+
connectionId?: string | number | undefined;
|
|
6147
|
+
connection_id?: string | number | undefined;
|
|
6148
|
+
}> | null | undefined;
|
|
6149
|
+
appVersions?: Record<string, {
|
|
6150
|
+
implementationName?: string | undefined;
|
|
6151
|
+
implementation_name?: string | undefined;
|
|
6152
|
+
version?: string | undefined;
|
|
6153
|
+
}> | null | undefined;
|
|
6154
|
+
app_versions?: Record<string, {
|
|
6155
|
+
implementationName?: string | undefined;
|
|
6156
|
+
implementation_name?: string | undefined;
|
|
6157
|
+
version?: string | undefined;
|
|
6158
|
+
}> | null | undefined;
|
|
6159
|
+
trigger?: {
|
|
6160
|
+
action: string;
|
|
6161
|
+
selectedApi?: string | undefined;
|
|
6162
|
+
selected_api?: string | undefined;
|
|
6163
|
+
authenticationId?: string | null | undefined;
|
|
6164
|
+
authentication_id?: string | null | undefined;
|
|
6165
|
+
params?: Record<string, unknown> | undefined;
|
|
6166
|
+
} | undefined;
|
|
6167
|
+
} | {
|
|
6030
6168
|
workflow: string;
|
|
6031
6169
|
source_files: Record<string, string>;
|
|
6032
6170
|
dependencies?: Record<string, string> | undefined;
|
|
6171
|
+
zapierDurableVersion?: string | undefined;
|
|
6033
6172
|
zapier_durable_version?: string | undefined;
|
|
6034
6173
|
enabled?: boolean | undefined;
|
|
6035
6174
|
connections?: Record<string, {
|
|
6036
|
-
|
|
6175
|
+
connectionId?: string | number | undefined;
|
|
6176
|
+
connection_id?: string | number | undefined;
|
|
6177
|
+
}> | null | undefined;
|
|
6178
|
+
appVersions?: Record<string, {
|
|
6179
|
+
implementationName?: string | undefined;
|
|
6180
|
+
implementation_name?: string | undefined;
|
|
6181
|
+
version?: string | undefined;
|
|
6037
6182
|
}> | null | undefined;
|
|
6038
6183
|
app_versions?: Record<string, {
|
|
6039
|
-
|
|
6184
|
+
implementationName?: string | undefined;
|
|
6185
|
+
implementation_name?: string | undefined;
|
|
6040
6186
|
version?: string | undefined;
|
|
6041
6187
|
}> | null | undefined;
|
|
6042
6188
|
trigger?: {
|
|
6043
|
-
selected_api: string;
|
|
6044
6189
|
action: string;
|
|
6190
|
+
selectedApi?: string | undefined;
|
|
6191
|
+
selected_api?: string | undefined;
|
|
6192
|
+
authenticationId?: string | null | undefined;
|
|
6045
6193
|
authentication_id?: string | null | undefined;
|
|
6046
6194
|
params?: Record<string, unknown> | undefined;
|
|
6047
6195
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+F1C,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmJikC,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC
|
|
1
|
+
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+F1C,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmJikC,CAAC;;;;sBAAiX,CAAC;qBAAyB,CA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