@zapier/zapier-sdk 0.114.4 → 0.115.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 +14 -0
- package/README.md +1 -1
- package/dist/beta.cjs +282 -278
- package/dist/beta.d.mts +2 -2
- package/dist/beta.d.ts +2 -2
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-BRFMIXJZ.cjs → chunk-24GCCCDH.cjs} +4 -4
- package/dist/{chunk-B4DVAMYI.cjs → chunk-LO3VMFOP.cjs} +123 -11
- package/dist/{chunk-A2GMUMK3.mjs → chunk-NVVSKZ3Y.mjs} +123 -12
- package/dist/{chunk-ICFP2AO2.mjs → chunk-Q7ECOKIG.mjs} +1 -1
- package/dist/experimental.cjs +387 -383
- package/dist/experimental.d.mts +269 -269
- package/dist/experimental.d.ts +269 -269
- package/dist/experimental.mjs +3 -3
- package/dist/{index-BCJAutN8.d.mts → index-BrhSgvFN.d.mts} +23 -2
- package/dist/{index-BCJAutN8.d.ts → index-BrhSgvFN.d.ts} +23 -2
- package/dist/index.cjs +280 -276
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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-BrhSgvFN.js';
|
|
2
|
+
export { e9 as ACTION_RUNS_PATH, cM as API_ID, x as Action, cI as ActionEntry, c2 as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, y as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, aa as BaseSdkOptionsSchema, a2 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a0 as CallerContext, H as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, Q as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, S as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, q as DrainTriggerInboxCallback, r as DrainTriggerInboxErrorObserver, eY as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, z as Field, bk as FieldsProperty, aS as FieldsPropertySchema, v as FindFirstAuthenticationPluginProvides, w as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, u as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, s as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, t as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, O as NeedsRequest, P as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a7 as RelayFetchSchema, a6 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, X as SDK_OPTIONS_ID, ab as STABILITY_DEFINITIONS, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, U as UserProfile, ax as UserProfileItem, eZ as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, m as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a1 as batch, eH as buildApplicationLifecycleEvent, a3 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, a8 as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, ah as descriptionFor, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, ac as formatExtensionPluginFailure, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, _ as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, o as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, p as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a4 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, cw as requestPlugin, a5 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, $ as runWithCallerContext, Y as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, a9 as zapierCoreOptions, V as zapierSdkPlugin } from './index-BrhSgvFN.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';
|
|
@@ -7547,7 +7547,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7547
7547
|
triggers: {
|
|
7548
7548
|
selected_api: string;
|
|
7549
7549
|
action: string;
|
|
7550
|
-
status: "active" | "
|
|
7550
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7551
7551
|
authentication_id?: string | null | undefined;
|
|
7552
7552
|
params?: Record<string, unknown> | undefined;
|
|
7553
7553
|
error?: string | null | undefined;
|
|
@@ -7594,7 +7594,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7594
7594
|
triggers: {
|
|
7595
7595
|
selected_api: string;
|
|
7596
7596
|
action: string;
|
|
7597
|
-
status: "active" | "
|
|
7597
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7598
7598
|
authentication_id?: string | null | undefined;
|
|
7599
7599
|
params?: Record<string, unknown> | undefined;
|
|
7600
7600
|
error?: string | null | undefined;
|
|
@@ -7629,7 +7629,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7629
7629
|
triggers: {
|
|
7630
7630
|
selected_api: string;
|
|
7631
7631
|
action: string;
|
|
7632
|
-
status: "active" | "
|
|
7632
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7633
7633
|
authentication_id?: string | null | undefined;
|
|
7634
7634
|
params?: Record<string, unknown> | undefined;
|
|
7635
7635
|
error?: string | null | undefined;
|
|
@@ -7688,7 +7688,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7688
7688
|
triggers: {
|
|
7689
7689
|
selected_api: string;
|
|
7690
7690
|
action: string;
|
|
7691
|
-
status: "active" | "
|
|
7691
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7692
7692
|
authentication_id?: string | null | undefined;
|
|
7693
7693
|
params?: Record<string, unknown> | undefined;
|
|
7694
7694
|
error?: string | null | undefined;
|
|
@@ -7761,9 +7761,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7761
7761
|
description?: string | undefined;
|
|
7762
7762
|
name: string;
|
|
7763
7763
|
is_private?: boolean | undefined;
|
|
7764
|
-
private?: boolean | undefined;
|
|
7765
7764
|
creationHarness?: string | null | undefined;
|
|
7766
7765
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7766
|
+
private?: boolean | undefined;
|
|
7767
7767
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7768
7768
|
name: string;
|
|
7769
7769
|
description?: string | undefined;
|
|
@@ -7812,7 +7812,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7812
7812
|
triggers: {
|
|
7813
7813
|
selected_api: string;
|
|
7814
7814
|
action: string;
|
|
7815
|
-
status: "active" | "
|
|
7815
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7816
7816
|
authentication_id?: string | null | undefined;
|
|
7817
7817
|
params?: Record<string, unknown> | undefined;
|
|
7818
7818
|
error?: string | null | undefined;
|
|
@@ -7891,7 +7891,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7891
7891
|
triggers: {
|
|
7892
7892
|
selected_api: string;
|
|
7893
7893
|
action: string;
|
|
7894
|
-
status: "active" | "
|
|
7894
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
7895
7895
|
authentication_id?: string | null | undefined;
|
|
7896
7896
|
params?: Record<string, unknown> | undefined;
|
|
7897
7897
|
error?: string | null | undefined;
|
|
@@ -8290,7 +8290,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8290
8290
|
connection_id?: string | number | undefined;
|
|
8291
8291
|
}> | null | undefined;
|
|
8292
8292
|
enabled?: boolean | undefined;
|
|
8293
|
-
|
|
8293
|
+
manual?: boolean | undefined;
|
|
8294
8294
|
zapier_durable_version?: string | undefined;
|
|
8295
8295
|
dependencies?: Record<string, string> | undefined;
|
|
8296
8296
|
trigger?: {
|
|
@@ -8306,14 +8306,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8306
8306
|
implementation_name?: string | undefined;
|
|
8307
8307
|
version?: string | undefined;
|
|
8308
8308
|
}> | null | undefined;
|
|
8309
|
+
workflow: string;
|
|
8309
8310
|
zapierDurableVersion?: string | undefined;
|
|
8310
|
-
ignoreOpenDrafts?: boolean | undefined;
|
|
8311
8311
|
appVersions?: Record<string, {
|
|
8312
8312
|
implementationName?: string | undefined;
|
|
8313
8313
|
implementation_name?: string | undefined;
|
|
8314
8314
|
version?: string | undefined;
|
|
8315
8315
|
}> | null | undefined;
|
|
8316
|
-
|
|
8316
|
+
ignoreOpenDrafts?: boolean | undefined;
|
|
8317
8317
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
|
|
8318
8318
|
workflow: string;
|
|
8319
8319
|
sourceFiles: Record<string, string>;
|
|
@@ -8684,7 +8684,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8684
8684
|
connectionId?: string | number | undefined;
|
|
8685
8685
|
connection_id?: string | number | undefined;
|
|
8686
8686
|
}> | null | undefined;
|
|
8687
|
-
|
|
8687
|
+
manual?: boolean | undefined;
|
|
8688
8688
|
dependencies?: Record<string, string> | undefined;
|
|
8689
8689
|
trigger?: {
|
|
8690
8690
|
action: string;
|
|
@@ -8694,15 +8694,15 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8694
8694
|
authentication_id?: string | null | undefined;
|
|
8695
8695
|
params?: Record<string, unknown> | undefined;
|
|
8696
8696
|
} | null | undefined;
|
|
8697
|
+
workflow: string;
|
|
8697
8698
|
draft: string;
|
|
8698
|
-
sourceFiles: Record<string, string>;
|
|
8699
8699
|
zapierDurableVersion?: string | undefined;
|
|
8700
8700
|
appVersions?: Record<string, {
|
|
8701
8701
|
implementationName?: string | undefined;
|
|
8702
8702
|
implementation_name?: string | undefined;
|
|
8703
8703
|
version?: string | undefined;
|
|
8704
8704
|
}> | null | undefined;
|
|
8705
|
-
|
|
8705
|
+
sourceFiles: Record<string, string>;
|
|
8706
8706
|
draftRevision?: number | undefined;
|
|
8707
8707
|
}> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8708
8708
|
workflow: string;
|
|
@@ -8910,9 +8910,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8910
8910
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8911
8911
|
}>, readonly [], {
|
|
8912
8912
|
enabled?: boolean | undefined;
|
|
8913
|
+
manual?: boolean | undefined;
|
|
8913
8914
|
workflow: string;
|
|
8914
8915
|
draft: string;
|
|
8915
|
-
manual?: boolean | undefined;
|
|
8916
8916
|
draftRevision?: number | undefined;
|
|
8917
8917
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8918
8918
|
workflow: string;
|
|
@@ -9766,9 +9766,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9766
9766
|
} | undefined;
|
|
9767
9767
|
}[] | undefined;
|
|
9768
9768
|
draft?: boolean | undefined;
|
|
9769
|
-
confirmationTitle?: string | undefined;
|
|
9770
|
-
confirmationMessage?: string | undefined;
|
|
9771
|
-
consumerAuth?: "zapier" | "none" | undefined;
|
|
9772
9769
|
document?: {
|
|
9773
9770
|
[x: string]: unknown;
|
|
9774
9771
|
id: string;
|
|
@@ -9780,6 +9777,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9780
9777
|
};
|
|
9781
9778
|
children?: unknown[] | undefined;
|
|
9782
9779
|
} | undefined;
|
|
9780
|
+
confirmationTitle?: string | undefined;
|
|
9781
|
+
confirmationMessage?: string | undefined;
|
|
9782
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
9783
9783
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9784
9784
|
title: string;
|
|
9785
9785
|
description?: string | undefined;
|
|
@@ -10037,13 +10037,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10037
10037
|
} & {
|
|
10038
10038
|
skipOutputDataValidation?: boolean;
|
|
10039
10039
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
10040
|
-
type: "file" | "
|
|
10040
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
10041
10041
|
name: string;
|
|
10042
10042
|
path: string;
|
|
10043
10043
|
size?: number | undefined;
|
|
10044
10044
|
version?: number | undefined;
|
|
10045
10045
|
updated_at?: string | undefined;
|
|
10046
|
-
target_type?: "file" | "
|
|
10046
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
10047
10047
|
target_path?: string | null | undefined;
|
|
10048
10048
|
accessible?: boolean | undefined;
|
|
10049
10049
|
content_type?: string | undefined;
|
|
@@ -10068,13 +10068,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10068
10068
|
} & {
|
|
10069
10069
|
skipOutputDataValidation?: boolean;
|
|
10070
10070
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
10071
|
-
type: "file" | "
|
|
10071
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
10072
10072
|
name: string;
|
|
10073
10073
|
path: string;
|
|
10074
10074
|
size?: number | undefined;
|
|
10075
10075
|
version?: number | undefined;
|
|
10076
10076
|
updated_at?: string | undefined;
|
|
10077
|
-
target_type?: "file" | "
|
|
10077
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
10078
10078
|
target_path?: string | null | undefined;
|
|
10079
10079
|
accessible?: boolean | undefined;
|
|
10080
10080
|
content_type?: string | undefined;
|
|
@@ -10200,9 +10200,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10200
10200
|
};
|
|
10201
10201
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10202
10202
|
}>, readonly [], {
|
|
10203
|
-
expectedVersion?: number | undefined;
|
|
10204
10203
|
from: string;
|
|
10205
10204
|
to: string;
|
|
10205
|
+
expectedVersion?: number | undefined;
|
|
10206
10206
|
overwrite?: boolean | undefined;
|
|
10207
10207
|
}> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10208
10208
|
from: string;
|
|
@@ -10251,13 +10251,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10251
10251
|
skipOutputDataValidation?: boolean;
|
|
10252
10252
|
}, Promise<{
|
|
10253
10253
|
data: {
|
|
10254
|
-
type: "file" | "
|
|
10254
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
10255
10255
|
name: string;
|
|
10256
10256
|
path: string;
|
|
10257
10257
|
size?: number | undefined;
|
|
10258
10258
|
version?: number | undefined;
|
|
10259
10259
|
updated_at?: string | undefined;
|
|
10260
|
-
target_type?: "file" | "
|
|
10260
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
10261
10261
|
target_path?: string | null | undefined;
|
|
10262
10262
|
accessible?: boolean | undefined;
|
|
10263
10263
|
content_type?: string | undefined;
|
|
@@ -10271,13 +10271,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10271
10271
|
skipOutputDataValidation?: boolean;
|
|
10272
10272
|
}) => Promise<{
|
|
10273
10273
|
data: {
|
|
10274
|
-
type: "file" | "
|
|
10274
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
10275
10275
|
name: string;
|
|
10276
10276
|
path: string;
|
|
10277
10277
|
size?: number | undefined;
|
|
10278
10278
|
version?: number | undefined;
|
|
10279
10279
|
updated_at?: string | undefined;
|
|
10280
|
-
target_type?: "file" | "
|
|
10280
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
10281
10281
|
target_path?: string | null | undefined;
|
|
10282
10282
|
accessible?: boolean | undefined;
|
|
10283
10283
|
content_type?: string | undefined;
|
|
@@ -10333,7 +10333,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10333
10333
|
};
|
|
10334
10334
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10335
10335
|
}>>;
|
|
10336
|
-
}> & _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" | "
|
|
10336
|
+
}> & _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" | "listDurableRuns" | "listWorkflowVersions" | "listWorkflowDrafts" | "getWorkflowDraft" | "listWorkflowRuns" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "publishWorkflowVersion" | "getWorkflowVersion" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "getWorkflowRun" | "getTriggerRun" | "triggerWorkflow" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "listVfsDirectory" | "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", {
|
|
10337
10337
|
credentials?: string | {
|
|
10338
10338
|
clientId: string;
|
|
10339
10339
|
clientSecret: string;
|
|
@@ -12112,7 +12112,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12112
12112
|
triggers: {
|
|
12113
12113
|
selected_api: string;
|
|
12114
12114
|
action: string;
|
|
12115
|
-
status: "active" | "
|
|
12115
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
12116
12116
|
authentication_id?: string | null | undefined;
|
|
12117
12117
|
params?: Record<string, unknown> | undefined;
|
|
12118
12118
|
error?: string | null | undefined;
|
|
@@ -12145,7 +12145,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12145
12145
|
triggers: {
|
|
12146
12146
|
selected_api: string;
|
|
12147
12147
|
action: string;
|
|
12148
|
-
status: "active" | "
|
|
12148
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
12149
12149
|
authentication_id?: string | null | undefined;
|
|
12150
12150
|
params?: Record<string, unknown> | undefined;
|
|
12151
12151
|
error?: string | null | undefined;
|
|
@@ -12231,7 +12231,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12231
12231
|
triggers: {
|
|
12232
12232
|
selected_api: string;
|
|
12233
12233
|
action: string;
|
|
12234
|
-
status: "active" | "
|
|
12234
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
12235
12235
|
authentication_id?: string | null | undefined;
|
|
12236
12236
|
params?: Record<string, unknown> | undefined;
|
|
12237
12237
|
error?: string | null | undefined;
|
|
@@ -12333,8 +12333,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12333
12333
|
data: {
|
|
12334
12334
|
id: string;
|
|
12335
12335
|
};
|
|
12336
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12337
|
-
workflow: string;
|
|
12336
|
+
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
12338
12337
|
pageSize?: number | undefined;
|
|
12339
12338
|
cursor?: string | undefined;
|
|
12340
12339
|
maxItems?: number | undefined;
|
|
@@ -12345,53 +12344,152 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12345
12344
|
maxItems?: number;
|
|
12346
12345
|
} & {
|
|
12347
12346
|
skipOutputDataValidation?: boolean;
|
|
12348
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12347
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12349
12348
|
id: string;
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
action: string;
|
|
12358
|
-
authentication_id?: string | null | undefined;
|
|
12359
|
-
params?: Record<string, unknown> | undefined;
|
|
12349
|
+
status: string;
|
|
12350
|
+
input: unknown;
|
|
12351
|
+
output: unknown;
|
|
12352
|
+
error: {
|
|
12353
|
+
[x: string]: unknown;
|
|
12354
|
+
code: string;
|
|
12355
|
+
message: string;
|
|
12360
12356
|
} | null;
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
}> | null;
|
|
12368
|
-
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12369
|
-
workflow: string;
|
|
12370
|
-
version: string;
|
|
12357
|
+
execution_id: string | null;
|
|
12358
|
+
is_private: boolean;
|
|
12359
|
+
created_at: string;
|
|
12360
|
+
updated_at: string;
|
|
12361
|
+
}>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
|
|
12362
|
+
run: string;
|
|
12371
12363
|
} & {
|
|
12372
12364
|
skipOutputDataValidation?: boolean;
|
|
12373
12365
|
}) => Promise<{
|
|
12374
12366
|
data: {
|
|
12375
12367
|
id: string;
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
selected_api: string;
|
|
12384
|
-
action: string;
|
|
12385
|
-
authentication_id?: string | null | undefined;
|
|
12386
|
-
params?: Record<string, unknown> | undefined;
|
|
12368
|
+
status: string;
|
|
12369
|
+
input: unknown;
|
|
12370
|
+
output: unknown;
|
|
12371
|
+
error: {
|
|
12372
|
+
[x: string]: unknown;
|
|
12373
|
+
code: string;
|
|
12374
|
+
message: string;
|
|
12387
12375
|
} | null;
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12376
|
+
execution: {
|
|
12377
|
+
id: string;
|
|
12378
|
+
name: string;
|
|
12379
|
+
status: string;
|
|
12380
|
+
input: unknown;
|
|
12381
|
+
created_at: string;
|
|
12382
|
+
output?: unknown;
|
|
12383
|
+
error?: unknown;
|
|
12384
|
+
metadata?: Record<string, unknown> | undefined;
|
|
12385
|
+
summary?: {
|
|
12386
|
+
[x: string]: unknown;
|
|
12387
|
+
total_attempts: number;
|
|
12388
|
+
last_error?: {
|
|
12389
|
+
[x: string]: unknown;
|
|
12390
|
+
code: string;
|
|
12391
|
+
title: string;
|
|
12392
|
+
detail?: string | null | undefined;
|
|
12393
|
+
} | null | undefined;
|
|
12394
|
+
} | null | undefined;
|
|
12395
|
+
operations?: {
|
|
12396
|
+
id: string;
|
|
12397
|
+
execution_id: string;
|
|
12398
|
+
name: string;
|
|
12399
|
+
type: string;
|
|
12400
|
+
status: string;
|
|
12401
|
+
retry_count: number;
|
|
12402
|
+
created_at: string;
|
|
12403
|
+
result?: unknown;
|
|
12404
|
+
error?: unknown;
|
|
12405
|
+
max_attempts?: number | undefined;
|
|
12406
|
+
next_retry_at?: string | null | undefined;
|
|
12407
|
+
resume_at?: string | null | undefined;
|
|
12408
|
+
callback_token?: string | null | undefined;
|
|
12409
|
+
payload_schema?: unknown;
|
|
12410
|
+
payload?: unknown;
|
|
12411
|
+
expires_at?: string | null | undefined;
|
|
12412
|
+
timeout_seconds?: number | null | undefined;
|
|
12413
|
+
completed_at?: string | null | undefined;
|
|
12414
|
+
}[] | undefined;
|
|
12415
|
+
} | null;
|
|
12416
|
+
is_private: boolean;
|
|
12417
|
+
created_at: string;
|
|
12418
|
+
updated_at: string;
|
|
12419
|
+
};
|
|
12420
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12421
|
+
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12422
|
+
sourceFiles: Record<string, string>;
|
|
12423
|
+
input?: unknown;
|
|
12424
|
+
dependencies?: Record<string, string> | undefined;
|
|
12425
|
+
zapierDurableVersion?: string | undefined;
|
|
12426
|
+
zapier_durable_version?: string | undefined;
|
|
12427
|
+
connections?: Record<string, {
|
|
12428
|
+
connectionId?: string | number | undefined;
|
|
12429
|
+
connection_id?: string | number | undefined;
|
|
12430
|
+
}> | undefined;
|
|
12431
|
+
appVersions?: Record<string, {
|
|
12432
|
+
implementationName?: string | undefined;
|
|
12433
|
+
implementation_name?: string | undefined;
|
|
12434
|
+
version?: string | undefined;
|
|
12435
|
+
}> | undefined;
|
|
12436
|
+
app_versions?: Record<string, {
|
|
12437
|
+
implementationName?: string | undefined;
|
|
12438
|
+
implementation_name?: string | undefined;
|
|
12439
|
+
version?: string | undefined;
|
|
12440
|
+
}> | undefined;
|
|
12441
|
+
private?: boolean | undefined;
|
|
12442
|
+
notifications?: {
|
|
12443
|
+
url: string;
|
|
12444
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12445
|
+
type?: "webhook" | undefined;
|
|
12446
|
+
max_retries?: number | undefined;
|
|
12447
|
+
}[] | undefined;
|
|
12448
|
+
} | {
|
|
12449
|
+
source_files: Record<string, string>;
|
|
12450
|
+
input?: unknown;
|
|
12451
|
+
dependencies?: Record<string, string> | undefined;
|
|
12452
|
+
zapierDurableVersion?: string | undefined;
|
|
12453
|
+
zapier_durable_version?: string | undefined;
|
|
12454
|
+
connections?: Record<string, {
|
|
12455
|
+
connectionId?: string | number | undefined;
|
|
12456
|
+
connection_id?: string | number | undefined;
|
|
12457
|
+
}> | undefined;
|
|
12458
|
+
appVersions?: Record<string, {
|
|
12459
|
+
implementationName?: string | undefined;
|
|
12460
|
+
implementation_name?: string | undefined;
|
|
12461
|
+
version?: string | undefined;
|
|
12462
|
+
}> | undefined;
|
|
12463
|
+
app_versions?: Record<string, {
|
|
12464
|
+
implementationName?: string | undefined;
|
|
12465
|
+
implementation_name?: string | undefined;
|
|
12466
|
+
version?: string | undefined;
|
|
12467
|
+
}> | undefined;
|
|
12468
|
+
private?: boolean | undefined;
|
|
12469
|
+
notifications?: {
|
|
12470
|
+
url: string;
|
|
12471
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12472
|
+
type?: "webhook" | undefined;
|
|
12473
|
+
max_retries?: number | undefined;
|
|
12474
|
+
}[] | undefined;
|
|
12475
|
+
}) & {
|
|
12476
|
+
skipOutputDataValidation?: boolean;
|
|
12477
|
+
}) => Promise<{
|
|
12478
|
+
data: {
|
|
12479
|
+
id: string;
|
|
12480
|
+
status: "initialized";
|
|
12481
|
+
is_private: boolean;
|
|
12482
|
+
created_at: string;
|
|
12483
|
+
};
|
|
12484
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12485
|
+
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12486
|
+
run: string;
|
|
12487
|
+
} & {
|
|
12488
|
+
skipOutputDataValidation?: boolean;
|
|
12489
|
+
}) => Promise<{
|
|
12490
|
+
data: {
|
|
12491
|
+
id: string;
|
|
12492
|
+
status: "cancelled";
|
|
12395
12493
|
};
|
|
12396
12494
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12397
12495
|
}>> | _zapier_kitcore.ContractEntry<"publishWorkflowVersion", (input: ({
|
|
@@ -12482,6 +12580,67 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12482
12580
|
}> | null;
|
|
12483
12581
|
};
|
|
12484
12582
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12583
|
+
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12584
|
+
workflow: string;
|
|
12585
|
+
pageSize?: number | undefined;
|
|
12586
|
+
cursor?: string | undefined;
|
|
12587
|
+
maxItems?: number | undefined;
|
|
12588
|
+
} & {
|
|
12589
|
+
cursor?: string;
|
|
12590
|
+
pageSize?: number;
|
|
12591
|
+
} & {
|
|
12592
|
+
maxItems?: number;
|
|
12593
|
+
} & {
|
|
12594
|
+
skipOutputDataValidation?: boolean;
|
|
12595
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12596
|
+
id: string;
|
|
12597
|
+
workflow_id: string;
|
|
12598
|
+
zapier_durable_version: string;
|
|
12599
|
+
dependencies: Record<string, string> | null;
|
|
12600
|
+
created_by_user_id: string;
|
|
12601
|
+
created_at: string;
|
|
12602
|
+
trigger: {
|
|
12603
|
+
selected_api: string;
|
|
12604
|
+
action: string;
|
|
12605
|
+
authentication_id?: string | null | undefined;
|
|
12606
|
+
params?: Record<string, unknown> | undefined;
|
|
12607
|
+
} | null;
|
|
12608
|
+
connections: Record<string, {
|
|
12609
|
+
connection_id: string | number;
|
|
12610
|
+
}> | null;
|
|
12611
|
+
app_versions: Record<string, {
|
|
12612
|
+
implementation_name: string;
|
|
12613
|
+
version?: string | undefined;
|
|
12614
|
+
}> | null;
|
|
12615
|
+
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12616
|
+
workflow: string;
|
|
12617
|
+
version: string;
|
|
12618
|
+
} & {
|
|
12619
|
+
skipOutputDataValidation?: boolean;
|
|
12620
|
+
}) => Promise<{
|
|
12621
|
+
data: {
|
|
12622
|
+
id: string;
|
|
12623
|
+
workflow_id: string;
|
|
12624
|
+
source_files: Record<string, string>;
|
|
12625
|
+
zapier_durable_version: string;
|
|
12626
|
+
dependencies: Record<string, string> | null;
|
|
12627
|
+
created_by_user_id: string;
|
|
12628
|
+
created_at: string;
|
|
12629
|
+
trigger: {
|
|
12630
|
+
selected_api: string;
|
|
12631
|
+
action: string;
|
|
12632
|
+
authentication_id?: string | null | undefined;
|
|
12633
|
+
params?: Record<string, unknown> | undefined;
|
|
12634
|
+
} | null;
|
|
12635
|
+
connections: Record<string, {
|
|
12636
|
+
connection_id: string | number;
|
|
12637
|
+
}> | null;
|
|
12638
|
+
app_versions: Record<string, {
|
|
12639
|
+
implementation_name: string;
|
|
12640
|
+
version?: string | undefined;
|
|
12641
|
+
}> | null;
|
|
12642
|
+
};
|
|
12643
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12485
12644
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
|
|
12486
12645
|
workflow: string;
|
|
12487
12646
|
status?: "open" | "discarded" | undefined;
|
|
@@ -12831,165 +12990,23 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12831
12990
|
draft_revision: number;
|
|
12832
12991
|
};
|
|
12833
12992
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12834
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12835
|
-
|
|
12836
|
-
cursor?: string | undefined;
|
|
12837
|
-
maxItems?: number | undefined;
|
|
12838
|
-
} & {
|
|
12839
|
-
cursor?: string;
|
|
12840
|
-
pageSize?: number;
|
|
12841
|
-
} & {
|
|
12842
|
-
maxItems?: number;
|
|
12843
|
-
} & {
|
|
12844
|
-
skipOutputDataValidation?: boolean;
|
|
12845
|
-
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12846
|
-
id: string;
|
|
12847
|
-
status: string;
|
|
12848
|
-
input: unknown;
|
|
12849
|
-
output: unknown;
|
|
12850
|
-
error: {
|
|
12851
|
-
[x: string]: unknown;
|
|
12852
|
-
code: string;
|
|
12853
|
-
message: string;
|
|
12854
|
-
} | null;
|
|
12855
|
-
execution_id: string | null;
|
|
12856
|
-
is_private: boolean;
|
|
12857
|
-
created_at: string;
|
|
12858
|
-
updated_at: string;
|
|
12859
|
-
}>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
|
|
12860
|
-
run: string;
|
|
12993
|
+
}>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
|
|
12994
|
+
trigger: string;
|
|
12861
12995
|
} & {
|
|
12862
12996
|
skipOutputDataValidation?: boolean;
|
|
12863
12997
|
}) => Promise<{
|
|
12864
12998
|
data: {
|
|
12865
12999
|
id: string;
|
|
13000
|
+
durable_run_id: string | null;
|
|
13001
|
+
workflow_version_id: string | null;
|
|
12866
13002
|
status: string;
|
|
12867
13003
|
input: unknown;
|
|
12868
13004
|
output: unknown;
|
|
12869
|
-
error:
|
|
12870
|
-
[x: string]: unknown;
|
|
12871
|
-
code: string;
|
|
12872
|
-
message: string;
|
|
12873
|
-
} | null;
|
|
12874
|
-
execution: {
|
|
12875
|
-
id: string;
|
|
12876
|
-
name: string;
|
|
12877
|
-
status: string;
|
|
12878
|
-
input: unknown;
|
|
12879
|
-
created_at: string;
|
|
12880
|
-
output?: unknown;
|
|
12881
|
-
error?: unknown;
|
|
12882
|
-
metadata?: Record<string, unknown> | undefined;
|
|
12883
|
-
summary?: {
|
|
12884
|
-
[x: string]: unknown;
|
|
12885
|
-
total_attempts: number;
|
|
12886
|
-
last_error?: {
|
|
12887
|
-
[x: string]: unknown;
|
|
12888
|
-
code: string;
|
|
12889
|
-
title: string;
|
|
12890
|
-
detail?: string | null | undefined;
|
|
12891
|
-
} | null | undefined;
|
|
12892
|
-
} | null | undefined;
|
|
12893
|
-
operations?: {
|
|
12894
|
-
id: string;
|
|
12895
|
-
execution_id: string;
|
|
12896
|
-
name: string;
|
|
12897
|
-
type: string;
|
|
12898
|
-
status: string;
|
|
12899
|
-
retry_count: number;
|
|
12900
|
-
created_at: string;
|
|
12901
|
-
result?: unknown;
|
|
12902
|
-
error?: unknown;
|
|
12903
|
-
max_attempts?: number | undefined;
|
|
12904
|
-
next_retry_at?: string | null | undefined;
|
|
12905
|
-
resume_at?: string | null | undefined;
|
|
12906
|
-
callback_token?: string | null | undefined;
|
|
12907
|
-
payload_schema?: unknown;
|
|
12908
|
-
payload?: unknown;
|
|
12909
|
-
expires_at?: string | null | undefined;
|
|
12910
|
-
timeout_seconds?: number | null | undefined;
|
|
12911
|
-
completed_at?: string | null | undefined;
|
|
12912
|
-
}[] | undefined;
|
|
12913
|
-
} | null;
|
|
12914
|
-
is_private: boolean;
|
|
13005
|
+
error: unknown;
|
|
12915
13006
|
created_at: string;
|
|
12916
13007
|
updated_at: string;
|
|
12917
13008
|
};
|
|
12918
13009
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12919
|
-
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12920
|
-
sourceFiles: Record<string, string>;
|
|
12921
|
-
input?: unknown;
|
|
12922
|
-
dependencies?: Record<string, string> | undefined;
|
|
12923
|
-
zapierDurableVersion?: string | undefined;
|
|
12924
|
-
zapier_durable_version?: string | undefined;
|
|
12925
|
-
connections?: Record<string, {
|
|
12926
|
-
connectionId?: string | number | undefined;
|
|
12927
|
-
connection_id?: string | number | undefined;
|
|
12928
|
-
}> | undefined;
|
|
12929
|
-
appVersions?: Record<string, {
|
|
12930
|
-
implementationName?: string | undefined;
|
|
12931
|
-
implementation_name?: string | undefined;
|
|
12932
|
-
version?: string | undefined;
|
|
12933
|
-
}> | undefined;
|
|
12934
|
-
app_versions?: Record<string, {
|
|
12935
|
-
implementationName?: string | undefined;
|
|
12936
|
-
implementation_name?: string | undefined;
|
|
12937
|
-
version?: string | undefined;
|
|
12938
|
-
}> | undefined;
|
|
12939
|
-
private?: boolean | undefined;
|
|
12940
|
-
notifications?: {
|
|
12941
|
-
url: string;
|
|
12942
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12943
|
-
type?: "webhook" | undefined;
|
|
12944
|
-
max_retries?: number | undefined;
|
|
12945
|
-
}[] | undefined;
|
|
12946
|
-
} | {
|
|
12947
|
-
source_files: Record<string, string>;
|
|
12948
|
-
input?: unknown;
|
|
12949
|
-
dependencies?: Record<string, string> | undefined;
|
|
12950
|
-
zapierDurableVersion?: string | undefined;
|
|
12951
|
-
zapier_durable_version?: string | undefined;
|
|
12952
|
-
connections?: Record<string, {
|
|
12953
|
-
connectionId?: string | number | undefined;
|
|
12954
|
-
connection_id?: string | number | undefined;
|
|
12955
|
-
}> | undefined;
|
|
12956
|
-
appVersions?: Record<string, {
|
|
12957
|
-
implementationName?: string | undefined;
|
|
12958
|
-
implementation_name?: string | undefined;
|
|
12959
|
-
version?: string | undefined;
|
|
12960
|
-
}> | undefined;
|
|
12961
|
-
app_versions?: Record<string, {
|
|
12962
|
-
implementationName?: string | undefined;
|
|
12963
|
-
implementation_name?: string | undefined;
|
|
12964
|
-
version?: string | undefined;
|
|
12965
|
-
}> | undefined;
|
|
12966
|
-
private?: boolean | undefined;
|
|
12967
|
-
notifications?: {
|
|
12968
|
-
url: string;
|
|
12969
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12970
|
-
type?: "webhook" | undefined;
|
|
12971
|
-
max_retries?: number | undefined;
|
|
12972
|
-
}[] | undefined;
|
|
12973
|
-
}) & {
|
|
12974
|
-
skipOutputDataValidation?: boolean;
|
|
12975
|
-
}) => Promise<{
|
|
12976
|
-
data: {
|
|
12977
|
-
id: string;
|
|
12978
|
-
status: "initialized";
|
|
12979
|
-
is_private: boolean;
|
|
12980
|
-
created_at: string;
|
|
12981
|
-
};
|
|
12982
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12983
|
-
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12984
|
-
run: string;
|
|
12985
|
-
} & {
|
|
12986
|
-
skipOutputDataValidation?: boolean;
|
|
12987
|
-
}) => Promise<{
|
|
12988
|
-
data: {
|
|
12989
|
-
id: string;
|
|
12990
|
-
status: "cancelled";
|
|
12991
|
-
};
|
|
12992
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12993
13010
|
}>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
|
|
12994
13011
|
workflow: string;
|
|
12995
13012
|
input?: unknown;
|
|
@@ -13002,23 +13019,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13002
13019
|
created_at: string;
|
|
13003
13020
|
};
|
|
13004
13021
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13005
|
-
}>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
|
|
13006
|
-
trigger: string;
|
|
13007
|
-
} & {
|
|
13008
|
-
skipOutputDataValidation?: boolean;
|
|
13009
|
-
}) => Promise<{
|
|
13010
|
-
data: {
|
|
13011
|
-
id: string;
|
|
13012
|
-
durable_run_id: string | null;
|
|
13013
|
-
workflow_version_id: string | null;
|
|
13014
|
-
status: string;
|
|
13015
|
-
input: unknown;
|
|
13016
|
-
output: unknown;
|
|
13017
|
-
error: unknown;
|
|
13018
|
-
created_at: string;
|
|
13019
|
-
updated_at: string;
|
|
13020
|
-
};
|
|
13021
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
13022
13022
|
}>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
|
|
13023
13023
|
sourceFiles: Record<string, string>;
|
|
13024
13024
|
entrypointFile?: string | undefined;
|
|
@@ -13181,29 +13181,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13181
13181
|
updated_at?: string | null | undefined;
|
|
13182
13182
|
};
|
|
13183
13183
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13184
|
-
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13185
|
-
path: string;
|
|
13186
|
-
pageSize?: number | undefined;
|
|
13187
|
-
maxItems?: number | undefined;
|
|
13188
|
-
cursor?: string | undefined;
|
|
13189
|
-
} & {
|
|
13190
|
-
cursor?: string;
|
|
13191
|
-
pageSize?: number;
|
|
13192
|
-
} & {
|
|
13193
|
-
maxItems?: number;
|
|
13194
|
-
} & {
|
|
13195
|
-
skipOutputDataValidation?: boolean;
|
|
13196
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13197
|
-
type: "file" | "directory" | "shortcut" | "stream";
|
|
13198
|
-
name: string;
|
|
13199
|
-
path: string;
|
|
13200
|
-
size?: number | undefined;
|
|
13201
|
-
version?: number | undefined;
|
|
13202
|
-
updated_at?: string | undefined;
|
|
13203
|
-
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13204
|
-
target_path?: string | null | undefined;
|
|
13205
|
-
accessible?: boolean | undefined;
|
|
13206
|
-
content_type?: string | undefined;
|
|
13207
13184
|
}>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
|
|
13208
13185
|
path: string;
|
|
13209
13186
|
maxBytes?: number | undefined;
|
|
@@ -13263,6 +13240,29 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13263
13240
|
warnings?: string[] | undefined;
|
|
13264
13241
|
};
|
|
13265
13242
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13243
|
+
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13244
|
+
path: string;
|
|
13245
|
+
pageSize?: number | undefined;
|
|
13246
|
+
maxItems?: number | undefined;
|
|
13247
|
+
cursor?: string | undefined;
|
|
13248
|
+
} & {
|
|
13249
|
+
cursor?: string;
|
|
13250
|
+
pageSize?: number;
|
|
13251
|
+
} & {
|
|
13252
|
+
maxItems?: number;
|
|
13253
|
+
} & {
|
|
13254
|
+
skipOutputDataValidation?: boolean;
|
|
13255
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13256
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
13257
|
+
name: string;
|
|
13258
|
+
path: string;
|
|
13259
|
+
size?: number | undefined;
|
|
13260
|
+
version?: number | undefined;
|
|
13261
|
+
updated_at?: string | undefined;
|
|
13262
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
13263
|
+
target_path?: string | null | undefined;
|
|
13264
|
+
accessible?: boolean | undefined;
|
|
13265
|
+
content_type?: string | undefined;
|
|
13266
13266
|
}>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
|
|
13267
13267
|
path: string;
|
|
13268
13268
|
} & {
|
|
@@ -13279,13 +13279,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13279
13279
|
skipOutputDataValidation?: boolean;
|
|
13280
13280
|
}) => Promise<{
|
|
13281
13281
|
data: {
|
|
13282
|
-
type: "file" | "
|
|
13282
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
13283
13283
|
name: string;
|
|
13284
13284
|
path: string;
|
|
13285
13285
|
size?: number | undefined;
|
|
13286
13286
|
version?: number | undefined;
|
|
13287
13287
|
updated_at?: string | undefined;
|
|
13288
|
-
target_type?: "file" | "
|
|
13288
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
13289
13289
|
target_path?: string | null | undefined;
|
|
13290
13290
|
accessible?: boolean | undefined;
|
|
13291
13291
|
content_type?: string | undefined;
|
|
@@ -15028,7 +15028,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15028
15028
|
triggers: {
|
|
15029
15029
|
selected_api: string;
|
|
15030
15030
|
action: string;
|
|
15031
|
-
status: "active" | "
|
|
15031
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
15032
15032
|
authentication_id?: string | null | undefined;
|
|
15033
15033
|
params?: Record<string, unknown> | undefined;
|
|
15034
15034
|
error?: string | null | undefined;
|
|
@@ -15062,7 +15062,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15062
15062
|
triggers: {
|
|
15063
15063
|
selected_api: string;
|
|
15064
15064
|
action: string;
|
|
15065
|
-
status: "active" | "
|
|
15065
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
15066
15066
|
authentication_id?: string | null | undefined;
|
|
15067
15067
|
params?: Record<string, unknown> | undefined;
|
|
15068
15068
|
error?: string | null | undefined;
|
|
@@ -15150,7 +15150,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15150
15150
|
triggers: {
|
|
15151
15151
|
selected_api: string;
|
|
15152
15152
|
action: string;
|
|
15153
|
-
status: "active" | "
|
|
15153
|
+
status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
|
|
15154
15154
|
authentication_id?: string | null | undefined;
|
|
15155
15155
|
params?: Record<string, unknown> | undefined;
|
|
15156
15156
|
error?: string | null | undefined;
|
|
@@ -16148,13 +16148,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16148
16148
|
} & {
|
|
16149
16149
|
skipOutputDataValidation?: boolean;
|
|
16150
16150
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
16151
|
-
type: "file" | "
|
|
16151
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
16152
16152
|
name: string;
|
|
16153
16153
|
path: string;
|
|
16154
16154
|
size?: number | undefined;
|
|
16155
16155
|
version?: number | undefined;
|
|
16156
16156
|
updated_at?: string | undefined;
|
|
16157
|
-
target_type?: "file" | "
|
|
16157
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
16158
16158
|
target_path?: string | null | undefined;
|
|
16159
16159
|
accessible?: boolean | undefined;
|
|
16160
16160
|
content_type?: string | undefined;
|
|
@@ -16239,13 +16239,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16239
16239
|
skipOutputDataValidation?: boolean;
|
|
16240
16240
|
}) => Promise<{
|
|
16241
16241
|
data: {
|
|
16242
|
-
type: "file" | "
|
|
16242
|
+
type: "file" | "stream" | "directory" | "shortcut";
|
|
16243
16243
|
name: string;
|
|
16244
16244
|
path: string;
|
|
16245
16245
|
size?: number | undefined;
|
|
16246
16246
|
version?: number | undefined;
|
|
16247
16247
|
updated_at?: string | undefined;
|
|
16248
|
-
target_type?: "file" | "
|
|
16248
|
+
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
16249
16249
|
target_path?: string | null | undefined;
|
|
16250
16250
|
accessible?: boolean | undefined;
|
|
16251
16251
|
content_type?: string | undefined;
|