@zapier/zapier-sdk 0.109.0 → 0.110.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 +27 -0
- package/README.md +145 -56
- package/dist/{chunk-BU4ANX6G.cjs → chunk-IHWWBHBO.cjs} +25 -1
- package/dist/{chunk-6QN54DRD.mjs → chunk-KCJZMIEC.mjs} +25 -2
- package/dist/experimental.cjs +525 -399
- package/dist/experimental.d.mts +224 -11
- package/dist/experimental.d.ts +224 -11
- package/dist/experimental.mjs +145 -23
- package/dist/{index-Cum18GPG.d.mts → index-BRxVTixv.d.mts} +3 -1
- package/dist/{index-Cum18GPG.d.ts → index-BRxVTixv.d.ts} +3 -1
- package/dist/index.cjs +283 -279
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, 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, C as ConnectionsProvider, a as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, b as ActionProxy, c as ZapierSdkApps, D as DeleteTriggerInboxResult, d as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, e as Manifest, E as EventCallback, f as EventEmissionConfig, g as ZapierCache, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-BRxVTixv.js';
|
|
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-BRxVTixv.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
@@ -8541,10 +8541,64 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8541
8541
|
};
|
|
8542
8542
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8543
8543
|
}>>;
|
|
8544
|
+
} & {
|
|
8545
|
+
runWorkflowDraft: _zapier_kitcore.MethodPlugin<"runWorkflowDraft", {
|
|
8546
|
+
workflow: string;
|
|
8547
|
+
draft: string;
|
|
8548
|
+
draftRevision: number;
|
|
8549
|
+
input?: unknown;
|
|
8550
|
+
} & {
|
|
8551
|
+
skipOutputDataValidation?: boolean;
|
|
8552
|
+
}, Promise<{
|
|
8553
|
+
data: {
|
|
8554
|
+
id: string;
|
|
8555
|
+
kind: "draft";
|
|
8556
|
+
workflow_id: string;
|
|
8557
|
+
durable_run_id: string | null;
|
|
8558
|
+
workflow_draft_id: string | null;
|
|
8559
|
+
draft_revision: number;
|
|
8560
|
+
status: string;
|
|
8561
|
+
input: unknown;
|
|
8562
|
+
output: unknown;
|
|
8563
|
+
error: unknown;
|
|
8564
|
+
created_at: string;
|
|
8565
|
+
updated_at: string;
|
|
8566
|
+
};
|
|
8567
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
8568
|
+
}>, readonly [], {
|
|
8569
|
+
input?: unknown;
|
|
8570
|
+
workflow: string;
|
|
8571
|
+
draft: string;
|
|
8572
|
+
draftRevision: number;
|
|
8573
|
+
}> & _zapier_kitcore.LeafSummary<"", "runWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8574
|
+
workflow: string;
|
|
8575
|
+
draft: string;
|
|
8576
|
+
draftRevision: number;
|
|
8577
|
+
input?: unknown;
|
|
8578
|
+
} & {
|
|
8579
|
+
skipOutputDataValidation?: boolean;
|
|
8580
|
+
}) => Promise<{
|
|
8581
|
+
data: {
|
|
8582
|
+
id: string;
|
|
8583
|
+
kind: "draft";
|
|
8584
|
+
workflow_id: string;
|
|
8585
|
+
durable_run_id: string | null;
|
|
8586
|
+
workflow_draft_id: string | null;
|
|
8587
|
+
draft_revision: number;
|
|
8588
|
+
status: string;
|
|
8589
|
+
input: unknown;
|
|
8590
|
+
output: unknown;
|
|
8591
|
+
error: unknown;
|
|
8592
|
+
created_at: string;
|
|
8593
|
+
updated_at: string;
|
|
8594
|
+
};
|
|
8595
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
8596
|
+
}>>;
|
|
8544
8597
|
} & {
|
|
8545
8598
|
listWorkflowRuns: _zapier_kitcore.MethodPlugin<"listWorkflowRuns", {
|
|
8546
8599
|
workflow: string;
|
|
8547
8600
|
pageSize?: number | undefined;
|
|
8601
|
+
kind?: "draft" | "live" | undefined;
|
|
8548
8602
|
cursor?: string | undefined;
|
|
8549
8603
|
maxItems?: number | undefined;
|
|
8550
8604
|
} & {
|
|
@@ -8556,17 +8610,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8556
8610
|
skipOutputDataValidation?: boolean;
|
|
8557
8611
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
8558
8612
|
id: string;
|
|
8559
|
-
trigger_id: string | null;
|
|
8560
8613
|
durable_run_id: string | null;
|
|
8614
|
+
status: string;
|
|
8615
|
+
input: unknown;
|
|
8616
|
+
error: unknown;
|
|
8617
|
+
created_at: string;
|
|
8618
|
+
updated_at: string;
|
|
8619
|
+
kind: "live";
|
|
8620
|
+
trigger_id: string | null;
|
|
8561
8621
|
workflow_version_id: string | null;
|
|
8622
|
+
} | {
|
|
8623
|
+
id: string;
|
|
8624
|
+
durable_run_id: string | null;
|
|
8562
8625
|
status: string;
|
|
8563
8626
|
input: unknown;
|
|
8564
8627
|
error: unknown;
|
|
8565
8628
|
created_at: string;
|
|
8566
8629
|
updated_at: string;
|
|
8630
|
+
kind: "draft";
|
|
8631
|
+
workflow_draft_id: string | null;
|
|
8632
|
+
draft_revision: number;
|
|
8567
8633
|
}>, readonly [], Omit<{
|
|
8568
8634
|
workflow: string;
|
|
8569
8635
|
pageSize?: number | undefined;
|
|
8636
|
+
kind?: "draft" | "live" | undefined;
|
|
8570
8637
|
cursor?: string | undefined;
|
|
8571
8638
|
maxItems?: number | undefined;
|
|
8572
8639
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
@@ -8575,6 +8642,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8575
8642
|
}> & _zapier_kitcore.LeafSummary<"", "listWorkflowRuns", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8576
8643
|
workflow: string;
|
|
8577
8644
|
pageSize?: number | undefined;
|
|
8645
|
+
kind?: "draft" | "live" | undefined;
|
|
8578
8646
|
cursor?: string | undefined;
|
|
8579
8647
|
maxItems?: number | undefined;
|
|
8580
8648
|
} & {
|
|
@@ -8586,14 +8654,26 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8586
8654
|
skipOutputDataValidation?: boolean;
|
|
8587
8655
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
8588
8656
|
id: string;
|
|
8589
|
-
trigger_id: string | null;
|
|
8590
8657
|
durable_run_id: string | null;
|
|
8658
|
+
status: string;
|
|
8659
|
+
input: unknown;
|
|
8660
|
+
error: unknown;
|
|
8661
|
+
created_at: string;
|
|
8662
|
+
updated_at: string;
|
|
8663
|
+
kind: "live";
|
|
8664
|
+
trigger_id: string | null;
|
|
8591
8665
|
workflow_version_id: string | null;
|
|
8666
|
+
} | {
|
|
8667
|
+
id: string;
|
|
8668
|
+
durable_run_id: string | null;
|
|
8592
8669
|
status: string;
|
|
8593
8670
|
input: unknown;
|
|
8594
8671
|
error: unknown;
|
|
8595
8672
|
created_at: string;
|
|
8596
8673
|
updated_at: string;
|
|
8674
|
+
kind: "draft";
|
|
8675
|
+
workflow_draft_id: string | null;
|
|
8676
|
+
draft_revision: number;
|
|
8597
8677
|
}>>;
|
|
8598
8678
|
} & {
|
|
8599
8679
|
getWorkflowRun: _zapier_kitcore.MethodPlugin<"getWorkflowRun", {
|
|
@@ -8604,15 +8684,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8604
8684
|
}, Promise<{
|
|
8605
8685
|
data: {
|
|
8606
8686
|
id: string;
|
|
8607
|
-
|
|
8687
|
+
workflow_id: string;
|
|
8608
8688
|
durable_run_id: string | null;
|
|
8689
|
+
status: string;
|
|
8690
|
+
input: unknown;
|
|
8691
|
+
output: unknown;
|
|
8692
|
+
error: unknown;
|
|
8693
|
+
created_at: string;
|
|
8694
|
+
updated_at: string;
|
|
8695
|
+
kind: "live";
|
|
8696
|
+
trigger_id: string | null;
|
|
8609
8697
|
workflow_version_id: string | null;
|
|
8698
|
+
} | {
|
|
8699
|
+
id: string;
|
|
8700
|
+
workflow_id: string;
|
|
8701
|
+
durable_run_id: string | null;
|
|
8610
8702
|
status: string;
|
|
8611
8703
|
input: unknown;
|
|
8612
8704
|
output: unknown;
|
|
8613
8705
|
error: unknown;
|
|
8614
8706
|
created_at: string;
|
|
8615
8707
|
updated_at: string;
|
|
8708
|
+
kind: "draft";
|
|
8709
|
+
workflow_draft_id: string | null;
|
|
8710
|
+
draft_revision: number;
|
|
8616
8711
|
};
|
|
8617
8712
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8618
8713
|
}>, readonly [], {
|
|
@@ -8626,15 +8721,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8626
8721
|
}) => Promise<{
|
|
8627
8722
|
data: {
|
|
8628
8723
|
id: string;
|
|
8629
|
-
|
|
8724
|
+
workflow_id: string;
|
|
8630
8725
|
durable_run_id: string | null;
|
|
8726
|
+
status: string;
|
|
8727
|
+
input: unknown;
|
|
8728
|
+
output: unknown;
|
|
8729
|
+
error: unknown;
|
|
8730
|
+
created_at: string;
|
|
8731
|
+
updated_at: string;
|
|
8732
|
+
kind: "live";
|
|
8733
|
+
trigger_id: string | null;
|
|
8631
8734
|
workflow_version_id: string | null;
|
|
8735
|
+
} | {
|
|
8736
|
+
id: string;
|
|
8737
|
+
workflow_id: string;
|
|
8738
|
+
durable_run_id: string | null;
|
|
8632
8739
|
status: string;
|
|
8633
8740
|
input: unknown;
|
|
8634
8741
|
output: unknown;
|
|
8635
8742
|
error: unknown;
|
|
8636
8743
|
created_at: string;
|
|
8637
8744
|
updated_at: string;
|
|
8745
|
+
kind: "draft";
|
|
8746
|
+
workflow_draft_id: string | null;
|
|
8747
|
+
draft_revision: number;
|
|
8638
8748
|
};
|
|
8639
8749
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8640
8750
|
}>>;
|
|
@@ -9783,7 +9893,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9783
9893
|
};
|
|
9784
9894
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9785
9895
|
}>>;
|
|
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", {
|
|
9896
|
+
}> & _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
9897
|
credentials?: string | {
|
|
9788
9898
|
clientId: string;
|
|
9789
9899
|
clientSecret: string;
|
|
@@ -12171,9 +12281,33 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12171
12281
|
};
|
|
12172
12282
|
};
|
|
12173
12283
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12284
|
+
}>> | _zapier_kitcore.ContractEntry<"runWorkflowDraft", (input: {
|
|
12285
|
+
workflow: string;
|
|
12286
|
+
draft: string;
|
|
12287
|
+
draftRevision: number;
|
|
12288
|
+
input?: unknown;
|
|
12289
|
+
} & {
|
|
12290
|
+
skipOutputDataValidation?: boolean;
|
|
12291
|
+
}) => Promise<{
|
|
12292
|
+
data: {
|
|
12293
|
+
id: string;
|
|
12294
|
+
kind: "draft";
|
|
12295
|
+
workflow_id: string;
|
|
12296
|
+
durable_run_id: string | null;
|
|
12297
|
+
workflow_draft_id: string | null;
|
|
12298
|
+
draft_revision: number;
|
|
12299
|
+
status: string;
|
|
12300
|
+
input: unknown;
|
|
12301
|
+
output: unknown;
|
|
12302
|
+
error: unknown;
|
|
12303
|
+
created_at: string;
|
|
12304
|
+
updated_at: string;
|
|
12305
|
+
};
|
|
12306
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12174
12307
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowRuns", (input: {
|
|
12175
12308
|
workflow: string;
|
|
12176
12309
|
pageSize?: number | undefined;
|
|
12310
|
+
kind?: "draft" | "live" | undefined;
|
|
12177
12311
|
cursor?: string | undefined;
|
|
12178
12312
|
maxItems?: number | undefined;
|
|
12179
12313
|
} & {
|
|
@@ -12185,14 +12319,26 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12185
12319
|
skipOutputDataValidation?: boolean;
|
|
12186
12320
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12187
12321
|
id: string;
|
|
12188
|
-
trigger_id: string | null;
|
|
12189
12322
|
durable_run_id: string | null;
|
|
12323
|
+
status: string;
|
|
12324
|
+
input: unknown;
|
|
12325
|
+
error: unknown;
|
|
12326
|
+
created_at: string;
|
|
12327
|
+
updated_at: string;
|
|
12328
|
+
kind: "live";
|
|
12329
|
+
trigger_id: string | null;
|
|
12190
12330
|
workflow_version_id: string | null;
|
|
12331
|
+
} | {
|
|
12332
|
+
id: string;
|
|
12333
|
+
durable_run_id: string | null;
|
|
12191
12334
|
status: string;
|
|
12192
12335
|
input: unknown;
|
|
12193
12336
|
error: unknown;
|
|
12194
12337
|
created_at: string;
|
|
12195
12338
|
updated_at: string;
|
|
12339
|
+
kind: "draft";
|
|
12340
|
+
workflow_draft_id: string | null;
|
|
12341
|
+
draft_revision: number;
|
|
12196
12342
|
}>> | _zapier_kitcore.ContractEntry<"getWorkflowRun", (input: {
|
|
12197
12343
|
run: string;
|
|
12198
12344
|
workflow?: string | undefined;
|
|
@@ -12201,15 +12347,30 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12201
12347
|
}) => Promise<{
|
|
12202
12348
|
data: {
|
|
12203
12349
|
id: string;
|
|
12204
|
-
|
|
12350
|
+
workflow_id: string;
|
|
12205
12351
|
durable_run_id: string | null;
|
|
12352
|
+
status: string;
|
|
12353
|
+
input: unknown;
|
|
12354
|
+
output: unknown;
|
|
12355
|
+
error: unknown;
|
|
12356
|
+
created_at: string;
|
|
12357
|
+
updated_at: string;
|
|
12358
|
+
kind: "live";
|
|
12359
|
+
trigger_id: string | null;
|
|
12206
12360
|
workflow_version_id: string | null;
|
|
12361
|
+
} | {
|
|
12362
|
+
id: string;
|
|
12363
|
+
workflow_id: string;
|
|
12364
|
+
durable_run_id: string | null;
|
|
12207
12365
|
status: string;
|
|
12208
12366
|
input: unknown;
|
|
12209
12367
|
output: unknown;
|
|
12210
12368
|
error: unknown;
|
|
12211
12369
|
created_at: string;
|
|
12212
12370
|
updated_at: string;
|
|
12371
|
+
kind: "draft";
|
|
12372
|
+
workflow_draft_id: string | null;
|
|
12373
|
+
draft_revision: number;
|
|
12213
12374
|
};
|
|
12214
12375
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12215
12376
|
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
@@ -15004,9 +15165,34 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15004
15165
|
};
|
|
15005
15166
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
15006
15167
|
}>;
|
|
15168
|
+
runWorkflowDraft: (input: {
|
|
15169
|
+
workflow: string;
|
|
15170
|
+
draft: string;
|
|
15171
|
+
draftRevision: number;
|
|
15172
|
+
input?: unknown;
|
|
15173
|
+
} & {
|
|
15174
|
+
skipOutputDataValidation?: boolean;
|
|
15175
|
+
}) => Promise<{
|
|
15176
|
+
data: {
|
|
15177
|
+
id: string;
|
|
15178
|
+
kind: "draft";
|
|
15179
|
+
workflow_id: string;
|
|
15180
|
+
durable_run_id: string | null;
|
|
15181
|
+
workflow_draft_id: string | null;
|
|
15182
|
+
draft_revision: number;
|
|
15183
|
+
status: string;
|
|
15184
|
+
input: unknown;
|
|
15185
|
+
output: unknown;
|
|
15186
|
+
error: unknown;
|
|
15187
|
+
created_at: string;
|
|
15188
|
+
updated_at: string;
|
|
15189
|
+
};
|
|
15190
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15191
|
+
}>;
|
|
15007
15192
|
listWorkflowRuns: (input: {
|
|
15008
15193
|
workflow: string;
|
|
15009
15194
|
pageSize?: number | undefined;
|
|
15195
|
+
kind?: "draft" | "live" | undefined;
|
|
15010
15196
|
cursor?: string | undefined;
|
|
15011
15197
|
maxItems?: number | undefined;
|
|
15012
15198
|
} & {
|
|
@@ -15018,14 +15204,26 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15018
15204
|
skipOutputDataValidation?: boolean;
|
|
15019
15205
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
15020
15206
|
id: string;
|
|
15021
|
-
trigger_id: string | null;
|
|
15022
15207
|
durable_run_id: string | null;
|
|
15208
|
+
status: string;
|
|
15209
|
+
input: unknown;
|
|
15210
|
+
error: unknown;
|
|
15211
|
+
created_at: string;
|
|
15212
|
+
updated_at: string;
|
|
15213
|
+
kind: "live";
|
|
15214
|
+
trigger_id: string | null;
|
|
15023
15215
|
workflow_version_id: string | null;
|
|
15216
|
+
} | {
|
|
15217
|
+
id: string;
|
|
15218
|
+
durable_run_id: string | null;
|
|
15024
15219
|
status: string;
|
|
15025
15220
|
input: unknown;
|
|
15026
15221
|
error: unknown;
|
|
15027
15222
|
created_at: string;
|
|
15028
15223
|
updated_at: string;
|
|
15224
|
+
kind: "draft";
|
|
15225
|
+
workflow_draft_id: string | null;
|
|
15226
|
+
draft_revision: number;
|
|
15029
15227
|
}>;
|
|
15030
15228
|
getWorkflowRun: (input: {
|
|
15031
15229
|
run: string;
|
|
@@ -15035,15 +15233,30 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15035
15233
|
}) => Promise<{
|
|
15036
15234
|
data: {
|
|
15037
15235
|
id: string;
|
|
15038
|
-
|
|
15236
|
+
workflow_id: string;
|
|
15039
15237
|
durable_run_id: string | null;
|
|
15238
|
+
status: string;
|
|
15239
|
+
input: unknown;
|
|
15240
|
+
output: unknown;
|
|
15241
|
+
error: unknown;
|
|
15242
|
+
created_at: string;
|
|
15243
|
+
updated_at: string;
|
|
15244
|
+
kind: "live";
|
|
15245
|
+
trigger_id: string | null;
|
|
15040
15246
|
workflow_version_id: string | null;
|
|
15247
|
+
} | {
|
|
15248
|
+
id: string;
|
|
15249
|
+
workflow_id: string;
|
|
15250
|
+
durable_run_id: string | null;
|
|
15041
15251
|
status: string;
|
|
15042
15252
|
input: unknown;
|
|
15043
15253
|
output: unknown;
|
|
15044
15254
|
error: unknown;
|
|
15045
15255
|
created_at: string;
|
|
15046
15256
|
updated_at: string;
|
|
15257
|
+
kind: "draft";
|
|
15258
|
+
workflow_draft_id: string | null;
|
|
15259
|
+
draft_revision: number;
|
|
15047
15260
|
};
|
|
15048
15261
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
15049
15262
|
}>;
|