@zapier/zapier-sdk 0.97.1 → 0.98.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -399,6 +399,19 @@ interface MethodHooks {
399
399
  onMethodEnd?: OnMethodEnd;
400
400
  annotator?: ComposedAnnotator;
401
401
  }
402
+
403
+ /**
404
+ * API stability tiers.
405
+ *
406
+ * A plugin declares exactly one level via `PluginMeta.stability`; tier
407
+ * membership (which subpath aggregate exports the plugin) is structural,
408
+ * so nothing here compares levels ordinally. The array is the single
409
+ * source of truth: it derives the {@link StabilityLevel} type, gives the
410
+ * ladder tests their adjacent-tier iteration order, and gives docs a
411
+ * render order.
412
+ */
413
+ declare const STABILITY_LEVELS: readonly ["stable", "beta", "experimental"];
414
+ type StabilityLevel = (typeof STABILITY_LEVELS)[number];
402
415
  interface FormattedItem {
403
416
  title: string;
404
417
  /**
@@ -710,6 +723,8 @@ interface LeafMetaFields {
710
723
  * off the registry / CLI / MCP surface, exactly like `skipInputValidation`. */
711
724
  skipOutputValidation?: boolean;
712
725
  packages?: string[];
726
+ stability?: StabilityLevel;
727
+ /** @deprecated Use `stability: "experimental"` instead. */
713
728
  experimental?: boolean;
714
729
  confirm?: "create-secret" | "delete";
715
730
  deprecation?: FunctionDeprecation;
@@ -1335,10 +1350,10 @@ type DataOf<TResponse> = TResponse extends {
1335
1350
  } ? TData : never;
1336
1351
  /**
1337
1352
  * A leaf plugin that is a single value (not a function). `value` is a static
1338
- * constant; `get({ imports })` computes the value from imports. Like a
1339
- * method's `setup`, `get` runs eagerly at createSdk (dependencies first), so a
1340
- * module-level value is built on import. An imported/surfaced property yields
1341
- * the value, not a callable.
1353
+ * constant; `get({ imports, state })` computes the value from imports and
1354
+ * `setup` state, re-running live on each read. An optional `setup` runs once
1355
+ * eagerly at createSdk (dependencies first, like a method's `setup`) to build
1356
+ * that state. An imported/surfaced property yields the value, not a callable.
1342
1357
  */
1343
1358
  interface PropertyPlugin<TName extends string = string, TValue = unknown> {
1344
1359
  pluginType: "property";
@@ -1378,6 +1393,7 @@ interface PropertyPlugin<TName extends string = string, TValue = unknown> {
1378
1393
  get?: (bag: {
1379
1394
  imports: Record<string, unknown>;
1380
1395
  state: unknown;
1396
+ callContext?: CallContext;
1381
1397
  }) => TValue;
1382
1398
  /** Descriptive metadata for the registry / CLI / MCP / docs (carry-only). */
1383
1399
  meta?: LeafMeta;
@@ -1603,7 +1619,10 @@ interface PropertyEntry {
1603
1619
  pluginType: "property";
1604
1620
  name: string;
1605
1621
  value?: any;
1606
- getValue?: () => any;
1622
+ /** Re-derives the value per read. Receives the live per-call `CallContext`
1623
+ * when installed on a method's `imports` bag with a threaded context, and
1624
+ * nothing on a surface / build-time read. */
1625
+ getValue?: (callContext?: CallContext) => any;
1607
1626
  /** Carried from the descriptor for the registry / CLI / MCP / docs. */
1608
1627
  meta?: LeafMeta;
1609
1628
  /** Carried from the descriptor: templated registry members for this
@@ -1871,8 +1890,17 @@ interface FunctionRegistryEntry {
1871
1890
  resolvers?: Record<string, BoundResolver>;
1872
1891
  packages?: string[];
1873
1892
  /**
1874
- * True if the plugin is registered only in the experimental SDK
1875
- * factory. See `PluginMeta.experimental`.
1893
+ * API stability tier of the plugin, normalized from `PluginMeta.stability`
1894
+ * (absent means `"stable"`; the legacy `experimental: true` boolean means
1895
+ * `"experimental"`). Always concrete here, so consumers never branch on
1896
+ * `undefined`.
1897
+ */
1898
+ stability: StabilityLevel;
1899
+ /**
1900
+ * @deprecated Read `stability` instead. Derived as
1901
+ * `stability === "experimental"` — literal by name, so beta reads
1902
+ * `false`; the not-stable warning duty lives in `stability` and the
1903
+ * runtime stability notice.
1876
1904
  */
1877
1905
  experimental?: boolean;
1878
1906
  /** Confirmation prompt type - prompts user before executing */
@@ -1968,10 +1996,19 @@ interface PluginMeta<TSdk = unknown> {
1968
1996
  /** Confirmation prompt type - prompts user before executing */
1969
1997
  confirm?: "create-secret" | "delete";
1970
1998
  /**
1971
- * Marks this plugin as experimental wrappers can keep it out of
1972
- * their stable build (typically by gating it behind an
1973
- * `experimental` subpath import) and the registry can badge it in
1974
- * generated docs / CLI help. No runtime capability check.
1999
+ * API stability tier this plugin belongs to. Absent means `"stable"`;
2000
+ * the registry projection normalizes it, so registry consumers always
2001
+ * read a concrete {@link StabilityLevel}. Wrappers keep non-stable
2002
+ * plugins out of their stable build (by gating them behind a `beta` /
2003
+ * `experimental` subpath import) and consumers badge the level in
2004
+ * generated docs, CLI help, and MCP tool descriptions. No runtime
2005
+ * capability check.
2006
+ */
2007
+ stability?: StabilityLevel;
2008
+ /**
2009
+ * @deprecated Use `stability: "experimental"` instead. Kept as an
2010
+ * input for external authors; `true` normalizes to
2011
+ * `stability: "experimental"` in the registry projection.
1975
2012
  */
1976
2013
  experimental?: boolean;
1977
2014
  [key: string]: any;
@@ -2651,9 +2688,11 @@ declare function declareMethod<const TId extends string, TInput = unknown, TOutp
2651
2688
  id: LiteralString<TId>;
2652
2689
  }): MethodPlugin<LastSegment<TId>, TInput, TOutput> & PluginSummary<TId, never>;
2653
2690
  /**
2654
- * Define a property leaf. Either a static `value` or a computed `get` (eager,
2655
- * dependencies first, like `setup`). `createSdk`, a dependent's `imports`, or
2656
- * an aggregate's re-export binds it under its bare `name` and yields the value.
2691
+ * Define a property leaf. Either a static `value` or a computed `get`, which
2692
+ * re-runs live on each read; an optional `setup` runs once at `createSdk`
2693
+ * (dependencies first, like a method's `setup`) to build the state `get` reads.
2694
+ * `createSdk`, a dependent's `imports`, or an aggregate's re-export binds it
2695
+ * under its bare `name` and yields the value.
2657
2696
  */
2658
2697
  declare function defineProperty<const TName extends string, TValue, const TNamespace extends string = "">(config: {
2659
2698
  name: TName;
@@ -2675,6 +2714,13 @@ declare function defineProperty<const TName extends string, TValue, const TImpor
2675
2714
  get: (bag: {
2676
2715
  imports: ImportsOf<TImports>;
2677
2716
  state: TState;
2717
+ /** The live per-call context when the property is read from a method's
2718
+ * `imports` bag — every method call has one, at any depth. Undefined only
2719
+ * where no call is in flight: the property bound onto the SDK object
2720
+ * itself, and reads from a `setup`-time imports bag. A context-aware
2721
+ * property reads its `callId` off this; because its value is then specific
2722
+ * to the reading call, callers must not cache it across calls. */
2723
+ callContext?: CallContext;
2678
2724
  }) => TValue;
2679
2725
  /** Templated registry members for this property's dynamic sub-surface (e.g.
2680
2726
  * a proxy): each a bodyless declaration keyed by `path` instead of `name`. */
@@ -2930,6 +2976,16 @@ interface DeprecationWarning {
2930
2976
  methodName: string;
2931
2977
  deprecation: FunctionDeprecation;
2932
2978
  }
2979
+ /**
2980
+ * What the boundary reports when a non-stable (beta / experimental) method
2981
+ * is called: the method plus its declared level. `DeprecationWarning`'s
2982
+ * sibling — same self-describing shape, same handler-not-observer contract.
2983
+ */
2984
+ interface StabilityNotice {
2985
+ type: "stability";
2986
+ methodName: string;
2987
+ stability: StabilityLevel;
2988
+ }
2933
2989
  /**
2934
2990
  * The well-known id for framework options: heads inject a `CoreOptions` bag
2935
2991
  * under it via `createSdk`'s `configuration` (or register a property plugin),
@@ -2966,6 +3022,16 @@ interface CoreOptions {
2966
3022
  * reserved for an `on*`-named observer when the unified event bus lands.
2967
3023
  */
2968
3024
  logDeprecation?: (warning: DeprecationWarning) => void;
3025
+ /**
3026
+ * `logDeprecation`'s sibling for API stability: the framework signals
3027
+ * every surface call of a method declaring a non-stable `stability`
3028
+ * level (beta / experimental), and this gate decides what happens.
3029
+ * Exactly one: absent falls back to {@link defaultLogStabilityNotice}
3030
+ * (once-per-process per message), supplied replaces it. Runs isolated,
3031
+ * so a throwing handler never breaks the observed call. Internal
3032
+ * delegation never signals, matching the deprecation contract.
3033
+ */
3034
+ logStabilityNotice?: (notice: StabilityNotice) => void;
2969
3035
  /**
2970
3036
  * Report what output validation stripped, on the response's
2971
3037
  * `meta.outputValidation.droppedPaths` (the name mirrors that path). Off by
@@ -3500,6 +3566,8 @@ declare function createFunction<TOptions, TResult, TSchemaOptions extends TOptio
3500
3566
  annotator?: (input: unknown) => Annotations;
3501
3567
  /** Live read of the method's deprecation meta (see signalDeprecation). */
3502
3568
  getDeprecation?: () => FunctionDeprecation | undefined;
3569
+ /** Live read of the method's stability level (see signalStability). */
3570
+ getStability?: () => StabilityLevel | undefined;
3503
3571
  }): (callOptions?: TOptions) => Promise<TResult>;
3504
3572
  /**
3505
3573
  * Higher-order function that creates a paginated function that wraps
@@ -3540,6 +3608,8 @@ declare function createPaginatedFunction<TUserOptions, TResponse, TItem = ItemTy
3540
3608
  finalizePage?: (page: SdkPage<TItem>) => SdkPage<TItem>;
3541
3609
  /** Live read of the method's deprecation meta (see signalDeprecation). */
3542
3610
  getDeprecation?: () => FunctionDeprecation | undefined;
3611
+ /** Live read of the method's stability level (see signalStability). */
3612
+ getStability?: () => StabilityLevel | undefined;
3543
3613
  }): (options?: TUserOptions & {
3544
3614
  cursor?: string;
3545
3615
  pageSize?: number;
@@ -4394,6 +4464,10 @@ interface MethodCalledEventData {
4394
4464
  selected_api?: string | null;
4395
4465
  operation_type?: string | null;
4396
4466
  operation_key?: string | null;
4467
+ /** The call's correlation id (the same value sent as `zapier-correlation-id`
4468
+ * on the requests the call routes through the api client, after credentials
4469
+ * resolve). Distinct from the `call_context` surface label ("sdk" / "cli"). */
4470
+ correlation_id?: string | null;
4397
4471
  }
4398
4472
 
4399
4473
  /**
@@ -4602,6 +4676,31 @@ declare const eventEmissionPlugin: PropertyPlugin<"eventEmission", {
4602
4676
  */
4603
4677
  declare const eventEmissionHookPlugin: HookPlugin<string>;
4604
4678
 
4679
+ /**
4680
+ * Package-internal marker for the correlation call id that the context-bound
4681
+ * `api` wrapper (`withCorrelationId`) stamps onto each request's options/init and
4682
+ * the client reads at its telemetry-header seam (`applyTelemetryHeaders`).
4683
+ *
4684
+ * A private `Symbol()` (not `Symbol.for`) so a caller cannot set it through the
4685
+ * public `RequestOptions` surface — the id can only originate from a real
4686
+ * per-call `CallContext`. Deliberately not re-exported from the package barrel
4687
+ * (`api/index.ts` / `src/index.ts`); it stays head-internal so `callId` reaches
4688
+ * consumers only in-band via the `zapier-correlation-id` header.
4689
+ */
4690
+ declare const CORRELATION_CALL_ID: unique symbol;
4691
+ /**
4692
+ * The one shape carrying the SDK-internal correlation id: an optional member
4693
+ * keyed by {@link CORRELATION_CALL_ID}. Internal request init/stream types
4694
+ * extend it, and both the write seam (`withCorrelationId`) and the read seam
4695
+ * (the client's poll fetcher) reference it, so the symbol's type is defined
4696
+ * once. Named a "carrier" (not "WithCorrelationId") because the member is
4697
+ * optional — the id may or may not be present. Package-internal, matching the
4698
+ * symbol: not re-exported from the barrel.
4699
+ */
4700
+ interface CorrelationIdCarrier {
4701
+ [CORRELATION_CALL_ID]?: string;
4702
+ }
4703
+
4605
4704
  /**
4606
4705
  * SDK Event System
4607
4706
  *
@@ -5255,7 +5354,7 @@ interface ApiClientOptions {
5255
5354
  */
5256
5355
  cache?: ZapierCache;
5257
5356
  }
5258
- interface FetchStreamInit extends RequestInit {
5357
+ interface FetchStreamInit extends RequestInit, CorrelationIdCarrier {
5259
5358
  searchParams?: Record<string, string>;
5260
5359
  authRequired?: boolean;
5261
5360
  requiredScopes?: string[];
@@ -5439,10 +5538,11 @@ interface UpdateManifestEntryResult {
5439
5538
  }
5440
5539
  /**
5441
5540
  * The manifest's version-locking API, consumed via the `manifest` provider
5442
- * (`imports.manifest`). Built once per SDK from the injected options
5443
- * (`manifest` object or `manifestPath` file) plus the API client for slug
5444
- * resolution. `updateManifestEntry` writes through to the manifest file and
5445
- * invalidates the provider's cached manifest.
5541
+ * (`imports.manifest`). Built once per SDK from the injected options (`manifest`
5542
+ * object or `manifestPath` file); each read binds the reading call's API client
5543
+ * for slug resolution, so those requests carry that call's correlation id.
5544
+ * `updateManifestEntry` writes through to the manifest file and invalidates the
5545
+ * cached manifest.
5446
5546
  */
5447
5547
  interface ManifestProvider {
5448
5548
  getVersionedImplementationId: GetVersionedImplementationId;
@@ -5607,11 +5707,10 @@ declare const MANIFEST_ID = "zapier/manifest";
5607
5707
  */
5608
5708
  declare const manifestPluginRef: PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>;
5609
5709
  /**
5610
- * The module-model manifest provider: builds the version-locking API once at
5611
- * materialization from the injected SDK options (`manifest` object or
5612
- * `manifestPath` file) plus the API client for slug resolution. The resolved
5613
- * manifest is cached; `updateManifestEntry` invalidates the cache after a
5614
- * write so the next read reflects the new file.
5710
+ * The module-model manifest provider (version-locking API) built once from the
5711
+ * injected SDK options (`manifest` object or `manifestPath` file) plus, per read,
5712
+ * the API client for slug resolution. `updateManifestEntry` invalidates the
5713
+ * cached manifest after a write so the next read reflects the new file.
5615
5714
  */
5616
5715
  declare const manifestPlugin: PropertyPlugin<"manifest", ManifestProvider> & LeafSummary<"zapier", "manifest", readonly [PropertyPlugin<"sdkOptions", {
5617
5716
  credentials?: string | {
@@ -6270,6 +6369,7 @@ declare const listConnectionsPlugin: MethodPlugin<"listConnections", {
6270
6369
  account?: string | undefined;
6271
6370
  accountId?: string | undefined;
6272
6371
  includeShared?: boolean | undefined;
6372
+ status?: "active" | "expired" | "all" | undefined;
6273
6373
  isExpired?: boolean | undefined;
6274
6374
  expired?: boolean | undefined;
6275
6375
  pageSize?: number | undefined;
@@ -6568,14 +6668,15 @@ declare const getConnectionPlugin: MethodPlugin<"getConnection", {
6568
6668
  declare const findFirstConnectionPlugin: MethodPlugin<"findFirstConnection", {
6569
6669
  title?: string | undefined;
6570
6670
  search?: string | undefined;
6671
+ status?: "active" | "expired" | "all" | undefined;
6571
6672
  appKey?: string | undefined;
6572
6673
  app?: string | undefined;
6573
6674
  owner?: string | undefined;
6574
6675
  account?: string | undefined;
6575
6676
  accountId?: string | undefined;
6576
6677
  includeShared?: boolean | undefined;
6577
- isExpired?: boolean | undefined;
6578
6678
  expired?: boolean | undefined;
6679
+ isExpired?: boolean | undefined;
6579
6680
  }, Promise<{
6580
6681
  data: {
6581
6682
  date: string;
@@ -6620,6 +6721,7 @@ declare const findFirstConnectionPlugin: MethodPlugin<"findFirstConnection", {
6620
6721
  account?: string | undefined;
6621
6722
  accountId?: string | undefined;
6622
6723
  includeShared?: boolean | undefined;
6724
+ status?: "active" | "expired" | "all" | undefined;
6623
6725
  isExpired?: boolean | undefined;
6624
6726
  expired?: boolean | undefined;
6625
6727
  pageSize?: number | undefined;
@@ -6664,14 +6766,15 @@ declare const findFirstConnectionPlugin: MethodPlugin<"findFirstConnection", {
6664
6766
  declare const findUniqueConnectionPlugin: MethodPlugin<"findUniqueConnection", {
6665
6767
  title?: string | undefined;
6666
6768
  search?: string | undefined;
6769
+ status?: "active" | "expired" | "all" | undefined;
6667
6770
  appKey?: string | undefined;
6668
6771
  app?: string | undefined;
6669
6772
  owner?: string | undefined;
6670
6773
  account?: string | undefined;
6671
6774
  accountId?: string | undefined;
6672
6775
  includeShared?: boolean | undefined;
6673
- isExpired?: boolean | undefined;
6674
6776
  expired?: boolean | undefined;
6777
+ isExpired?: boolean | undefined;
6675
6778
  }, Promise<{
6676
6779
  data: {
6677
6780
  date: string;
@@ -6716,6 +6819,7 @@ declare const findUniqueConnectionPlugin: MethodPlugin<"findUniqueConnection", {
6716
6819
  account?: string | undefined;
6717
6820
  accountId?: string | undefined;
6718
6821
  includeShared?: boolean | undefined;
6822
+ status?: "active" | "expired" | "all" | undefined;
6719
6823
  isExpired?: boolean | undefined;
6720
6824
  expired?: boolean | undefined;
6721
6825
  pageSize?: number | undefined;
@@ -6773,6 +6877,11 @@ declare const ListConnectionsQuerySchema: z.ZodObject<{
6773
6877
  account: z.ZodOptional<z.ZodString>;
6774
6878
  accountId: z.ZodOptional<z.ZodString>;
6775
6879
  includeShared: z.ZodOptional<z.ZodBoolean>;
6880
+ status: z.ZodOptional<z.ZodEnum<{
6881
+ active: "active";
6882
+ expired: "expired";
6883
+ all: "all";
6884
+ }>>;
6776
6885
  isExpired: z.ZodOptional<z.ZodBoolean>;
6777
6886
  expired: z.ZodOptional<z.ZodBoolean>;
6778
6887
  pageSize: z.ZodOptional<z.ZodNumber>;
@@ -6804,6 +6913,11 @@ interface GetConnectionSdkFunction {
6804
6913
  declare const FindFirstConnectionSchema: z.ZodObject<{
6805
6914
  title: z.ZodOptional<z.ZodString>;
6806
6915
  search: z.ZodOptional<z.ZodString>;
6916
+ status: z.ZodOptional<z.ZodEnum<{
6917
+ active: "active";
6918
+ expired: "expired";
6919
+ all: "all";
6920
+ }>>;
6807
6921
  appKey: z.ZodOptional<z.ZodString & {
6808
6922
  _def: z.core.$ZodStringDef & PositionalMetadata;
6809
6923
  }>;
@@ -6814,8 +6928,8 @@ declare const FindFirstConnectionSchema: z.ZodObject<{
6814
6928
  account: z.ZodOptional<z.ZodString>;
6815
6929
  accountId: z.ZodOptional<z.ZodString>;
6816
6930
  includeShared: z.ZodOptional<z.ZodBoolean>;
6817
- isExpired: z.ZodOptional<z.ZodBoolean>;
6818
6931
  expired: z.ZodOptional<z.ZodBoolean>;
6932
+ isExpired: z.ZodOptional<z.ZodBoolean>;
6819
6933
  }, z.core.$strip>;
6820
6934
  type FindFirstConnectionOptions = z.infer<typeof FindFirstConnectionSchema>;
6821
6935
  interface FindFirstConnectionSdkFunction {
@@ -6827,6 +6941,11 @@ interface FindFirstConnectionSdkFunction {
6827
6941
  declare const FindUniqueConnectionSchema: z.ZodObject<{
6828
6942
  title: z.ZodOptional<z.ZodString>;
6829
6943
  search: z.ZodOptional<z.ZodString>;
6944
+ status: z.ZodOptional<z.ZodEnum<{
6945
+ active: "active";
6946
+ expired: "expired";
6947
+ all: "all";
6948
+ }>>;
6830
6949
  appKey: z.ZodOptional<z.ZodString & {
6831
6950
  _def: z.core.$ZodStringDef & PositionalMetadata;
6832
6951
  }>;
@@ -6837,8 +6956,8 @@ declare const FindUniqueConnectionSchema: z.ZodObject<{
6837
6956
  account: z.ZodOptional<z.ZodString>;
6838
6957
  accountId: z.ZodOptional<z.ZodString>;
6839
6958
  includeShared: z.ZodOptional<z.ZodBoolean>;
6840
- isExpired: z.ZodOptional<z.ZodBoolean>;
6841
6959
  expired: z.ZodOptional<z.ZodBoolean>;
6960
+ isExpired: z.ZodOptional<z.ZodBoolean>;
6842
6961
  }, z.core.$strip>;
6843
6962
  type FindUniqueConnectionOptions = z.infer<typeof FindUniqueConnectionSchema>;
6844
6963
  interface FindUniqueConnectionSdkFunction {
@@ -7338,7 +7457,8 @@ declare const apiPluginRef: PropertyPlugin<"api", ApiClient> & PluginSummary<"za
7338
7457
  /**
7339
7458
  * The module-model API provider: builds the client once at materialization
7340
7459
  * (`setup`, dependencies-first) from the injected SDK options. The client
7341
- * handles credential resolution internally.
7460
+ * handles credential resolution internally. The live `get` wraps that one
7461
+ * shared client per call so requests carry the caller's correlation id.
7342
7462
  */
7343
7463
  declare const apiPlugin: PropertyPlugin<"api", ApiClient> & LeafSummary<"zapier", "api", readonly [PropertyPlugin<"sdkOptions", {
7344
7464
  credentials?: string | {
@@ -7805,8 +7925,8 @@ declare const TriggerInboxItemSchema: z.ZodObject<{
7805
7925
  key: z.ZodNullable<z.ZodString>;
7806
7926
  name: z.ZodNullable<z.ZodString>;
7807
7927
  status: z.ZodUnion<readonly [z.ZodEnum<{
7808
- initializing: "initializing";
7809
7928
  active: "active";
7929
+ initializing: "initializing";
7810
7930
  paused: "paused";
7811
7931
  deleting: "deleting";
7812
7932
  initialization_failure: "initialization_failure";
@@ -8048,6 +8168,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8048
8168
  account?: string | undefined;
8049
8169
  accountId?: string | undefined;
8050
8170
  includeShared?: boolean | undefined;
8171
+ status?: "active" | "expired" | "all" | undefined;
8051
8172
  isExpired?: boolean | undefined;
8052
8173
  expired?: boolean | undefined;
8053
8174
  pageSize?: number | undefined;
@@ -8130,14 +8251,15 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8130
8251
  findFirstConnection: (input?: {
8131
8252
  title?: string | undefined;
8132
8253
  search?: string | undefined;
8254
+ status?: "active" | "expired" | "all" | undefined;
8133
8255
  appKey?: string | undefined;
8134
8256
  app?: string | undefined;
8135
8257
  owner?: string | undefined;
8136
8258
  account?: string | undefined;
8137
8259
  accountId?: string | undefined;
8138
8260
  includeShared?: boolean | undefined;
8139
- isExpired?: boolean | undefined;
8140
8261
  expired?: boolean | undefined;
8262
+ isExpired?: boolean | undefined;
8141
8263
  } | undefined) => Promise<{
8142
8264
  data: {
8143
8265
  date: string;
@@ -8174,14 +8296,15 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8174
8296
  findUniqueConnection: (input?: {
8175
8297
  title?: string | undefined;
8176
8298
  search?: string | undefined;
8299
+ status?: "active" | "expired" | "all" | undefined;
8177
8300
  appKey?: string | undefined;
8178
8301
  app?: string | undefined;
8179
8302
  owner?: string | undefined;
8180
8303
  account?: string | undefined;
8181
8304
  accountId?: string | undefined;
8182
8305
  includeShared?: boolean | undefined;
8183
- isExpired?: boolean | undefined;
8184
8306
  expired?: boolean | undefined;
8307
+ isExpired?: boolean | undefined;
8185
8308
  } | undefined) => Promise<{
8186
8309
  data: {
8187
8310
  date: string;
@@ -8227,6 +8350,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8227
8350
  account?: string | undefined;
8228
8351
  accountId?: string | undefined;
8229
8352
  includeShared?: boolean | undefined;
8353
+ status?: "active" | "expired" | "all" | undefined;
8230
8354
  isExpired?: boolean | undefined;
8231
8355
  expired?: boolean | undefined;
8232
8356
  pageSize?: number | undefined;
@@ -8309,14 +8433,15 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8309
8433
  findFirstAuthentication: (input?: {
8310
8434
  title?: string | undefined;
8311
8435
  search?: string | undefined;
8436
+ status?: "active" | "expired" | "all" | undefined;
8312
8437
  appKey?: string | undefined;
8313
8438
  app?: string | undefined;
8314
8439
  owner?: string | undefined;
8315
8440
  account?: string | undefined;
8316
8441
  accountId?: string | undefined;
8317
8442
  includeShared?: boolean | undefined;
8318
- isExpired?: boolean | undefined;
8319
8443
  expired?: boolean | undefined;
8444
+ isExpired?: boolean | undefined;
8320
8445
  } | undefined) => Promise<{
8321
8446
  data: {
8322
8447
  date: string;
@@ -8353,14 +8478,15 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
8353
8478
  findUniqueAuthentication: (input?: {
8354
8479
  title?: string | undefined;
8355
8480
  search?: string | undefined;
8481
+ status?: "active" | "expired" | "all" | undefined;
8356
8482
  appKey?: string | undefined;
8357
8483
  app?: string | undefined;
8358
8484
  owner?: string | undefined;
8359
8485
  account?: string | undefined;
8360
8486
  accountId?: string | undefined;
8361
8487
  includeShared?: boolean | undefined;
8362
- isExpired?: boolean | undefined;
8363
8488
  expired?: boolean | undefined;
8489
+ isExpired?: boolean | undefined;
8364
8490
  } | undefined) => Promise<{
8365
8491
  data: {
8366
8492
  date: string;
@@ -9659,6 +9785,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9659
9785
  account?: string | undefined;
9660
9786
  accountId?: string | undefined;
9661
9787
  includeShared?: boolean | undefined;
9788
+ status?: "active" | "expired" | "all" | undefined;
9662
9789
  isExpired?: boolean | undefined;
9663
9790
  expired?: boolean | undefined;
9664
9791
  pageSize?: number | undefined;
@@ -9743,14 +9870,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9743
9870
  findFirstConnection: MethodPlugin<"findFirstConnection", {
9744
9871
  title?: string | undefined;
9745
9872
  search?: string | undefined;
9873
+ status?: "active" | "expired" | "all" | undefined;
9746
9874
  appKey?: string | undefined;
9747
9875
  app?: string | undefined;
9748
9876
  owner?: string | undefined;
9749
9877
  account?: string | undefined;
9750
9878
  accountId?: string | undefined;
9751
9879
  includeShared?: boolean | undefined;
9752
- isExpired?: boolean | undefined;
9753
9880
  expired?: boolean | undefined;
9881
+ isExpired?: boolean | undefined;
9754
9882
  }, Promise<{
9755
9883
  data: {
9756
9884
  date: string;
@@ -9795,6 +9923,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9795
9923
  account?: string | undefined;
9796
9924
  accountId?: string | undefined;
9797
9925
  includeShared?: boolean | undefined;
9926
+ status?: "active" | "expired" | "all" | undefined;
9798
9927
  isExpired?: boolean | undefined;
9799
9928
  expired?: boolean | undefined;
9800
9929
  pageSize?: number | undefined;
@@ -9839,14 +9968,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9839
9968
  findUniqueConnection: MethodPlugin<"findUniqueConnection", {
9840
9969
  title?: string | undefined;
9841
9970
  search?: string | undefined;
9971
+ status?: "active" | "expired" | "all" | undefined;
9842
9972
  appKey?: string | undefined;
9843
9973
  app?: string | undefined;
9844
9974
  owner?: string | undefined;
9845
9975
  account?: string | undefined;
9846
9976
  accountId?: string | undefined;
9847
9977
  includeShared?: boolean | undefined;
9848
- isExpired?: boolean | undefined;
9849
9978
  expired?: boolean | undefined;
9979
+ isExpired?: boolean | undefined;
9850
9980
  }, Promise<{
9851
9981
  data: {
9852
9982
  date: string;
@@ -9891,6 +10021,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9891
10021
  account?: string | undefined;
9892
10022
  accountId?: string | undefined;
9893
10023
  includeShared?: boolean | undefined;
10024
+ status?: "active" | "expired" | "all" | undefined;
9894
10025
  isExpired?: boolean | undefined;
9895
10026
  expired?: boolean | undefined;
9896
10027
  pageSize?: number | undefined;
@@ -9944,6 +10075,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9944
10075
  account?: string | undefined;
9945
10076
  accountId?: string | undefined;
9946
10077
  includeShared?: boolean | undefined;
10078
+ status?: "active" | "expired" | "all" | undefined;
9947
10079
  isExpired?: boolean | undefined;
9948
10080
  expired?: boolean | undefined;
9949
10081
  pageSize?: number | undefined;
@@ -9995,6 +10127,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
9995
10127
  account?: string | undefined;
9996
10128
  accountId?: string | undefined;
9997
10129
  includeShared?: boolean | undefined;
10130
+ status?: "active" | "expired" | "all" | undefined;
9998
10131
  isExpired?: boolean | undefined;
9999
10132
  expired?: boolean | undefined;
10000
10133
  pageSize?: number | undefined;
@@ -10117,14 +10250,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10117
10250
  findFirstAuthentication: MethodPlugin<"findFirstAuthentication", {
10118
10251
  title?: string | undefined;
10119
10252
  search?: string | undefined;
10253
+ status?: "active" | "expired" | "all" | undefined;
10120
10254
  appKey?: string | undefined;
10121
10255
  app?: string | undefined;
10122
10256
  owner?: string | undefined;
10123
10257
  account?: string | undefined;
10124
10258
  accountId?: string | undefined;
10125
10259
  includeShared?: boolean | undefined;
10126
- isExpired?: boolean | undefined;
10127
10260
  expired?: boolean | undefined;
10261
+ isExpired?: boolean | undefined;
10128
10262
  }, Promise<{
10129
10263
  data: {
10130
10264
  date: string;
@@ -10160,14 +10294,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10160
10294
  }>, readonly []> & LeafSummary<"", "findFirstAuthentication", readonly [MethodPlugin<"findFirstConnection", {
10161
10295
  title?: string | undefined;
10162
10296
  search?: string | undefined;
10297
+ status?: "active" | "expired" | "all" | undefined;
10163
10298
  appKey?: string | undefined;
10164
10299
  app?: string | undefined;
10165
10300
  owner?: string | undefined;
10166
10301
  account?: string | undefined;
10167
10302
  accountId?: string | undefined;
10168
10303
  includeShared?: boolean | undefined;
10169
- isExpired?: boolean | undefined;
10170
10304
  expired?: boolean | undefined;
10305
+ isExpired?: boolean | undefined;
10171
10306
  }, Promise<{
10172
10307
  data: {
10173
10308
  date: string;
@@ -10212,6 +10347,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10212
10347
  account?: string | undefined;
10213
10348
  accountId?: string | undefined;
10214
10349
  includeShared?: boolean | undefined;
10350
+ status?: "active" | "expired" | "all" | undefined;
10215
10351
  isExpired?: boolean | undefined;
10216
10352
  expired?: boolean | undefined;
10217
10353
  pageSize?: number | undefined;
@@ -10256,14 +10392,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10256
10392
  findUniqueAuthentication: MethodPlugin<"findUniqueAuthentication", {
10257
10393
  title?: string | undefined;
10258
10394
  search?: string | undefined;
10395
+ status?: "active" | "expired" | "all" | undefined;
10259
10396
  appKey?: string | undefined;
10260
10397
  app?: string | undefined;
10261
10398
  owner?: string | undefined;
10262
10399
  account?: string | undefined;
10263
10400
  accountId?: string | undefined;
10264
10401
  includeShared?: boolean | undefined;
10265
- isExpired?: boolean | undefined;
10266
10402
  expired?: boolean | undefined;
10403
+ isExpired?: boolean | undefined;
10267
10404
  }, Promise<{
10268
10405
  data: {
10269
10406
  date: string;
@@ -10299,14 +10436,15 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10299
10436
  }>, readonly []> & LeafSummary<"", "findUniqueAuthentication", readonly [MethodPlugin<"findUniqueConnection", {
10300
10437
  title?: string | undefined;
10301
10438
  search?: string | undefined;
10439
+ status?: "active" | "expired" | "all" | undefined;
10302
10440
  appKey?: string | undefined;
10303
10441
  app?: string | undefined;
10304
10442
  owner?: string | undefined;
10305
10443
  account?: string | undefined;
10306
10444
  accountId?: string | undefined;
10307
10445
  includeShared?: boolean | undefined;
10308
- isExpired?: boolean | undefined;
10309
10446
  expired?: boolean | undefined;
10447
+ isExpired?: boolean | undefined;
10310
10448
  }, Promise<{
10311
10449
  data: {
10312
10450
  date: string;
@@ -10351,6 +10489,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
10351
10489
  account?: string | undefined;
10352
10490
  accountId?: string | undefined;
10353
10491
  includeShared?: boolean | undefined;
10492
+ status?: "active" | "expired" | "all" | undefined;
10354
10493
  isExpired?: boolean | undefined;
10355
10494
  expired?: boolean | undefined;
10356
10495
  pageSize?: number | undefined;
@@ -12498,6 +12637,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12498
12637
  account?: string | undefined;
12499
12638
  accountId?: string | undefined;
12500
12639
  includeShared?: boolean | undefined;
12640
+ status?: "active" | "expired" | "all" | undefined;
12501
12641
  isExpired?: boolean | undefined;
12502
12642
  expired?: boolean | undefined;
12503
12643
  pageSize?: number | undefined;
@@ -12580,14 +12720,15 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12580
12720
  findFirstConnection: (input?: {
12581
12721
  title?: string | undefined;
12582
12722
  search?: string | undefined;
12723
+ status?: "active" | "expired" | "all" | undefined;
12583
12724
  appKey?: string | undefined;
12584
12725
  app?: string | undefined;
12585
12726
  owner?: string | undefined;
12586
12727
  account?: string | undefined;
12587
12728
  accountId?: string | undefined;
12588
12729
  includeShared?: boolean | undefined;
12589
- isExpired?: boolean | undefined;
12590
12730
  expired?: boolean | undefined;
12731
+ isExpired?: boolean | undefined;
12591
12732
  } | undefined) => Promise<{
12592
12733
  data: {
12593
12734
  date: string;
@@ -12624,14 +12765,15 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12624
12765
  findUniqueConnection: (input?: {
12625
12766
  title?: string | undefined;
12626
12767
  search?: string | undefined;
12768
+ status?: "active" | "expired" | "all" | undefined;
12627
12769
  appKey?: string | undefined;
12628
12770
  app?: string | undefined;
12629
12771
  owner?: string | undefined;
12630
12772
  account?: string | undefined;
12631
12773
  accountId?: string | undefined;
12632
12774
  includeShared?: boolean | undefined;
12633
- isExpired?: boolean | undefined;
12634
12775
  expired?: boolean | undefined;
12776
+ isExpired?: boolean | undefined;
12635
12777
  } | undefined) => Promise<{
12636
12778
  data: {
12637
12779
  date: string;
@@ -12677,6 +12819,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12677
12819
  account?: string | undefined;
12678
12820
  accountId?: string | undefined;
12679
12821
  includeShared?: boolean | undefined;
12822
+ status?: "active" | "expired" | "all" | undefined;
12680
12823
  isExpired?: boolean | undefined;
12681
12824
  expired?: boolean | undefined;
12682
12825
  pageSize?: number | undefined;
@@ -12759,14 +12902,15 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12759
12902
  findFirstAuthentication: (input?: {
12760
12903
  title?: string | undefined;
12761
12904
  search?: string | undefined;
12905
+ status?: "active" | "expired" | "all" | undefined;
12762
12906
  appKey?: string | undefined;
12763
12907
  app?: string | undefined;
12764
12908
  owner?: string | undefined;
12765
12909
  account?: string | undefined;
12766
12910
  accountId?: string | undefined;
12767
12911
  includeShared?: boolean | undefined;
12768
- isExpired?: boolean | undefined;
12769
12912
  expired?: boolean | undefined;
12913
+ isExpired?: boolean | undefined;
12770
12914
  } | undefined) => Promise<{
12771
12915
  data: {
12772
12916
  date: string;
@@ -12803,14 +12947,15 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
12803
12947
  findUniqueAuthentication: (input?: {
12804
12948
  title?: string | undefined;
12805
12949
  search?: string | undefined;
12950
+ status?: "active" | "expired" | "all" | undefined;
12806
12951
  appKey?: string | undefined;
12807
12952
  app?: string | undefined;
12808
12953
  owner?: string | undefined;
12809
12954
  account?: string | undefined;
12810
12955
  accountId?: string | undefined;
12811
12956
  includeShared?: boolean | undefined;
12812
- isExpired?: boolean | undefined;
12813
12957
  expired?: boolean | undefined;
12958
+ isExpired?: boolean | undefined;
12814
12959
  } | undefined) => Promise<{
12815
12960
  data: {
12816
12961
  date: string;