@zapier/zapier-sdk 0.117.0 → 0.118.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 +6 -0
- package/README.md +31 -28
- package/dist/beta.cjs +285 -281
- package/dist/beta.d.mts +29 -2
- package/dist/beta.d.ts +29 -2
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-FDR2QEZI.cjs → chunk-B3ZGHT7T.cjs} +55 -19
- package/dist/{chunk-Z2SAHSI3.mjs → chunk-DH2I3KFA.mjs} +55 -20
- package/dist/{chunk-AYRG6FET.mjs → chunk-LZ65RRUJ.mjs} +1 -1
- package/dist/{chunk-VGYBFMBG.cjs → chunk-XNPIHDWS.cjs} +4 -4
- package/dist/experimental.cjs +394 -390
- package/dist/experimental.d.mts +312 -285
- package/dist/experimental.d.ts +312 -285
- package/dist/experimental.mjs +3 -3
- package/dist/{index-DWS1MdAd.d.mts → index-BhbmZ5gy.d.mts} +54 -1
- package/dist/{index-DWS1MdAd.d.ts → index-BhbmZ5gy.d.ts} +54 -1
- package/dist/index.cjs +283 -279
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-
|
|
2
|
-
export {
|
|
1
|
+
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-BhbmZ5gy.js';
|
|
2
|
+
export { ec as ACTION_RUNS_PATH, cP as API_ID, x as Action, cL as ActionEntry, c5 as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, aR as ActionIdempotencyKeyPropertySchema, av as ActionItem, b6 as ActionKeyProperty, aD as ActionKeyPropertySchema, b7 as ActionProperty, aE as ActionPropertySchema, ae as ActionResolverItem, bj as ActionTimeoutMillisecondsProperty, aQ as ActionTimeoutMillisecondsPropertySchema, bi as ActionTimeoutSecondsProperty, aP as ActionTimeoutSecondsPropertySchema, af as ActionTypeItem, b5 as ActionTypeProperty, aC as ActionTypePropertySchema, dC as ApiEvent, cO as ApiPluginOptions, y as App, c6 as AppFactoryInput, at as AppItem, b3 as AppKeyProperty, aA as AppKeyPropertySchema, b4 as AppProperty, aB as AppPropertySchema, eH as ApplicationLifecycleEventData, bO as ApprovalStatus, bo as AppsProperty, aW as AppsPropertySchema, dB as AuthEvent, dm as AuthMechanism, bb as AuthenticationIdProperty, aH as AuthenticationIdPropertySchema, aa as BaseSdkOptionsSchema, a2 as BatchOptions, e2 as CONNECTIONS_ID, cs as CONTEXT_CACHE_MAX_SIZE, cr as CONTEXT_CACHE_TTL_MILLISECONDS, a0 as CallerContext, H as Choice, dH as ClientCredentialsObject, dS as ClientCredentialsObjectSchema, Q as Connection, d_ as ConnectionEntry, dZ as ConnectionEntrySchema, b9 as ConnectionIdProperty, aG as ConnectionIdPropertySchema, au as ConnectionItem, ba as ConnectionProperty, aI as ConnectionPropertySchema, e0 as ConnectionsMap, d$ as ConnectionsMapSchema, bq as ConnectionsProperty, aY as ConnectionsPropertySchema, S as ConnectionsResponse, cu as CreateActionRunPluginProvides, dE as Credentials, dX as CredentialsFunction, dW as CredentialsFunctionSchema, dG as CredentialsObject, dU as CredentialsObjectSchema, dY as CredentialsSchema, eb as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, el as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cJ as DEFAULT_CONFIG_PATH, em as DEFAULT_MAX_APPROVAL_RETRIES, ea as DEFAULT_PAGE_SIZE, ar as DEPRECATION_NOTICE_EVENT, bg as DebugProperty, aN as DebugPropertySchema, as as DeprecationNoticePayload, q as DrainTriggerInboxCallback, r as DrainTriggerInboxErrorObserver, e$ as DrainTriggerInboxSchema, eC as EVENT_EMISSION_ID, eI as EnhancedErrorEventData, bx as ErrorOptions, eG as EventContext, eA as EventEmissionContext, eB as EventEmitter, c7 as FetchPluginProvides, z as Field, bn as FieldsProperty, aV as FieldsPropertySchema, v as FindFirstAuthenticationPluginProvides, w as FindUniqueAuthenticationPluginProvides, cw as GetActionRunPluginProvides, u as GetAuthenticationPluginProvides, cN as GetProfilePluginProvides, ax as InfoFieldItem, aw as InputFieldItem, b8 as InputFieldProperty, aF as InputFieldPropertySchema, bc as InputsProperty, aJ as InputsPropertySchema, aq as JsonSseMessage, bw as LeaseLimitProperty, b2 as LeaseLimitPropertySchema, bu as LeaseProperty, b0 as LeasePropertySchema, bv as LeaseSecondsProperty, b1 as LeaseSecondsPropertySchema, s as LeasedTriggerMessageItem, bd as LimitProperty, aK as LimitPropertySchema, ce as ListActionInputFieldsPluginProvides, cc as ListActionsPluginProvides, ca as ListAppsPluginProvides, t as ListAuthenticationsPluginProvides, ci as ListConnectionsPluginProvides, dD as LoadingEvent, cE as MANIFEST_ID, ef as MAX_CONCURRENCY_LIMIT, e9 as MAX_PAGE_LIMIT, cK as ManifestEntry, cA as ManifestPluginOptions, eP as MethodCalledEvent, eJ as MethodCalledEventData, N as Need, O as NeedsRequest, P as NeedsResponse, be as OffsetProperty, aL as OffsetPropertySchema, bf as OutputProperty, aM as OutputPropertySchema, bh as ParamsProperty, aO as ParamsPropertySchema, dI as PkceCredentialsObject, dT as PkceCredentialsObjectSchema, al as PollOptions, cS as RESOLVE_CREDENTIALS_ID, bM as RateLimitInfo, bl as RecordProperty, aT as RecordPropertySchema, bm as RecordsProperty, aU as RecordsPropertySchema, a7 as RelayFetchSchema, a6 as RelayRequestSchema, ak as RequestOptions, dl as ResolveAuthTokenOptions, e1 as ResolveConnection, dN as ResolveCredentialsOptions, ag as ResolvedAppLocator, dn as ResolvedAuth, dF as ResolvedCredentials, dV as ResolvedCredentialsSchema, ay as RootFieldItem, cy as RunActionPluginProvides, X as SDK_OPTIONS_ID, ab as STABILITY_DEFINITIONS, dA as SdkEvent, ap as SseMessage, bk as TableProperty, aS as TablePropertySchema, bp as TablesProperty, aX as TablesPropertySchema, bs as TriggerInboxKeyProperty, a_ as TriggerInboxKeyPropertySchema, bt as TriggerInboxNameProperty, a$ as TriggerInboxNamePropertySchema, br as TriggerInboxProperty, aZ as TriggerInboxPropertySchema, T as TriggerMessageStatus, cH as UpdateManifestEntryOptions, cI as UpdateManifestEntryResult, U as UserProfile, az as UserProfileItem, f0 as WatchTriggerInboxSchema, e5 as ZAPIER_BASE_URL, eh as ZAPIER_MAX_CONCURRENT_REQUESTS, ed as ZAPIER_MAX_NETWORK_RETRIES, ee as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, m as ZapierAbortDrainSignal, bK as ZapierActionError, bD as ZapierApiError, bE as ZapierAppNotFoundError, bP as ZapierApprovalError, bB as ZapierAuthenticationError, bI as ZapierBundleError, dx as ZapierCacheEntry, dy as ZapierCacheSetOptions, bH as ZapierConfigurationError, bL as ZapierConflictError, by as ZapierError, bF as ZapierNotFoundError, bN as ZapierRateLimitError, bQ as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bG as ZapierResourceNotFoundError, c2 as ZapierSignal, bJ as ZapierTimeoutError, bA as ZapierUnknownError, bz as ZapierValidationError, cX as actionKeyResolver, cW as actionTypeResolver, cR as apiPlugin, cQ as apiPluginRef, cV as appKeyResolver, c4 as appsPlugin, a1 as batch, eK as buildApplicationLifecycleEvent, a3 as buildCapabilityMessage, eM as buildErrorEvent, eL as buildErrorEventWithContext, eO as buildMethodCalledEvent, ez as cleanupEventListeners, dp as clearTokenCache, d1 as clientCredentialsNameResolver, d2 as clientIdResolver, cZ as connectionIdGenericResolver, cY as connectionIdResolver, e4 as connectionsPlugin, e3 as connectionsPluginRef, ct as createActionRunPlugin, eN as createBaseEvent, ck as createClientCredentialsPlugin, dz as createMemoryCache, es as createTableFieldsPlugin, ep as createTablePlugin, ew as createTableRecordsPlugin, am as createZapierApi, a8 as createZapierSdkWithoutRegistry, cl as deleteClientCredentialsPlugin, et as deleteTableFieldsPlugin, eq as deleteTablePlugin, ex as deleteTableRecordsPlugin, ai as descriptionFor, d6 as durableRunIdResolver, eF as eventEmissionHookPlugin, eE as eventEmissionPlugin, eD as eventEmissionPluginRef, c8 as fetchPlugin, cp as findFirstConnectionPlugin, cD as findManifestEntry, cq as findUniqueConnectionPlugin, c1 as formatErrorMessage, ad as formatExtensionPluginFailure, eR as generateEventId, cg as getActionInputFieldsSchemaPlugin, cn as getActionPlugin, cv as getActionRunPlugin, ah as getAgent, cm as getAppPlugin, dQ as getBaseUrlFromCredentials, _ as getCallerContext, eX as getCiPlatform, dR as getClientIdFromCredentials, co as getConnectionPlugin, eZ as getCpuTime, eS as getCurrentTimestamp, eY as getMemoryUsage, an as getOrCreateApiClient, eU as getOsInfo, eV as getPlatformVersions, cC as getPreferredManifestEntryKey, cM as getProfilePlugin, eT as getReleaseId, eo as getTablePlugin, eu as getTableRecordPlugin, dt as getTokenFromCliLogin, e_ as getTtyContext, ei as getZapierApprovalMode, e8 as getZapierCausationId, e7 as getZapierCorrelationId, ek as getZapierDefaultApprovalMode, ej as getZapierOpenAutoModeApprovalsInBrowser, e6 as getZapierSdkService, dr as injectCliLogin, d0 as inputFieldKeyResolver, c$ as inputsAllOptionalResolver, c_ as inputsResolver, dq as invalidateCachedToken, dw as invalidateCredentialsToken, eW as isCi, ds as isCliLoginAvailable, dJ as isClientCredentials, dM as isCredentialsFunction, dL as isCredentialsObject, aj as isInternalField, ao as isPermanentHttpError, dK as isPkceCredentials, o as isZapierAbortDrainSignal, b_ as isZapierActionError, bU as isZapierAppNotFoundError, c0 as isZapierApprovalError, bT as isZapierAuthenticationError, bZ as isZapierBundleError, bX as isZapierConflictError, bR as isZapierError, bV as isZapierNotFoundError, b$ as isZapierRateLimitError, p as isZapierReleaseTriggerMessageSignal, bW as isZapierResourceNotFoundError, c3 as isZapierSignal, bY as isZapierTimeoutError, bS as isZapierValidationError, cf as listActionInputFieldChoicesPlugin, cd as listActionInputFieldsPlugin, cb as listActionsPlugin, c9 as listAppsPlugin, cj as listClientCredentialsPlugin, ch as listConnectionsPlugin, er as listTableFieldsPlugin, ev as listTableRecordsPlugin, en as listTablesPlugin, a4 as logDeprecation, cG as manifestPlugin, cF as manifestPluginRef, eQ as operationAnnotatorPlugin, eg as parseConcurrencyEnvVar, cB as readManifestFromFile, cz as requestPlugin, a5 as resetDeprecationWarnings, du as resolveAuth, dv as resolveAuthToken, dP as resolveCredentials, dO as resolveCredentialsFromEnv, cU as resolveCredentialsPlugin, cT as resolveCredentialsPluginRef, cx as runActionPlugin, $ as runWithCallerContext, Y as sdkOptionsPluginRef, de as tableFieldIdsResolver, dg as tableFieldsResolver, dj as tableFiltersResolver, d3 as tableIdResolver, df as tableNameResolver, dc as tableRecordIdResolver, dd as tableRecordIdsResolver, dh as tableRecordsResolver, dk as tableSortResolver, di as tableUpdateRecordsResolver, ac as taxonomy, d4 as triggerInboxResolver, db as triggerMessagesResolver, ey as updateTableRecordsPlugin, d8 as workflowDraftIdResolver, d9 as workflowDraftRevisionResolver, d5 as workflowIdResolver, da as workflowRunIdResolver, d7 as workflowVersionIdResolver, bC as zapierAdaptError, a9 as zapierCoreOptions, V as zapierSdkPlugin } from './index-BhbmZ5gy.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -80,11 +80,11 @@ declare const ImportWorkflowResponseSchema: z.ZodObject<{
|
|
|
80
80
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
81
|
status: z.ZodEnum<{
|
|
82
82
|
active: "active";
|
|
83
|
-
failed: "failed";
|
|
84
|
-
pending: "pending";
|
|
85
83
|
unclaimed: "unclaimed";
|
|
84
|
+
pending: "pending";
|
|
86
85
|
releasing: "releasing";
|
|
87
86
|
released: "released";
|
|
87
|
+
failed: "failed";
|
|
88
88
|
}>;
|
|
89
89
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
90
|
details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4816,6 +4816,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4816
4816
|
inputs?: Record<string, unknown> | undefined;
|
|
4817
4817
|
page?: string | undefined;
|
|
4818
4818
|
callbackUrl?: string | undefined;
|
|
4819
|
+
idempotencyKey?: string | undefined;
|
|
4819
4820
|
} & {
|
|
4820
4821
|
skipOutputDataValidation?: boolean;
|
|
4821
4822
|
}, Promise<{
|
|
@@ -4831,6 +4832,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4831
4832
|
actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
|
|
4832
4833
|
inputs?: Record<string, unknown> | undefined;
|
|
4833
4834
|
page?: string | undefined;
|
|
4835
|
+
idempotencyKey?: string | undefined;
|
|
4834
4836
|
callbackUrl?: string | undefined;
|
|
4835
4837
|
}> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
|
|
4836
4838
|
app: string;
|
|
@@ -4969,6 +4971,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4969
4971
|
inputs?: Record<string, unknown> | undefined;
|
|
4970
4972
|
page?: string | undefined;
|
|
4971
4973
|
callbackUrl?: string | undefined;
|
|
4974
|
+
idempotencyKey?: string | undefined;
|
|
4972
4975
|
} & {
|
|
4973
4976
|
skipOutputDataValidation?: boolean;
|
|
4974
4977
|
}) => Promise<{
|
|
@@ -5027,6 +5030,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5027
5030
|
inputs?: Record<string, unknown> | undefined;
|
|
5028
5031
|
timeoutSeconds?: number | undefined;
|
|
5029
5032
|
timeoutMs?: number | undefined;
|
|
5033
|
+
idempotencyKey?: string | undefined;
|
|
5030
5034
|
pageSize?: number | undefined;
|
|
5031
5035
|
maxItems?: number | undefined;
|
|
5032
5036
|
cursor?: string | undefined;
|
|
@@ -5040,6 +5044,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5040
5044
|
inputs?: Record<string, unknown> | undefined;
|
|
5041
5045
|
timeoutSeconds?: number | undefined;
|
|
5042
5046
|
timeoutMs?: number | undefined;
|
|
5047
|
+
idempotencyKey?: string | undefined;
|
|
5043
5048
|
pageSize?: number | undefined;
|
|
5044
5049
|
maxItems?: number | undefined;
|
|
5045
5050
|
cursor?: string | undefined;
|
|
@@ -5060,6 +5065,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5060
5065
|
inputs?: Record<string, unknown> | undefined;
|
|
5061
5066
|
timeoutSeconds?: number | undefined;
|
|
5062
5067
|
timeoutMs?: number | undefined;
|
|
5068
|
+
idempotencyKey?: string | undefined;
|
|
5063
5069
|
pageSize?: number | undefined;
|
|
5064
5070
|
maxItems?: number | undefined;
|
|
5065
5071
|
cursor?: string | undefined;
|
|
@@ -5073,6 +5079,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5073
5079
|
inputs?: Record<string, unknown> | undefined;
|
|
5074
5080
|
timeoutSeconds?: number | undefined;
|
|
5075
5081
|
timeoutMs?: number | undefined;
|
|
5082
|
+
idempotencyKey?: string | undefined;
|
|
5076
5083
|
pageSize?: number | undefined;
|
|
5077
5084
|
maxItems?: number | undefined;
|
|
5078
5085
|
cursor?: string | undefined;
|
|
@@ -5087,6 +5094,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5087
5094
|
inputs?: Record<string, unknown> | undefined;
|
|
5088
5095
|
page?: string | undefined;
|
|
5089
5096
|
callbackUrl?: string | undefined;
|
|
5097
|
+
idempotencyKey?: string | undefined;
|
|
5090
5098
|
} & {
|
|
5091
5099
|
skipOutputDataValidation?: boolean;
|
|
5092
5100
|
}, Promise<{
|
|
@@ -5102,6 +5110,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5102
5110
|
actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
|
|
5103
5111
|
inputs?: Record<string, unknown> | undefined;
|
|
5104
5112
|
page?: string | undefined;
|
|
5113
|
+
idempotencyKey?: string | undefined;
|
|
5105
5114
|
callbackUrl?: string | undefined;
|
|
5106
5115
|
}> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
|
|
5107
5116
|
app: string;
|
|
@@ -5240,6 +5249,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5240
5249
|
inputs?: Record<string, unknown> | undefined;
|
|
5241
5250
|
page?: string | undefined;
|
|
5242
5251
|
callbackUrl?: string | undefined;
|
|
5252
|
+
idempotencyKey?: string | undefined;
|
|
5243
5253
|
} & {
|
|
5244
5254
|
skipOutputDataValidation?: boolean;
|
|
5245
5255
|
}) => Promise<{
|
|
@@ -5258,6 +5268,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5258
5268
|
inputs?: Record<string, unknown> | undefined;
|
|
5259
5269
|
timeoutSeconds?: number | undefined;
|
|
5260
5270
|
timeoutMs?: number | undefined;
|
|
5271
|
+
idempotencyKey?: string | undefined;
|
|
5261
5272
|
pageSize?: number | undefined;
|
|
5262
5273
|
maxItems?: number | undefined;
|
|
5263
5274
|
cursor?: string | undefined;
|
|
@@ -5271,6 +5282,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5271
5282
|
inputs?: Record<string, unknown> | undefined;
|
|
5272
5283
|
timeoutSeconds?: number | undefined;
|
|
5273
5284
|
timeoutMs?: number | undefined;
|
|
5285
|
+
idempotencyKey?: string | undefined;
|
|
5274
5286
|
pageSize?: number | undefined;
|
|
5275
5287
|
maxItems?: number | undefined;
|
|
5276
5288
|
cursor?: string | undefined;
|
|
@@ -5342,6 +5354,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5342
5354
|
inputs?: Record<string, unknown> | undefined;
|
|
5343
5355
|
timeoutSeconds?: number | undefined;
|
|
5344
5356
|
timeoutMs?: number | undefined;
|
|
5357
|
+
idempotencyKey?: string | undefined;
|
|
5345
5358
|
pageSize?: number | undefined;
|
|
5346
5359
|
maxItems?: number | undefined;
|
|
5347
5360
|
cursor?: string | undefined;
|
|
@@ -5355,6 +5368,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5355
5368
|
inputs?: Record<string, unknown> | undefined;
|
|
5356
5369
|
timeoutSeconds?: number | undefined;
|
|
5357
5370
|
timeoutMs?: number | undefined;
|
|
5371
|
+
idempotencyKey?: string | undefined;
|
|
5358
5372
|
pageSize?: number | undefined;
|
|
5359
5373
|
maxItems?: number | undefined;
|
|
5360
5374
|
cursor?: string | undefined;
|
|
@@ -5375,6 +5389,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5375
5389
|
inputs?: Record<string, unknown> | undefined;
|
|
5376
5390
|
timeoutSeconds?: number | undefined;
|
|
5377
5391
|
timeoutMs?: number | undefined;
|
|
5392
|
+
idempotencyKey?: string | undefined;
|
|
5378
5393
|
pageSize?: number | undefined;
|
|
5379
5394
|
maxItems?: number | undefined;
|
|
5380
5395
|
cursor?: string | undefined;
|
|
@@ -5388,6 +5403,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5388
5403
|
inputs?: Record<string, unknown> | undefined;
|
|
5389
5404
|
timeoutSeconds?: number | undefined;
|
|
5390
5405
|
timeoutMs?: number | undefined;
|
|
5406
|
+
idempotencyKey?: string | undefined;
|
|
5391
5407
|
pageSize?: number | undefined;
|
|
5392
5408
|
maxItems?: number | undefined;
|
|
5393
5409
|
cursor?: string | undefined;
|
|
@@ -5402,6 +5418,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5402
5418
|
inputs?: Record<string, unknown> | undefined;
|
|
5403
5419
|
page?: string | undefined;
|
|
5404
5420
|
callbackUrl?: string | undefined;
|
|
5421
|
+
idempotencyKey?: string | undefined;
|
|
5405
5422
|
} & {
|
|
5406
5423
|
skipOutputDataValidation?: boolean;
|
|
5407
5424
|
}, Promise<{
|
|
@@ -5417,6 +5434,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5417
5434
|
actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
|
|
5418
5435
|
inputs?: Record<string, unknown> | undefined;
|
|
5419
5436
|
page?: string | undefined;
|
|
5437
|
+
idempotencyKey?: string | undefined;
|
|
5420
5438
|
callbackUrl?: string | undefined;
|
|
5421
5439
|
}> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
|
|
5422
5440
|
app: string;
|
|
@@ -5555,6 +5573,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5555
5573
|
inputs?: Record<string, unknown> | undefined;
|
|
5556
5574
|
page?: string | undefined;
|
|
5557
5575
|
callbackUrl?: string | undefined;
|
|
5576
|
+
idempotencyKey?: string | undefined;
|
|
5558
5577
|
} & {
|
|
5559
5578
|
skipOutputDataValidation?: boolean;
|
|
5560
5579
|
}) => Promise<{
|
|
@@ -5573,6 +5592,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5573
5592
|
inputs?: Record<string, unknown> | undefined;
|
|
5574
5593
|
timeoutSeconds?: number | undefined;
|
|
5575
5594
|
timeoutMs?: number | undefined;
|
|
5595
|
+
idempotencyKey?: string | undefined;
|
|
5576
5596
|
pageSize?: number | undefined;
|
|
5577
5597
|
maxItems?: number | undefined;
|
|
5578
5598
|
cursor?: string | undefined;
|
|
@@ -5586,6 +5606,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
5586
5606
|
inputs?: Record<string, unknown> | undefined;
|
|
5587
5607
|
timeoutSeconds?: number | undefined;
|
|
5588
5608
|
timeoutMs?: number | undefined;
|
|
5609
|
+
idempotencyKey?: string | undefined;
|
|
5589
5610
|
pageSize?: number | undefined;
|
|
5590
5611
|
maxItems?: number | undefined;
|
|
5591
5612
|
cursor?: string | undefined;
|
|
@@ -7652,7 +7673,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7652
7673
|
triggers: {
|
|
7653
7674
|
selected_api: string;
|
|
7654
7675
|
action: string;
|
|
7655
|
-
status: "active" | "
|
|
7676
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7656
7677
|
authentication_id?: string | null | undefined;
|
|
7657
7678
|
params?: Record<string, unknown> | undefined;
|
|
7658
7679
|
error?: string | null | undefined;
|
|
@@ -7699,7 +7720,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7699
7720
|
triggers: {
|
|
7700
7721
|
selected_api: string;
|
|
7701
7722
|
action: string;
|
|
7702
|
-
status: "active" | "
|
|
7723
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7703
7724
|
authentication_id?: string | null | undefined;
|
|
7704
7725
|
params?: Record<string, unknown> | undefined;
|
|
7705
7726
|
error?: string | null | undefined;
|
|
@@ -7734,7 +7755,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7734
7755
|
triggers: {
|
|
7735
7756
|
selected_api: string;
|
|
7736
7757
|
action: string;
|
|
7737
|
-
status: "active" | "
|
|
7758
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7738
7759
|
authentication_id?: string | null | undefined;
|
|
7739
7760
|
params?: Record<string, unknown> | undefined;
|
|
7740
7761
|
error?: string | null | undefined;
|
|
@@ -7798,7 +7819,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7798
7819
|
triggers: {
|
|
7799
7820
|
selected_api: string;
|
|
7800
7821
|
action: string;
|
|
7801
|
-
status: "active" | "
|
|
7822
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7802
7823
|
authentication_id?: string | null | undefined;
|
|
7803
7824
|
params?: Record<string, unknown> | undefined;
|
|
7804
7825
|
error?: string | null | undefined;
|
|
@@ -7876,9 +7897,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7876
7897
|
description?: string | undefined;
|
|
7877
7898
|
name: string;
|
|
7878
7899
|
is_private?: boolean | undefined;
|
|
7900
|
+
private?: boolean | undefined;
|
|
7879
7901
|
creationHarness?: string | null | undefined;
|
|
7880
7902
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7881
|
-
private?: boolean | undefined;
|
|
7882
7903
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7883
7904
|
name: string;
|
|
7884
7905
|
is_private?: boolean | undefined;
|
|
@@ -7929,7 +7950,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7929
7950
|
triggers: {
|
|
7930
7951
|
selected_api: string;
|
|
7931
7952
|
action: string;
|
|
7932
|
-
status: "active" | "
|
|
7953
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7933
7954
|
authentication_id?: string | null | undefined;
|
|
7934
7955
|
params?: Record<string, unknown> | undefined;
|
|
7935
7956
|
error?: string | null | undefined;
|
|
@@ -7997,9 +8018,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7997
8018
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7998
8019
|
}>, readonly [], {
|
|
7999
8020
|
name?: string | undefined;
|
|
8021
|
+
private?: boolean | undefined;
|
|
8000
8022
|
creationHarness?: string | null | undefined;
|
|
8001
8023
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8002
|
-
private?: boolean | undefined;
|
|
8003
8024
|
zap: string;
|
|
8004
8025
|
}> & _zapier_kitcore.LeafSummary<"", "importWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8005
8026
|
zap: string;
|
|
@@ -8022,7 +8043,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8022
8043
|
triggers: {
|
|
8023
8044
|
selected_api: string;
|
|
8024
8045
|
action: string;
|
|
8025
|
-
status: "active" | "
|
|
8046
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
8026
8047
|
authentication_id?: string | null | undefined;
|
|
8027
8048
|
params?: Record<string, unknown> | undefined;
|
|
8028
8049
|
error?: string | null | undefined;
|
|
@@ -8464,7 +8485,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8464
8485
|
params?: Record<string, unknown> | undefined;
|
|
8465
8486
|
} | undefined;
|
|
8466
8487
|
enabled?: boolean | undefined;
|
|
8467
|
-
|
|
8488
|
+
workflow: string;
|
|
8468
8489
|
zapier_durable_version?: string | undefined;
|
|
8469
8490
|
dependencies?: Record<string, string> | undefined;
|
|
8470
8491
|
app_versions?: Record<string, {
|
|
@@ -8472,14 +8493,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8472
8493
|
implementation_name?: string | undefined;
|
|
8473
8494
|
version?: string | undefined;
|
|
8474
8495
|
}> | null | undefined;
|
|
8475
|
-
workflow: string;
|
|
8476
8496
|
zapierDurableVersion?: string | undefined;
|
|
8497
|
+
ignoreOpenDrafts?: boolean | undefined;
|
|
8477
8498
|
appVersions?: Record<string, {
|
|
8478
8499
|
implementationName?: string | undefined;
|
|
8479
8500
|
implementation_name?: string | undefined;
|
|
8480
8501
|
version?: string | undefined;
|
|
8481
8502
|
}> | null | undefined;
|
|
8482
|
-
|
|
8503
|
+
manual?: boolean | undefined;
|
|
8483
8504
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
|
|
8484
8505
|
workflow: string;
|
|
8485
8506
|
sourceFiles: Record<string, string>;
|
|
@@ -8803,9 +8824,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8803
8824
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8804
8825
|
}>, readonly [], {
|
|
8805
8826
|
slug?: string | undefined;
|
|
8827
|
+
workflow: string;
|
|
8806
8828
|
creationHarness?: string | null | undefined;
|
|
8807
8829
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8808
|
-
workflow: string;
|
|
8809
8830
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8810
8831
|
workflow: string;
|
|
8811
8832
|
creationHarness?: string | null | undefined;
|
|
@@ -8941,19 +8962,19 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8941
8962
|
authentication_id?: string | null | undefined;
|
|
8942
8963
|
params?: Record<string, unknown> | undefined;
|
|
8943
8964
|
} | null | undefined;
|
|
8944
|
-
|
|
8965
|
+
workflow: string;
|
|
8966
|
+
dependencies?: Record<string, string> | undefined;
|
|
8945
8967
|
creationHarness?: string | null | undefined;
|
|
8946
8968
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8947
|
-
dependencies?: Record<string, string> | undefined;
|
|
8948
|
-
workflow: string;
|
|
8949
8969
|
draft: string;
|
|
8970
|
+
sourceFiles: Record<string, string>;
|
|
8950
8971
|
zapierDurableVersion?: string | undefined;
|
|
8951
8972
|
appVersions?: Record<string, {
|
|
8952
8973
|
implementationName?: string | undefined;
|
|
8953
8974
|
implementation_name?: string | undefined;
|
|
8954
8975
|
version?: string | undefined;
|
|
8955
8976
|
}> | null | undefined;
|
|
8956
|
-
|
|
8977
|
+
manual?: boolean | undefined;
|
|
8957
8978
|
draftRevision?: number | undefined;
|
|
8958
8979
|
}> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8959
8980
|
workflow: string;
|
|
@@ -9210,11 +9231,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9210
9231
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9211
9232
|
}>, readonly [], {
|
|
9212
9233
|
enabled?: boolean | undefined;
|
|
9213
|
-
|
|
9234
|
+
workflow: string;
|
|
9214
9235
|
creationHarness?: string | null | undefined;
|
|
9215
9236
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
9216
|
-
workflow: string;
|
|
9217
9237
|
draft: string;
|
|
9238
|
+
manual?: boolean | undefined;
|
|
9218
9239
|
draftRevision?: number | undefined;
|
|
9219
9240
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9220
9241
|
workflow: string;
|
|
@@ -10085,6 +10106,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10085
10106
|
} | undefined;
|
|
10086
10107
|
}[] | undefined;
|
|
10087
10108
|
draft?: boolean | undefined;
|
|
10109
|
+
confirmationTitle?: string | undefined;
|
|
10110
|
+
confirmationMessage?: string | undefined;
|
|
10111
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
10088
10112
|
document?: {
|
|
10089
10113
|
[x: string]: unknown;
|
|
10090
10114
|
id: string;
|
|
@@ -10096,9 +10120,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10096
10120
|
};
|
|
10097
10121
|
children?: unknown[] | undefined;
|
|
10098
10122
|
} | undefined;
|
|
10099
|
-
confirmationTitle?: string | undefined;
|
|
10100
|
-
confirmationMessage?: string | undefined;
|
|
10101
|
-
consumerAuth?: "zapier" | "none" | undefined;
|
|
10102
10123
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10103
10124
|
title: string;
|
|
10104
10125
|
description?: string | undefined;
|
|
@@ -10356,13 +10377,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10356
10377
|
} & {
|
|
10357
10378
|
skipOutputDataValidation?: boolean;
|
|
10358
10379
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
10359
|
-
type: "file" | "
|
|
10380
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10360
10381
|
name: string;
|
|
10361
10382
|
path: string;
|
|
10362
10383
|
size?: number | undefined;
|
|
10363
10384
|
version?: number | undefined;
|
|
10364
10385
|
updated_at?: string | undefined;
|
|
10365
|
-
target_type?: "file" | "
|
|
10386
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10366
10387
|
target_path?: string | null | undefined;
|
|
10367
10388
|
accessible?: boolean | undefined;
|
|
10368
10389
|
content_type?: string | undefined;
|
|
@@ -10387,13 +10408,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10387
10408
|
} & {
|
|
10388
10409
|
skipOutputDataValidation?: boolean;
|
|
10389
10410
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
10390
|
-
type: "file" | "
|
|
10411
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10391
10412
|
name: string;
|
|
10392
10413
|
path: string;
|
|
10393
10414
|
size?: number | undefined;
|
|
10394
10415
|
version?: number | undefined;
|
|
10395
10416
|
updated_at?: string | undefined;
|
|
10396
|
-
target_type?: "file" | "
|
|
10417
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10397
10418
|
target_path?: string | null | undefined;
|
|
10398
10419
|
accessible?: boolean | undefined;
|
|
10399
10420
|
content_type?: string | undefined;
|
|
@@ -10519,9 +10540,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10519
10540
|
};
|
|
10520
10541
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10521
10542
|
}>, readonly [], {
|
|
10543
|
+
expectedVersion?: number | undefined;
|
|
10522
10544
|
from: string;
|
|
10523
10545
|
to: string;
|
|
10524
|
-
expectedVersion?: number | undefined;
|
|
10525
10546
|
overwrite?: boolean | undefined;
|
|
10526
10547
|
}> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10527
10548
|
from: string;
|
|
@@ -10570,13 +10591,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10570
10591
|
skipOutputDataValidation?: boolean;
|
|
10571
10592
|
}, Promise<{
|
|
10572
10593
|
data: {
|
|
10573
|
-
type: "file" | "
|
|
10594
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10574
10595
|
name: string;
|
|
10575
10596
|
path: string;
|
|
10576
10597
|
size?: number | undefined;
|
|
10577
10598
|
version?: number | undefined;
|
|
10578
10599
|
updated_at?: string | undefined;
|
|
10579
|
-
target_type?: "file" | "
|
|
10600
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10580
10601
|
target_path?: string | null | undefined;
|
|
10581
10602
|
accessible?: boolean | undefined;
|
|
10582
10603
|
content_type?: string | undefined;
|
|
@@ -10590,13 +10611,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10590
10611
|
skipOutputDataValidation?: boolean;
|
|
10591
10612
|
}) => Promise<{
|
|
10592
10613
|
data: {
|
|
10593
|
-
type: "file" | "
|
|
10614
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10594
10615
|
name: string;
|
|
10595
10616
|
path: string;
|
|
10596
10617
|
size?: number | undefined;
|
|
10597
10618
|
version?: number | undefined;
|
|
10598
10619
|
updated_at?: string | undefined;
|
|
10599
|
-
target_type?: "file" | "
|
|
10620
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10600
10621
|
target_path?: string | null | undefined;
|
|
10601
10622
|
accessible?: boolean | undefined;
|
|
10602
10623
|
content_type?: string | undefined;
|
|
@@ -10652,7 +10673,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10652
10673
|
};
|
|
10653
10674
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10654
10675
|
}>>;
|
|
10655
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "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" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "
|
|
10676
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "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" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "listVfsDirectory" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "createVfsDirectory" | "statVfsPath" | "deleteVfsPath" | "moveVfsPath" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
10656
10677
|
credentials?: string | {
|
|
10657
10678
|
clientId: string;
|
|
10658
10679
|
clientSecret: string;
|
|
@@ -11290,6 +11311,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11290
11311
|
inputs?: Record<string, unknown> | undefined;
|
|
11291
11312
|
page?: string | undefined;
|
|
11292
11313
|
callbackUrl?: string | undefined;
|
|
11314
|
+
idempotencyKey?: string | undefined;
|
|
11293
11315
|
} & {
|
|
11294
11316
|
skipOutputDataValidation?: boolean;
|
|
11295
11317
|
}) => Promise<{
|
|
@@ -11308,6 +11330,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11308
11330
|
inputs?: Record<string, unknown> | undefined;
|
|
11309
11331
|
timeoutSeconds?: number | undefined;
|
|
11310
11332
|
timeoutMs?: number | undefined;
|
|
11333
|
+
idempotencyKey?: string | undefined;
|
|
11311
11334
|
pageSize?: number | undefined;
|
|
11312
11335
|
maxItems?: number | undefined;
|
|
11313
11336
|
cursor?: string | undefined;
|
|
@@ -11321,6 +11344,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11321
11344
|
inputs?: Record<string, unknown> | undefined;
|
|
11322
11345
|
timeoutSeconds?: number | undefined;
|
|
11323
11346
|
timeoutMs?: number | undefined;
|
|
11347
|
+
idempotencyKey?: string | undefined;
|
|
11324
11348
|
pageSize?: number | undefined;
|
|
11325
11349
|
maxItems?: number | undefined;
|
|
11326
11350
|
cursor?: string | undefined;
|
|
@@ -12431,7 +12455,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12431
12455
|
triggers: {
|
|
12432
12456
|
selected_api: string;
|
|
12433
12457
|
action: string;
|
|
12434
|
-
status: "active" | "
|
|
12458
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12435
12459
|
authentication_id?: string | null | undefined;
|
|
12436
12460
|
params?: Record<string, unknown> | undefined;
|
|
12437
12461
|
error?: string | null | undefined;
|
|
@@ -12464,7 +12488,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12464
12488
|
triggers: {
|
|
12465
12489
|
selected_api: string;
|
|
12466
12490
|
action: string;
|
|
12467
|
-
status: "active" | "
|
|
12491
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12468
12492
|
authentication_id?: string | null | undefined;
|
|
12469
12493
|
params?: Record<string, unknown> | undefined;
|
|
12470
12494
|
error?: string | null | undefined;
|
|
@@ -12557,7 +12581,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12557
12581
|
triggers: {
|
|
12558
12582
|
selected_api: string;
|
|
12559
12583
|
action: string;
|
|
12560
|
-
status: "active" | "
|
|
12584
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12561
12585
|
authentication_id?: string | null | undefined;
|
|
12562
12586
|
params?: Record<string, unknown> | undefined;
|
|
12563
12587
|
error?: string | null | undefined;
|
|
@@ -12669,7 +12693,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12669
12693
|
data: {
|
|
12670
12694
|
id: string;
|
|
12671
12695
|
};
|
|
12672
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12696
|
+
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12697
|
+
workflow: string;
|
|
12673
12698
|
pageSize?: number | undefined;
|
|
12674
12699
|
cursor?: string | undefined;
|
|
12675
12700
|
maxItems?: number | undefined;
|
|
@@ -12680,152 +12705,63 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12680
12705
|
maxItems?: number;
|
|
12681
12706
|
} & {
|
|
12682
12707
|
skipOutputDataValidation?: boolean;
|
|
12683
|
-
})
|
|
12708
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12684
12709
|
id: string;
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
[x: string]: unknown;
|
|
12690
|
-
code: string;
|
|
12691
|
-
message: string;
|
|
12692
|
-
} | null;
|
|
12693
|
-
execution_id: string | null;
|
|
12694
|
-
is_private: boolean;
|
|
12710
|
+
workflow_id: string;
|
|
12711
|
+
zapier_durable_version: string;
|
|
12712
|
+
dependencies: Record<string, string> | null;
|
|
12713
|
+
created_by_user_id: string;
|
|
12695
12714
|
created_at: string;
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
}
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
error: {
|
|
12708
|
-
[x: string]: unknown;
|
|
12709
|
-
code: string;
|
|
12710
|
-
message: string;
|
|
12711
|
-
} | null;
|
|
12712
|
-
execution: {
|
|
12713
|
-
id: string;
|
|
12714
|
-
name: string;
|
|
12715
|
-
status: string;
|
|
12716
|
-
input: unknown;
|
|
12717
|
-
created_at: string;
|
|
12718
|
-
output?: unknown;
|
|
12719
|
-
error?: unknown;
|
|
12720
|
-
metadata?: Record<string, unknown> | undefined;
|
|
12721
|
-
summary?: {
|
|
12722
|
-
[x: string]: unknown;
|
|
12723
|
-
total_attempts: number;
|
|
12724
|
-
last_error?: {
|
|
12725
|
-
[x: string]: unknown;
|
|
12726
|
-
code: string;
|
|
12727
|
-
title: string;
|
|
12728
|
-
detail?: string | null | undefined;
|
|
12729
|
-
} | null | undefined;
|
|
12730
|
-
} | null | undefined;
|
|
12731
|
-
operations?: {
|
|
12732
|
-
id: string;
|
|
12733
|
-
execution_id: string;
|
|
12734
|
-
name: string;
|
|
12735
|
-
type: string;
|
|
12736
|
-
status: string;
|
|
12737
|
-
retry_count: number;
|
|
12738
|
-
created_at: string;
|
|
12739
|
-
result?: unknown;
|
|
12740
|
-
error?: unknown;
|
|
12741
|
-
max_attempts?: number | undefined;
|
|
12742
|
-
next_retry_at?: string | null | undefined;
|
|
12743
|
-
resume_at?: string | null | undefined;
|
|
12744
|
-
callback_token?: string | null | undefined;
|
|
12745
|
-
payload_schema?: unknown;
|
|
12746
|
-
payload?: unknown;
|
|
12747
|
-
expires_at?: string | null | undefined;
|
|
12748
|
-
timeout_seconds?: number | null | undefined;
|
|
12749
|
-
completed_at?: string | null | undefined;
|
|
12750
|
-
}[] | undefined;
|
|
12751
|
-
} | null;
|
|
12752
|
-
is_private: boolean;
|
|
12753
|
-
created_at: string;
|
|
12754
|
-
updated_at: string;
|
|
12755
|
-
};
|
|
12756
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12757
|
-
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12758
|
-
sourceFiles: Record<string, string>;
|
|
12759
|
-
input?: unknown;
|
|
12760
|
-
dependencies?: Record<string, string> | undefined;
|
|
12761
|
-
zapierDurableVersion?: string | undefined;
|
|
12762
|
-
zapier_durable_version?: string | undefined;
|
|
12763
|
-
connections?: Record<string, {
|
|
12764
|
-
connectionId?: string | number | undefined;
|
|
12765
|
-
connection_id?: string | number | undefined;
|
|
12766
|
-
}> | undefined;
|
|
12767
|
-
appVersions?: Record<string, {
|
|
12768
|
-
implementationName?: string | undefined;
|
|
12769
|
-
implementation_name?: string | undefined;
|
|
12770
|
-
version?: string | undefined;
|
|
12771
|
-
}> | undefined;
|
|
12772
|
-
app_versions?: Record<string, {
|
|
12773
|
-
implementationName?: string | undefined;
|
|
12774
|
-
implementation_name?: string | undefined;
|
|
12775
|
-
version?: string | undefined;
|
|
12776
|
-
}> | undefined;
|
|
12777
|
-
private?: boolean | undefined;
|
|
12778
|
-
notifications?: {
|
|
12779
|
-
url: string;
|
|
12780
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12781
|
-
type?: "webhook" | undefined;
|
|
12782
|
-
max_retries?: number | undefined;
|
|
12783
|
-
}[] | undefined;
|
|
12784
|
-
} | {
|
|
12785
|
-
source_files: Record<string, string>;
|
|
12786
|
-
input?: unknown;
|
|
12787
|
-
dependencies?: Record<string, string> | undefined;
|
|
12788
|
-
zapierDurableVersion?: string | undefined;
|
|
12789
|
-
zapier_durable_version?: string | undefined;
|
|
12790
|
-
connections?: Record<string, {
|
|
12791
|
-
connectionId?: string | number | undefined;
|
|
12792
|
-
connection_id?: string | number | undefined;
|
|
12793
|
-
}> | undefined;
|
|
12794
|
-
appVersions?: Record<string, {
|
|
12795
|
-
implementationName?: string | undefined;
|
|
12796
|
-
implementation_name?: string | undefined;
|
|
12797
|
-
version?: string | undefined;
|
|
12798
|
-
}> | undefined;
|
|
12799
|
-
app_versions?: Record<string, {
|
|
12800
|
-
implementationName?: string | undefined;
|
|
12801
|
-
implementation_name?: string | undefined;
|
|
12715
|
+
trigger: {
|
|
12716
|
+
selected_api: string;
|
|
12717
|
+
action: string;
|
|
12718
|
+
authentication_id?: string | null | undefined;
|
|
12719
|
+
params?: Record<string, unknown> | undefined;
|
|
12720
|
+
} | null;
|
|
12721
|
+
connections: Record<string, {
|
|
12722
|
+
connection_id: string | number;
|
|
12723
|
+
}> | null;
|
|
12724
|
+
app_versions: Record<string, {
|
|
12725
|
+
implementation_name: string;
|
|
12802
12726
|
version?: string | undefined;
|
|
12803
|
-
}> |
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
skipOutputDataValidation?: boolean;
|
|
12813
|
-
}) => Promise<{
|
|
12814
|
-
data: {
|
|
12815
|
-
id: string;
|
|
12816
|
-
status: "initialized";
|
|
12817
|
-
is_private: boolean;
|
|
12818
|
-
created_at: string;
|
|
12819
|
-
};
|
|
12820
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12821
|
-
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12822
|
-
run: string;
|
|
12727
|
+
}> | null;
|
|
12728
|
+
creation_client?: {
|
|
12729
|
+
access_method: string;
|
|
12730
|
+
harness?: string | null | undefined;
|
|
12731
|
+
sdk_version?: string | null | undefined;
|
|
12732
|
+
} | null | undefined;
|
|
12733
|
+
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12734
|
+
workflow: string;
|
|
12735
|
+
version: string;
|
|
12823
12736
|
} & {
|
|
12824
12737
|
skipOutputDataValidation?: boolean;
|
|
12825
12738
|
}) => Promise<{
|
|
12826
12739
|
data: {
|
|
12827
12740
|
id: string;
|
|
12828
|
-
|
|
12741
|
+
workflow_id: string;
|
|
12742
|
+
source_files: Record<string, string>;
|
|
12743
|
+
zapier_durable_version: string;
|
|
12744
|
+
dependencies: Record<string, string> | null;
|
|
12745
|
+
created_by_user_id: string;
|
|
12746
|
+
created_at: string;
|
|
12747
|
+
trigger: {
|
|
12748
|
+
selected_api: string;
|
|
12749
|
+
action: string;
|
|
12750
|
+
authentication_id?: string | null | undefined;
|
|
12751
|
+
params?: Record<string, unknown> | undefined;
|
|
12752
|
+
} | null;
|
|
12753
|
+
connections: Record<string, {
|
|
12754
|
+
connection_id: string | number;
|
|
12755
|
+
}> | null;
|
|
12756
|
+
app_versions: Record<string, {
|
|
12757
|
+
implementation_name: string;
|
|
12758
|
+
version?: string | undefined;
|
|
12759
|
+
}> | null;
|
|
12760
|
+
creation_client?: {
|
|
12761
|
+
access_method: string;
|
|
12762
|
+
harness?: string | null | undefined;
|
|
12763
|
+
sdk_version?: string | null | undefined;
|
|
12764
|
+
} | null | undefined;
|
|
12829
12765
|
};
|
|
12830
12766
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12831
12767
|
}>> | _zapier_kitcore.ContractEntry<"publishWorkflowVersion", (input: ({
|
|
@@ -12921,77 +12857,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12921
12857
|
} | null | undefined;
|
|
12922
12858
|
};
|
|
12923
12859
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12924
|
-
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12925
|
-
workflow: string;
|
|
12926
|
-
pageSize?: number | undefined;
|
|
12927
|
-
cursor?: string | undefined;
|
|
12928
|
-
maxItems?: number | undefined;
|
|
12929
|
-
} & {
|
|
12930
|
-
cursor?: string;
|
|
12931
|
-
pageSize?: number;
|
|
12932
|
-
} & {
|
|
12933
|
-
maxItems?: number;
|
|
12934
|
-
} & {
|
|
12935
|
-
skipOutputDataValidation?: boolean;
|
|
12936
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12937
|
-
id: string;
|
|
12938
|
-
workflow_id: string;
|
|
12939
|
-
zapier_durable_version: string;
|
|
12940
|
-
dependencies: Record<string, string> | null;
|
|
12941
|
-
created_by_user_id: string;
|
|
12942
|
-
created_at: string;
|
|
12943
|
-
trigger: {
|
|
12944
|
-
selected_api: string;
|
|
12945
|
-
action: string;
|
|
12946
|
-
authentication_id?: string | null | undefined;
|
|
12947
|
-
params?: Record<string, unknown> | undefined;
|
|
12948
|
-
} | null;
|
|
12949
|
-
connections: Record<string, {
|
|
12950
|
-
connection_id: string | number;
|
|
12951
|
-
}> | null;
|
|
12952
|
-
app_versions: Record<string, {
|
|
12953
|
-
implementation_name: string;
|
|
12954
|
-
version?: string | undefined;
|
|
12955
|
-
}> | null;
|
|
12956
|
-
creation_client?: {
|
|
12957
|
-
access_method: string;
|
|
12958
|
-
harness?: string | null | undefined;
|
|
12959
|
-
sdk_version?: string | null | undefined;
|
|
12960
|
-
} | null | undefined;
|
|
12961
|
-
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12962
|
-
workflow: string;
|
|
12963
|
-
version: string;
|
|
12964
|
-
} & {
|
|
12965
|
-
skipOutputDataValidation?: boolean;
|
|
12966
|
-
}) => Promise<{
|
|
12967
|
-
data: {
|
|
12968
|
-
id: string;
|
|
12969
|
-
workflow_id: string;
|
|
12970
|
-
source_files: Record<string, string>;
|
|
12971
|
-
zapier_durable_version: string;
|
|
12972
|
-
dependencies: Record<string, string> | null;
|
|
12973
|
-
created_by_user_id: string;
|
|
12974
|
-
created_at: string;
|
|
12975
|
-
trigger: {
|
|
12976
|
-
selected_api: string;
|
|
12977
|
-
action: string;
|
|
12978
|
-
authentication_id?: string | null | undefined;
|
|
12979
|
-
params?: Record<string, unknown> | undefined;
|
|
12980
|
-
} | null;
|
|
12981
|
-
connections: Record<string, {
|
|
12982
|
-
connection_id: string | number;
|
|
12983
|
-
}> | null;
|
|
12984
|
-
app_versions: Record<string, {
|
|
12985
|
-
implementation_name: string;
|
|
12986
|
-
version?: string | undefined;
|
|
12987
|
-
}> | null;
|
|
12988
|
-
creation_client?: {
|
|
12989
|
-
access_method: string;
|
|
12990
|
-
harness?: string | null | undefined;
|
|
12991
|
-
sdk_version?: string | null | undefined;
|
|
12992
|
-
} | null | undefined;
|
|
12993
|
-
};
|
|
12994
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12995
12860
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
|
|
12996
12861
|
workflow: string;
|
|
12997
12862
|
status?: "open" | "discarded" | undefined;
|
|
@@ -13412,23 +13277,165 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13412
13277
|
draft_revision: number;
|
|
13413
13278
|
};
|
|
13414
13279
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13415
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
13416
|
-
|
|
13280
|
+
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
13281
|
+
pageSize?: number | undefined;
|
|
13282
|
+
cursor?: string | undefined;
|
|
13283
|
+
maxItems?: number | undefined;
|
|
13284
|
+
} & {
|
|
13285
|
+
cursor?: string;
|
|
13286
|
+
pageSize?: number;
|
|
13287
|
+
} & {
|
|
13288
|
+
maxItems?: number;
|
|
13289
|
+
} & {
|
|
13290
|
+
skipOutputDataValidation?: boolean;
|
|
13291
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13292
|
+
id: string;
|
|
13293
|
+
status: string;
|
|
13294
|
+
input: unknown;
|
|
13295
|
+
output: unknown;
|
|
13296
|
+
error: {
|
|
13297
|
+
[x: string]: unknown;
|
|
13298
|
+
code: string;
|
|
13299
|
+
message: string;
|
|
13300
|
+
} | null;
|
|
13301
|
+
execution_id: string | null;
|
|
13302
|
+
is_private: boolean;
|
|
13303
|
+
created_at: string;
|
|
13304
|
+
updated_at: string;
|
|
13305
|
+
}>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
|
|
13306
|
+
run: string;
|
|
13417
13307
|
} & {
|
|
13418
13308
|
skipOutputDataValidation?: boolean;
|
|
13419
13309
|
}) => Promise<{
|
|
13420
13310
|
data: {
|
|
13421
13311
|
id: string;
|
|
13422
|
-
durable_run_id: string | null;
|
|
13423
|
-
workflow_version_id: string | null;
|
|
13424
13312
|
status: string;
|
|
13425
13313
|
input: unknown;
|
|
13426
13314
|
output: unknown;
|
|
13427
|
-
error:
|
|
13315
|
+
error: {
|
|
13316
|
+
[x: string]: unknown;
|
|
13317
|
+
code: string;
|
|
13318
|
+
message: string;
|
|
13319
|
+
} | null;
|
|
13320
|
+
execution: {
|
|
13321
|
+
id: string;
|
|
13322
|
+
name: string;
|
|
13323
|
+
status: string;
|
|
13324
|
+
input: unknown;
|
|
13325
|
+
created_at: string;
|
|
13326
|
+
output?: unknown;
|
|
13327
|
+
error?: unknown;
|
|
13328
|
+
metadata?: Record<string, unknown> | undefined;
|
|
13329
|
+
summary?: {
|
|
13330
|
+
[x: string]: unknown;
|
|
13331
|
+
total_attempts: number;
|
|
13332
|
+
last_error?: {
|
|
13333
|
+
[x: string]: unknown;
|
|
13334
|
+
code: string;
|
|
13335
|
+
title: string;
|
|
13336
|
+
detail?: string | null | undefined;
|
|
13337
|
+
} | null | undefined;
|
|
13338
|
+
} | null | undefined;
|
|
13339
|
+
operations?: {
|
|
13340
|
+
id: string;
|
|
13341
|
+
execution_id: string;
|
|
13342
|
+
name: string;
|
|
13343
|
+
type: string;
|
|
13344
|
+
status: string;
|
|
13345
|
+
retry_count: number;
|
|
13346
|
+
created_at: string;
|
|
13347
|
+
result?: unknown;
|
|
13348
|
+
error?: unknown;
|
|
13349
|
+
max_attempts?: number | undefined;
|
|
13350
|
+
next_retry_at?: string | null | undefined;
|
|
13351
|
+
resume_at?: string | null | undefined;
|
|
13352
|
+
callback_token?: string | null | undefined;
|
|
13353
|
+
payload_schema?: unknown;
|
|
13354
|
+
payload?: unknown;
|
|
13355
|
+
expires_at?: string | null | undefined;
|
|
13356
|
+
timeout_seconds?: number | null | undefined;
|
|
13357
|
+
completed_at?: string | null | undefined;
|
|
13358
|
+
}[] | undefined;
|
|
13359
|
+
} | null;
|
|
13360
|
+
is_private: boolean;
|
|
13428
13361
|
created_at: string;
|
|
13429
13362
|
updated_at: string;
|
|
13430
13363
|
};
|
|
13431
13364
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13365
|
+
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
13366
|
+
sourceFiles: Record<string, string>;
|
|
13367
|
+
input?: unknown;
|
|
13368
|
+
dependencies?: Record<string, string> | undefined;
|
|
13369
|
+
zapierDurableVersion?: string | undefined;
|
|
13370
|
+
zapier_durable_version?: string | undefined;
|
|
13371
|
+
connections?: Record<string, {
|
|
13372
|
+
connectionId?: string | number | undefined;
|
|
13373
|
+
connection_id?: string | number | undefined;
|
|
13374
|
+
}> | undefined;
|
|
13375
|
+
appVersions?: Record<string, {
|
|
13376
|
+
implementationName?: string | undefined;
|
|
13377
|
+
implementation_name?: string | undefined;
|
|
13378
|
+
version?: string | undefined;
|
|
13379
|
+
}> | undefined;
|
|
13380
|
+
app_versions?: Record<string, {
|
|
13381
|
+
implementationName?: string | undefined;
|
|
13382
|
+
implementation_name?: string | undefined;
|
|
13383
|
+
version?: string | undefined;
|
|
13384
|
+
}> | undefined;
|
|
13385
|
+
private?: boolean | undefined;
|
|
13386
|
+
notifications?: {
|
|
13387
|
+
url: string;
|
|
13388
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
13389
|
+
type?: "webhook" | undefined;
|
|
13390
|
+
max_retries?: number | undefined;
|
|
13391
|
+
}[] | undefined;
|
|
13392
|
+
} | {
|
|
13393
|
+
source_files: Record<string, string>;
|
|
13394
|
+
input?: unknown;
|
|
13395
|
+
dependencies?: Record<string, string> | undefined;
|
|
13396
|
+
zapierDurableVersion?: string | undefined;
|
|
13397
|
+
zapier_durable_version?: string | undefined;
|
|
13398
|
+
connections?: Record<string, {
|
|
13399
|
+
connectionId?: string | number | undefined;
|
|
13400
|
+
connection_id?: string | number | undefined;
|
|
13401
|
+
}> | undefined;
|
|
13402
|
+
appVersions?: Record<string, {
|
|
13403
|
+
implementationName?: string | undefined;
|
|
13404
|
+
implementation_name?: string | undefined;
|
|
13405
|
+
version?: string | undefined;
|
|
13406
|
+
}> | undefined;
|
|
13407
|
+
app_versions?: Record<string, {
|
|
13408
|
+
implementationName?: string | undefined;
|
|
13409
|
+
implementation_name?: string | undefined;
|
|
13410
|
+
version?: string | undefined;
|
|
13411
|
+
}> | undefined;
|
|
13412
|
+
private?: boolean | undefined;
|
|
13413
|
+
notifications?: {
|
|
13414
|
+
url: string;
|
|
13415
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
13416
|
+
type?: "webhook" | undefined;
|
|
13417
|
+
max_retries?: number | undefined;
|
|
13418
|
+
}[] | undefined;
|
|
13419
|
+
}) & {
|
|
13420
|
+
skipOutputDataValidation?: boolean;
|
|
13421
|
+
}) => Promise<{
|
|
13422
|
+
data: {
|
|
13423
|
+
id: string;
|
|
13424
|
+
status: "initialized";
|
|
13425
|
+
is_private: boolean;
|
|
13426
|
+
created_at: string;
|
|
13427
|
+
};
|
|
13428
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13429
|
+
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
13430
|
+
run: string;
|
|
13431
|
+
} & {
|
|
13432
|
+
skipOutputDataValidation?: boolean;
|
|
13433
|
+
}) => Promise<{
|
|
13434
|
+
data: {
|
|
13435
|
+
id: string;
|
|
13436
|
+
status: "cancelled";
|
|
13437
|
+
};
|
|
13438
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13432
13439
|
}>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
|
|
13433
13440
|
workflow: string;
|
|
13434
13441
|
input?: unknown;
|
|
@@ -13441,6 +13448,23 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13441
13448
|
created_at: string;
|
|
13442
13449
|
};
|
|
13443
13450
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13451
|
+
}>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
|
|
13452
|
+
trigger: string;
|
|
13453
|
+
} & {
|
|
13454
|
+
skipOutputDataValidation?: boolean;
|
|
13455
|
+
}) => Promise<{
|
|
13456
|
+
data: {
|
|
13457
|
+
id: string;
|
|
13458
|
+
durable_run_id: string | null;
|
|
13459
|
+
workflow_version_id: string | null;
|
|
13460
|
+
status: string;
|
|
13461
|
+
input: unknown;
|
|
13462
|
+
output: unknown;
|
|
13463
|
+
error: unknown;
|
|
13464
|
+
created_at: string;
|
|
13465
|
+
updated_at: string;
|
|
13466
|
+
};
|
|
13467
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13444
13468
|
}>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
|
|
13445
13469
|
sourceFiles: Record<string, string>;
|
|
13446
13470
|
entrypointFile?: string | undefined;
|
|
@@ -13603,6 +13627,29 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13603
13627
|
updated_at?: string | null | undefined;
|
|
13604
13628
|
};
|
|
13605
13629
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13630
|
+
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13631
|
+
path: string;
|
|
13632
|
+
pageSize?: number | undefined;
|
|
13633
|
+
maxItems?: number | undefined;
|
|
13634
|
+
cursor?: string | undefined;
|
|
13635
|
+
} & {
|
|
13636
|
+
cursor?: string;
|
|
13637
|
+
pageSize?: number;
|
|
13638
|
+
} & {
|
|
13639
|
+
maxItems?: number;
|
|
13640
|
+
} & {
|
|
13641
|
+
skipOutputDataValidation?: boolean;
|
|
13642
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13643
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13644
|
+
name: string;
|
|
13645
|
+
path: string;
|
|
13646
|
+
size?: number | undefined;
|
|
13647
|
+
version?: number | undefined;
|
|
13648
|
+
updated_at?: string | undefined;
|
|
13649
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13650
|
+
target_path?: string | null | undefined;
|
|
13651
|
+
accessible?: boolean | undefined;
|
|
13652
|
+
content_type?: string | undefined;
|
|
13606
13653
|
}>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
|
|
13607
13654
|
path: string;
|
|
13608
13655
|
maxBytes?: number | undefined;
|
|
@@ -13662,29 +13709,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13662
13709
|
warnings?: string[] | undefined;
|
|
13663
13710
|
};
|
|
13664
13711
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13665
|
-
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13666
|
-
path: string;
|
|
13667
|
-
pageSize?: number | undefined;
|
|
13668
|
-
maxItems?: number | undefined;
|
|
13669
|
-
cursor?: string | undefined;
|
|
13670
|
-
} & {
|
|
13671
|
-
cursor?: string;
|
|
13672
|
-
pageSize?: number;
|
|
13673
|
-
} & {
|
|
13674
|
-
maxItems?: number;
|
|
13675
|
-
} & {
|
|
13676
|
-
skipOutputDataValidation?: boolean;
|
|
13677
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13678
|
-
type: "file" | "stream" | "directory" | "shortcut";
|
|
13679
|
-
name: string;
|
|
13680
|
-
path: string;
|
|
13681
|
-
size?: number | undefined;
|
|
13682
|
-
version?: number | undefined;
|
|
13683
|
-
updated_at?: string | undefined;
|
|
13684
|
-
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
13685
|
-
target_path?: string | null | undefined;
|
|
13686
|
-
accessible?: boolean | undefined;
|
|
13687
|
-
content_type?: string | undefined;
|
|
13688
13712
|
}>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
|
|
13689
13713
|
path: string;
|
|
13690
13714
|
} & {
|
|
@@ -13701,13 +13725,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13701
13725
|
skipOutputDataValidation?: boolean;
|
|
13702
13726
|
}) => Promise<{
|
|
13703
13727
|
data: {
|
|
13704
|
-
type: "file" | "
|
|
13728
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13705
13729
|
name: string;
|
|
13706
13730
|
path: string;
|
|
13707
13731
|
size?: number | undefined;
|
|
13708
13732
|
version?: number | undefined;
|
|
13709
13733
|
updated_at?: string | undefined;
|
|
13710
|
-
target_type?: "file" | "
|
|
13734
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13711
13735
|
target_path?: string | null | undefined;
|
|
13712
13736
|
accessible?: boolean | undefined;
|
|
13713
13737
|
content_type?: string | undefined;
|
|
@@ -14689,6 +14713,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14689
14713
|
inputs?: Record<string, unknown> | undefined;
|
|
14690
14714
|
page?: string | undefined;
|
|
14691
14715
|
callbackUrl?: string | undefined;
|
|
14716
|
+
idempotencyKey?: string | undefined;
|
|
14692
14717
|
} & {
|
|
14693
14718
|
skipOutputDataValidation?: boolean;
|
|
14694
14719
|
}) => Promise<{
|
|
@@ -14726,6 +14751,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14726
14751
|
inputs?: Record<string, unknown> | undefined;
|
|
14727
14752
|
timeoutSeconds?: number | undefined;
|
|
14728
14753
|
timeoutMs?: number | undefined;
|
|
14754
|
+
idempotencyKey?: string | undefined;
|
|
14729
14755
|
pageSize?: number | undefined;
|
|
14730
14756
|
maxItems?: number | undefined;
|
|
14731
14757
|
cursor?: string | undefined;
|
|
@@ -14746,6 +14772,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14746
14772
|
inputs?: Record<string, unknown> | undefined;
|
|
14747
14773
|
timeoutSeconds?: number | undefined;
|
|
14748
14774
|
timeoutMs?: number | undefined;
|
|
14775
|
+
idempotencyKey?: string | undefined;
|
|
14749
14776
|
pageSize?: number | undefined;
|
|
14750
14777
|
maxItems?: number | undefined;
|
|
14751
14778
|
cursor?: string | undefined;
|
|
@@ -15450,7 +15477,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15450
15477
|
triggers: {
|
|
15451
15478
|
selected_api: string;
|
|
15452
15479
|
action: string;
|
|
15453
|
-
status: "active" | "
|
|
15480
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15454
15481
|
authentication_id?: string | null | undefined;
|
|
15455
15482
|
params?: Record<string, unknown> | undefined;
|
|
15456
15483
|
error?: string | null | undefined;
|
|
@@ -15484,7 +15511,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15484
15511
|
triggers: {
|
|
15485
15512
|
selected_api: string;
|
|
15486
15513
|
action: string;
|
|
15487
|
-
status: "active" | "
|
|
15514
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15488
15515
|
authentication_id?: string | null | undefined;
|
|
15489
15516
|
params?: Record<string, unknown> | undefined;
|
|
15490
15517
|
error?: string | null | undefined;
|
|
@@ -15579,7 +15606,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15579
15606
|
triggers: {
|
|
15580
15607
|
selected_api: string;
|
|
15581
15608
|
action: string;
|
|
15582
|
-
status: "active" | "
|
|
15609
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15583
15610
|
authentication_id?: string | null | undefined;
|
|
15584
15611
|
params?: Record<string, unknown> | undefined;
|
|
15585
15612
|
error?: string | null | undefined;
|
|
@@ -16673,13 +16700,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16673
16700
|
} & {
|
|
16674
16701
|
skipOutputDataValidation?: boolean;
|
|
16675
16702
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
16676
|
-
type: "file" | "
|
|
16703
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16677
16704
|
name: string;
|
|
16678
16705
|
path: string;
|
|
16679
16706
|
size?: number | undefined;
|
|
16680
16707
|
version?: number | undefined;
|
|
16681
16708
|
updated_at?: string | undefined;
|
|
16682
|
-
target_type?: "file" | "
|
|
16709
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16683
16710
|
target_path?: string | null | undefined;
|
|
16684
16711
|
accessible?: boolean | undefined;
|
|
16685
16712
|
content_type?: string | undefined;
|
|
@@ -16764,13 +16791,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16764
16791
|
skipOutputDataValidation?: boolean;
|
|
16765
16792
|
}) => Promise<{
|
|
16766
16793
|
data: {
|
|
16767
|
-
type: "file" | "
|
|
16794
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16768
16795
|
name: string;
|
|
16769
16796
|
path: string;
|
|
16770
16797
|
size?: number | undefined;
|
|
16771
16798
|
version?: number | undefined;
|
|
16772
16799
|
updated_at?: string | undefined;
|
|
16773
|
-
target_type?: "file" | "
|
|
16800
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16774
16801
|
target_path?: string | null | undefined;
|
|
16775
16802
|
accessible?: boolean | undefined;
|
|
16776
16803
|
content_type?: string | undefined;
|