@zapier/zapier-sdk 0.74.0 → 0.75.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 +12 -0
- package/README.md +33 -30
- package/dist/experimental.cjs +23 -2
- package/dist/experimental.d.mts +10 -4
- package/dist/experimental.d.ts +8 -2
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +23 -2
- package/dist/{index-WMit6fkJ.d.mts → index-Cq9YBV9i.d.mts} +10 -2
- package/dist/{index-WMit6fkJ.d.ts → index-Cq9YBV9i.d.ts} +10 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +7 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +2 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +2 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts +0 -2
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.js +4 -4
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +8 -0
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +6 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.js +14 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7581,9 +7581,11 @@ declare const listWorkflowsPlugin: (sdk: {
|
|
|
7581
7581
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7582
7582
|
authentication_id?: string | null | undefined;
|
|
7583
7583
|
params?: Record<string, unknown> | undefined;
|
|
7584
|
+
error?: string | null | undefined;
|
|
7584
7585
|
}[];
|
|
7585
7586
|
created_at: string;
|
|
7586
7587
|
updated_at: string;
|
|
7588
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7587
7589
|
}>;
|
|
7588
7590
|
} & {
|
|
7589
7591
|
context: {
|
|
@@ -7600,6 +7602,9 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7600
7602
|
description: z.ZodNullable<z.ZodString>;
|
|
7601
7603
|
trigger_url: z.ZodString;
|
|
7602
7604
|
enabled: z.ZodBoolean;
|
|
7605
|
+
disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7606
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
7607
|
+
}>>>;
|
|
7603
7608
|
is_private: z.ZodBoolean;
|
|
7604
7609
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
7605
7610
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
@@ -7616,6 +7621,7 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7616
7621
|
releasing: "releasing";
|
|
7617
7622
|
released: "released";
|
|
7618
7623
|
}>;
|
|
7624
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7619
7625
|
}, z.core.$strip>>;
|
|
7620
7626
|
created_at: z.ZodString;
|
|
7621
7627
|
updated_at: z.ZodString;
|
|
@@ -7745,9 +7751,11 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7745
7751
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7746
7752
|
authentication_id?: string | null | undefined;
|
|
7747
7753
|
params?: Record<string, unknown> | undefined;
|
|
7754
|
+
error?: string | null | undefined;
|
|
7748
7755
|
}[];
|
|
7749
7756
|
created_at: string;
|
|
7750
7757
|
updated_at: string;
|
|
7758
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7751
7759
|
}>;
|
|
7752
7760
|
} & {
|
|
7753
7761
|
context: {
|
|
@@ -7868,9 +7876,11 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7868
7876
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
7869
7877
|
authentication_id?: string | null | undefined;
|
|
7870
7878
|
params?: Record<string, unknown> | undefined;
|
|
7879
|
+
error?: string | null | undefined;
|
|
7871
7880
|
}[];
|
|
7872
7881
|
created_at: string;
|
|
7873
7882
|
updated_at: string;
|
|
7883
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7874
7884
|
}>;
|
|
7875
7885
|
} & {
|
|
7876
7886
|
context: {
|
|
@@ -7899,7 +7909,6 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7899
7909
|
workflow_version_id: string | null;
|
|
7900
7910
|
status: string;
|
|
7901
7911
|
input: unknown;
|
|
7902
|
-
output: unknown;
|
|
7903
7912
|
error: unknown;
|
|
7904
7913
|
created_at: string;
|
|
7905
7914
|
updated_at: string;
|
|
@@ -7926,7 +7935,6 @@ declare const WorkflowRunListItemSchema: z.ZodObject<{
|
|
|
7926
7935
|
cancelled: "cancelled";
|
|
7927
7936
|
}>, z.ZodString]>;
|
|
7928
7937
|
input: z.ZodUnknown;
|
|
7929
|
-
output: z.ZodNullable<z.ZodUnknown>;
|
|
7930
7938
|
error: z.ZodNullable<z.ZodUnknown>;
|
|
7931
7939
|
created_at: z.ZodString;
|
|
7932
7940
|
updated_at: z.ZodString;
|
package/dist/index.cjs
CHANGED
|
@@ -6911,7 +6911,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
6911
6911
|
}
|
|
6912
6912
|
|
|
6913
6913
|
// src/sdk-version.ts
|
|
6914
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
6914
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.75.0" : void 0) || "unknown";
|
|
6915
6915
|
|
|
6916
6916
|
// src/utils/open-url.ts
|
|
6917
6917
|
var nodePrefix = "node:";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as Action, f as ActionEntry, ci as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aW as ActionItem, bw as ActionKeyProperty, b4 as ActionKeyPropertySchema, bx as ActionProperty, b5 as ActionPropertySchema, aK as ActionResolverItem, bI as ActionTimeoutMsProperty, bg as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bv as ActionTypeProperty, b3 as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, ce as ApiError, dI as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, I as App, cj as AppFactoryInput, aU as AppItem, bt as AppKeyProperty, b1 as AppKeyPropertySchema, bu as AppProperty, b2 as AppPropertySchema, eS as ApplicationLifecycleEventData, ca as ApprovalStatus, ch as AppsPluginProvides, bN as AppsProperty, bl as AppsPropertySchema, a8 as ArrayResolver, dH as AuthEvent, bB as AuthenticationIdProperty, b8 as AuthenticationIdPropertySchema, e_ as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dO as ClientCredentialsObject, dZ as ClientCredentialsObjectSchema, _ as Connection, e5 as ConnectionEntry, e4 as ConnectionEntrySchema, bz as ConnectionIdProperty, b7 as ConnectionIdPropertySchema, aV as ConnectionItem, bA as ConnectionProperty, b9 as ConnectionPropertySchema, e7 as ConnectionsMap, e6 as ConnectionsMapSchema, e9 as ConnectionsPluginProvides, bP as ConnectionsProperty, bn as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cB as CreateClientCredentialsPluginProvides, eA as CreateTableFieldsPluginProvides, eu as CreateTablePluginProvides, eI as CreateTableRecordsPluginProvides, dL as Credentials, e2 as CredentialsFunction, e1 as CredentialsFunctionSchema, dN as CredentialsObject, d$ as CredentialsObjectSchema, e3 as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MS, en as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, bG as DebugProperty, be as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, eC as DeleteTableFieldsPluginProvides, ew as DeleteTablePluginProvides, eK as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ab as DynamicListResolver, m as DynamicResolver, ac as DynamicSearchResolver, eT as EnhancedErrorEventData, bV as ErrorOptions, dK as EventCallback, eR as EventContext, eO as EventEmissionConfig, E as EventEmissionContext, eQ as EventEmissionProvides, cl as FetchPluginProvides, J as Field, bM as FieldsProperty, bk as FieldsPropertySchema, ad as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, es as GetTablePluginProvides, eE as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, by as InputFieldProperty, b6 as InputFieldPropertySchema, bC as InputsProperty, ba as InputsPropertySchema, aT as JsonSseMessage, bU as LeaseLimitProperty, bs as LeaseLimitPropertySchema, bS as LeaseProperty, bq as LeasePropertySchema, bT as LeaseSecondsProperty, br as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bD as LimitProperty, bb as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, ey as ListTableFieldsPluginProvides, eG as ListTableRecordsPluginProvides, eq as ListTablesPluginProvides, dJ as LoadingEvent, eh as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, b as Manifest, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, e$ as MethodCalledEvent, eU as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bE as OffsetProperty, bc as OffsetPropertySchema, O as OutputFormatter, bF as OutputProperty, bd as OutputPropertySchema, b0 as PaginatedSdkFunction, i as PaginatedSdkResult, bH as ParamsProperty, bf as ParamsPropertySchema, dP as PkceCredentialsObject, d_ as PkceCredentialsObjectSchema, aE as Plugin, a as PluginMeta, aF as PluginProvides, aO as PollOptions, k as PositionalMetadata, c8 as RateLimitInfo, bK as RecordProperty, bi as RecordPropertySchema, bL as RecordsProperty, bj as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aN as RequestOptions, cT as RequestPluginProvides, du as ResolveAuthTokenOptions, dU as ResolveCredentialsOptions, R as ResolvedAppLocator, dM as ResolvedCredentials, e0 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dG as SdkEvent, a$ as SdkPage, aS as SseMessage, aa as StaticResolver, bJ as TableProperty, bh as TablePropertySchema, bO as TablesProperty, bm as TablesPropertySchema, bR as TriggerInboxNameProperty, bp as TriggerInboxNamePropertySchema, bQ as TriggerInboxProperty, bo as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, eM as UpdateTableRecordsPluginProvides, a0 as UserProfile, a_ as UserProfileItem, n as WatchTriggerInboxOptions, q as WithAddPlugin, ea as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c6 as ZapierActionError, b$ as ZapierApiError, c0 as ZapierAppNotFoundError, cb as ZapierApprovalError, bZ as ZapierAuthenticationError, c4 as ZapierBundleError, dC as ZapierCache, dD as ZapierCacheEntry, dE as ZapierCacheSetOptions, c3 as ZapierConfigurationError, c7 as ZapierConflictError, bW as ZapierError, l as ZapierFetchInitOptions, c1 as ZapierNotFoundError, c9 as ZapierRateLimitError, cc as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c2 as ZapierResourceNotFoundError, fd as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cf as ZapierSignal, c5 as ZapierTimeoutError, bY as ZapierUnknownError, bX as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, a5 as addPlugin, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, al as batch, eV as buildApplicationLifecycleEvent, an as buildCapabilityMessage, eX as buildErrorEvent, eW as buildErrorEventWithContext, eZ as buildMethodCalledEvent, eN as cleanupEventListeners, dv as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, aJ as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e8 as connectionsPlugin, eY as createBaseEvent, cA as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dF as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, ez as createTableFieldsPlugin, et as createTablePlugin, eH as createTableRecordsPlugin, aP as createZapierApi, av as createZapierCoreStack, fb as createZapierSdk, fc as createZapierSdkStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cC as deleteClientCredentialsPlugin, eB as deleteTableFieldsPlugin, ev as deleteTablePlugin, eJ as deleteTableRecordsPlugin, dg as durableRunIdResolver, eP as eventEmissionPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, g as findManifestEntry, cM as findUniqueConnectionPlugin, cd as formatErrorMessage, f0 as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, fa as getAgent, cE as getAppPlugin, dX as getBaseUrlFromCredentials, ag as getCallerContext, f6 as getCiPlatform, dY as getClientIdFromCredentials, cI as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, f8 as getCpuTime, f1 as getCurrentTimestamp, f7 as getMemoryUsage, aQ as getOrCreateApiClient, f3 as getOsInfo, f4 as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, f2 as getReleaseId, er as getTablePlugin, eD as getTableRecordPlugin, dz as getTokenFromCliLogin, f9 as getTtyContext, ek as getZapierApprovalMode, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, eb as getZapierSdkService, dx as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, dw as invalidateCachedToken, dB as invalidateCredentialsToken, f5 as isCi, dy as isCliLoginAvailable, dQ as isClientCredentials, az as isCoreError, dT as isCredentialsFunction, dS as isCredentialsObject, aR as isPermanentHttpError, dR as isPkceCredentials, a1 as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, ex as listTableFieldsPlugin, eF as listTableRecordsPlugin, ep as listTablesPlugin, ao as logDeprecation, cW as manifestPlugin, ei as parseConcurrencyEnvVar, r as readManifestFromFile, aM as registryPlugin, cS as requestPlugin, ap as resetDeprecationWarnings, dA as resolveAuthToken, dW as resolveCredentials, dV as resolveCredentialsFromEnv, cQ as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dm as tableFieldIdsResolver, dp as tableFieldsResolver, ds as tableFiltersResolver, dd as tableIdResolver, dn as tableNameResolver, dk as tableRecordIdResolver, dl as tableRecordIdsResolver, dq as tableRecordsResolver, dt as tableSortResolver, dr as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, de as triggerInboxResolver, dj as triggerMessagesResolver, eL as updateTableRecordsPlugin, df as workflowIdResolver, di as workflowRunIdResolver, dh as workflowVersionIdResolver, b_ as zapierAdaptError } from './index-WMit6fkJ.mjs';
|
|
1
|
+
export { H as Action, f as ActionEntry, ci as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aW as ActionItem, bw as ActionKeyProperty, b4 as ActionKeyPropertySchema, bx as ActionProperty, b5 as ActionPropertySchema, aK as ActionResolverItem, bI as ActionTimeoutMsProperty, bg as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bv as ActionTypeProperty, b3 as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, ce as ApiError, dI as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, I as App, cj as AppFactoryInput, aU as AppItem, bt as AppKeyProperty, b1 as AppKeyPropertySchema, bu as AppProperty, b2 as AppPropertySchema, eS as ApplicationLifecycleEventData, ca as ApprovalStatus, ch as AppsPluginProvides, bN as AppsProperty, bl as AppsPropertySchema, a8 as ArrayResolver, dH as AuthEvent, bB as AuthenticationIdProperty, b8 as AuthenticationIdPropertySchema, e_ as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dO as ClientCredentialsObject, dZ as ClientCredentialsObjectSchema, _ as Connection, e5 as ConnectionEntry, e4 as ConnectionEntrySchema, bz as ConnectionIdProperty, b7 as ConnectionIdPropertySchema, aV as ConnectionItem, bA as ConnectionProperty, b9 as ConnectionPropertySchema, e7 as ConnectionsMap, e6 as ConnectionsMapSchema, e9 as ConnectionsPluginProvides, bP as ConnectionsProperty, bn as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cB as CreateClientCredentialsPluginProvides, eA as CreateTableFieldsPluginProvides, eu as CreateTablePluginProvides, eI as CreateTableRecordsPluginProvides, dL as Credentials, e2 as CredentialsFunction, e1 as CredentialsFunctionSchema, dN as CredentialsObject, d$ as CredentialsObjectSchema, e3 as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MS, en as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, bG as DebugProperty, be as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, eC as DeleteTableFieldsPluginProvides, ew as DeleteTablePluginProvides, eK as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, ab as DynamicListResolver, m as DynamicResolver, ac as DynamicSearchResolver, eT as EnhancedErrorEventData, bV as ErrorOptions, dK as EventCallback, eR as EventContext, eO as EventEmissionConfig, E as EventEmissionContext, eQ as EventEmissionProvides, cl as FetchPluginProvides, J as Field, bM as FieldsProperty, bk as FieldsPropertySchema, ad as FieldsResolver, F as FieldsetItem, y as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, es as GetTablePluginProvides, eE as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, by as InputFieldProperty, b6 as InputFieldPropertySchema, bC as InputsProperty, ba as InputsPropertySchema, aT as JsonSseMessage, bU as LeaseLimitProperty, bs as LeaseLimitPropertySchema, bS as LeaseProperty, bq as LeasePropertySchema, bT as LeaseSecondsProperty, br as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bD as LimitProperty, bb as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, ey as ListTableFieldsPluginProvides, eG as ListTableRecordsPluginProvides, eq as ListTablesPluginProvides, dJ as LoadingEvent, eh as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, b as Manifest, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, e$ as MethodCalledEvent, eU as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bE as OffsetProperty, bc as OffsetPropertySchema, O as OutputFormatter, bF as OutputProperty, bd as OutputPropertySchema, b0 as PaginatedSdkFunction, i as PaginatedSdkResult, bH as ParamsProperty, bf as ParamsPropertySchema, dP as PkceCredentialsObject, d_ as PkceCredentialsObjectSchema, aE as Plugin, a as PluginMeta, aF as PluginProvides, aO as PollOptions, k as PositionalMetadata, c8 as RateLimitInfo, bK as RecordProperty, bi as RecordPropertySchema, bL as RecordsProperty, bj as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aN as RequestOptions, cT as RequestPluginProvides, du as ResolveAuthTokenOptions, dU as ResolveCredentialsOptions, R as ResolvedAppLocator, dM as ResolvedCredentials, e0 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dG as SdkEvent, a$ as SdkPage, aS as SseMessage, aa as StaticResolver, bJ as TableProperty, bh as TablePropertySchema, bO as TablesProperty, bm as TablesPropertySchema, bR as TriggerInboxNameProperty, bp as TriggerInboxNamePropertySchema, bQ as TriggerInboxProperty, bo as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, eM as UpdateTableRecordsPluginProvides, a0 as UserProfile, a_ as UserProfileItem, n as WatchTriggerInboxOptions, q as WithAddPlugin, ea as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c6 as ZapierActionError, b$ as ZapierApiError, c0 as ZapierAppNotFoundError, cb as ZapierApprovalError, bZ as ZapierAuthenticationError, c4 as ZapierBundleError, dC as ZapierCache, dD as ZapierCacheEntry, dE as ZapierCacheSetOptions, c3 as ZapierConfigurationError, c7 as ZapierConflictError, bW as ZapierError, l as ZapierFetchInitOptions, c1 as ZapierNotFoundError, c9 as ZapierRateLimitError, cc as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c2 as ZapierResourceNotFoundError, fd as ZapierSdk, p as ZapierSdkApps, Z as ZapierSdkOptions, cf as ZapierSignal, c5 as ZapierTimeoutError, bY as ZapierUnknownError, bX as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, a5 as addPlugin, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, al as batch, eV as buildApplicationLifecycleEvent, an as buildCapabilityMessage, eX as buildErrorEvent, eW as buildErrorEventWithContext, eZ as buildMethodCalledEvent, eN as cleanupEventListeners, dv as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, aJ as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e8 as connectionsPlugin, eY as createBaseEvent, cA as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dF as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, ez as createTableFieldsPlugin, et as createTablePlugin, eH as createTableRecordsPlugin, aP as createZapierApi, av as createZapierCoreStack, fb as createZapierSdk, fc as createZapierSdkStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cC as deleteClientCredentialsPlugin, eB as deleteTableFieldsPlugin, ev as deleteTablePlugin, eJ as deleteTableRecordsPlugin, dg as durableRunIdResolver, eP as eventEmissionPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, g as findManifestEntry, cM as findUniqueConnectionPlugin, cd as formatErrorMessage, f0 as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, fa as getAgent, cE as getAppPlugin, dX as getBaseUrlFromCredentials, ag as getCallerContext, f6 as getCiPlatform, dY as getClientIdFromCredentials, cI as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, f8 as getCpuTime, f1 as getCurrentTimestamp, f7 as getMemoryUsage, aQ as getOrCreateApiClient, f3 as getOsInfo, f4 as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, f2 as getReleaseId, er as getTablePlugin, eD as getTableRecordPlugin, dz as getTokenFromCliLogin, f9 as getTtyContext, ek as getZapierApprovalMode, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, eb as getZapierSdkService, dx as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, dw as invalidateCachedToken, dB as invalidateCredentialsToken, f5 as isCi, dy as isCliLoginAvailable, dQ as isClientCredentials, az as isCoreError, dT as isCredentialsFunction, dS as isCredentialsObject, aR as isPermanentHttpError, dR as isPkceCredentials, a1 as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, ex as listTableFieldsPlugin, eF as listTableRecordsPlugin, ep as listTablesPlugin, ao as logDeprecation, cW as manifestPlugin, ei as parseConcurrencyEnvVar, r as readManifestFromFile, aM as registryPlugin, cS as requestPlugin, ap as resetDeprecationWarnings, dA as resolveAuthToken, dW as resolveCredentials, dV as resolveCredentialsFromEnv, cQ as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dm as tableFieldIdsResolver, dp as tableFieldsResolver, ds as tableFiltersResolver, dd as tableIdResolver, dn as tableNameResolver, dk as tableRecordIdResolver, dl as tableRecordIdsResolver, dq as tableRecordsResolver, dt as tableSortResolver, dr as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, de as triggerInboxResolver, dj as triggerMessagesResolver, eL as updateTableRecordsPlugin, df as workflowIdResolver, di as workflowRunIdResolver, dh as workflowVersionIdResolver, b_ as zapierAdaptError } from './index-Cq9YBV9i.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'zod/v4/core';
|
|
4
4
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
package/dist/index.mjs
CHANGED
|
@@ -6909,7 +6909,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
6909
6909
|
}
|
|
6910
6910
|
|
|
6911
6911
|
// src/sdk-version.ts
|
|
6912
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
6912
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.75.0" : void 0) || "unknown";
|
|
6913
6913
|
|
|
6914
6914
|
// src/utils/open-url.ts
|
|
6915
6915
|
var nodePrefix = "node:";
|
|
@@ -40,9 +40,11 @@ export declare const deleteWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const disableWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const enableWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const getWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -72,9 +74,11 @@ export declare const getWorkflowPlugin: (sdk: {
|
|
|
72
74
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
73
75
|
authentication_id?: string | null | undefined;
|
|
74
76
|
params?: Record<string, unknown> | undefined;
|
|
77
|
+
error?: string | null | undefined;
|
|
75
78
|
}[];
|
|
76
79
|
created_at: string;
|
|
77
80
|
updated_at: string;
|
|
81
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
78
82
|
current_version?: {
|
|
79
83
|
id: string;
|
|
80
84
|
workflow_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B7B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -32,6 +32,9 @@ export declare const GetWorkflowResponseSchema: z.ZodObject<{
|
|
|
32
32
|
description: z.ZodNullable<z.ZodString>;
|
|
33
33
|
trigger_url: z.ZodString;
|
|
34
34
|
enabled: z.ZodBoolean;
|
|
35
|
+
disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
36
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
37
|
+
}>>>;
|
|
35
38
|
is_private: z.ZodBoolean;
|
|
36
39
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
37
40
|
current_version: z.ZodOptional<z.ZodObject<{
|
|
@@ -69,6 +72,7 @@ export declare const GetWorkflowResponseSchema: z.ZodObject<{
|
|
|
69
72
|
releasing: "releasing";
|
|
70
73
|
released: "released";
|
|
71
74
|
}>;
|
|
75
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
76
|
}, z.core.$strip>>;
|
|
73
77
|
created_at: z.ZodString;
|
|
74
78
|
updated_at: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;iBAgChC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;iBAMlC,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4CpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AppVersionBindingSchema, ConnectionBindingSchema, WorkflowTriggerSchema, WorkflowVersionTriggerConfigSchema, } from "../shared-schemas";
|
|
2
|
+
import { AppVersionBindingSchema, ConnectionBindingSchema, WorkflowDisabledReasonSchema, WorkflowTriggerSchema, WorkflowVersionTriggerConfigSchema, } from "../shared-schemas";
|
|
3
3
|
export const WorkflowVersionSchema = z.object({
|
|
4
4
|
id: z.string().describe("Workflow version ID (UUID)"),
|
|
5
5
|
workflow_id: z.string().describe("Parent workflow ID"),
|
|
@@ -47,6 +47,12 @@ export const GetWorkflowResponseSchema = z.object({
|
|
|
47
47
|
enabled: z
|
|
48
48
|
.boolean()
|
|
49
49
|
.describe("Whether the workflow currently accepts triggers"),
|
|
50
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
51
|
+
// always sends it (null unless the workflow was system-disabled). Kept
|
|
52
|
+
// independent of per-trigger status+error — see WorkflowDisabledReasonSchema.
|
|
53
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable()
|
|
54
|
+
.optional()
|
|
55
|
+
.describe("Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger."),
|
|
50
56
|
is_private: z
|
|
51
57
|
.boolean()
|
|
52
58
|
.describe("Whether the workflow is private to the creating user. False means account-visible."),
|
|
@@ -40,9 +40,11 @@ export declare const getWorkflowRunPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -67,7 +69,6 @@ export declare const getWorkflowRunPlugin: (sdk: {
|
|
|
67
69
|
workflow_version_id: string | null;
|
|
68
70
|
status: string;
|
|
69
71
|
input: unknown;
|
|
70
|
-
output: unknown;
|
|
71
72
|
error: unknown;
|
|
72
73
|
created_at: string;
|
|
73
74
|
updated_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowRun/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowRun/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const getWorkflowVersionPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowVersion/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowVersion/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,wBAAwB,CAChC,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -71,7 +73,6 @@ export declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
71
73
|
workflow_version_id: string | null;
|
|
72
74
|
status: string;
|
|
73
75
|
input: unknown;
|
|
74
|
-
output: unknown;
|
|
75
76
|
error: unknown;
|
|
76
77
|
created_at: string;
|
|
77
78
|
updated_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsClC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,sBAAsB,CAC9B,CAAC"}
|
|
@@ -20,7 +20,6 @@ export declare const WorkflowRunListItemSchema: z.ZodObject<{
|
|
|
20
20
|
cancelled: "cancelled";
|
|
21
21
|
}>, z.ZodString]>;
|
|
22
22
|
input: z.ZodUnknown;
|
|
23
|
-
output: z.ZodNullable<z.ZodUnknown>;
|
|
24
23
|
error: z.ZodNullable<z.ZodUnknown>;
|
|
25
24
|
created_at: z.ZodString;
|
|
26
25
|
updated_at: z.ZodString;
|
|
@@ -47,7 +46,6 @@ export declare const ListWorkflowRunsApiResponseSchema: z.ZodObject<{
|
|
|
47
46
|
cancelled: "cancelled";
|
|
48
47
|
}>, z.ZodString]>;
|
|
49
48
|
input: z.ZodUnknown;
|
|
50
|
-
output: z.ZodNullable<z.ZodUnknown>;
|
|
51
49
|
error: z.ZodNullable<z.ZodUnknown>;
|
|
52
50
|
created_at: z.ZodString;
|
|
53
51
|
updated_at: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;;;;iBAOjC,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;;;;iBAOjC,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;iBA8BpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,6BAA6B;;;;;iBAoBvC,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;iBAY5C,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC"}
|
|
@@ -24,10 +24,10 @@ export const WorkflowRunListItemSchema = z.object({
|
|
|
24
24
|
.describe("Workflow version the run is bound to. Null in rare edge cases."),
|
|
25
25
|
status: WorkflowRunStatusSchema,
|
|
26
26
|
input: z.unknown().describe("Input passed to the run"),
|
|
27
|
-
output:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
// `output` is intentionally omitted from list items: workflow-run lists no
|
|
28
|
+
// longer carry the (potentially large/externalized) output payload. Fetch a
|
|
29
|
+
// single run's output via `getWorkflowRun`. Use `status` to know when it's
|
|
30
|
+
// available (`finished`/`failed`).
|
|
31
31
|
error: z
|
|
32
32
|
.unknown()
|
|
33
33
|
.nullable()
|
|
@@ -40,9 +40,11 @@ export declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowVersions/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowVersions/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCtC,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,0BAA0B,CAClC,CAAC"}
|
|
@@ -44,9 +44,11 @@ export declare const listWorkflowsPlugin: (sdk: {
|
|
|
44
44
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
45
45
|
authentication_id?: string | null | undefined;
|
|
46
46
|
params?: Record<string, unknown> | undefined;
|
|
47
|
+
error?: string | null | undefined;
|
|
47
48
|
}[];
|
|
48
49
|
created_at: string;
|
|
49
50
|
updated_at: string;
|
|
51
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
50
52
|
}>;
|
|
51
53
|
} & {
|
|
52
54
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
|
|
@@ -5,6 +5,9 @@ export declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
5
5
|
description: z.ZodNullable<z.ZodString>;
|
|
6
6
|
trigger_url: z.ZodString;
|
|
7
7
|
enabled: z.ZodBoolean;
|
|
8
|
+
disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
9
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
10
|
+
}>>>;
|
|
8
11
|
is_private: z.ZodBoolean;
|
|
9
12
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
10
13
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
@@ -21,6 +24,7 @@ export declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
21
24
|
releasing: "releasing";
|
|
22
25
|
released: "released";
|
|
23
26
|
}>;
|
|
27
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
28
|
}, z.core.$strip>>;
|
|
25
29
|
created_at: z.ZodString;
|
|
26
30
|
updated_at: z.ZodString;
|
|
@@ -45,6 +49,9 @@ export declare const ListWorkflowsApiResponseSchema: z.ZodObject<{
|
|
|
45
49
|
description: z.ZodNullable<z.ZodString>;
|
|
46
50
|
trigger_url: z.ZodString;
|
|
47
51
|
enabled: z.ZodBoolean;
|
|
52
|
+
disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
53
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
54
|
+
}>>>;
|
|
48
55
|
is_private: z.ZodBoolean;
|
|
49
56
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
50
57
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
@@ -61,6 +68,7 @@ export declare const ListWorkflowsApiResponseSchema: z.ZodObject<{
|
|
|
61
68
|
releasing: "releasing";
|
|
62
69
|
released: "released";
|
|
63
70
|
}>;
|
|
71
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
72
|
}, z.core.$strip>>;
|
|
65
73
|
created_at: z.ZodString;
|
|
66
74
|
updated_at: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8C7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,0BAA0B;;;;iBAoBuC,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { WorkflowTriggerSchema } from "../shared-schemas";
|
|
2
|
+
import { WorkflowDisabledReasonSchema, WorkflowTriggerSchema, } from "../shared-schemas";
|
|
3
3
|
export const WorkflowItemSchema = z.object({
|
|
4
4
|
id: z.string().describe("Workflow ID (UUID)"),
|
|
5
5
|
name: z.string().describe("Workflow name"),
|
|
@@ -13,6 +13,11 @@ export const WorkflowItemSchema = z.object({
|
|
|
13
13
|
enabled: z
|
|
14
14
|
.boolean()
|
|
15
15
|
.describe("Whether the workflow currently accepts triggers"),
|
|
16
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
17
|
+
// always sends it (null unless the workflow was system-disabled).
|
|
18
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe("Why the workflow is off, when system-disabled. Null when not system-disabled."),
|
|
16
21
|
is_private: z
|
|
17
22
|
.boolean()
|
|
18
23
|
.describe("Whether the workflow is private to the creating user. False means account-visible."),
|
|
@@ -40,9 +40,11 @@ export declare const publishWorkflowVersionPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AA6CA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AA6CA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DxC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,4BAA4B,CACpC,CAAC"}
|
|
@@ -20,6 +20,9 @@ export declare const WorkflowTriggerStatusSchema: z.ZodEnum<{
|
|
|
20
20
|
releasing: "releasing";
|
|
21
21
|
released: "released";
|
|
22
22
|
}>;
|
|
23
|
+
export declare const WorkflowDisabledReasonSchema: z.ZodEnum<{
|
|
24
|
+
trigger_claim_failed: "trigger_claim_failed";
|
|
25
|
+
}>;
|
|
23
26
|
export declare const WorkflowTriggerSchema: z.ZodObject<{
|
|
24
27
|
selected_api: z.ZodString;
|
|
25
28
|
action: z.ZodString;
|
|
@@ -33,5 +36,6 @@ export declare const WorkflowTriggerSchema: z.ZodObject<{
|
|
|
33
36
|
releasing: "releasing";
|
|
34
37
|
released: "released";
|
|
35
38
|
}>;
|
|
39
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
40
|
}, z.core.$strip>;
|
|
37
41
|
//# sourceMappingURL=shared-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/codeSubstrate/shared-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;iBAcjC,CAAC;AAEJ,eAAO,MAAM,uBAAuB;;;iBAUsC,CAAC;AAK3E,eAAO,MAAM,kCAAkC;;;;;iBAiBsB,CAAC;AAItE,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;
|
|
1
|
+
{"version":3,"file":"shared-schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/codeSubstrate/shared-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;iBAcjC,CAAC;AAEJ,eAAO,MAAM,uBAAuB;;;iBAUsC,CAAC;AAK3E,eAAO,MAAM,kCAAkC;;;;;iBAiBsB,CAAC;AAItE,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;AAOH,eAAO,MAAM,4BAA4B;;EAAmC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAgC/B,CAAC"}
|
|
@@ -50,6 +50,12 @@ export const WorkflowTriggerStatusSchema = z.enum([
|
|
|
50
50
|
"released",
|
|
51
51
|
"failed",
|
|
52
52
|
]);
|
|
53
|
+
// Why a workflow is currently off. `trigger_claim_failed` is a system
|
|
54
|
+
// auto-disable; null/absent means the workflow was not system-disabled.
|
|
55
|
+
// Independent of the per-trigger claim status+error: a post-active claim
|
|
56
|
+
// failure (e.g. auth) leaves the workflow enabled with disabled_reason null
|
|
57
|
+
// but its trigger status=failed, so the two signals must not be collapsed.
|
|
58
|
+
export const WorkflowDisabledReasonSchema = z.enum(["trigger_claim_failed"]);
|
|
53
59
|
export const WorkflowTriggerSchema = z
|
|
54
60
|
.object({
|
|
55
61
|
selected_api: z
|
|
@@ -65,5 +71,13 @@ export const WorkflowTriggerSchema = z
|
|
|
65
71
|
.optional()
|
|
66
72
|
.describe("Trigger parameters as a JSON object"),
|
|
67
73
|
status: WorkflowTriggerStatusSchema.describe("Live trigger claim status — whether the trigger is currently subscribed to its source."),
|
|
74
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
75
|
+
// always sends it (null unless status=failed). Already sanitized at write
|
|
76
|
+
// time — surface verbatim.
|
|
77
|
+
error: z
|
|
78
|
+
.string()
|
|
79
|
+
.nullable()
|
|
80
|
+
.optional()
|
|
81
|
+
.describe("Failure reason for the latest claim. Present (non-null) only when status is 'failed'."),
|
|
68
82
|
})
|
|
69
83
|
.describe("Trigger from a workflow's current version, combined with the live claim status.");
|
|
@@ -40,9 +40,11 @@ export declare const triggerWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/triggerWorkflow/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/triggerWorkflow/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKjB;QAAE,OAAO,EAAE;YAAE,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAA;SAAE,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;CA4DhE,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
|
|
@@ -40,9 +40,11 @@ export declare const updateWorkflowPlugin: (sdk: {
|
|
|
40
40
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
41
|
authentication_id?: string | null | undefined;
|
|
42
42
|
params?: Record<string, unknown> | undefined;
|
|
43
|
+
error?: string | null | undefined;
|
|
43
44
|
}[];
|
|
44
45
|
created_at: string;
|
|
45
46
|
updated_at: string;
|
|
47
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
46
48
|
}>;
|
|
47
49
|
} & {
|
|
48
50
|
context: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/updateWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/updateWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|