@zapier/zapier-sdk 0.56.2 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +28 -20
  3. package/dist/experimental.cjs +35 -10
  4. package/dist/experimental.d.mts +12 -2
  5. package/dist/experimental.d.ts +10 -0
  6. package/dist/experimental.d.ts.map +1 -1
  7. package/dist/experimental.mjs +34 -11
  8. package/dist/{index-CjP7lGzL.d.mts → index-eliz1Uq3.d.mts} +38 -1
  9. package/dist/{index-CjP7lGzL.d.ts → index-eliz1Uq3.d.ts} +38 -1
  10. package/dist/index.cjs +35 -10
  11. package/dist/index.d.mts +1 -1
  12. package/dist/index.d.ts +1 -3
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/index.mjs +34 -11
  16. package/dist/plugins/eventEmission/index.d.ts +1 -1
  17. package/dist/plugins/eventEmission/index.d.ts.map +1 -1
  18. package/dist/plugins/tables/createTableFields/index.d.ts +1 -0
  19. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
  20. package/dist/plugins/tables/createTableFields/schemas.d.ts +2 -0
  21. package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
  22. package/dist/plugins/tables/createTableRecords/index.d.ts +1 -0
  23. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
  24. package/dist/plugins/tables/createTableRecords/schemas.d.ts +2 -0
  25. package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
  26. package/dist/plugins/tables/getTableRecord/index.d.ts +1 -0
  27. package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
  28. package/dist/plugins/tables/getTableRecord/schemas.d.ts +3 -0
  29. package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
  30. package/dist/plugins/tables/getTableRecord/schemas.js +2 -0
  31. package/dist/plugins/tables/listTableFields/index.d.ts +3 -0
  32. package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
  33. package/dist/plugins/tables/listTableFields/index.js +3 -0
  34. package/dist/plugins/tables/listTableFields/schemas.d.ts +23 -0
  35. package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
  36. package/dist/plugins/tables/listTableFields/schemas.js +4 -0
  37. package/dist/plugins/tables/listTableRecords/index.d.ts +3 -0
  38. package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
  39. package/dist/plugins/tables/listTableRecords/index.js +7 -1
  40. package/dist/plugins/tables/listTableRecords/schemas.d.ts +21 -0
  41. package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -1
  42. package/dist/plugins/tables/listTableRecords/schemas.js +2 -1
  43. package/dist/plugins/tables/updateTableRecords/index.d.ts +1 -0
  44. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
  45. package/dist/plugins/tables/updateTableRecords/schemas.d.ts +2 -0
  46. package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
  47. package/dist/plugins/tables/utils.d.ts +6 -0
  48. package/dist/plugins/tables/utils.d.ts.map +1 -1
  49. package/dist/plugins/tables/utils.js +6 -0
  50. package/dist/sdk.d.ts +20 -0
  51. package/dist/sdk.d.ts.map +1 -1
  52. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.58.0
4
+
5
+ ### Minor Changes
6
+
7
+ - afbd4b6: Export `eventEmissionPlugin` (and its config/cleanup helpers) from the package root so consumers can compose their own SDK with `createSdk`. The plugin's existing helpers and types are now exposed via the plugin module itself instead of being re-listed in the SDK index.
8
+
9
+ ## 0.57.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 5457bdd: Added a `trash` option to `listTableRecords` and `listTableFields` for controlling soft-deleted item visibility. Accepts `"exclude"` (default, active items only), `"include"` (active and soft-deleted), or `"only"` (soft-deleted items only).
14
+
3
15
  ## 0.56.2
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1408,6 +1408,7 @@ Create one or more fields in a table
1408
1408
  | ​ ↳ `edited_at` | `string` | ❌ | — | |
1409
1409
  | ​ ↳ `options` | `object` | ❌ | — | |
1410
1410
  | ​ ↳ `config` | `object` | ❌ | — | |
1411
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1411
1412
 
1412
1413
  **Example:**
1413
1414
 
@@ -1446,6 +1447,7 @@ Create one or more records in a table
1446
1447
  | ​ ↳ `data` | `object` | ✅ | — | |
1447
1448
  | ​ ↳ `created_at` | `string` | ✅ | — | |
1448
1449
  | ​ ↳ `edited_at` | `string` | ✅ | — | |
1450
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1449
1451
 
1450
1452
  **Example:**
1451
1453
 
@@ -1583,6 +1585,7 @@ Get a single record from a table by ID
1583
1585
  | ​ ↳ `data` | `object` | ✅ | — | |
1584
1586
  | ​ ↳ `created_at` | `string` | ✅ | — | |
1585
1587
  | ​ ↳ `edited_at` | `string` | ✅ | — | |
1588
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1586
1589
 
1587
1590
  **Example:**
1588
1591
 
@@ -1599,11 +1602,12 @@ List fields for a table
1599
1602
 
1600
1603
  **Parameters:**
1601
1604
 
1602
- | Name | Type | Required | Default | Possible Values | Description |
1603
- | ------------ | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------- |
1604
- | `options` | `object` | ✅ | — | — | |
1605
- | ​ ↳ `table` | `string` | ✅ | — | — | The unique identifier of the table |
1606
- | ​ ↳ `fields` | `array` | ❌ | — | — | Fields to operate on. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6). |
1605
+ | Name | Type | Required | Default | Possible Values | Description |
1606
+ | ------------ | -------- | -------- | ------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1607
+ | `options` | `object` | ✅ | — | — | |
1608
+ | ​ ↳ `table` | `string` | ✅ | — | — | The unique identifier of the table |
1609
+ | ​ ↳ `fields` | `array` | ❌ | — | — | Fields to operate on. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6). |
1610
+ | ​ ↳ `trash` | `string` | ❌ | — | `exclude`, `include`, `only` | Control soft-deleted item visibility. "exclude" (default) returns active items only, "include" returns both active and soft-deleted, "only" returns soft-deleted items only. |
1607
1611
 
1608
1612
  **Returns:** `Promise<PaginatedResult<FieldItem>>`
1609
1613
 
@@ -1617,6 +1621,7 @@ List fields for a table
1617
1621
  | ​ ↳ `edited_at` | `string` | ❌ | — | |
1618
1622
  | ​ ↳ `options` | `object` | ❌ | — | |
1619
1623
  | ​ ↳ `config` | `object` | ❌ | — | |
1624
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1620
1625
  | `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
1621
1626
 
1622
1627
  **Example:**
@@ -1650,21 +1655,22 @@ List records in a table with optional filtering and sorting
1650
1655
 
1651
1656
  **Parameters:**
1652
1657
 
1653
- | Name | Type | Required | Default | Possible Values | Description |
1654
- | ----------------- | ---------- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
1655
- | `options` | `object` | ✅ | — | — | |
1656
- | ​ ↳ `table` | `string` | ✅ | — | — | The unique identifier of the table |
1657
- | ​ ↳ `filters[]` | `object[]` | ❌ | — | — | Filter conditions for the query |
1658
- | ​   ↳ `fieldKey` | `string` | ✅ | — | — | The field key to filter on (e.g. f1, f2) |
1659
- | ​   ↳ `operator` | `string` | ✅ | — | `exact`, `different`, `contains`, `icontains`, `gte`, `gt`, `lt`, `lte`, `range`, `in`, `isnull`, `startswith`, `search`, `is_within` | The comparison operator |
1660
- | ​   ↳ `value` | `string` | ❌ | — | — | The value to compare against |
1661
- | ​ ↳ `sort` | `object` | ❌ | — | — | Sort records by a field |
1662
- | ​   ↳ `fieldKey` | `string` | ✅ | — | — | The field key to sort by |
1663
- | ​   ↳ `direction` | `string` | ❌ | `"asc"` | — | Sort direction |
1664
- | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of records per page (max 1000) |
1665
- | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
1666
- | ​ ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
1667
- | ​ ↳ `keyMode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
1658
+ | Name | Type | Required | Default | Possible Values | Description |
1659
+ | ----------------- | ---------- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1660
+ | `options` | `object` | ✅ | — | — | |
1661
+ | ​ ↳ `table` | `string` | ✅ | — | — | The unique identifier of the table |
1662
+ | ​ ↳ `filters[]` | `object[]` | ❌ | — | — | Filter conditions for the query |
1663
+ | ​   ↳ `fieldKey` | `string` | ✅ | — | — | The field key to filter on (e.g. f1, f2) |
1664
+ | ​   ↳ `operator` | `string` | ✅ | — | `exact`, `different`, `contains`, `icontains`, `gte`, `gt`, `lt`, `lte`, `range`, `in`, `isnull`, `startswith`, `search`, `is_within` | The comparison operator |
1665
+ | ​   ↳ `value` | `string` | ❌ | — | — | The value to compare against |
1666
+ | ​ ↳ `sort` | `object` | ❌ | — | — | Sort records by a field |
1667
+ | ​   ↳ `fieldKey` | `string` | ✅ | — | — | The field key to sort by |
1668
+ | ​   ↳ `direction` | `string` | ❌ | `"asc"` | — | Sort direction |
1669
+ | ​ ↳ `pageSize` | `number` | ❌ | — | — | Number of records per page (max 1000) |
1670
+ | ​ ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
1671
+ | ​ ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
1672
+ | ​ ↳ `keyMode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
1673
+ | ​ ↳ `trash` | `string` | ❌ | — | `exclude`, `include`, `only` | Control soft-deleted item visibility. "exclude" (default) returns active items only, "include" returns both active and soft-deleted, "only" returns soft-deleted items only. |
1668
1674
 
1669
1675
  **Returns:** `Promise<PaginatedResult<RecordItem>>`
1670
1676
 
@@ -1675,6 +1681,7 @@ List records in a table with optional filtering and sorting
1675
1681
  | ​ ↳ `data` | `object` | ✅ | — | |
1676
1682
  | ​ ↳ `created_at` | `string` | ✅ | — | |
1677
1683
  | ​ ↳ `edited_at` | `string` | ✅ | — | |
1684
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1678
1685
  | `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
1679
1686
 
1680
1687
  **Example:**
@@ -1777,6 +1784,7 @@ Update one or more records in a table
1777
1784
  | ​ ↳ `data` | `object` | ✅ | — | |
1778
1785
  | ​ ↳ `created_at` | `string` | ✅ | — | |
1779
1786
  | ​ ↳ `edited_at` | `string` | ✅ | — | |
1787
+ | ​ ↳ `deleted_at` | `string` | ❌ | — | |
1780
1788
 
1781
1789
  **Example:**
1782
1790
 
@@ -2885,7 +2885,7 @@ async function invalidateCredentialsToken(options) {
2885
2885
  }
2886
2886
 
2887
2887
  // src/sdk-version.ts
2888
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.56.2" : void 0) || "unknown";
2888
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.58.0" : void 0) || "unknown";
2889
2889
 
2890
2890
  // src/utils/open-url.ts
2891
2891
  var nodePrefix = "node:";
@@ -4327,7 +4327,8 @@ function transformFieldItem(apiItem) {
4327
4327
  created_at: apiItem.created_at,
4328
4328
  edited_at: apiItem.edited_at,
4329
4329
  options: apiItem.options,
4330
- config: apiItem.config
4330
+ config: apiItem.config,
4331
+ deleted_at: apiItem.deleted_at
4331
4332
  };
4332
4333
  }
4333
4334
  function transformRecordItem(apiItem) {
@@ -4335,7 +4336,8 @@ function transformRecordItem(apiItem) {
4335
4336
  id: apiItem.id,
4336
4337
  data: apiItem.data,
4337
4338
  created_at: apiItem.created_at,
4338
- edited_at: apiItem.edited_at
4339
+ edited_at: apiItem.edited_at,
4340
+ deleted_at: apiItem.deleted_at
4339
4341
  };
4340
4342
  }
4341
4343
  function formatRecordError(fieldId, err) {
@@ -4379,6 +4381,9 @@ function throwOnResponseErrors(response) {
4379
4381
  var KeyModeSchema = zod.z.enum(["names", "ids"]).optional().default("names").describe(
4380
4382
  'How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2).'
4381
4383
  );
4384
+ var TrashSchema = zod.z.enum(["exclude", "include", "only"]).optional().describe(
4385
+ 'Control soft-deleted item visibility. "exclude" (default) returns active items only, "include" returns both active and soft-deleted, "only" returns soft-deleted items only.'
4386
+ );
4382
4387
  var FIELD_ID_PATTERN = /^f\d+$/;
4383
4388
  function isFieldId(key) {
4384
4389
  return FIELD_ID_PATTERN.test(key);
@@ -4629,7 +4634,8 @@ var FieldApiItemSchema = zod.z.object({
4629
4634
  config: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
4630
4635
  is_order_field: zod.z.boolean().optional(),
4631
4636
  is_filter_field: zod.z.boolean().optional(),
4632
- is_selected_field: zod.z.boolean().optional()
4637
+ is_selected_field: zod.z.boolean().optional(),
4638
+ deleted_at: zod.z.string().nullable().optional()
4633
4639
  });
4634
4640
  var ListTableFieldsApiResponseSchema = zod.z.object({
4635
4641
  data: zod.z.array(FieldApiItemSchema)
@@ -4641,7 +4647,8 @@ var FieldItemSchemaBase = zod.z.object({
4641
4647
  created_at: zod.z.string().optional(),
4642
4648
  edited_at: zod.z.string().optional(),
4643
4649
  options: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
4644
- config: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
4650
+ config: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
4651
+ deleted_at: zod.z.string().nullable().optional()
4645
4652
  });
4646
4653
  var FieldItemSchema = withFormatter(FieldItemSchemaBase, {
4647
4654
  format: (item) => ({
@@ -4655,7 +4662,8 @@ var ListTableFieldsOptionsBaseSchema = zod.z.object({
4655
4662
  fields: FieldsPropertySchema.optional(),
4656
4663
  fieldKeys: zod.z.array(zod.z.union([zod.z.string(), zod.z.number()])).optional().describe(
4657
4664
  'Filter by specific fields. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6).'
4658
- ).meta({ deprecated: true })
4665
+ ).meta({ deprecated: true }),
4666
+ trash: TrashSchema
4659
4667
  });
4660
4668
  var ListTableFieldsOptionsSchema = zod.z.object({
4661
4669
  table: TablePropertySchema
@@ -7082,6 +7090,9 @@ var listTableFieldsPlugin = definePlugin(
7082
7090
  });
7083
7091
  searchParams.field_ids = numericIds.join(",");
7084
7092
  }
7093
+ if (options.trash) {
7094
+ searchParams.trash = options.trash;
7095
+ }
7085
7096
  const rawResponse = await api.get(
7086
7097
  `/tables/api/v1/tables/${tableId}/fields`,
7087
7098
  {
@@ -7212,13 +7223,15 @@ var RecordApiItemSchema = zod.z.object({
7212
7223
  schema_revision_id: zod.z.number(),
7213
7224
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
7214
7225
  orig_data: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
7215
- is_source_record: zod.z.boolean().nullable().optional()
7226
+ is_source_record: zod.z.boolean().nullable().optional(),
7227
+ deleted_at: zod.z.string().nullable().optional()
7216
7228
  });
7217
7229
  var RecordItemSchemaBase = zod.z.object({
7218
7230
  id: zod.z.string(),
7219
7231
  data: zod.z.record(zod.z.string(), zod.z.unknown()),
7220
7232
  created_at: zod.z.string(),
7221
- edited_at: zod.z.string()
7233
+ edited_at: zod.z.string(),
7234
+ deleted_at: zod.z.string().nullable().optional()
7222
7235
  });
7223
7236
  var RecordItemSchema = withFormatter(RecordItemSchemaBase, {
7224
7237
  format: (item) => ({
@@ -7348,7 +7361,8 @@ var ListTableRecordsBase = zod.z.object({
7348
7361
  pageSize: zod.z.number().min(1).max(1e3).optional().describe("Number of records per page (max 1000)"),
7349
7362
  maxItems: zod.z.number().min(1).optional().describe("Maximum total items to return across all pages"),
7350
7363
  cursor: zod.z.string().optional().describe("Cursor to start from"),
7351
- keyMode: KeyModeSchema
7364
+ keyMode: KeyModeSchema,
7365
+ trash: TrashSchema
7352
7366
  });
7353
7367
  var ListTableRecordsOptionsSchema = zod.z.object({
7354
7368
  table: TablePropertySchema
@@ -7413,11 +7427,17 @@ var listTableRecordsPlugin = definePlugin(
7413
7427
  start_cursor: options.cursor
7414
7428
  };
7415
7429
  }
7430
+ const searchParams = {
7431
+ allow_nested_queries: "true"
7432
+ };
7433
+ if (options.trash) {
7434
+ searchParams.trash = options.trash;
7435
+ }
7416
7436
  const rawResponse = await api.post(
7417
7437
  `/tables/api/v1/tables/${tableId}/records/query`,
7418
7438
  body,
7419
7439
  {
7420
- searchParams: { allow_nested_queries: "true" },
7440
+ searchParams,
7421
7441
  authRequired: true,
7422
7442
  resource: { type: "table", id: tableId }
7423
7443
  }
@@ -8528,6 +8548,9 @@ function removeExistingListeners() {
8528
8548
  }
8529
8549
  registeredListeners = {};
8530
8550
  }
8551
+ function cleanupEventListeners() {
8552
+ removeExistingListeners();
8553
+ }
8531
8554
  var APPLICATION_LIFECYCLE_EVENT_SUBJECT = "platform.sdk.ApplicationLifecycleEvent";
8532
8555
  var ERROR_OCCURRED_EVENT_SUBJECT = "platform.sdk.ErrorOccurredEvent";
8533
8556
  var METHOD_CALLED_EVENT_SUBJECT = "platform.sdk.MethodCalledEvent";
@@ -10717,6 +10740,7 @@ exports.buildCapabilityMessage = buildCapabilityMessage;
10717
10740
  exports.buildErrorEvent = buildErrorEvent;
10718
10741
  exports.buildErrorEventWithContext = buildErrorEventWithContext;
10719
10742
  exports.buildMethodCalledEvent = buildMethodCalledEvent;
10743
+ exports.cleanupEventListeners = cleanupEventListeners;
10720
10744
  exports.clearTokenCache = clearTokenCache;
10721
10745
  exports.clientCredentialsNameResolver = clientCredentialsNameResolver;
10722
10746
  exports.clientIdResolver = clientIdResolver;
@@ -10743,6 +10767,7 @@ exports.deleteClientCredentialsPlugin = deleteClientCredentialsPlugin;
10743
10767
  exports.deleteTableFieldsPlugin = deleteTableFieldsPlugin;
10744
10768
  exports.deleteTablePlugin = deleteTablePlugin;
10745
10769
  exports.deleteTableRecordsPlugin = deleteTableRecordsPlugin;
10770
+ exports.eventEmissionPlugin = eventEmissionPlugin;
10746
10771
  exports.fetchPlugin = fetchPlugin;
10747
10772
  exports.findFirstConnectionPlugin = findFirstConnectionPlugin;
10748
10773
  exports.findManifestEntry = findManifestEntry;
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, W as WithAddPlugin, P as PluginMeta, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, M as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, b as AddActionEntryOptions, c as AddActionEntryResult, d as ActionEntry, f as findManifestEntry, r as readManifestFromFile, C as CapabilitiesContext, e as PaginatedSdkResult, F as FieldsetItem, g as PositionalMetadata, h as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, i as DynamicResolver, j as WatchTriggerInboxOptions, k as ActionProxy, l as ZapierSdkApps } from './index-CjP7lGzL.mjs';
2
- export { u as Action, ci as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aW as ActionItem, bx as ActionKeyProperty, b5 as ActionKeyPropertySchema, by as ActionProperty, b6 as ActionPropertySchema, as as ActionResolverItem, bJ as ActionTimeoutMsProperty, bh as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bw as ActionTypeProperty, b4 as ActionTypePropertySchema, bW as ApiError, dE as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, v as App, cj as AppFactoryInput, aU as AppItem, bu as AppKeyProperty, b2 as AppKeyPropertySchema, bv as AppProperty, b3 as AppPropertySchema, aD as ApplicationLifecycleEventData, cb as ApprovalStatus, ch as AppsPluginProvides, bO as AppsProperty, bm as AppsPropertySchema, a0 as ArrayResolver, dD as AuthEvent, bC as AuthenticationIdProperty, b9 as AuthenticationIdPropertySchema, az as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, x as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, K as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bA as ConnectionIdProperty, b8 as ConnectionIdPropertySchema, aV as ConnectionItem, bB as ConnectionProperty, ba as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, e5 as ConnectionsPluginProvides, bQ as ConnectionsProperty, bo as ConnectionsPropertySchema, O as ConnectionsResponse, cB as CreateClientCredentialsPluginProvides, ev as CreateTableFieldsPluginProvides, ep as CreateTablePluginProvides, eD as CreateTableRecordsPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ea as DEFAULT_ACTION_TIMEOUT_MS, ei as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e9 as DEFAULT_PAGE_SIZE, bH as DebugProperty, bf as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, ex as DeleteTableFieldsPluginProvides, er as DeleteTablePluginProvides, eF as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, a3 as DynamicListResolver, a4 as DynamicSearchResolver, aE as EnhancedErrorEventData, bX as ErrorOptions, dG as EventCallback, aC as EventContext, aB as EventEmissionProvides, cl as FetchPluginProvides, w as Field, bN as FieldsProperty, bl as FieldsPropertySchema, a5 as FieldsResolver, s as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, a$ as FunctionOptions, aj as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, G as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, en as GetTablePluginProvides, ez as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, bz as InputFieldProperty, b7 as InputFieldPropertySchema, bD as InputsProperty, bb as InputsPropertySchema, bV as LeaseLimitProperty, bt as LeaseLimitPropertySchema, bT as LeaseProperty, br as LeasePropertySchema, bU as LeaseSecondsProperty, bs as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bE as LimitProperty, bc as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, et as ListTableFieldsPluginProvides, eB as ListTableRecordsPluginProvides, el as ListTablesPluginProvides, dF as LoadingEvent, ed as MAX_CONCURRENCY_LIMIT, e8 as MAX_PAGE_LIMIT, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, aA as MethodCalledEvent, aF as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bF as OffsetProperty, bd as OffsetPropertySchema, _ as OutputFormatter, bG as OutputProperty, be as OutputPropertySchema, b1 as PaginatedSdkFunction, bI as ParamsProperty, bg as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, am as Plugin, an as PluginProvides, aw as PollOptions, c9 as RateLimitInfo, bL as RecordProperty, bj as RecordPropertySchema, bM as RecordsProperty, bk as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cT as RequestPluginProvides, dq as ResolveAuthTokenOptions, dQ as ResolveCredentialsOptions, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dC as SdkEvent, b0 as SdkPage, a2 as StaticResolver, bK as TableProperty, bi as TablePropertySchema, bP as TablesProperty, bn as TablesPropertySchema, bS as TriggerInboxNameProperty, bq as TriggerInboxNamePropertySchema, bR as TriggerInboxProperty, bp as TriggerInboxPropertySchema, T as TriggerMessageStatus, eH as UpdateTableRecordsPluginProvides, Q as UserProfile, a_ as UserProfileItem, e6 as ZAPIER_BASE_URL, ef as ZAPIER_MAX_CONCURRENT_REQUESTS, eb as ZAPIER_MAX_NETWORK_RETRIES, ec as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, c7 as ZapierActionError, bZ as ZapierApiError, b_ as ZapierAppNotFoundError, cc as ZapierApprovalError, c1 as ZapierAuthenticationError, c5 as ZapierBundleError, dy as ZapierCache, dz as ZapierCacheEntry, dA as ZapierCacheSetOptions, c4 as ZapierConfigurationError, c8 as ZapierConflictError, bY as ZapierError, c2 as ZapierNotFoundError, ca as ZapierRateLimitError, cd as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, c3 as ZapierResourceNotFoundError, cf as ZapierSignal, c6 as ZapierTimeoutError, c0 as ZapierUnknownError, b$ as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, a9 as batch, aP as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, aR as buildErrorEvent, aQ as buildErrorEventWithContext, aT as buildMethodCalledEvent, dr as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, ar as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e4 as connectionsPlugin, aS as createBaseEvent, cA as createClientCredentialsPlugin, V as createFunction, dB as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, eu as createTableFieldsPlugin, eo as createTablePlugin, eC as createTableRecordsPlugin, ax as createZapierApi, ag as createZapierSdkWithoutRegistry, ao as definePlugin, cC as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, eq as deleteTablePlugin, eE as deleteTableRecordsPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, cM as findUniqueConnectionPlugin, ce as formatErrorMessage, aG as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, cE as getAppPlugin, dT as getBaseUrlFromCredentials, aM as getCiPlatform, dU as getClientIdFromCredentials, cI as getConnectionPlugin, aO as getCpuTime, aH as getCurrentTimestamp, aN as getMemoryUsage, ay as getOrCreateApiClient, aJ as getOsInfo, aK as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, aI as getReleaseId, em as getTablePlugin, ey as getTableRecordPlugin, dv as getTokenFromCliLogin, eg as getZapierApprovalMode, eh as getZapierDefaultApprovalMode, e7 as getZapierSdkService, dt as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, ds as invalidateCachedToken, dx as invalidateCredentialsToken, aL as isCi, du as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, dN as isPkceCredentials, S as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, es as listTableFieldsPlugin, eA as listTableRecordsPlugin, ek as listTablesPlugin, ac as logDeprecation, cW as manifestPlugin, ee as parseConcurrencyEnvVar, au as registryPlugin, cS as requestPlugin, ad as resetDeprecationWarnings, dw as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cQ as runActionPlugin, a6 as runWithTelemetryContext, di as tableFieldIdsResolver, dk as tableFieldsResolver, dn as tableFiltersResolver, dd as tableIdResolver, dj as tableNameResolver, dg as tableRecordIdResolver, dh as tableRecordIdsResolver, dl as tableRecordsResolver, dp as tableSortResolver, dm as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, de as triggerInboxResolver, df as triggerMessagesResolver, eG as updateTableRecordsPlugin } from './index-CjP7lGzL.mjs';
1
+ import { B as BaseSdkOptions, W as WithAddPlugin, P as PluginMeta, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, M as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, b as AddActionEntryOptions, c as AddActionEntryResult, d as ActionEntry, f as findManifestEntry, r as readManifestFromFile, C as CapabilitiesContext, e as PaginatedSdkResult, F as FieldsetItem, g as PositionalMetadata, h as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, i as DynamicResolver, j as WatchTriggerInboxOptions, k as ActionProxy, l as ZapierSdkApps } from './index-eliz1Uq3.mjs';
2
+ export { u as Action, bZ as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aB as ActionItem, bc as ActionKeyProperty, aM as ActionKeyPropertySchema, bd as ActionProperty, aN as ActionPropertySchema, as as ActionResolverItem, bo as ActionTimeoutMsProperty, aY as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bb as ActionTypeProperty, aL as ActionTypePropertySchema, bB as ApiError, di as ApiEvent, cH as ApiPluginOptions, cJ as ApiPluginProvides, v as App, b_ as AppFactoryInput, az as AppItem, b9 as AppKeyProperty, aJ as AppKeyPropertySchema, ba as AppProperty, aK as AppPropertySchema, es as ApplicationLifecycleEventData, bS as ApprovalStatus, bY as AppsPluginProvides, bt as AppsProperty, b1 as AppsPropertySchema, a0 as ArrayResolver, dh as AuthEvent, bh as AuthenticationIdProperty, aQ as AuthenticationIdPropertySchema, eA as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cu as CONTEXT_CACHE_MAX_SIZE, ct as CONTEXT_CACHE_TTL_MS, x as Choice, dp as ClientCredentialsObject, dA as ClientCredentialsObjectSchema, K as Connection, dI as ConnectionEntry, dH as ConnectionEntrySchema, bf as ConnectionIdProperty, aP as ConnectionIdPropertySchema, aA as ConnectionItem, bg as ConnectionProperty, aR as ConnectionPropertySchema, dK as ConnectionsMap, dJ as ConnectionsMapSchema, dM as ConnectionsPluginProvides, bv as ConnectionsProperty, b3 as ConnectionsPropertySchema, O as ConnectionsResponse, cg as CreateClientCredentialsPluginProvides, ea as CreateTableFieldsPluginProvides, e4 as CreateTablePluginProvides, ei as CreateTableRecordsPluginProvides, dl as Credentials, dF as CredentialsFunction, dE as CredentialsFunctionSchema, dn as CredentialsObject, dC as CredentialsObjectSchema, dG as CredentialsSchema, dR as DEFAULT_ACTION_TIMEOUT_MS, dZ as DEFAULT_APPROVAL_TIMEOUT_MS, cD as DEFAULT_CONFIG_PATH, d_ as DEFAULT_MAX_APPROVAL_RETRIES, dQ as DEFAULT_PAGE_SIZE, bm as DebugProperty, aW as DebugPropertySchema, ci as DeleteClientCredentialsPluginProvides, ec as DeleteTableFieldsPluginProvides, e6 as DeleteTablePluginProvides, ek as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, a3 as DynamicListResolver, a4 as DynamicSearchResolver, et as EnhancedErrorEventData, bC as ErrorOptions, dk as EventCallback, er as EventContext, eo as EventEmissionConfig, eq as EventEmissionProvides, c0 as FetchPluginProvides, w as Field, bs as FieldsProperty, b0 as FieldsPropertySchema, a5 as FieldsResolver, s as FindFirstAuthenticationPluginProvides, cq as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cs as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, aG as FunctionOptions, aj as FunctionRegistryEntry, ca as GetActionInputFieldsSchemaPluginProvides, cm as GetActionPluginProvides, ck as GetAppPluginProvides, G as GetAuthenticationPluginProvides, co as GetConnectionPluginProvides, cG as GetProfilePluginProvides, e2 as GetTablePluginProvides, ee as GetTableRecordPluginProvides, aD as InfoFieldItem, aC as InputFieldItem, be as InputFieldProperty, aO as InputFieldPropertySchema, bi as InputsProperty, aS as InputsPropertySchema, bA as LeaseLimitProperty, b8 as LeaseLimitPropertySchema, by as LeaseProperty, b6 as LeasePropertySchema, bz as LeaseSecondsProperty, b7 as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bj as LimitProperty, aT as LimitPropertySchema, c8 as ListActionInputFieldChoicesPluginProvides, c6 as ListActionInputFieldsPluginProvides, c4 as ListActionsPluginProvides, c2 as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, ce as ListClientCredentialsPluginProvides, cc as ListConnectionsPluginProvides, e8 as ListTableFieldsPluginProvides, eg as ListTableRecordsPluginProvides, e0 as ListTablesPluginProvides, dj as LoadingEvent, dU as MAX_CONCURRENCY_LIMIT, dP as MAX_PAGE_LIMIT, cE as ManifestEntry, cz as ManifestPluginOptions, cC as ManifestPluginProvides, eB as MethodCalledEvent, eu as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bk as OffsetProperty, aU as OffsetPropertySchema, _ as OutputFormatter, bl as OutputProperty, aV as OutputPropertySchema, aI as PaginatedSdkFunction, bn as ParamsProperty, aX as ParamsPropertySchema, dq as PkceCredentialsObject, dB as PkceCredentialsObjectSchema, am as Plugin, an as PluginProvides, aw as PollOptions, bQ as RateLimitInfo, bq as RecordProperty, a_ as RecordPropertySchema, br as RecordsProperty, a$ as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cy as RequestPluginProvides, d4 as ResolveAuthTokenOptions, dv as ResolveCredentialsOptions, dm as ResolvedCredentials, dD as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aE as RootFieldItem, cw as RunActionPluginProvides, dg as SdkEvent, aH as SdkPage, a2 as StaticResolver, bp as TableProperty, aZ as TablePropertySchema, bu as TablesProperty, b2 as TablesPropertySchema, bx as TriggerInboxNameProperty, b5 as TriggerInboxNamePropertySchema, bw as TriggerInboxProperty, b4 as TriggerInboxPropertySchema, T as TriggerMessageStatus, em as UpdateTableRecordsPluginProvides, Q as UserProfile, aF as UserProfileItem, dN as ZAPIER_BASE_URL, dW as ZAPIER_MAX_CONCURRENT_REQUESTS, dS as ZAPIER_MAX_NETWORK_RETRIES, dT as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, bO as ZapierActionError, bE as ZapierApiError, bF as ZapierAppNotFoundError, bT as ZapierApprovalError, bI as ZapierAuthenticationError, bM as ZapierBundleError, dc as ZapierCache, dd as ZapierCacheEntry, de as ZapierCacheSetOptions, bL as ZapierConfigurationError, bP as ZapierConflictError, bD as ZapierError, bJ as ZapierNotFoundError, bR as ZapierRateLimitError, bU as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bK as ZapierResourceNotFoundError, bW as ZapierSignal, bN as ZapierTimeoutError, bH as ZapierUnknownError, bG as ZapierValidationError, cM as actionKeyResolver, cL as actionTypeResolver, cI as apiPlugin, cK as appKeyResolver, bX as appsPlugin, cO as authenticationIdGenericResolver, cN as authenticationIdResolver, a9 as batch, ev as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, ex as buildErrorEvent, ew as buildErrorEventWithContext, ez as buildMethodCalledEvent, en as cleanupEventListeners, d5 as clearTokenCache, cS as clientCredentialsNameResolver, cT as clientIdResolver, ar as composePlugins, cO as connectionIdGenericResolver, cN as connectionIdResolver, dL as connectionsPlugin, ey as createBaseEvent, cf as createClientCredentialsPlugin, V as createFunction, df as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, e9 as createTableFieldsPlugin, e3 as createTablePlugin, eh as createTableRecordsPlugin, ax as createZapierApi, ag as createZapierSdkWithoutRegistry, ao as definePlugin, ch as deleteClientCredentialsPlugin, eb as deleteTableFieldsPlugin, e5 as deleteTablePlugin, ej as deleteTableRecordsPlugin, ep as eventEmissionPlugin, b$ as fetchPlugin, cp as findFirstConnectionPlugin, cr as findUniqueConnectionPlugin, bV as formatErrorMessage, eC as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cl as getActionPlugin, cj as getAppPlugin, dy as getBaseUrlFromCredentials, eI as getCiPlatform, dz as getClientIdFromCredentials, cn as getConnectionPlugin, eK as getCpuTime, eD as getCurrentTimestamp, eJ as getMemoryUsage, ay as getOrCreateApiClient, eF as getOsInfo, eG as getPlatformVersions, cA as getPreferredManifestEntryKey, cF as getProfilePlugin, eE as getReleaseId, e1 as getTablePlugin, ed as getTableRecordPlugin, d9 as getTokenFromCliLogin, dX as getZapierApprovalMode, dY as getZapierDefaultApprovalMode, dO as getZapierSdkService, d7 as injectCliLogin, cR as inputFieldKeyResolver, cQ as inputsAllOptionalResolver, cP as inputsResolver, d6 as invalidateCachedToken, db as invalidateCredentialsToken, eH as isCi, d8 as isCliLoginAvailable, dr as isClientCredentials, du as isCredentialsFunction, dt as isCredentialsObject, ds as isPkceCredentials, S as isPositional, c7 as listActionInputFieldChoicesPlugin, c5 as listActionInputFieldsPlugin, c3 as listActionsPlugin, c1 as listAppsPlugin, cd as listClientCredentialsPlugin, cb as listConnectionsPlugin, e7 as listTableFieldsPlugin, ef as listTableRecordsPlugin, d$ as listTablesPlugin, ac as logDeprecation, cB as manifestPlugin, dV as parseConcurrencyEnvVar, au as registryPlugin, cx as requestPlugin, ad as resetDeprecationWarnings, da as resolveAuthToken, dx as resolveCredentials, dw as resolveCredentialsFromEnv, cv as runActionPlugin, a6 as runWithTelemetryContext, cZ as tableFieldIdsResolver, c$ as tableFieldsResolver, d2 as tableFiltersResolver, cU as tableIdResolver, c_ as tableNameResolver, cX as tableRecordIdResolver, cY as tableRecordIdsResolver, d0 as tableRecordsResolver, d3 as tableSortResolver, d1 as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, cV as triggerInboxResolver, cW as triggerMessagesResolver, el as updateTableRecordsPlugin } from './index-eliz1Uq3.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';
@@ -2054,10 +2054,12 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2054
2054
  table: string;
2055
2055
  fields?: (string | number)[] | undefined;
2056
2056
  fieldKeys?: (string | number)[] | undefined;
2057
+ trash?: "exclude" | "include" | "only" | undefined;
2057
2058
  } | {
2058
2059
  tableId: string;
2059
2060
  fields?: (string | number)[] | undefined;
2060
2061
  fieldKeys?: (string | number)[] | undefined;
2062
+ trash?: "exclude" | "include" | "only" | undefined;
2061
2063
  } | undefined) => Promise<{
2062
2064
  data: {
2063
2065
  id: string;
@@ -2067,6 +2069,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2067
2069
  edited_at?: string | undefined;
2068
2070
  options?: Record<string, unknown> | undefined;
2069
2071
  config?: Record<string, unknown> | undefined;
2072
+ deleted_at?: string | null | undefined;
2070
2073
  }[];
2071
2074
  }>;
2072
2075
  } & {
@@ -2101,6 +2104,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2101
2104
  edited_at?: string | undefined;
2102
2105
  options?: Record<string, unknown> | undefined;
2103
2106
  config?: Record<string, unknown> | undefined;
2107
+ deleted_at?: string | null | undefined;
2104
2108
  }[];
2105
2109
  }>;
2106
2110
  } & {
@@ -2140,6 +2144,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2140
2144
  id: string;
2141
2145
  created_at: string;
2142
2146
  edited_at: string;
2147
+ deleted_at?: string | null | undefined;
2143
2148
  };
2144
2149
  }>;
2145
2150
  } & {
@@ -2164,6 +2169,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2164
2169
  pageSize?: number | undefined;
2165
2170
  maxItems?: number | undefined;
2166
2171
  cursor?: string | undefined;
2172
+ trash?: "exclude" | "include" | "only" | undefined;
2167
2173
  } | {
2168
2174
  tableId: string;
2169
2175
  keyMode: "names" | "ids";
@@ -2179,6 +2185,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2179
2185
  pageSize?: number | undefined;
2180
2186
  maxItems?: number | undefined;
2181
2187
  cursor?: string | undefined;
2188
+ trash?: "exclude" | "include" | "only" | undefined;
2182
2189
  }) & {
2183
2190
  cursor?: string;
2184
2191
  pageSize?: number;
@@ -2188,6 +2195,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2188
2195
  data: Record<string, unknown>;
2189
2196
  created_at: string;
2190
2197
  edited_at: string;
2198
+ deleted_at?: string | null | undefined;
2191
2199
  }>;
2192
2200
  } & {
2193
2201
  context: {
@@ -2214,6 +2222,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2214
2222
  id: string;
2215
2223
  created_at: string;
2216
2224
  edited_at: string;
2225
+ deleted_at?: string | null | undefined;
2217
2226
  }[];
2218
2227
  }>;
2219
2228
  } & {
@@ -2259,6 +2268,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
2259
2268
  id: string;
2260
2269
  created_at: string;
2261
2270
  edited_at: string;
2271
+ deleted_at?: string | null | undefined;
2262
2272
  }[];
2263
2273
  }>;
2264
2274
  } & {
@@ -2069,10 +2069,12 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2069
2069
  table: string;
2070
2070
  fields?: (string | number)[] | undefined;
2071
2071
  fieldKeys?: (string | number)[] | undefined;
2072
+ trash?: "only" | "include" | "exclude" | undefined;
2072
2073
  } | {
2073
2074
  tableId: string;
2074
2075
  fields?: (string | number)[] | undefined;
2075
2076
  fieldKeys?: (string | number)[] | undefined;
2077
+ trash?: "only" | "include" | "exclude" | undefined;
2076
2078
  } | undefined) => Promise<{
2077
2079
  data: {
2078
2080
  id: string;
@@ -2082,6 +2084,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2082
2084
  edited_at?: string | undefined;
2083
2085
  options?: Record<string, unknown> | undefined;
2084
2086
  config?: Record<string, unknown> | undefined;
2087
+ deleted_at?: string | null | undefined;
2085
2088
  }[];
2086
2089
  }>;
2087
2090
  } & {
@@ -2116,6 +2119,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2116
2119
  edited_at?: string | undefined;
2117
2120
  options?: Record<string, unknown> | undefined;
2118
2121
  config?: Record<string, unknown> | undefined;
2122
+ deleted_at?: string | null | undefined;
2119
2123
  }[];
2120
2124
  }>;
2121
2125
  } & {
@@ -2155,6 +2159,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2155
2159
  id: string;
2156
2160
  created_at: string;
2157
2161
  edited_at: string;
2162
+ deleted_at?: string | null | undefined;
2158
2163
  };
2159
2164
  }>;
2160
2165
  } & {
@@ -2179,6 +2184,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2179
2184
  pageSize?: number | undefined;
2180
2185
  maxItems?: number | undefined;
2181
2186
  cursor?: string | undefined;
2187
+ trash?: "only" | "include" | "exclude" | undefined;
2182
2188
  } | {
2183
2189
  tableId: string;
2184
2190
  keyMode: "names" | "ids";
@@ -2194,6 +2200,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2194
2200
  pageSize?: number | undefined;
2195
2201
  maxItems?: number | undefined;
2196
2202
  cursor?: string | undefined;
2203
+ trash?: "only" | "include" | "exclude" | undefined;
2197
2204
  }) & {
2198
2205
  cursor?: string;
2199
2206
  pageSize?: number;
@@ -2203,6 +2210,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2203
2210
  data: Record<string, unknown>;
2204
2211
  created_at: string;
2205
2212
  edited_at: string;
2213
+ deleted_at?: string | null | undefined;
2206
2214
  }>;
2207
2215
  } & {
2208
2216
  context: {
@@ -2229,6 +2237,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2229
2237
  id: string;
2230
2238
  created_at: string;
2231
2239
  edited_at: string;
2240
+ deleted_at?: string | null | undefined;
2232
2241
  }[];
2233
2242
  }>;
2234
2243
  } & {
@@ -2274,6 +2283,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
2274
2283
  id: string;
2275
2284
  created_at: string;
2276
2285
  edited_at: string;
2286
+ deleted_at?: string | null | undefined;
2277
2287
  }[];
2278
2288
  }>;
2279
2289
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAwEjD,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D,wBAAgB,eAAe,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA+Fq9K,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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