@zapier/zapier-sdk 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1519 -314
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/client.js +10 -1
  5. package/dist/api/polling.d.ts +7 -0
  6. package/dist/api/polling.d.ts.map +1 -1
  7. package/dist/api/polling.js +29 -4
  8. package/dist/api/types.d.ts +7 -0
  9. package/dist/api/types.d.ts.map +1 -1
  10. package/dist/experimental.cjs +10389 -0
  11. package/dist/experimental.d.mts +2292 -0
  12. package/dist/experimental.d.ts +2308 -0
  13. package/dist/experimental.d.ts.map +1 -0
  14. package/dist/experimental.js +155 -0
  15. package/dist/experimental.mjs +10207 -0
  16. package/dist/index-C2vsvjgN.d.mts +9539 -0
  17. package/dist/index-C2vsvjgN.d.ts +9539 -0
  18. package/dist/index.cjs +817 -603
  19. package/dist/index.d.mts +6 -8562
  20. package/dist/index.d.ts +7 -1
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +5 -1
  23. package/dist/index.mjs +805 -603
  24. package/dist/plugins/apps/index.d.ts +1 -1
  25. package/dist/plugins/deprecated/inputFields.d.ts +468 -0
  26. package/dist/plugins/deprecated/inputFields.d.ts.map +1 -0
  27. package/dist/plugins/deprecated/inputFields.js +73 -0
  28. package/dist/plugins/fetch/index.d.ts +1 -1
  29. package/dist/plugins/fetch/schemas.d.ts +1 -1
  30. package/dist/plugins/{getInputFieldsSchema → getActionInputFieldsSchema}/index.d.ts +4 -4
  31. package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +1 -0
  32. package/dist/plugins/{getInputFieldsSchema → getActionInputFieldsSchema}/index.js +4 -4
  33. package/dist/plugins/{getInputFieldsSchema → getActionInputFieldsSchema}/schemas.d.ts +8 -8
  34. package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts.map +1 -0
  35. package/dist/plugins/{getInputFieldsSchema → getActionInputFieldsSchema}/schemas.js +13 -10
  36. package/dist/plugins/{listInputFieldChoices → listActionInputFieldChoices}/index.d.ts +4 -4
  37. package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +1 -0
  38. package/dist/plugins/{listInputFieldChoices → listActionInputFieldChoices}/index.js +4 -4
  39. package/dist/plugins/{listInputFieldChoices → listActionInputFieldChoices}/schemas.d.ts +10 -10
  40. package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +1 -0
  41. package/dist/plugins/{listInputFieldChoices → listActionInputFieldChoices}/schemas.js +13 -10
  42. package/dist/plugins/{listInputFields → listActionInputFields}/index.d.ts +4 -4
  43. package/dist/plugins/listActionInputFields/index.d.ts.map +1 -0
  44. package/dist/plugins/{listInputFields → listActionInputFields}/index.js +5 -5
  45. package/dist/plugins/{listInputFields → listActionInputFields}/schemas.d.ts +9 -9
  46. package/dist/plugins/listActionInputFields/schemas.d.ts.map +1 -0
  47. package/dist/plugins/{listInputFields → listActionInputFields}/schemas.js +7 -7
  48. package/dist/plugins/request/index.d.ts +2 -2
  49. package/dist/plugins/request/schemas.d.ts +2 -2
  50. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
  51. package/dist/plugins/tables/createTableFields/index.js +1 -0
  52. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
  53. package/dist/plugins/tables/createTableRecords/index.js +1 -0
  54. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
  55. package/dist/plugins/tables/updateTableRecords/index.js +1 -0
  56. package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +51 -0
  57. package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +1 -0
  58. package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +35 -0
  59. package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +34 -0
  60. package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts.map +1 -0
  61. package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.js +17 -0
  62. package/dist/plugins/triggers/createTriggerInbox/index.d.ts +62 -0
  63. package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +1 -0
  64. package/dist/plugins/triggers/createTriggerInbox/index.js +54 -0
  65. package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +20 -0
  66. package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +1 -0
  67. package/dist/plugins/triggers/createTriggerInbox/schemas.js +20 -0
  68. package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +50 -0
  69. package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +1 -0
  70. package/dist/plugins/triggers/deleteTriggerInbox/index.js +27 -0
  71. package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +14 -0
  72. package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +1 -0
  73. package/dist/plugins/triggers/deleteTriggerInbox/schemas.js +9 -0
  74. package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +213 -0
  75. package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +1 -0
  76. package/dist/plugins/triggers/drainTriggerInbox/index.js +227 -0
  77. package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts +56 -0
  78. package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts.map +1 -0
  79. package/dist/plugins/triggers/drainTriggerInbox/pipeline.js +225 -0
  80. package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +104 -0
  81. package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts.map +1 -0
  82. package/dist/plugins/triggers/drainTriggerInbox/schemas.js +102 -0
  83. package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +63 -0
  84. package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +1 -0
  85. package/dist/plugins/triggers/ensureTriggerInbox/index.js +77 -0
  86. package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +21 -0
  87. package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +1 -0
  88. package/dist/plugins/triggers/ensureTriggerInbox/schemas.js +21 -0
  89. package/dist/plugins/triggers/getTriggerInbox/index.d.ts +50 -0
  90. package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +1 -0
  91. package/dist/plugins/triggers/getTriggerInbox/index.js +26 -0
  92. package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +14 -0
  93. package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +1 -0
  94. package/dist/plugins/triggers/getTriggerInbox/schemas.js +9 -0
  95. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +48 -0
  96. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +1 -0
  97. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +23 -0
  98. package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +13 -0
  99. package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts.map +1 -0
  100. package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.js +10 -0
  101. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +58 -0
  102. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +1 -0
  103. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +70 -0
  104. package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +57 -0
  105. package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts.map +1 -0
  106. package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.js +25 -0
  107. package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +51 -0
  108. package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +1 -0
  109. package/dist/plugins/triggers/listTriggerInboxMessages/index.js +48 -0
  110. package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +37 -0
  111. package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts.map +1 -0
  112. package/dist/plugins/triggers/listTriggerInboxMessages/schemas.js +27 -0
  113. package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +56 -0
  114. package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +1 -0
  115. package/dist/plugins/triggers/listTriggerInboxes/index.js +51 -0
  116. package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts +58 -0
  117. package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts.map +1 -0
  118. package/dist/plugins/triggers/listTriggerInboxes/schemas.js +35 -0
  119. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +77 -0
  120. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +1 -0
  121. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +30 -0
  122. package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +20 -0
  123. package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts.map +1 -0
  124. package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.js +28 -0
  125. package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +101 -0
  126. package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +1 -0
  127. package/dist/plugins/triggers/listTriggerInputFields/index.js +33 -0
  128. package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +16 -0
  129. package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts.map +1 -0
  130. package/dist/plugins/triggers/listTriggerInputFields/schemas.js +21 -0
  131. package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +50 -0
  132. package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +1 -0
  133. package/dist/plugins/triggers/pauseTriggerInbox/index.js +26 -0
  134. package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +14 -0
  135. package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +1 -0
  136. package/dist/plugins/triggers/pauseTriggerInbox/schemas.js +9 -0
  137. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +51 -0
  138. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +1 -0
  139. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +37 -0
  140. package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +34 -0
  141. package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts.map +1 -0
  142. package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.js +17 -0
  143. package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +50 -0
  144. package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +1 -0
  145. package/dist/plugins/triggers/resumeTriggerInbox/index.js +26 -0
  146. package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +14 -0
  147. package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +1 -0
  148. package/dist/plugins/triggers/resumeTriggerInbox/schemas.js +9 -0
  149. package/dist/plugins/triggers/shared.d.ts +17 -0
  150. package/dist/plugins/triggers/shared.d.ts.map +1 -0
  151. package/dist/plugins/triggers/shared.js +16 -0
  152. package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +51 -0
  153. package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +1 -0
  154. package/dist/plugins/triggers/updateTriggerInbox/index.js +30 -0
  155. package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +15 -0
  156. package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +1 -0
  157. package/dist/plugins/triggers/updateTriggerInbox/schemas.js +15 -0
  158. package/dist/plugins/triggers/utils.d.ts +17 -0
  159. package/dist/plugins/triggers/utils.d.ts.map +1 -0
  160. package/dist/plugins/triggers/utils.js +28 -0
  161. package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +163 -0
  162. package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +1 -0
  163. package/dist/plugins/triggers/watchTriggerInbox/index.js +111 -0
  164. package/dist/registry.d.ts.map +1 -1
  165. package/dist/registry.js +2 -0
  166. package/dist/resolvers/actionKey.d.ts +1 -0
  167. package/dist/resolvers/actionKey.d.ts.map +1 -1
  168. package/dist/resolvers/actionKey.js +1 -1
  169. package/dist/resolvers/index.d.ts +2 -2
  170. package/dist/resolvers/index.d.ts.map +1 -1
  171. package/dist/resolvers/index.js +2 -2
  172. package/dist/resolvers/triggerInbox.d.ts +4 -0
  173. package/dist/resolvers/triggerInbox.d.ts.map +1 -0
  174. package/dist/resolvers/triggerInbox.js +18 -0
  175. package/dist/schemas/TriggerInbox.d.ts +59 -0
  176. package/dist/schemas/TriggerInbox.d.ts.map +1 -0
  177. package/dist/schemas/TriggerInbox.js +81 -0
  178. package/dist/schemas/TriggerMessage.d.ts +48 -0
  179. package/dist/schemas/TriggerMessage.d.ts.map +1 -0
  180. package/dist/schemas/TriggerMessage.js +79 -0
  181. package/dist/sdk.d.ts +621 -17
  182. package/dist/sdk.d.ts.map +1 -1
  183. package/dist/sdk.js +26 -9
  184. package/dist/types/errors.d.ts +13 -0
  185. package/dist/types/errors.d.ts.map +1 -1
  186. package/dist/types/errors.js +16 -0
  187. package/dist/types/plugin.d.ts +12 -1
  188. package/dist/types/plugin.d.ts.map +1 -1
  189. package/dist/types/properties.d.ts +12 -0
  190. package/dist/types/properties.d.ts.map +1 -1
  191. package/dist/types/properties.js +25 -0
  192. package/dist/types/registry.d.ts +5 -0
  193. package/dist/types/registry.d.ts.map +1 -1
  194. package/dist/types/sdk.d.ts +2 -2
  195. package/dist/types/sdk.d.ts.map +1 -1
  196. package/dist/types/signals.d.ts +20 -0
  197. package/dist/types/signals.d.ts.map +1 -0
  198. package/dist/types/signals.js +21 -0
  199. package/dist/utils/abort-utils.d.ts +13 -0
  200. package/dist/utils/abort-utils.d.ts.map +1 -1
  201. package/dist/utils/abort-utils.js +15 -0
  202. package/dist/utils/retry-utils.d.ts +6 -2
  203. package/dist/utils/retry-utils.d.ts.map +1 -1
  204. package/dist/utils/retry-utils.js +22 -3
  205. package/dist/utils/schema-utils.d.ts +19 -1
  206. package/dist/utils/schema-utils.d.ts.map +1 -1
  207. package/package.json +12 -1
  208. package/dist/plugins/getInputFieldsSchema/index.d.ts.map +0 -1
  209. package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +0 -1
  210. package/dist/plugins/listInputFieldChoices/index.d.ts.map +0 -1
  211. package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +0 -1
  212. package/dist/plugins/listInputFields/index.d.ts.map +0 -1
  213. package/dist/plugins/listInputFields/schemas.d.ts.map +0 -1
@@ -0,0 +1,2308 @@
1
+ /**
2
+ * Experimental SDK subpath.
3
+ *
4
+ * Importing from `@zapier/zapier-sdk/experimental` returns an SDK that
5
+ * includes plugins marked with `meta.experimental: true`. The stable
6
+ * subpath (`@zapier/zapier-sdk`) excludes experimental plugins entirely
7
+ * from the typed surface, so editors only autocomplete experimental
8
+ * methods when callers explicitly opt in by import path.
9
+ *
10
+ * The plugin chain in this file is intentionally a full literal copy of
11
+ * the stable factory's chain, with experimental plugins inserted at the
12
+ * right positions (so dependency-ordering invariants hold). Both
13
+ * factories are kept in sync by `experimental-shape.test.ts` — set
14
+ * membership + key-order parity over the shared subset.
15
+ *
16
+ * Public re-exports: this file re-exports `*` from the stable index so
17
+ * callers using `import { ... } from "@zapier/zapier-sdk/experimental"`
18
+ * get the full API (types, helpers, errors, etc.) without juggling two
19
+ * import paths. Only the `createZapierSdk` factory and the `ZapierSdk`
20
+ * type are *replaced* by this subpath.
21
+ */
22
+ import type { BaseSdkOptions } from "./types/sdk";
23
+ import type { PluginMeta } from "./types/plugin";
24
+ export * from "./index";
25
+ export interface ZapierSdkOptions extends BaseSdkOptions {
26
+ }
27
+ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./index").WithAddPlugin<{
28
+ context: {
29
+ meta: Record<string, PluginMeta>;
30
+ };
31
+ } & {
32
+ context: {
33
+ options: import("./sdk").ZapierSdkOptions;
34
+ };
35
+ } & {
36
+ context: import("./index").EventEmissionContext;
37
+ } & {
38
+ context: {
39
+ api: import("./api").ApiClient;
40
+ resolveCredentials: () => Promise<string | {
41
+ clientId: string;
42
+ clientSecret: string;
43
+ type?: "client_credentials" | undefined;
44
+ baseUrl?: string | undefined;
45
+ scope?: string | undefined;
46
+ } | {
47
+ clientId: string;
48
+ type?: "pkce" | undefined;
49
+ baseUrl?: string | undefined;
50
+ scope?: string | undefined;
51
+ } | undefined>;
52
+ };
53
+ } & {
54
+ context: {
55
+ getResolvedManifest: () => Promise<import("./index").Manifest | null>;
56
+ getVersionedImplementationId: (appKey: string) => Promise<string | null>;
57
+ resolveAppKeys: ({ appKeys }: {
58
+ appKeys: string[];
59
+ }) => Promise<import("./index").ResolvedAppLocator[]>;
60
+ updateManifestEntry: (options: import("./index").UpdateManifestEntryOptions) => Promise<import("./index").UpdateManifestEntryResult>;
61
+ addActionEntry: (options: import("./index").AddActionEntryOptions) => Promise<import("./index").AddActionEntryResult>;
62
+ findActionEntry: ({ name, manifest, }: {
63
+ name: string;
64
+ manifest: import("./index").Manifest;
65
+ }) => import("./index").ActionEntry | null;
66
+ listActionEntries: ({ configPath, }?: {
67
+ configPath?: string;
68
+ }) => Promise<Array<[string, import("./index").ActionEntry]>>;
69
+ deleteActionEntry: ({ name, configPath, skipWrite, }: {
70
+ name: string;
71
+ configPath?: string;
72
+ skipWrite?: boolean;
73
+ }) => Promise<import("./index").Manifest>;
74
+ hasActionEntry: ({ name, manifest, }: {
75
+ name: string;
76
+ manifest: import("./index").Manifest;
77
+ }) => boolean;
78
+ findManifestEntry: typeof import("./index").findManifestEntry;
79
+ readManifestFromFile: typeof import("./index").readManifestFromFile;
80
+ getManifestConnections: () => Promise<Record<string, {
81
+ connectionId: string | number;
82
+ }> | null>;
83
+ };
84
+ } & {
85
+ context: import("./plugins/capabilities").CapabilitiesContext;
86
+ } & {
87
+ context: {
88
+ resolveConnection: (name: string) => Promise<{
89
+ connectionId: string | number;
90
+ } | undefined>;
91
+ getConnectionsMap: () => Promise<Record<string, {
92
+ connectionId: string | number;
93
+ }> | null>;
94
+ };
95
+ } & {
96
+ listApps: (options?: ({
97
+ search?: string | undefined;
98
+ apps?: string[] | undefined;
99
+ appKeys?: string[] | undefined;
100
+ pageSize?: number | undefined;
101
+ maxItems?: number | undefined;
102
+ cursor?: string | undefined;
103
+ } & {
104
+ cursor?: string;
105
+ pageSize?: number;
106
+ maxItems?: number;
107
+ }) | undefined) => import("./index").PaginatedSdkResult<{
108
+ slug: string;
109
+ title: string;
110
+ key: string;
111
+ implementation_id: string;
112
+ description?: string | undefined;
113
+ is_hidden?: boolean | undefined;
114
+ auth_type?: string | undefined;
115
+ actions?: {
116
+ read?: number | undefined;
117
+ read_bulk?: number | undefined;
118
+ write?: number | undefined;
119
+ search?: number | undefined;
120
+ search_or_write?: number | undefined;
121
+ search_and_write?: number | undefined;
122
+ filter?: number | undefined;
123
+ } | undefined;
124
+ is_deprecated?: boolean | undefined;
125
+ is_beta?: boolean | undefined;
126
+ is_premium?: boolean | undefined;
127
+ age_in_days?: number | undefined;
128
+ banner?: string | undefined;
129
+ categories?: {
130
+ id: number;
131
+ name: string;
132
+ slug: string;
133
+ }[] | undefined;
134
+ images?: {
135
+ url_16x16?: string | undefined;
136
+ url_32x32?: string | undefined;
137
+ url_64x64?: string | undefined;
138
+ url_128x128?: string | undefined;
139
+ } | undefined;
140
+ popularity?: number | undefined;
141
+ has_filters?: boolean | undefined;
142
+ has_reads?: boolean | undefined;
143
+ has_searches?: boolean | undefined;
144
+ has_searches_or_writes?: boolean | undefined;
145
+ has_upfront_fields?: boolean | undefined;
146
+ has_writes?: boolean | undefined;
147
+ is_built_in?: boolean | undefined;
148
+ is_featured?: boolean | undefined;
149
+ is_invite?: boolean | undefined;
150
+ is_public?: boolean | undefined;
151
+ is_upcoming?: boolean | undefined;
152
+ visibility?: string | undefined;
153
+ primary_color?: string | undefined;
154
+ secondary_color?: string | undefined;
155
+ classification?: string | undefined;
156
+ api_docs_url?: string | undefined;
157
+ image?: string | undefined;
158
+ version?: string | undefined;
159
+ }>;
160
+ } & {
161
+ context: {
162
+ meta: {
163
+ listApps: PluginMeta;
164
+ };
165
+ };
166
+ } & {
167
+ getApp: (options?: {
168
+ app: string;
169
+ } | {
170
+ appKey: string;
171
+ } | undefined) => Promise<{
172
+ data: {
173
+ slug: string;
174
+ title: string;
175
+ key: string;
176
+ implementation_id: string;
177
+ description?: string | undefined;
178
+ is_hidden?: boolean | undefined;
179
+ auth_type?: string | undefined;
180
+ actions?: {
181
+ read?: number | undefined;
182
+ read_bulk?: number | undefined;
183
+ write?: number | undefined;
184
+ search?: number | undefined;
185
+ search_or_write?: number | undefined;
186
+ search_and_write?: number | undefined;
187
+ filter?: number | undefined;
188
+ } | undefined;
189
+ is_deprecated?: boolean | undefined;
190
+ is_beta?: boolean | undefined;
191
+ is_premium?: boolean | undefined;
192
+ age_in_days?: number | undefined;
193
+ banner?: string | undefined;
194
+ categories?: {
195
+ id: number;
196
+ name: string;
197
+ slug: string;
198
+ }[] | undefined;
199
+ images?: {
200
+ url_16x16?: string | undefined;
201
+ url_32x32?: string | undefined;
202
+ url_64x64?: string | undefined;
203
+ url_128x128?: string | undefined;
204
+ } | undefined;
205
+ popularity?: number | undefined;
206
+ has_filters?: boolean | undefined;
207
+ has_reads?: boolean | undefined;
208
+ has_searches?: boolean | undefined;
209
+ has_searches_or_writes?: boolean | undefined;
210
+ has_upfront_fields?: boolean | undefined;
211
+ has_writes?: boolean | undefined;
212
+ is_built_in?: boolean | undefined;
213
+ is_featured?: boolean | undefined;
214
+ is_invite?: boolean | undefined;
215
+ is_public?: boolean | undefined;
216
+ is_upcoming?: boolean | undefined;
217
+ visibility?: string | undefined;
218
+ primary_color?: string | undefined;
219
+ secondary_color?: string | undefined;
220
+ classification?: string | undefined;
221
+ api_docs_url?: string | undefined;
222
+ image?: string | undefined;
223
+ version?: string | undefined;
224
+ };
225
+ }>;
226
+ } & {
227
+ context: {
228
+ meta: {
229
+ getApp: PluginMeta;
230
+ };
231
+ };
232
+ } & {
233
+ listActions: (options?: (({
234
+ app: string;
235
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
236
+ pageSize?: number | undefined;
237
+ maxItems?: number | undefined;
238
+ cursor?: string | undefined;
239
+ } | {
240
+ appKey: string;
241
+ actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write" | undefined;
242
+ pageSize?: number | undefined;
243
+ maxItems?: number | undefined;
244
+ cursor?: string | undefined;
245
+ }) & {
246
+ cursor?: string;
247
+ pageSize?: number;
248
+ maxItems?: number;
249
+ }) | undefined) => import("./index").PaginatedSdkResult<{
250
+ description: string;
251
+ key: string;
252
+ app_key: string;
253
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
254
+ title: string;
255
+ type: "action";
256
+ id?: string | undefined;
257
+ is_important?: boolean | undefined;
258
+ is_hidden?: boolean | undefined;
259
+ app_version?: string | undefined;
260
+ }>;
261
+ } & {
262
+ context: {
263
+ meta: {
264
+ listActions: PluginMeta;
265
+ };
266
+ };
267
+ } & {
268
+ getAction: (options?: {
269
+ app: string;
270
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
271
+ action: string;
272
+ } | {
273
+ appKey: string;
274
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
275
+ actionKey: string;
276
+ } | undefined) => Promise<{
277
+ data: {
278
+ description: string;
279
+ key: string;
280
+ app_key: string;
281
+ action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
282
+ title: string;
283
+ type: "action";
284
+ id?: string | undefined;
285
+ is_important?: boolean | undefined;
286
+ is_hidden?: boolean | undefined;
287
+ app_version?: string | undefined;
288
+ };
289
+ }>;
290
+ } & {
291
+ context: {
292
+ meta: {
293
+ getAction: PluginMeta;
294
+ };
295
+ };
296
+ } & {
297
+ listActionInputFields: (options?: (({
298
+ app: string;
299
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
300
+ action: string;
301
+ connection?: string | number | undefined;
302
+ connectionId?: string | number | null | undefined;
303
+ authenticationId?: string | number | null | undefined;
304
+ inputs?: Record<string, unknown> | undefined;
305
+ pageSize?: number | undefined;
306
+ maxItems?: number | undefined;
307
+ cursor?: string | undefined;
308
+ } | {
309
+ appKey: string;
310
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
311
+ actionKey: string;
312
+ connection?: string | number | undefined;
313
+ connectionId?: string | number | null | undefined;
314
+ authenticationId?: string | number | null | undefined;
315
+ inputs?: Record<string, unknown> | undefined;
316
+ pageSize?: number | undefined;
317
+ maxItems?: number | undefined;
318
+ cursor?: string | undefined;
319
+ }) & {
320
+ cursor?: string;
321
+ pageSize?: number;
322
+ maxItems?: number;
323
+ }) | undefined) => import("./index").PaginatedSdkResult<{
324
+ key: string;
325
+ type: "input_field";
326
+ default_value: string;
327
+ depends_on: string[];
328
+ description: string;
329
+ invalidates_input_fields: boolean;
330
+ is_required: boolean;
331
+ placeholder: string;
332
+ title: string;
333
+ value_type: string;
334
+ format?: string | undefined;
335
+ items?: {
336
+ type: string;
337
+ } | undefined;
338
+ } | {
339
+ key: string;
340
+ type: "info_field";
341
+ description: string;
342
+ title?: string | undefined;
343
+ } | import("./index").FieldsetItem>;
344
+ } & {
345
+ context: {
346
+ meta: {
347
+ listActionInputFields: PluginMeta;
348
+ };
349
+ };
350
+ } & {
351
+ getActionInputFieldsSchema: (options?: {
352
+ app: string;
353
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
354
+ action: string;
355
+ connection?: string | number | undefined;
356
+ connectionId?: string | number | null | undefined;
357
+ authenticationId?: string | number | null | undefined;
358
+ inputs?: Record<string, unknown> | undefined;
359
+ } | {
360
+ appKey: string;
361
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
362
+ actionKey: string;
363
+ connection?: string | number | undefined;
364
+ connectionId?: string | number | null | undefined;
365
+ authenticationId?: string | number | null | undefined;
366
+ inputs?: Record<string, unknown> | undefined;
367
+ } | undefined) => Promise<{
368
+ data: Record<string, unknown>;
369
+ }>;
370
+ } & {
371
+ context: {
372
+ meta: {
373
+ getActionInputFieldsSchema: PluginMeta;
374
+ };
375
+ };
376
+ } & {
377
+ listActionInputFieldChoices: (options?: (({
378
+ app: string;
379
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
380
+ action: string;
381
+ inputField: string;
382
+ connection?: string | number | undefined;
383
+ connectionId?: string | number | null | undefined;
384
+ authenticationId?: string | number | null | undefined;
385
+ inputs?: Record<string, unknown> | undefined;
386
+ page?: number | undefined;
387
+ pageSize?: number | undefined;
388
+ maxItems?: number | undefined;
389
+ cursor?: string | undefined;
390
+ } | {
391
+ appKey: string;
392
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
393
+ actionKey: string;
394
+ inputFieldKey: string;
395
+ connection?: string | number | undefined;
396
+ connectionId?: string | number | null | undefined;
397
+ authenticationId?: string | number | null | undefined;
398
+ inputs?: Record<string, unknown> | undefined;
399
+ page?: number | undefined;
400
+ pageSize?: number | undefined;
401
+ maxItems?: number | undefined;
402
+ cursor?: string | undefined;
403
+ }) & {
404
+ cursor?: string;
405
+ pageSize?: number;
406
+ maxItems?: number;
407
+ }) | undefined) => import("./index").PaginatedSdkResult<{
408
+ key?: string | undefined;
409
+ label?: string | undefined;
410
+ sample?: string | undefined;
411
+ value?: string | undefined;
412
+ }>;
413
+ } & {
414
+ context: {
415
+ meta: {
416
+ listActionInputFieldChoices: PluginMeta;
417
+ };
418
+ };
419
+ } & {
420
+ listInputFields: (options?: (({
421
+ app: string;
422
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
423
+ action: string;
424
+ connection?: string | number | undefined;
425
+ connectionId?: string | number | null | undefined;
426
+ authenticationId?: string | number | null | undefined;
427
+ inputs?: Record<string, unknown> | undefined;
428
+ pageSize?: number | undefined;
429
+ maxItems?: number | undefined;
430
+ cursor?: string | undefined;
431
+ } | {
432
+ appKey: string;
433
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
434
+ actionKey: string;
435
+ connection?: string | number | undefined;
436
+ connectionId?: string | number | null | undefined;
437
+ authenticationId?: string | number | null | undefined;
438
+ inputs?: Record<string, unknown> | undefined;
439
+ pageSize?: number | undefined;
440
+ maxItems?: number | undefined;
441
+ cursor?: string | undefined;
442
+ }) & {
443
+ cursor?: string;
444
+ pageSize?: number;
445
+ maxItems?: number;
446
+ }) | undefined) => import("./index").PaginatedSdkResult<{
447
+ key: string;
448
+ type: "input_field";
449
+ default_value: string;
450
+ depends_on: string[];
451
+ description: string;
452
+ invalidates_input_fields: boolean;
453
+ is_required: boolean;
454
+ placeholder: string;
455
+ title: string;
456
+ value_type: string;
457
+ format?: string | undefined;
458
+ items?: {
459
+ type: string;
460
+ } | undefined;
461
+ } | {
462
+ key: string;
463
+ type: "info_field";
464
+ description: string;
465
+ title?: string | undefined;
466
+ } | import("./index").FieldsetItem>;
467
+ context: {
468
+ meta: {
469
+ listInputFields: {
470
+ categories: string[];
471
+ type: "list";
472
+ itemType: string;
473
+ inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
474
+ app: import("zod").ZodString & {
475
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
476
+ };
477
+ actionType: import("zod").ZodEnum<{
478
+ filter: "filter";
479
+ read: "read";
480
+ read_bulk: "read_bulk";
481
+ run: "run";
482
+ search: "search";
483
+ search_and_write: "search_and_write";
484
+ search_or_write: "search_or_write";
485
+ write: "write";
486
+ }>;
487
+ action: import("zod").ZodString & {
488
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
489
+ };
490
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
491
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
492
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
493
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
494
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
495
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
496
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
497
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
498
+ appKey: import("zod").ZodString & {
499
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
500
+ };
501
+ actionType: import("zod").ZodEnum<{
502
+ filter: "filter";
503
+ read: "read";
504
+ read_bulk: "read_bulk";
505
+ run: "run";
506
+ search: "search";
507
+ search_and_write: "search_and_write";
508
+ search_or_write: "search_or_write";
509
+ write: "write";
510
+ }>;
511
+ actionKey: import("zod").ZodString;
512
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
513
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
514
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
515
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
516
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
517
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
518
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
519
+ }, import("zod/v4/core").$strip>]>;
520
+ outputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
521
+ key: import("zod").ZodString;
522
+ type: import("zod").ZodLiteral<"input_field">;
523
+ default_value: import("zod").ZodString;
524
+ depends_on: import("zod").ZodArray<import("zod").ZodString>;
525
+ description: import("zod").ZodString;
526
+ invalidates_input_fields: import("zod").ZodBoolean;
527
+ is_required: import("zod").ZodBoolean;
528
+ placeholder: import("zod").ZodString;
529
+ title: import("zod").ZodString;
530
+ value_type: import("zod").ZodString;
531
+ format: import("zod").ZodOptional<import("zod").ZodString>;
532
+ items: import("zod").ZodOptional<import("zod").ZodObject<{
533
+ type: import("zod").ZodString;
534
+ }, import("zod/v4/core").$strip>>;
535
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
536
+ key: import("zod").ZodString;
537
+ type: import("zod").ZodLiteral<"info_field">;
538
+ description: import("zod").ZodString;
539
+ title: import("zod").ZodOptional<import("zod").ZodString>;
540
+ }, import("zod/v4/core").$strip>, import("zod").ZodType<import("./index").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import("./index").FieldsetItem, unknown>>]>;
541
+ defaultPageSize: number;
542
+ };
543
+ };
544
+ };
545
+ } & {
546
+ getInputFieldsSchema: (options?: {
547
+ app: string;
548
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
549
+ action: string;
550
+ connection?: string | number | undefined;
551
+ connectionId?: string | number | null | undefined;
552
+ authenticationId?: string | number | null | undefined;
553
+ inputs?: Record<string, unknown> | undefined;
554
+ } | {
555
+ appKey: string;
556
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
557
+ actionKey: string;
558
+ connection?: string | number | undefined;
559
+ connectionId?: string | number | null | undefined;
560
+ authenticationId?: string | number | null | undefined;
561
+ inputs?: Record<string, unknown> | undefined;
562
+ } | undefined) => Promise<{
563
+ data: Record<string, unknown>;
564
+ }>;
565
+ context: {
566
+ meta: {
567
+ getInputFieldsSchema: {
568
+ categories: string[];
569
+ type: "function";
570
+ inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
571
+ app: import("zod").ZodString & {
572
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
573
+ };
574
+ actionType: import("zod").ZodEnum<{
575
+ filter: "filter";
576
+ read: "read";
577
+ read_bulk: "read_bulk";
578
+ run: "run";
579
+ search: "search";
580
+ search_and_write: "search_and_write";
581
+ search_or_write: "search_or_write";
582
+ write: "write";
583
+ }>;
584
+ action: import("zod").ZodString & {
585
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
586
+ };
587
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
588
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
589
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
590
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
591
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
592
+ appKey: import("zod").ZodString & {
593
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
594
+ };
595
+ actionType: import("zod").ZodEnum<{
596
+ filter: "filter";
597
+ read: "read";
598
+ read_bulk: "read_bulk";
599
+ run: "run";
600
+ search: "search";
601
+ search_and_write: "search_and_write";
602
+ search_or_write: "search_or_write";
603
+ write: "write";
604
+ }>;
605
+ actionKey: import("zod").ZodString;
606
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
607
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
608
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
609
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
610
+ }, import("zod/v4/core").$strip>]>;
611
+ };
612
+ };
613
+ };
614
+ } & {
615
+ listInputFieldChoices: (options?: (({
616
+ app: string;
617
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
618
+ action: string;
619
+ inputField: string;
620
+ connection?: string | number | undefined;
621
+ connectionId?: string | number | null | undefined;
622
+ authenticationId?: string | number | null | undefined;
623
+ inputs?: Record<string, unknown> | undefined;
624
+ page?: number | undefined;
625
+ pageSize?: number | undefined;
626
+ maxItems?: number | undefined;
627
+ cursor?: string | undefined;
628
+ } | {
629
+ appKey: string;
630
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
631
+ actionKey: string;
632
+ inputFieldKey: string;
633
+ connection?: string | number | undefined;
634
+ connectionId?: string | number | null | undefined;
635
+ authenticationId?: string | number | null | undefined;
636
+ inputs?: Record<string, unknown> | undefined;
637
+ page?: number | undefined;
638
+ pageSize?: number | undefined;
639
+ maxItems?: number | undefined;
640
+ cursor?: string | undefined;
641
+ }) & {
642
+ cursor?: string;
643
+ pageSize?: number;
644
+ maxItems?: number;
645
+ }) | undefined) => import("./index").PaginatedSdkResult<{
646
+ key?: string | undefined;
647
+ label?: string | undefined;
648
+ sample?: string | undefined;
649
+ value?: string | undefined;
650
+ }>;
651
+ context: {
652
+ meta: {
653
+ listInputFieldChoices: {
654
+ categories: string[];
655
+ type: "list";
656
+ itemType: string;
657
+ inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
658
+ app: import("zod").ZodString & {
659
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
660
+ };
661
+ actionType: import("zod").ZodEnum<{
662
+ filter: "filter";
663
+ read: "read";
664
+ read_bulk: "read_bulk";
665
+ run: "run";
666
+ search: "search";
667
+ search_and_write: "search_and_write";
668
+ search_or_write: "search_or_write";
669
+ write: "write";
670
+ }>;
671
+ action: import("zod").ZodString & {
672
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
673
+ };
674
+ inputField: import("zod").ZodString & {
675
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
676
+ };
677
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
678
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
679
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
680
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
681
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
682
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
683
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
684
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
685
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
686
+ appKey: import("zod").ZodString & {
687
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
688
+ };
689
+ actionType: import("zod").ZodEnum<{
690
+ filter: "filter";
691
+ read: "read";
692
+ read_bulk: "read_bulk";
693
+ run: "run";
694
+ search: "search";
695
+ search_and_write: "search_and_write";
696
+ search_or_write: "search_or_write";
697
+ write: "write";
698
+ }>;
699
+ actionKey: import("zod").ZodString;
700
+ inputFieldKey: import("zod").ZodString;
701
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
702
+ connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
703
+ authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
704
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
705
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
706
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
707
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
708
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
709
+ }, import("zod/v4/core").$strip>]>;
710
+ outputSchema: import("zod").ZodObject<{
711
+ key: import("zod").ZodOptional<import("zod").ZodString>;
712
+ label: import("zod").ZodOptional<import("zod").ZodString>;
713
+ sample: import("zod").ZodOptional<import("zod").ZodString>;
714
+ value: import("zod").ZodOptional<import("zod").ZodString>;
715
+ }, import("zod/v4/core").$strip>;
716
+ defaultPageSize: number;
717
+ };
718
+ };
719
+ };
720
+ } & {
721
+ runAction: (options?: (({
722
+ app: string;
723
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
724
+ action: string;
725
+ connection?: string | number | undefined;
726
+ connectionId?: string | number | null | undefined;
727
+ authenticationId?: string | number | null | undefined;
728
+ inputs?: Record<string, unknown> | undefined;
729
+ timeoutMs?: number | undefined;
730
+ pageSize?: number | undefined;
731
+ maxItems?: number | undefined;
732
+ cursor?: string | undefined;
733
+ } | {
734
+ appKey: string;
735
+ actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | "write";
736
+ actionKey: string;
737
+ connection?: string | number | undefined;
738
+ connectionId?: string | number | null | undefined;
739
+ authenticationId?: string | number | null | undefined;
740
+ inputs?: Record<string, unknown> | undefined;
741
+ timeoutMs?: number | undefined;
742
+ pageSize?: number | undefined;
743
+ maxItems?: number | undefined;
744
+ cursor?: string | undefined;
745
+ }) & {
746
+ cursor?: string;
747
+ pageSize?: number;
748
+ maxItems?: number;
749
+ }) | undefined) => import("./index").PaginatedSdkResult<unknown>;
750
+ } & {
751
+ context: {
752
+ meta: {
753
+ runAction: PluginMeta;
754
+ };
755
+ };
756
+ } & {
757
+ listConnections: (options?: ({
758
+ title?: string | undefined;
759
+ search?: string | undefined;
760
+ owner?: string | undefined;
761
+ app?: string | undefined;
762
+ appKey?: string | undefined;
763
+ connections?: string[] | undefined;
764
+ connectionIds?: string[] | undefined;
765
+ authenticationIds?: string[] | undefined;
766
+ account?: string | undefined;
767
+ accountId?: string | undefined;
768
+ includeShared?: boolean | undefined;
769
+ isExpired?: boolean | undefined;
770
+ expired?: boolean | undefined;
771
+ pageSize?: number | undefined;
772
+ maxItems?: number | undefined;
773
+ cursor?: string | undefined;
774
+ } & {
775
+ cursor?: string;
776
+ pageSize?: number;
777
+ maxItems?: number;
778
+ }) | undefined) => import("./index").PaginatedSdkResult<{
779
+ date: string;
780
+ is_invite_only: boolean;
781
+ is_private: boolean;
782
+ shared_with_all: boolean;
783
+ id: string;
784
+ account_id: string;
785
+ title?: string | null | undefined;
786
+ lastchanged?: string | undefined;
787
+ destination_selected_api?: string | null | undefined;
788
+ is_stale?: string | undefined;
789
+ is_shared?: string | undefined;
790
+ marked_stale_at?: string | null | undefined;
791
+ label?: string | null | undefined;
792
+ identifier?: string | null | undefined;
793
+ url?: string | undefined;
794
+ groups?: Record<string, unknown>[] | undefined;
795
+ members?: string | undefined;
796
+ permissions?: Record<string, boolean> | undefined;
797
+ public_id?: string | undefined;
798
+ account_public_id?: string | undefined;
799
+ customuser_public_id?: string | undefined;
800
+ implementation_id?: string | undefined;
801
+ profile_id?: string | undefined;
802
+ is_expired?: string | undefined;
803
+ expired_at?: string | null | undefined;
804
+ app_key?: string | undefined;
805
+ app_version?: string | undefined;
806
+ }>;
807
+ } & {
808
+ context: {
809
+ meta: {
810
+ listConnections: PluginMeta;
811
+ };
812
+ };
813
+ } & {
814
+ getConnection: (options?: {
815
+ connection?: string | number | undefined;
816
+ connectionId?: string | number | undefined;
817
+ authenticationId?: string | number | undefined;
818
+ } | undefined) => Promise<{
819
+ data: {
820
+ date: string;
821
+ is_invite_only: boolean;
822
+ is_private: boolean;
823
+ shared_with_all: boolean;
824
+ id: string;
825
+ account_id: string;
826
+ title?: string | null | undefined;
827
+ lastchanged?: string | undefined;
828
+ destination_selected_api?: string | null | undefined;
829
+ is_stale?: string | undefined;
830
+ is_shared?: string | undefined;
831
+ marked_stale_at?: string | null | undefined;
832
+ label?: string | null | undefined;
833
+ identifier?: string | null | undefined;
834
+ url?: string | undefined;
835
+ groups?: Record<string, unknown>[] | undefined;
836
+ members?: string | undefined;
837
+ permissions?: Record<string, boolean> | undefined;
838
+ public_id?: string | undefined;
839
+ account_public_id?: string | undefined;
840
+ customuser_public_id?: string | undefined;
841
+ implementation_id?: string | undefined;
842
+ profile_id?: string | undefined;
843
+ is_expired?: string | undefined;
844
+ expired_at?: string | null | undefined;
845
+ app_key?: string | undefined;
846
+ app_version?: string | undefined;
847
+ };
848
+ }>;
849
+ } & {
850
+ context: {
851
+ meta: {
852
+ getConnection: PluginMeta;
853
+ };
854
+ };
855
+ } & {
856
+ findFirstConnection: (options?: {
857
+ title?: string | undefined;
858
+ search?: string | undefined;
859
+ appKey?: string | undefined;
860
+ app?: string | undefined;
861
+ owner?: string | undefined;
862
+ account?: string | undefined;
863
+ accountId?: string | undefined;
864
+ includeShared?: boolean | undefined;
865
+ isExpired?: boolean | undefined;
866
+ expired?: boolean | undefined;
867
+ } | undefined) => Promise<{
868
+ data: {
869
+ date: string;
870
+ is_invite_only: boolean;
871
+ is_private: boolean;
872
+ shared_with_all: boolean;
873
+ id: string;
874
+ account_id: string;
875
+ title?: string | null | undefined;
876
+ lastchanged?: string | undefined;
877
+ destination_selected_api?: string | null | undefined;
878
+ is_stale?: string | undefined;
879
+ is_shared?: string | undefined;
880
+ marked_stale_at?: string | null | undefined;
881
+ label?: string | null | undefined;
882
+ identifier?: string | null | undefined;
883
+ url?: string | undefined;
884
+ groups?: Record<string, unknown>[] | undefined;
885
+ members?: string | undefined;
886
+ permissions?: Record<string, boolean> | undefined;
887
+ public_id?: string | undefined;
888
+ account_public_id?: string | undefined;
889
+ customuser_public_id?: string | undefined;
890
+ implementation_id?: string | undefined;
891
+ profile_id?: string | undefined;
892
+ is_expired?: string | undefined;
893
+ expired_at?: string | null | undefined;
894
+ app_key?: string | undefined;
895
+ app_version?: string | undefined;
896
+ };
897
+ }>;
898
+ } & {
899
+ context: {
900
+ meta: {
901
+ findFirstConnection: PluginMeta;
902
+ };
903
+ };
904
+ } & {
905
+ findUniqueConnection: (options?: {
906
+ title?: string | undefined;
907
+ search?: string | undefined;
908
+ appKey?: string | undefined;
909
+ app?: string | undefined;
910
+ owner?: string | undefined;
911
+ account?: string | undefined;
912
+ accountId?: string | undefined;
913
+ includeShared?: boolean | undefined;
914
+ isExpired?: boolean | undefined;
915
+ expired?: boolean | undefined;
916
+ } | undefined) => Promise<{
917
+ data: {
918
+ date: string;
919
+ is_invite_only: boolean;
920
+ is_private: boolean;
921
+ shared_with_all: boolean;
922
+ id: string;
923
+ account_id: string;
924
+ title?: string | null | undefined;
925
+ lastchanged?: string | undefined;
926
+ destination_selected_api?: string | null | undefined;
927
+ is_stale?: string | undefined;
928
+ is_shared?: string | undefined;
929
+ marked_stale_at?: string | null | undefined;
930
+ label?: string | null | undefined;
931
+ identifier?: string | null | undefined;
932
+ url?: string | undefined;
933
+ groups?: Record<string, unknown>[] | undefined;
934
+ members?: string | undefined;
935
+ permissions?: Record<string, boolean> | undefined;
936
+ public_id?: string | undefined;
937
+ account_public_id?: string | undefined;
938
+ customuser_public_id?: string | undefined;
939
+ implementation_id?: string | undefined;
940
+ profile_id?: string | undefined;
941
+ is_expired?: string | undefined;
942
+ expired_at?: string | null | undefined;
943
+ app_key?: string | undefined;
944
+ app_version?: string | undefined;
945
+ };
946
+ }>;
947
+ } & {
948
+ context: {
949
+ meta: {
950
+ findUniqueConnection: PluginMeta;
951
+ };
952
+ };
953
+ } & {
954
+ listAuthentications: (options?: ({
955
+ title?: string | undefined;
956
+ search?: string | undefined;
957
+ owner?: string | undefined;
958
+ app?: string | undefined;
959
+ appKey?: string | undefined;
960
+ connections?: string[] | undefined;
961
+ connectionIds?: string[] | undefined;
962
+ authenticationIds?: string[] | undefined;
963
+ account?: string | undefined;
964
+ accountId?: string | undefined;
965
+ includeShared?: boolean | undefined;
966
+ isExpired?: boolean | undefined;
967
+ expired?: boolean | undefined;
968
+ pageSize?: number | undefined;
969
+ maxItems?: number | undefined;
970
+ cursor?: string | undefined;
971
+ } & {
972
+ cursor?: string;
973
+ pageSize?: number;
974
+ maxItems?: number;
975
+ }) | undefined) => import("./index").PaginatedSdkResult<{
976
+ date: string;
977
+ is_invite_only: boolean;
978
+ is_private: boolean;
979
+ shared_with_all: boolean;
980
+ id: string;
981
+ account_id: string;
982
+ title?: string | null | undefined;
983
+ lastchanged?: string | undefined;
984
+ destination_selected_api?: string | null | undefined;
985
+ is_stale?: string | undefined;
986
+ is_shared?: string | undefined;
987
+ marked_stale_at?: string | null | undefined;
988
+ label?: string | null | undefined;
989
+ identifier?: string | null | undefined;
990
+ url?: string | undefined;
991
+ groups?: Record<string, unknown>[] | undefined;
992
+ members?: string | undefined;
993
+ permissions?: Record<string, boolean> | undefined;
994
+ public_id?: string | undefined;
995
+ account_public_id?: string | undefined;
996
+ customuser_public_id?: string | undefined;
997
+ implementation_id?: string | undefined;
998
+ profile_id?: string | undefined;
999
+ is_expired?: string | undefined;
1000
+ expired_at?: string | null | undefined;
1001
+ app_key?: string | undefined;
1002
+ app_version?: string | undefined;
1003
+ }>;
1004
+ context: {
1005
+ meta: {
1006
+ listAuthentications: {
1007
+ packages: string[];
1008
+ categories: string[];
1009
+ type: "list";
1010
+ itemType: string;
1011
+ inputSchema: import("zod").ZodObject<{
1012
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1013
+ search: import("zod").ZodOptional<import("zod").ZodString>;
1014
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
1015
+ app: import("zod").ZodOptional<import("zod").ZodString & {
1016
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1017
+ }>;
1018
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
1019
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1020
+ }>;
1021
+ connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1022
+ connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1023
+ authenticationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1024
+ account: import("zod").ZodOptional<import("zod").ZodString>;
1025
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
1026
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
1027
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1028
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1029
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
1030
+ maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
1031
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1032
+ }, import("zod/v4/core").$strip>;
1033
+ outputSchema: import("zod").ZodObject<{
1034
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1035
+ date: import("zod").ZodString;
1036
+ is_invite_only: import("zod").ZodBoolean;
1037
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
1038
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1039
+ is_private: import("zod").ZodBoolean;
1040
+ shared_with_all: import("zod").ZodBoolean;
1041
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
1042
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
1043
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1044
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1045
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1046
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1047
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1048
+ members: import("zod").ZodOptional<import("zod").ZodString>;
1049
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
1050
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
1051
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1052
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1053
+ id: import("zod").ZodString;
1054
+ account_id: import("zod").ZodString;
1055
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
1056
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
1057
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
1058
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1059
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
1060
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
1061
+ }, import("zod/v4/core").$strip>;
1062
+ };
1063
+ };
1064
+ };
1065
+ } & {
1066
+ getAuthentication: (options?: {
1067
+ connection?: string | number | undefined;
1068
+ connectionId?: string | number | undefined;
1069
+ authenticationId?: string | number | undefined;
1070
+ } | undefined) => Promise<{
1071
+ data: {
1072
+ date: string;
1073
+ is_invite_only: boolean;
1074
+ is_private: boolean;
1075
+ shared_with_all: boolean;
1076
+ id: string;
1077
+ account_id: string;
1078
+ title?: string | null | undefined;
1079
+ lastchanged?: string | undefined;
1080
+ destination_selected_api?: string | null | undefined;
1081
+ is_stale?: string | undefined;
1082
+ is_shared?: string | undefined;
1083
+ marked_stale_at?: string | null | undefined;
1084
+ label?: string | null | undefined;
1085
+ identifier?: string | null | undefined;
1086
+ url?: string | undefined;
1087
+ groups?: Record<string, unknown>[] | undefined;
1088
+ members?: string | undefined;
1089
+ permissions?: Record<string, boolean> | undefined;
1090
+ public_id?: string | undefined;
1091
+ account_public_id?: string | undefined;
1092
+ customuser_public_id?: string | undefined;
1093
+ implementation_id?: string | undefined;
1094
+ profile_id?: string | undefined;
1095
+ is_expired?: string | undefined;
1096
+ expired_at?: string | null | undefined;
1097
+ app_key?: string | undefined;
1098
+ app_version?: string | undefined;
1099
+ };
1100
+ }>;
1101
+ context: {
1102
+ meta: {
1103
+ getAuthentication: {
1104
+ packages: string[];
1105
+ categories: string[];
1106
+ type: "item";
1107
+ itemType: string;
1108
+ inputSchema: import("zod").ZodObject<{
1109
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1110
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1111
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1112
+ }, import("zod/v4/core").$strip>;
1113
+ outputSchema: import("zod").ZodObject<{
1114
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1115
+ date: import("zod").ZodString;
1116
+ is_invite_only: import("zod").ZodBoolean;
1117
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
1118
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1119
+ is_private: import("zod").ZodBoolean;
1120
+ shared_with_all: import("zod").ZodBoolean;
1121
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
1122
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
1123
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1124
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1125
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1126
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1127
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1128
+ members: import("zod").ZodOptional<import("zod").ZodString>;
1129
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
1130
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
1131
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1132
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1133
+ id: import("zod").ZodString;
1134
+ account_id: import("zod").ZodString;
1135
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
1136
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
1137
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
1138
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1139
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
1140
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
1141
+ }, import("zod/v4/core").$strip>;
1142
+ };
1143
+ };
1144
+ };
1145
+ } & {
1146
+ findFirstAuthentication: (options?: {
1147
+ title?: string | undefined;
1148
+ search?: string | undefined;
1149
+ appKey?: string | undefined;
1150
+ app?: string | undefined;
1151
+ owner?: string | undefined;
1152
+ account?: string | undefined;
1153
+ accountId?: string | undefined;
1154
+ includeShared?: boolean | undefined;
1155
+ isExpired?: boolean | undefined;
1156
+ expired?: boolean | undefined;
1157
+ } | undefined) => Promise<{
1158
+ data: {
1159
+ date: string;
1160
+ is_invite_only: boolean;
1161
+ is_private: boolean;
1162
+ shared_with_all: boolean;
1163
+ id: string;
1164
+ account_id: string;
1165
+ title?: string | null | undefined;
1166
+ lastchanged?: string | undefined;
1167
+ destination_selected_api?: string | null | undefined;
1168
+ is_stale?: string | undefined;
1169
+ is_shared?: string | undefined;
1170
+ marked_stale_at?: string | null | undefined;
1171
+ label?: string | null | undefined;
1172
+ identifier?: string | null | undefined;
1173
+ url?: string | undefined;
1174
+ groups?: Record<string, unknown>[] | undefined;
1175
+ members?: string | undefined;
1176
+ permissions?: Record<string, boolean> | undefined;
1177
+ public_id?: string | undefined;
1178
+ account_public_id?: string | undefined;
1179
+ customuser_public_id?: string | undefined;
1180
+ implementation_id?: string | undefined;
1181
+ profile_id?: string | undefined;
1182
+ is_expired?: string | undefined;
1183
+ expired_at?: string | null | undefined;
1184
+ app_key?: string | undefined;
1185
+ app_version?: string | undefined;
1186
+ };
1187
+ }>;
1188
+ context: {
1189
+ meta: {
1190
+ findFirstAuthentication: {
1191
+ packages: string[];
1192
+ categories: string[];
1193
+ type: "item";
1194
+ itemType: string;
1195
+ inputSchema: import("zod").ZodObject<{
1196
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1197
+ search: import("zod").ZodOptional<import("zod").ZodString>;
1198
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
1199
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1200
+ }>;
1201
+ app: import("zod").ZodOptional<import("zod").ZodString & {
1202
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1203
+ }>;
1204
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
1205
+ account: import("zod").ZodOptional<import("zod").ZodString>;
1206
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
1207
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
1208
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1209
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1210
+ }, import("zod/v4/core").$strip>;
1211
+ outputSchema: import("zod").ZodObject<{
1212
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1213
+ date: import("zod").ZodString;
1214
+ is_invite_only: import("zod").ZodBoolean;
1215
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
1216
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1217
+ is_private: import("zod").ZodBoolean;
1218
+ shared_with_all: import("zod").ZodBoolean;
1219
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
1220
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
1221
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1222
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1223
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1224
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1225
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1226
+ members: import("zod").ZodOptional<import("zod").ZodString>;
1227
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
1228
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
1229
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1230
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1231
+ id: import("zod").ZodString;
1232
+ account_id: import("zod").ZodString;
1233
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
1234
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
1235
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
1236
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1237
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
1238
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
1239
+ }, import("zod/v4/core").$strip>;
1240
+ };
1241
+ };
1242
+ };
1243
+ } & {
1244
+ findUniqueAuthentication: (options?: {
1245
+ title?: string | undefined;
1246
+ search?: string | undefined;
1247
+ appKey?: string | undefined;
1248
+ app?: string | undefined;
1249
+ owner?: string | undefined;
1250
+ account?: string | undefined;
1251
+ accountId?: string | undefined;
1252
+ includeShared?: boolean | undefined;
1253
+ isExpired?: boolean | undefined;
1254
+ expired?: boolean | undefined;
1255
+ } | undefined) => Promise<{
1256
+ data: {
1257
+ date: string;
1258
+ is_invite_only: boolean;
1259
+ is_private: boolean;
1260
+ shared_with_all: boolean;
1261
+ id: string;
1262
+ account_id: string;
1263
+ title?: string | null | undefined;
1264
+ lastchanged?: string | undefined;
1265
+ destination_selected_api?: string | null | undefined;
1266
+ is_stale?: string | undefined;
1267
+ is_shared?: string | undefined;
1268
+ marked_stale_at?: string | null | undefined;
1269
+ label?: string | null | undefined;
1270
+ identifier?: string | null | undefined;
1271
+ url?: string | undefined;
1272
+ groups?: Record<string, unknown>[] | undefined;
1273
+ members?: string | undefined;
1274
+ permissions?: Record<string, boolean> | undefined;
1275
+ public_id?: string | undefined;
1276
+ account_public_id?: string | undefined;
1277
+ customuser_public_id?: string | undefined;
1278
+ implementation_id?: string | undefined;
1279
+ profile_id?: string | undefined;
1280
+ is_expired?: string | undefined;
1281
+ expired_at?: string | null | undefined;
1282
+ app_key?: string | undefined;
1283
+ app_version?: string | undefined;
1284
+ };
1285
+ }>;
1286
+ context: {
1287
+ meta: {
1288
+ findUniqueAuthentication: {
1289
+ packages: string[];
1290
+ categories: string[];
1291
+ type: "item";
1292
+ itemType: string;
1293
+ inputSchema: import("zod").ZodObject<{
1294
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1295
+ search: import("zod").ZodOptional<import("zod").ZodString>;
1296
+ appKey: import("zod").ZodOptional<import("zod").ZodString & {
1297
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1298
+ }>;
1299
+ app: import("zod").ZodOptional<import("zod").ZodString & {
1300
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1301
+ }>;
1302
+ owner: import("zod").ZodOptional<import("zod").ZodString>;
1303
+ account: import("zod").ZodOptional<import("zod").ZodString>;
1304
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
1305
+ includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
1306
+ isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1307
+ expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1308
+ }, import("zod/v4/core").$strip>;
1309
+ outputSchema: import("zod").ZodObject<{
1310
+ title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1311
+ date: import("zod").ZodString;
1312
+ is_invite_only: import("zod").ZodBoolean;
1313
+ lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
1314
+ destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1315
+ is_private: import("zod").ZodBoolean;
1316
+ shared_with_all: import("zod").ZodBoolean;
1317
+ is_stale: import("zod").ZodOptional<import("zod").ZodString>;
1318
+ is_shared: import("zod").ZodOptional<import("zod").ZodString>;
1319
+ marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1320
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1321
+ identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1322
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1323
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1324
+ members: import("zod").ZodOptional<import("zod").ZodString>;
1325
+ permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
1326
+ public_id: import("zod").ZodOptional<import("zod").ZodString>;
1327
+ account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1328
+ customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
1329
+ id: import("zod").ZodString;
1330
+ account_id: import("zod").ZodString;
1331
+ implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
1332
+ profile_id: import("zod").ZodOptional<import("zod").ZodString>;
1333
+ is_expired: import("zod").ZodOptional<import("zod").ZodString>;
1334
+ expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1335
+ app_key: import("zod").ZodOptional<import("zod").ZodString>;
1336
+ app_version: import("zod").ZodOptional<import("zod").ZodString>;
1337
+ }, import("zod/v4/core").$strip>;
1338
+ };
1339
+ };
1340
+ };
1341
+ } & {
1342
+ listClientCredentials: (options?: ({
1343
+ pageSize?: number | undefined;
1344
+ maxItems?: number | undefined;
1345
+ cursor?: string | undefined;
1346
+ } & {
1347
+ cursor?: string;
1348
+ pageSize?: number;
1349
+ maxItems?: number;
1350
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1351
+ client_id: string;
1352
+ name: string;
1353
+ allowed_scopes: ("external" | "credentials")[];
1354
+ created_at?: string | null | undefined;
1355
+ updated_at?: string | undefined;
1356
+ }>;
1357
+ } & {
1358
+ context: {
1359
+ meta: {
1360
+ listClientCredentials: PluginMeta;
1361
+ };
1362
+ };
1363
+ } & {
1364
+ createClientCredentials: (options?: {
1365
+ name: string;
1366
+ allowedScopes: ("external" | "credentials")[];
1367
+ policy?: Record<string, unknown> | undefined;
1368
+ } | undefined) => Promise<{
1369
+ data: {
1370
+ client_id: string;
1371
+ name: string;
1372
+ client_secret: string;
1373
+ };
1374
+ }>;
1375
+ } & {
1376
+ context: {
1377
+ meta: {
1378
+ createClientCredentials: PluginMeta;
1379
+ };
1380
+ };
1381
+ } & {
1382
+ deleteClientCredentials: (options?: {
1383
+ clientId: string;
1384
+ } | undefined) => Promise<{
1385
+ success: boolean;
1386
+ }>;
1387
+ } & {
1388
+ context: {
1389
+ meta: {
1390
+ deleteClientCredentials: PluginMeta;
1391
+ };
1392
+ };
1393
+ } & {
1394
+ fetch: (url: string | URL, init?: import("./index").ZapierFetchInitOptions) => Promise<Response>;
1395
+ context: {
1396
+ meta: {
1397
+ fetch: {
1398
+ description: string;
1399
+ packages: string[];
1400
+ categories: string[];
1401
+ returnType: string;
1402
+ inputParameters: ({
1403
+ name: string;
1404
+ schema: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<URL, URL>]>;
1405
+ } | {
1406
+ name: string;
1407
+ schema: import("zod").ZodOptional<import("zod").ZodObject<{
1408
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
1409
+ POST: "POST";
1410
+ GET: "GET";
1411
+ PUT: "PUT";
1412
+ DELETE: "DELETE";
1413
+ PATCH: "PATCH";
1414
+ HEAD: "HEAD";
1415
+ OPTIONS: "OPTIONS";
1416
+ }>>;
1417
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1418
+ 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>]>>;
1419
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1420
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1421
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1422
+ callbackUrl: import("zod").ZodOptional<import("zod").ZodString>;
1423
+ maxTime: import("zod").ZodOptional<import("zod").ZodNumber>;
1424
+ }, import("zod/v4/core").$strip>>;
1425
+ })[];
1426
+ };
1427
+ };
1428
+ };
1429
+ } & {
1430
+ request: (options?: {
1431
+ url: string;
1432
+ method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
1433
+ body?: any;
1434
+ connection?: string | number | undefined;
1435
+ connectionId?: string | number | undefined;
1436
+ authenticationId?: string | number | undefined;
1437
+ callbackUrl?: string | undefined;
1438
+ headers?: [string, string][] | Record<string, string> | Headers | undefined;
1439
+ } | undefined) => Promise<Response>;
1440
+ } & {
1441
+ context: {
1442
+ meta: {
1443
+ request: PluginMeta;
1444
+ };
1445
+ };
1446
+ } & {
1447
+ createTriggerInbox: (options?: {
1448
+ app: string;
1449
+ action: string;
1450
+ connection?: string | number | null | undefined;
1451
+ inputs?: Record<string, unknown> | undefined;
1452
+ notificationUrl?: string | undefined;
1453
+ } | undefined) => Promise<{
1454
+ data: {
1455
+ id: string;
1456
+ created_at: string;
1457
+ name: string | null;
1458
+ status: string;
1459
+ paused_reason: string | null;
1460
+ notification_url: string | null;
1461
+ subscription: {
1462
+ connection_id: string | number | null;
1463
+ app_key: string;
1464
+ action_key: string;
1465
+ inputs: Record<string, unknown>;
1466
+ };
1467
+ };
1468
+ }>;
1469
+ } & {
1470
+ context: {
1471
+ meta: {
1472
+ createTriggerInbox: PluginMeta;
1473
+ };
1474
+ };
1475
+ } & {
1476
+ ensureTriggerInbox: (options?: {
1477
+ name: string;
1478
+ app: string;
1479
+ action: string;
1480
+ connection?: string | number | null | undefined;
1481
+ inputs?: Record<string, unknown> | undefined;
1482
+ notificationUrl?: string | undefined;
1483
+ } | undefined) => Promise<{
1484
+ data: {
1485
+ id: string;
1486
+ created_at: string;
1487
+ name: string | null;
1488
+ status: string;
1489
+ paused_reason: string | null;
1490
+ notification_url: string | null;
1491
+ subscription: {
1492
+ connection_id: string | number | null;
1493
+ app_key: string;
1494
+ action_key: string;
1495
+ inputs: Record<string, unknown>;
1496
+ };
1497
+ };
1498
+ }>;
1499
+ } & {
1500
+ context: {
1501
+ meta: {
1502
+ ensureTriggerInbox: PluginMeta;
1503
+ };
1504
+ };
1505
+ } & {
1506
+ listTriggerInboxes: (options?: ({
1507
+ name?: string | undefined;
1508
+ status?: string | undefined;
1509
+ pageSize?: number | undefined;
1510
+ maxItems?: number | undefined;
1511
+ cursor?: string | undefined;
1512
+ } & {
1513
+ cursor?: string;
1514
+ pageSize?: number;
1515
+ maxItems?: number;
1516
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1517
+ id: string;
1518
+ created_at: string;
1519
+ name: string | null;
1520
+ status: string;
1521
+ paused_reason: string | null;
1522
+ notification_url: string | null;
1523
+ subscription: {
1524
+ connection_id: string | number | null;
1525
+ app_key: string;
1526
+ action_key: string;
1527
+ inputs: Record<string, unknown>;
1528
+ };
1529
+ }>;
1530
+ } & {
1531
+ context: {
1532
+ meta: {
1533
+ listTriggerInboxes: PluginMeta;
1534
+ };
1535
+ };
1536
+ } & {
1537
+ getTriggerInbox: (options?: {
1538
+ inbox: string;
1539
+ } | undefined) => Promise<{
1540
+ data: {
1541
+ id: string;
1542
+ created_at: string;
1543
+ name: string | null;
1544
+ status: string;
1545
+ paused_reason: string | null;
1546
+ notification_url: string | null;
1547
+ subscription: {
1548
+ connection_id: string | number | null;
1549
+ app_key: string;
1550
+ action_key: string;
1551
+ inputs: Record<string, unknown>;
1552
+ };
1553
+ };
1554
+ }>;
1555
+ } & {
1556
+ context: {
1557
+ meta: {
1558
+ getTriggerInbox: PluginMeta;
1559
+ };
1560
+ };
1561
+ } & {
1562
+ updateTriggerInbox: (options?: {
1563
+ inbox: string;
1564
+ notificationUrl?: string | null | undefined;
1565
+ } | undefined) => Promise<{
1566
+ data: {
1567
+ id: string;
1568
+ created_at: string;
1569
+ name: string | null;
1570
+ status: string;
1571
+ paused_reason: string | null;
1572
+ notification_url: string | null;
1573
+ subscription: {
1574
+ connection_id: string | number | null;
1575
+ app_key: string;
1576
+ action_key: string;
1577
+ inputs: Record<string, unknown>;
1578
+ };
1579
+ };
1580
+ }>;
1581
+ } & {
1582
+ context: {
1583
+ meta: {
1584
+ updateTriggerInbox: PluginMeta;
1585
+ };
1586
+ };
1587
+ } & {
1588
+ deleteTriggerInbox: (options?: {
1589
+ inbox: string;
1590
+ } | undefined) => Promise<{
1591
+ data: {
1592
+ id: string;
1593
+ created_at: string;
1594
+ name: string | null;
1595
+ status: string;
1596
+ paused_reason: string | null;
1597
+ notification_url: string | null;
1598
+ subscription: {
1599
+ connection_id: string | number | null;
1600
+ app_key: string;
1601
+ action_key: string;
1602
+ inputs: Record<string, unknown>;
1603
+ };
1604
+ };
1605
+ }>;
1606
+ } & {
1607
+ context: {
1608
+ meta: {
1609
+ deleteTriggerInbox: PluginMeta;
1610
+ };
1611
+ };
1612
+ } & {
1613
+ pauseTriggerInbox: (options?: {
1614
+ inbox: string;
1615
+ } | undefined) => Promise<{
1616
+ data: {
1617
+ id: string;
1618
+ created_at: string;
1619
+ name: string | null;
1620
+ status: string;
1621
+ paused_reason: string | null;
1622
+ notification_url: string | null;
1623
+ subscription: {
1624
+ connection_id: string | number | null;
1625
+ app_key: string;
1626
+ action_key: string;
1627
+ inputs: Record<string, unknown>;
1628
+ };
1629
+ };
1630
+ }>;
1631
+ } & {
1632
+ context: {
1633
+ meta: {
1634
+ pauseTriggerInbox: PluginMeta;
1635
+ };
1636
+ };
1637
+ } & {
1638
+ resumeTriggerInbox: (options?: {
1639
+ inbox: string;
1640
+ } | undefined) => Promise<{
1641
+ data: {
1642
+ id: string;
1643
+ created_at: string;
1644
+ name: string | null;
1645
+ status: string;
1646
+ paused_reason: string | null;
1647
+ notification_url: string | null;
1648
+ subscription: {
1649
+ connection_id: string | number | null;
1650
+ app_key: string;
1651
+ action_key: string;
1652
+ inputs: Record<string, unknown>;
1653
+ };
1654
+ };
1655
+ }>;
1656
+ } & {
1657
+ context: {
1658
+ meta: {
1659
+ resumeTriggerInbox: PluginMeta;
1660
+ };
1661
+ };
1662
+ } & {
1663
+ listTriggerInboxMessages: (options?: ({
1664
+ inbox: string;
1665
+ pageSize?: number | undefined;
1666
+ maxItems?: number | undefined;
1667
+ cursor?: string | undefined;
1668
+ } & {
1669
+ cursor?: string;
1670
+ pageSize?: number;
1671
+ maxItems?: number;
1672
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1673
+ id: string;
1674
+ created_at: string;
1675
+ status: string;
1676
+ message_attributes: {
1677
+ lease_count: number;
1678
+ error_message: string | null;
1679
+ possible_duplicate_data: boolean;
1680
+ };
1681
+ }>;
1682
+ } & {
1683
+ context: {
1684
+ meta: {
1685
+ listTriggerInboxMessages: PluginMeta;
1686
+ };
1687
+ };
1688
+ } & {
1689
+ leaseTriggerInboxMessages: (options?: {
1690
+ inbox: string;
1691
+ leaseLimit?: number | undefined;
1692
+ leaseSeconds?: number | undefined;
1693
+ signal?: AbortSignal | undefined;
1694
+ } | undefined) => Promise<{
1695
+ data: {
1696
+ lease_id: string | null;
1697
+ leased_until: string | null;
1698
+ results: {
1699
+ id: string;
1700
+ created_at: string;
1701
+ status: string;
1702
+ message_attributes: {
1703
+ lease_count: number;
1704
+ error_message: string | null;
1705
+ possible_duplicate_data: boolean;
1706
+ };
1707
+ payload: Record<string, unknown>;
1708
+ }[];
1709
+ inbox_attributes: {
1710
+ status: string;
1711
+ paused_reason: string | null;
1712
+ };
1713
+ };
1714
+ }>;
1715
+ } & {
1716
+ context: {
1717
+ meta: {
1718
+ leaseTriggerInboxMessages: PluginMeta;
1719
+ };
1720
+ };
1721
+ } & {
1722
+ ackTriggerInboxMessages: (options?: {
1723
+ inbox: string;
1724
+ lease: string;
1725
+ messages?: string[] | undefined;
1726
+ } | undefined) => Promise<{
1727
+ data: {
1728
+ acked_id: string | null;
1729
+ results: {
1730
+ id: string;
1731
+ created_at: string;
1732
+ status: string;
1733
+ message_attributes: {
1734
+ lease_count: number;
1735
+ error_message: string | null;
1736
+ possible_duplicate_data: boolean;
1737
+ };
1738
+ }[];
1739
+ };
1740
+ }>;
1741
+ } & {
1742
+ context: {
1743
+ meta: {
1744
+ ackTriggerInboxMessages: PluginMeta;
1745
+ };
1746
+ };
1747
+ } & {
1748
+ releaseTriggerInboxMessages: (options?: {
1749
+ inbox: string;
1750
+ lease: string;
1751
+ messages?: string[] | undefined;
1752
+ } | undefined) => Promise<{
1753
+ data: {
1754
+ released_id: string | null;
1755
+ results: {
1756
+ id: string;
1757
+ created_at: string;
1758
+ status: string;
1759
+ message_attributes: {
1760
+ lease_count: number;
1761
+ error_message: string | null;
1762
+ possible_duplicate_data: boolean;
1763
+ };
1764
+ }[];
1765
+ };
1766
+ }>;
1767
+ } & {
1768
+ context: {
1769
+ meta: {
1770
+ releaseTriggerInboxMessages: PluginMeta;
1771
+ };
1772
+ };
1773
+ } & {
1774
+ drainTriggerInbox: (options: import("./index").DrainTriggerInboxOptions) => Promise<void>;
1775
+ context: {
1776
+ meta: {
1777
+ drainTriggerInbox: {
1778
+ type: "create";
1779
+ description: string;
1780
+ itemType: string;
1781
+ returnType: string;
1782
+ inputSchema: import("zod").ZodObject<{
1783
+ inbox: import("zod").ZodString & {
1784
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1785
+ };
1786
+ onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
1787
+ concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
1788
+ leaseLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
1789
+ leaseSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1790
+ releaseOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
1791
+ continueOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
1792
+ onError: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
1793
+ signal: import("zod").ZodOptional<import("zod").ZodCustom<AbortSignal, AbortSignal>>;
1794
+ maxMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
1795
+ }, import("zod/v4/core").$strip>;
1796
+ resolvers: {
1797
+ inbox: import("./index").DynamicResolver<{
1798
+ id: string;
1799
+ created_at: string;
1800
+ name: string | null;
1801
+ status: string;
1802
+ paused_reason: string | null;
1803
+ notification_url: string | null;
1804
+ subscription: {
1805
+ connection_id: string | number | null;
1806
+ app_key: string;
1807
+ action_key: string;
1808
+ inputs: Record<string, unknown>;
1809
+ };
1810
+ }, {}>;
1811
+ };
1812
+ packages: readonly ["sdk"];
1813
+ categories: string[];
1814
+ experimental: true;
1815
+ };
1816
+ };
1817
+ };
1818
+ } & {
1819
+ watchTriggerInbox: (options: import("./index").WatchTriggerInboxOptions) => Promise<void>;
1820
+ context: {
1821
+ meta: {
1822
+ watchTriggerInbox: {
1823
+ type: "create";
1824
+ description: string;
1825
+ itemType: string;
1826
+ returnType: string;
1827
+ inputSchema: import("zod").ZodObject<{
1828
+ inbox: import("zod").ZodString & {
1829
+ _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata;
1830
+ };
1831
+ onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
1832
+ concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
1833
+ leaseLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
1834
+ leaseSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1835
+ releaseOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
1836
+ continueOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
1837
+ onError: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
1838
+ signal: import("zod").ZodOptional<import("zod").ZodCustom<AbortSignal, AbortSignal>>;
1839
+ maxDrainIntervalSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1840
+ }, import("zod/v4/core").$strip>;
1841
+ resolvers: {
1842
+ inbox: import("./index").DynamicResolver<{
1843
+ id: string;
1844
+ created_at: string;
1845
+ name: string | null;
1846
+ status: string;
1847
+ paused_reason: string | null;
1848
+ notification_url: string | null;
1849
+ subscription: {
1850
+ connection_id: string | number | null;
1851
+ app_key: string;
1852
+ action_key: string;
1853
+ inputs: Record<string, unknown>;
1854
+ };
1855
+ }, {}>;
1856
+ };
1857
+ packages: readonly ["sdk"];
1858
+ categories: string[];
1859
+ experimental: true;
1860
+ };
1861
+ };
1862
+ };
1863
+ } & {
1864
+ listTriggerInputFields: (options?: ({
1865
+ app: string;
1866
+ action: string;
1867
+ connection?: string | number | undefined;
1868
+ inputs?: Record<string, unknown> | undefined;
1869
+ pageSize?: number | undefined;
1870
+ maxItems?: number | undefined;
1871
+ cursor?: string | undefined;
1872
+ } & {
1873
+ cursor?: string;
1874
+ pageSize?: number;
1875
+ maxItems?: number;
1876
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1877
+ key: string;
1878
+ type: "input_field";
1879
+ default_value: string;
1880
+ depends_on: string[];
1881
+ description: string;
1882
+ invalidates_input_fields: boolean;
1883
+ is_required: boolean;
1884
+ placeholder: string;
1885
+ title: string;
1886
+ value_type: string;
1887
+ format?: string | undefined;
1888
+ items?: {
1889
+ type: string;
1890
+ } | undefined;
1891
+ } | {
1892
+ key: string;
1893
+ type: "info_field";
1894
+ description: string;
1895
+ title?: string | undefined;
1896
+ } | import("./index").FieldsetItem>;
1897
+ } & {
1898
+ context: {
1899
+ meta: {
1900
+ listTriggerInputFields: PluginMeta;
1901
+ };
1902
+ };
1903
+ } & {
1904
+ listTriggerInputFieldChoices: (options?: ({
1905
+ app: string;
1906
+ action: string;
1907
+ inputField: string;
1908
+ connection?: string | number | undefined;
1909
+ inputs?: Record<string, unknown> | undefined;
1910
+ page?: number | undefined;
1911
+ pageSize?: number | undefined;
1912
+ maxItems?: number | undefined;
1913
+ cursor?: string | undefined;
1914
+ } & {
1915
+ cursor?: string;
1916
+ pageSize?: number;
1917
+ maxItems?: number;
1918
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1919
+ key?: string | undefined;
1920
+ label?: string | undefined;
1921
+ sample?: string | undefined;
1922
+ value?: string | undefined;
1923
+ }>;
1924
+ } & {
1925
+ context: {
1926
+ meta: {
1927
+ listTriggerInputFieldChoices: PluginMeta;
1928
+ };
1929
+ };
1930
+ } & {
1931
+ getTriggerInputFieldsSchema: (options?: {
1932
+ app: string;
1933
+ action: string;
1934
+ connection?: string | number | undefined;
1935
+ inputs?: Record<string, unknown> | undefined;
1936
+ } | undefined) => Promise<{
1937
+ data: Record<string, unknown>;
1938
+ }>;
1939
+ } & {
1940
+ context: {
1941
+ meta: {
1942
+ getTriggerInputFieldsSchema: PluginMeta;
1943
+ };
1944
+ };
1945
+ } & {
1946
+ listTables: (options?: ({
1947
+ tables?: string[] | undefined;
1948
+ tableIds?: string[] | undefined;
1949
+ kind?: "table" | "virtual_table" | "both" | undefined;
1950
+ search?: string | undefined;
1951
+ owner?: string | undefined;
1952
+ includeShared?: boolean | undefined;
1953
+ pageSize?: number | undefined;
1954
+ maxItems?: number | undefined;
1955
+ cursor?: string | undefined;
1956
+ } & {
1957
+ cursor?: string;
1958
+ pageSize?: number;
1959
+ maxItems?: number;
1960
+ }) | undefined) => import("./index").PaginatedSdkResult<{
1961
+ id: string;
1962
+ name: string;
1963
+ created_at: string;
1964
+ edited_at: string;
1965
+ kind: "table" | "virtual_table";
1966
+ account_id: string;
1967
+ profile_id: string;
1968
+ description?: string | undefined;
1969
+ parent_table_id?: string | undefined;
1970
+ }>;
1971
+ } & {
1972
+ context: {
1973
+ meta: {
1974
+ listTables: PluginMeta;
1975
+ };
1976
+ };
1977
+ } & {
1978
+ getTable: (options?: {
1979
+ table: string;
1980
+ } | {
1981
+ tableId: string;
1982
+ } | undefined) => Promise<{
1983
+ data: {
1984
+ id: string;
1985
+ name: string;
1986
+ created_at: string;
1987
+ edited_at: string;
1988
+ kind: "table" | "virtual_table";
1989
+ account_id: string;
1990
+ profile_id: string;
1991
+ description?: string | undefined;
1992
+ parent_table_id?: string | undefined;
1993
+ };
1994
+ }>;
1995
+ } & {
1996
+ context: {
1997
+ meta: {
1998
+ getTable: PluginMeta;
1999
+ };
2000
+ };
2001
+ } & {
2002
+ deleteTable: (options?: {
2003
+ table: string;
2004
+ } | {
2005
+ tableId: string;
2006
+ } | undefined) => Promise<{
2007
+ success: boolean;
2008
+ }>;
2009
+ } & {
2010
+ context: {
2011
+ meta: {
2012
+ deleteTable: PluginMeta;
2013
+ };
2014
+ };
2015
+ } & {
2016
+ createTable: (options?: {
2017
+ name: string;
2018
+ description?: string | undefined;
2019
+ } | undefined) => Promise<{
2020
+ data: {
2021
+ id: string;
2022
+ name: string;
2023
+ created_at: string;
2024
+ edited_at: string;
2025
+ kind: "table" | "virtual_table";
2026
+ account_id: string;
2027
+ profile_id: string;
2028
+ description?: string | undefined;
2029
+ parent_table_id?: string | undefined;
2030
+ };
2031
+ }>;
2032
+ } & {
2033
+ context: {
2034
+ meta: {
2035
+ createTable: PluginMeta;
2036
+ };
2037
+ };
2038
+ } & {
2039
+ listTableFields: (options?: {
2040
+ table: string;
2041
+ fields?: (string | number)[] | undefined;
2042
+ fieldKeys?: (string | number)[] | undefined;
2043
+ } | {
2044
+ tableId: string;
2045
+ fields?: (string | number)[] | undefined;
2046
+ fieldKeys?: (string | number)[] | undefined;
2047
+ } | undefined) => Promise<{
2048
+ data: {
2049
+ id: string;
2050
+ 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";
2051
+ name: string;
2052
+ created_at?: string | undefined;
2053
+ edited_at?: string | undefined;
2054
+ options?: Record<string, unknown> | undefined;
2055
+ config?: Record<string, unknown> | undefined;
2056
+ }[];
2057
+ }>;
2058
+ } & {
2059
+ context: {
2060
+ meta: {
2061
+ listTableFields: PluginMeta;
2062
+ };
2063
+ };
2064
+ } & {
2065
+ createTableFields: (options?: {
2066
+ table: string;
2067
+ fields: {
2068
+ 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";
2069
+ name: string;
2070
+ options?: Record<string, unknown> | undefined;
2071
+ config?: Record<string, unknown> | undefined;
2072
+ }[];
2073
+ } | {
2074
+ tableId: string;
2075
+ fields: {
2076
+ 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";
2077
+ name: string;
2078
+ options?: Record<string, unknown> | undefined;
2079
+ config?: Record<string, unknown> | undefined;
2080
+ }[];
2081
+ } | undefined) => Promise<{
2082
+ data: {
2083
+ id: string;
2084
+ 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";
2085
+ name: string;
2086
+ created_at?: string | undefined;
2087
+ edited_at?: string | undefined;
2088
+ options?: Record<string, unknown> | undefined;
2089
+ config?: Record<string, unknown> | undefined;
2090
+ }[];
2091
+ }>;
2092
+ } & {
2093
+ context: {
2094
+ meta: {
2095
+ createTableFields: PluginMeta;
2096
+ };
2097
+ };
2098
+ } & {
2099
+ deleteTableFields: (options?: {
2100
+ table: string;
2101
+ fields: (string | number)[];
2102
+ } | {
2103
+ tableId: string;
2104
+ fieldKeys: (string | number)[];
2105
+ } | undefined) => Promise<{
2106
+ success: boolean;
2107
+ }>;
2108
+ } & {
2109
+ context: {
2110
+ meta: {
2111
+ deleteTableFields: PluginMeta;
2112
+ };
2113
+ };
2114
+ } & {
2115
+ getTableRecord: (options?: {
2116
+ table: string;
2117
+ record: string;
2118
+ keyMode: "names" | "ids";
2119
+ } | {
2120
+ tableId: string;
2121
+ recordId: string;
2122
+ keyMode: "names" | "ids";
2123
+ } | undefined) => Promise<{
2124
+ data: {
2125
+ data: Record<string, unknown>;
2126
+ id: string;
2127
+ created_at: string;
2128
+ edited_at: string;
2129
+ };
2130
+ }>;
2131
+ } & {
2132
+ context: {
2133
+ meta: {
2134
+ getTableRecord: PluginMeta;
2135
+ };
2136
+ };
2137
+ } & {
2138
+ listTableRecords: (options?: (({
2139
+ table: string;
2140
+ keyMode: "names" | "ids";
2141
+ filters?: {
2142
+ fieldKey: string;
2143
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
2144
+ value?: unknown;
2145
+ }[] | undefined;
2146
+ sort?: {
2147
+ fieldKey: string;
2148
+ direction: "asc" | "desc";
2149
+ } | undefined;
2150
+ pageSize?: number | undefined;
2151
+ maxItems?: number | undefined;
2152
+ cursor?: string | undefined;
2153
+ } | {
2154
+ tableId: string;
2155
+ keyMode: "names" | "ids";
2156
+ filters?: {
2157
+ fieldKey: string;
2158
+ operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
2159
+ value?: unknown;
2160
+ }[] | undefined;
2161
+ sort?: {
2162
+ fieldKey: string;
2163
+ direction: "asc" | "desc";
2164
+ } | undefined;
2165
+ pageSize?: number | undefined;
2166
+ maxItems?: number | undefined;
2167
+ cursor?: string | undefined;
2168
+ }) & {
2169
+ cursor?: string;
2170
+ pageSize?: number;
2171
+ maxItems?: number;
2172
+ }) | undefined) => import("./index").PaginatedSdkResult<{
2173
+ id: string;
2174
+ data: Record<string, unknown>;
2175
+ created_at: string;
2176
+ edited_at: string;
2177
+ }>;
2178
+ } & {
2179
+ context: {
2180
+ meta: {
2181
+ listTableRecords: PluginMeta;
2182
+ };
2183
+ };
2184
+ } & {
2185
+ createTableRecords: (options?: {
2186
+ table: string;
2187
+ records: {
2188
+ data: Record<string, unknown>;
2189
+ }[];
2190
+ keyMode: "names" | "ids";
2191
+ } | {
2192
+ tableId: string;
2193
+ records: {
2194
+ data: Record<string, unknown>;
2195
+ }[];
2196
+ keyMode: "names" | "ids";
2197
+ } | undefined) => Promise<{
2198
+ data: {
2199
+ data: Record<string, unknown>;
2200
+ id: string;
2201
+ created_at: string;
2202
+ edited_at: string;
2203
+ }[];
2204
+ }>;
2205
+ } & {
2206
+ context: {
2207
+ meta: {
2208
+ createTableRecords: PluginMeta;
2209
+ };
2210
+ };
2211
+ } & {
2212
+ deleteTableRecords: (options?: {
2213
+ table: string;
2214
+ records: string[];
2215
+ } | {
2216
+ tableId: string;
2217
+ recordIds: string[];
2218
+ } | undefined) => Promise<{
2219
+ success: boolean;
2220
+ }>;
2221
+ } & {
2222
+ context: {
2223
+ meta: {
2224
+ deleteTableRecords: PluginMeta;
2225
+ };
2226
+ };
2227
+ } & {
2228
+ updateTableRecords: (options?: {
2229
+ table: string;
2230
+ records: {
2231
+ id: string;
2232
+ data: Record<string, unknown>;
2233
+ }[];
2234
+ keyMode: "names" | "ids";
2235
+ } | {
2236
+ tableId: string;
2237
+ records: {
2238
+ id: string;
2239
+ data: Record<string, unknown>;
2240
+ }[];
2241
+ keyMode: "names" | "ids";
2242
+ } | undefined) => Promise<{
2243
+ data: {
2244
+ data: Record<string, unknown>;
2245
+ id: string;
2246
+ created_at: string;
2247
+ edited_at: string;
2248
+ }[];
2249
+ }>;
2250
+ } & {
2251
+ context: {
2252
+ meta: {
2253
+ updateTableRecords: PluginMeta;
2254
+ };
2255
+ };
2256
+ } & {
2257
+ apps: import("./plugins/apps/schemas").ActionProxy & import("./index").ZapierSdkApps;
2258
+ context: {
2259
+ meta: {
2260
+ "apps.{appKey}": {
2261
+ categories: string[];
2262
+ packages: string[];
2263
+ type: "function";
2264
+ inputSchema: import("zod").ZodObject<{
2265
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2266
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2267
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2268
+ }, import("zod/v4/core").$strip>;
2269
+ returnType: string;
2270
+ };
2271
+ "apps.{appKey}.{actionType}.{actionKey}": {
2272
+ categories: string[];
2273
+ packages: string[];
2274
+ type: "list";
2275
+ inputSchema: import("zod").ZodObject<{
2276
+ inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2277
+ connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2278
+ connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2279
+ authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2280
+ timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
2281
+ }, import("zod/v4/core").$strip>;
2282
+ itemType: string;
2283
+ outputSchema: import("zod").ZodUnknown;
2284
+ };
2285
+ };
2286
+ };
2287
+ } & {
2288
+ getProfile: (options?: Record<string, never> | undefined) => Promise<{
2289
+ data: {
2290
+ id: string;
2291
+ first_name: string;
2292
+ last_name: string;
2293
+ full_name: string;
2294
+ email: string;
2295
+ email_confirmed: boolean;
2296
+ timezone: string;
2297
+ };
2298
+ }>;
2299
+ } & {
2300
+ context: {
2301
+ meta: {
2302
+ getProfile: PluginMeta;
2303
+ };
2304
+ };
2305
+ }>;
2306
+ export type ZapierSdk = ReturnType<typeof createZapierSdk>;
2307
+ export type { PluginMeta };
2308
+ //# sourceMappingURL=experimental.d.ts.map