@zapier/zapier-sdk 0.80.2 → 0.81.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.
@@ -3153,9 +3153,12 @@ var TablesPropertySchema = zod.z.array(zod.z.string()).describe("Filter by speci
3153
3153
  var ConnectionsPropertySchema = zod.z.array(zod.z.string()).describe("List of connection IDs to filter by");
3154
3154
  var TriggerInboxPropertySchema = withPositional(
3155
3155
  zod.z.string().min(1).describe(
3156
- "Trigger inbox identifier \u2014 UUID or name. Non-UUID values are resolved by name via the inbox list endpoint."
3156
+ "Trigger inbox identifier \u2014 UUID or key. Non-UUID values are resolved by key via the inbox list endpoint."
3157
3157
  )
3158
3158
  );
3159
+ var TriggerInboxKeyPropertySchema = zod.z.string().min(1).max(100).describe(
3160
+ "Inbox key; unique per (user, account). Enables get-or-create on createTriggerInbox."
3161
+ );
3159
3162
  var TriggerInboxNamePropertySchema = zod.z.string().min(1).max(100).describe(
3160
3163
  "Inbox name; unique per (user, account). Enables get-or-create on createTriggerInbox."
3161
3164
  );
@@ -5216,7 +5219,7 @@ function parseDeprecationDate(value) {
5216
5219
  }
5217
5220
 
5218
5221
  // src/sdk-version.ts
5219
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.80.2" : void 0) || "unknown";
5222
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.81.1" : void 0) || "unknown";
5220
5223
 
5221
5224
  // src/utils/open-url.ts
5222
5225
  var nodePrefix = "node:";
@@ -6979,7 +6982,7 @@ var triggerInboxResolver = {
6979
6982
  // `deleting` inboxes are on their way out — no operation against them
6980
6983
  // is useful (delete is a no-op, pause/resume/update are rejected).
6981
6984
  choices: inboxes.filter((inbox) => inbox.status !== "deleting").map((inbox) => ({
6982
- name: inbox.name ?? inbox.id,
6985
+ name: inbox.key ?? inbox.name ?? inbox.id,
6983
6986
  hint: `${inbox.subscription.app_key} / ${inbox.subscription.action_key}, ${inbox.status}`,
6984
6987
  value: inbox.id
6985
6988
  }))
@@ -11546,10 +11549,12 @@ function buildApplicationLifecycleEvent(data, context = {}) {
11546
11549
  ci_platform: getCiPlatform(),
11547
11550
  ...getTtyContext(),
11548
11551
  agent: getAgent(),
11552
+ used_non_interactive_mode: data.used_non_interactive_mode ?? null,
11553
+ is_headless: data.is_headless ?? null,
11549
11554
  session_id: null,
11550
11555
  metadata: null,
11551
- process_argv: globalThis.process?.argv || null,
11552
11556
  ...data,
11557
+ process_argv: data.process_argv ?? null,
11553
11558
  sdk_version: SDK_VERSION
11554
11559
  };
11555
11560
  }
@@ -12068,6 +12073,11 @@ var TriggerSubscriptionApiSchema = zod.z.object({
12068
12073
  var TriggerInboxItemSchema = zod.z.object({
12069
12074
  id: zod.z.string(),
12070
12075
  created_at: zod.z.string(),
12076
+ // `key` is an API-layer alias over the same nullable `name` column, so it's
12077
+ // always present but can be null — null means no natural key (inbox created
12078
+ // without one, or key cleared on delete).
12079
+ key: zod.z.string().nullable(),
12080
+ /** @deprecated Use `key` instead. */
12071
12081
  name: zod.z.string().nullable(),
12072
12082
  status: TriggerInboxStatusSchema,
12073
12083
  paused_reason: TriggerInboxPausedReasonSchema.nullable(),
@@ -12076,11 +12086,15 @@ var TriggerInboxItemSchema = zod.z.object({
12076
12086
  });
12077
12087
 
12078
12088
  // src/plugins/triggers/createTriggerInbox/schemas.ts
12079
- var CreateTriggerInboxDescription = "Create a new trigger inbox subscription. Always creates a new inbox; use ensureTriggerInbox for get-or-create on a stable name.";
12089
+ var CreateTriggerInboxDescription = "Create a new trigger inbox subscription. Always creates a new inbox; use ensureTriggerInbox for get-or-create on a stable key.";
12080
12090
  var CreateTriggerInboxSchema = zod.z.object({
12091
+ key: TriggerInboxKeyPropertySchema.optional().describe(
12092
+ "Optional inbox key. Auto-generated when omitted. Throws a conflict error if the key is already in use by another subscription."
12093
+ ),
12094
+ /** @deprecated Use `key` instead. */
12081
12095
  name: TriggerInboxNamePropertySchema.optional().describe(
12082
12096
  "Optional inbox name. Auto-generated when omitted. Throws a conflict error if the name is already in use by another subscription."
12083
- ),
12097
+ ).meta({ deprecated: true }),
12084
12098
  app: AppPropertySchema,
12085
12099
  action: ActionPropertySchema,
12086
12100
  connection: ConnectionPropertySchema.nullable().optional().describe(
@@ -12118,7 +12132,7 @@ var triggerInboxItemFormatter = {
12118
12132
  });
12119
12133
  }
12120
12134
  return {
12121
- title: item.name ?? `Trigger Inbox ${item.id}`,
12135
+ title: item.key ?? item.name ?? `Trigger Inbox ${item.id}`,
12122
12136
  id: item.id,
12123
12137
  details
12124
12138
  };
@@ -12141,14 +12155,14 @@ async function resolveTriggerInboxId({
12141
12155
  return inbox;
12142
12156
  }
12143
12157
  const rawResponse = await api.get("/trigger-inbox/api/v1/inboxes", {
12144
- searchParams: { name: inbox, limit: "1" },
12158
+ searchParams: { key: inbox, limit: "1" },
12145
12159
  authRequired: true
12146
12160
  });
12147
12161
  const response = rawResponse;
12148
12162
  const id = response.results?.[0]?.id;
12149
12163
  if (!id) {
12150
12164
  throw new ZapierResourceNotFoundError(
12151
- `No trigger inbox named "${inbox}" found.`,
12165
+ `No trigger inbox with key "${inbox}" found.`,
12152
12166
  { resourceType: "trigger_inbox", resourceId: inbox }
12153
12167
  );
12154
12168
  }
@@ -12179,7 +12193,7 @@ var createTriggerInboxPlugin = definePlugin(
12179
12193
  // seeded into resolvedParams without polluting the user-facing schema
12180
12194
  // (where it would leak into the SDK method signature and CLI flags).
12181
12195
  resolvers: {
12182
- name: { type: "static", inputType: "text" },
12196
+ key: { type: "static", inputType: "text" },
12183
12197
  app: appKeyResolver,
12184
12198
  action: actionKeyResolver,
12185
12199
  connection: connectionIdResolver,
@@ -12189,13 +12203,13 @@ var createTriggerInboxPlugin = definePlugin(
12189
12203
  handler: async ({ sdk: sdk2, options }) => {
12190
12204
  const { api } = sdk2.context;
12191
12205
  const {
12192
- name,
12193
12206
  app: appKey,
12194
12207
  action: actionKey,
12195
12208
  connection,
12196
12209
  inputs = {},
12197
12210
  notificationUrl
12198
12211
  } = options;
12212
+ const key2 = options.key ?? options.name;
12199
12213
  const resolvedConnectionId = await resolveConnectionId({
12200
12214
  connection,
12201
12215
  resolveConnection: sdk2.context.resolveConnection
@@ -12215,8 +12229,8 @@ var createTriggerInboxPlugin = definePlugin(
12215
12229
  connection_id: resolvedConnectionId ?? null
12216
12230
  }
12217
12231
  };
12218
- if (name !== void 0) {
12219
- requestBody.name = name;
12232
+ if (key2 !== void 0) {
12233
+ requestBody.key = key2;
12220
12234
  }
12221
12235
  if (notificationUrl !== void 0) {
12222
12236
  requestBody.notification_url = notificationUrl;
@@ -12230,7 +12244,7 @@ var createTriggerInboxPlugin = definePlugin(
12230
12244
  if (status === 409) {
12231
12245
  const detail = extractErrorDetail(data);
12232
12246
  return new ZapierConflictError(
12233
- detail ?? `An inbox named "${name}" already exists with a different subscription.`,
12247
+ detail ?? `An inbox with key "${key2}" already exists with a different subscription.`,
12234
12248
  { statusCode: status, resourceType: "trigger_inbox" }
12235
12249
  );
12236
12250
  }
@@ -12242,11 +12256,8 @@ var createTriggerInboxPlugin = definePlugin(
12242
12256
  }
12243
12257
  })
12244
12258
  );
12245
- var EnsureTriggerInboxDescription = "Get-or-create a trigger inbox by name. Idempotent on (user, account, name): returns the existing inbox if a matching subscription is registered, creates a new one otherwise. Throws ZapierConflictError if the name exists with a different subscription.";
12246
- var EnsureTriggerInboxSchema = zod.z.object({
12247
- name: TriggerInboxNamePropertySchema.describe(
12248
- "Inbox name; serves as the idempotency key. Required for ensureTriggerInbox \u2014 without one, the API mints a fresh inbox each call (use createTriggerInbox for that path)."
12249
- ),
12259
+ var EnsureTriggerInboxDescription = "Get-or-create a trigger inbox by key. Idempotent on (user, account, key): returns the existing inbox if a matching subscription is registered, creates a new one otherwise. Throws ZapierConflictError if the key exists with a different subscription.";
12260
+ var EnsureTriggerInboxBaseSchema = zod.z.object({
12250
12261
  app: AppPropertySchema,
12251
12262
  action: ActionPropertySchema,
12252
12263
  connection: ConnectionPropertySchema.nullable().optional().describe(
@@ -12256,7 +12267,18 @@ var EnsureTriggerInboxSchema = zod.z.object({
12256
12267
  "Input parameters for the trigger subscription"
12257
12268
  ),
12258
12269
  notificationUrl: zod.z.string().url().optional().describe("Webhook URL to POST to when new messages arrive")
12259
- }).describe(EnsureTriggerInboxDescription);
12270
+ });
12271
+ var EnsureTriggerInboxSchema = zod.z.object({
12272
+ key: TriggerInboxKeyPropertySchema.describe(
12273
+ "Inbox key; serves as the idempotency key. Required for ensureTriggerInbox \u2014 without one, the API mints a fresh inbox each call (use createTriggerInbox for that path)."
12274
+ )
12275
+ }).merge(EnsureTriggerInboxBaseSchema).describe(EnsureTriggerInboxDescription).meta({ aliases: { name: "key" } });
12276
+ var EnsureTriggerInboxSchemaDeprecated = zod.z.object({
12277
+ name: TriggerInboxNamePropertySchema.describe(
12278
+ "Inbox name; serves as the idempotency key. Required for ensureTriggerInbox \u2014 without one, the API mints a fresh inbox each call (use createTriggerInbox for that path)."
12279
+ )
12280
+ }).merge(EnsureTriggerInboxBaseSchema);
12281
+ var EnsureTriggerInboxInputSchema = zod.z.union([EnsureTriggerInboxSchema, EnsureTriggerInboxSchemaDeprecated]).describe(EnsureTriggerInboxDescription);
12260
12282
 
12261
12283
  // src/plugins/triggers/ensureTriggerInbox/index.ts
12262
12284
  var ensureTriggerInboxPlugin = definePlugin(
@@ -12265,14 +12287,14 @@ var ensureTriggerInboxPlugin = definePlugin(
12265
12287
  name: "ensureTriggerInbox",
12266
12288
  type: "create",
12267
12289
  itemType: "TriggerInbox",
12268
- inputSchema: EnsureTriggerInboxSchema,
12290
+ inputSchema: EnsureTriggerInboxInputSchema,
12269
12291
  outputSchema: TriggerInboxItemSchema,
12270
12292
  formatter: triggerInboxItemFormatter,
12271
12293
  // actionKeyResolver and inputsResolver depend on actionType, which is
12272
12294
  // always "read" for triggers. Pin it as a constant resolver so it's
12273
12295
  // seeded into resolvedParams without polluting the user-facing schema.
12274
12296
  resolvers: {
12275
- name: { type: "static", inputType: "text" },
12297
+ key: { type: "static", inputType: "text" },
12276
12298
  app: appKeyResolver,
12277
12299
  action: actionKeyResolver,
12278
12300
  connection: connectionIdResolver,
@@ -12286,9 +12308,9 @@ var ensureTriggerInboxPlugin = definePlugin(
12286
12308
  action: actionKey,
12287
12309
  connection,
12288
12310
  inputs = {},
12289
- name,
12290
12311
  notificationUrl
12291
12312
  } = options;
12313
+ const key2 = "key" in options ? options.key : options.name;
12292
12314
  const resolvedConnectionId = await resolveConnectionId({
12293
12315
  connection,
12294
12316
  resolveConnection: sdk2.context.resolveConnection
@@ -12301,7 +12323,7 @@ var ensureTriggerInboxPlugin = definePlugin(
12301
12323
  );
12302
12324
  }
12303
12325
  const requestBody = {
12304
- name,
12326
+ key: key2,
12305
12327
  subscription: {
12306
12328
  app_key: selectedApi,
12307
12329
  action_key: actionKey,
@@ -12321,7 +12343,7 @@ var ensureTriggerInboxPlugin = definePlugin(
12321
12343
  if (status === 409) {
12322
12344
  const detail = extractErrorDetail(data);
12323
12345
  return new ZapierConflictError(
12324
- detail ?? `An inbox named "${name}" already exists with a different subscription.`,
12346
+ detail ?? `An inbox with key "${key2}" already exists with a different subscription.`,
12325
12347
  { statusCode: status, resourceType: "trigger_inbox" }
12326
12348
  );
12327
12349
  }
@@ -12334,9 +12356,13 @@ var ensureTriggerInboxPlugin = definePlugin(
12334
12356
  })
12335
12357
  );
12336
12358
  var ListTriggerInboxesSchema = zod.z.object({
12359
+ key: zod.z.string().min(1).optional().describe(
12360
+ "Filter by inbox key (exact match). Keys are unique per (user, account), so this returns at most one inbox."
12361
+ ),
12362
+ /** @deprecated Use `key` instead. */
12337
12363
  name: zod.z.string().min(1).optional().describe(
12338
12364
  "Filter by inbox name (exact match). Names are unique per (user, account), so this returns at most one inbox."
12339
- ),
12365
+ ).meta({ deprecated: true }),
12340
12366
  status: TriggerInboxStatusSchema.optional().describe(
12341
12367
  "Filter by inbox status"
12342
12368
  ),
@@ -12375,8 +12401,9 @@ var listTriggerInboxesPlugin = definePlugin(
12375
12401
  if (options.status) {
12376
12402
  searchParams.status = options.status;
12377
12403
  }
12378
- if (options.name) {
12379
- searchParams.name = options.name;
12404
+ const keyFilter = options.key ?? options.name;
12405
+ if (keyFilter) {
12406
+ searchParams.key = keyFilter;
12380
12407
  }
12381
12408
  const rawResponse = await api.get("/trigger-inbox/api/v1/inboxes", {
12382
12409
  searchParams,
@@ -15254,6 +15281,7 @@ exports.RelayRequestSchema = RelayRequestSchema;
15254
15281
  exports.ResolvedCredentialsSchema = ResolvedCredentialsSchema;
15255
15282
  exports.TablePropertySchema = TablePropertySchema;
15256
15283
  exports.TablesPropertySchema = TablesPropertySchema;
15284
+ exports.TriggerInboxKeyPropertySchema = TriggerInboxKeyPropertySchema;
15257
15285
  exports.TriggerInboxNamePropertySchema = TriggerInboxNamePropertySchema;
15258
15286
  exports.TriggerInboxPropertySchema = TriggerInboxPropertySchema;
15259
15287
  exports.ZAPIER_BASE_URL = ZAPIER_BASE_URL;
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-DEQqvs2r.mjs';
2
- export { H as Action, cJ as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bX as ActionKeyProperty, bv as ActionKeyPropertySchema, bY as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c7 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bW as ActionTypeProperty, bu as ActionTypePropertySchema, cF as ApiError, e9 as ApiEvent, dr as ApiPluginOptions, dt as ApiPluginProvides, I as App, cK as AppFactoryInput, bj as AppItem, bU as AppKeyProperty, bs as AppKeyPropertySchema, bV as AppProperty, bt as AppPropertySchema, fj as ApplicationLifecycleEventData, cB as ApprovalStatus, cI as AppsPluginProvides, cc as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, e8 as AuthEvent, dV as AuthMechanism, c0 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, fr as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, de as CONTEXT_CACHE_MAX_SIZE, dd as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, ef as ClientCredentialsObject, eq as ClientCredentialsObjectSchema, $ as Connection, ey as ConnectionEntry, ex as ConnectionEntrySchema, b_ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, b$ as ConnectionProperty, bA as ConnectionPropertySchema, eA as ConnectionsMap, ez as ConnectionsMapSchema, eC as ConnectionsPluginProvides, ce as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d0 as CreateClientCredentialsPluginProvides, f1 as CreateTableFieldsPluginProvides, eX as CreateTablePluginProvides, f9 as CreateTableRecordsPluginProvides, ec as Credentials, ev as CredentialsFunction, eu as CredentialsFunctionSchema, ee as CredentialsObject, es as CredentialsObjectSchema, ew as CredentialsSchema, eH as DEFAULT_ACTION_TIMEOUT_MS, eQ as DEFAULT_APPROVAL_TIMEOUT_MS, dn as DEFAULT_CONFIG_PATH, eR as DEFAULT_MAX_APPROVAL_RETRIES, eG as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c5 as DebugProperty, bF as DebugPropertySchema, d2 as DeleteClientCredentialsPluginProvides, f3 as DeleteTableFieldsPluginProvides, eZ as DeleteTablePluginProvides, fb as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fk as EnhancedErrorEventData, ck as ErrorOptions, eb as EventCallback, fi as EventContext, ff as EventEmissionConfig, fh as EventEmissionProvides, cM as FetchPluginProvides, J as Field, cb as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, da as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, dc as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cW as GetActionInputFieldsSchemaPluginProvides, d6 as GetActionPluginProvides, d4 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, d8 as GetConnectionPluginProvides, eV as GetTablePluginProvides, f5 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, bZ as InputFieldProperty, bx as InputFieldPropertySchema, c1 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cj as LeaseLimitProperty, bT as LeaseLimitPropertySchema, ch as LeaseProperty, bR as LeasePropertySchema, ci as LeaseSecondsProperty, bS as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c2 as LimitProperty, bC as LimitPropertySchema, cU as ListActionInputFieldChoicesPluginProvides, cS as ListActionInputFieldsPluginProvides, cQ as ListActionsPluginProvides, cO as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, c_ as ListClientCredentialsPluginProvides, cY as ListConnectionsPluginProvides, e$ as ListTableFieldsPluginProvides, f7 as ListTableRecordsPluginProvides, eT as ListTablesPluginProvides, ea as LoadingEvent, eK as MAX_CONCURRENCY_LIMIT, eF as MAX_PAGE_LIMIT, dp as ManifestEntry, dj as ManifestPluginOptions, dm as ManifestPluginProvides, fs as MethodCalledEvent, fl as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c3 as OffsetProperty, bD as OffsetPropertySchema, c4 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c6 as ParamsProperty, bG as ParamsPropertySchema, eg as PkceCredentialsObject, er as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cz as RateLimitInfo, c9 as RecordProperty, bJ as RecordPropertySchema, ca as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, di as RequestPluginProvides, dU as ResolveAuthTokenOptions, el as ResolveCredentialsOptions, dW as ResolvedAuth, ed as ResolvedCredentials, et as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, dg as RunActionPluginProvides, e7 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c8 as TableProperty, bI as TablePropertySchema, cd as TablesProperty, bN as TablesPropertySchema, cg as TriggerInboxNameProperty, bQ as TriggerInboxNamePropertySchema, cf as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, fd as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eD as ZAPIER_BASE_URL, eM as ZAPIER_MAX_CONCURRENT_REQUESTS, eI as ZAPIER_MAX_NETWORK_RETRIES, eJ as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cx as ZapierActionError, cq as ZapierApiError, cr as ZapierAppNotFoundError, cC as ZapierApprovalError, co as ZapierAuthenticationError, cv as ZapierBundleError, e3 as ZapierCache, e4 as ZapierCacheEntry, e5 as ZapierCacheSetOptions, cu as ZapierConfigurationError, cy as ZapierConflictError, cl as ZapierError, cs as ZapierNotFoundError, cA as ZapierRateLimitError, cD as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ct as ZapierResourceNotFoundError, cG as ZapierSignal, cw as ZapierTimeoutError, cn as ZapierUnknownError, cm as ZapierValidationError, dw as actionKeyResolver, dv as actionTypeResolver, a6 as addPlugin, ds as apiPlugin, du as appKeyResolver, cH as appsPlugin, dy as authenticationIdGenericResolver, dx as authenticationIdResolver, aG as batch, fm as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fo as buildErrorEvent, fn as buildErrorEventWithContext, fq as buildMethodCalledEvent, fe as cleanupEventListeners, dX as clearTokenCache, dC as clientCredentialsNameResolver, dD as clientIdResolver, b5 as composePlugins, dy as connectionIdGenericResolver, dx as connectionIdResolver, eB as connectionsPlugin, fp as createBaseEvent, c$ as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e6 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f0 as createTableFieldsPlugin, eW as createTablePlugin, f8 as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d1 as deleteClientCredentialsPlugin, f2 as deleteTableFieldsPlugin, eY as deleteTablePlugin, fa as deleteTableRecordsPlugin, dH as durableRunIdResolver, fg as eventEmissionPlugin, cL as fetchPlugin, d9 as findFirstConnectionPlugin, db as findUniqueConnectionPlugin, cE as formatErrorMessage, a8 as fromFunctionPlugin, ft as generateEventId, cV as getActionInputFieldsSchemaPlugin, d5 as getActionPlugin, b8 as getAgent, d3 as getAppPlugin, eo as getBaseUrlFromCredentials, aB as getCallerContext, fz as getCiPlatform, ep as getClientIdFromCredentials, d7 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fB as getCpuTime, fu as getCurrentTimestamp, fA as getMemoryUsage, bd as getOrCreateApiClient, fw as getOsInfo, fx as getPlatformVersions, dk as getPreferredManifestEntryKey, dq as getProfilePlugin, fv as getReleaseId, eU as getTablePlugin, f4 as getTableRecordPlugin, d$ as getTokenFromCliLogin, fC as getTtyContext, eN as getZapierApprovalMode, eP as getZapierDefaultApprovalMode, eO as getZapierOpenAutoModeApprovalsInBrowser, eE as getZapierSdkService, dZ as injectCliLogin, dB as inputFieldKeyResolver, dA as inputsAllOptionalResolver, dz as inputsResolver, dY as invalidateCachedToken, e2 as invalidateCredentialsToken, fy as isCi, d_ as isCliLoginAvailable, eh as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, ek as isCredentialsFunction, ej as isCredentialsObject, be as isPermanentHttpError, ei as isPkceCredentials, a2 as isPositional, cT as listActionInputFieldChoicesPlugin, cR as listActionInputFieldsPlugin, cP as listActionsPlugin, cN as listAppsPlugin, cZ as listClientCredentialsPlugin, cX as listConnectionsPlugin, e_ as listTableFieldsPlugin, f6 as listTableRecordsPlugin, eS as listTablesPlugin, aJ as logDeprecation, dl as manifestPlugin, eL as parseConcurrencyEnvVar, b9 as registryPlugin, dh as requestPlugin, aK as resetDeprecationWarnings, e0 as resolveAuth, e1 as resolveAuthToken, en as resolveCredentials, em as resolveCredentialsFromEnv, df as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dN as tableFieldIdsResolver, dP as tableFieldsResolver, dS as tableFiltersResolver, dE as tableIdResolver, dO as tableNameResolver, dL as tableRecordIdResolver, dM as tableRecordIdsResolver, dQ as tableRecordsResolver, dT as tableSortResolver, dR as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dF as triggerInboxResolver, dK as triggerMessagesResolver, fc as updateTableRecordsPlugin, dG as workflowIdResolver, dJ as workflowRunIdResolver, dI as workflowVersionIdResolver, cp as zapierAdaptError, ah as zapierSdkPlugin } from './index-DEQqvs2r.mjs';
1
+ import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-CWi_XjB4.mjs';
2
+ export { H as Action, cL as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bl as ActionItem, bY as ActionKeyProperty, bv as ActionKeyPropertySchema, bZ as ActionProperty, bw as ActionPropertySchema, b6 as ActionResolverItem, c8 as ActionTimeoutMsProperty, bH as ActionTimeoutMsPropertySchema, b7 as ActionTypeItem, bX as ActionTypeProperty, bu as ActionTypePropertySchema, cH as ApiError, eb as ApiEvent, dt as ApiPluginOptions, dv as ApiPluginProvides, I as App, cM as AppFactoryInput, bj as AppItem, bV as AppKeyProperty, bs as AppKeyPropertySchema, bW as AppProperty, bt as AppPropertySchema, fl as ApplicationLifecycleEventData, cD as ApprovalStatus, cK as AppsPluginProvides, cd as AppsProperty, bM as AppsPropertySchema, am as ArrayResolver, ea as AuthEvent, dX as AuthMechanism, c1 as AuthenticationIdProperty, bz as AuthenticationIdPropertySchema, ft as BaseEvent, aS as BaseSdkOptionsSchema, aH as BatchOptions, aj as BoundFormatter, dg as CONTEXT_CACHE_MAX_SIZE, df as CONTEXT_CACHE_TTL_MS, aW as CORE_ERROR_SYMBOL, a$ as CORE_SIGNAL_SYMBOL, aD as CallerContext, K as Choice, eh as ClientCredentialsObject, es as ClientCredentialsObjectSchema, $ as Connection, eA as ConnectionEntry, ez as ConnectionEntrySchema, b$ as ConnectionIdProperty, by as ConnectionIdPropertySchema, bk as ConnectionItem, c0 as ConnectionProperty, bA as ConnectionPropertySchema, eC as ConnectionsMap, eB as ConnectionsMapSchema, eE as ConnectionsPluginProvides, cf as ConnectionsProperty, bO as ConnectionsPropertySchema, a0 as ConnectionsResponse, au as ControllerAction, av as ControllerAnswerFn, ax as ControllerMethodDescription, aw as ControllerMethodSummary, ay as ControllerParameterDescription, at as ControllerQuestion, aZ as CoreCancelledSignal, aX as CoreErrorCode, aY as CoreSignal, d2 as CreateClientCredentialsPluginProvides, f3 as CreateTableFieldsPluginProvides, eZ as CreateTablePluginProvides, fb as CreateTableRecordsPluginProvides, ee as Credentials, ex as CredentialsFunction, ew as CredentialsFunctionSchema, eg as CredentialsObject, eu as CredentialsObjectSchema, ey as CredentialsSchema, eJ as DEFAULT_ACTION_TIMEOUT_MS, eS as DEFAULT_APPROVAL_TIMEOUT_MS, dq as DEFAULT_CONFIG_PATH, eT as DEFAULT_MAX_APPROVAL_RETRIES, eI as DEFAULT_PAGE_SIZE, bh as DEPRECATION_NOTICE_EVENT, c6 as DebugProperty, bF as DebugPropertySchema, d4 as DeleteClientCredentialsPluginProvides, f5 as DeleteTableFieldsPluginProvides, e$ as DeleteTablePluginProvides, fd as DeleteTableRecordsPluginProvides, bi as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ap as DynamicListResolver, aq as DynamicSearchResolver, fm as EnhancedErrorEventData, cm as ErrorOptions, ed as EventCallback, fk as EventContext, fh as EventEmissionConfig, fj as EventEmissionProvides, cO as FetchPluginProvides, J as Field, cc as FieldsProperty, bL as FieldsPropertySchema, ar as FieldsResolver, y as FindFirstAuthenticationPluginProvides, dc as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, de as FindUniqueConnectionPluginProvides, ai as FormattedItem, ak as Formatter, aR as FunctionDeprecation, aQ as FunctionRegistryEntry, cY as GetActionInputFieldsSchemaPluginProvides, d8 as GetActionPluginProvides, d6 as GetAppPluginProvides, x as GetAuthenticationPluginProvides, da as GetConnectionPluginProvides, eX as GetTablePluginProvides, f7 as GetTableRecordPluginProvides, bn as InfoFieldItem, bm as InputFieldItem, b_ as InputFieldProperty, bx as InputFieldPropertySchema, c2 as InputsProperty, bB as InputsPropertySchema, bg as JsonSseMessage, cl as LeaseLimitProperty, bU as LeaseLimitPropertySchema, cj as LeaseProperty, bS as LeasePropertySchema, ck as LeaseSecondsProperty, bT as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, c3 as LimitProperty, bC as LimitPropertySchema, cW as ListActionInputFieldChoicesPluginProvides, cU as ListActionInputFieldsPluginProvides, cS as ListActionsPluginProvides, cQ as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, d0 as ListClientCredentialsPluginProvides, c_ as ListConnectionsPluginProvides, f1 as ListTableFieldsPluginProvides, f9 as ListTableRecordsPluginProvides, eV as ListTablesPluginProvides, ec as LoadingEvent, eM as MAX_CONCURRENCY_LIMIT, eH as MAX_PAGE_LIMIT, dr as ManifestEntry, dl as ManifestPluginOptions, dp as ManifestPluginProvides, fu as MethodCalledEvent, fn as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, c4 as OffsetProperty, bD as OffsetPropertySchema, c5 as OutputProperty, bE as OutputPropertySchema, br as PaginatedSdkFunction, c7 as ParamsProperty, bG as ParamsPropertySchema, ei as PkceCredentialsObject, et as PkceCredentialsObjectSchema, b0 as Plugin, b1 as PluginProvides, bb as PollOptions, cB as RateLimitInfo, ca as RecordProperty, bJ as RecordPropertySchema, cb as RecordsProperty, bK as RecordsPropertySchema, aM as RelayFetchSchema, aL as RelayRequestSchema, ba as RequestOptions, dk as RequestPluginProvides, dW as ResolveAuthTokenOptions, en as ResolveCredentialsOptions, dY as ResolvedAuth, ef as ResolvedCredentials, ev as ResolvedCredentialsSchema, al as Resolver, an as ResolverMetadata, bo as RootFieldItem, di as RunActionPluginProvides, e9 as SdkEvent, bq as SdkPage, bf as SseMessage, ao as StaticResolver, c9 as TableProperty, bI as TablePropertySchema, ce as TablesProperty, bN as TablesPropertySchema, ch as TriggerInboxKeyProperty, bQ as TriggerInboxKeyPropertySchema, ci as TriggerInboxNameProperty, bR as TriggerInboxNamePropertySchema, cg as TriggerInboxProperty, bP as TriggerInboxPropertySchema, T as TriggerMessageStatus, ff as UpdateTableRecordsPluginProvides, a1 as UserProfile, bp as UserProfileItem, eF as ZAPIER_BASE_URL, eO as ZAPIER_MAX_CONCURRENT_REQUESTS, eK as ZAPIER_MAX_NETWORK_RETRIES, eL as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cz as ZapierActionError, cs as ZapierApiError, ct as ZapierAppNotFoundError, cE as ZapierApprovalError, cq as ZapierAuthenticationError, cx as ZapierBundleError, e5 as ZapierCache, e6 as ZapierCacheEntry, e7 as ZapierCacheSetOptions, cw as ZapierConfigurationError, cA as ZapierConflictError, cn as ZapierError, cu as ZapierNotFoundError, cC as ZapierRateLimitError, cF as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cv as ZapierResourceNotFoundError, cI as ZapierSignal, cy as ZapierTimeoutError, cp as ZapierUnknownError, co as ZapierValidationError, dy as actionKeyResolver, dx as actionTypeResolver, a6 as addPlugin, du as apiPlugin, dw as appKeyResolver, cJ as appsPlugin, dA as authenticationIdGenericResolver, dz as authenticationIdResolver, aG as batch, fo as buildApplicationLifecycleEvent, aI as buildCapabilityMessage, fq as buildErrorEvent, fp as buildErrorEventWithContext, fs as buildMethodCalledEvent, fg as cleanupEventListeners, dZ as clearTokenCache, dE as clientCredentialsNameResolver, dF as clientIdResolver, b5 as composePlugins, dA as connectionIdGenericResolver, dz as connectionIdResolver, eD as connectionsPlugin, fr as createBaseEvent, d1 as createClientCredentialsPlugin, as as createController, a5 as createCorePlugin, a3 as createFunction, e8 as createMemoryCache, aO as createOptionsPlugin, b4 as createPaginatedPluginMethod, b3 as createPluginMethod, a4 as createPluginStack, a7 as createSdk, f2 as createTableFieldsPlugin, eY as createTablePlugin, fa as createTableRecordsPlugin, bc as createZapierApi, aP as createZapierCoreStack, aN as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, af as declareMethod, ag as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, b2 as definePlugin, ad as defineProperty, ae as defineResolver, d3 as deleteClientCredentialsPlugin, f4 as deleteTableFieldsPlugin, e_ as deleteTablePlugin, fc as deleteTableRecordsPlugin, dJ as durableRunIdResolver, fi as eventEmissionPlugin, cN as fetchPlugin, db as findFirstConnectionPlugin, dd as findUniqueConnectionPlugin, cG as formatErrorMessage, a8 as fromFunctionPlugin, fv as generateEventId, cX as getActionInputFieldsSchemaPlugin, d7 as getActionPlugin, b8 as getAgent, d5 as getAppPlugin, eq as getBaseUrlFromCredentials, aB as getCallerContext, fB as getCiPlatform, er as getClientIdFromCredentials, d9 as getConnectionPlugin, ab as getContext, aV as getCoreErrorCause, aU as getCoreErrorCode, fD as getCpuTime, fw as getCurrentTimestamp, fC as getMemoryUsage, bd as getOrCreateApiClient, fy as getOsInfo, fz as getPlatformVersions, dm as getPreferredManifestEntryKey, ds as getProfilePlugin, fx as getReleaseId, eW as getTablePlugin, f6 as getTableRecordPlugin, e1 as getTokenFromCliLogin, fE as getTtyContext, eP as getZapierApprovalMode, eR as getZapierDefaultApprovalMode, eQ as getZapierOpenAutoModeApprovalsInBrowser, eG as getZapierSdkService, d$ as injectCliLogin, dD as inputFieldKeyResolver, dC as inputsAllOptionalResolver, dB as inputsResolver, d_ as invalidateCachedToken, e4 as invalidateCredentialsToken, fA as isCi, e0 as isCliLoginAvailable, ej as isClientCredentials, aT as isCoreError, a_ as isCoreSignal, em as isCredentialsFunction, el as isCredentialsObject, be as isPermanentHttpError, ek as isPkceCredentials, a2 as isPositional, cV as listActionInputFieldChoicesPlugin, cT as listActionInputFieldsPlugin, cR as listActionsPlugin, cP as listAppsPlugin, c$ as listClientCredentialsPlugin, cZ as listConnectionsPlugin, f0 as listTableFieldsPlugin, f8 as listTableRecordsPlugin, eU as listTablesPlugin, aJ as logDeprecation, dn as manifestPlugin, eN as parseConcurrencyEnvVar, b9 as registryPlugin, dj as requestPlugin, aK as resetDeprecationWarnings, e2 as resolveAuth, e3 as resolveAuthToken, ep as resolveCredentials, eo as resolveCredentialsFromEnv, dh as runActionPlugin, az as runInMethodScope, aC as runWithCallerContext, aA as runWithTelemetryContext, dP as tableFieldIdsResolver, dR as tableFieldsResolver, dU as tableFiltersResolver, dG as tableIdResolver, dQ as tableNameResolver, dN as tableRecordIdResolver, dO as tableRecordIdsResolver, dS as tableRecordsResolver, dV as tableSortResolver, dT as tableUpdateRecordsResolver, aE as toSnakeCase, aF as toTitleCase, dH as triggerInboxResolver, dM as triggerMessagesResolver, fe as updateTableRecordsPlugin, dI as workflowIdResolver, dL as workflowRunIdResolver, dK as workflowVersionIdResolver, cr as zapierAdaptError, ah as zapierSdkPlugin } from './index-CWi_XjB4.mjs';
3
3
  import * as zod_v4_core from 'zod/v4/core';
4
4
  import * as zod from 'zod';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
@@ -1656,6 +1656,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1656
1656
  };
1657
1657
  } & {
1658
1658
  listTriggerInboxes: (options?: ({
1659
+ key?: string | undefined;
1659
1660
  name?: string | undefined;
1660
1661
  status?: string | undefined;
1661
1662
  pageSize?: number | undefined;
@@ -1668,6 +1669,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1668
1669
  }) | undefined) => PaginatedSdkResult<{
1669
1670
  id: string;
1670
1671
  created_at: string;
1672
+ key: string | null;
1671
1673
  name: string | null;
1672
1674
  status: string;
1673
1675
  paused_reason: string | null;
@@ -1689,6 +1691,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1689
1691
  createTriggerInbox: (options?: {
1690
1692
  app: string;
1691
1693
  action: string;
1694
+ key?: string | undefined;
1692
1695
  name?: string | undefined;
1693
1696
  connection?: string | number | null | undefined;
1694
1697
  inputs?: Record<string, unknown> | undefined;
@@ -1697,6 +1700,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1697
1700
  data: {
1698
1701
  id: string;
1699
1702
  created_at: string;
1703
+ key: string | null;
1700
1704
  name: string | null;
1701
1705
  status: string;
1702
1706
  paused_reason: string | null;
@@ -1717,6 +1721,13 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1717
1721
  };
1718
1722
  } & {
1719
1723
  ensureTriggerInbox: (options?: {
1724
+ key: string;
1725
+ app: string;
1726
+ action: string;
1727
+ connection?: string | number | null | undefined;
1728
+ inputs?: Record<string, unknown> | undefined;
1729
+ notificationUrl?: string | undefined;
1730
+ } | {
1720
1731
  name: string;
1721
1732
  app: string;
1722
1733
  action: string;
@@ -1727,6 +1738,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1727
1738
  data: {
1728
1739
  id: string;
1729
1740
  created_at: string;
1741
+ key: string | null;
1730
1742
  name: string | null;
1731
1743
  status: string;
1732
1744
  paused_reason: string | null;
@@ -1752,6 +1764,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1752
1764
  data: {
1753
1765
  id: string;
1754
1766
  created_at: string;
1767
+ key: string | null;
1755
1768
  name: string | null;
1756
1769
  status: string;
1757
1770
  paused_reason: string | null;
@@ -1778,6 +1791,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1778
1791
  data: {
1779
1792
  id: string;
1780
1793
  created_at: string;
1794
+ key: string | null;
1781
1795
  name: string | null;
1782
1796
  status: string;
1783
1797
  paused_reason: string | null;
@@ -1803,6 +1817,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1803
1817
  data: {
1804
1818
  id: string;
1805
1819
  created_at: string;
1820
+ key: string | null;
1806
1821
  name: string | null;
1807
1822
  status: string;
1808
1823
  paused_reason: string | null;
@@ -1828,6 +1843,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1828
1843
  data: {
1829
1844
  id: string;
1830
1845
  created_at: string;
1846
+ key: string | null;
1831
1847
  name: string | null;
1832
1848
  status: string;
1833
1849
  paused_reason: string | null;
@@ -1853,6 +1869,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
1853
1869
  data: {
1854
1870
  id: string;
1855
1871
  created_at: string;
1872
+ key: string | null;
1856
1873
  name: string | null;
1857
1874
  status: string;
1858
1875
  paused_reason: string | null;
@@ -2008,6 +2025,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2008
2025
  resolvers: {
2009
2026
  inbox: DynamicResolver$1<{
2010
2027
  listTriggerInboxes: (options?: ({
2028
+ key?: string | undefined;
2011
2029
  name?: string | undefined;
2012
2030
  status?: string | undefined;
2013
2031
  pageSize?: number | undefined;
@@ -2020,6 +2038,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2020
2038
  }) | undefined) => PaginatedSdkResult<{
2021
2039
  id: string;
2022
2040
  created_at: string;
2041
+ key: string | null;
2023
2042
  name: string | null;
2024
2043
  status: string;
2025
2044
  paused_reason: string | null;
@@ -2040,6 +2059,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2040
2059
  }, {
2041
2060
  id: string;
2042
2061
  created_at: string;
2062
+ key: string | null;
2043
2063
  name: string | null;
2044
2064
  status: string;
2045
2065
  paused_reason: string | null;
@@ -2084,6 +2104,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2084
2104
  resolvers: {
2085
2105
  inbox: DynamicResolver$1<{
2086
2106
  listTriggerInboxes: (options?: ({
2107
+ key?: string | undefined;
2087
2108
  name?: string | undefined;
2088
2109
  status?: string | undefined;
2089
2110
  pageSize?: number | undefined;
@@ -2096,6 +2117,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2096
2117
  }) | undefined) => PaginatedSdkResult<{
2097
2118
  id: string;
2098
2119
  created_at: string;
2120
+ key: string | null;
2099
2121
  name: string | null;
2100
2122
  status: string;
2101
2123
  paused_reason: string | null;
@@ -2116,6 +2138,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2116
2138
  }, {
2117
2139
  id: string;
2118
2140
  created_at: string;
2141
+ key: string | null;
2119
2142
  name: string | null;
2120
2143
  status: string;
2121
2144
  paused_reason: string | null;
@@ -4841,6 +4864,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4841
4864
  };
4842
4865
  } & {
4843
4866
  listTriggerInboxes: (options?: ({
4867
+ key?: string | undefined;
4844
4868
  name?: string | undefined;
4845
4869
  status?: string | undefined;
4846
4870
  pageSize?: number | undefined;
@@ -4853,6 +4877,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4853
4877
  }) | undefined) => PaginatedSdkResult<{
4854
4878
  id: string;
4855
4879
  created_at: string;
4880
+ key: string | null;
4856
4881
  name: string | null;
4857
4882
  status: string;
4858
4883
  paused_reason: string | null;
@@ -4874,6 +4899,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4874
4899
  createTriggerInbox: (options?: {
4875
4900
  app: string;
4876
4901
  action: string;
4902
+ key?: string | undefined;
4877
4903
  name?: string | undefined;
4878
4904
  connection?: string | number | null | undefined;
4879
4905
  inputs?: Record<string, unknown> | undefined;
@@ -4882,6 +4908,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4882
4908
  data: {
4883
4909
  id: string;
4884
4910
  created_at: string;
4911
+ key: string | null;
4885
4912
  name: string | null;
4886
4913
  status: string;
4887
4914
  paused_reason: string | null;
@@ -4902,6 +4929,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4902
4929
  };
4903
4930
  } & {
4904
4931
  ensureTriggerInbox: (options?: {
4932
+ key: string;
4933
+ app: string;
4934
+ action: string;
4935
+ connection?: string | number | null | undefined;
4936
+ inputs?: Record<string, unknown> | undefined;
4937
+ notificationUrl?: string | undefined;
4938
+ } | {
4905
4939
  name: string;
4906
4940
  app: string;
4907
4941
  action: string;
@@ -4912,6 +4946,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4912
4946
  data: {
4913
4947
  id: string;
4914
4948
  created_at: string;
4949
+ key: string | null;
4915
4950
  name: string | null;
4916
4951
  status: string;
4917
4952
  paused_reason: string | null;
@@ -4937,6 +4972,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4937
4972
  data: {
4938
4973
  id: string;
4939
4974
  created_at: string;
4975
+ key: string | null;
4940
4976
  name: string | null;
4941
4977
  status: string;
4942
4978
  paused_reason: string | null;
@@ -4963,6 +4999,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4963
4999
  data: {
4964
5000
  id: string;
4965
5001
  created_at: string;
5002
+ key: string | null;
4966
5003
  name: string | null;
4967
5004
  status: string;
4968
5005
  paused_reason: string | null;
@@ -4988,6 +5025,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
4988
5025
  data: {
4989
5026
  id: string;
4990
5027
  created_at: string;
5028
+ key: string | null;
4991
5029
  name: string | null;
4992
5030
  status: string;
4993
5031
  paused_reason: string | null;
@@ -5013,6 +5051,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5013
5051
  data: {
5014
5052
  id: string;
5015
5053
  created_at: string;
5054
+ key: string | null;
5016
5055
  name: string | null;
5017
5056
  status: string;
5018
5057
  paused_reason: string | null;
@@ -5038,6 +5077,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5038
5077
  data: {
5039
5078
  id: string;
5040
5079
  created_at: string;
5080
+ key: string | null;
5041
5081
  name: string | null;
5042
5082
  status: string;
5043
5083
  paused_reason: string | null;
@@ -5193,6 +5233,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5193
5233
  resolvers: {
5194
5234
  inbox: DynamicResolver$1<{
5195
5235
  listTriggerInboxes: (options?: ({
5236
+ key?: string | undefined;
5196
5237
  name?: string | undefined;
5197
5238
  status?: string | undefined;
5198
5239
  pageSize?: number | undefined;
@@ -5205,6 +5246,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5205
5246
  }) | undefined) => PaginatedSdkResult<{
5206
5247
  id: string;
5207
5248
  created_at: string;
5249
+ key: string | null;
5208
5250
  name: string | null;
5209
5251
  status: string;
5210
5252
  paused_reason: string | null;
@@ -5225,6 +5267,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5225
5267
  }, {
5226
5268
  id: string;
5227
5269
  created_at: string;
5270
+ key: string | null;
5228
5271
  name: string | null;
5229
5272
  status: string;
5230
5273
  paused_reason: string | null;
@@ -5269,6 +5312,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5269
5312
  resolvers: {
5270
5313
  inbox: DynamicResolver$1<{
5271
5314
  listTriggerInboxes: (options?: ({
5315
+ key?: string | undefined;
5272
5316
  name?: string | undefined;
5273
5317
  status?: string | undefined;
5274
5318
  pageSize?: number | undefined;
@@ -5281,6 +5325,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5281
5325
  }) | undefined) => PaginatedSdkResult<{
5282
5326
  id: string;
5283
5327
  created_at: string;
5328
+ key: string | null;
5284
5329
  name: string | null;
5285
5330
  status: string;
5286
5331
  paused_reason: string | null;
@@ -5301,6 +5346,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
5301
5346
  }, {
5302
5347
  id: string;
5303
5348
  created_at: string;
5349
+ key: string | null;
5304
5350
  name: string | null;
5305
5351
  status: string;
5306
5352
  paused_reason: string | null;