@zapier/zapier-sdk 0.42.0 → 0.42.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.
Files changed (132) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.cjs +185 -159
  3. package/dist/index.d.mts +163 -408
  4. package/dist/index.d.ts +3 -3
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/index.mjs +185 -160
  8. package/dist/plugins/api/index.d.ts +5 -1
  9. package/dist/plugins/api/index.d.ts.map +1 -1
  10. package/dist/plugins/api/index.js +2 -3
  11. package/dist/plugins/apps/index.d.ts +2 -3
  12. package/dist/plugins/apps/index.d.ts.map +1 -1
  13. package/dist/plugins/apps/index.js +1 -1
  14. package/dist/plugins/capabilities/index.d.ts +8 -6
  15. package/dist/plugins/capabilities/index.d.ts.map +1 -1
  16. package/dist/plugins/capabilities/index.js +3 -3
  17. package/dist/plugins/connections/index.d.ts +3 -1
  18. package/dist/plugins/connections/index.d.ts.map +1 -1
  19. package/dist/plugins/connections/index.js +2 -3
  20. package/dist/plugins/createClientCredentials/index.d.ts +6 -4
  21. package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
  22. package/dist/plugins/createClientCredentials/index.js +3 -3
  23. package/dist/plugins/deleteClientCredentials/index.d.ts +6 -4
  24. package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
  25. package/dist/plugins/deleteClientCredentials/index.js +3 -3
  26. package/dist/plugins/deprecated/authentications.d.ts +9 -9
  27. package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
  28. package/dist/plugins/deprecated/authentications.js +4 -4
  29. package/dist/plugins/eventEmission/index.d.ts +4 -5
  30. package/dist/plugins/eventEmission/index.d.ts.map +1 -1
  31. package/dist/plugins/eventEmission/index.js +8 -7
  32. package/dist/plugins/fetch/index.d.ts +6 -6
  33. package/dist/plugins/fetch/index.d.ts.map +1 -1
  34. package/dist/plugins/fetch/index.js +5 -5
  35. package/dist/plugins/findFirstConnection/index.d.ts +3 -4
  36. package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
  37. package/dist/plugins/findFirstConnection/index.js +2 -2
  38. package/dist/plugins/findUniqueConnection/index.d.ts +3 -4
  39. package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
  40. package/dist/plugins/findUniqueConnection/index.js +2 -2
  41. package/dist/plugins/getAction/index.d.ts +7 -7
  42. package/dist/plugins/getAction/index.d.ts.map +1 -1
  43. package/dist/plugins/getAction/index.js +2 -2
  44. package/dist/plugins/getApp/index.d.ts +2 -3
  45. package/dist/plugins/getApp/index.d.ts.map +1 -1
  46. package/dist/plugins/getApp/index.js +2 -2
  47. package/dist/plugins/getConnection/index.d.ts +6 -6
  48. package/dist/plugins/getConnection/index.d.ts.map +1 -1
  49. package/dist/plugins/getConnection/index.js +3 -3
  50. package/dist/plugins/getInputFieldsSchema/index.d.ts +8 -6
  51. package/dist/plugins/getInputFieldsSchema/index.d.ts.map +1 -1
  52. package/dist/plugins/getInputFieldsSchema/index.js +4 -4
  53. package/dist/plugins/getProfile/index.d.ts +6 -6
  54. package/dist/plugins/getProfile/index.d.ts.map +1 -1
  55. package/dist/plugins/getProfile/index.js +3 -3
  56. package/dist/plugins/listActions/index.d.ts +8 -6
  57. package/dist/plugins/listActions/index.d.ts.map +1 -1
  58. package/dist/plugins/listActions/index.js +3 -3
  59. package/dist/plugins/listApps/index.d.ts +3 -3
  60. package/dist/plugins/listApps/index.d.ts.map +1 -1
  61. package/dist/plugins/listApps/index.js +3 -3
  62. package/dist/plugins/listClientCredentials/index.d.ts +6 -4
  63. package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
  64. package/dist/plugins/listClientCredentials/index.js +3 -3
  65. package/dist/plugins/listConnections/index.d.ts +8 -6
  66. package/dist/plugins/listConnections/index.d.ts.map +1 -1
  67. package/dist/plugins/listConnections/index.js +5 -5
  68. package/dist/plugins/listInputFieldChoices/index.d.ts +9 -8
  69. package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -1
  70. package/dist/plugins/listInputFieldChoices/index.js +4 -4
  71. package/dist/plugins/listInputFields/index.d.ts +8 -8
  72. package/dist/plugins/listInputFields/index.d.ts.map +1 -1
  73. package/dist/plugins/listInputFields/index.js +4 -4
  74. package/dist/plugins/manifest/index.d.ts +8 -3
  75. package/dist/plugins/manifest/index.d.ts.map +1 -1
  76. package/dist/plugins/manifest/index.js +2 -3
  77. package/dist/plugins/registry/index.d.ts +1 -2
  78. package/dist/plugins/registry/index.d.ts.map +1 -1
  79. package/dist/plugins/registry/index.js +3 -3
  80. package/dist/plugins/request/index.d.ts +3 -4
  81. package/dist/plugins/request/index.d.ts.map +1 -1
  82. package/dist/plugins/request/index.js +2 -2
  83. package/dist/plugins/runAction/index.d.ts +8 -8
  84. package/dist/plugins/runAction/index.d.ts.map +1 -1
  85. package/dist/plugins/runAction/index.js +5 -5
  86. package/dist/plugins/tables/createTable/index.d.ts +3 -5
  87. package/dist/plugins/tables/createTable/index.d.ts.map +1 -1
  88. package/dist/plugins/tables/createTable/index.js +3 -3
  89. package/dist/plugins/tables/createTableFields/index.d.ts +3 -5
  90. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
  91. package/dist/plugins/tables/createTableFields/index.js +3 -3
  92. package/dist/plugins/tables/createTableRecords/index.d.ts +3 -5
  93. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
  94. package/dist/plugins/tables/createTableRecords/index.js +3 -3
  95. package/dist/plugins/tables/deleteTable/index.d.ts +5 -5
  96. package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
  97. package/dist/plugins/tables/deleteTable/index.js +4 -4
  98. package/dist/plugins/tables/deleteTableFields/index.d.ts +3 -5
  99. package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
  100. package/dist/plugins/tables/deleteTableFields/index.js +3 -3
  101. package/dist/plugins/tables/deleteTableRecords/index.d.ts +3 -5
  102. package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
  103. package/dist/plugins/tables/deleteTableRecords/index.js +3 -3
  104. package/dist/plugins/tables/getTable/index.d.ts +3 -5
  105. package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
  106. package/dist/plugins/tables/getTable/index.js +3 -3
  107. package/dist/plugins/tables/getTableRecord/index.d.ts +3 -5
  108. package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
  109. package/dist/plugins/tables/getTableRecord/index.js +3 -3
  110. package/dist/plugins/tables/listTableFields/index.d.ts +3 -5
  111. package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
  112. package/dist/plugins/tables/listTableFields/index.js +3 -3
  113. package/dist/plugins/tables/listTableRecords/index.d.ts +3 -3
  114. package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
  115. package/dist/plugins/tables/listTableRecords/index.js +3 -3
  116. package/dist/plugins/tables/listTables/index.d.ts +5 -3
  117. package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
  118. package/dist/plugins/tables/listTables/index.js +4 -4
  119. package/dist/plugins/tables/updateTableRecords/index.d.ts +3 -5
  120. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
  121. package/dist/plugins/tables/updateTableRecords/index.js +3 -3
  122. package/dist/resolvers/connectionId.js +1 -1
  123. package/dist/resolvers/tableId.js +1 -1
  124. package/dist/sdk.d.ts +29 -257
  125. package/dist/sdk.d.ts.map +1 -1
  126. package/dist/sdk.js +33 -43
  127. package/dist/types/plugin.d.ts +29 -48
  128. package/dist/types/plugin.d.ts.map +1 -1
  129. package/dist/types/plugin.js +7 -3
  130. package/dist/types/sdk.d.ts +2 -3
  131. package/dist/types/sdk.d.ts.map +1 -1
  132. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as zod from 'zod';
2
1
  import { z } from 'zod';
3
2
  import { ConnectionSchema, ConnectionsResponseSchema, ConnectionItem as ConnectionItem$2, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
4
3
  import { AppItem as AppItem$1 } from '@zapier/zapier-sdk-core/v0/schemas/apps';
@@ -45,19 +44,22 @@ type EventCallback = (event: SdkEvent) => void;
45
44
 
46
45
  /**
47
46
  * ------------------------------
48
- * Plugin Type System with Explicit Context Dependencies
47
+ * Plugin Type System
49
48
  * ------------------------------
50
49
  *
51
- * This system makes context dependencies explicit to restore TypeScript's
52
- * ability to catch missing context at compile time.
50
+ * Plugins receive the sdk as a positional parameter. sdk.context holds shared
51
+ * internal state (api client, event emission, meta, options, etc.). SDK methods
52
+ * live at the root, context nests under .context.
53
+ *
54
+ * A plugin is (sdk) => partialSdk. createSdk() returns an empty SDK. addPlugin
55
+ * merges the plugin's result into the SDK, producing a new SDK.
53
56
  */
54
57
 
55
- interface PluginDependencies<TSdk = {}, TContext = {}> {
56
- sdk: TSdk;
57
- context: TContext;
58
- }
59
58
  interface PluginProvides extends Record<string, any> {
60
- context?: Record<string, any>;
59
+ context?: {
60
+ meta?: Record<string, PluginMeta>;
61
+ [key: string]: any;
62
+ };
61
63
  }
62
64
  interface PluginMeta {
63
65
  /**
@@ -66,62 +68,42 @@ interface PluginMeta {
66
68
  * the inputSchema's `.describe()` value or a generic placeholder.
67
69
  */
68
70
  description?: string;
69
- categories: string[];
71
+ categories?: string[];
70
72
  type?: "list" | "item" | "create" | "delete";
71
73
  itemType?: string;
72
74
  returnType?: string;
73
- inputSchema: z.ZodSchema;
75
+ inputSchema?: z.ZodSchema;
74
76
  outputSchema?: z.ZodSchema;
75
77
  resolvers?: Record<string, any>;
76
78
  /** Confirmation prompt type - prompts user before executing */
77
79
  confirm?: "create-secret" | "delete";
78
80
  [key: string]: any;
79
81
  }
80
- type ExtractSdkProperties<T extends Record<string, any>> = Omit<T, "context">;
81
- type ExtractContextProperties<T extends PluginProvides> = T["context"];
82
- type GetSdkType<TPluginProvides extends PluginProvides> = ExtractSdkProperties<TPluginProvides> & {
83
- getContext(): NonNullable<ExtractContextProperties<TPluginProvides>>;
84
- };
85
- type GetContextType<TPluginProvides extends PluginProvides> = NonNullable<ExtractContextProperties<TPluginProvides>>;
86
- type PluginOptions<TSdk = {}, TContext = {}> = {
87
- sdk: TSdk;
88
- context: TContext & {
89
- meta: Record<string, any>;
90
- };
91
- };
92
82
  /**
93
- * Plugin interface — now has 3 type params:
83
+ * Plugin interface — 2 type params:
84
+ *
85
+ * TSdk = what this plugin needs (the SDK shape including context)
86
+ * TProvides = what this plugin returns (a partial SDK shape)
94
87
  *
95
- * TRequiresContext = what this plugin *needs* in context
96
- * TProvides = what this plugin *returns* (sdk + context)
97
- * TSdk = current sdk shape when plugin runs
98
- */
99
- interface Plugin<TSdk = {}, TRequiresContext = {}, TProvides extends PluginProvides = PluginProvides> {
100
- (params: {
101
- sdk: TSdk;
102
- context: TRequiresContext & {
88
+ * The sdk param always includes context.meta, even if TSdk doesn't declare it.
89
+ */
90
+ interface Plugin<TSdk = {}, TProvides extends PluginProvides = PluginProvides> {
91
+ (sdk: TSdk & {
92
+ context: {
103
93
  meta: Record<string, PluginMeta>;
104
- options: BaseSdkOptions;
105
94
  };
106
95
  }): TProvides;
107
96
  }
108
- type MissingContextKeys<TRequired, TCurrent> = TRequired extends Record<string, any> ? TCurrent extends Record<string, any> ? {
109
- [K in keyof TRequired]: K extends keyof TCurrent ? never : K;
110
- }[keyof TRequired] : keyof TRequired : never;
111
- type ContextError<TRequired, TCurrent> = MissingContextKeys<TRequired, TCurrent> extends never ? never : MissingContextKeys<TRequired, TCurrent> extends infer Missing ? Missing extends string ? `❌ Missing required context: { ${Missing}: any }` : Missing extends number ? `❌ Missing required context: { ${Missing}: any }` : `❌ Missing required context properties. Required: ${keyof TRequired extends string ? keyof TRequired : "unknown"}, Available: ${keyof TCurrent extends string ? keyof TCurrent : "unknown"}` : "❌ Context requirement not satisfied";
112
97
  /**
113
- * SDK interface result of createSdk()
114
- *
115
- * addPlugin now enforces that TRequiresContext is assignable to TCurrentContext.
116
- * If not, TypeScript will emit a detailed error showing missing properties.
117
- */
118
- type Sdk<TCurrentSdk = {}, TCurrentContext = {
119
- meta: Record<string, PluginMeta>;
120
- }> = TCurrentSdk & {
121
- addPlugin<TRequiresContext, TProvides extends PluginProvides>(plugin: Plugin<TCurrentSdk & {
122
- getContext(): TCurrentContext;
123
- }, TRequiresContext, TProvides>, options?: any): TCurrentContext extends TRequiresContext ? Sdk<TCurrentSdk & ExtractSdkProperties<TProvides>, TCurrentContext & NonNullable<ExtractContextProperties<TProvides>>> : ContextError<TRequiresContext, TCurrentContext>;
124
- getContext(): TCurrentContext;
98
+ * Takes an SDK shape and adds an addPlugin method to it.
99
+ * addPlugin merges a plugin's result into the shape, producing a new SDK.
100
+ */
101
+ type WithAddPlugin<T = {
102
+ context: {
103
+ meta: Record<string, PluginMeta>;
104
+ };
105
+ }> = T & {
106
+ addPlugin<TProvides extends PluginProvides>(plugin: Plugin<T, TProvides>): WithAddPlugin<T & TProvides>;
125
107
  };
126
108
 
127
109
  /**
@@ -1067,9 +1049,14 @@ declare function findManifestEntry({ appKey, manifest, }: {
1067
1049
  manifest: Manifest;
1068
1050
  }): [string, ManifestEntry] | null;
1069
1051
 
1070
- declare const manifestPlugin: Plugin<{}, // no SDK dependencies
1071
- {
1072
- api: ApiClient;
1052
+ declare const manifestPlugin: Plugin<{
1053
+ context: {
1054
+ api: ApiClient;
1055
+ options?: {
1056
+ manifestPath?: string;
1057
+ manifest?: Manifest;
1058
+ };
1059
+ };
1073
1060
  }, ManifestPluginProvides>;
1074
1061
 
1075
1062
  /**
@@ -1436,8 +1423,7 @@ interface RegistryPluginProvides {
1436
1423
  }[];
1437
1424
  };
1438
1425
  }
1439
- declare const registryPlugin: Plugin<{}, // accepts any SDK shape
1440
- {}, // requires no context
1426
+ declare const registryPlugin: Plugin<{}, // accepts any SDK shape, requires no context
1441
1427
  RegistryPluginProvides>;
1442
1428
 
1443
1429
  declare const GetProfileSchema: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
@@ -1455,11 +1441,11 @@ interface GetProfilePluginProvides {
1455
1441
  };
1456
1442
  };
1457
1443
  }
1458
- declare const getProfilePlugin: Plugin<{}, // no SDK dependencies
1459
- // no SDK dependencies
1460
- {
1461
- api: ApiClient;
1462
- } & EventEmissionContext, // requires api and eventEmission in context
1444
+ declare const getProfilePlugin: Plugin<{
1445
+ context: {
1446
+ api: ApiClient;
1447
+ };
1448
+ } & EventEmissionProvides, // no SDK dependencies, requires api and eventEmission in context
1463
1449
  GetProfilePluginProvides>;
1464
1450
 
1465
1451
  interface ApiPluginOptions extends BaseSdkOptions {
@@ -1470,7 +1456,11 @@ interface ApiPluginProvides {
1470
1456
  resolveCredentials: () => Promise<ResolvedCredentials | undefined>;
1471
1457
  };
1472
1458
  }
1473
- declare const apiPlugin: Plugin<{}, {}, ApiPluginProvides>;
1459
+ declare const apiPlugin: Plugin<{
1460
+ context: {
1461
+ options: BaseSdkOptions;
1462
+ };
1463
+ }, ApiPluginProvides>;
1474
1464
 
1475
1465
  declare const AppKeyPropertySchema: z.ZodString & {
1476
1466
  _def: z.core.$ZodStringDef & PositionalMetadata;
@@ -1595,7 +1585,9 @@ interface ConnectionsPluginProvides {
1595
1585
  getConnectionsMap: () => Promise<ConnectionsMap | null>;
1596
1586
  };
1597
1587
  }
1598
- declare const connectionsPlugin: Plugin<{}, ManifestPluginProvides["context"], ConnectionsPluginProvides>;
1588
+ declare const connectionsPlugin: Plugin<{
1589
+ context: Pick<ManifestPluginProvides["context"], "getManifestConnections">;
1590
+ }, ConnectionsPluginProvides>;
1599
1591
 
1600
1592
  interface ZapierFetchInitOptions extends RequestInit {
1601
1593
  /** @deprecated Use `connection` instead. */
@@ -1628,11 +1620,11 @@ interface FetchPluginProvides {
1628
1620
  * Fetch plugin — the primary way to make authenticated HTTP requests through Zapier's Relay service.
1629
1621
  * Mirrors the native fetch(url, init?) signature with additional Zapier-specific options.
1630
1622
  */
1631
- declare const fetchPlugin: Plugin<{}, // no SDK dependencies
1632
- // no SDK dependencies
1633
- {
1634
- api: ApiClient;
1635
- } & ConnectionsPluginProvides["context"] & EventEmissionContext, // requires api, connections, and eventEmission in context
1623
+ declare const fetchPlugin: Plugin<{
1624
+ context: {
1625
+ api: ApiClient;
1626
+ } & ConnectionsPluginProvides["context"];
1627
+ } & EventEmissionProvides, // no SDK dependencies, requires api, connections, and eventEmission in context
1636
1628
  FetchPluginProvides>;
1637
1629
 
1638
1630
  declare const RunActionSchema: z.ZodObject<{
@@ -1792,10 +1784,12 @@ interface ListActionsPluginProvides {
1792
1784
  };
1793
1785
  };
1794
1786
  }
1795
- declare const listActionsPlugin: Plugin<GetSdkType<ManifestPluginProvides>, {
1796
- api: ApiClient;
1797
- getVersionedImplementationId: GetVersionedImplementationId;
1798
- } & EventEmissionContext, ListActionsPluginProvides>;
1787
+ declare const listActionsPlugin: Plugin<ManifestPluginProvides & {
1788
+ context: {
1789
+ api: ApiClient;
1790
+ getVersionedImplementationId: GetVersionedImplementationId;
1791
+ };
1792
+ } & EventEmissionProvides, ListActionsPluginProvides>;
1799
1793
 
1800
1794
  interface GetActionPluginProvides {
1801
1795
  getAction: (options: GetActionOptions) => Promise<{
@@ -1809,11 +1803,11 @@ interface GetActionPluginProvides {
1809
1803
  };
1810
1804
  };
1811
1805
  }
1812
- declare const getActionPlugin: Plugin<GetSdkType<ListActionsPluginProvides>, // requires listActions in SDK
1813
- // requires listActions in SDK
1814
- {
1815
- api: ApiClient;
1816
- } & EventEmissionContext, // requires api in context
1806
+ declare const getActionPlugin: Plugin<ListActionsPluginProvides & {
1807
+ context: {
1808
+ api: ApiClient;
1809
+ };
1810
+ } & EventEmissionProvides, // requires listActions in SDK, api and eventEmission in context
1817
1811
  GetActionPluginProvides>;
1818
1812
 
1819
1813
  declare const GetAppSchema: z.ZodObject<{
@@ -1878,7 +1872,7 @@ interface ListAppsPluginProvides {
1878
1872
  };
1879
1873
  };
1880
1874
  }
1881
- declare const listAppsPlugin: Plugin<{}, GetContextType<ApiPluginProvides & ManifestPluginProvides> & EventEmissionContext, ListAppsPluginProvides>;
1875
+ declare const listAppsPlugin: Plugin<ApiPluginProvides & ManifestPluginProvides & EventEmissionProvides, ListAppsPluginProvides>;
1882
1876
 
1883
1877
  interface GetAppPluginProvides {
1884
1878
  getApp: (options: GetAppOptions) => Promise<{
@@ -1892,7 +1886,7 @@ interface GetAppPluginProvides {
1892
1886
  };
1893
1887
  };
1894
1888
  }
1895
- declare const getAppPlugin: Plugin<GetSdkType<ListAppsPluginProvides>, EventEmissionContext, GetAppPluginProvides>;
1889
+ declare const getAppPlugin: Plugin<ListAppsPluginProvides & EventEmissionProvides, GetAppPluginProvides>;
1896
1890
 
1897
1891
  interface RunActionPluginProvides {
1898
1892
  runAction: (options?: RunActionOptions) => Promise<{
@@ -1914,19 +1908,18 @@ interface RunActionPluginProvides {
1914
1908
  }
1915
1909
  declare const CONTEXT_CACHE_TTL_MS = 60000;
1916
1910
  declare const CONTEXT_CACHE_MAX_SIZE = 500;
1917
- declare const runActionPlugin: Plugin<GetSdkType<GetActionPluginProvides & GetAppPluginProvides>, // requires getAction and getApp in SDK
1918
- // requires getAction and getApp in SDK
1919
- {
1920
- api: ApiClient;
1921
- getVersionedImplementationId: GetVersionedImplementationId;
1922
- } & ConnectionsPluginProvides["context"] & EventEmissionContext, // requires api, connections, and eventEmission in context
1911
+ declare const runActionPlugin: Plugin<GetActionPluginProvides & GetAppPluginProvides & {
1912
+ context: {
1913
+ api: ApiClient;
1914
+ getVersionedImplementationId: GetVersionedImplementationId;
1915
+ } & ConnectionsPluginProvides["context"];
1916
+ } & EventEmissionProvides, // requires getAction and getApp in SDK, api, connections, and eventEmission in context
1923
1917
  RunActionPluginProvides>;
1924
1918
 
1925
1919
  interface AppsPluginProvides {
1926
1920
  apps: ActionProxy;
1927
1921
  }
1928
- declare const appsPlugin: Plugin<GetSdkType<FetchPluginProvides & RunActionPluginProvides>, // requires fetch + runAction in SDK
1929
- {}, // no context requirements
1922
+ declare const appsPlugin: Plugin<FetchPluginProvides & RunActionPluginProvides, // requires fetch + runAction in SDK, no context requirements
1930
1923
  AppsPluginProvides>;
1931
1924
 
1932
1925
  interface ZapierSdkApps {
@@ -1983,10 +1976,12 @@ interface ListConnectionsPluginProvides {
1983
1976
  };
1984
1977
  };
1985
1978
  }
1986
- declare const listConnectionsPlugin: Plugin<GetSdkType<ManifestPluginProvides>, {
1987
- api: ApiClient;
1988
- getVersionedImplementationId: GetVersionedImplementationId;
1989
- } & EventEmissionContext & CapabilitiesContext & ConnectionsPluginProvides["context"], ListConnectionsPluginProvides>;
1979
+ declare const listConnectionsPlugin: Plugin<ManifestPluginProvides & {
1980
+ context: {
1981
+ api: ApiClient;
1982
+ getVersionedImplementationId: GetVersionedImplementationId;
1983
+ } & CapabilitiesContext & ConnectionsPluginProvides["context"];
1984
+ } & EventEmissionProvides, ListConnectionsPluginProvides>;
1990
1985
 
1991
1986
  interface GetConnectionPluginProvides {
1992
1987
  getConnection: (options: GetConnectionParam) => Promise<GetConnectionResponse>;
@@ -1998,11 +1993,11 @@ interface GetConnectionPluginProvides {
1998
1993
  };
1999
1994
  };
2000
1995
  }
2001
- declare const getConnectionPlugin: Plugin<{}, // no SDK dependencies
2002
- // no SDK dependencies
2003
- {
2004
- api: ApiClient;
2005
- } & EventEmissionContext, // requires api in context
1996
+ declare const getConnectionPlugin: Plugin<{
1997
+ context: {
1998
+ api: ApiClient;
1999
+ };
2000
+ } & EventEmissionProvides, // no SDK dependencies, requires api and eventEmission in context
2006
2001
  GetConnectionPluginProvides>;
2007
2002
 
2008
2003
  interface FindFirstConnectionPluginProvides {
@@ -2017,8 +2012,7 @@ interface FindFirstConnectionPluginProvides {
2017
2012
  };
2018
2013
  };
2019
2014
  }
2020
- declare const findFirstConnectionPlugin: Plugin<GetSdkType<ListConnectionsPluginProvides>, // requires listConnections in SDK
2021
- EventEmissionContext, // requires eventEmission in context
2015
+ declare const findFirstConnectionPlugin: Plugin<ListConnectionsPluginProvides & EventEmissionProvides, // requires listConnections in SDK, eventEmission in context
2022
2016
  FindFirstConnectionPluginProvides>;
2023
2017
 
2024
2018
  interface FindUniqueConnectionPluginProvides {
@@ -2033,8 +2027,7 @@ interface FindUniqueConnectionPluginProvides {
2033
2027
  };
2034
2028
  };
2035
2029
  }
2036
- declare const findUniqueConnectionPlugin: Plugin<GetSdkType<ListConnectionsPluginProvides>, // requires listConnections in SDK
2037
- EventEmissionContext, // requires eventEmission in context
2030
+ declare const findUniqueConnectionPlugin: Plugin<ListConnectionsPluginProvides & EventEmissionProvides, // requires listConnections in SDK, eventEmission in context
2038
2031
  FindUniqueConnectionPluginProvides>;
2039
2032
 
2040
2033
  /**
@@ -2052,7 +2045,7 @@ FindUniqueConnectionPluginProvides>;
2052
2045
  */
2053
2046
 
2054
2047
  interface ListAuthenticationsPluginProvides {
2055
- listAuthentications: GetSdkType<ListConnectionsPluginProvides>["listConnections"];
2048
+ listAuthentications: ListConnectionsPluginProvides["listConnections"];
2056
2049
  context: {
2057
2050
  meta: {
2058
2051
  listAuthentications: {
@@ -2062,7 +2055,7 @@ interface ListAuthenticationsPluginProvides {
2062
2055
  };
2063
2056
  }
2064
2057
  interface GetAuthenticationPluginProvides {
2065
- getAuthentication: GetSdkType<GetConnectionPluginProvides>["getConnection"];
2058
+ getAuthentication: GetConnectionPluginProvides["getConnection"];
2066
2059
  context: {
2067
2060
  meta: {
2068
2061
  getAuthentication: {
@@ -2072,7 +2065,7 @@ interface GetAuthenticationPluginProvides {
2072
2065
  };
2073
2066
  }
2074
2067
  interface FindFirstAuthenticationPluginProvides {
2075
- findFirstAuthentication: GetSdkType<FindFirstConnectionPluginProvides>["findFirstConnection"];
2068
+ findFirstAuthentication: FindFirstConnectionPluginProvides["findFirstConnection"];
2076
2069
  context: {
2077
2070
  meta: {
2078
2071
  findFirstAuthentication: {
@@ -2082,7 +2075,7 @@ interface FindFirstAuthenticationPluginProvides {
2082
2075
  };
2083
2076
  }
2084
2077
  interface FindUniqueAuthenticationPluginProvides {
2085
- findUniqueAuthentication: GetSdkType<FindUniqueConnectionPluginProvides>["findUniqueConnection"];
2078
+ findUniqueAuthentication: FindUniqueConnectionPluginProvides["findUniqueConnection"];
2086
2079
  context: {
2087
2080
  meta: {
2088
2081
  findUniqueAuthentication: {
@@ -2115,15 +2108,17 @@ interface ListClientCredentialsPluginProvides {
2115
2108
  };
2116
2109
  };
2117
2110
  }
2118
- declare const listClientCredentialsPlugin: Plugin<{}, {
2119
- api: ApiClient;
2120
- } & EventEmissionContext, ListClientCredentialsPluginProvides>;
2111
+ declare const listClientCredentialsPlugin: Plugin<{
2112
+ context: {
2113
+ api: ApiClient;
2114
+ };
2115
+ } & EventEmissionProvides, ListClientCredentialsPluginProvides>;
2121
2116
 
2122
2117
  declare const CreateClientCredentialsSchema: z.ZodObject<{
2123
2118
  name: z.ZodString;
2124
2119
  allowedScopes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2125
- credentials: "credentials";
2126
2120
  external: "external";
2121
+ credentials: "credentials";
2127
2122
  }>>>;
2128
2123
  }, z.core.$strip>;
2129
2124
  type CreateClientCredentialsOptions = z.infer<typeof CreateClientCredentialsSchema> & FunctionOptions;
@@ -2141,9 +2136,11 @@ interface CreateClientCredentialsPluginProvides {
2141
2136
  };
2142
2137
  };
2143
2138
  }
2144
- declare const createClientCredentialsPlugin: Plugin<{}, {
2145
- api: ApiClient;
2146
- } & EventEmissionContext, CreateClientCredentialsPluginProvides>;
2139
+ declare const createClientCredentialsPlugin: Plugin<{
2140
+ context: {
2141
+ api: ApiClient;
2142
+ };
2143
+ } & EventEmissionProvides, CreateClientCredentialsPluginProvides>;
2147
2144
 
2148
2145
  declare const DeleteClientCredentialsSchema: z.ZodObject<{
2149
2146
  clientId: z.ZodString;
@@ -2163,9 +2160,11 @@ interface DeleteClientCredentialsPluginProvides {
2163
2160
  };
2164
2161
  };
2165
2162
  }
2166
- declare const deleteClientCredentialsPlugin: Plugin<{}, {
2167
- api: ApiClient;
2168
- } & EventEmissionContext, DeleteClientCredentialsPluginProvides>;
2163
+ declare const deleteClientCredentialsPlugin: Plugin<{
2164
+ context: {
2165
+ api: ApiClient;
2166
+ };
2167
+ } & EventEmissionProvides, DeleteClientCredentialsPluginProvides>;
2169
2168
 
2170
2169
  interface ListInputFieldsPluginProvides {
2171
2170
  listInputFields: (options?: ListInputFieldsOptions) => Promise<{
@@ -2185,12 +2184,12 @@ interface ListInputFieldsPluginProvides {
2185
2184
  };
2186
2185
  };
2187
2186
  }
2188
- declare const listInputFieldsPlugin: Plugin<GetSdkType<GetAppPluginProvides & GetActionPluginProvides>, // requires getApp and getAction in SDK
2189
- // requires getApp and getAction in SDK
2190
- {
2191
- api: ApiClient;
2192
- getVersionedImplementationId: GetVersionedImplementationId;
2193
- } & EventEmissionContext & ConnectionsPluginProvides["context"], // requires api, getVersionedImplementationId, eventEmission, and resolveConnection in context
2187
+ declare const listInputFieldsPlugin: Plugin<GetAppPluginProvides & GetActionPluginProvides & {
2188
+ context: {
2189
+ api: ApiClient;
2190
+ getVersionedImplementationId: GetVersionedImplementationId;
2191
+ } & ConnectionsPluginProvides["context"];
2192
+ } & EventEmissionProvides, // requires getApp and getAction in SDK, api, getVersionedImplementationId, eventEmission, and resolveConnection in context
2194
2193
  ListInputFieldsPluginProvides>;
2195
2194
 
2196
2195
  declare const GetInputFieldsSchemaSchema: z.ZodObject<{
@@ -2358,8 +2357,7 @@ interface RequestPluginProvides {
2358
2357
  * @deprecated Use `sdk.fetch(url, init?)` instead. This plugin now delegates to the fetch plugin
2359
2358
  * and is kept only for backward compatibility. It is hidden from the CLI/MCP registries.
2360
2359
  */
2361
- declare const requestPlugin: Plugin<GetSdkType<FetchPluginProvides>, // requires fetch in SDK
2362
- EventEmissionContext, // requires eventEmission context for telemetry
2360
+ declare const requestPlugin: Plugin<FetchPluginProvides & EventEmissionProvides, // requires fetch in SDK, eventEmission context for telemetry
2363
2361
  RequestPluginProvides>;
2364
2362
 
2365
2363
  declare const TableItemSchema: z.ZodObject<{
@@ -2415,7 +2413,9 @@ interface ListTablesPluginProvides {
2415
2413
  };
2416
2414
  };
2417
2415
  }
2418
- declare const listTablesPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext & CapabilitiesContext, ListTablesPluginProvides>;
2416
+ declare const listTablesPlugin: Plugin<ApiPluginProvides & EventEmissionProvides & {
2417
+ context: CapabilitiesContext;
2418
+ }, ListTablesPluginProvides>;
2419
2419
 
2420
2420
  declare const GetTableOptionsSchema: z.ZodObject<{
2421
2421
  table: z.ZodString & {
@@ -2442,9 +2442,7 @@ interface GetTablePluginProvides {
2442
2442
  };
2443
2443
  };
2444
2444
  }
2445
- declare const getTablePlugin: Plugin<{}, {
2446
- api: ApiClient;
2447
- } & EventEmissionContext, GetTablePluginProvides>;
2445
+ declare const getTablePlugin: Plugin<ApiPluginProvides & EventEmissionProvides, GetTablePluginProvides>;
2448
2446
 
2449
2447
  declare const DeleteTableOptionsSchema: z.ZodObject<{
2450
2448
  table: z.ZodString & {
@@ -2472,9 +2470,9 @@ interface DeleteTablePluginProvides {
2472
2470
  };
2473
2471
  };
2474
2472
  }
2475
- declare const deleteTablePlugin: Plugin<{}, {
2476
- api: ApiClient;
2477
- } & EventEmissionContext & CapabilitiesContext, DeleteTablePluginProvides>;
2473
+ declare const deleteTablePlugin: Plugin<ApiPluginProvides & EventEmissionProvides & {
2474
+ context: CapabilitiesContext;
2475
+ }, DeleteTablePluginProvides>;
2478
2476
 
2479
2477
  declare const CreateTableOptionsSchema: z.ZodObject<{
2480
2478
  name: z.ZodString;
@@ -2495,9 +2493,7 @@ interface CreateTablePluginProvides {
2495
2493
  };
2496
2494
  };
2497
2495
  }
2498
- declare const createTablePlugin: Plugin<{}, {
2499
- api: ApiClient;
2500
- } & EventEmissionContext, CreateTablePluginProvides>;
2496
+ declare const createTablePlugin: Plugin<ApiPluginProvides & EventEmissionProvides, CreateTablePluginProvides>;
2501
2497
 
2502
2498
  declare const FieldItemSchema: z.ZodObject<{
2503
2499
  id: z.ZodString;
@@ -2572,9 +2568,7 @@ interface ListTableFieldsPluginProvides {
2572
2568
  };
2573
2569
  };
2574
2570
  }
2575
- declare const listTableFieldsPlugin: Plugin<{}, {
2576
- api: ApiClient;
2577
- } & EventEmissionContext, ListTableFieldsPluginProvides>;
2571
+ declare const listTableFieldsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, ListTableFieldsPluginProvides>;
2578
2572
 
2579
2573
  declare const CreateTableFieldsOptionsSchema: z.ZodObject<{
2580
2574
  table: z.ZodString & {
@@ -2676,9 +2670,7 @@ interface CreateTableFieldsPluginProvides {
2676
2670
  };
2677
2671
  };
2678
2672
  }
2679
- declare const createTableFieldsPlugin: Plugin<{}, {
2680
- api: ApiClient;
2681
- } & EventEmissionContext, CreateTableFieldsPluginProvides>;
2673
+ declare const createTableFieldsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, CreateTableFieldsPluginProvides>;
2682
2674
 
2683
2675
  declare const DeleteTableFieldsOptionsSchema: z.ZodObject<{
2684
2676
  table: z.ZodString & {
@@ -2710,9 +2702,7 @@ interface DeleteTableFieldsPluginProvides {
2710
2702
  };
2711
2703
  };
2712
2704
  }
2713
- declare const deleteTableFieldsPlugin: Plugin<{}, {
2714
- api: ApiClient;
2715
- } & EventEmissionContext, DeleteTableFieldsPluginProvides>;
2705
+ declare const deleteTableFieldsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, DeleteTableFieldsPluginProvides>;
2716
2706
 
2717
2707
  declare const RecordItemSchema: z.ZodObject<{
2718
2708
  id: z.ZodString;
@@ -2761,9 +2751,7 @@ interface GetTableRecordPluginProvides {
2761
2751
  };
2762
2752
  };
2763
2753
  }
2764
- declare const getTableRecordPlugin: Plugin<{}, {
2765
- api: ApiClient;
2766
- } & EventEmissionContext, GetTableRecordPluginProvides>;
2754
+ declare const getTableRecordPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, GetTableRecordPluginProvides>;
2767
2755
 
2768
2756
  declare const ListTableRecordsOptionsSchema: z.ZodObject<{
2769
2757
  table: z.ZodString & {
@@ -2864,7 +2852,7 @@ interface ListTableRecordsPluginProvides {
2864
2852
  };
2865
2853
  };
2866
2854
  }
2867
- declare const listTableRecordsPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext, ListTableRecordsPluginProvides>;
2855
+ declare const listTableRecordsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, ListTableRecordsPluginProvides>;
2868
2856
 
2869
2857
  declare const CreateTableRecordsOptionsSchema: z.ZodObject<{
2870
2858
  table: z.ZodString & {
@@ -2906,9 +2894,7 @@ interface CreateTableRecordsPluginProvides {
2906
2894
  };
2907
2895
  };
2908
2896
  }
2909
- declare const createTableRecordsPlugin: Plugin<{}, {
2910
- api: ApiClient;
2911
- } & EventEmissionContext, CreateTableRecordsPluginProvides>;
2897
+ declare const createTableRecordsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, CreateTableRecordsPluginProvides>;
2912
2898
 
2913
2899
  declare const DeleteTableRecordsOptionsSchema: z.ZodObject<{
2914
2900
  table: z.ZodString & {
@@ -2940,9 +2926,7 @@ interface DeleteTableRecordsPluginProvides {
2940
2926
  };
2941
2927
  };
2942
2928
  }
2943
- declare const deleteTableRecordsPlugin: Plugin<{}, {
2944
- api: ApiClient;
2945
- } & EventEmissionContext, DeleteTableRecordsPluginProvides>;
2929
+ declare const deleteTableRecordsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, DeleteTableRecordsPluginProvides>;
2946
2930
 
2947
2931
  declare const UpdateTableRecordsOptionsSchema: z.ZodObject<{
2948
2932
  table: z.ZodString & {
@@ -2986,9 +2970,7 @@ interface UpdateTableRecordsPluginProvides {
2986
2970
  };
2987
2971
  };
2988
2972
  }
2989
- declare const updateTableRecordsPlugin: Plugin<{}, {
2990
- api: ApiClient;
2991
- } & EventEmissionContext, UpdateTableRecordsPluginProvides>;
2973
+ declare const updateTableRecordsPlugin: Plugin<ApiPluginProvides & EventEmissionProvides, UpdateTableRecordsPluginProvides>;
2992
2974
 
2993
2975
  /**
2994
2976
  * SDK-related types and interfaces
@@ -3095,9 +3077,9 @@ interface FunctionDeprecation {
3095
3077
  /** User-facing deprecation message for why/how to migrate */
3096
3078
  message: string;
3097
3079
  }
3098
- interface ZapierSdk extends GetSdkType<RegistryPluginProvides & FetchPluginProvides & AppsPluginProvides & ListAppsPluginProvides & ManifestPluginProvides & GetAppPluginProvides & ListActionsPluginProvides & GetActionPluginProvides & RunActionPluginProvides & ListConnectionsPluginProvides & GetConnectionPluginProvides & FindFirstConnectionPluginProvides & FindUniqueConnectionPluginProvides & ListAuthenticationsPluginProvides & GetAuthenticationPluginProvides & FindFirstAuthenticationPluginProvides & FindUniqueAuthenticationPluginProvides & ListClientCredentialsPluginProvides & CreateClientCredentialsPluginProvides & DeleteClientCredentialsPluginProvides & ListInputFieldsPluginProvides & GetInputFieldsSchemaPluginProvides & ListInputFieldChoicesPluginProvides & RequestPluginProvides & GetProfilePluginProvides & EventEmissionProvides & ApiPluginProvides & ListTablesPluginProvides & GetTablePluginProvides & DeleteTablePluginProvides & CreateTablePluginProvides & ListTableFieldsPluginProvides & CreateTableFieldsPluginProvides & DeleteTableFieldsPluginProvides & GetTableRecordPluginProvides & ListTableRecordsPluginProvides & CreateTableRecordsPluginProvides & DeleteTableRecordsPluginProvides & UpdateTableRecordsPluginProvides> {
3080
+ type ZapierSdk = RegistryPluginProvides & FetchPluginProvides & AppsPluginProvides & ListAppsPluginProvides & ManifestPluginProvides & GetAppPluginProvides & ListActionsPluginProvides & GetActionPluginProvides & RunActionPluginProvides & ListConnectionsPluginProvides & GetConnectionPluginProvides & FindFirstConnectionPluginProvides & FindUniqueConnectionPluginProvides & ListAuthenticationsPluginProvides & GetAuthenticationPluginProvides & FindFirstAuthenticationPluginProvides & FindUniqueAuthenticationPluginProvides & ListClientCredentialsPluginProvides & CreateClientCredentialsPluginProvides & DeleteClientCredentialsPluginProvides & ListInputFieldsPluginProvides & GetInputFieldsSchemaPluginProvides & ListInputFieldChoicesPluginProvides & RequestPluginProvides & GetProfilePluginProvides & EventEmissionProvides & ApiPluginProvides & ListTablesPluginProvides & GetTablePluginProvides & DeleteTablePluginProvides & CreateTablePluginProvides & ListTableFieldsPluginProvides & CreateTableFieldsPluginProvides & DeleteTableFieldsPluginProvides & GetTableRecordPluginProvides & ListTableRecordsPluginProvides & CreateTableRecordsPluginProvides & DeleteTableRecordsPluginProvides & UpdateTableRecordsPluginProvides & {
3099
3081
  apps: ActionProxy & ZapierSdkApps;
3100
- }
3082
+ };
3101
3083
 
3102
3084
  interface FormattedItem {
3103
3085
  title: string;
@@ -3279,8 +3261,8 @@ type ConnectionItem$1 = z.infer<typeof ConnectionItemSchema>;
3279
3261
 
3280
3262
  declare const ActionItemSchema: z.ZodObject<{
3281
3263
  description: z.ZodString;
3282
- id: z.ZodOptional<z.ZodString>;
3283
3264
  key: z.ZodString;
3265
+ id: z.ZodOptional<z.ZodString>;
3284
3266
  is_important: z.ZodOptional<z.ZodBoolean>;
3285
3267
  is_hidden: z.ZodOptional<z.ZodBoolean>;
3286
3268
  app_key: z.ZodString;
@@ -3804,264 +3786,37 @@ declare const ZAPIER_MAX_NETWORK_RETRY_DELAY_MS: number;
3804
3786
 
3805
3787
  interface ZapierSdkOptions extends BaseSdkOptions {
3806
3788
  }
3807
- declare function createSdk<TCurrentSdk = {}, TCurrentContext extends {
3808
- meta: Record<string, PluginMeta>;
3809
- } = {
3810
- meta: Record<string, PluginMeta>;
3811
- }>(options?: ZapierSdkOptions, initialSdk?: TCurrentSdk, initialContext?: TCurrentContext): TCurrentSdk & {
3812
- getContext: () => TCurrentContext;
3813
- addPlugin<TRequiresContext, TProvides extends PluginProvides>(plugin: Plugin<TCurrentSdk & {
3814
- getContext(): TCurrentContext;
3815
- }, TRequiresContext, TProvides>, addPluginOptions?: Record<string, unknown>): Sdk<TCurrentSdk & ExtractSdkProperties<TProvides>, TCurrentContext & NonNullable<ExtractContextProperties<TProvides>>>;
3816
- };
3817
- declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk<ExtractSdkProperties<EventEmissionProvides> & ExtractSdkProperties<ApiPluginProvides> & ExtractSdkProperties<ManifestPluginProvides> & ExtractSdkProperties<CapabilitiesPluginProvides> & ExtractSdkProperties<ConnectionsPluginProvides> & ExtractSdkProperties<ListAppsPluginProvides> & ExtractSdkProperties<GetAppPluginProvides> & ExtractSdkProperties<ListActionsPluginProvides> & ExtractSdkProperties<GetActionPluginProvides> & ExtractSdkProperties<ListInputFieldsPluginProvides> & ExtractSdkProperties<GetInputFieldsSchemaPluginProvides> & ExtractSdkProperties<ListInputFieldChoicesPluginProvides> & ExtractSdkProperties<RunActionPluginProvides> & ExtractSdkProperties<ListConnectionsPluginProvides> & ExtractSdkProperties<GetConnectionPluginProvides> & ExtractSdkProperties<FindFirstConnectionPluginProvides> & ExtractSdkProperties<FindUniqueConnectionPluginProvides> & ExtractSdkProperties<ListAuthenticationsPluginProvides> & ExtractSdkProperties<GetAuthenticationPluginProvides> & ExtractSdkProperties<FindFirstAuthenticationPluginProvides> & ExtractSdkProperties<FindUniqueAuthenticationPluginProvides> & ExtractSdkProperties<ListClientCredentialsPluginProvides> & ExtractSdkProperties<CreateClientCredentialsPluginProvides> & ExtractSdkProperties<DeleteClientCredentialsPluginProvides> & ExtractSdkProperties<FetchPluginProvides> & ExtractSdkProperties<RequestPluginProvides> & ExtractSdkProperties<ListTablesPluginProvides> & ExtractSdkProperties<GetTablePluginProvides> & ExtractSdkProperties<DeleteTablePluginProvides> & ExtractSdkProperties<CreateTablePluginProvides> & ExtractSdkProperties<ListTableFieldsPluginProvides> & ExtractSdkProperties<CreateTableFieldsPluginProvides> & ExtractSdkProperties<DeleteTableFieldsPluginProvides> & ExtractSdkProperties<GetTableRecordPluginProvides> & ExtractSdkProperties<ListTableRecordsPluginProvides> & ExtractSdkProperties<CreateTableRecordsPluginProvides> & ExtractSdkProperties<DeleteTableRecordsPluginProvides> & ExtractSdkProperties<UpdateTableRecordsPluginProvides> & ExtractSdkProperties<AppsPluginProvides> & ExtractSdkProperties<GetProfilePluginProvides>, {
3818
- meta: Record<string, PluginMeta>;
3819
- } & EventEmissionContext & {
3820
- api: ApiClient;
3821
- resolveCredentials: () => Promise<ResolvedCredentials | undefined>;
3822
- } & {
3823
- getResolvedManifest: () => Promise<Manifest | null>;
3824
- getVersionedImplementationId: GetVersionedImplementationId;
3825
- resolveAppKeys: ResolveAppKeys;
3826
- getManifestConnections: () => Promise<ConnectionsMap | null>;
3827
- updateManifestEntry: (options: UpdateManifestEntryOptions) => Promise<UpdateManifestEntryResult>;
3828
- addActionEntry: (options: AddActionEntryOptions) => Promise<AddActionEntryResult>;
3829
- findActionEntry: (options: {
3830
- name: string;
3831
- manifest: Manifest;
3832
- }) => ActionEntry | null;
3833
- listActionEntries: (options?: {
3834
- configPath?: string;
3835
- }) => Promise<Array<[string, ActionEntry]>>;
3836
- deleteActionEntry: (options: {
3837
- name: string;
3838
- configPath?: string;
3839
- skipWrite?: boolean;
3840
- }) => Promise<Manifest>;
3841
- hasActionEntry: (options: {
3842
- name: string;
3843
- manifest: Manifest;
3844
- }) => boolean;
3845
- findManifestEntry: (options: {
3846
- appKey: string;
3847
- manifest: Manifest;
3848
- }) => [string, ManifestEntry] | null;
3849
- readManifestFromFile: (filePath: string) => Promise<Manifest | null>;
3850
- } & CapabilitiesContext & {
3851
- resolveConnection: (name: string) => Promise<ConnectionEntry | undefined>;
3852
- getConnectionsMap: () => Promise<ConnectionsMap | null>;
3853
- } & {
3854
- meta: {
3855
- listApps: {
3856
- inputSchema: typeof ListAppsSchema;
3857
- };
3858
- };
3859
- } & {
3860
- meta: {
3861
- getApp: {
3862
- inputSchema: typeof GetAppSchema;
3863
- };
3864
- };
3865
- } & {
3866
- meta: {
3867
- listActions: {
3868
- inputSchema: typeof ListActionsSchema;
3869
- };
3870
- };
3871
- } & {
3872
- meta: {
3873
- getAction: {
3874
- inputSchema: typeof GetActionSchema;
3875
- };
3876
- };
3877
- } & {
3878
- meta: {
3879
- listInputFields: {
3880
- inputSchema: typeof ListInputFieldsSchema;
3881
- };
3882
- };
3883
- } & {
3884
- meta: {
3885
- getInputFieldsSchema: {
3886
- inputSchema: typeof GetInputFieldsSchemaSchema;
3887
- };
3888
- };
3889
- } & {
3890
- meta: {
3891
- listInputFieldChoices: {
3892
- inputSchema: typeof ListInputFieldChoicesSchema;
3893
- };
3894
- };
3895
- } & {
3896
- meta: {
3897
- runAction: {
3898
- inputSchema: typeof RunActionSchema;
3899
- };
3900
- };
3901
- } & {
3902
- meta: {
3903
- listConnections: {
3904
- inputSchema: typeof ListConnectionsQuerySchema;
3905
- };
3906
- };
3907
- } & {
3908
- meta: {
3909
- getConnection: {
3910
- inputSchema: typeof GetConnectionParamSchema;
3911
- };
3912
- };
3913
- } & {
3914
- meta: {
3915
- findFirstConnection: {
3916
- inputSchema: typeof FindFirstConnectionSchema;
3917
- };
3918
- };
3919
- } & {
3920
- meta: {
3921
- findUniqueConnection: {
3922
- inputSchema: typeof FindUniqueConnectionSchema;
3923
- };
3924
- };
3925
- } & {
3926
- meta: {
3927
- listAuthentications: {
3928
- inputSchema: typeof ListConnectionsQuerySchema;
3929
- };
3930
- };
3931
- } & {
3932
- meta: {
3933
- getAuthentication: {
3934
- inputSchema: typeof GetConnectionParamSchema;
3935
- };
3936
- };
3937
- } & {
3938
- meta: {
3939
- findFirstAuthentication: {
3940
- inputSchema: typeof FindFirstConnectionSchema;
3941
- };
3942
- };
3943
- } & {
3944
- meta: {
3945
- findUniqueAuthentication: {
3946
- inputSchema: typeof FindUniqueConnectionSchema;
3947
- };
3948
- };
3949
- } & {
3950
- meta: {
3951
- listClientCredentials: {
3952
- inputSchema: typeof ListClientCredentialsQuerySchema;
3953
- };
3954
- };
3955
- } & {
3956
- meta: {
3957
- createClientCredentials: {
3958
- inputSchema: typeof CreateClientCredentialsSchema;
3959
- };
3960
- };
3961
- } & {
3962
- meta: {
3963
- deleteClientCredentials: {
3964
- inputSchema: typeof DeleteClientCredentialsSchema;
3965
- };
3966
- };
3967
- } & {
3968
- meta: {
3969
- fetch: {
3970
- description: string;
3971
- packages: string[];
3972
- categories: string[];
3973
- returnType: string;
3974
- inputParameters: Array<{
3975
- name: string;
3976
- schema: zod.ZodType;
3977
- }>;
3978
- };
3979
- };
3980
- } & {
3981
- meta: {
3982
- request: {
3983
- inputSchema: typeof RelayRequestSchema;
3984
- };
3985
- };
3986
- } & {
3987
- meta: {
3988
- listTables: {
3989
- inputSchema: typeof ListTablesOptionsSchema;
3990
- };
3991
- };
3992
- } & {
3993
- meta: {
3994
- getTable: {
3995
- inputSchema: typeof GetTableOptionsSchema;
3996
- };
3997
- };
3998
- } & {
3999
- meta: {
4000
- deleteTable: {
4001
- inputSchema: typeof DeleteTableOptionsSchema;
4002
- };
4003
- };
4004
- } & {
4005
- meta: {
4006
- createTable: {
4007
- inputSchema: typeof CreateTableOptionsSchema;
4008
- };
4009
- };
4010
- } & {
4011
- meta: {
4012
- listTableFields: {
4013
- inputSchema: typeof ListTableFieldsOptionsSchema;
4014
- };
4015
- };
4016
- } & {
4017
- meta: {
4018
- createTableFields: {
4019
- inputSchema: typeof CreateTableFieldsOptionsSchema;
4020
- };
4021
- };
4022
- } & {
4023
- meta: {
4024
- deleteTableFields: {
4025
- inputSchema: typeof DeleteTableFieldsOptionsSchema;
4026
- };
4027
- };
4028
- } & {
4029
- meta: {
4030
- getTableRecord: {
4031
- inputSchema: typeof GetTableRecordOptionsSchema;
4032
- };
4033
- };
4034
- } & {
4035
- meta: {
4036
- listTableRecords: {
4037
- inputSchema: typeof ListTableRecordsOptionsSchema;
4038
- };
4039
- };
4040
- } & {
4041
- meta: {
4042
- createTableRecords: {
4043
- inputSchema: typeof CreateTableRecordsOptionsSchema;
4044
- };
3789
+ declare function createOptionsPlugin(options: ZapierSdkOptions): () => {
3790
+ context: {
3791
+ options: ZapierSdkOptions;
4045
3792
  };
4046
- } & {
4047
- meta: {
4048
- deleteTableRecords: {
4049
- inputSchema: typeof DeleteTableRecordsOptionsSchema;
3793
+ };
3794
+ declare function createSdk(): {
3795
+ readonly context: Readonly<{
3796
+ meta: Record<string, PluginMeta>;
3797
+ }>;
3798
+ getContext: () => Readonly<{
3799
+ meta: Record<string, PluginMeta>;
3800
+ }>;
3801
+ addPlugin<TProvides extends PluginProvides>(plugin: Plugin<{
3802
+ context: {
3803
+ meta: Record<string, PluginMeta>;
4050
3804
  };
4051
- };
4052
- } & {
4053
- meta: {
4054
- updateTableRecords: {
4055
- inputSchema: typeof UpdateTableRecordsOptionsSchema;
3805
+ }, TProvides>): WithAddPlugin<{
3806
+ context: {
3807
+ meta: Record<string, PluginMeta>;
4056
3808
  };
3809
+ } & TProvides>;
3810
+ };
3811
+ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): WithAddPlugin<{
3812
+ context: {
3813
+ meta: Record<string, PluginMeta>;
4057
3814
  };
4058
3815
  } & {
4059
- meta: {
4060
- getProfile: {
4061
- inputSchema: typeof GetProfileSchema;
4062
- };
3816
+ context: {
3817
+ options: ZapierSdkOptions;
4063
3818
  };
4064
- }>;
3819
+ } & EventEmissionProvides & ApiPluginProvides & ManifestPluginProvides & CapabilitiesPluginProvides & ConnectionsPluginProvides & ListAppsPluginProvides & GetAppPluginProvides & ListActionsPluginProvides & GetActionPluginProvides & ListInputFieldsPluginProvides & GetInputFieldsSchemaPluginProvides & ListInputFieldChoicesPluginProvides & RunActionPluginProvides & ListConnectionsPluginProvides & GetConnectionPluginProvides & FindFirstConnectionPluginProvides & FindUniqueConnectionPluginProvides & ListAuthenticationsPluginProvides & GetAuthenticationPluginProvides & FindFirstAuthenticationPluginProvides & FindUniqueAuthenticationPluginProvides & ListClientCredentialsPluginProvides & CreateClientCredentialsPluginProvides & DeleteClientCredentialsPluginProvides & FetchPluginProvides & RequestPluginProvides & ListTablesPluginProvides & GetTablePluginProvides & DeleteTablePluginProvides & CreateTablePluginProvides & ListTableFieldsPluginProvides & CreateTableFieldsPluginProvides & DeleteTableFieldsPluginProvides & GetTableRecordPluginProvides & ListTableRecordsPluginProvides & CreateTableRecordsPluginProvides & DeleteTableRecordsPluginProvides & UpdateTableRecordsPluginProvides & AppsPluginProvides & GetProfilePluginProvides>;
4065
3820
  declare function createZapierSdk(options?: ZapierSdkOptions): ZapierSdk;
4066
3821
 
4067
- export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionProperty, ActionPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppFactoryInput, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type AppProperty, AppPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AppsProperty, AppsPropertySchema, type ArrayResolver, type AuthEvent, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type BaseEvent, BaseSdkOptionsSchema, type BatchOptions, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionEntry, ConnectionEntrySchema, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionProperty, ConnectionPropertySchema, type ConnectionsMap, ConnectionsMapSchema, type ConnectionsPluginProvides, type ConnectionsProperty, ConnectionsPropertySchema, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type CreateTableFieldsPluginProvides, type CreateTablePluginProvides, type CreateTableRecordsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_PAGE_SIZE, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DeleteTableFieldsPluginProvides, type DeleteTablePluginProvides, type DeleteTableRecordsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsProperty, FieldsPropertySchema, type FieldsResolver, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindFirstConnectionPluginProvides, type FindUniqueAuthenticationPluginProvides, type FindUniqueConnectionPluginProvides, type FormatMetadata, type FormattedItem, type FunctionDeprecation, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetConnectionPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type GetTablePluginProvides, type GetTableRecordPluginProvides, type InfoFieldItem, type InputFieldItem, type InputFieldProperty, InputFieldPropertySchema, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListConnectionsPluginProvides, type ListInputFieldsPluginProvides, type ListTableFieldsPluginProvides, type ListTableRecordsPluginProvides, type ListTablesPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputFormatter, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, PkceCredentialsObjectSchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, type RateLimitInfo, type RecordProperty, RecordPropertySchema, type RecordsProperty, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, ResolvedCredentialsSchema, type Resolver, type ResolverMetadata, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type SdkPage, type StaticResolver, type TableProperty, TablePropertySchema, type TablesProperty, TablesPropertySchema, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UpdateTableRecordsPluginProvides, type UserProfile, type UserProfileItem, ZAPIER_BASE_URL, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, updateTableRecordsPlugin };
3822
+ export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionProperty, ActionPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppFactoryInput, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type AppProperty, AppPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AppsProperty, AppsPropertySchema, type ArrayResolver, type AuthEvent, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type BaseEvent, BaseSdkOptionsSchema, type BatchOptions, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionEntry, ConnectionEntrySchema, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionProperty, ConnectionPropertySchema, type ConnectionsMap, ConnectionsMapSchema, type ConnectionsPluginProvides, type ConnectionsProperty, ConnectionsPropertySchema, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type CreateTableFieldsPluginProvides, type CreateTablePluginProvides, type CreateTableRecordsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_PAGE_SIZE, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DeleteTableFieldsPluginProvides, type DeleteTablePluginProvides, type DeleteTableRecordsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type EventEmissionProvides, type FetchPluginProvides, type Field, type FieldsProperty, FieldsPropertySchema, type FieldsResolver, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindFirstConnectionPluginProvides, type FindUniqueAuthenticationPluginProvides, type FindUniqueConnectionPluginProvides, type FormatMetadata, type FormattedItem, type FunctionDeprecation, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetConnectionPluginProvides, type GetProfilePluginProvides, type GetTablePluginProvides, type GetTableRecordPluginProvides, type InfoFieldItem, type InputFieldItem, type InputFieldProperty, InputFieldPropertySchema, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListConnectionsPluginProvides, type ListInputFieldsPluginProvides, type ListTableFieldsPluginProvides, type ListTableRecordsPluginProvides, type ListTablesPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputFormatter, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, PkceCredentialsObjectSchema, type Plugin, type PluginProvides, type PositionalMetadata, type RateLimitInfo, type RecordProperty, RecordPropertySchema, type RecordsProperty, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, ResolvedCredentialsSchema, type Resolver, type ResolverMetadata, type RootFieldItem, type RunActionPluginProvides, type SdkEvent, type SdkPage, type StaticResolver, type TableProperty, TablePropertySchema, type TablesProperty, TablesPropertySchema, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UpdateTableRecordsPluginProvides, type UserProfile, type UserProfileItem, type WithAddPlugin, ZAPIER_BASE_URL, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createOptionsPlugin, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, updateTableRecordsPlugin };