@zapier/zapier-sdk 0.46.0 → 0.46.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 (212) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/api/client.d.ts.map +1 -1
  3. package/dist/api/client.js +17 -6
  4. package/dist/api/types.d.ts +11 -0
  5. package/dist/api/types.d.ts.map +1 -1
  6. package/dist/index.cjs +2994 -3633
  7. package/dist/index.d.mts +6532 -2055
  8. package/dist/index.d.ts +5 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +1 -0
  11. package/dist/index.mjs +2992 -3634
  12. package/dist/plugins/api/index.d.ts +22 -10
  13. package/dist/plugins/api/index.d.ts.map +1 -1
  14. package/dist/plugins/api/index.js +4 -4
  15. package/dist/plugins/apps/index.d.ts +108 -7
  16. package/dist/plugins/apps/index.d.ts.map +1 -1
  17. package/dist/plugins/apps/index.js +3 -4
  18. package/dist/plugins/capabilities/index.d.ts +9 -6
  19. package/dist/plugins/capabilities/index.d.ts.map +1 -1
  20. package/dist/plugins/capabilities/index.js +3 -2
  21. package/dist/plugins/connections/index.d.ts +15 -9
  22. package/dist/plugins/connections/index.d.ts.map +1 -1
  23. package/dist/plugins/connections/index.js +3 -2
  24. package/dist/plugins/createClientCredentials/index.d.ts +26 -14
  25. package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
  26. package/dist/plugins/createClientCredentials/index.js +16 -39
  27. package/dist/plugins/createClientCredentials/schemas.d.ts +0 -2
  28. package/dist/plugins/createClientCredentials/schemas.d.ts.map +1 -1
  29. package/dist/plugins/deleteClientCredentials/index.d.ts +20 -14
  30. package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
  31. package/dist/plugins/deleteClientCredentials/index.js +18 -37
  32. package/dist/plugins/deleteClientCredentials/schemas.d.ts +0 -2
  33. package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +1 -1
  34. package/dist/plugins/deprecated/authentications.d.ts +597 -41
  35. package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
  36. package/dist/plugins/deprecated/authentications.js +9 -8
  37. package/dist/plugins/eventEmission/index.d.ts +9 -6
  38. package/dist/plugins/eventEmission/index.d.ts.map +1 -1
  39. package/dist/plugins/eventEmission/index.js +3 -2
  40. package/dist/plugins/fetch/index.d.ts +40 -17
  41. package/dist/plugins/fetch/index.d.ts.map +1 -1
  42. package/dist/plugins/fetch/index.js +6 -4
  43. package/dist/plugins/findFirstConnection/index.d.ts +109 -14
  44. package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
  45. package/dist/plugins/findFirstConnection/index.js +14 -26
  46. package/dist/plugins/findFirstConnection/schemas.d.ts +0 -2
  47. package/dist/plugins/findFirstConnection/schemas.d.ts.map +1 -1
  48. package/dist/plugins/findUniqueConnection/index.d.ts +109 -14
  49. package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
  50. package/dist/plugins/findUniqueConnection/index.js +14 -26
  51. package/dist/plugins/findUniqueConnection/schemas.d.ts +0 -2
  52. package/dist/plugins/findUniqueConnection/schemas.d.ts.map +1 -1
  53. package/dist/plugins/getAction/index.d.ts +68 -15
  54. package/dist/plugins/getAction/index.d.ts.map +1 -1
  55. package/dist/plugins/getAction/index.js +21 -31
  56. package/dist/plugins/getAction/schemas.d.ts +0 -2
  57. package/dist/plugins/getAction/schemas.d.ts.map +1 -1
  58. package/dist/plugins/getApp/index.d.ts +140 -14
  59. package/dist/plugins/getApp/index.d.ts.map +1 -1
  60. package/dist/plugins/getApp/index.js +16 -38
  61. package/dist/plugins/getApp/schemas.d.ts +0 -2
  62. package/dist/plugins/getApp/schemas.d.ts.map +1 -1
  63. package/dist/plugins/getConnection/index.d.ts +50 -16
  64. package/dist/plugins/getConnection/index.d.ts.map +1 -1
  65. package/dist/plugins/getConnection/index.js +22 -29
  66. package/dist/plugins/getConnection/schemas.d.ts +0 -2
  67. package/dist/plugins/getConnection/schemas.d.ts.map +1 -1
  68. package/dist/plugins/getInputFieldsSchema/index.d.ts +59 -13
  69. package/dist/plugins/getInputFieldsSchema/index.d.ts.map +1 -1
  70. package/dist/plugins/getInputFieldsSchema/index.js +21 -32
  71. package/dist/plugins/getInputFieldsSchema/schemas.d.ts +0 -2
  72. package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +1 -1
  73. package/dist/plugins/getProfile/index.d.ts +25 -18
  74. package/dist/plugins/getProfile/index.d.ts.map +1 -1
  75. package/dist/plugins/getProfile/index.js +13 -26
  76. package/dist/plugins/getProfile/schemas.d.ts +0 -8
  77. package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
  78. package/dist/plugins/getProfile/schemas.js +0 -1
  79. package/dist/plugins/listActions/index.d.ts +73 -23
  80. package/dist/plugins/listActions/index.d.ts.map +1 -1
  81. package/dist/plugins/listActions/index.js +25 -53
  82. package/dist/plugins/listActions/schemas.d.ts +0 -11
  83. package/dist/plugins/listActions/schemas.d.ts.map +1 -1
  84. package/dist/plugins/listApps/index.d.ts +121 -13
  85. package/dist/plugins/listApps/index.d.ts.map +1 -1
  86. package/dist/plugins/listApps/index.js +22 -31
  87. package/dist/plugins/listApps/schemas.d.ts +0 -2
  88. package/dist/plugins/listApps/schemas.d.ts.map +1 -1
  89. package/dist/plugins/listClientCredentials/index.d.ts +29 -16
  90. package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
  91. package/dist/plugins/listClientCredentials/index.js +17 -37
  92. package/dist/plugins/listClientCredentials/schemas.d.ts +0 -2
  93. package/dist/plugins/listClientCredentials/schemas.d.ts.map +1 -1
  94. package/dist/plugins/listConnections/index.d.ts +95 -17
  95. package/dist/plugins/listConnections/index.d.ts.map +1 -1
  96. package/dist/plugins/listConnections/index.js +25 -49
  97. package/dist/plugins/listConnections/schemas.d.ts +0 -2
  98. package/dist/plugins/listConnections/schemas.d.ts.map +1 -1
  99. package/dist/plugins/listInputFieldChoices/index.d.ts +77 -22
  100. package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -1
  101. package/dist/plugins/listInputFieldChoices/index.js +27 -50
  102. package/dist/plugins/listInputFieldChoices/schemas.d.ts +0 -2
  103. package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
  104. package/dist/plugins/listInputFields/index.d.ts +154 -22
  105. package/dist/plugins/listInputFields/index.d.ts.map +1 -1
  106. package/dist/plugins/listInputFields/index.js +28 -41
  107. package/dist/plugins/listInputFields/schemas.d.ts +0 -2
  108. package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
  109. package/dist/plugins/manifest/index.d.ts +40 -36
  110. package/dist/plugins/manifest/index.d.ts.map +1 -1
  111. package/dist/plugins/manifest/index.js +3 -2
  112. package/dist/plugins/registry/index.d.ts +11 -9
  113. package/dist/plugins/registry/index.d.ts.map +1 -1
  114. package/dist/plugins/registry/index.js +3 -2
  115. package/dist/plugins/request/index.d.ts +61 -15
  116. package/dist/plugins/request/index.d.ts.map +1 -1
  117. package/dist/plugins/request/index.js +14 -22
  118. package/dist/plugins/request/schemas.d.ts +0 -2
  119. package/dist/plugins/request/schemas.d.ts.map +1 -1
  120. package/dist/plugins/runAction/index.d.ts +137 -23
  121. package/dist/plugins/runAction/index.d.ts.map +1 -1
  122. package/dist/plugins/runAction/index.js +65 -78
  123. package/dist/plugins/runAction/schemas.d.ts +0 -10
  124. package/dist/plugins/runAction/schemas.d.ts.map +1 -1
  125. package/dist/plugins/tables/createTable/index.d.ts +43 -11
  126. package/dist/plugins/tables/createTable/index.d.ts.map +1 -1
  127. package/dist/plugins/tables/createTable/index.js +16 -44
  128. package/dist/plugins/tables/createTable/schemas.d.ts +0 -2
  129. package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -1
  130. package/dist/plugins/tables/createTableFields/index.d.ts +54 -11
  131. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
  132. package/dist/plugins/tables/createTableFields/index.js +17 -41
  133. package/dist/plugins/tables/createTableFields/schemas.d.ts +0 -2
  134. package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
  135. package/dist/plugins/tables/createTableRecords/index.d.ts +47 -11
  136. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
  137. package/dist/plugins/tables/createTableRecords/index.js +17 -43
  138. package/dist/plugins/tables/createTableRecords/schemas.d.ts +0 -2
  139. package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
  140. package/dist/plugins/tables/deleteTable/index.d.ts +36 -13
  141. package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
  142. package/dist/plugins/tables/deleteTable/index.js +18 -40
  143. package/dist/plugins/tables/deleteTable/schemas.d.ts +0 -2
  144. package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
  145. package/dist/plugins/tables/deleteTableFields/index.d.ts +36 -11
  146. package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
  147. package/dist/plugins/tables/deleteTableFields/index.js +17 -39
  148. package/dist/plugins/tables/deleteTableFields/schemas.d.ts +0 -2
  149. package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
  150. package/dist/plugins/tables/deleteTableRecords/index.d.ts +36 -11
  151. package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
  152. package/dist/plugins/tables/deleteTableRecords/index.js +18 -41
  153. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +0 -2
  154. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
  155. package/dist/plugins/tables/getTable/index.d.ts +43 -12
  156. package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
  157. package/dist/plugins/tables/getTable/index.js +18 -43
  158. package/dist/plugins/tables/getTable/schemas.d.ts +0 -2
  159. package/dist/plugins/tables/getTable/schemas.d.ts.map +1 -1
  160. package/dist/plugins/tables/getTableRecord/index.d.ts +43 -11
  161. package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
  162. package/dist/plugins/tables/getTableRecord/index.js +18 -42
  163. package/dist/plugins/tables/getTableRecord/schemas.d.ts +0 -2
  164. package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
  165. package/dist/plugins/tables/listTableFields/index.d.ts +46 -11
  166. package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
  167. package/dist/plugins/tables/listTableFields/index.js +17 -41
  168. package/dist/plugins/tables/listTableFields/schemas.d.ts +0 -2
  169. package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
  170. package/dist/plugins/tables/listTableRecords/index.d.ts +66 -18
  171. package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
  172. package/dist/plugins/tables/listTableRecords/index.js +27 -50
  173. package/dist/plugins/tables/listTableRecords/schemas.d.ts +0 -2
  174. package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -1
  175. package/dist/plugins/tables/listTables/index.d.ts +53 -20
  176. package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
  177. package/dist/plugins/tables/listTables/index.js +24 -51
  178. package/dist/plugins/tables/listTables/schemas.d.ts +0 -2
  179. package/dist/plugins/tables/listTables/schemas.d.ts.map +1 -1
  180. package/dist/plugins/tables/shared.d.ts +10 -0
  181. package/dist/plugins/tables/shared.d.ts.map +1 -0
  182. package/dist/plugins/tables/shared.js +9 -0
  183. package/dist/plugins/tables/updateTableRecords/index.d.ts +49 -11
  184. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
  185. package/dist/plugins/tables/updateTableRecords/index.js +20 -43
  186. package/dist/plugins/tables/updateTableRecords/schemas.d.ts +0 -2
  187. package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
  188. package/dist/plugins/tables/utils.d.ts.map +1 -1
  189. package/dist/plugins/tables/utils.js +1 -0
  190. package/dist/registry.d.ts.map +1 -1
  191. package/dist/registry.js +21 -1
  192. package/dist/resolvers/actionKey.d.ts +1 -2
  193. package/dist/resolvers/actionKey.d.ts.map +1 -1
  194. package/dist/resolvers/actionType.d.ts +1 -2
  195. package/dist/resolvers/actionType.d.ts.map +1 -1
  196. package/dist/sdk.d.ts +2942 -2
  197. package/dist/sdk.d.ts.map +1 -1
  198. package/dist/types/errors.d.ts +13 -10
  199. package/dist/types/errors.d.ts.map +1 -1
  200. package/dist/types/errors.js +15 -12
  201. package/dist/types/functions.d.ts +18 -2
  202. package/dist/types/functions.d.ts.map +1 -1
  203. package/dist/types/plugin.d.ts +1 -1
  204. package/dist/types/plugin.d.ts.map +1 -1
  205. package/dist/types/registry.d.ts +1 -1
  206. package/dist/types/registry.d.ts.map +1 -1
  207. package/dist/utils/function-utils.d.ts +11 -12
  208. package/dist/utils/function-utils.d.ts.map +1 -1
  209. package/dist/utils/plugin-utils.d.ts +168 -0
  210. package/dist/utils/plugin-utils.d.ts.map +1 -0
  211. package/dist/utils/plugin-utils.js +132 -0
  212. package/package.json +1 -1
package/dist/sdk.d.ts CHANGED
@@ -41,7 +41,1477 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
41
41
  context: {
42
42
  options: ZapierSdkOptions;
43
43
  };
44
- } & import(".").EventEmissionProvides & import(".").ApiPluginProvides & import(".").ManifestPluginProvides & import("./plugins/capabilities").CapabilitiesPluginProvides & import(".").ConnectionsPluginProvides & import(".").ListAppsPluginProvides & import(".").GetAppPluginProvides & import(".").ListActionsPluginProvides & import(".").GetActionPluginProvides & import(".").ListInputFieldsPluginProvides & import("./plugins/getInputFieldsSchema").GetInputFieldsSchemaPluginProvides & import("./plugins/listInputFieldChoices").ListInputFieldChoicesPluginProvides & import(".").RunActionPluginProvides & import(".").ListConnectionsPluginProvides & import(".").GetConnectionPluginProvides & import(".").FindFirstConnectionPluginProvides & import(".").FindUniqueConnectionPluginProvides & import(".").ListAuthenticationsPluginProvides & import(".").GetAuthenticationPluginProvides & import(".").FindFirstAuthenticationPluginProvides & import(".").FindUniqueAuthenticationPluginProvides & import(".").ListClientCredentialsPluginProvides & import(".").CreateClientCredentialsPluginProvides & import(".").DeleteClientCredentialsPluginProvides & import(".").FetchPluginProvides & import(".").RequestPluginProvides & import(".").ListTablesPluginProvides & import(".").GetTablePluginProvides & import(".").DeleteTablePluginProvides & import(".").CreateTablePluginProvides & import(".").ListTableFieldsPluginProvides & import(".").CreateTableFieldsPluginProvides & import(".").DeleteTableFieldsPluginProvides & import(".").GetTableRecordPluginProvides & import(".").ListTableRecordsPluginProvides & import(".").CreateTableRecordsPluginProvides & import(".").DeleteTableRecordsPluginProvides & import(".").UpdateTableRecordsPluginProvides & import(".").AppsPluginProvides & import(".").GetProfilePluginProvides>;
44
+ } & {
45
+ context: import(".").EventEmissionContext;
46
+ } & {
47
+ context: {
48
+ api: import("./api").ApiClient;
49
+ resolveCredentials: () => Promise<string | {
50
+ clientId: string;
51
+ clientSecret: string;
52
+ type?: "client_credentials" | undefined;
53
+ baseUrl?: string | undefined;
54
+ scope?: string | undefined;
55
+ } | {
56
+ clientId: string;
57
+ type?: "pkce" | undefined;
58
+ baseUrl?: string | undefined;
59
+ scope?: string | undefined;
60
+ } | undefined>;
61
+ };
62
+ } & {
63
+ context: {
64
+ getResolvedManifest: () => Promise<import(".").Manifest | null>;
65
+ getVersionedImplementationId: (appKey: string) => Promise<string | null>;
66
+ resolveAppKeys: ({ appKeys }: {
67
+ appKeys: string[];
68
+ }) => Promise<import(".").ResolvedAppLocator[]>;
69
+ updateManifestEntry: (options: import(".").UpdateManifestEntryOptions) => Promise<import(".").UpdateManifestEntryResult>;
70
+ addActionEntry: (options: import(".").AddActionEntryOptions) => Promise<import(".").AddActionEntryResult>;
71
+ findActionEntry: ({ name, manifest, }: {
72
+ name: string;
73
+ manifest: import(".").Manifest;
74
+ }) => import(".").ActionEntry | null;
75
+ listActionEntries: ({ configPath, }?: {
76
+ configPath?: string;
77
+ }) => Promise<Array<[string, import(".").ActionEntry]>>;
78
+ deleteActionEntry: ({ name, configPath, skipWrite, }: {
79
+ name: string;
80
+ configPath?: string;
81
+ skipWrite?: boolean;
82
+ }) => Promise<import(".").Manifest>;
83
+ hasActionEntry: ({ name, manifest, }: {
84
+ name: string;
85
+ manifest: import(".").Manifest;
86
+ }) => boolean;
87
+ findManifestEntry: typeof import(".").findManifestEntry;
88
+ readManifestFromFile: typeof import(".").readManifestFromFile;
89
+ getManifestConnections: () => Promise<Record<string, {
90
+ connectionId: string | number;
91
+ }> | null>;
92
+ };
93
+ } & {
94
+ context: import("./plugins/capabilities").CapabilitiesContext;
95
+ } & {
96
+ context: {
97
+ resolveConnection: (name: string) => Promise<{
98
+ connectionId: string | number;
99
+ } | undefined>;
100
+ getConnectionsMap: () => Promise<Record<string, {
101
+ connectionId: string | number;
102
+ }> | null>;
103
+ };
104
+ } & {
105
+ listApps: (options?: ({
106
+ search?: string | undefined;
107
+ apps?: string[] | undefined;
108
+ appKeys?: string[] | undefined;
109
+ pageSize?: number | undefined;
110
+ maxItems?: number | undefined;
111
+ cursor?: string | undefined;
112
+ } & {
113
+ cursor?: string;
114
+ pageSize?: number;
115
+ maxItems?: number;
116
+ }) | undefined) => import(".").PaginatedSdkResult<{
117
+ slug: string;
118
+ title: string;
119
+ key: string;
120
+ implementation_id: string;
121
+ description?: string | undefined;
122
+ is_hidden?: boolean | undefined;
123
+ auth_type?: string | undefined;
124
+ actions?: {
125
+ read?: number | undefined;
126
+ read_bulk?: number | undefined;
127
+ write?: number | undefined;
128
+ search?: number | undefined;
129
+ search_or_write?: number | undefined;
130
+ search_and_write?: number | undefined;
131
+ filter?: number | undefined;
132
+ } | undefined;
133
+ is_deprecated?: boolean | undefined;
134
+ is_beta?: boolean | undefined;
135
+ is_premium?: boolean | undefined;
136
+ age_in_days?: number | undefined;
137
+ banner?: string | undefined;
138
+ categories?: {
139
+ id: number;
140
+ name: string;
141
+ slug: string;
142
+ }[] | undefined;
143
+ images?: {
144
+ url_16x16?: string | undefined;
145
+ url_32x32?: string | undefined;
146
+ url_64x64?: string | undefined;
147
+ url_128x128?: string | undefined;
148
+ } | undefined;
149
+ popularity?: number | undefined;
150
+ has_filters?: boolean | undefined;
151
+ has_reads?: boolean | undefined;
152
+ has_searches?: boolean | undefined;
153
+ has_searches_or_writes?: boolean | undefined;
154
+ has_upfront_fields?: boolean | undefined;
155
+ has_writes?: boolean | undefined;
156
+ is_built_in?: boolean | undefined;
157
+ is_featured?: boolean | undefined;
158
+ is_invite?: boolean | undefined;
159
+ is_public?: boolean | undefined;
160
+ is_upcoming?: boolean | undefined;
161
+ visibility?: string | undefined;
162
+ primary_color?: string | undefined;
163
+ secondary_color?: string | undefined;
164
+ classification?: string | undefined;
165
+ api_docs_url?: string | undefined;
166
+ image?: string | undefined;
167
+ version?: string | undefined;
168
+ }>;
169
+ } & {
170
+ context: {
171
+ meta: {
172
+ listApps: PluginMeta;
173
+ };
174
+ };
175
+ } & {
176
+ getApp: (options?: {
177
+ app: string;
178
+ } | {
179
+ appKey: string;
180
+ } | undefined) => Promise<{
181
+ data: {
182
+ slug: string;
183
+ title: string;
184
+ key: string;
185
+ implementation_id: string;
186
+ description?: string | undefined;
187
+ is_hidden?: boolean | undefined;
188
+ auth_type?: string | undefined;
189
+ actions?: {
190
+ read?: number | undefined;
191
+ read_bulk?: number | undefined;
192
+ write?: number | undefined;
193
+ search?: number | undefined;
194
+ search_or_write?: number | undefined;
195
+ search_and_write?: number | undefined;
196
+ filter?: number | undefined;
197
+ } | undefined;
198
+ is_deprecated?: boolean | undefined;
199
+ is_beta?: boolean | undefined;
200
+ is_premium?: boolean | undefined;
201
+ age_in_days?: number | undefined;
202
+ banner?: string | undefined;
203
+ categories?: {
204
+ id: number;
205
+ name: string;
206
+ slug: string;
207
+ }[] | undefined;
208
+ images?: {
209
+ url_16x16?: string | undefined;
210
+ url_32x32?: string | undefined;
211
+ url_64x64?: string | undefined;
212
+ url_128x128?: string | undefined;
213
+ } | undefined;
214
+ popularity?: number | undefined;
215
+ has_filters?: boolean | undefined;
216
+ has_reads?: boolean | undefined;
217
+ has_searches?: boolean | undefined;
218
+ has_searches_or_writes?: boolean | undefined;
219
+ has_upfront_fields?: boolean | undefined;
220
+ has_writes?: boolean | undefined;
221
+ is_built_in?: boolean | undefined;
222
+ is_featured?: boolean | undefined;
223
+ is_invite?: boolean | undefined;
224
+ is_public?: boolean | undefined;
225
+ is_upcoming?: boolean | undefined;
226
+ visibility?: string | undefined;
227
+ primary_color?: string | undefined;
228
+ secondary_color?: string | undefined;
229
+ classification?: string | undefined;
230
+ api_docs_url?: string | undefined;
231
+ image?: string | undefined;
232
+ version?: string | undefined;
233
+ };
234
+ }>;
235
+ } & {
236
+ context: {
237
+ meta: {
238
+ getApp: PluginMeta;
239
+ };
240
+ };
241
+ } & {
242
+ listActions: (options?: (({
243
+ app: string;
244
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
245
+ pageSize?: number | undefined;
246
+ maxItems?: number | undefined;
247
+ cursor?: string | undefined;
248
+ } | {
249
+ appKey: string;
250
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
251
+ pageSize?: number | undefined;
252
+ maxItems?: number | undefined;
253
+ cursor?: string | undefined;
254
+ }) & {
255
+ cursor?: string;
256
+ pageSize?: number;
257
+ maxItems?: number;
258
+ }) | undefined) => import(".").PaginatedSdkResult<{
259
+ description: string;
260
+ key: string;
261
+ app_key: string;
262
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
263
+ title: string;
264
+ type: "action";
265
+ id?: string | undefined;
266
+ is_important?: boolean | undefined;
267
+ is_hidden?: boolean | undefined;
268
+ app_version?: string | undefined;
269
+ }>;
270
+ } & {
271
+ context: {
272
+ meta: {
273
+ listActions: PluginMeta;
274
+ };
275
+ };
276
+ } & {
277
+ getAction: (options?: {
278
+ app: string;
279
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
280
+ action: string;
281
+ } | {
282
+ appKey: string;
283
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
284
+ actionKey: string;
285
+ } | undefined) => Promise<{
286
+ data: {
287
+ description: string;
288
+ key: string;
289
+ app_key: string;
290
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
291
+ title: string;
292
+ type: "action";
293
+ id?: string | undefined;
294
+ is_important?: boolean | undefined;
295
+ is_hidden?: boolean | undefined;
296
+ app_version?: string | undefined;
297
+ };
298
+ }>;
299
+ } & {
300
+ context: {
301
+ meta: {
302
+ getAction: PluginMeta;
303
+ };
304
+ };
305
+ } & {
306
+ listInputFields: (options?: (({
307
+ app: string;
308
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
309
+ action: string;
310
+ connection?: string | number | undefined;
311
+ connectionId?: string | number | null | undefined;
312
+ authenticationId?: string | number | null | undefined;
313
+ inputs?: Record<string, unknown> | undefined;
314
+ pageSize?: number | undefined;
315
+ maxItems?: number | undefined;
316
+ cursor?: string | undefined;
317
+ } | {
318
+ appKey: string;
319
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
320
+ actionKey: string;
321
+ connection?: string | number | undefined;
322
+ connectionId?: string | number | null | undefined;
323
+ authenticationId?: string | number | null | undefined;
324
+ inputs?: Record<string, unknown> | undefined;
325
+ pageSize?: number | undefined;
326
+ maxItems?: number | undefined;
327
+ cursor?: string | undefined;
328
+ }) & {
329
+ cursor?: string;
330
+ pageSize?: number;
331
+ maxItems?: number;
332
+ }) | undefined) => import(".").PaginatedSdkResult<{
333
+ key: string;
334
+ type: "input_field";
335
+ default_value: string;
336
+ depends_on: string[];
337
+ description: string;
338
+ invalidates_input_fields: boolean;
339
+ is_required: boolean;
340
+ placeholder: string;
341
+ title: string;
342
+ value_type: string;
343
+ format?: string | undefined;
344
+ items?: {
345
+ type: string;
346
+ } | undefined;
347
+ } | {
348
+ key: string;
349
+ type: "info_field";
350
+ description: string;
351
+ title?: string | undefined;
352
+ } | import(".").FieldsetItem>;
353
+ } & {
354
+ context: {
355
+ meta: {
356
+ listInputFields: PluginMeta;
357
+ };
358
+ };
359
+ } & {
360
+ getInputFieldsSchema: (options?: {
361
+ app: string;
362
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
363
+ action: string;
364
+ connection?: string | number | undefined;
365
+ connectionId?: string | number | null | undefined;
366
+ authenticationId?: string | number | null | undefined;
367
+ inputs?: Record<string, unknown> | undefined;
368
+ } | {
369
+ appKey: string;
370
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
371
+ actionKey: string;
372
+ connection?: string | number | undefined;
373
+ connectionId?: string | number | null | undefined;
374
+ authenticationId?: string | number | null | undefined;
375
+ inputs?: Record<string, unknown> | undefined;
376
+ } | undefined) => Promise<{
377
+ data: Record<string, unknown>;
378
+ }>;
379
+ } & {
380
+ context: {
381
+ meta: {
382
+ getInputFieldsSchema: PluginMeta;
383
+ };
384
+ };
385
+ } & {
386
+ listInputFieldChoices: (options?: (({
387
+ app: string;
388
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
389
+ action: string;
390
+ inputField: string;
391
+ connection?: string | number | undefined;
392
+ connectionId?: string | number | null | undefined;
393
+ authenticationId?: string | number | null | undefined;
394
+ inputs?: Record<string, unknown> | undefined;
395
+ page?: number | undefined;
396
+ pageSize?: number | undefined;
397
+ maxItems?: number | undefined;
398
+ cursor?: string | undefined;
399
+ } | {
400
+ appKey: string;
401
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
402
+ actionKey: string;
403
+ inputFieldKey: string;
404
+ connection?: string | number | undefined;
405
+ connectionId?: string | number | null | undefined;
406
+ authenticationId?: string | number | null | undefined;
407
+ inputs?: Record<string, unknown> | undefined;
408
+ page?: number | undefined;
409
+ pageSize?: number | undefined;
410
+ maxItems?: number | undefined;
411
+ cursor?: string | undefined;
412
+ }) & {
413
+ cursor?: string;
414
+ pageSize?: number;
415
+ maxItems?: number;
416
+ }) | undefined) => import(".").PaginatedSdkResult<{
417
+ key?: string | undefined;
418
+ label?: string | undefined;
419
+ sample?: string | undefined;
420
+ value?: string | undefined;
421
+ }>;
422
+ } & {
423
+ context: {
424
+ meta: {
425
+ listInputFieldChoices: PluginMeta;
426
+ };
427
+ };
428
+ } & {
429
+ runAction: (options?: (({
430
+ app: string;
431
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
432
+ action: string;
433
+ connection?: string | number | undefined;
434
+ connectionId?: string | number | null | undefined;
435
+ authenticationId?: string | number | null | undefined;
436
+ inputs?: Record<string, unknown> | undefined;
437
+ timeoutMs?: number | undefined;
438
+ pageSize?: number | undefined;
439
+ maxItems?: number | undefined;
440
+ cursor?: string | undefined;
441
+ } | {
442
+ appKey: string;
443
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
444
+ actionKey: string;
445
+ connection?: string | number | undefined;
446
+ connectionId?: string | number | null | undefined;
447
+ authenticationId?: string | number | null | undefined;
448
+ inputs?: Record<string, unknown> | undefined;
449
+ timeoutMs?: number | undefined;
450
+ pageSize?: number | undefined;
451
+ maxItems?: number | undefined;
452
+ cursor?: string | undefined;
453
+ }) & {
454
+ cursor?: string;
455
+ pageSize?: number;
456
+ maxItems?: number;
457
+ }) | undefined) => import(".").PaginatedSdkResult<unknown>;
458
+ } & {
459
+ context: {
460
+ meta: {
461
+ runAction: PluginMeta;
462
+ };
463
+ };
464
+ } & {
465
+ listConnections: (options?: ({
466
+ title?: string | undefined;
467
+ search?: string | undefined;
468
+ owner?: string | undefined;
469
+ app?: string | undefined;
470
+ appKey?: string | undefined;
471
+ connections?: string[] | undefined;
472
+ connectionIds?: string[] | undefined;
473
+ authenticationIds?: string[] | undefined;
474
+ account?: string | undefined;
475
+ accountId?: string | undefined;
476
+ includeShared?: boolean | undefined;
477
+ isExpired?: boolean | undefined;
478
+ expired?: boolean | undefined;
479
+ pageSize?: number | undefined;
480
+ maxItems?: number | undefined;
481
+ cursor?: string | undefined;
482
+ } & {
483
+ cursor?: string;
484
+ pageSize?: number;
485
+ maxItems?: number;
486
+ }) | undefined) => import(".").PaginatedSdkResult<{
487
+ date: string;
488
+ is_invite_only: boolean;
489
+ is_private: boolean;
490
+ shared_with_all: boolean;
491
+ id: string;
492
+ account_id: string;
493
+ title?: string | null | undefined;
494
+ lastchanged?: string | undefined;
495
+ destination_selected_api?: string | null | undefined;
496
+ is_stale?: string | undefined;
497
+ is_shared?: string | undefined;
498
+ marked_stale_at?: string | null | undefined;
499
+ label?: string | null | undefined;
500
+ identifier?: string | null | undefined;
501
+ url?: string | undefined;
502
+ groups?: Record<string, unknown>[] | undefined;
503
+ members?: string | undefined;
504
+ permissions?: Record<string, boolean> | undefined;
505
+ public_id?: string | undefined;
506
+ account_public_id?: string | undefined;
507
+ customuser_public_id?: string | undefined;
508
+ implementation_id?: string | undefined;
509
+ profile_id?: string | undefined;
510
+ is_expired?: string | undefined;
511
+ expired_at?: string | null | undefined;
512
+ app_key?: string | undefined;
513
+ app_version?: string | undefined;
514
+ }>;
515
+ } & {
516
+ context: {
517
+ meta: {
518
+ listConnections: PluginMeta;
519
+ };
520
+ };
521
+ } & {
522
+ getConnection: (options?: {
523
+ connection?: string | number | undefined;
524
+ connectionId?: string | number | undefined;
525
+ authenticationId?: string | number | undefined;
526
+ } | undefined) => Promise<{
527
+ data: {
528
+ date: string;
529
+ is_invite_only: boolean;
530
+ is_private: boolean;
531
+ shared_with_all: boolean;
532
+ id: string;
533
+ account_id: string;
534
+ title?: string | null | undefined;
535
+ lastchanged?: string | undefined;
536
+ destination_selected_api?: string | null | undefined;
537
+ is_stale?: string | undefined;
538
+ is_shared?: string | undefined;
539
+ marked_stale_at?: string | null | undefined;
540
+ label?: string | null | undefined;
541
+ identifier?: string | null | undefined;
542
+ url?: string | undefined;
543
+ groups?: Record<string, unknown>[] | undefined;
544
+ members?: string | undefined;
545
+ permissions?: Record<string, boolean> | undefined;
546
+ public_id?: string | undefined;
547
+ account_public_id?: string | undefined;
548
+ customuser_public_id?: string | undefined;
549
+ implementation_id?: string | undefined;
550
+ profile_id?: string | undefined;
551
+ is_expired?: string | undefined;
552
+ expired_at?: string | null | undefined;
553
+ app_key?: string | undefined;
554
+ app_version?: string | undefined;
555
+ };
556
+ }>;
557
+ } & {
558
+ context: {
559
+ meta: {
560
+ getConnection: PluginMeta;
561
+ };
562
+ };
563
+ } & {
564
+ findFirstConnection: (options?: {
565
+ title?: string | undefined;
566
+ search?: string | undefined;
567
+ appKey?: string | undefined;
568
+ app?: string | undefined;
569
+ owner?: string | undefined;
570
+ account?: string | undefined;
571
+ accountId?: string | undefined;
572
+ includeShared?: boolean | undefined;
573
+ isExpired?: boolean | undefined;
574
+ expired?: boolean | undefined;
575
+ } | undefined) => Promise<{
576
+ data: {
577
+ date: string;
578
+ is_invite_only: boolean;
579
+ is_private: boolean;
580
+ shared_with_all: boolean;
581
+ id: string;
582
+ account_id: string;
583
+ title?: string | null | undefined;
584
+ lastchanged?: string | undefined;
585
+ destination_selected_api?: string | null | undefined;
586
+ is_stale?: string | undefined;
587
+ is_shared?: string | undefined;
588
+ marked_stale_at?: string | null | undefined;
589
+ label?: string | null | undefined;
590
+ identifier?: string | null | undefined;
591
+ url?: string | undefined;
592
+ groups?: Record<string, unknown>[] | undefined;
593
+ members?: string | undefined;
594
+ permissions?: Record<string, boolean> | undefined;
595
+ public_id?: string | undefined;
596
+ account_public_id?: string | undefined;
597
+ customuser_public_id?: string | undefined;
598
+ implementation_id?: string | undefined;
599
+ profile_id?: string | undefined;
600
+ is_expired?: string | undefined;
601
+ expired_at?: string | null | undefined;
602
+ app_key?: string | undefined;
603
+ app_version?: string | undefined;
604
+ };
605
+ }>;
606
+ } & {
607
+ context: {
608
+ meta: {
609
+ findFirstConnection: PluginMeta;
610
+ };
611
+ };
612
+ } & {
613
+ findUniqueConnection: (options?: {
614
+ title?: string | undefined;
615
+ search?: string | undefined;
616
+ appKey?: string | undefined;
617
+ app?: string | undefined;
618
+ owner?: string | undefined;
619
+ account?: string | undefined;
620
+ accountId?: string | undefined;
621
+ includeShared?: boolean | undefined;
622
+ isExpired?: boolean | undefined;
623
+ expired?: boolean | undefined;
624
+ } | undefined) => Promise<{
625
+ data: {
626
+ date: string;
627
+ is_invite_only: boolean;
628
+ is_private: boolean;
629
+ shared_with_all: boolean;
630
+ id: string;
631
+ account_id: string;
632
+ title?: string | null | undefined;
633
+ lastchanged?: string | undefined;
634
+ destination_selected_api?: string | null | undefined;
635
+ is_stale?: string | undefined;
636
+ is_shared?: string | undefined;
637
+ marked_stale_at?: string | null | undefined;
638
+ label?: string | null | undefined;
639
+ identifier?: string | null | undefined;
640
+ url?: string | undefined;
641
+ groups?: Record<string, unknown>[] | undefined;
642
+ members?: string | undefined;
643
+ permissions?: Record<string, boolean> | undefined;
644
+ public_id?: string | undefined;
645
+ account_public_id?: string | undefined;
646
+ customuser_public_id?: string | undefined;
647
+ implementation_id?: string | undefined;
648
+ profile_id?: string | undefined;
649
+ is_expired?: string | undefined;
650
+ expired_at?: string | null | undefined;
651
+ app_key?: string | undefined;
652
+ app_version?: string | undefined;
653
+ };
654
+ }>;
655
+ } & {
656
+ context: {
657
+ meta: {
658
+ findUniqueConnection: PluginMeta;
659
+ };
660
+ };
661
+ } & {
662
+ listAuthentications: (options?: ({
663
+ title?: string | undefined;
664
+ search?: string | undefined;
665
+ owner?: string | undefined;
666
+ app?: string | undefined;
667
+ appKey?: string | undefined;
668
+ connections?: string[] | undefined;
669
+ connectionIds?: string[] | undefined;
670
+ authenticationIds?: string[] | undefined;
671
+ account?: string | undefined;
672
+ accountId?: string | undefined;
673
+ includeShared?: boolean | undefined;
674
+ isExpired?: boolean | undefined;
675
+ expired?: boolean | undefined;
676
+ pageSize?: number | undefined;
677
+ maxItems?: number | undefined;
678
+ cursor?: string | undefined;
679
+ } & {
680
+ cursor?: string;
681
+ pageSize?: number;
682
+ maxItems?: number;
683
+ }) | undefined) => import(".").PaginatedSdkResult<{
684
+ date: string;
685
+ is_invite_only: boolean;
686
+ is_private: boolean;
687
+ shared_with_all: boolean;
688
+ id: string;
689
+ account_id: string;
690
+ title?: string | null | undefined;
691
+ lastchanged?: string | undefined;
692
+ destination_selected_api?: string | null | undefined;
693
+ is_stale?: string | undefined;
694
+ is_shared?: string | undefined;
695
+ marked_stale_at?: string | null | undefined;
696
+ label?: string | null | undefined;
697
+ identifier?: string | null | undefined;
698
+ url?: string | undefined;
699
+ groups?: Record<string, unknown>[] | undefined;
700
+ members?: string | undefined;
701
+ permissions?: Record<string, boolean> | undefined;
702
+ public_id?: string | undefined;
703
+ account_public_id?: string | undefined;
704
+ customuser_public_id?: string | undefined;
705
+ implementation_id?: string | undefined;
706
+ profile_id?: string | undefined;
707
+ is_expired?: string | undefined;
708
+ expired_at?: string | null | undefined;
709
+ app_key?: string | undefined;
710
+ app_version?: string | undefined;
711
+ }>;
712
+ context: {
713
+ meta: {
714
+ listAuthentications: {
715
+ packages: string[];
716
+ categories: string[];
717
+ type: "list";
718
+ itemType: string;
719
+ inputSchema: import("zod").ZodObject<{
720
+ title: import("zod").ZodOptional<import("zod").ZodString>;
721
+ search: import("zod").ZodOptional<import("zod").ZodString>;
722
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
723
+ app: import("zod").ZodOptional<import("zod").ZodString & {
724
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
725
+ }>;
726
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
727
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
728
+ }>;
729
+ connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
730
+ connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
731
+ authenticationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
732
+ account: import("zod").ZodOptional<import("zod").ZodString>;
733
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
734
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
735
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
736
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
737
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
738
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
739
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
740
+ }, import("zod/v4/core").$strip>;
741
+ outputSchema: import("zod").ZodObject<{
742
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
743
+ date: import("zod").ZodString;
744
+ is_invite_only: import("zod").ZodBoolean;
745
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
746
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
747
+ is_private: import("zod").ZodBoolean;
748
+ shared_with_all: import("zod").ZodBoolean;
749
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
750
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
751
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
752
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
753
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
754
+ url: import("zod").ZodOptional<import("zod").ZodString>;
755
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
756
+ members: import("zod").ZodOptional<import("zod").ZodString>;
757
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
758
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
759
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
760
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
761
+ id: import("zod").ZodString;
762
+ account_id: import("zod").ZodString;
763
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
764
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
765
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
766
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
767
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
768
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
769
+ }, import("zod/v4/core").$strip>;
770
+ };
771
+ };
772
+ };
773
+ } & {
774
+ getAuthentication: (options?: {
775
+ connection?: string | number | undefined;
776
+ connectionId?: string | number | undefined;
777
+ authenticationId?: string | number | undefined;
778
+ } | undefined) => Promise<{
779
+ data: {
780
+ date: string;
781
+ is_invite_only: boolean;
782
+ is_private: boolean;
783
+ shared_with_all: boolean;
784
+ id: string;
785
+ account_id: string;
786
+ title?: string | null | undefined;
787
+ lastchanged?: string | undefined;
788
+ destination_selected_api?: string | null | undefined;
789
+ is_stale?: string | undefined;
790
+ is_shared?: string | undefined;
791
+ marked_stale_at?: string | null | undefined;
792
+ label?: string | null | undefined;
793
+ identifier?: string | null | undefined;
794
+ url?: string | undefined;
795
+ groups?: Record<string, unknown>[] | undefined;
796
+ members?: string | undefined;
797
+ permissions?: Record<string, boolean> | undefined;
798
+ public_id?: string | undefined;
799
+ account_public_id?: string | undefined;
800
+ customuser_public_id?: string | undefined;
801
+ implementation_id?: string | undefined;
802
+ profile_id?: string | undefined;
803
+ is_expired?: string | undefined;
804
+ expired_at?: string | null | undefined;
805
+ app_key?: string | undefined;
806
+ app_version?: string | undefined;
807
+ };
808
+ }>;
809
+ context: {
810
+ meta: {
811
+ getAuthentication: {
812
+ packages: string[];
813
+ categories: string[];
814
+ type: "item";
815
+ itemType: string;
816
+ inputSchema: import("zod").ZodObject<{
817
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
818
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
819
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
820
+ }, import("zod/v4/core").$strip>;
821
+ outputSchema: import("zod").ZodObject<{
822
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
823
+ date: import("zod").ZodString;
824
+ is_invite_only: import("zod").ZodBoolean;
825
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
826
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
827
+ is_private: import("zod").ZodBoolean;
828
+ shared_with_all: import("zod").ZodBoolean;
829
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
830
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
831
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
832
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
833
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
834
+ url: import("zod").ZodOptional<import("zod").ZodString>;
835
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
836
+ members: import("zod").ZodOptional<import("zod").ZodString>;
837
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
838
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
839
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
840
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
841
+ id: import("zod").ZodString;
842
+ account_id: import("zod").ZodString;
843
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
844
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
845
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
846
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
847
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
848
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
849
+ }, import("zod/v4/core").$strip>;
850
+ };
851
+ };
852
+ };
853
+ } & {
854
+ findFirstAuthentication: (options?: {
855
+ title?: string | undefined;
856
+ search?: string | undefined;
857
+ appKey?: string | undefined;
858
+ app?: string | undefined;
859
+ owner?: string | undefined;
860
+ account?: string | undefined;
861
+ accountId?: string | undefined;
862
+ includeShared?: boolean | undefined;
863
+ isExpired?: boolean | undefined;
864
+ expired?: boolean | undefined;
865
+ } | undefined) => Promise<{
866
+ data: {
867
+ date: string;
868
+ is_invite_only: boolean;
869
+ is_private: boolean;
870
+ shared_with_all: boolean;
871
+ id: string;
872
+ account_id: string;
873
+ title?: string | null | undefined;
874
+ lastchanged?: string | undefined;
875
+ destination_selected_api?: string | null | undefined;
876
+ is_stale?: string | undefined;
877
+ is_shared?: string | undefined;
878
+ marked_stale_at?: string | null | undefined;
879
+ label?: string | null | undefined;
880
+ identifier?: string | null | undefined;
881
+ url?: string | undefined;
882
+ groups?: Record<string, unknown>[] | undefined;
883
+ members?: string | undefined;
884
+ permissions?: Record<string, boolean> | undefined;
885
+ public_id?: string | undefined;
886
+ account_public_id?: string | undefined;
887
+ customuser_public_id?: string | undefined;
888
+ implementation_id?: string | undefined;
889
+ profile_id?: string | undefined;
890
+ is_expired?: string | undefined;
891
+ expired_at?: string | null | undefined;
892
+ app_key?: string | undefined;
893
+ app_version?: string | undefined;
894
+ };
895
+ }>;
896
+ context: {
897
+ meta: {
898
+ findFirstAuthentication: {
899
+ packages: string[];
900
+ categories: string[];
901
+ type: "item";
902
+ itemType: string;
903
+ inputSchema: import("zod").ZodObject<{
904
+ title: import("zod").ZodOptional<import("zod").ZodString>;
905
+ search: import("zod").ZodOptional<import("zod").ZodString>;
906
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
907
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
908
+ }>;
909
+ app: import("zod").ZodOptional<import("zod").ZodString & {
910
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
911
+ }>;
912
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
913
+ account: import("zod").ZodOptional<import("zod").ZodString>;
914
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
915
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
916
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
917
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
918
+ }, import("zod/v4/core").$strip>;
919
+ outputSchema: import("zod").ZodObject<{
920
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
921
+ date: import("zod").ZodString;
922
+ is_invite_only: import("zod").ZodBoolean;
923
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
924
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
925
+ is_private: import("zod").ZodBoolean;
926
+ shared_with_all: import("zod").ZodBoolean;
927
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
928
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
929
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
930
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
931
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
932
+ url: import("zod").ZodOptional<import("zod").ZodString>;
933
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
934
+ members: import("zod").ZodOptional<import("zod").ZodString>;
935
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
936
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
937
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
938
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
939
+ id: import("zod").ZodString;
940
+ account_id: import("zod").ZodString;
941
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
942
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
943
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
944
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
945
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
946
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
947
+ }, import("zod/v4/core").$strip>;
948
+ };
949
+ };
950
+ };
951
+ } & {
952
+ findUniqueAuthentication: (options?: {
953
+ title?: string | undefined;
954
+ search?: string | undefined;
955
+ appKey?: string | undefined;
956
+ app?: string | undefined;
957
+ owner?: string | undefined;
958
+ account?: string | undefined;
959
+ accountId?: string | undefined;
960
+ includeShared?: boolean | undefined;
961
+ isExpired?: boolean | undefined;
962
+ expired?: boolean | undefined;
963
+ } | undefined) => Promise<{
964
+ data: {
965
+ date: string;
966
+ is_invite_only: boolean;
967
+ is_private: boolean;
968
+ shared_with_all: boolean;
969
+ id: string;
970
+ account_id: string;
971
+ title?: string | null | undefined;
972
+ lastchanged?: string | undefined;
973
+ destination_selected_api?: string | null | undefined;
974
+ is_stale?: string | undefined;
975
+ is_shared?: string | undefined;
976
+ marked_stale_at?: string | null | undefined;
977
+ label?: string | null | undefined;
978
+ identifier?: string | null | undefined;
979
+ url?: string | undefined;
980
+ groups?: Record<string, unknown>[] | undefined;
981
+ members?: string | undefined;
982
+ permissions?: Record<string, boolean> | undefined;
983
+ public_id?: string | undefined;
984
+ account_public_id?: string | undefined;
985
+ customuser_public_id?: string | undefined;
986
+ implementation_id?: string | undefined;
987
+ profile_id?: string | undefined;
988
+ is_expired?: string | undefined;
989
+ expired_at?: string | null | undefined;
990
+ app_key?: string | undefined;
991
+ app_version?: string | undefined;
992
+ };
993
+ }>;
994
+ context: {
995
+ meta: {
996
+ findUniqueAuthentication: {
997
+ packages: string[];
998
+ categories: string[];
999
+ type: "item";
1000
+ itemType: string;
1001
+ inputSchema: import("zod").ZodObject<{
1002
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1003
+ search: import("zod").ZodOptional<import("zod").ZodString>;
1004
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
1005
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
1006
+ }>;
1007
+ app: import("zod").ZodOptional<import("zod").ZodString & {
1008
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
1009
+ }>;
1010
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
1011
+ account: import("zod").ZodOptional<import("zod").ZodString>;
1012
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
1013
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
1014
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1015
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1016
+ }, import("zod/v4/core").$strip>;
1017
+ outputSchema: import("zod").ZodObject<{
1018
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1019
+ date: import("zod").ZodString;
1020
+ is_invite_only: import("zod").ZodBoolean;
1021
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
1022
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1023
+ is_private: import("zod").ZodBoolean;
1024
+ shared_with_all: import("zod").ZodBoolean;
1025
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
1026
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
1027
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1028
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1029
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1030
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1031
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1032
+ members: import("zod").ZodOptional<import("zod").ZodString>;
1033
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
1034
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
1035
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1036
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1037
+ id: import("zod").ZodString;
1038
+ account_id: import("zod").ZodString;
1039
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
1040
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
1041
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
1042
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1043
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
1044
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
1045
+ }, import("zod/v4/core").$strip>;
1046
+ };
1047
+ };
1048
+ };
1049
+ } & {
1050
+ listClientCredentials: (options?: ({
1051
+ pageSize?: number | undefined;
1052
+ maxItems?: number | undefined;
1053
+ cursor?: string | undefined;
1054
+ } & {
1055
+ cursor?: string;
1056
+ pageSize?: number;
1057
+ maxItems?: number;
1058
+ }) | undefined) => import(".").PaginatedSdkResult<{
1059
+ client_id: string;
1060
+ name: string;
1061
+ allowed_scopes: ("external" | "credentials")[];
1062
+ created_at?: string | null | undefined;
1063
+ updated_at?: string | undefined;
1064
+ }>;
1065
+ } & {
1066
+ context: {
1067
+ meta: {
1068
+ listClientCredentials: PluginMeta;
1069
+ };
1070
+ };
1071
+ } & {
1072
+ createClientCredentials: (options?: {
1073
+ name: string;
1074
+ allowedScopes: ("external" | "credentials")[];
1075
+ policy?: Record<string, unknown> | undefined;
1076
+ } | undefined) => Promise<{
1077
+ data: {
1078
+ client_id: string;
1079
+ name: string;
1080
+ client_secret: string;
1081
+ };
1082
+ }>;
1083
+ } & {
1084
+ context: {
1085
+ meta: {
1086
+ createClientCredentials: PluginMeta;
1087
+ };
1088
+ };
1089
+ } & {
1090
+ deleteClientCredentials: (options?: {
1091
+ clientId: string;
1092
+ } | undefined) => Promise<{
1093
+ success: boolean;
1094
+ }>;
1095
+ } & {
1096
+ context: {
1097
+ meta: {
1098
+ deleteClientCredentials: PluginMeta;
1099
+ };
1100
+ };
1101
+ } & {
1102
+ fetch: (url: string | URL, init?: import(".").ZapierFetchInitOptions) => Promise<Response>;
1103
+ context: {
1104
+ meta: {
1105
+ fetch: {
1106
+ description: string;
1107
+ packages: string[];
1108
+ categories: string[];
1109
+ returnType: string;
1110
+ inputParameters: ({
1111
+ name: string;
1112
+ schema: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<URL, URL>]>;
1113
+ } | {
1114
+ name: string;
1115
+ schema: import("zod").ZodOptional<import("zod").ZodObject<{
1116
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
1117
+ POST: "POST";
1118
+ GET: "GET";
1119
+ DELETE: "DELETE";
1120
+ PUT: "PUT";
1121
+ PATCH: "PATCH";
1122
+ HEAD: "HEAD";
1123
+ OPTIONS: "OPTIONS";
1124
+ }>>;
1125
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1126
+ body: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<FormData, FormData>, import("zod").ZodCustom<URLSearchParams, URLSearchParams>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
1127
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1128
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1129
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1130
+ callbackUrl: import("zod").ZodOptional<import("zod").ZodString>;
1131
+ maxTime: import("zod").ZodOptional<import("zod").ZodNumber>;
1132
+ }, import("zod/v4/core").$strip>>;
1133
+ })[];
1134
+ };
1135
+ };
1136
+ };
1137
+ } & {
1138
+ request: (options?: {
1139
+ url: string;
1140
+ method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
1141
+ body?: any;
1142
+ connection?: string | number | undefined;
1143
+ connectionId?: string | number | undefined;
1144
+ authenticationId?: string | number | undefined;
1145
+ callbackUrl?: string | undefined;
1146
+ headers?: [string, string][] | Record<string, string> | Headers | undefined;
1147
+ } | undefined) => Promise<Response>;
1148
+ } & {
1149
+ context: {
1150
+ meta: {
1151
+ request: PluginMeta;
1152
+ };
1153
+ };
1154
+ } & {
1155
+ listTables: (options?: ({
1156
+ tables?: string[] | undefined;
1157
+ tableIds?: string[] | undefined;
1158
+ kind?: "table" | "virtual_table" | "both" | undefined;
1159
+ search?: string | undefined;
1160
+ owner?: string | undefined;
1161
+ includeShared?: boolean | undefined;
1162
+ pageSize?: number | undefined;
1163
+ maxItems?: number | undefined;
1164
+ cursor?: string | undefined;
1165
+ } & {
1166
+ cursor?: string;
1167
+ pageSize?: number;
1168
+ maxItems?: number;
1169
+ }) | undefined) => import(".").PaginatedSdkResult<{
1170
+ id: string;
1171
+ name: string;
1172
+ created_at: string;
1173
+ edited_at: string;
1174
+ kind: "table" | "virtual_table";
1175
+ account_id: string;
1176
+ profile_id: string;
1177
+ description?: string | undefined;
1178
+ parent_table_id?: string | undefined;
1179
+ }>;
1180
+ } & {
1181
+ context: {
1182
+ meta: {
1183
+ listTables: PluginMeta;
1184
+ };
1185
+ };
1186
+ } & {
1187
+ getTable: (options?: {
1188
+ table: string;
1189
+ } | {
1190
+ tableId: string;
1191
+ } | undefined) => Promise<{
1192
+ data: {
1193
+ id: string;
1194
+ name: string;
1195
+ created_at: string;
1196
+ edited_at: string;
1197
+ kind: "table" | "virtual_table";
1198
+ account_id: string;
1199
+ profile_id: string;
1200
+ description?: string | undefined;
1201
+ parent_table_id?: string | undefined;
1202
+ };
1203
+ }>;
1204
+ } & {
1205
+ context: {
1206
+ meta: {
1207
+ getTable: PluginMeta;
1208
+ };
1209
+ };
1210
+ } & {
1211
+ deleteTable: (options?: {
1212
+ table: string;
1213
+ } | {
1214
+ tableId: string;
1215
+ } | undefined) => Promise<{
1216
+ success: boolean;
1217
+ }>;
1218
+ } & {
1219
+ context: {
1220
+ meta: {
1221
+ deleteTable: PluginMeta;
1222
+ };
1223
+ };
1224
+ } & {
1225
+ createTable: (options?: {
1226
+ name: string;
1227
+ description?: string | undefined;
1228
+ } | undefined) => Promise<{
1229
+ data: {
1230
+ id: string;
1231
+ name: string;
1232
+ created_at: string;
1233
+ edited_at: string;
1234
+ kind: "table" | "virtual_table";
1235
+ account_id: string;
1236
+ profile_id: string;
1237
+ description?: string | undefined;
1238
+ parent_table_id?: string | undefined;
1239
+ };
1240
+ }>;
1241
+ } & {
1242
+ context: {
1243
+ meta: {
1244
+ createTable: PluginMeta;
1245
+ };
1246
+ };
1247
+ } & {
1248
+ listTableFields: (options?: {
1249
+ table: string;
1250
+ fields?: (string | number)[] | undefined;
1251
+ fieldKeys?: (string | number)[] | undefined;
1252
+ } | {
1253
+ tableId: string;
1254
+ fields?: (string | number)[] | undefined;
1255
+ fieldKeys?: (string | number)[] | undefined;
1256
+ } | undefined) => Promise<{
1257
+ data: {
1258
+ id: string;
1259
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
1260
+ name: string;
1261
+ created_at?: string | undefined;
1262
+ edited_at?: string | undefined;
1263
+ options?: Record<string, unknown> | undefined;
1264
+ config?: Record<string, unknown> | undefined;
1265
+ }[];
1266
+ }>;
1267
+ } & {
1268
+ context: {
1269
+ meta: {
1270
+ listTableFields: PluginMeta;
1271
+ };
1272
+ };
1273
+ } & {
1274
+ createTableFields: (options?: {
1275
+ table: string;
1276
+ fields: {
1277
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
1278
+ name: string;
1279
+ options?: Record<string, unknown> | undefined;
1280
+ config?: Record<string, unknown> | undefined;
1281
+ }[];
1282
+ } | {
1283
+ tableId: string;
1284
+ fields: {
1285
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
1286
+ name: string;
1287
+ options?: Record<string, unknown> | undefined;
1288
+ config?: Record<string, unknown> | undefined;
1289
+ }[];
1290
+ } | undefined) => Promise<{
1291
+ data: {
1292
+ id: string;
1293
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
1294
+ name: string;
1295
+ created_at?: string | undefined;
1296
+ edited_at?: string | undefined;
1297
+ options?: Record<string, unknown> | undefined;
1298
+ config?: Record<string, unknown> | undefined;
1299
+ }[];
1300
+ }>;
1301
+ } & {
1302
+ context: {
1303
+ meta: {
1304
+ createTableFields: PluginMeta;
1305
+ };
1306
+ };
1307
+ } & {
1308
+ deleteTableFields: (options?: {
1309
+ table: string;
1310
+ fields: (string | number)[];
1311
+ } | {
1312
+ tableId: string;
1313
+ fieldKeys: (string | number)[];
1314
+ } | undefined) => Promise<{
1315
+ success: boolean;
1316
+ }>;
1317
+ } & {
1318
+ context: {
1319
+ meta: {
1320
+ deleteTableFields: PluginMeta;
1321
+ };
1322
+ };
1323
+ } & {
1324
+ getTableRecord: (options?: {
1325
+ table: string;
1326
+ record: string;
1327
+ keyMode: "names" | "ids";
1328
+ } | {
1329
+ tableId: string;
1330
+ recordId: string;
1331
+ keyMode: "names" | "ids";
1332
+ } | undefined) => Promise<{
1333
+ data: {
1334
+ data: Record<string, unknown>;
1335
+ id: string;
1336
+ created_at: string;
1337
+ edited_at: string;
1338
+ };
1339
+ }>;
1340
+ } & {
1341
+ context: {
1342
+ meta: {
1343
+ getTableRecord: PluginMeta;
1344
+ };
1345
+ };
1346
+ } & {
1347
+ listTableRecords: (options?: (({
1348
+ table: string;
1349
+ keyMode: "names" | "ids";
1350
+ filters?: {
1351
+ fieldKey: string;
1352
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
1353
+ value?: unknown;
1354
+ }[] | undefined;
1355
+ sort?: {
1356
+ fieldKey: string;
1357
+ direction: "asc" | "desc";
1358
+ } | undefined;
1359
+ pageSize?: number | undefined;
1360
+ maxItems?: number | undefined;
1361
+ cursor?: string | undefined;
1362
+ } | {
1363
+ tableId: string;
1364
+ keyMode: "names" | "ids";
1365
+ filters?: {
1366
+ fieldKey: string;
1367
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
1368
+ value?: unknown;
1369
+ }[] | undefined;
1370
+ sort?: {
1371
+ fieldKey: string;
1372
+ direction: "asc" | "desc";
1373
+ } | undefined;
1374
+ pageSize?: number | undefined;
1375
+ maxItems?: number | undefined;
1376
+ cursor?: string | undefined;
1377
+ }) & {
1378
+ cursor?: string;
1379
+ pageSize?: number;
1380
+ maxItems?: number;
1381
+ }) | undefined) => import(".").PaginatedSdkResult<{
1382
+ id: string;
1383
+ data: Record<string, unknown>;
1384
+ created_at: string;
1385
+ edited_at: string;
1386
+ }>;
1387
+ } & {
1388
+ context: {
1389
+ meta: {
1390
+ listTableRecords: PluginMeta;
1391
+ };
1392
+ };
1393
+ } & {
1394
+ createTableRecords: (options?: {
1395
+ table: string;
1396
+ records: {
1397
+ data: Record<string, unknown>;
1398
+ }[];
1399
+ keyMode: "names" | "ids";
1400
+ } | {
1401
+ tableId: string;
1402
+ records: {
1403
+ data: Record<string, unknown>;
1404
+ }[];
1405
+ keyMode: "names" | "ids";
1406
+ } | undefined) => Promise<{
1407
+ data: {
1408
+ data: Record<string, unknown>;
1409
+ id: string;
1410
+ created_at: string;
1411
+ edited_at: string;
1412
+ }[];
1413
+ }>;
1414
+ } & {
1415
+ context: {
1416
+ meta: {
1417
+ createTableRecords: PluginMeta;
1418
+ };
1419
+ };
1420
+ } & {
1421
+ deleteTableRecords: (options?: {
1422
+ table: string;
1423
+ records: string[];
1424
+ } | {
1425
+ tableId: string;
1426
+ recordIds: string[];
1427
+ } | undefined) => Promise<{
1428
+ success: boolean;
1429
+ }>;
1430
+ } & {
1431
+ context: {
1432
+ meta: {
1433
+ deleteTableRecords: PluginMeta;
1434
+ };
1435
+ };
1436
+ } & {
1437
+ updateTableRecords: (options?: {
1438
+ table: string;
1439
+ records: {
1440
+ id: string;
1441
+ data: Record<string, unknown>;
1442
+ }[];
1443
+ keyMode: "names" | "ids";
1444
+ } | {
1445
+ tableId: string;
1446
+ records: {
1447
+ id: string;
1448
+ data: Record<string, unknown>;
1449
+ }[];
1450
+ keyMode: "names" | "ids";
1451
+ } | undefined) => Promise<{
1452
+ data: {
1453
+ data: Record<string, unknown>;
1454
+ id: string;
1455
+ created_at: string;
1456
+ edited_at: string;
1457
+ }[];
1458
+ }>;
1459
+ } & {
1460
+ context: {
1461
+ meta: {
1462
+ updateTableRecords: PluginMeta;
1463
+ };
1464
+ };
1465
+ } & {
1466
+ apps: import("./plugins/apps/schemas").ActionProxy & import(".").ZapierSdkApps;
1467
+ context: {
1468
+ meta: {
1469
+ "apps.{appKey}": {
1470
+ categories: string[];
1471
+ packages: string[];
1472
+ type: "function";
1473
+ inputSchema: import("zod").ZodObject<{
1474
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1475
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1476
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1477
+ }, import("zod/v4/core").$strip>;
1478
+ returnType: string;
1479
+ };
1480
+ "apps.{appKey}.{actionType}.{actionKey}": {
1481
+ categories: string[];
1482
+ packages: string[];
1483
+ type: "list";
1484
+ inputSchema: import("zod").ZodObject<{
1485
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1486
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1487
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1488
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1489
+ timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
1490
+ }, import("zod/v4/core").$strip>;
1491
+ itemType: string;
1492
+ outputSchema: import("zod").ZodUnknown;
1493
+ };
1494
+ };
1495
+ };
1496
+ } & {
1497
+ getProfile: (options?: Record<string, never> | undefined) => Promise<{
1498
+ data: {
1499
+ id: string;
1500
+ first_name: string;
1501
+ last_name: string;
1502
+ full_name: string;
1503
+ email: string;
1504
+ email_confirmed: boolean;
1505
+ timezone: string;
1506
+ };
1507
+ }>;
1508
+ } & {
1509
+ context: {
1510
+ meta: {
1511
+ getProfile: PluginMeta;
1512
+ };
1513
+ };
1514
+ }>;
45
1515
  export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
46
1516
  context: {
47
1517
  meta: Record<string, PluginMeta>;
@@ -50,6 +1520,1476 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
50
1520
  context: {
51
1521
  options: ZapierSdkOptions;
52
1522
  };
53
- } & import(".").EventEmissionProvides & import(".").ApiPluginProvides & import(".").ManifestPluginProvides & import("./plugins/capabilities").CapabilitiesPluginProvides & import(".").ConnectionsPluginProvides & import(".").ListAppsPluginProvides & import(".").GetAppPluginProvides & import(".").ListActionsPluginProvides & import(".").GetActionPluginProvides & import(".").ListInputFieldsPluginProvides & import("./plugins/getInputFieldsSchema").GetInputFieldsSchemaPluginProvides & import("./plugins/listInputFieldChoices").ListInputFieldChoicesPluginProvides & import(".").RunActionPluginProvides & import(".").ListConnectionsPluginProvides & import(".").GetConnectionPluginProvides & import(".").FindFirstConnectionPluginProvides & import(".").FindUniqueConnectionPluginProvides & import(".").ListAuthenticationsPluginProvides & import(".").GetAuthenticationPluginProvides & import(".").FindFirstAuthenticationPluginProvides & import(".").FindUniqueAuthenticationPluginProvides & import(".").ListClientCredentialsPluginProvides & import(".").CreateClientCredentialsPluginProvides & import(".").DeleteClientCredentialsPluginProvides & import(".").FetchPluginProvides & import(".").RequestPluginProvides & import(".").ListTablesPluginProvides & import(".").GetTablePluginProvides & import(".").DeleteTablePluginProvides & import(".").CreateTablePluginProvides & import(".").ListTableFieldsPluginProvides & import(".").CreateTableFieldsPluginProvides & import(".").DeleteTableFieldsPluginProvides & import(".").GetTableRecordPluginProvides & import(".").ListTableRecordsPluginProvides & import(".").CreateTableRecordsPluginProvides & import(".").DeleteTableRecordsPluginProvides & import(".").UpdateTableRecordsPluginProvides & import(".").AppsPluginProvides & import(".").GetProfilePluginProvides>;
1523
+ } & {
1524
+ context: import(".").EventEmissionContext;
1525
+ } & {
1526
+ context: {
1527
+ api: import("./api").ApiClient;
1528
+ resolveCredentials: () => Promise<string | {
1529
+ clientId: string;
1530
+ clientSecret: string;
1531
+ type?: "client_credentials" | undefined;
1532
+ baseUrl?: string | undefined;
1533
+ scope?: string | undefined;
1534
+ } | {
1535
+ clientId: string;
1536
+ type?: "pkce" | undefined;
1537
+ baseUrl?: string | undefined;
1538
+ scope?: string | undefined;
1539
+ } | undefined>;
1540
+ };
1541
+ } & {
1542
+ context: {
1543
+ getResolvedManifest: () => Promise<import(".").Manifest | null>;
1544
+ getVersionedImplementationId: (appKey: string) => Promise<string | null>;
1545
+ resolveAppKeys: ({ appKeys }: {
1546
+ appKeys: string[];
1547
+ }) => Promise<import(".").ResolvedAppLocator[]>;
1548
+ updateManifestEntry: (options: import(".").UpdateManifestEntryOptions) => Promise<import(".").UpdateManifestEntryResult>;
1549
+ addActionEntry: (options: import(".").AddActionEntryOptions) => Promise<import(".").AddActionEntryResult>;
1550
+ findActionEntry: ({ name, manifest, }: {
1551
+ name: string;
1552
+ manifest: import(".").Manifest;
1553
+ }) => import(".").ActionEntry | null;
1554
+ listActionEntries: ({ configPath, }?: {
1555
+ configPath?: string;
1556
+ }) => Promise<Array<[string, import(".").ActionEntry]>>;
1557
+ deleteActionEntry: ({ name, configPath, skipWrite, }: {
1558
+ name: string;
1559
+ configPath?: string;
1560
+ skipWrite?: boolean;
1561
+ }) => Promise<import(".").Manifest>;
1562
+ hasActionEntry: ({ name, manifest, }: {
1563
+ name: string;
1564
+ manifest: import(".").Manifest;
1565
+ }) => boolean;
1566
+ findManifestEntry: typeof import(".").findManifestEntry;
1567
+ readManifestFromFile: typeof import(".").readManifestFromFile;
1568
+ getManifestConnections: () => Promise<Record<string, {
1569
+ connectionId: string | number;
1570
+ }> | null>;
1571
+ };
1572
+ } & {
1573
+ context: import("./plugins/capabilities").CapabilitiesContext;
1574
+ } & {
1575
+ context: {
1576
+ resolveConnection: (name: string) => Promise<{
1577
+ connectionId: string | number;
1578
+ } | undefined>;
1579
+ getConnectionsMap: () => Promise<Record<string, {
1580
+ connectionId: string | number;
1581
+ }> | null>;
1582
+ };
1583
+ } & {
1584
+ listApps: (options?: ({
1585
+ search?: string | undefined;
1586
+ apps?: string[] | undefined;
1587
+ appKeys?: string[] | undefined;
1588
+ pageSize?: number | undefined;
1589
+ maxItems?: number | undefined;
1590
+ cursor?: string | undefined;
1591
+ } & {
1592
+ cursor?: string;
1593
+ pageSize?: number;
1594
+ maxItems?: number;
1595
+ }) | undefined) => import(".").PaginatedSdkResult<{
1596
+ slug: string;
1597
+ title: string;
1598
+ key: string;
1599
+ implementation_id: string;
1600
+ description?: string | undefined;
1601
+ is_hidden?: boolean | undefined;
1602
+ auth_type?: string | undefined;
1603
+ actions?: {
1604
+ read?: number | undefined;
1605
+ read_bulk?: number | undefined;
1606
+ write?: number | undefined;
1607
+ search?: number | undefined;
1608
+ search_or_write?: number | undefined;
1609
+ search_and_write?: number | undefined;
1610
+ filter?: number | undefined;
1611
+ } | undefined;
1612
+ is_deprecated?: boolean | undefined;
1613
+ is_beta?: boolean | undefined;
1614
+ is_premium?: boolean | undefined;
1615
+ age_in_days?: number | undefined;
1616
+ banner?: string | undefined;
1617
+ categories?: {
1618
+ id: number;
1619
+ name: string;
1620
+ slug: string;
1621
+ }[] | undefined;
1622
+ images?: {
1623
+ url_16x16?: string | undefined;
1624
+ url_32x32?: string | undefined;
1625
+ url_64x64?: string | undefined;
1626
+ url_128x128?: string | undefined;
1627
+ } | undefined;
1628
+ popularity?: number | undefined;
1629
+ has_filters?: boolean | undefined;
1630
+ has_reads?: boolean | undefined;
1631
+ has_searches?: boolean | undefined;
1632
+ has_searches_or_writes?: boolean | undefined;
1633
+ has_upfront_fields?: boolean | undefined;
1634
+ has_writes?: boolean | undefined;
1635
+ is_built_in?: boolean | undefined;
1636
+ is_featured?: boolean | undefined;
1637
+ is_invite?: boolean | undefined;
1638
+ is_public?: boolean | undefined;
1639
+ is_upcoming?: boolean | undefined;
1640
+ visibility?: string | undefined;
1641
+ primary_color?: string | undefined;
1642
+ secondary_color?: string | undefined;
1643
+ classification?: string | undefined;
1644
+ api_docs_url?: string | undefined;
1645
+ image?: string | undefined;
1646
+ version?: string | undefined;
1647
+ }>;
1648
+ } & {
1649
+ context: {
1650
+ meta: {
1651
+ listApps: PluginMeta;
1652
+ };
1653
+ };
1654
+ } & {
1655
+ getApp: (options?: {
1656
+ app: string;
1657
+ } | {
1658
+ appKey: string;
1659
+ } | undefined) => Promise<{
1660
+ data: {
1661
+ slug: string;
1662
+ title: string;
1663
+ key: string;
1664
+ implementation_id: string;
1665
+ description?: string | undefined;
1666
+ is_hidden?: boolean | undefined;
1667
+ auth_type?: string | undefined;
1668
+ actions?: {
1669
+ read?: number | undefined;
1670
+ read_bulk?: number | undefined;
1671
+ write?: number | undefined;
1672
+ search?: number | undefined;
1673
+ search_or_write?: number | undefined;
1674
+ search_and_write?: number | undefined;
1675
+ filter?: number | undefined;
1676
+ } | undefined;
1677
+ is_deprecated?: boolean | undefined;
1678
+ is_beta?: boolean | undefined;
1679
+ is_premium?: boolean | undefined;
1680
+ age_in_days?: number | undefined;
1681
+ banner?: string | undefined;
1682
+ categories?: {
1683
+ id: number;
1684
+ name: string;
1685
+ slug: string;
1686
+ }[] | undefined;
1687
+ images?: {
1688
+ url_16x16?: string | undefined;
1689
+ url_32x32?: string | undefined;
1690
+ url_64x64?: string | undefined;
1691
+ url_128x128?: string | undefined;
1692
+ } | undefined;
1693
+ popularity?: number | undefined;
1694
+ has_filters?: boolean | undefined;
1695
+ has_reads?: boolean | undefined;
1696
+ has_searches?: boolean | undefined;
1697
+ has_searches_or_writes?: boolean | undefined;
1698
+ has_upfront_fields?: boolean | undefined;
1699
+ has_writes?: boolean | undefined;
1700
+ is_built_in?: boolean | undefined;
1701
+ is_featured?: boolean | undefined;
1702
+ is_invite?: boolean | undefined;
1703
+ is_public?: boolean | undefined;
1704
+ is_upcoming?: boolean | undefined;
1705
+ visibility?: string | undefined;
1706
+ primary_color?: string | undefined;
1707
+ secondary_color?: string | undefined;
1708
+ classification?: string | undefined;
1709
+ api_docs_url?: string | undefined;
1710
+ image?: string | undefined;
1711
+ version?: string | undefined;
1712
+ };
1713
+ }>;
1714
+ } & {
1715
+ context: {
1716
+ meta: {
1717
+ getApp: PluginMeta;
1718
+ };
1719
+ };
1720
+ } & {
1721
+ listActions: (options?: (({
1722
+ app: string;
1723
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
1724
+ pageSize?: number | undefined;
1725
+ maxItems?: number | undefined;
1726
+ cursor?: string | undefined;
1727
+ } | {
1728
+ appKey: string;
1729
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
1730
+ pageSize?: number | undefined;
1731
+ maxItems?: number | undefined;
1732
+ cursor?: string | undefined;
1733
+ }) & {
1734
+ cursor?: string;
1735
+ pageSize?: number;
1736
+ maxItems?: number;
1737
+ }) | undefined) => import(".").PaginatedSdkResult<{
1738
+ description: string;
1739
+ key: string;
1740
+ app_key: string;
1741
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1742
+ title: string;
1743
+ type: "action";
1744
+ id?: string | undefined;
1745
+ is_important?: boolean | undefined;
1746
+ is_hidden?: boolean | undefined;
1747
+ app_version?: string | undefined;
1748
+ }>;
1749
+ } & {
1750
+ context: {
1751
+ meta: {
1752
+ listActions: PluginMeta;
1753
+ };
1754
+ };
1755
+ } & {
1756
+ getAction: (options?: {
1757
+ app: string;
1758
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1759
+ action: string;
1760
+ } | {
1761
+ appKey: string;
1762
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1763
+ actionKey: string;
1764
+ } | undefined) => Promise<{
1765
+ data: {
1766
+ description: string;
1767
+ key: string;
1768
+ app_key: string;
1769
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1770
+ title: string;
1771
+ type: "action";
1772
+ id?: string | undefined;
1773
+ is_important?: boolean | undefined;
1774
+ is_hidden?: boolean | undefined;
1775
+ app_version?: string | undefined;
1776
+ };
1777
+ }>;
1778
+ } & {
1779
+ context: {
1780
+ meta: {
1781
+ getAction: PluginMeta;
1782
+ };
1783
+ };
1784
+ } & {
1785
+ listInputFields: (options?: (({
1786
+ app: string;
1787
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1788
+ action: string;
1789
+ connection?: string | number | undefined;
1790
+ connectionId?: string | number | null | undefined;
1791
+ authenticationId?: string | number | null | undefined;
1792
+ inputs?: Record<string, unknown> | undefined;
1793
+ pageSize?: number | undefined;
1794
+ maxItems?: number | undefined;
1795
+ cursor?: string | undefined;
1796
+ } | {
1797
+ appKey: string;
1798
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1799
+ actionKey: string;
1800
+ connection?: string | number | undefined;
1801
+ connectionId?: string | number | null | undefined;
1802
+ authenticationId?: string | number | null | undefined;
1803
+ inputs?: Record<string, unknown> | undefined;
1804
+ pageSize?: number | undefined;
1805
+ maxItems?: number | undefined;
1806
+ cursor?: string | undefined;
1807
+ }) & {
1808
+ cursor?: string;
1809
+ pageSize?: number;
1810
+ maxItems?: number;
1811
+ }) | undefined) => import(".").PaginatedSdkResult<{
1812
+ key: string;
1813
+ type: "input_field";
1814
+ default_value: string;
1815
+ depends_on: string[];
1816
+ description: string;
1817
+ invalidates_input_fields: boolean;
1818
+ is_required: boolean;
1819
+ placeholder: string;
1820
+ title: string;
1821
+ value_type: string;
1822
+ format?: string | undefined;
1823
+ items?: {
1824
+ type: string;
1825
+ } | undefined;
1826
+ } | {
1827
+ key: string;
1828
+ type: "info_field";
1829
+ description: string;
1830
+ title?: string | undefined;
1831
+ } | import(".").FieldsetItem>;
1832
+ } & {
1833
+ context: {
1834
+ meta: {
1835
+ listInputFields: PluginMeta;
1836
+ };
1837
+ };
1838
+ } & {
1839
+ getInputFieldsSchema: (options?: {
1840
+ app: string;
1841
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1842
+ action: string;
1843
+ connection?: string | number | undefined;
1844
+ connectionId?: string | number | null | undefined;
1845
+ authenticationId?: string | number | null | undefined;
1846
+ inputs?: Record<string, unknown> | undefined;
1847
+ } | {
1848
+ appKey: string;
1849
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1850
+ actionKey: string;
1851
+ connection?: string | number | undefined;
1852
+ connectionId?: string | number | null | undefined;
1853
+ authenticationId?: string | number | null | undefined;
1854
+ inputs?: Record<string, unknown> | undefined;
1855
+ } | undefined) => Promise<{
1856
+ data: Record<string, unknown>;
1857
+ }>;
1858
+ } & {
1859
+ context: {
1860
+ meta: {
1861
+ getInputFieldsSchema: PluginMeta;
1862
+ };
1863
+ };
1864
+ } & {
1865
+ listInputFieldChoices: (options?: (({
1866
+ app: string;
1867
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1868
+ action: string;
1869
+ inputField: string;
1870
+ connection?: string | number | undefined;
1871
+ connectionId?: string | number | null | undefined;
1872
+ authenticationId?: string | number | null | undefined;
1873
+ inputs?: Record<string, unknown> | undefined;
1874
+ page?: number | undefined;
1875
+ pageSize?: number | undefined;
1876
+ maxItems?: number | undefined;
1877
+ cursor?: string | undefined;
1878
+ } | {
1879
+ appKey: string;
1880
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1881
+ actionKey: string;
1882
+ inputFieldKey: string;
1883
+ connection?: string | number | undefined;
1884
+ connectionId?: string | number | null | undefined;
1885
+ authenticationId?: string | number | null | undefined;
1886
+ inputs?: Record<string, unknown> | undefined;
1887
+ page?: number | undefined;
1888
+ pageSize?: number | undefined;
1889
+ maxItems?: number | undefined;
1890
+ cursor?: string | undefined;
1891
+ }) & {
1892
+ cursor?: string;
1893
+ pageSize?: number;
1894
+ maxItems?: number;
1895
+ }) | undefined) => import(".").PaginatedSdkResult<{
1896
+ key?: string | undefined;
1897
+ label?: string | undefined;
1898
+ sample?: string | undefined;
1899
+ value?: string | undefined;
1900
+ }>;
1901
+ } & {
1902
+ context: {
1903
+ meta: {
1904
+ listInputFieldChoices: PluginMeta;
1905
+ };
1906
+ };
1907
+ } & {
1908
+ runAction: (options?: (({
1909
+ app: string;
1910
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1911
+ action: string;
1912
+ connection?: string | number | undefined;
1913
+ connectionId?: string | number | null | undefined;
1914
+ authenticationId?: string | number | null | undefined;
1915
+ inputs?: Record<string, unknown> | undefined;
1916
+ timeoutMs?: number | undefined;
1917
+ pageSize?: number | undefined;
1918
+ maxItems?: number | undefined;
1919
+ cursor?: string | undefined;
1920
+ } | {
1921
+ appKey: string;
1922
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
1923
+ actionKey: string;
1924
+ connection?: string | number | undefined;
1925
+ connectionId?: string | number | null | undefined;
1926
+ authenticationId?: string | number | null | undefined;
1927
+ inputs?: Record<string, unknown> | undefined;
1928
+ timeoutMs?: number | undefined;
1929
+ pageSize?: number | undefined;
1930
+ maxItems?: number | undefined;
1931
+ cursor?: string | undefined;
1932
+ }) & {
1933
+ cursor?: string;
1934
+ pageSize?: number;
1935
+ maxItems?: number;
1936
+ }) | undefined) => import(".").PaginatedSdkResult<unknown>;
1937
+ } & {
1938
+ context: {
1939
+ meta: {
1940
+ runAction: PluginMeta;
1941
+ };
1942
+ };
1943
+ } & {
1944
+ listConnections: (options?: ({
1945
+ title?: string | undefined;
1946
+ search?: string | undefined;
1947
+ owner?: string | undefined;
1948
+ app?: string | undefined;
1949
+ appKey?: string | undefined;
1950
+ connections?: string[] | undefined;
1951
+ connectionIds?: string[] | undefined;
1952
+ authenticationIds?: string[] | undefined;
1953
+ account?: string | undefined;
1954
+ accountId?: string | undefined;
1955
+ includeShared?: boolean | undefined;
1956
+ isExpired?: boolean | undefined;
1957
+ expired?: boolean | undefined;
1958
+ pageSize?: number | undefined;
1959
+ maxItems?: number | undefined;
1960
+ cursor?: string | undefined;
1961
+ } & {
1962
+ cursor?: string;
1963
+ pageSize?: number;
1964
+ maxItems?: number;
1965
+ }) | undefined) => import(".").PaginatedSdkResult<{
1966
+ date: string;
1967
+ is_invite_only: boolean;
1968
+ is_private: boolean;
1969
+ shared_with_all: boolean;
1970
+ id: string;
1971
+ account_id: string;
1972
+ title?: string | null | undefined;
1973
+ lastchanged?: string | undefined;
1974
+ destination_selected_api?: string | null | undefined;
1975
+ is_stale?: string | undefined;
1976
+ is_shared?: string | undefined;
1977
+ marked_stale_at?: string | null | undefined;
1978
+ label?: string | null | undefined;
1979
+ identifier?: string | null | undefined;
1980
+ url?: string | undefined;
1981
+ groups?: Record<string, unknown>[] | undefined;
1982
+ members?: string | undefined;
1983
+ permissions?: Record<string, boolean> | undefined;
1984
+ public_id?: string | undefined;
1985
+ account_public_id?: string | undefined;
1986
+ customuser_public_id?: string | undefined;
1987
+ implementation_id?: string | undefined;
1988
+ profile_id?: string | undefined;
1989
+ is_expired?: string | undefined;
1990
+ expired_at?: string | null | undefined;
1991
+ app_key?: string | undefined;
1992
+ app_version?: string | undefined;
1993
+ }>;
1994
+ } & {
1995
+ context: {
1996
+ meta: {
1997
+ listConnections: PluginMeta;
1998
+ };
1999
+ };
2000
+ } & {
2001
+ getConnection: (options?: {
2002
+ connection?: string | number | undefined;
2003
+ connectionId?: string | number | undefined;
2004
+ authenticationId?: string | number | undefined;
2005
+ } | undefined) => Promise<{
2006
+ data: {
2007
+ date: string;
2008
+ is_invite_only: boolean;
2009
+ is_private: boolean;
2010
+ shared_with_all: boolean;
2011
+ id: string;
2012
+ account_id: string;
2013
+ title?: string | null | undefined;
2014
+ lastchanged?: string | undefined;
2015
+ destination_selected_api?: string | null | undefined;
2016
+ is_stale?: string | undefined;
2017
+ is_shared?: string | undefined;
2018
+ marked_stale_at?: string | null | undefined;
2019
+ label?: string | null | undefined;
2020
+ identifier?: string | null | undefined;
2021
+ url?: string | undefined;
2022
+ groups?: Record<string, unknown>[] | undefined;
2023
+ members?: string | undefined;
2024
+ permissions?: Record<string, boolean> | undefined;
2025
+ public_id?: string | undefined;
2026
+ account_public_id?: string | undefined;
2027
+ customuser_public_id?: string | undefined;
2028
+ implementation_id?: string | undefined;
2029
+ profile_id?: string | undefined;
2030
+ is_expired?: string | undefined;
2031
+ expired_at?: string | null | undefined;
2032
+ app_key?: string | undefined;
2033
+ app_version?: string | undefined;
2034
+ };
2035
+ }>;
2036
+ } & {
2037
+ context: {
2038
+ meta: {
2039
+ getConnection: PluginMeta;
2040
+ };
2041
+ };
2042
+ } & {
2043
+ findFirstConnection: (options?: {
2044
+ title?: string | undefined;
2045
+ search?: string | undefined;
2046
+ appKey?: string | undefined;
2047
+ app?: string | undefined;
2048
+ owner?: string | undefined;
2049
+ account?: string | undefined;
2050
+ accountId?: string | undefined;
2051
+ includeShared?: boolean | undefined;
2052
+ isExpired?: boolean | undefined;
2053
+ expired?: boolean | undefined;
2054
+ } | undefined) => Promise<{
2055
+ data: {
2056
+ date: string;
2057
+ is_invite_only: boolean;
2058
+ is_private: boolean;
2059
+ shared_with_all: boolean;
2060
+ id: string;
2061
+ account_id: string;
2062
+ title?: string | null | undefined;
2063
+ lastchanged?: string | undefined;
2064
+ destination_selected_api?: string | null | undefined;
2065
+ is_stale?: string | undefined;
2066
+ is_shared?: string | undefined;
2067
+ marked_stale_at?: string | null | undefined;
2068
+ label?: string | null | undefined;
2069
+ identifier?: string | null | undefined;
2070
+ url?: string | undefined;
2071
+ groups?: Record<string, unknown>[] | undefined;
2072
+ members?: string | undefined;
2073
+ permissions?: Record<string, boolean> | undefined;
2074
+ public_id?: string | undefined;
2075
+ account_public_id?: string | undefined;
2076
+ customuser_public_id?: string | undefined;
2077
+ implementation_id?: string | undefined;
2078
+ profile_id?: string | undefined;
2079
+ is_expired?: string | undefined;
2080
+ expired_at?: string | null | undefined;
2081
+ app_key?: string | undefined;
2082
+ app_version?: string | undefined;
2083
+ };
2084
+ }>;
2085
+ } & {
2086
+ context: {
2087
+ meta: {
2088
+ findFirstConnection: PluginMeta;
2089
+ };
2090
+ };
2091
+ } & {
2092
+ findUniqueConnection: (options?: {
2093
+ title?: string | undefined;
2094
+ search?: string | undefined;
2095
+ appKey?: string | undefined;
2096
+ app?: string | undefined;
2097
+ owner?: string | undefined;
2098
+ account?: string | undefined;
2099
+ accountId?: string | undefined;
2100
+ includeShared?: boolean | undefined;
2101
+ isExpired?: boolean | undefined;
2102
+ expired?: boolean | undefined;
2103
+ } | undefined) => Promise<{
2104
+ data: {
2105
+ date: string;
2106
+ is_invite_only: boolean;
2107
+ is_private: boolean;
2108
+ shared_with_all: boolean;
2109
+ id: string;
2110
+ account_id: string;
2111
+ title?: string | null | undefined;
2112
+ lastchanged?: string | undefined;
2113
+ destination_selected_api?: string | null | undefined;
2114
+ is_stale?: string | undefined;
2115
+ is_shared?: string | undefined;
2116
+ marked_stale_at?: string | null | undefined;
2117
+ label?: string | null | undefined;
2118
+ identifier?: string | null | undefined;
2119
+ url?: string | undefined;
2120
+ groups?: Record<string, unknown>[] | undefined;
2121
+ members?: string | undefined;
2122
+ permissions?: Record<string, boolean> | undefined;
2123
+ public_id?: string | undefined;
2124
+ account_public_id?: string | undefined;
2125
+ customuser_public_id?: string | undefined;
2126
+ implementation_id?: string | undefined;
2127
+ profile_id?: string | undefined;
2128
+ is_expired?: string | undefined;
2129
+ expired_at?: string | null | undefined;
2130
+ app_key?: string | undefined;
2131
+ app_version?: string | undefined;
2132
+ };
2133
+ }>;
2134
+ } & {
2135
+ context: {
2136
+ meta: {
2137
+ findUniqueConnection: PluginMeta;
2138
+ };
2139
+ };
2140
+ } & {
2141
+ listAuthentications: (options?: ({
2142
+ title?: string | undefined;
2143
+ search?: string | undefined;
2144
+ owner?: string | undefined;
2145
+ app?: string | undefined;
2146
+ appKey?: string | undefined;
2147
+ connections?: string[] | undefined;
2148
+ connectionIds?: string[] | undefined;
2149
+ authenticationIds?: string[] | undefined;
2150
+ account?: string | undefined;
2151
+ accountId?: string | undefined;
2152
+ includeShared?: boolean | undefined;
2153
+ isExpired?: boolean | undefined;
2154
+ expired?: boolean | undefined;
2155
+ pageSize?: number | undefined;
2156
+ maxItems?: number | undefined;
2157
+ cursor?: string | undefined;
2158
+ } & {
2159
+ cursor?: string;
2160
+ pageSize?: number;
2161
+ maxItems?: number;
2162
+ }) | undefined) => import(".").PaginatedSdkResult<{
2163
+ date: string;
2164
+ is_invite_only: boolean;
2165
+ is_private: boolean;
2166
+ shared_with_all: boolean;
2167
+ id: string;
2168
+ account_id: string;
2169
+ title?: string | null | undefined;
2170
+ lastchanged?: string | undefined;
2171
+ destination_selected_api?: string | null | undefined;
2172
+ is_stale?: string | undefined;
2173
+ is_shared?: string | undefined;
2174
+ marked_stale_at?: string | null | undefined;
2175
+ label?: string | null | undefined;
2176
+ identifier?: string | null | undefined;
2177
+ url?: string | undefined;
2178
+ groups?: Record<string, unknown>[] | undefined;
2179
+ members?: string | undefined;
2180
+ permissions?: Record<string, boolean> | undefined;
2181
+ public_id?: string | undefined;
2182
+ account_public_id?: string | undefined;
2183
+ customuser_public_id?: string | undefined;
2184
+ implementation_id?: string | undefined;
2185
+ profile_id?: string | undefined;
2186
+ is_expired?: string | undefined;
2187
+ expired_at?: string | null | undefined;
2188
+ app_key?: string | undefined;
2189
+ app_version?: string | undefined;
2190
+ }>;
2191
+ context: {
2192
+ meta: {
2193
+ listAuthentications: {
2194
+ packages: string[];
2195
+ categories: string[];
2196
+ type: "list";
2197
+ itemType: string;
2198
+ inputSchema: import("zod").ZodObject<{
2199
+ title: import("zod").ZodOptional<import("zod").ZodString>;
2200
+ search: import("zod").ZodOptional<import("zod").ZodString>;
2201
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
2202
+ app: import("zod").ZodOptional<import("zod").ZodString & {
2203
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2204
+ }>;
2205
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
2206
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2207
+ }>;
2208
+ connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2209
+ connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2210
+ authenticationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2211
+ account: import("zod").ZodOptional<import("zod").ZodString>;
2212
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2213
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
2214
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2215
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2216
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
2217
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
2218
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2219
+ }, import("zod/v4/core").$strip>;
2220
+ outputSchema: import("zod").ZodObject<{
2221
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2222
+ date: import("zod").ZodString;
2223
+ is_invite_only: import("zod").ZodBoolean;
2224
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
2225
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2226
+ is_private: import("zod").ZodBoolean;
2227
+ shared_with_all: import("zod").ZodBoolean;
2228
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
2229
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
2230
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2231
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2232
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2233
+ url: import("zod").ZodOptional<import("zod").ZodString>;
2234
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
2235
+ members: import("zod").ZodOptional<import("zod").ZodString>;
2236
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
2237
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
2238
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2239
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2240
+ id: import("zod").ZodString;
2241
+ account_id: import("zod").ZodString;
2242
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
2243
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
2244
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
2245
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2246
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
2247
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
2248
+ }, import("zod/v4/core").$strip>;
2249
+ };
2250
+ };
2251
+ };
2252
+ } & {
2253
+ getAuthentication: (options?: {
2254
+ connection?: string | number | undefined;
2255
+ connectionId?: string | number | undefined;
2256
+ authenticationId?: string | number | undefined;
2257
+ } | undefined) => Promise<{
2258
+ data: {
2259
+ date: string;
2260
+ is_invite_only: boolean;
2261
+ is_private: boolean;
2262
+ shared_with_all: boolean;
2263
+ id: string;
2264
+ account_id: string;
2265
+ title?: string | null | undefined;
2266
+ lastchanged?: string | undefined;
2267
+ destination_selected_api?: string | null | undefined;
2268
+ is_stale?: string | undefined;
2269
+ is_shared?: string | undefined;
2270
+ marked_stale_at?: string | null | undefined;
2271
+ label?: string | null | undefined;
2272
+ identifier?: string | null | undefined;
2273
+ url?: string | undefined;
2274
+ groups?: Record<string, unknown>[] | undefined;
2275
+ members?: string | undefined;
2276
+ permissions?: Record<string, boolean> | undefined;
2277
+ public_id?: string | undefined;
2278
+ account_public_id?: string | undefined;
2279
+ customuser_public_id?: string | undefined;
2280
+ implementation_id?: string | undefined;
2281
+ profile_id?: string | undefined;
2282
+ is_expired?: string | undefined;
2283
+ expired_at?: string | null | undefined;
2284
+ app_key?: string | undefined;
2285
+ app_version?: string | undefined;
2286
+ };
2287
+ }>;
2288
+ context: {
2289
+ meta: {
2290
+ getAuthentication: {
2291
+ packages: string[];
2292
+ categories: string[];
2293
+ type: "item";
2294
+ itemType: string;
2295
+ inputSchema: import("zod").ZodObject<{
2296
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2297
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2298
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2299
+ }, import("zod/v4/core").$strip>;
2300
+ outputSchema: import("zod").ZodObject<{
2301
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2302
+ date: import("zod").ZodString;
2303
+ is_invite_only: import("zod").ZodBoolean;
2304
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
2305
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2306
+ is_private: import("zod").ZodBoolean;
2307
+ shared_with_all: import("zod").ZodBoolean;
2308
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
2309
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
2310
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2311
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2312
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2313
+ url: import("zod").ZodOptional<import("zod").ZodString>;
2314
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
2315
+ members: import("zod").ZodOptional<import("zod").ZodString>;
2316
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
2317
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
2318
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2319
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2320
+ id: import("zod").ZodString;
2321
+ account_id: import("zod").ZodString;
2322
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
2323
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
2324
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
2325
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2326
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
2327
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
2328
+ }, import("zod/v4/core").$strip>;
2329
+ };
2330
+ };
2331
+ };
2332
+ } & {
2333
+ findFirstAuthentication: (options?: {
2334
+ title?: string | undefined;
2335
+ search?: string | undefined;
2336
+ appKey?: string | undefined;
2337
+ app?: string | undefined;
2338
+ owner?: string | undefined;
2339
+ account?: string | undefined;
2340
+ accountId?: string | undefined;
2341
+ includeShared?: boolean | undefined;
2342
+ isExpired?: boolean | undefined;
2343
+ expired?: boolean | undefined;
2344
+ } | undefined) => Promise<{
2345
+ data: {
2346
+ date: string;
2347
+ is_invite_only: boolean;
2348
+ is_private: boolean;
2349
+ shared_with_all: boolean;
2350
+ id: string;
2351
+ account_id: string;
2352
+ title?: string | null | undefined;
2353
+ lastchanged?: string | undefined;
2354
+ destination_selected_api?: string | null | undefined;
2355
+ is_stale?: string | undefined;
2356
+ is_shared?: string | undefined;
2357
+ marked_stale_at?: string | null | undefined;
2358
+ label?: string | null | undefined;
2359
+ identifier?: string | null | undefined;
2360
+ url?: string | undefined;
2361
+ groups?: Record<string, unknown>[] | undefined;
2362
+ members?: string | undefined;
2363
+ permissions?: Record<string, boolean> | undefined;
2364
+ public_id?: string | undefined;
2365
+ account_public_id?: string | undefined;
2366
+ customuser_public_id?: string | undefined;
2367
+ implementation_id?: string | undefined;
2368
+ profile_id?: string | undefined;
2369
+ is_expired?: string | undefined;
2370
+ expired_at?: string | null | undefined;
2371
+ app_key?: string | undefined;
2372
+ app_version?: string | undefined;
2373
+ };
2374
+ }>;
2375
+ context: {
2376
+ meta: {
2377
+ findFirstAuthentication: {
2378
+ packages: string[];
2379
+ categories: string[];
2380
+ type: "item";
2381
+ itemType: string;
2382
+ inputSchema: import("zod").ZodObject<{
2383
+ title: import("zod").ZodOptional<import("zod").ZodString>;
2384
+ search: import("zod").ZodOptional<import("zod").ZodString>;
2385
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
2386
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2387
+ }>;
2388
+ app: import("zod").ZodOptional<import("zod").ZodString & {
2389
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2390
+ }>;
2391
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
2392
+ account: import("zod").ZodOptional<import("zod").ZodString>;
2393
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2394
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
2395
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2396
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2397
+ }, import("zod/v4/core").$strip>;
2398
+ outputSchema: import("zod").ZodObject<{
2399
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2400
+ date: import("zod").ZodString;
2401
+ is_invite_only: import("zod").ZodBoolean;
2402
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
2403
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2404
+ is_private: import("zod").ZodBoolean;
2405
+ shared_with_all: import("zod").ZodBoolean;
2406
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
2407
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
2408
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2409
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2410
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2411
+ url: import("zod").ZodOptional<import("zod").ZodString>;
2412
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
2413
+ members: import("zod").ZodOptional<import("zod").ZodString>;
2414
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
2415
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
2416
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2417
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2418
+ id: import("zod").ZodString;
2419
+ account_id: import("zod").ZodString;
2420
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
2421
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
2422
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
2423
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2424
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
2425
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
2426
+ }, import("zod/v4/core").$strip>;
2427
+ };
2428
+ };
2429
+ };
2430
+ } & {
2431
+ findUniqueAuthentication: (options?: {
2432
+ title?: string | undefined;
2433
+ search?: string | undefined;
2434
+ appKey?: string | undefined;
2435
+ app?: string | undefined;
2436
+ owner?: string | undefined;
2437
+ account?: string | undefined;
2438
+ accountId?: string | undefined;
2439
+ includeShared?: boolean | undefined;
2440
+ isExpired?: boolean | undefined;
2441
+ expired?: boolean | undefined;
2442
+ } | undefined) => Promise<{
2443
+ data: {
2444
+ date: string;
2445
+ is_invite_only: boolean;
2446
+ is_private: boolean;
2447
+ shared_with_all: boolean;
2448
+ id: string;
2449
+ account_id: string;
2450
+ title?: string | null | undefined;
2451
+ lastchanged?: string | undefined;
2452
+ destination_selected_api?: string | null | undefined;
2453
+ is_stale?: string | undefined;
2454
+ is_shared?: string | undefined;
2455
+ marked_stale_at?: string | null | undefined;
2456
+ label?: string | null | undefined;
2457
+ identifier?: string | null | undefined;
2458
+ url?: string | undefined;
2459
+ groups?: Record<string, unknown>[] | undefined;
2460
+ members?: string | undefined;
2461
+ permissions?: Record<string, boolean> | undefined;
2462
+ public_id?: string | undefined;
2463
+ account_public_id?: string | undefined;
2464
+ customuser_public_id?: string | undefined;
2465
+ implementation_id?: string | undefined;
2466
+ profile_id?: string | undefined;
2467
+ is_expired?: string | undefined;
2468
+ expired_at?: string | null | undefined;
2469
+ app_key?: string | undefined;
2470
+ app_version?: string | undefined;
2471
+ };
2472
+ }>;
2473
+ context: {
2474
+ meta: {
2475
+ findUniqueAuthentication: {
2476
+ packages: string[];
2477
+ categories: string[];
2478
+ type: "item";
2479
+ itemType: string;
2480
+ inputSchema: import("zod").ZodObject<{
2481
+ title: import("zod").ZodOptional<import("zod").ZodString>;
2482
+ search: import("zod").ZodOptional<import("zod").ZodString>;
2483
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
2484
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2485
+ }>;
2486
+ app: import("zod").ZodOptional<import("zod").ZodString & {
2487
+ _def: import("zod/v4/core").$ZodStringDef & import(".").PositionalMetadata;
2488
+ }>;
2489
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
2490
+ account: import("zod").ZodOptional<import("zod").ZodString>;
2491
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2492
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
2493
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2494
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
2495
+ }, import("zod/v4/core").$strip>;
2496
+ outputSchema: import("zod").ZodObject<{
2497
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2498
+ date: import("zod").ZodString;
2499
+ is_invite_only: import("zod").ZodBoolean;
2500
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
2501
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2502
+ is_private: import("zod").ZodBoolean;
2503
+ shared_with_all: import("zod").ZodBoolean;
2504
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
2505
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
2506
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2507
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2508
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2509
+ url: import("zod").ZodOptional<import("zod").ZodString>;
2510
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
2511
+ members: import("zod").ZodOptional<import("zod").ZodString>;
2512
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
2513
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
2514
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2515
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
2516
+ id: import("zod").ZodString;
2517
+ account_id: import("zod").ZodString;
2518
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
2519
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
2520
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
2521
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2522
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
2523
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
2524
+ }, import("zod/v4/core").$strip>;
2525
+ };
2526
+ };
2527
+ };
2528
+ } & {
2529
+ listClientCredentials: (options?: ({
2530
+ pageSize?: number | undefined;
2531
+ maxItems?: number | undefined;
2532
+ cursor?: string | undefined;
2533
+ } & {
2534
+ cursor?: string;
2535
+ pageSize?: number;
2536
+ maxItems?: number;
2537
+ }) | undefined) => import(".").PaginatedSdkResult<{
2538
+ client_id: string;
2539
+ name: string;
2540
+ allowed_scopes: ("external" | "credentials")[];
2541
+ created_at?: string | null | undefined;
2542
+ updated_at?: string | undefined;
2543
+ }>;
2544
+ } & {
2545
+ context: {
2546
+ meta: {
2547
+ listClientCredentials: PluginMeta;
2548
+ };
2549
+ };
2550
+ } & {
2551
+ createClientCredentials: (options?: {
2552
+ name: string;
2553
+ allowedScopes: ("external" | "credentials")[];
2554
+ policy?: Record<string, unknown> | undefined;
2555
+ } | undefined) => Promise<{
2556
+ data: {
2557
+ client_id: string;
2558
+ name: string;
2559
+ client_secret: string;
2560
+ };
2561
+ }>;
2562
+ } & {
2563
+ context: {
2564
+ meta: {
2565
+ createClientCredentials: PluginMeta;
2566
+ };
2567
+ };
2568
+ } & {
2569
+ deleteClientCredentials: (options?: {
2570
+ clientId: string;
2571
+ } | undefined) => Promise<{
2572
+ success: boolean;
2573
+ }>;
2574
+ } & {
2575
+ context: {
2576
+ meta: {
2577
+ deleteClientCredentials: PluginMeta;
2578
+ };
2579
+ };
2580
+ } & {
2581
+ fetch: (url: string | URL, init?: import(".").ZapierFetchInitOptions) => Promise<Response>;
2582
+ context: {
2583
+ meta: {
2584
+ fetch: {
2585
+ description: string;
2586
+ packages: string[];
2587
+ categories: string[];
2588
+ returnType: string;
2589
+ inputParameters: ({
2590
+ name: string;
2591
+ schema: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<URL, URL>]>;
2592
+ } | {
2593
+ name: string;
2594
+ schema: import("zod").ZodOptional<import("zod").ZodObject<{
2595
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
2596
+ POST: "POST";
2597
+ GET: "GET";
2598
+ DELETE: "DELETE";
2599
+ PUT: "PUT";
2600
+ PATCH: "PATCH";
2601
+ HEAD: "HEAD";
2602
+ OPTIONS: "OPTIONS";
2603
+ }>>;
2604
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
2605
+ body: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<FormData, FormData>, import("zod").ZodCustom<URLSearchParams, URLSearchParams>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
2606
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2607
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2608
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2609
+ callbackUrl: import("zod").ZodOptional<import("zod").ZodString>;
2610
+ maxTime: import("zod").ZodOptional<import("zod").ZodNumber>;
2611
+ }, import("zod/v4/core").$strip>>;
2612
+ })[];
2613
+ };
2614
+ };
2615
+ };
2616
+ } & {
2617
+ request: (options?: {
2618
+ url: string;
2619
+ method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
2620
+ body?: any;
2621
+ connection?: string | number | undefined;
2622
+ connectionId?: string | number | undefined;
2623
+ authenticationId?: string | number | undefined;
2624
+ callbackUrl?: string | undefined;
2625
+ headers?: [string, string][] | Record<string, string> | Headers | undefined;
2626
+ } | undefined) => Promise<Response>;
2627
+ } & {
2628
+ context: {
2629
+ meta: {
2630
+ request: PluginMeta;
2631
+ };
2632
+ };
2633
+ } & {
2634
+ listTables: (options?: ({
2635
+ tables?: string[] | undefined;
2636
+ tableIds?: string[] | undefined;
2637
+ kind?: "table" | "virtual_table" | "both" | undefined;
2638
+ search?: string | undefined;
2639
+ owner?: string | undefined;
2640
+ includeShared?: boolean | undefined;
2641
+ pageSize?: number | undefined;
2642
+ maxItems?: number | undefined;
2643
+ cursor?: string | undefined;
2644
+ } & {
2645
+ cursor?: string;
2646
+ pageSize?: number;
2647
+ maxItems?: number;
2648
+ }) | undefined) => import(".").PaginatedSdkResult<{
2649
+ id: string;
2650
+ name: string;
2651
+ created_at: string;
2652
+ edited_at: string;
2653
+ kind: "table" | "virtual_table";
2654
+ account_id: string;
2655
+ profile_id: string;
2656
+ description?: string | undefined;
2657
+ parent_table_id?: string | undefined;
2658
+ }>;
2659
+ } & {
2660
+ context: {
2661
+ meta: {
2662
+ listTables: PluginMeta;
2663
+ };
2664
+ };
2665
+ } & {
2666
+ getTable: (options?: {
2667
+ table: string;
2668
+ } | {
2669
+ tableId: string;
2670
+ } | undefined) => Promise<{
2671
+ data: {
2672
+ id: string;
2673
+ name: string;
2674
+ created_at: string;
2675
+ edited_at: string;
2676
+ kind: "table" | "virtual_table";
2677
+ account_id: string;
2678
+ profile_id: string;
2679
+ description?: string | undefined;
2680
+ parent_table_id?: string | undefined;
2681
+ };
2682
+ }>;
2683
+ } & {
2684
+ context: {
2685
+ meta: {
2686
+ getTable: PluginMeta;
2687
+ };
2688
+ };
2689
+ } & {
2690
+ deleteTable: (options?: {
2691
+ table: string;
2692
+ } | {
2693
+ tableId: string;
2694
+ } | undefined) => Promise<{
2695
+ success: boolean;
2696
+ }>;
2697
+ } & {
2698
+ context: {
2699
+ meta: {
2700
+ deleteTable: PluginMeta;
2701
+ };
2702
+ };
2703
+ } & {
2704
+ createTable: (options?: {
2705
+ name: string;
2706
+ description?: string | undefined;
2707
+ } | undefined) => Promise<{
2708
+ data: {
2709
+ id: string;
2710
+ name: string;
2711
+ created_at: string;
2712
+ edited_at: string;
2713
+ kind: "table" | "virtual_table";
2714
+ account_id: string;
2715
+ profile_id: string;
2716
+ description?: string | undefined;
2717
+ parent_table_id?: string | undefined;
2718
+ };
2719
+ }>;
2720
+ } & {
2721
+ context: {
2722
+ meta: {
2723
+ createTable: PluginMeta;
2724
+ };
2725
+ };
2726
+ } & {
2727
+ listTableFields: (options?: {
2728
+ table: string;
2729
+ fields?: (string | number)[] | undefined;
2730
+ fieldKeys?: (string | number)[] | undefined;
2731
+ } | {
2732
+ tableId: string;
2733
+ fields?: (string | number)[] | undefined;
2734
+ fieldKeys?: (string | number)[] | undefined;
2735
+ } | undefined) => Promise<{
2736
+ data: {
2737
+ id: string;
2738
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
2739
+ name: string;
2740
+ created_at?: string | undefined;
2741
+ edited_at?: string | undefined;
2742
+ options?: Record<string, unknown> | undefined;
2743
+ config?: Record<string, unknown> | undefined;
2744
+ }[];
2745
+ }>;
2746
+ } & {
2747
+ context: {
2748
+ meta: {
2749
+ listTableFields: PluginMeta;
2750
+ };
2751
+ };
2752
+ } & {
2753
+ createTableFields: (options?: {
2754
+ table: string;
2755
+ fields: {
2756
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
2757
+ name: string;
2758
+ options?: Record<string, unknown> | undefined;
2759
+ config?: Record<string, unknown> | undefined;
2760
+ }[];
2761
+ } | {
2762
+ tableId: string;
2763
+ fields: {
2764
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
2765
+ name: string;
2766
+ options?: Record<string, unknown> | undefined;
2767
+ config?: Record<string, unknown> | undefined;
2768
+ }[];
2769
+ } | undefined) => Promise<{
2770
+ data: {
2771
+ id: string;
2772
+ type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
2773
+ name: string;
2774
+ created_at?: string | undefined;
2775
+ edited_at?: string | undefined;
2776
+ options?: Record<string, unknown> | undefined;
2777
+ config?: Record<string, unknown> | undefined;
2778
+ }[];
2779
+ }>;
2780
+ } & {
2781
+ context: {
2782
+ meta: {
2783
+ createTableFields: PluginMeta;
2784
+ };
2785
+ };
2786
+ } & {
2787
+ deleteTableFields: (options?: {
2788
+ table: string;
2789
+ fields: (string | number)[];
2790
+ } | {
2791
+ tableId: string;
2792
+ fieldKeys: (string | number)[];
2793
+ } | undefined) => Promise<{
2794
+ success: boolean;
2795
+ }>;
2796
+ } & {
2797
+ context: {
2798
+ meta: {
2799
+ deleteTableFields: PluginMeta;
2800
+ };
2801
+ };
2802
+ } & {
2803
+ getTableRecord: (options?: {
2804
+ table: string;
2805
+ record: string;
2806
+ keyMode: "names" | "ids";
2807
+ } | {
2808
+ tableId: string;
2809
+ recordId: string;
2810
+ keyMode: "names" | "ids";
2811
+ } | undefined) => Promise<{
2812
+ data: {
2813
+ data: Record<string, unknown>;
2814
+ id: string;
2815
+ created_at: string;
2816
+ edited_at: string;
2817
+ };
2818
+ }>;
2819
+ } & {
2820
+ context: {
2821
+ meta: {
2822
+ getTableRecord: PluginMeta;
2823
+ };
2824
+ };
2825
+ } & {
2826
+ listTableRecords: (options?: (({
2827
+ table: string;
2828
+ keyMode: "names" | "ids";
2829
+ filters?: {
2830
+ fieldKey: string;
2831
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
2832
+ value?: unknown;
2833
+ }[] | undefined;
2834
+ sort?: {
2835
+ fieldKey: string;
2836
+ direction: "asc" | "desc";
2837
+ } | undefined;
2838
+ pageSize?: number | undefined;
2839
+ maxItems?: number | undefined;
2840
+ cursor?: string | undefined;
2841
+ } | {
2842
+ tableId: string;
2843
+ keyMode: "names" | "ids";
2844
+ filters?: {
2845
+ fieldKey: string;
2846
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
2847
+ value?: unknown;
2848
+ }[] | undefined;
2849
+ sort?: {
2850
+ fieldKey: string;
2851
+ direction: "asc" | "desc";
2852
+ } | undefined;
2853
+ pageSize?: number | undefined;
2854
+ maxItems?: number | undefined;
2855
+ cursor?: string | undefined;
2856
+ }) & {
2857
+ cursor?: string;
2858
+ pageSize?: number;
2859
+ maxItems?: number;
2860
+ }) | undefined) => import(".").PaginatedSdkResult<{
2861
+ id: string;
2862
+ data: Record<string, unknown>;
2863
+ created_at: string;
2864
+ edited_at: string;
2865
+ }>;
2866
+ } & {
2867
+ context: {
2868
+ meta: {
2869
+ listTableRecords: PluginMeta;
2870
+ };
2871
+ };
2872
+ } & {
2873
+ createTableRecords: (options?: {
2874
+ table: string;
2875
+ records: {
2876
+ data: Record<string, unknown>;
2877
+ }[];
2878
+ keyMode: "names" | "ids";
2879
+ } | {
2880
+ tableId: string;
2881
+ records: {
2882
+ data: Record<string, unknown>;
2883
+ }[];
2884
+ keyMode: "names" | "ids";
2885
+ } | undefined) => Promise<{
2886
+ data: {
2887
+ data: Record<string, unknown>;
2888
+ id: string;
2889
+ created_at: string;
2890
+ edited_at: string;
2891
+ }[];
2892
+ }>;
2893
+ } & {
2894
+ context: {
2895
+ meta: {
2896
+ createTableRecords: PluginMeta;
2897
+ };
2898
+ };
2899
+ } & {
2900
+ deleteTableRecords: (options?: {
2901
+ table: string;
2902
+ records: string[];
2903
+ } | {
2904
+ tableId: string;
2905
+ recordIds: string[];
2906
+ } | undefined) => Promise<{
2907
+ success: boolean;
2908
+ }>;
2909
+ } & {
2910
+ context: {
2911
+ meta: {
2912
+ deleteTableRecords: PluginMeta;
2913
+ };
2914
+ };
2915
+ } & {
2916
+ updateTableRecords: (options?: {
2917
+ table: string;
2918
+ records: {
2919
+ id: string;
2920
+ data: Record<string, unknown>;
2921
+ }[];
2922
+ keyMode: "names" | "ids";
2923
+ } | {
2924
+ tableId: string;
2925
+ records: {
2926
+ id: string;
2927
+ data: Record<string, unknown>;
2928
+ }[];
2929
+ keyMode: "names" | "ids";
2930
+ } | undefined) => Promise<{
2931
+ data: {
2932
+ data: Record<string, unknown>;
2933
+ id: string;
2934
+ created_at: string;
2935
+ edited_at: string;
2936
+ }[];
2937
+ }>;
2938
+ } & {
2939
+ context: {
2940
+ meta: {
2941
+ updateTableRecords: PluginMeta;
2942
+ };
2943
+ };
2944
+ } & {
2945
+ apps: import("./plugins/apps/schemas").ActionProxy & import(".").ZapierSdkApps;
2946
+ context: {
2947
+ meta: {
2948
+ "apps.{appKey}": {
2949
+ categories: string[];
2950
+ packages: string[];
2951
+ type: "function";
2952
+ inputSchema: import("zod").ZodObject<{
2953
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2954
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2955
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2956
+ }, import("zod/v4/core").$strip>;
2957
+ returnType: string;
2958
+ };
2959
+ "apps.{appKey}.{actionType}.{actionKey}": {
2960
+ categories: string[];
2961
+ packages: string[];
2962
+ type: "list";
2963
+ inputSchema: import("zod").ZodObject<{
2964
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2965
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2966
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2967
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2968
+ timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
2969
+ }, import("zod/v4/core").$strip>;
2970
+ itemType: string;
2971
+ outputSchema: import("zod").ZodUnknown;
2972
+ };
2973
+ };
2974
+ };
2975
+ } & {
2976
+ getProfile: (options?: Record<string, never> | undefined) => Promise<{
2977
+ data: {
2978
+ id: string;
2979
+ first_name: string;
2980
+ last_name: string;
2981
+ full_name: string;
2982
+ email: string;
2983
+ email_confirmed: boolean;
2984
+ timezone: string;
2985
+ };
2986
+ }>;
2987
+ } & {
2988
+ context: {
2989
+ meta: {
2990
+ getProfile: PluginMeta;
2991
+ };
2992
+ };
2993
+ }>;
54
2994
  export type ZapierSdk = ReturnType<typeof createZapierSdk>;
55
2995
  //# sourceMappingURL=sdk.d.ts.map