@zapier/zapier-sdk 0.109.1 → 0.110.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +124 -35
- package/dist/{chunk-NTUEFDSW.cjs → chunk-BURXHBSW.cjs} +408 -105
- package/dist/{chunk-6TOSNLPZ.mjs → chunk-IRHF55YK.mjs} +408 -106
- package/dist/experimental.cjs +519 -395
- package/dist/experimental.d.mts +514 -13
- package/dist/experimental.d.ts +514 -13
- package/dist/experimental.mjs +139 -19
- package/dist/{index-Cum18GPG.d.mts → index-ubhG9-NU.d.mts} +673 -95
- package/dist/{index-Cum18GPG.d.ts → index-ubhG9-NU.d.ts} +673 -95
- 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 +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider,
|
|
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-ubhG9-NU.mjs';
|
|
2
|
+
export { e9 as ACTION_RUNS_PATH, cM as API_ID, z as Action, cI as ActionEntry, c2 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P 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, H 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, ac as BaseSdkOptionsSchema, a4 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, U 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, V 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, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m 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, I as Field, bk as FieldsProperty, aS as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, w 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, u as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, v 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, Q as NeedsRequest, S 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, a9 as RelayFetchSchema, a8 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, _ as SDK_OPTIONS_ID, 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, X as UserProfile, ax as UserProfileItem, n 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, o 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, p 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, a3 as batch, eH as buildApplicationLifecycleEvent, a5 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, aa as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, 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, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, a0 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, q 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, r 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, a6 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, ah as registryPlugin, cw as requestPlugin, a7 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, a1 as runWithCallerContext, $ 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, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-ubhG9-NU.mjs';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
@@ -144,7 +144,151 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
144
144
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
145
145
|
cursor?: string;
|
|
146
146
|
pageSize?: number;
|
|
147
|
-
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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"
|
|
147
|
+
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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.PropertyPlugin<"sdkOptions", {
|
|
148
|
+
credentials?: string | {
|
|
149
|
+
clientId: string;
|
|
150
|
+
clientSecret: string;
|
|
151
|
+
type?: "client_credentials" | undefined;
|
|
152
|
+
baseUrl?: string | undefined;
|
|
153
|
+
scope?: string | undefined;
|
|
154
|
+
} | {
|
|
155
|
+
clientId: string;
|
|
156
|
+
type?: "pkce" | undefined;
|
|
157
|
+
baseUrl?: string | undefined;
|
|
158
|
+
scope?: string | undefined;
|
|
159
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
160
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
161
|
+
client_credentials: "client_credentials";
|
|
162
|
+
}>>;
|
|
163
|
+
clientId: zod.ZodString;
|
|
164
|
+
clientSecret: zod.ZodString;
|
|
165
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
166
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
167
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
168
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
169
|
+
pkce: "pkce";
|
|
170
|
+
}>>;
|
|
171
|
+
clientId: zod.ZodString;
|
|
172
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
173
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
174
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
175
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
176
|
+
client_credentials: "client_credentials";
|
|
177
|
+
}>>;
|
|
178
|
+
clientId: zod.ZodString;
|
|
179
|
+
clientSecret: zod.ZodString;
|
|
180
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
181
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
182
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
183
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
184
|
+
pkce: "pkce";
|
|
185
|
+
}>>;
|
|
186
|
+
clientId: zod.ZodString;
|
|
187
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
188
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
189
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
190
|
+
debug?: boolean | undefined;
|
|
191
|
+
baseUrl?: string | undefined;
|
|
192
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
193
|
+
trackingBaseUrl?: string | undefined;
|
|
194
|
+
maxNetworkRetries?: number | undefined;
|
|
195
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
196
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
197
|
+
maxConcurrentRequests?: number | undefined;
|
|
198
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
199
|
+
approvalTimeoutMs?: number | undefined;
|
|
200
|
+
maxApprovalRetries?: number | undefined;
|
|
201
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
202
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
203
|
+
correlationId?: string | undefined;
|
|
204
|
+
causationId?: string | undefined;
|
|
205
|
+
manifestPath?: string | undefined;
|
|
206
|
+
manifest?: Manifest | undefined;
|
|
207
|
+
onEvent?: EventCallback | undefined;
|
|
208
|
+
fetch?: typeof fetch | undefined;
|
|
209
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
210
|
+
callerPackage?: {
|
|
211
|
+
name: string;
|
|
212
|
+
version: string;
|
|
213
|
+
} | undefined;
|
|
214
|
+
cache?: ZapierCache | undefined;
|
|
215
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
216
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
217
|
+
canDeleteTables?: boolean | undefined;
|
|
218
|
+
token?: string | undefined;
|
|
219
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
220
|
+
credentials?: string | {
|
|
221
|
+
clientId: string;
|
|
222
|
+
clientSecret: string;
|
|
223
|
+
type?: "client_credentials" | undefined;
|
|
224
|
+
baseUrl?: string | undefined;
|
|
225
|
+
scope?: string | undefined;
|
|
226
|
+
} | {
|
|
227
|
+
clientId: string;
|
|
228
|
+
type?: "pkce" | undefined;
|
|
229
|
+
baseUrl?: string | undefined;
|
|
230
|
+
scope?: string | undefined;
|
|
231
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
232
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
233
|
+
client_credentials: "client_credentials";
|
|
234
|
+
}>>;
|
|
235
|
+
clientId: zod.ZodString;
|
|
236
|
+
clientSecret: zod.ZodString;
|
|
237
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
238
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
239
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
240
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
241
|
+
pkce: "pkce";
|
|
242
|
+
}>>;
|
|
243
|
+
clientId: zod.ZodString;
|
|
244
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
245
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
246
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
247
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
248
|
+
client_credentials: "client_credentials";
|
|
249
|
+
}>>;
|
|
250
|
+
clientId: zod.ZodString;
|
|
251
|
+
clientSecret: zod.ZodString;
|
|
252
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
253
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
254
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
255
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
256
|
+
pkce: "pkce";
|
|
257
|
+
}>>;
|
|
258
|
+
clientId: zod.ZodString;
|
|
259
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
260
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
261
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
262
|
+
debug?: boolean | undefined;
|
|
263
|
+
baseUrl?: string | undefined;
|
|
264
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
265
|
+
trackingBaseUrl?: string | undefined;
|
|
266
|
+
maxNetworkRetries?: number | undefined;
|
|
267
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
268
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
269
|
+
maxConcurrentRequests?: number | undefined;
|
|
270
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
271
|
+
approvalTimeoutMs?: number | undefined;
|
|
272
|
+
maxApprovalRetries?: number | undefined;
|
|
273
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
274
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
275
|
+
correlationId?: string | undefined;
|
|
276
|
+
causationId?: string | undefined;
|
|
277
|
+
manifestPath?: string | undefined;
|
|
278
|
+
manifest?: Manifest | undefined;
|
|
279
|
+
onEvent?: EventCallback | undefined;
|
|
280
|
+
fetch?: typeof fetch | undefined;
|
|
281
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
282
|
+
callerPackage?: {
|
|
283
|
+
name: string;
|
|
284
|
+
version: string;
|
|
285
|
+
} | undefined;
|
|
286
|
+
cache?: ZapierCache | undefined;
|
|
287
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
288
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
289
|
+
canDeleteTables?: boolean | undefined;
|
|
290
|
+
token?: string | undefined;
|
|
291
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.PropertyPlugin<"coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.StandInId<"kitcore/coreOptions">], (input?: ({
|
|
148
292
|
search?: string | undefined;
|
|
149
293
|
apps?: string[] | undefined;
|
|
150
294
|
appKeys?: string[] | undefined;
|
|
@@ -349,7 +493,151 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
349
493
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
350
494
|
cursor?: string;
|
|
351
495
|
pageSize?: number;
|
|
352
|
-
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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"
|
|
496
|
+
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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.PropertyPlugin<"sdkOptions", {
|
|
497
|
+
credentials?: string | {
|
|
498
|
+
clientId: string;
|
|
499
|
+
clientSecret: string;
|
|
500
|
+
type?: "client_credentials" | undefined;
|
|
501
|
+
baseUrl?: string | undefined;
|
|
502
|
+
scope?: string | undefined;
|
|
503
|
+
} | {
|
|
504
|
+
clientId: string;
|
|
505
|
+
type?: "pkce" | undefined;
|
|
506
|
+
baseUrl?: string | undefined;
|
|
507
|
+
scope?: string | undefined;
|
|
508
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
509
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
510
|
+
client_credentials: "client_credentials";
|
|
511
|
+
}>>;
|
|
512
|
+
clientId: zod.ZodString;
|
|
513
|
+
clientSecret: zod.ZodString;
|
|
514
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
515
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
516
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
517
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
518
|
+
pkce: "pkce";
|
|
519
|
+
}>>;
|
|
520
|
+
clientId: zod.ZodString;
|
|
521
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
522
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
523
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
524
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
525
|
+
client_credentials: "client_credentials";
|
|
526
|
+
}>>;
|
|
527
|
+
clientId: zod.ZodString;
|
|
528
|
+
clientSecret: zod.ZodString;
|
|
529
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
530
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
531
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
532
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
533
|
+
pkce: "pkce";
|
|
534
|
+
}>>;
|
|
535
|
+
clientId: zod.ZodString;
|
|
536
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
537
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
538
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
539
|
+
debug?: boolean | undefined;
|
|
540
|
+
baseUrl?: string | undefined;
|
|
541
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
542
|
+
trackingBaseUrl?: string | undefined;
|
|
543
|
+
maxNetworkRetries?: number | undefined;
|
|
544
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
545
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
546
|
+
maxConcurrentRequests?: number | undefined;
|
|
547
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
548
|
+
approvalTimeoutMs?: number | undefined;
|
|
549
|
+
maxApprovalRetries?: number | undefined;
|
|
550
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
551
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
552
|
+
correlationId?: string | undefined;
|
|
553
|
+
causationId?: string | undefined;
|
|
554
|
+
manifestPath?: string | undefined;
|
|
555
|
+
manifest?: Manifest | undefined;
|
|
556
|
+
onEvent?: EventCallback | undefined;
|
|
557
|
+
fetch?: typeof fetch | undefined;
|
|
558
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
559
|
+
callerPackage?: {
|
|
560
|
+
name: string;
|
|
561
|
+
version: string;
|
|
562
|
+
} | undefined;
|
|
563
|
+
cache?: ZapierCache | undefined;
|
|
564
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
565
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
566
|
+
canDeleteTables?: boolean | undefined;
|
|
567
|
+
token?: string | undefined;
|
|
568
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
569
|
+
credentials?: string | {
|
|
570
|
+
clientId: string;
|
|
571
|
+
clientSecret: string;
|
|
572
|
+
type?: "client_credentials" | undefined;
|
|
573
|
+
baseUrl?: string | undefined;
|
|
574
|
+
scope?: string | undefined;
|
|
575
|
+
} | {
|
|
576
|
+
clientId: string;
|
|
577
|
+
type?: "pkce" | undefined;
|
|
578
|
+
baseUrl?: string | undefined;
|
|
579
|
+
scope?: string | undefined;
|
|
580
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
581
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
582
|
+
client_credentials: "client_credentials";
|
|
583
|
+
}>>;
|
|
584
|
+
clientId: zod.ZodString;
|
|
585
|
+
clientSecret: zod.ZodString;
|
|
586
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
587
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
588
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
589
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
590
|
+
pkce: "pkce";
|
|
591
|
+
}>>;
|
|
592
|
+
clientId: zod.ZodString;
|
|
593
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
594
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
595
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
596
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
597
|
+
client_credentials: "client_credentials";
|
|
598
|
+
}>>;
|
|
599
|
+
clientId: zod.ZodString;
|
|
600
|
+
clientSecret: zod.ZodString;
|
|
601
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
602
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
603
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
604
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
605
|
+
pkce: "pkce";
|
|
606
|
+
}>>;
|
|
607
|
+
clientId: zod.ZodString;
|
|
608
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
609
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
610
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
611
|
+
debug?: boolean | undefined;
|
|
612
|
+
baseUrl?: string | undefined;
|
|
613
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
614
|
+
trackingBaseUrl?: string | undefined;
|
|
615
|
+
maxNetworkRetries?: number | undefined;
|
|
616
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
617
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
618
|
+
maxConcurrentRequests?: number | undefined;
|
|
619
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
620
|
+
approvalTimeoutMs?: number | undefined;
|
|
621
|
+
maxApprovalRetries?: number | undefined;
|
|
622
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
623
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
624
|
+
correlationId?: string | undefined;
|
|
625
|
+
causationId?: string | undefined;
|
|
626
|
+
manifestPath?: string | undefined;
|
|
627
|
+
manifest?: Manifest | undefined;
|
|
628
|
+
onEvent?: EventCallback | undefined;
|
|
629
|
+
fetch?: typeof fetch | undefined;
|
|
630
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
631
|
+
callerPackage?: {
|
|
632
|
+
name: string;
|
|
633
|
+
version: string;
|
|
634
|
+
} | undefined;
|
|
635
|
+
cache?: ZapierCache | undefined;
|
|
636
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
637
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
638
|
+
canDeleteTables?: boolean | undefined;
|
|
639
|
+
token?: string | undefined;
|
|
640
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.PropertyPlugin<"coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.StandInId<"kitcore/coreOptions">], (input?: ({
|
|
353
641
|
search?: string | undefined;
|
|
354
642
|
apps?: string[] | undefined;
|
|
355
643
|
appKeys?: string[] | undefined;
|
|
@@ -8541,10 +8829,64 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8541
8829
|
};
|
|
8542
8830
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8543
8831
|
}>>;
|
|
8832
|
+
} & {
|
|
8833
|
+
runWorkflowDraft: _zapier_kitcore.MethodPlugin<"runWorkflowDraft", {
|
|
8834
|
+
workflow: string;
|
|
8835
|
+
draft: string;
|
|
8836
|
+
draftRevision: number;
|
|
8837
|
+
input?: unknown;
|
|
8838
|
+
} & {
|
|
8839
|
+
skipOutputDataValidation?: boolean;
|
|
8840
|
+
}, Promise<{
|
|
8841
|
+
data: {
|
|
8842
|
+
id: string;
|
|
8843
|
+
kind: "draft";
|
|
8844
|
+
workflow_id: string;
|
|
8845
|
+
durable_run_id: string | null;
|
|
8846
|
+
workflow_draft_id: string | null;
|
|
8847
|
+
draft_revision: number;
|
|
8848
|
+
status: string;
|
|
8849
|
+
input: unknown;
|
|
8850
|
+
output: unknown;
|
|
8851
|
+
error: unknown;
|
|
8852
|
+
created_at: string;
|
|
8853
|
+
updated_at: string;
|
|
8854
|
+
};
|
|
8855
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
8856
|
+
}>, readonly [], {
|
|
8857
|
+
input?: unknown;
|
|
8858
|
+
workflow: string;
|
|
8859
|
+
draft: string;
|
|
8860
|
+
draftRevision: number;
|
|
8861
|
+
}> & _zapier_kitcore.LeafSummary<"", "runWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8862
|
+
workflow: string;
|
|
8863
|
+
draft: string;
|
|
8864
|
+
draftRevision: number;
|
|
8865
|
+
input?: unknown;
|
|
8866
|
+
} & {
|
|
8867
|
+
skipOutputDataValidation?: boolean;
|
|
8868
|
+
}) => Promise<{
|
|
8869
|
+
data: {
|
|
8870
|
+
id: string;
|
|
8871
|
+
kind: "draft";
|
|
8872
|
+
workflow_id: string;
|
|
8873
|
+
durable_run_id: string | null;
|
|
8874
|
+
workflow_draft_id: string | null;
|
|
8875
|
+
draft_revision: number;
|
|
8876
|
+
status: string;
|
|
8877
|
+
input: unknown;
|
|
8878
|
+
output: unknown;
|
|
8879
|
+
error: unknown;
|
|
8880
|
+
created_at: string;
|
|
8881
|
+
updated_at: string;
|
|
8882
|
+
};
|
|
8883
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
8884
|
+
}>>;
|
|
8544
8885
|
} & {
|
|
8545
8886
|
listWorkflowRuns: _zapier_kitcore.MethodPlugin<"listWorkflowRuns", {
|
|
8546
8887
|
workflow: string;
|
|
8547
8888
|
pageSize?: number | undefined;
|
|
8889
|
+
kind?: "draft" | "live" | undefined;
|
|
8548
8890
|
cursor?: string | undefined;
|
|
8549
8891
|
maxItems?: number | undefined;
|
|
8550
8892
|
} & {
|
|
@@ -8556,17 +8898,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8556
8898
|
skipOutputDataValidation?: boolean;
|
|
8557
8899
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
8558
8900
|
id: string;
|
|
8559
|
-
trigger_id: string | null;
|
|
8560
8901
|
durable_run_id: string | null;
|
|
8902
|
+
status: string;
|
|
8903
|
+
input: unknown;
|
|
8904
|
+
error: unknown;
|
|
8905
|
+
created_at: string;
|
|
8906
|
+
updated_at: string;
|
|
8907
|
+
kind: "live";
|
|
8908
|
+
trigger_id: string | null;
|
|
8561
8909
|
workflow_version_id: string | null;
|
|
8910
|
+
} | {
|
|
8911
|
+
id: string;
|
|
8912
|
+
durable_run_id: string | null;
|
|
8562
8913
|
status: string;
|
|
8563
8914
|
input: unknown;
|
|
8564
8915
|
error: unknown;
|
|
8565
8916
|
created_at: string;
|
|
8566
8917
|
updated_at: string;
|
|
8918
|
+
kind: "draft";
|
|
8919
|
+
workflow_draft_id: string | null;
|
|
8920
|
+
draft_revision: number;
|
|
8567
8921
|
}>, readonly [], Omit<{
|
|
8568
8922
|
workflow: string;
|
|
8569
8923
|
pageSize?: number | undefined;
|
|
8924
|
+
kind?: "draft" | "live" | undefined;
|
|
8570
8925
|
cursor?: string | undefined;
|
|
8571
8926
|
maxItems?: number | undefined;
|
|
8572
8927
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
@@ -8575,6 +8930,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8575
8930
|
}> & _zapier_kitcore.LeafSummary<"", "listWorkflowRuns", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8576
8931
|
workflow: string;
|
|
8577
8932
|
pageSize?: number | undefined;
|
|
8933
|
+
kind?: "draft" | "live" | undefined;
|
|
8578
8934
|
cursor?: string | undefined;
|
|
8579
8935
|
maxItems?: number | undefined;
|
|
8580
8936
|
} & {
|
|
@@ -8586,14 +8942,26 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8586
8942
|
skipOutputDataValidation?: boolean;
|
|
8587
8943
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
8588
8944
|
id: string;
|
|
8589
|
-
trigger_id: string | null;
|
|
8590
8945
|
durable_run_id: string | null;
|
|
8946
|
+
status: string;
|
|
8947
|
+
input: unknown;
|
|
8948
|
+
error: unknown;
|
|
8949
|
+
created_at: string;
|
|
8950
|
+
updated_at: string;
|
|
8951
|
+
kind: "live";
|
|
8952
|
+
trigger_id: string | null;
|
|
8591
8953
|
workflow_version_id: string | null;
|
|
8954
|
+
} | {
|
|
8955
|
+
id: string;
|
|
8956
|
+
durable_run_id: string | null;
|
|
8592
8957
|
status: string;
|
|
8593
8958
|
input: unknown;
|
|
8594
8959
|
error: unknown;
|
|
8595
8960
|
created_at: string;
|
|
8596
8961
|
updated_at: string;
|
|
8962
|
+
kind: "draft";
|
|
8963
|
+
workflow_draft_id: string | null;
|
|
8964
|
+
draft_revision: number;
|
|
8597
8965
|
}>>;
|
|
8598
8966
|
} & {
|
|
8599
8967
|
getWorkflowRun: _zapier_kitcore.MethodPlugin<"getWorkflowRun", {
|
|
@@ -8604,15 +8972,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8604
8972
|
}, Promise<{
|
|
8605
8973
|
data: {
|
|
8606
8974
|
id: string;
|
|
8607
|
-
|
|
8975
|
+
workflow_id: string;
|
|
8608
8976
|
durable_run_id: string | null;
|
|
8977
|
+
status: string;
|
|
8978
|
+
input: unknown;
|
|
8979
|
+
output: unknown;
|
|
8980
|
+
error: unknown;
|
|
8981
|
+
created_at: string;
|
|
8982
|
+
updated_at: string;
|
|
8983
|
+
kind: "live";
|
|
8984
|
+
trigger_id: string | null;
|
|
8609
8985
|
workflow_version_id: string | null;
|
|
8986
|
+
} | {
|
|
8987
|
+
id: string;
|
|
8988
|
+
workflow_id: string;
|
|
8989
|
+
durable_run_id: string | null;
|
|
8610
8990
|
status: string;
|
|
8611
8991
|
input: unknown;
|
|
8612
8992
|
output: unknown;
|
|
8613
8993
|
error: unknown;
|
|
8614
8994
|
created_at: string;
|
|
8615
8995
|
updated_at: string;
|
|
8996
|
+
kind: "draft";
|
|
8997
|
+
workflow_draft_id: string | null;
|
|
8998
|
+
draft_revision: number;
|
|
8616
8999
|
};
|
|
8617
9000
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8618
9001
|
}>, readonly [], {
|
|
@@ -8626,15 +9009,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8626
9009
|
}) => Promise<{
|
|
8627
9010
|
data: {
|
|
8628
9011
|
id: string;
|
|
8629
|
-
|
|
9012
|
+
workflow_id: string;
|
|
8630
9013
|
durable_run_id: string | null;
|
|
9014
|
+
status: string;
|
|
9015
|
+
input: unknown;
|
|
9016
|
+
output: unknown;
|
|
9017
|
+
error: unknown;
|
|
9018
|
+
created_at: string;
|
|
9019
|
+
updated_at: string;
|
|
9020
|
+
kind: "live";
|
|
9021
|
+
trigger_id: string | null;
|
|
8631
9022
|
workflow_version_id: string | null;
|
|
9023
|
+
} | {
|
|
9024
|
+
id: string;
|
|
9025
|
+
workflow_id: string;
|
|
9026
|
+
durable_run_id: string | null;
|
|
8632
9027
|
status: string;
|
|
8633
9028
|
input: unknown;
|
|
8634
9029
|
output: unknown;
|
|
8635
9030
|
error: unknown;
|
|
8636
9031
|
created_at: string;
|
|
8637
9032
|
updated_at: string;
|
|
9033
|
+
kind: "draft";
|
|
9034
|
+
workflow_draft_id: string | null;
|
|
9035
|
+
draft_revision: number;
|
|
8638
9036
|
};
|
|
8639
9037
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8640
9038
|
}>>;
|
|
@@ -9783,7 +10181,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9783
10181
|
};
|
|
9784
10182
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9785
10183
|
}>>;
|
|
9786
|
-
}> & _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" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "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", {
|
|
10184
|
+
}> & _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" | "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", {
|
|
9787
10185
|
credentials?: string | {
|
|
9788
10186
|
clientId: string;
|
|
9789
10187
|
clientSecret: string;
|
|
@@ -12171,9 +12569,33 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12171
12569
|
};
|
|
12172
12570
|
};
|
|
12173
12571
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12572
|
+
}>> | _zapier_kitcore.ContractEntry<"runWorkflowDraft", (input: {
|
|
12573
|
+
workflow: string;
|
|
12574
|
+
draft: string;
|
|
12575
|
+
draftRevision: number;
|
|
12576
|
+
input?: unknown;
|
|
12577
|
+
} & {
|
|
12578
|
+
skipOutputDataValidation?: boolean;
|
|
12579
|
+
}) => Promise<{
|
|
12580
|
+
data: {
|
|
12581
|
+
id: string;
|
|
12582
|
+
kind: "draft";
|
|
12583
|
+
workflow_id: string;
|
|
12584
|
+
durable_run_id: string | null;
|
|
12585
|
+
workflow_draft_id: string | null;
|
|
12586
|
+
draft_revision: number;
|
|
12587
|
+
status: string;
|
|
12588
|
+
input: unknown;
|
|
12589
|
+
output: unknown;
|
|
12590
|
+
error: unknown;
|
|
12591
|
+
created_at: string;
|
|
12592
|
+
updated_at: string;
|
|
12593
|
+
};
|
|
12594
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12174
12595
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowRuns", (input: {
|
|
12175
12596
|
workflow: string;
|
|
12176
12597
|
pageSize?: number | undefined;
|
|
12598
|
+
kind?: "draft" | "live" | undefined;
|
|
12177
12599
|
cursor?: string | undefined;
|
|
12178
12600
|
maxItems?: number | undefined;
|
|
12179
12601
|
} & {
|
|
@@ -12185,14 +12607,26 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12185
12607
|
skipOutputDataValidation?: boolean;
|
|
12186
12608
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12187
12609
|
id: string;
|
|
12188
|
-
trigger_id: string | null;
|
|
12189
12610
|
durable_run_id: string | null;
|
|
12611
|
+
status: string;
|
|
12612
|
+
input: unknown;
|
|
12613
|
+
error: unknown;
|
|
12614
|
+
created_at: string;
|
|
12615
|
+
updated_at: string;
|
|
12616
|
+
kind: "live";
|
|
12617
|
+
trigger_id: string | null;
|
|
12190
12618
|
workflow_version_id: string | null;
|
|
12619
|
+
} | {
|
|
12620
|
+
id: string;
|
|
12621
|
+
durable_run_id: string | null;
|
|
12191
12622
|
status: string;
|
|
12192
12623
|
input: unknown;
|
|
12193
12624
|
error: unknown;
|
|
12194
12625
|
created_at: string;
|
|
12195
12626
|
updated_at: string;
|
|
12627
|
+
kind: "draft";
|
|
12628
|
+
workflow_draft_id: string | null;
|
|
12629
|
+
draft_revision: number;
|
|
12196
12630
|
}>> | _zapier_kitcore.ContractEntry<"getWorkflowRun", (input: {
|
|
12197
12631
|
run: string;
|
|
12198
12632
|
workflow?: string | undefined;
|
|
@@ -12201,15 +12635,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12201
12635
|
}) => Promise<{
|
|
12202
12636
|
data: {
|
|
12203
12637
|
id: string;
|
|
12204
|
-
|
|
12638
|
+
workflow_id: string;
|
|
12205
12639
|
durable_run_id: string | null;
|
|
12640
|
+
status: string;
|
|
12641
|
+
input: unknown;
|
|
12642
|
+
output: unknown;
|
|
12643
|
+
error: unknown;
|
|
12644
|
+
created_at: string;
|
|
12645
|
+
updated_at: string;
|
|
12646
|
+
kind: "live";
|
|
12647
|
+
trigger_id: string | null;
|
|
12206
12648
|
workflow_version_id: string | null;
|
|
12649
|
+
} | {
|
|
12650
|
+
id: string;
|
|
12651
|
+
workflow_id: string;
|
|
12652
|
+
durable_run_id: string | null;
|
|
12207
12653
|
status: string;
|
|
12208
12654
|
input: unknown;
|
|
12209
12655
|
output: unknown;
|
|
12210
12656
|
error: unknown;
|
|
12211
12657
|
created_at: string;
|
|
12212
12658
|
updated_at: string;
|
|
12659
|
+
kind: "draft";
|
|
12660
|
+
workflow_draft_id: string | null;
|
|
12661
|
+
draft_revision: number;
|
|
12213
12662
|
};
|
|
12214
12663
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12215
12664
|
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
@@ -15004,9 +15453,34 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15004
15453
|
};
|
|
15005
15454
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
15006
15455
|
}>;
|
|
15456
|
+
runWorkflowDraft: (input: {
|
|
15457
|
+
workflow: string;
|
|
15458
|
+
draft: string;
|
|
15459
|
+
draftRevision: number;
|
|
15460
|
+
input?: unknown;
|
|
15461
|
+
} & {
|
|
15462
|
+
skipOutputDataValidation?: boolean;
|
|
15463
|
+
}) => Promise<{
|
|
15464
|
+
data: {
|
|
15465
|
+
id: string;
|
|
15466
|
+
kind: "draft";
|
|
15467
|
+
workflow_id: string;
|
|
15468
|
+
durable_run_id: string | null;
|
|
15469
|
+
workflow_draft_id: string | null;
|
|
15470
|
+
draft_revision: number;
|
|
15471
|
+
status: string;
|
|
15472
|
+
input: unknown;
|
|
15473
|
+
output: unknown;
|
|
15474
|
+
error: unknown;
|
|
15475
|
+
created_at: string;
|
|
15476
|
+
updated_at: string;
|
|
15477
|
+
};
|
|
15478
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15479
|
+
}>;
|
|
15007
15480
|
listWorkflowRuns: (input: {
|
|
15008
15481
|
workflow: string;
|
|
15009
15482
|
pageSize?: number | undefined;
|
|
15483
|
+
kind?: "draft" | "live" | undefined;
|
|
15010
15484
|
cursor?: string | undefined;
|
|
15011
15485
|
maxItems?: number | undefined;
|
|
15012
15486
|
} & {
|
|
@@ -15018,14 +15492,26 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15018
15492
|
skipOutputDataValidation?: boolean;
|
|
15019
15493
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
15020
15494
|
id: string;
|
|
15021
|
-
trigger_id: string | null;
|
|
15022
15495
|
durable_run_id: string | null;
|
|
15496
|
+
status: string;
|
|
15497
|
+
input: unknown;
|
|
15498
|
+
error: unknown;
|
|
15499
|
+
created_at: string;
|
|
15500
|
+
updated_at: string;
|
|
15501
|
+
kind: "live";
|
|
15502
|
+
trigger_id: string | null;
|
|
15023
15503
|
workflow_version_id: string | null;
|
|
15504
|
+
} | {
|
|
15505
|
+
id: string;
|
|
15506
|
+
durable_run_id: string | null;
|
|
15024
15507
|
status: string;
|
|
15025
15508
|
input: unknown;
|
|
15026
15509
|
error: unknown;
|
|
15027
15510
|
created_at: string;
|
|
15028
15511
|
updated_at: string;
|
|
15512
|
+
kind: "draft";
|
|
15513
|
+
workflow_draft_id: string | null;
|
|
15514
|
+
draft_revision: number;
|
|
15029
15515
|
}>;
|
|
15030
15516
|
getWorkflowRun: (input: {
|
|
15031
15517
|
run: string;
|
|
@@ -15035,15 +15521,30 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15035
15521
|
}) => Promise<{
|
|
15036
15522
|
data: {
|
|
15037
15523
|
id: string;
|
|
15038
|
-
|
|
15524
|
+
workflow_id: string;
|
|
15039
15525
|
durable_run_id: string | null;
|
|
15526
|
+
status: string;
|
|
15527
|
+
input: unknown;
|
|
15528
|
+
output: unknown;
|
|
15529
|
+
error: unknown;
|
|
15530
|
+
created_at: string;
|
|
15531
|
+
updated_at: string;
|
|
15532
|
+
kind: "live";
|
|
15533
|
+
trigger_id: string | null;
|
|
15040
15534
|
workflow_version_id: string | null;
|
|
15535
|
+
} | {
|
|
15536
|
+
id: string;
|
|
15537
|
+
workflow_id: string;
|
|
15538
|
+
durable_run_id: string | null;
|
|
15041
15539
|
status: string;
|
|
15042
15540
|
input: unknown;
|
|
15043
15541
|
output: unknown;
|
|
15044
15542
|
error: unknown;
|
|
15045
15543
|
created_at: string;
|
|
15046
15544
|
updated_at: string;
|
|
15545
|
+
kind: "draft";
|
|
15546
|
+
workflow_draft_id: string | null;
|
|
15547
|
+
draft_revision: number;
|
|
15047
15548
|
};
|
|
15048
15549
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
15049
15550
|
}>;
|