@zapier/zapier-sdk 0.84.0 → 0.84.2

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.84.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e1c327d: _This release contains no user-facing changes._
8
+
9
+ ## 0.84.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 197a125: Internal refactor of how item-returning methods produce their `{ data }` response envelope. No change to the SDK surface.
14
+
3
15
  ## 0.84.0
4
16
 
5
17
  ### Minor Changes
@@ -2097,9 +2097,7 @@ function buildMethodEntries(descriptors, context, states) {
2097
2097
  }
2098
2098
  );
2099
2099
  } else if (out.type === "item") {
2100
- const itemCore = async (input) => ({
2101
- data: await callRun(input)
2102
- });
2100
+ const itemCore = async (input) => callRun(input);
2103
2101
  entry.value = createFunction(
2104
2102
  fold(itemCore),
2105
2103
  {
@@ -5198,7 +5196,7 @@ function parseDeprecationDate(value) {
5198
5196
  }
5199
5197
 
5200
5198
  // src/sdk-version.ts
5201
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.84.0" : void 0) || "unknown";
5199
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.84.2" : void 0) || "unknown";
5202
5200
 
5203
5201
  // src/utils/open-url.ts
5204
5202
  var nodePrefix = "node:";
@@ -6622,13 +6620,15 @@ var getProfilePlugin = defineMethod({
6622
6620
  authRequired: true
6623
6621
  });
6624
6622
  return {
6625
- id: String(profile.public_id ?? profile.id),
6626
- first_name: profile.first_name,
6627
- last_name: profile.last_name,
6628
- full_name: `${profile.first_name} ${profile.last_name}`,
6629
- email: profile.email,
6630
- email_confirmed: profile.email_confirmed,
6631
- timezone: profile.timezone
6623
+ data: {
6624
+ id: String(profile.public_id ?? profile.id),
6625
+ first_name: profile.first_name,
6626
+ last_name: profile.last_name,
6627
+ full_name: `${profile.first_name} ${profile.last_name}`,
6628
+ email: profile.email,
6629
+ email_confirmed: profile.email_confirmed,
6630
+ timezone: profile.timezone
6631
+ }
6632
6632
  };
6633
6633
  }
6634
6634
  });
@@ -9345,7 +9345,7 @@ var getActionPlugin = defineMethod({
9345
9345
  });
9346
9346
  for await (const action of imports.listActions({ app: appKey }).items()) {
9347
9347
  if ((action.key === actionKey || action.id === actionKey) && action.action_type === actionType) {
9348
- return action;
9348
+ return { data: action };
9349
9349
  }
9350
9350
  }
9351
9351
  throw new ZapierResourceNotFoundError(
@@ -9861,7 +9861,7 @@ var getAppPlugin = defineMethod({
9861
9861
  run: async ({ imports, input }) => {
9862
9862
  const appKey = "app" in input ? input.app : input.appKey;
9863
9863
  for await (const app of imports.listApps({ apps: [appKey] }).items()) {
9864
- return app;
9864
+ return { data: app };
9865
9865
  }
9866
9866
  throw new ZapierAppNotFoundError("App not found", { appKey });
9867
9867
  }
@@ -10083,7 +10083,7 @@ var getConnectionPlugin = defineMethod({
10083
10083
  }
10084
10084
  }
10085
10085
  );
10086
- return transformConnectionItem(response.data);
10086
+ return { data: transformConnectionItem(response.data) };
10087
10087
  }
10088
10088
  });
10089
10089
 
@@ -10118,7 +10118,7 @@ var findFirstConnectionPlugin = defineMethod({
10118
10118
  { resourceType: "Connection" }
10119
10119
  );
10120
10120
  }
10121
- return connectionsResponse.data[0];
10121
+ return { data: connectionsResponse.data[0] };
10122
10122
  }
10123
10123
  });
10124
10124
 
@@ -10159,7 +10159,7 @@ var findUniqueConnectionPlugin = defineMethod({
10159
10159
  "Multiple connections found matching the specified criteria. Expected exactly one."
10160
10160
  );
10161
10161
  }
10162
- return connectionsResponse.data[0];
10162
+ return { data: connectionsResponse.data[0] };
10163
10163
  }
10164
10164
  });
10165
10165
  var GetConnectionStartUrlSchema = zod.z.object({
@@ -10207,12 +10207,14 @@ var getConnectionStartUrlPlugin = defineMethod({
10207
10207
  { selected_api: selectedApi },
10208
10208
  { authRequired: true }
10209
10209
  );
10210
- return GetConnectionStartUrlItemSchema.parse({
10211
- url: response.url,
10212
- expiresAt: response.expires_at,
10213
- startedAt: response.started_at,
10214
- app: selectedApi
10215
- });
10210
+ return {
10211
+ data: GetConnectionStartUrlItemSchema.parse({
10212
+ url: response.url,
10213
+ expiresAt: response.expires_at,
10214
+ startedAt: response.started_at,
10215
+ app: selectedApi
10216
+ })
10217
+ };
10216
10218
  }
10217
10219
  });
10218
10220
  var WaitForNewConnectionSchema = zod.z.object({
@@ -10286,11 +10288,13 @@ var waitForNewConnectionPlugin = defineMethod({
10286
10288
  body.data[0]
10287
10289
  )
10288
10290
  });
10289
- return WaitForNewConnectionItemSchema.parse({
10290
- id: String(top.public_id ?? top.id),
10291
- app: appKey,
10292
- title: top.title ?? null
10293
- });
10291
+ return {
10292
+ data: WaitForNewConnectionItemSchema.parse({
10293
+ id: String(top.public_id ?? top.id),
10294
+ app: appKey,
10295
+ title: top.title ?? null
10296
+ })
10297
+ };
10294
10298
  } catch (err) {
10295
10299
  if (err instanceof ZapierTimeoutError) {
10296
10300
  throw new ZapierTimeoutError(
@@ -10391,11 +10395,13 @@ Open this URL to complete the connection:
10391
10395
  timeoutMs: input.timeoutMs,
10392
10396
  pollIntervalMs: input.pollIntervalMs
10393
10397
  });
10394
- return CreateConnectionItemSchema.parse({
10395
- id: fresh.id,
10396
- app: start2.app,
10397
- title: fresh.title ?? null
10398
- });
10398
+ return {
10399
+ data: CreateConnectionItemSchema.parse({
10400
+ id: fresh.id,
10401
+ app: start2.app,
10402
+ title: fresh.title ?? null
10403
+ })
10404
+ };
10399
10405
  }
10400
10406
  });
10401
10407
 
@@ -10583,7 +10589,7 @@ var createClientCredentialsPlugin = defineMethod({
10583
10589
  requiredScopes: ["credentials"]
10584
10590
  }
10585
10591
  );
10586
- return response.data;
10592
+ return { data: response.data };
10587
10593
  }
10588
10594
  });
10589
10595
  var DeleteClientCredentialsSchema = zod.z.object({
@@ -11046,7 +11052,10 @@ var getActionInputFieldsSchemaPlugin = defineMethod({
11046
11052
  connection: connectionIdResolver,
11047
11053
  inputs: inputsAllOptionalResolver
11048
11054
  },
11049
- run: async ({ imports, input }) => {
11055
+ run: async ({
11056
+ imports,
11057
+ input
11058
+ }) => {
11050
11059
  const api = imports.api;
11051
11060
  const getVersionedImplementationId = imports.manifest.getVersionedImplementationId;
11052
11061
  const resolveConnection = imports.connections.resolveConnection;
@@ -11084,7 +11093,7 @@ var getActionInputFieldsSchemaPlugin = defineMethod({
11084
11093
  connectionId: resolvedConnectionId ?? null,
11085
11094
  inputs
11086
11095
  });
11087
- return needsData.schema || {};
11096
+ return { data: needsData.schema || {} };
11088
11097
  }
11089
11098
  });
11090
11099
  var InputFieldChoiceItemSchema = NeedChoicesSchema;
@@ -11532,7 +11541,7 @@ var createTriggerInboxPlugin = defineMethod({
11532
11541
  }
11533
11542
  }
11534
11543
  );
11535
- return TriggerInboxItemSchema.parse(rawResponse);
11544
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11536
11545
  }
11537
11546
  });
11538
11547
  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.";
@@ -11633,7 +11642,7 @@ var ensureTriggerInboxPlugin = defineMethod({
11633
11642
  }
11634
11643
  }
11635
11644
  );
11636
- return TriggerInboxItemSchema.parse(rawResponse);
11645
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11637
11646
  }
11638
11647
  });
11639
11648
  var ListTriggerInboxesSchema = zod.z.object({
@@ -11728,7 +11737,7 @@ var getTriggerInboxPlugin = defineMethod({
11728
11737
  resource: { type: "trigger_inbox", id: inboxId }
11729
11738
  }
11730
11739
  );
11731
- return TriggerInboxItemSchema.parse(rawResponse);
11740
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11732
11741
  }
11733
11742
  });
11734
11743
  var UpdateTriggerInboxSchema = zod.z.object({
@@ -11766,7 +11775,7 @@ var updateTriggerInboxPlugin = defineMethod({
11766
11775
  resource: { type: "trigger_inbox", id: inboxId }
11767
11776
  }
11768
11777
  );
11769
- return TriggerInboxItemSchema.parse(rawResponse);
11778
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11770
11779
  }
11771
11780
  });
11772
11781
  var DeleteTriggerInboxSchema = zod.z.object({
@@ -11831,7 +11840,7 @@ var pauseTriggerInboxPlugin = defineMethod({
11831
11840
  resource: { type: "trigger_inbox", id: inboxId }
11832
11841
  }
11833
11842
  );
11834
- return TriggerInboxItemSchema.parse(rawResponse);
11843
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11835
11844
  }
11836
11845
  });
11837
11846
  var ResumeTriggerInboxSchema = zod.z.object({
@@ -11862,7 +11871,7 @@ var resumeTriggerInboxPlugin = defineMethod({
11862
11871
  resource: { type: "trigger_inbox", id: inboxId }
11863
11872
  }
11864
11873
  );
11865
- return TriggerInboxItemSchema.parse(rawResponse);
11874
+ return { data: TriggerInboxItemSchema.parse(rawResponse) };
11866
11875
  }
11867
11876
  });
11868
11877
  var TriggerMessageStatusSchema = zod.z.union([zod.z.enum(["available", "leased", "acked", "quarantined"]), zod.z.string()]).describe("Message lifecycle status");
@@ -12051,7 +12060,7 @@ var leaseTriggerInboxMessagesPlugin = defineMethod({
12051
12060
  }
12052
12061
  }
12053
12062
  );
12054
- return LeaseTriggerInboxMessagesItemSchema.parse(rawResponse);
12063
+ return { data: LeaseTriggerInboxMessagesItemSchema.parse(rawResponse) };
12055
12064
  }
12056
12065
  });
12057
12066
  var AckTriggerInboxMessagesSchema = zod.z.object({
@@ -12101,7 +12110,7 @@ var ackTriggerInboxMessagesPlugin = defineMethod({
12101
12110
  requestBody,
12102
12111
  { authRequired: true }
12103
12112
  );
12104
- return AckTriggerInboxMessagesItemSchema.parse(rawResponse);
12113
+ return { data: AckTriggerInboxMessagesItemSchema.parse(rawResponse) };
12105
12114
  }
12106
12115
  });
12107
12116
  var ReleaseTriggerInboxMessagesSchema = zod.z.object({
@@ -12151,7 +12160,7 @@ var releaseTriggerInboxMessagesPlugin = defineMethod({
12151
12160
  requestBody,
12152
12161
  { authRequired: true }
12153
12162
  );
12154
- return ReleaseTriggerInboxMessagesItemSchema.parse(rawResponse);
12163
+ return { data: ReleaseTriggerInboxMessagesItemSchema.parse(rawResponse) };
12155
12164
  }
12156
12165
  });
12157
12166
 
@@ -13179,7 +13188,7 @@ var getTablePlugin = defineMethod({
13179
13188
  resource: { type: "table", id: tableId }
13180
13189
  });
13181
13190
  const response = GetTableApiResponseSchema.parse(rawResponse);
13182
- return transformTableItem(response.data);
13191
+ return { data: transformTableItem(response.data) };
13183
13192
  }
13184
13193
  });
13185
13194
  var DeleteTableDescription = "Delete a table by its ID";
@@ -13239,7 +13248,7 @@ var createTablePlugin = defineMethod({
13239
13248
  { authRequired: true }
13240
13249
  );
13241
13250
  const response = CreateTableApiResponseSchema.parse(rawResponse);
13242
- return transformTableItem(response.data);
13251
+ return { data: transformTableItem(response.data) };
13243
13252
  }
13244
13253
  });
13245
13254
 
@@ -13259,10 +13268,8 @@ var listTableFieldsPlugin = defineMethod({
13259
13268
  imports: [apiPluginRef],
13260
13269
  categories: tableCategories,
13261
13270
  itemType: "Field",
13262
- // A field list, but the API returns no cursor: legacy used the non-paginated
13263
- // createPluginMethod (a `createFunction` boundary returning a bare `{ data }`,
13264
- // not an iterator). `output: "item"` reproduces that exactly (same boundary +
13265
- // hooks; run returns the bare array, framework wraps to `{ data }`); the
13271
+ // A field list, but the API returns no cursor, so `output: "item"` returns
13272
+ // `{ data: FieldItem[] }` directly instead of a paginated iterator; the
13266
13273
  // `type: "list"` first-class field keeps the list presentation.
13267
13274
  type: "list",
13268
13275
  inputSchema: ListTableFieldsOptionsInputSchema,
@@ -13291,7 +13298,7 @@ var listTableFieldsPlugin = defineMethod({
13291
13298
  }
13292
13299
  );
13293
13300
  const response = ListTableFieldsApiResponseSchema.parse(rawResponse);
13294
- return response.data.map(transformFieldItem);
13301
+ return { data: response.data.map(transformFieldItem) };
13295
13302
  }
13296
13303
  });
13297
13304
  var FieldChangesetItemSchema = zod.z.object({
@@ -13336,8 +13343,8 @@ var createTableFieldsPlugin = defineMethod({
13336
13343
  returnType: "FieldItem[]",
13337
13344
  inputSchema: CreateTableFieldsOptionsInputSchema,
13338
13345
  outputSchema: FieldItemSchema,
13339
- // `run` returns the field array; `output: "item"` wraps it in `{ data }` to
13340
- // match the legacy `{ data: FieldItem[] }` surface.
13346
+ // Item output with an array payload: callers get `{ data: FieldItem[] }`
13347
+ // directly rather than a paginated list.
13341
13348
  output: "item",
13342
13349
  formatter: tableFieldItemFormatter,
13343
13350
  resolvers: { table: tableIdResolver, fields: tableFieldsResolver },
@@ -13350,7 +13357,9 @@ var createTableFieldsPlugin = defineMethod({
13350
13357
  { authRequired: true, resource: { type: "table", id: tableId } }
13351
13358
  );
13352
13359
  const response = CreateTableFieldsApiResponseSchema.parse(rawResponse);
13353
- return response.data.map((changeset) => transformFieldItem(changeset.new));
13360
+ return {
13361
+ data: response.data.map((changeset) => transformFieldItem(changeset.new))
13362
+ };
13354
13363
  }
13355
13364
  });
13356
13365
  var DeleteTableFieldsDescription = "Delete one or more fields from a table";
@@ -13491,8 +13500,10 @@ var getTableRecordPlugin = defineMethod({
13491
13500
  keyMode: input.keyMode
13492
13501
  });
13493
13502
  return {
13494
- ...transformRecordItem(response.data),
13495
- data: translator.translateOutput(response.data.data)
13503
+ data: {
13504
+ ...transformRecordItem(response.data),
13505
+ data: translator.translateOutput(response.data.data)
13506
+ }
13496
13507
  };
13497
13508
  }
13498
13509
  });
@@ -13671,8 +13682,8 @@ var createTableRecordsPlugin = defineMethod({
13671
13682
  returnType: "RecordItem[]",
13672
13683
  inputSchema: CreateTableRecordsOptionsInputSchema,
13673
13684
  outputSchema: RecordItemSchema,
13674
- // `run` returns the record array; `output: "item"` wraps it in `{ data }` to
13675
- // match the legacy `{ data: RecordItem[] }` surface.
13685
+ // Item output with an array payload: callers get `{ data: RecordItem[] }`
13686
+ // directly rather than a paginated list.
13676
13687
  output: "item",
13677
13688
  resolvers: { table: tableIdResolver, records: tableRecordsResolver },
13678
13689
  formatter: tableRecordFormatter,
@@ -13698,10 +13709,12 @@ var createTableRecordsPlugin = defineMethod({
13698
13709
  for (const changeset of response.data) {
13699
13710
  throwOnRecordErrors(changeset.new);
13700
13711
  }
13701
- return response.data.map((changeset) => ({
13702
- ...transformRecordItem(changeset.new),
13703
- data: translator.translateOutput(changeset.new.data)
13704
- }));
13712
+ return {
13713
+ data: response.data.map((changeset) => ({
13714
+ ...transformRecordItem(changeset.new),
13715
+ data: translator.translateOutput(changeset.new.data)
13716
+ }))
13717
+ };
13705
13718
  }
13706
13719
  });
13707
13720
  var DeleteTableRecordsDescription = "Delete one or more records from a table";
@@ -13781,8 +13794,8 @@ var updateTableRecordsPlugin = defineMethod({
13781
13794
  returnType: "RecordItem[]",
13782
13795
  inputSchema: UpdateTableRecordsOptionsInputSchema,
13783
13796
  outputSchema: RecordItemSchema,
13784
- // `run` returns the record array; `output: "item"` wraps it in `{ data }` to
13785
- // match the legacy `{ data: RecordItem[] }` surface.
13797
+ // Item output with an array payload: callers get `{ data: RecordItem[] }`
13798
+ // directly rather than a paginated list.
13786
13799
  output: "item",
13787
13800
  resolvers: { table: tableIdResolver, records: tableUpdateRecordsResolver },
13788
13801
  formatter: tableRecordFormatter,
@@ -13809,10 +13822,12 @@ var updateTableRecordsPlugin = defineMethod({
13809
13822
  for (const changeset of response.data) {
13810
13823
  throwOnRecordErrors(changeset.new);
13811
13824
  }
13812
- return response.data.map((changeset) => ({
13813
- ...transformRecordItem(changeset.new),
13814
- data: translator.translateOutput(changeset.new.data)
13815
- }));
13825
+ return {
13826
+ data: response.data.map((changeset) => ({
13827
+ ...transformRecordItem(changeset.new),
13828
+ data: translator.translateOutput(changeset.new.data)
13829
+ }))
13830
+ };
13816
13831
  }
13817
13832
  });
13818
13833
  var RelayRequestSchema = zod.z.object({
@@ -14080,6 +14095,7 @@ function buildErrorEvent(data, context = {}) {
14080
14095
  app_version_id: context.app_version_id,
14081
14096
  environment: context.environment,
14082
14097
  ...data,
14098
+ ...getTtyContext(),
14083
14099
  agent: getAgent(),
14084
14100
  caller_package: context.caller_package ?? null,
14085
14101
  caller_package_version: context.caller_package_version ?? null,
@@ -14129,6 +14145,7 @@ function buildErrorEventWithContext(data, context = {}) {
14129
14145
  environment: context.environment ?? (globalThis.process?.env?.NODE_ENV || null),
14130
14146
  execution_time_before_error_ms: executionTime,
14131
14147
  ...data,
14148
+ ...getTtyContext(),
14132
14149
  agent: getAgent(),
14133
14150
  caller_package: context.caller_package ?? null,
14134
14151
  caller_package_version: context.caller_package_version ?? null,
@@ -14960,7 +14977,7 @@ var getWorkflowPlugin = defineMethod({
14960
14977
  resource: { type: "workflow", id: input.workflow }
14961
14978
  }
14962
14979
  );
14963
- return GetWorkflowResponseSchema.parse(raw);
14980
+ return { data: GetWorkflowResponseSchema.parse(raw) };
14964
14981
  }
14965
14982
  });
14966
14983
  var CreateWorkflowOptionsSchema = zod.z.object({
@@ -15018,7 +15035,7 @@ var createWorkflowPlugin = defineMethod({
15018
15035
  authRequired: true
15019
15036
  }
15020
15037
  );
15021
- return CreateWorkflowResponseSchema.parse(raw);
15038
+ return { data: CreateWorkflowResponseSchema.parse(raw) };
15022
15039
  }
15023
15040
  });
15024
15041
  var UpdateWorkflowOptionsSchema = zod.z.object({
@@ -15070,7 +15087,7 @@ var updateWorkflowPlugin = defineMethod({
15070
15087
  resource: { type: "workflow", id: input.workflow }
15071
15088
  }
15072
15089
  );
15073
- return UpdateWorkflowResponseSchema.parse(raw);
15090
+ return { data: UpdateWorkflowResponseSchema.parse(raw) };
15074
15091
  }
15075
15092
  });
15076
15093
  var EnableWorkflowOptionsSchema = zod.z.object({
@@ -15102,7 +15119,7 @@ var enableWorkflowPlugin = defineMethod({
15102
15119
  resource: { type: "workflow", id: input.workflow }
15103
15120
  }
15104
15121
  );
15105
- return EnableWorkflowResponseSchema.parse(raw);
15122
+ return { data: EnableWorkflowResponseSchema.parse(raw) };
15106
15123
  }
15107
15124
  });
15108
15125
  var DisableWorkflowOptionsSchema = zod.z.object({
@@ -15136,7 +15153,7 @@ var disableWorkflowPlugin = defineMethod({
15136
15153
  resource: { type: "workflow", id: input.workflow }
15137
15154
  }
15138
15155
  );
15139
- return DisableWorkflowResponseSchema.parse(raw);
15156
+ return { data: DisableWorkflowResponseSchema.parse(raw) };
15140
15157
  }
15141
15158
  });
15142
15159
  var DeleteWorkflowOptionsSchema = zod.z.object({
@@ -15359,7 +15376,7 @@ var getDurableRunPlugin = defineMethod({
15359
15376
  resource: { type: "run", id: input.run }
15360
15377
  }
15361
15378
  );
15362
- return GetDurableRunResponseSchema.parse(raw);
15379
+ return { data: GetDurableRunResponseSchema.parse(raw) };
15363
15380
  }
15364
15381
  });
15365
15382
  var RunNotificationEventSchema = zod.z.enum(["started", "progress", "completed", "error", "cancelled"]).describe("Run lifecycle event this notification subscribes to");
@@ -15459,7 +15476,7 @@ var runDurablePlugin = defineMethod({
15459
15476
  const raw = await api.post(`${CODE_SUBSTRATE_RUNNER_API}/runs`, body, {
15460
15477
  authRequired: true
15461
15478
  });
15462
- return RunDurableResponseSchema.parse(raw);
15479
+ return { data: RunDurableResponseSchema.parse(raw) };
15463
15480
  }
15464
15481
  });
15465
15482
  var CancelDurableRunOptionsSchema = zod.z.object({
@@ -15495,7 +15512,7 @@ var cancelDurableRunPlugin = defineMethod({
15495
15512
  resource: { type: "run", id: input.run }
15496
15513
  }
15497
15514
  );
15498
- return { id: input.run, status: "cancelled" };
15515
+ return { data: { id: input.run, status: "cancelled" } };
15499
15516
  }
15500
15517
  });
15501
15518
  var TriggerConfigSchema = zod.z.object({
@@ -15636,7 +15653,7 @@ var publishWorkflowVersionPlugin = defineMethod({
15636
15653
  resource: { type: "workflow", id: input.workflow }
15637
15654
  }
15638
15655
  );
15639
- return PublishWorkflowVersionResponseSchema.parse(raw);
15656
+ return { data: PublishWorkflowVersionResponseSchema.parse(raw) };
15640
15657
  }
15641
15658
  });
15642
15659
  var WorkflowVersionListItemSchema = zod.z.object({
@@ -15752,7 +15769,7 @@ var getWorkflowVersionPlugin = defineMethod({
15752
15769
  resource: { type: "workflow-version", id: input.version }
15753
15770
  }
15754
15771
  );
15755
- return GetWorkflowVersionResponseSchema.parse(raw);
15772
+ return { data: GetWorkflowVersionResponseSchema.parse(raw) };
15756
15773
  }
15757
15774
  });
15758
15775
  var WorkflowRunStatusSchema = zod.z.union([
@@ -15886,7 +15903,7 @@ var getWorkflowRunPlugin = defineMethod({
15886
15903
  resource: { type: "workflow-run", id: input.run }
15887
15904
  }
15888
15905
  );
15889
- return GetWorkflowRunResponseSchema.parse(raw);
15906
+ return { data: GetWorkflowRunResponseSchema.parse(raw) };
15890
15907
  }
15891
15908
  });
15892
15909
  var GetTriggerRunOptionsSchema = zod.z.object({
@@ -15930,7 +15947,7 @@ var getTriggerRunPlugin = defineMethod({
15930
15947
  resource: { type: "workflow-trigger", id: input.trigger }
15931
15948
  }
15932
15949
  );
15933
- return GetTriggerRunResponseSchema.parse(raw);
15950
+ return { data: GetTriggerRunResponseSchema.parse(raw) };
15934
15951
  }
15935
15952
  });
15936
15953
  var TriggerWorkflowLookupResponseSchema = zod.z.object({
@@ -15987,7 +16004,7 @@ var triggerWorkflowPlugin = defineMethod({
15987
16004
  resource: { type: "workflow", id: input.workflow }
15988
16005
  }
15989
16006
  );
15990
- return TriggerWorkflowResponseSchema.parse(raw);
16007
+ return { data: TriggerWorkflowResponseSchema.parse(raw) };
15991
16008
  }
15992
16009
  });
15993
16010
 
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index--H-bce1q.mjs';
2
- export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index--H-bce1q.mjs';
1
+ import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-DxgpC5hV.mjs';
2
+ export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index-DxgpC5hV.mjs';
3
3
  import * as zod from 'zod';
4
4
  import * as zod_v4_core from 'zod/v4/core';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index--H-bce1q.js';
2
- export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index--H-bce1q.js';
1
+ import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ApiClient, b as PluginSummary, c as PaginatedSdkResult, d as ManifestProvider, C as ConnectionsProvider, e as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, f as CoreOptions, g as ActionProxy, h as ZapierSdkApps, D as DeleteTriggerInboxResult, i as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, j as Manifest, E as EventCallback, k as EventEmissionConfig, l as ZapierCache, m as ListActionsOptions, n as ListActionInputFieldsOptions, o as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-DxgpC5hV.js';
2
+ export { dK as API_ID, J as Action, dG as ActionEntry, d3 as ActionExecutionOptions, U as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, bG as ActionItem, ch as ActionKeyProperty, bQ as ActionKeyPropertySchema, ci as ActionProperty, bR as ActionPropertySchema, bq as ActionResolverItem, ct as ActionTimeoutMsProperty, c0 as ActionTimeoutMsPropertySchema, br as ActionTypeItem, cg as ActionTypeProperty, bP as ActionTypePropertySchema, d0 as ApiError, eu as ApiEvent, dI as ApiPluginOptions, K as App, d4 as AppFactoryInput, bE as AppItem, ce as AppKeyProperty, bN as AppKeyPropertySchema, cf as AppProperty, bO as AppPropertySchema, fx as ApplicationLifecycleEventData, cY as ApprovalStatus, cy as AppsProperty, c5 as AppsPropertySchema, aB as ArrayResolver, et as AuthEvent, ef as AuthMechanism, cm as AuthenticationIdProperty, bU as AuthenticationIdPropertySchema, fF as BaseEvent, b9 as BaseSdkOptionsSchema, a_ as BatchOptions, ax as BoundFormatter, eW as CONNECTIONS_ID, ac as CONTEXT, dr as CONTEXT_CACHE_MAX_SIZE, dq as CONTEXT_CACHE_TTL_MS, bd as CORE_ERROR_SYMBOL, b6 as CORE_OPTIONS_ID, bi as CORE_SIGNAL_SYMBOL, aW as CallerContext, Q as Choice, ez as ClientCredentialsObject, eK as ClientCredentialsObjectSchema, $ as Connection, eS as ConnectionEntry, eR as ConnectionEntrySchema, ck as ConnectionIdProperty, bT as ConnectionIdPropertySchema, bF as ConnectionItem, cl as ConnectionProperty, bV as ConnectionPropertySchema, eU as ConnectionsMap, eT as ConnectionsMapSchema, cA as ConnectionsProperty, c7 as ConnectionsPropertySchema, a0 as ConnectionsResponse, aN as ControllerAction, aO as ControllerAnswerFn, aQ as ControllerMethodDescription, aP as ControllerMethodSummary, aR as ControllerParameterDescription, aM as ControllerQuestion, bg as CoreCancelledSignal, aa as CoreDisposeError, be as CoreErrorCode, bf as CoreSignal, ew as Credentials, eP as CredentialsFunction, eO as CredentialsFunctionSchema, ey as CredentialsObject, eM as CredentialsObjectSchema, eQ as CredentialsSchema, f1 as DEFAULT_ACTION_TIMEOUT_MS, fa as DEFAULT_APPROVAL_TIMEOUT_MS, dE as DEFAULT_CONFIG_PATH, fb as DEFAULT_MAX_APPROVAL_RETRIES, f0 as DEFAULT_PAGE_SIZE, bC as DEPRECATION_NOTICE_EVENT, cr as DebugProperty, b_ as DebugPropertySchema, bD as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, q as DrainTriggerInboxSchema, aF as DynamicListResolver, aJ as DynamicMember, aE as DynamicResolver, aG as DynamicSearchResolver, fr as EVENT_EMISSION_ID, fy as EnhancedErrorEventData, cH as ErrorOptions, fw as EventContext, fp as EventEmissionContext, fq as EventEmitter, fv as EventTransport, d5 as FetchPluginProvides, O as Field, cx as FieldsProperty, c4 as FieldsPropertySchema, aH as FieldsResolver, H as FindFirstAuthenticationPluginProvides, I as FindUniqueAuthenticationPluginProvides, aw as FormattedItem, ay as Formatter, b8 as FunctionDeprecation, b7 as FunctionRegistryEntry, z as GetAuthenticationPluginProvides, bI as InfoFieldItem, bH as InputFieldItem, cj as InputFieldProperty, bS as InputFieldPropertySchema, cn as InputsProperty, bW as InputsPropertySchema, bB as JsonSseMessage, cG as LeaseLimitProperty, cd as LeaseLimitPropertySchema, cE as LeaseProperty, cb as LeasePropertySchema, cF as LeaseSecondsProperty, cc as LeaseSecondsPropertySchema, w as LeasedTriggerMessageItem, co as LimitProperty, bX as LimitPropertySchema, dc as ListActionInputFieldsPluginProvides, da as ListActionsPluginProvides, d8 as ListAppsPluginProvides, y as ListAuthenticationsPluginProvides, dg as ListConnectionsPluginProvides, ev as LoadingEvent, dz as MANIFEST_ID, f4 as MAX_CONCURRENCY_LIMIT, e$ as MAX_PAGE_LIMIT, dF as ManifestEntry, dv as ManifestPluginOptions, fG as MethodCalledEvent, fz as MethodCalledEventData, bl as MethodOverridePlugin, aI as ModelResolver, N as Need, Y as NeedsRequest, _ as NeedsResponse, cp as OffsetProperty, bY as OffsetPropertySchema, az as OutputFormatter, cq as OutputProperty, bZ as OutputPropertySchema, bM as PaginatedSdkFunction, cs as ParamsProperty, b$ as ParamsPropertySchema, eA as PkceCredentialsObject, eL as PkceCredentialsObjectSchema, bj as Plugin, p as PluginMeta, bk as PluginProvides, aK as PluginSurface, bw as PollOptions, a3 as PositionalMetadata, dN as RESOLVE_CREDENTIALS_ID, cW as RateLimitInfo, cv as RecordProperty, c2 as RecordPropertySchema, cw as RecordsProperty, c3 as RecordsPropertySchema, b3 as RelayFetchSchema, b2 as RelayRequestSchema, bv as RequestOptions, ee as ResolveAuthTokenOptions, eV as ResolveConnection, dJ as ResolveCredentialsFn, eF as ResolveCredentialsOptions, bs as ResolvedAppLocator, eg as ResolvedAuth, ex as ResolvedCredentials, eN as ResolvedCredentialsSchema, aA as Resolver, aC as ResolverMetadata, bJ as RootFieldItem, dt as RunActionPluginProvides, au as SDK_OPTIONS_ID, es as SdkEvent, bL as SdkPage, bA as SseMessage, aD as StaticResolver, cu as TableProperty, c1 as TablePropertySchema, cz as TablesProperty, c6 as TablesPropertySchema, cC as TriggerInboxKeyProperty, c9 as TriggerInboxKeyPropertySchema, cD as TriggerInboxNameProperty, ca as TriggerInboxNamePropertySchema, cB as TriggerInboxProperty, c8 as TriggerInboxPropertySchema, x as TriggerMessageStatus, dC as UpdateManifestEntryOptions, dD as UpdateManifestEntryResult, a1 as UserProfile, bK as UserProfileItem, r as WatchTriggerInboxSchema, eZ as ZAPIER_BASE_URL, f6 as ZAPIER_MAX_CONCURRENT_REQUESTS, f2 as ZAPIER_MAX_NETWORK_RETRIES, f3 as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cU as ZapierActionError, cN as ZapierApiError, cO as ZapierAppNotFoundError, cZ as ZapierApprovalError, cL as ZapierAuthenticationError, cS as ZapierBundleError, ep as ZapierCacheEntry, eq as ZapierCacheSetOptions, cR as ZapierConfigurationError, cV as ZapierConflictError, cI as ZapierError, cP as ZapierNotFoundError, cX as ZapierRateLimitError, c_ as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cQ as ZapierResourceNotFoundError, d1 as ZapierSignal, cT as ZapierTimeoutError, cK as ZapierUnknownError, cJ as ZapierValidationError, dS as actionKeyResolver, dR as actionTypeResolver, a8 as addPlugin, dM as apiPlugin, dL as apiPluginRef, dQ as appKeyResolver, d2 as appsPlugin, aZ as batch, fA as buildApplicationLifecycleEvent, a$ as buildCapabilityMessage, fC as buildErrorEvent, fB as buildErrorEventWithContext, fE as buildMethodCalledEvent, fo as cleanupEventListeners, eh as clearTokenCache, dY as clientCredentialsNameResolver, dZ as clientIdResolver, bp as composePlugins, dU as connectionIdGenericResolver, dT as connectionIdResolver, eY as connectionsPlugin, eX as connectionsPluginRef, fD as createBaseEvent, di as createClientCredentialsPlugin, aL as createController, a7 as createCorePlugin, a4 as createFunction, er as createMemoryCache, a5 as createPaginatedFunction, bo as createPaginatedPluginMethod, bn as createPluginMethod, a6 as createPluginStack, ab as createSdk, fh as createTableFieldsPlugin, fe as createTablePlugin, fl as createTableRecordsPlugin, bx as createZapierApi, b4 as createZapierSdkWithoutRegistry, an as declareMethod, ap as declareOptionalProperty, ah as declarePlugin, ao as declareProperty, am as defineFormatter, af as defineLegacyMerge, ai as defineMethod, aj as defineMethodOverride, bm as definePlugin, ak as defineProperty, al as defineResolver, dj as deleteClientCredentialsPlugin, fi as deleteTableFieldsPlugin, ff as deleteTablePlugin, fm as deleteTableRecordsPlugin, a9 as disposeSdk, e1 as durableRunIdResolver, fu as eventEmissionHookPlugin, ft as eventEmissionPlugin, fs as eventEmissionPluginRef, d6 as fetchPlugin, dn as findFirstConnectionPlugin, dy as findManifestEntry, dp as findUniqueConnectionPlugin, c$ as formatErrorMessage, ae as fromFunctionPlugin, fH as generateEventId, de as getActionInputFieldsSchemaPlugin, dl as getActionPlugin, bt as getAgent, dk as getAppPlugin, eI as getBaseUrlFromCredentials, aU as getCallerContext, fN as getCiPlatform, eJ as getClientIdFromCredentials, dm as getConnectionPlugin, ag as getContext, bc as getCoreErrorCause, bb as getCoreErrorCode, fP as getCpuTime, fI as getCurrentTimestamp, fO as getMemoryUsage, by as getOrCreateApiClient, fK as getOsInfo, fL as getPlatformVersions, dx as getPreferredManifestEntryKey, dH as getProfilePlugin, as as getRegistryPlugin, fJ as getReleaseId, fd as getTablePlugin, fj as getTableRecordPlugin, el as getTokenFromCliLogin, fQ as getTtyContext, f7 as getZapierApprovalMode, f9 as getZapierDefaultApprovalMode, f8 as getZapierOpenAutoModeApprovalsInBrowser, e_ as getZapierSdkService, ej as injectCliLogin, dX as inputFieldKeyResolver, dW as inputsAllOptionalResolver, dV as inputsResolver, ei as invalidateCachedToken, eo as invalidateCredentialsToken, fM as isCi, ek as isCliLoginAvailable, eB as isClientCredentials, ba as isCoreError, bh as isCoreSignal, eE as isCredentialsFunction, eD as isCredentialsObject, bz as isPermanentHttpError, eC as isPkceCredentials, a2 as isPositional, dd as listActionInputFieldChoicesPlugin, db as listActionInputFieldsPlugin, d9 as listActionsPlugin, d7 as listAppsPlugin, dh as listClientCredentialsPlugin, df as listConnectionsPlugin, fg as listTableFieldsPlugin, fk as listTableRecordsPlugin, fc as listTablesPlugin, b0 as logDeprecation, dB as manifestPlugin, dA as manifestPluginRef, ar as omitExports, f5 as parseConcurrencyEnvVar, dw as readManifestFromFile, bu as registryPlugin, du as requestPlugin, b1 as resetDeprecationWarnings, em as resolveAuth, en as resolveAuthToken, eH as resolveCredentials, eG as resolveCredentialsFromEnv, dP as resolveCredentialsPlugin, dO as resolveCredentialsPluginRef, ad as resolvePlugin, ds as runActionPlugin, aS as runInMethodScope, aV as runWithCallerContext, aT as runWithTelemetryContext, av as sdkOptionsPluginRef, aq as selectExports, e7 as tableFieldIdsResolver, e9 as tableFieldsResolver, ec as tableFiltersResolver, d_ as tableIdResolver, e8 as tableNameResolver, e5 as tableRecordIdResolver, e6 as tableRecordIdsResolver, ea as tableRecordsResolver, ed as tableSortResolver, eb as tableUpdateRecordsResolver, aX as toSnakeCase, aY as toTitleCase, d$ as triggerInboxResolver, e4 as triggerMessagesResolver, fn as updateTableRecordsPlugin, e0 as workflowIdResolver, e3 as workflowRunIdResolver, e2 as workflowVersionIdResolver, cM as zapierAdaptError, b5 as zapierCoreOptions, at as zapierSdkPlugin } from './index-DxgpC5hV.js';
3
3
  import * as zod from 'zod';
4
4
  import * as zod_v4_core from 'zod/v4/core';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';