@zapier/zapier-sdk 0.34.1 → 0.35.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 (135) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +341 -0
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/client.js +10 -2
  5. package/dist/api/types.d.ts +2 -1
  6. package/dist/api/types.d.ts.map +1 -1
  7. package/dist/formatters/index.d.ts +2 -0
  8. package/dist/formatters/index.d.ts.map +1 -0
  9. package/dist/formatters/index.js +1 -0
  10. package/dist/formatters/tableRecord.d.ts +6 -0
  11. package/dist/formatters/tableRecord.d.ts.map +1 -0
  12. package/dist/formatters/tableRecord.js +23 -0
  13. package/dist/index.cjs +1828 -35
  14. package/dist/index.d.mts +633 -59
  15. package/dist/index.d.ts +13 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +13 -0
  18. package/dist/index.mjs +1807 -36
  19. package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
  20. package/dist/plugins/deleteClientCredentials/index.js +1 -1
  21. package/dist/plugins/registry/index.d.ts.map +1 -1
  22. package/dist/plugins/registry/index.js +4 -0
  23. package/dist/plugins/tables/createTable/index.d.ts +18 -0
  24. package/dist/plugins/tables/createTable/index.d.ts.map +1 -0
  25. package/dist/plugins/tables/createTable/index.js +48 -0
  26. package/dist/plugins/tables/createTable/schemas.d.ts +37 -0
  27. package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -0
  28. package/dist/plugins/tables/createTable/schemas.js +16 -0
  29. package/dist/plugins/tables/createTableFields/index.d.ts +18 -0
  30. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -0
  31. package/dist/plugins/tables/createTableFields/index.js +49 -0
  32. package/dist/plugins/tables/createTableFields/schemas.d.ts +192 -0
  33. package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -0
  34. package/dist/plugins/tables/createTableFields/schemas.js +42 -0
  35. package/dist/plugins/tables/createTableRecords/index.d.ts +18 -0
  36. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -0
  37. package/dist/plugins/tables/createTableRecords/index.js +67 -0
  38. package/dist/plugins/tables/createTableRecords/schemas.d.ts +57 -0
  39. package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -0
  40. package/dist/plugins/tables/createTableRecords/schemas.js +35 -0
  41. package/dist/plugins/tables/deleteTable/index.d.ts +18 -0
  42. package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -0
  43. package/dist/plugins/tables/deleteTable/index.js +43 -0
  44. package/dist/plugins/tables/deleteTable/schemas.d.ts +15 -0
  45. package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -0
  46. package/dist/plugins/tables/deleteTable/schemas.js +9 -0
  47. package/dist/plugins/tables/deleteTableFields/index.d.ts +18 -0
  48. package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -0
  49. package/dist/plugins/tables/deleteTableFields/index.js +50 -0
  50. package/dist/plugins/tables/deleteTableFields/schemas.d.ts +16 -0
  51. package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -0
  52. package/dist/plugins/tables/deleteTableFields/schemas.js +13 -0
  53. package/dist/plugins/tables/deleteTableRecords/index.d.ts +18 -0
  54. package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -0
  55. package/dist/plugins/tables/deleteTableRecords/index.js +44 -0
  56. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +16 -0
  57. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -0
  58. package/dist/plugins/tables/deleteTableRecords/schemas.js +14 -0
  59. package/dist/plugins/tables/getTable/index.d.ts +20 -0
  60. package/dist/plugins/tables/getTable/index.d.ts.map +1 -0
  61. package/dist/plugins/tables/getTable/index.js +48 -0
  62. package/dist/plugins/tables/getTable/schemas.d.ts +34 -0
  63. package/dist/plugins/tables/getTable/schemas.d.ts.map +1 -0
  64. package/dist/plugins/tables/getTable/schemas.js +15 -0
  65. package/dist/plugins/tables/getTableRecord/index.d.ts +18 -0
  66. package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -0
  67. package/dist/plugins/tables/getTableRecord/index.js +60 -0
  68. package/dist/plugins/tables/getTableRecord/schemas.d.ts +51 -0
  69. package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -0
  70. package/dist/plugins/tables/getTableRecord/schemas.js +44 -0
  71. package/dist/plugins/tables/listTableFields/index.d.ts +18 -0
  72. package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -0
  73. package/dist/plugins/tables/listTableFields/index.js +58 -0
  74. package/dist/plugins/tables/listTableFields/schemas.d.ts +180 -0
  75. package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -0
  76. package/dist/plugins/tables/listTableFields/schemas.js +77 -0
  77. package/dist/plugins/tables/listTableRecords/index.d.ts +24 -0
  78. package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -0
  79. package/dist/plugins/tables/listTableRecords/index.js +95 -0
  80. package/dist/plugins/tables/listTableRecords/schemas.d.ts +120 -0
  81. package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -0
  82. package/dist/plugins/tables/listTableRecords/schemas.js +74 -0
  83. package/dist/plugins/tables/listTables/index.d.ts +24 -0
  84. package/dist/plugins/tables/listTables/index.d.ts.map +1 -0
  85. package/dist/plugins/tables/listTables/index.js +83 -0
  86. package/dist/plugins/tables/listTables/schemas.d.ts +78 -0
  87. package/dist/plugins/tables/listTables/schemas.d.ts.map +1 -0
  88. package/dist/plugins/tables/listTables/schemas.js +63 -0
  89. package/dist/plugins/tables/updateTableRecords/index.d.ts +18 -0
  90. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -0
  91. package/dist/plugins/tables/updateTableRecords/index.js +68 -0
  92. package/dist/plugins/tables/updateTableRecords/schemas.d.ts +59 -0
  93. package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -0
  94. package/dist/plugins/tables/updateTableRecords/schemas.js +35 -0
  95. package/dist/plugins/tables/utils.d.ts +63 -0
  96. package/dist/plugins/tables/utils.d.ts.map +1 -0
  97. package/dist/plugins/tables/utils.js +262 -0
  98. package/dist/resolvers/index.d.ts +8 -0
  99. package/dist/resolvers/index.d.ts.map +1 -1
  100. package/dist/resolvers/index.js +8 -0
  101. package/dist/resolvers/tableFieldIds.d.ts +6 -0
  102. package/dist/resolvers/tableFieldIds.d.ts.map +1 -0
  103. package/dist/resolvers/tableFieldIds.js +19 -0
  104. package/dist/resolvers/tableFields.d.ts +3 -0
  105. package/dist/resolvers/tableFields.d.ts.map +1 -0
  106. package/dist/resolvers/tableFields.js +31 -0
  107. package/dist/resolvers/tableFilters.d.ts +5 -0
  108. package/dist/resolvers/tableFilters.d.ts.map +1 -0
  109. package/dist/resolvers/tableFilters.js +74 -0
  110. package/dist/resolvers/tableId.d.ts +4 -0
  111. package/dist/resolvers/tableId.d.ts.map +1 -0
  112. package/dist/resolvers/tableId.js +19 -0
  113. package/dist/resolvers/tableName.d.ts +3 -0
  114. package/dist/resolvers/tableName.d.ts.map +1 -0
  115. package/dist/resolvers/tableName.js +5 -0
  116. package/dist/resolvers/tableRecordId.d.ts +9 -0
  117. package/dist/resolvers/tableRecordId.d.ts.map +1 -0
  118. package/dist/resolvers/tableRecordId.js +48 -0
  119. package/dist/resolvers/tableRecords.d.ts +8 -0
  120. package/dist/resolvers/tableRecords.d.ts.map +1 -0
  121. package/dist/resolvers/tableRecords.js +77 -0
  122. package/dist/resolvers/tableSort.d.ts +5 -0
  123. package/dist/resolvers/tableSort.d.ts.map +1 -0
  124. package/dist/resolvers/tableSort.js +43 -0
  125. package/dist/sdk.d.ts +73 -1
  126. package/dist/sdk.d.ts.map +1 -1
  127. package/dist/sdk.js +25 -0
  128. package/dist/types/sdk.d.ts +16 -1
  129. package/dist/types/sdk.d.ts.map +1 -1
  130. package/dist/utils/pagination-utils.d.ts +24 -0
  131. package/dist/utils/pagination-utils.d.ts.map +1 -1
  132. package/dist/utils/pagination-utils.js +78 -0
  133. package/dist/utils/schema-utils.d.ts +33 -5
  134. package/dist/utils/schema-utils.d.ts.map +1 -1
  135. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -852,7 +852,8 @@ interface ApiClient {
852
852
  get: <T = unknown>(path: string, options?: RequestOptions) => Promise<T>;
853
853
  post: <T = unknown>(path: string, data?: unknown, options?: RequestOptions) => Promise<T>;
854
854
  put: <T = unknown>(path: string, data?: unknown, options?: RequestOptions) => Promise<T>;
855
- delete: <T = unknown>(path: string, options?: RequestOptions) => Promise<T>;
855
+ patch: <T = unknown>(path: string, data?: unknown, options?: RequestOptions) => Promise<T>;
856
+ delete: <T = unknown>(path: string, data?: unknown, options?: RequestOptions) => Promise<T>;
856
857
  poll: <T = unknown>(path: string, options?: PollOptions) => Promise<T>;
857
858
  fetch: (path: string, init?: RequestInit & {
858
859
  searchParams?: Record<string, string>;
@@ -2061,6 +2062,443 @@ declare const requestPlugin: Plugin<GetSdkType<FetchPluginProvides>, // requires
2061
2062
  EventEmissionContext, // requires eventEmission context for telemetry
2062
2063
  RequestPluginProvides>;
2063
2064
 
2065
+ declare const TableItemSchema: z.ZodObject<{
2066
+ id: z.ZodString;
2067
+ name: z.ZodString;
2068
+ description: z.ZodOptional<z.ZodString>;
2069
+ created_at: z.ZodString;
2070
+ edited_at: z.ZodString;
2071
+ kind: z.ZodEnum<{
2072
+ table: "table";
2073
+ virtual_table: "virtual_table";
2074
+ }>;
2075
+ owner_account_id: z.ZodString;
2076
+ profile_id: z.ZodString;
2077
+ parent_table_id: z.ZodOptional<z.ZodString>;
2078
+ }, z.core.$strip>;
2079
+ type TableItem = z.infer<typeof TableItemSchema>;
2080
+ declare const ListTablesOptionsSchema: z.ZodObject<{
2081
+ tableIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2082
+ kind: z.ZodOptional<z.ZodEnum<{
2083
+ table: "table";
2084
+ virtual_table: "virtual_table";
2085
+ both: "both";
2086
+ }>>;
2087
+ search: z.ZodOptional<z.ZodString>;
2088
+ owner: z.ZodOptional<z.ZodString>;
2089
+ pageSize: z.ZodOptional<z.ZodNumber>;
2090
+ maxItems: z.ZodOptional<z.ZodNumber>;
2091
+ cursor: z.ZodOptional<z.ZodString>;
2092
+ }, z.core.$strip>;
2093
+ type ListTablesOptions = z.infer<typeof ListTablesOptionsSchema>;
2094
+
2095
+ interface ListTablesPluginProvides {
2096
+ listTables: (options?: ListTablesOptions) => Promise<{
2097
+ data: TableItem[];
2098
+ nextCursor?: string;
2099
+ }> & AsyncIterable<{
2100
+ data: TableItem[];
2101
+ nextCursor?: string;
2102
+ }> & {
2103
+ items(): AsyncIterable<TableItem>;
2104
+ };
2105
+ context: {
2106
+ meta: {
2107
+ listTables: {
2108
+ inputSchema: typeof ListTablesOptionsSchema;
2109
+ };
2110
+ };
2111
+ };
2112
+ }
2113
+ declare const listTablesPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext, ListTablesPluginProvides>;
2114
+
2115
+ declare const GetTableOptionsSchema: z.ZodObject<{
2116
+ tableId: z.ZodString;
2117
+ }, z.core.$strip>;
2118
+ type GetTableOptions = z.infer<typeof GetTableOptionsSchema>;
2119
+
2120
+ interface GetTablePluginProvides {
2121
+ getTable: (options: GetTableOptions) => Promise<{
2122
+ data: TableItem;
2123
+ }>;
2124
+ context: {
2125
+ meta: {
2126
+ getTable: {
2127
+ inputSchema: typeof GetTableOptionsSchema;
2128
+ };
2129
+ };
2130
+ };
2131
+ }
2132
+ declare const getTablePlugin: Plugin<{}, {
2133
+ api: ApiClient;
2134
+ } & EventEmissionContext, GetTablePluginProvides>;
2135
+
2136
+ declare const DeleteTableOptionsSchema: z.ZodObject<{
2137
+ tableId: z.ZodString;
2138
+ }, z.core.$strip>;
2139
+ type DeleteTableOptions = z.infer<typeof DeleteTableOptionsSchema> & FunctionOptions;
2140
+ interface DeleteTableResult {
2141
+ success: boolean;
2142
+ }
2143
+
2144
+ interface DeleteTablePluginProvides {
2145
+ deleteTable: (options: DeleteTableOptions) => Promise<DeleteTableResult>;
2146
+ context: {
2147
+ meta: {
2148
+ deleteTable: {
2149
+ inputSchema: typeof DeleteTableOptionsSchema;
2150
+ };
2151
+ };
2152
+ };
2153
+ }
2154
+ declare const deleteTablePlugin: Plugin<{}, {
2155
+ api: ApiClient;
2156
+ } & EventEmissionContext, DeleteTablePluginProvides>;
2157
+
2158
+ declare const CreateTableOptionsSchema: z.ZodObject<{
2159
+ name: z.ZodString;
2160
+ description: z.ZodOptional<z.ZodString>;
2161
+ }, z.core.$strip>;
2162
+ type CreateTableOptions = z.infer<typeof CreateTableOptionsSchema> & FunctionOptions;
2163
+ interface CreateTableResult {
2164
+ data: TableItem;
2165
+ }
2166
+
2167
+ interface CreateTablePluginProvides {
2168
+ createTable: (options: CreateTableOptions) => Promise<CreateTableResult>;
2169
+ context: {
2170
+ meta: {
2171
+ createTable: {
2172
+ inputSchema: typeof CreateTableOptionsSchema;
2173
+ };
2174
+ };
2175
+ };
2176
+ }
2177
+ declare const createTablePlugin: Plugin<{}, {
2178
+ api: ApiClient;
2179
+ } & EventEmissionContext, CreateTablePluginProvides>;
2180
+
2181
+ declare const FieldItemSchema: z.ZodObject<{
2182
+ id: z.ZodString;
2183
+ type: z.ZodEnum<{
2184
+ string: "string";
2185
+ number: "number";
2186
+ boolean: "boolean";
2187
+ link: "link";
2188
+ email: "email";
2189
+ uuid: "uuid";
2190
+ text: "text";
2191
+ datetime: "datetime";
2192
+ decimal: "decimal";
2193
+ json: "json";
2194
+ multiple_string: "multiple_string";
2195
+ labeled_string: "labeled_string";
2196
+ multiple_labeled_string: "multiple_labeled_string";
2197
+ multiple_text: "multiple_text";
2198
+ multiple_boolean: "multiple_boolean";
2199
+ multiple_number: "multiple_number";
2200
+ multiple_decimal: "multiple_decimal";
2201
+ multiple_datetime: "multiple_datetime";
2202
+ multiple_uuid: "multiple_uuid";
2203
+ multiple_json: "multiple_json";
2204
+ formula: "formula";
2205
+ button_trigger_zap: "button_trigger_zap";
2206
+ button_continue_zap: "button_continue_zap";
2207
+ multiple_email: "multiple_email";
2208
+ multiple_link: "multiple_link";
2209
+ currency: "currency";
2210
+ phone_number: "phone_number";
2211
+ ai_formula: "ai_formula";
2212
+ linked_record: "linked_record";
2213
+ multiple_linked_record: "multiple_linked_record";
2214
+ }>;
2215
+ name: z.ZodString;
2216
+ created_at: z.ZodOptional<z.ZodString>;
2217
+ edited_at: z.ZodOptional<z.ZodString>;
2218
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2219
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2220
+ }, z.core.$strip>;
2221
+ type FieldItem = z.infer<typeof FieldItemSchema>;
2222
+ declare const ListTableFieldsOptionsSchema: z.ZodObject<{
2223
+ tableId: z.ZodString;
2224
+ fieldKeys: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
2225
+ }, z.core.$strip>;
2226
+ type ListTableFieldsOptions = z.infer<typeof ListTableFieldsOptionsSchema> & FunctionOptions;
2227
+ interface ListTableFieldsResult {
2228
+ data: FieldItem[];
2229
+ }
2230
+
2231
+ interface ListTableFieldsPluginProvides {
2232
+ listTableFields: (options: ListTableFieldsOptions) => Promise<ListTableFieldsResult>;
2233
+ context: {
2234
+ meta: {
2235
+ listTableFields: {
2236
+ inputSchema: typeof ListTableFieldsOptionsSchema;
2237
+ };
2238
+ };
2239
+ };
2240
+ }
2241
+ declare const listTableFieldsPlugin: Plugin<{}, {
2242
+ api: ApiClient;
2243
+ } & EventEmissionContext, ListTableFieldsPluginProvides>;
2244
+
2245
+ declare const CreateTableFieldsOptionsSchema: z.ZodObject<{
2246
+ tableId: z.ZodString;
2247
+ fields: z.ZodArray<z.ZodObject<{
2248
+ type: z.ZodEnum<{
2249
+ string: "string";
2250
+ number: "number";
2251
+ boolean: "boolean";
2252
+ link: "link";
2253
+ email: "email";
2254
+ uuid: "uuid";
2255
+ text: "text";
2256
+ datetime: "datetime";
2257
+ decimal: "decimal";
2258
+ json: "json";
2259
+ multiple_string: "multiple_string";
2260
+ labeled_string: "labeled_string";
2261
+ multiple_labeled_string: "multiple_labeled_string";
2262
+ multiple_text: "multiple_text";
2263
+ multiple_boolean: "multiple_boolean";
2264
+ multiple_number: "multiple_number";
2265
+ multiple_decimal: "multiple_decimal";
2266
+ multiple_datetime: "multiple_datetime";
2267
+ multiple_uuid: "multiple_uuid";
2268
+ multiple_json: "multiple_json";
2269
+ formula: "formula";
2270
+ button_trigger_zap: "button_trigger_zap";
2271
+ button_continue_zap: "button_continue_zap";
2272
+ multiple_email: "multiple_email";
2273
+ multiple_link: "multiple_link";
2274
+ currency: "currency";
2275
+ phone_number: "phone_number";
2276
+ ai_formula: "ai_formula";
2277
+ linked_record: "linked_record";
2278
+ multiple_linked_record: "multiple_linked_record";
2279
+ }>;
2280
+ name: z.ZodString;
2281
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2282
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2283
+ }, z.core.$strip>>;
2284
+ }, z.core.$strip>;
2285
+ type CreateTableFieldsOptions = z.infer<typeof CreateTableFieldsOptionsSchema> & FunctionOptions;
2286
+ interface CreateTableFieldsResult {
2287
+ data: FieldItem[];
2288
+ }
2289
+
2290
+ interface CreateTableFieldsPluginProvides {
2291
+ createTableFields: (options: CreateTableFieldsOptions) => Promise<CreateTableFieldsResult>;
2292
+ context: {
2293
+ meta: {
2294
+ createTableFields: {
2295
+ inputSchema: typeof CreateTableFieldsOptionsSchema;
2296
+ };
2297
+ };
2298
+ };
2299
+ }
2300
+ declare const createTableFieldsPlugin: Plugin<{}, {
2301
+ api: ApiClient;
2302
+ } & EventEmissionContext, CreateTableFieldsPluginProvides>;
2303
+
2304
+ declare const DeleteTableFieldsOptionsSchema: z.ZodObject<{
2305
+ tableId: z.ZodString;
2306
+ fieldKeys: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
2307
+ }, z.core.$strip>;
2308
+ type DeleteTableFieldsOptions = z.infer<typeof DeleteTableFieldsOptionsSchema> & FunctionOptions;
2309
+ interface DeleteTableFieldsResult {
2310
+ success: boolean;
2311
+ }
2312
+
2313
+ interface DeleteTableFieldsPluginProvides {
2314
+ deleteTableFields: (options: DeleteTableFieldsOptions) => Promise<DeleteTableFieldsResult>;
2315
+ context: {
2316
+ meta: {
2317
+ deleteTableFields: {
2318
+ inputSchema: typeof DeleteTableFieldsOptionsSchema;
2319
+ };
2320
+ };
2321
+ };
2322
+ }
2323
+ declare const deleteTableFieldsPlugin: Plugin<{}, {
2324
+ api: ApiClient;
2325
+ } & EventEmissionContext, DeleteTableFieldsPluginProvides>;
2326
+
2327
+ declare const RecordItemSchema: z.ZodObject<{
2328
+ id: z.ZodString;
2329
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2330
+ created_at: z.ZodString;
2331
+ edited_at: z.ZodString;
2332
+ }, z.core.$strip>;
2333
+ type RecordItem = z.infer<typeof RecordItemSchema>;
2334
+ declare const GetTableRecordOptionsSchema: z.ZodObject<{
2335
+ tableId: z.ZodString;
2336
+ recordId: z.ZodString;
2337
+ keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2338
+ names: "names";
2339
+ ids: "ids";
2340
+ }>>>;
2341
+ }, z.core.$strip>;
2342
+ type GetTableRecordOptions = z.infer<typeof GetTableRecordOptionsSchema> & FunctionOptions;
2343
+ interface GetTableRecordResult {
2344
+ data: RecordItem;
2345
+ }
2346
+
2347
+ interface GetTableRecordPluginProvides {
2348
+ getTableRecord: (options: GetTableRecordOptions) => Promise<GetTableRecordResult>;
2349
+ context: {
2350
+ meta: {
2351
+ getTableRecord: {
2352
+ inputSchema: typeof GetTableRecordOptionsSchema;
2353
+ };
2354
+ };
2355
+ };
2356
+ }
2357
+ declare const getTableRecordPlugin: Plugin<{}, {
2358
+ api: ApiClient;
2359
+ } & EventEmissionContext, GetTableRecordPluginProvides>;
2360
+
2361
+ declare const ListTableRecordsOptionsSchema: z.ZodObject<{
2362
+ tableId: z.ZodString;
2363
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2364
+ fieldKey: z.ZodString;
2365
+ operator: z.ZodEnum<{
2366
+ in: "in";
2367
+ search: "search";
2368
+ contains: "contains";
2369
+ exact: "exact";
2370
+ different: "different";
2371
+ icontains: "icontains";
2372
+ gte: "gte";
2373
+ gt: "gt";
2374
+ lt: "lt";
2375
+ lte: "lte";
2376
+ range: "range";
2377
+ isnull: "isnull";
2378
+ startswith: "startswith";
2379
+ is_within: "is_within";
2380
+ }>;
2381
+ value: z.ZodOptional<z.ZodUnknown>;
2382
+ }, z.core.$strip>>>;
2383
+ sort: z.ZodOptional<z.ZodObject<{
2384
+ fieldKey: z.ZodString;
2385
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2386
+ asc: "asc";
2387
+ desc: "desc";
2388
+ }>>>;
2389
+ }, z.core.$strip>>;
2390
+ pageSize: z.ZodOptional<z.ZodNumber>;
2391
+ maxItems: z.ZodOptional<z.ZodNumber>;
2392
+ cursor: z.ZodOptional<z.ZodString>;
2393
+ keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2394
+ names: "names";
2395
+ ids: "ids";
2396
+ }>>>;
2397
+ }, z.core.$strip>;
2398
+ type ListTableRecordsOptions = z.infer<typeof ListTableRecordsOptionsSchema>;
2399
+
2400
+ interface ListTableRecordsPluginProvides {
2401
+ listTableRecords: (options: ListTableRecordsOptions) => Promise<{
2402
+ data: RecordItem[];
2403
+ nextCursor?: string;
2404
+ }> & AsyncIterable<{
2405
+ data: RecordItem[];
2406
+ nextCursor?: string;
2407
+ }> & {
2408
+ items(): AsyncIterable<RecordItem>;
2409
+ };
2410
+ context: {
2411
+ meta: {
2412
+ listTableRecords: {
2413
+ inputSchema: typeof ListTableRecordsOptionsSchema;
2414
+ };
2415
+ };
2416
+ };
2417
+ }
2418
+ declare const listTableRecordsPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext, ListTableRecordsPluginProvides>;
2419
+
2420
+ declare const CreateTableRecordsOptionsSchema: z.ZodObject<{
2421
+ tableId: z.ZodString;
2422
+ records: z.ZodArray<z.ZodObject<{
2423
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2424
+ }, z.core.$strip>>;
2425
+ keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2426
+ names: "names";
2427
+ ids: "ids";
2428
+ }>>>;
2429
+ }, z.core.$strip>;
2430
+ type CreateTableRecordsOptions = z.infer<typeof CreateTableRecordsOptionsSchema> & FunctionOptions;
2431
+ interface CreateTableRecordsResult {
2432
+ data: RecordItem[];
2433
+ }
2434
+
2435
+ interface CreateTableRecordsPluginProvides {
2436
+ createTableRecords: (options: CreateTableRecordsOptions) => Promise<CreateTableRecordsResult>;
2437
+ context: {
2438
+ meta: {
2439
+ createTableRecords: {
2440
+ inputSchema: typeof CreateTableRecordsOptionsSchema;
2441
+ };
2442
+ };
2443
+ };
2444
+ }
2445
+ declare const createTableRecordsPlugin: Plugin<{}, {
2446
+ api: ApiClient;
2447
+ } & EventEmissionContext, CreateTableRecordsPluginProvides>;
2448
+
2449
+ declare const DeleteTableRecordsOptionsSchema: z.ZodObject<{
2450
+ tableId: z.ZodString;
2451
+ recordIds: z.ZodArray<z.ZodString>;
2452
+ }, z.core.$strip>;
2453
+ type DeleteTableRecordsOptions = z.infer<typeof DeleteTableRecordsOptionsSchema> & FunctionOptions;
2454
+ interface DeleteTableRecordsResult {
2455
+ success: boolean;
2456
+ }
2457
+
2458
+ interface DeleteTableRecordsPluginProvides {
2459
+ deleteTableRecords: (options: DeleteTableRecordsOptions) => Promise<DeleteTableRecordsResult>;
2460
+ context: {
2461
+ meta: {
2462
+ deleteTableRecords: {
2463
+ inputSchema: typeof DeleteTableRecordsOptionsSchema;
2464
+ };
2465
+ };
2466
+ };
2467
+ }
2468
+ declare const deleteTableRecordsPlugin: Plugin<{}, {
2469
+ api: ApiClient;
2470
+ } & EventEmissionContext, DeleteTableRecordsPluginProvides>;
2471
+
2472
+ declare const UpdateTableRecordsOptionsSchema: z.ZodObject<{
2473
+ tableId: z.ZodString;
2474
+ records: z.ZodArray<z.ZodObject<{
2475
+ id: z.ZodString;
2476
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2477
+ }, z.core.$strip>>;
2478
+ keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2479
+ names: "names";
2480
+ ids: "ids";
2481
+ }>>>;
2482
+ }, z.core.$strip>;
2483
+ type UpdateTableRecordsOptions = z.infer<typeof UpdateTableRecordsOptionsSchema> & FunctionOptions;
2484
+ interface UpdateTableRecordsResult {
2485
+ data: RecordItem[];
2486
+ }
2487
+
2488
+ interface UpdateTableRecordsPluginProvides {
2489
+ updateTableRecords: (options: UpdateTableRecordsOptions) => Promise<UpdateTableRecordsResult>;
2490
+ context: {
2491
+ meta: {
2492
+ updateTableRecords: {
2493
+ inputSchema: typeof UpdateTableRecordsOptionsSchema;
2494
+ };
2495
+ };
2496
+ };
2497
+ }
2498
+ declare const updateTableRecordsPlugin: Plugin<{}, {
2499
+ api: ApiClient;
2500
+ } & EventEmissionContext, UpdateTableRecordsPluginProvides>;
2501
+
2064
2502
  /**
2065
2503
  * SDK-related types and interfaces
2066
2504
  */
@@ -2156,6 +2594,8 @@ interface FunctionRegistryEntry {
2156
2594
  deprecatedParameters?: string[];
2157
2595
  /** Short flag aliases for CLI options (e.g., { request: "X", header: "H" }) */
2158
2596
  aliases?: Record<string, string>;
2597
+ /** Output formatter with optional page-level enrichment (mirrors resolvers for output) */
2598
+ formatter?: OutputFormatter;
2159
2599
  /** Defaults to true. Set to false to suppress --json (e.g. login/logout/init). */
2160
2600
  supportsJsonOutput: boolean;
2161
2601
  }
@@ -2163,62 +2603,10 @@ interface FunctionDeprecation {
2163
2603
  /** User-facing deprecation message for why/how to migrate */
2164
2604
  message: string;
2165
2605
  }
2166
- interface ZapierSdk extends GetSdkType<RegistryPluginProvides & FetchPluginProvides & AppsPluginProvides & ListAppsPluginProvides & ManifestPluginProvides & GetAppPluginProvides & ListActionsPluginProvides & GetActionPluginProvides & RunActionPluginProvides & ListConnectionsPluginProvides & GetConnectionPluginProvides & FindFirstConnectionPluginProvides & FindUniqueConnectionPluginProvides & ListAuthenticationsPluginProvides & GetAuthenticationPluginProvides & FindFirstAuthenticationPluginProvides & FindUniqueAuthenticationPluginProvides & ListClientCredentialsPluginProvides & CreateClientCredentialsPluginProvides & DeleteClientCredentialsPluginProvides & ListInputFieldsPluginProvides & GetInputFieldsSchemaPluginProvides & ListInputFieldChoicesPluginProvides & RequestPluginProvides & GetProfilePluginProvides & EventEmissionProvides & ApiPluginProvides> {
2606
+ interface ZapierSdk extends GetSdkType<RegistryPluginProvides & FetchPluginProvides & AppsPluginProvides & ListAppsPluginProvides & ManifestPluginProvides & GetAppPluginProvides & ListActionsPluginProvides & GetActionPluginProvides & RunActionPluginProvides & ListConnectionsPluginProvides & GetConnectionPluginProvides & FindFirstConnectionPluginProvides & FindUniqueConnectionPluginProvides & ListAuthenticationsPluginProvides & GetAuthenticationPluginProvides & FindFirstAuthenticationPluginProvides & FindUniqueAuthenticationPluginProvides & ListClientCredentialsPluginProvides & CreateClientCredentialsPluginProvides & DeleteClientCredentialsPluginProvides & ListInputFieldsPluginProvides & GetInputFieldsSchemaPluginProvides & ListInputFieldChoicesPluginProvides & RequestPluginProvides & GetProfilePluginProvides & EventEmissionProvides & ApiPluginProvides & ListTablesPluginProvides & GetTablePluginProvides & DeleteTablePluginProvides & CreateTablePluginProvides & ListTableFieldsPluginProvides & CreateTableFieldsPluginProvides & DeleteTableFieldsPluginProvides & GetTableRecordPluginProvides & ListTableRecordsPluginProvides & CreateTableRecordsPluginProvides & DeleteTableRecordsPluginProvides & UpdateTableRecordsPluginProvides> {
2167
2607
  apps: ActionProxy & ZapierSdkApps;
2168
2608
  }
2169
2609
 
2170
- declare const InputFieldItemSchema: z.ZodObject<{
2171
- key: z.ZodString;
2172
- type: z.ZodLiteral<"input_field">;
2173
- default_value: z.ZodString;
2174
- depends_on: z.ZodArray<z.ZodString>;
2175
- description: z.ZodString;
2176
- invalidates_input_fields: z.ZodBoolean;
2177
- is_required: z.ZodBoolean;
2178
- placeholder: z.ZodString;
2179
- title: z.ZodString;
2180
- value_type: z.ZodString;
2181
- format: z.ZodOptional<z.ZodString>;
2182
- items: z.ZodOptional<z.ZodObject<{
2183
- type: z.ZodString;
2184
- }, z.core.$strip>>;
2185
- }, z.core.$strip>;
2186
- declare const InfoFieldItemSchema: z.ZodObject<{
2187
- key: z.ZodString;
2188
- type: z.ZodLiteral<"info_field">;
2189
- description: z.ZodString;
2190
- title: z.ZodOptional<z.ZodString>;
2191
- }, z.core.$strip>;
2192
- type FieldsetItemType = z.infer<typeof InputFieldItemSchema> | z.infer<typeof InfoFieldItemSchema> | FieldsetItem;
2193
- interface FieldsetItem {
2194
- type: "fieldset";
2195
- key: string;
2196
- title: string;
2197
- fields: FieldsetItemType[];
2198
- }
2199
- declare const RootFieldItemSchema: z.ZodUnion<readonly [z.ZodObject<{
2200
- key: z.ZodString;
2201
- type: z.ZodLiteral<"input_field">;
2202
- default_value: z.ZodString;
2203
- depends_on: z.ZodArray<z.ZodString>;
2204
- description: z.ZodString;
2205
- invalidates_input_fields: z.ZodBoolean;
2206
- is_required: z.ZodBoolean;
2207
- placeholder: z.ZodString;
2208
- title: z.ZodString;
2209
- value_type: z.ZodString;
2210
- format: z.ZodOptional<z.ZodString>;
2211
- items: z.ZodOptional<z.ZodObject<{
2212
- type: z.ZodString;
2213
- }, z.core.$strip>>;
2214
- }, z.core.$strip>, z.ZodObject<{
2215
- key: z.ZodString;
2216
- type: z.ZodLiteral<"info_field">;
2217
- description: z.ZodString;
2218
- title: z.ZodOptional<z.ZodString>;
2219
- }, z.core.$strip>, z.ZodType<FieldsetItem, unknown, z.core.$ZodTypeInternals<FieldsetItem, unknown>>]>;
2220
- type InputFieldItem$1 = z.infer<typeof InputFieldItemSchema>;
2221
-
2222
2610
  interface FormattedItem {
2223
2611
  title: string;
2224
2612
  id?: string;
@@ -2227,6 +2615,7 @@ interface FormattedItem {
2227
2615
  description?: string;
2228
2616
  data?: unknown;
2229
2617
  details: Array<{
2618
+ label?: string;
2230
2619
  text: string;
2231
2620
  style: "normal" | "dim" | "accent" | "warning" | "success";
2232
2621
  }>;
@@ -2234,6 +2623,10 @@ interface FormattedItem {
2234
2623
  interface FormatMetadata<TItem = unknown> {
2235
2624
  format: (item: TItem) => FormattedItem;
2236
2625
  }
2626
+ interface OutputFormatter<TItem = unknown, TParams = Record<string, unknown>, TContext = unknown> {
2627
+ fetch?: (sdk: ZapierSdk, params: TParams, item: TItem, context: TContext | undefined) => Promise<TContext>;
2628
+ format: (item: TItem, context?: TContext) => FormattedItem;
2629
+ }
2237
2630
  interface PromptConfig {
2238
2631
  type: "list" | "checkbox" | "confirm";
2239
2632
  name: string;
@@ -2244,6 +2637,7 @@ interface PromptConfig {
2244
2637
  }>;
2245
2638
  default?: unknown;
2246
2639
  filter?: (value: unknown) => unknown;
2640
+ validate?: (value: unknown) => boolean | string;
2247
2641
  }
2248
2642
  interface Resolver {
2249
2643
  type: string;
@@ -2256,7 +2650,10 @@ interface StaticResolver extends Resolver {
2256
2650
  }
2257
2651
  interface DynamicResolver<TItem = unknown, TParams = Record<string, unknown>> extends Resolver {
2258
2652
  type: "dynamic";
2259
- fetch: (sdk: ZapierSdk, resolvedParams: TParams) => Promise<TItem[]>;
2653
+ fetch: (sdk: ZapierSdk, resolvedParams: TParams) => PromiseLike<TItem[] | {
2654
+ data: TItem[];
2655
+ nextCursor?: string;
2656
+ }>;
2260
2657
  prompt: (items: TItem[], params: TParams) => PromptConfig;
2261
2658
  /**
2262
2659
  * Optional hook called before fetch/prompt. If it returns a non-null object,
@@ -2269,10 +2666,31 @@ interface DynamicResolver<TItem = unknown, TParams = Record<string, unknown>> ex
2269
2666
  resolvedValue: unknown;
2270
2667
  } | null>;
2271
2668
  }
2272
- interface FieldsResolver<TParams = Record<string, unknown>> extends Resolver {
2669
+ interface ResolverFieldItem {
2670
+ type: string;
2671
+ key: string;
2672
+ title?: string;
2673
+ is_required?: boolean;
2674
+ value_type?: string;
2675
+ choices?: Array<{
2676
+ label: string;
2677
+ value: string;
2678
+ }>;
2679
+ fields?: ResolverFieldItem[];
2680
+ resolver?: ResolverMetadata<any, any>;
2681
+ }
2682
+ interface FieldsResolver<TParams = Record<string, unknown>, TResult = Record<string, unknown>> extends Resolver {
2273
2683
  type: "fields";
2274
- fetch: (sdk: ZapierSdk, resolvedParams: TParams) => Promise<InputFieldItem$1[]>;
2684
+ fetch: (sdk: ZapierSdk, resolvedParams: TParams) => Promise<ResolverFieldItem[]>;
2685
+ transform?: (value: Record<string, unknown>) => TResult;
2686
+ }
2687
+ interface ArrayResolver<TParams = Record<string, unknown>> extends Resolver {
2688
+ type: "array";
2689
+ fetch: (sdk: ZapierSdk, resolvedParams: TParams) => Promise<ResolverMetadata<unknown, TParams>>;
2690
+ minItems?: number;
2691
+ maxItems?: number;
2275
2692
  }
2693
+ type ResolverMetadata<TItem = unknown, TParams = Record<string, unknown>> = StaticResolver | DynamicResolver<TItem, TParams> | FieldsResolver<TParams> | ArrayResolver<TParams>;
2276
2694
  interface PositionalMetadata {
2277
2695
  positionalMeta: {
2278
2696
  positional: true;
@@ -2384,6 +2802,58 @@ declare const ActionItemSchema: z.ZodObject<{
2384
2802
  type: z.ZodLiteral<"action">;
2385
2803
  }, z.core.$strip>;
2386
2804
 
2805
+ declare const InputFieldItemSchema: z.ZodObject<{
2806
+ key: z.ZodString;
2807
+ type: z.ZodLiteral<"input_field">;
2808
+ default_value: z.ZodString;
2809
+ depends_on: z.ZodArray<z.ZodString>;
2810
+ description: z.ZodString;
2811
+ invalidates_input_fields: z.ZodBoolean;
2812
+ is_required: z.ZodBoolean;
2813
+ placeholder: z.ZodString;
2814
+ title: z.ZodString;
2815
+ value_type: z.ZodString;
2816
+ format: z.ZodOptional<z.ZodString>;
2817
+ items: z.ZodOptional<z.ZodObject<{
2818
+ type: z.ZodString;
2819
+ }, z.core.$strip>>;
2820
+ }, z.core.$strip>;
2821
+ declare const InfoFieldItemSchema: z.ZodObject<{
2822
+ key: z.ZodString;
2823
+ type: z.ZodLiteral<"info_field">;
2824
+ description: z.ZodString;
2825
+ title: z.ZodOptional<z.ZodString>;
2826
+ }, z.core.$strip>;
2827
+ type FieldsetItemType = z.infer<typeof InputFieldItemSchema> | z.infer<typeof InfoFieldItemSchema> | FieldsetItem;
2828
+ interface FieldsetItem {
2829
+ type: "fieldset";
2830
+ key: string;
2831
+ title: string;
2832
+ fields: FieldsetItemType[];
2833
+ }
2834
+ declare const RootFieldItemSchema: z.ZodUnion<readonly [z.ZodObject<{
2835
+ key: z.ZodString;
2836
+ type: z.ZodLiteral<"input_field">;
2837
+ default_value: z.ZodString;
2838
+ depends_on: z.ZodArray<z.ZodString>;
2839
+ description: z.ZodString;
2840
+ invalidates_input_fields: z.ZodBoolean;
2841
+ is_required: z.ZodBoolean;
2842
+ placeholder: z.ZodString;
2843
+ title: z.ZodString;
2844
+ value_type: z.ZodString;
2845
+ format: z.ZodOptional<z.ZodString>;
2846
+ items: z.ZodOptional<z.ZodObject<{
2847
+ type: z.ZodString;
2848
+ }, z.core.$strip>>;
2849
+ }, z.core.$strip>, z.ZodObject<{
2850
+ key: z.ZodString;
2851
+ type: z.ZodLiteral<"info_field">;
2852
+ description: z.ZodString;
2853
+ title: z.ZodOptional<z.ZodString>;
2854
+ }, z.core.$strip>, z.ZodType<FieldsetItem, unknown, z.core.$ZodTypeInternals<FieldsetItem, unknown>>]>;
2855
+ type InputFieldItem$1 = z.infer<typeof InputFieldItemSchema>;
2856
+
2387
2857
  declare const UserProfileItemSchema: z.ZodObject<{
2388
2858
  id: z.ZodString;
2389
2859
  first_name: z.ZodString;
@@ -2619,6 +3089,38 @@ type ClientCredentialsItem = z.infer<typeof ClientCredentialsItemSchema>;
2619
3089
 
2620
3090
  declare const clientIdResolver: DynamicResolver<ClientCredentialsItem, {}>;
2621
3091
 
3092
+ declare const tableIdResolver: DynamicResolver<TableItem, {}>;
3093
+
3094
+ declare const tableRecordIdResolver: DynamicResolver<RecordItem, {
3095
+ tableId: string;
3096
+ }>;
3097
+ declare const tableRecordIdsResolver: DynamicResolver<RecordItem, {
3098
+ tableId: string;
3099
+ }>;
3100
+
3101
+ declare const tableFieldIdsResolver: DynamicResolver<FieldItem, {
3102
+ tableId: string;
3103
+ }>;
3104
+
3105
+ declare const tableNameResolver: StaticResolver;
3106
+
3107
+ declare const tableFieldsResolver: ArrayResolver;
3108
+
3109
+ declare const tableRecordsResolver: ArrayResolver<{
3110
+ tableId: string;
3111
+ }>;
3112
+ declare const tableUpdateRecordsResolver: ArrayResolver<{
3113
+ tableId: string;
3114
+ }>;
3115
+
3116
+ declare const tableFiltersResolver: ArrayResolver<{
3117
+ tableId: string;
3118
+ }>;
3119
+
3120
+ declare const tableSortResolver: FieldsResolver<{
3121
+ tableId: string;
3122
+ }>;
3123
+
2622
3124
  /**
2623
3125
  * Options for resolving auth tokens.
2624
3126
  */
@@ -2811,7 +3313,7 @@ declare function createSdk<TCurrentSdk = {}, TCurrentContext extends {
2811
3313
  getContext(): TCurrentContext;
2812
3314
  }, TRequiresContext, TProvides>, addPluginOptions?: Record<string, unknown>): Sdk<TCurrentSdk & ExtractSdkProperties<TProvides>, TCurrentContext & NonNullable<ExtractContextProperties<TProvides>>>;
2813
3315
  };
2814
- declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk<ExtractSdkProperties<EventEmissionProvides> & ExtractSdkProperties<ApiPluginProvides> & ExtractSdkProperties<ManifestPluginProvides> & ExtractSdkProperties<ListAppsPluginProvides> & ExtractSdkProperties<GetAppPluginProvides> & ExtractSdkProperties<ListActionsPluginProvides> & ExtractSdkProperties<GetActionPluginProvides> & ExtractSdkProperties<ListInputFieldsPluginProvides> & ExtractSdkProperties<GetInputFieldsSchemaPluginProvides> & ExtractSdkProperties<ListInputFieldChoicesPluginProvides> & ExtractSdkProperties<RunActionPluginProvides> & ExtractSdkProperties<ListConnectionsPluginProvides> & ExtractSdkProperties<GetConnectionPluginProvides> & ExtractSdkProperties<FindFirstConnectionPluginProvides> & ExtractSdkProperties<FindUniqueConnectionPluginProvides> & ExtractSdkProperties<ListAuthenticationsPluginProvides> & ExtractSdkProperties<GetAuthenticationPluginProvides> & ExtractSdkProperties<FindFirstAuthenticationPluginProvides> & ExtractSdkProperties<FindUniqueAuthenticationPluginProvides> & ExtractSdkProperties<ListClientCredentialsPluginProvides> & ExtractSdkProperties<CreateClientCredentialsPluginProvides> & ExtractSdkProperties<DeleteClientCredentialsPluginProvides> & ExtractSdkProperties<FetchPluginProvides> & ExtractSdkProperties<RequestPluginProvides> & ExtractSdkProperties<AppsPluginProvides> & ExtractSdkProperties<GetProfilePluginProvides>, {
3316
+ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk<ExtractSdkProperties<EventEmissionProvides> & ExtractSdkProperties<ApiPluginProvides> & ExtractSdkProperties<ManifestPluginProvides> & ExtractSdkProperties<ListAppsPluginProvides> & ExtractSdkProperties<GetAppPluginProvides> & ExtractSdkProperties<ListActionsPluginProvides> & ExtractSdkProperties<GetActionPluginProvides> & ExtractSdkProperties<ListInputFieldsPluginProvides> & ExtractSdkProperties<GetInputFieldsSchemaPluginProvides> & ExtractSdkProperties<ListInputFieldChoicesPluginProvides> & ExtractSdkProperties<RunActionPluginProvides> & ExtractSdkProperties<ListConnectionsPluginProvides> & ExtractSdkProperties<GetConnectionPluginProvides> & ExtractSdkProperties<FindFirstConnectionPluginProvides> & ExtractSdkProperties<FindUniqueConnectionPluginProvides> & ExtractSdkProperties<ListAuthenticationsPluginProvides> & ExtractSdkProperties<GetAuthenticationPluginProvides> & ExtractSdkProperties<FindFirstAuthenticationPluginProvides> & ExtractSdkProperties<FindUniqueAuthenticationPluginProvides> & ExtractSdkProperties<ListClientCredentialsPluginProvides> & ExtractSdkProperties<CreateClientCredentialsPluginProvides> & ExtractSdkProperties<DeleteClientCredentialsPluginProvides> & ExtractSdkProperties<FetchPluginProvides> & ExtractSdkProperties<RequestPluginProvides> & ExtractSdkProperties<ListTablesPluginProvides> & ExtractSdkProperties<GetTablePluginProvides> & ExtractSdkProperties<DeleteTablePluginProvides> & ExtractSdkProperties<CreateTablePluginProvides> & ExtractSdkProperties<ListTableFieldsPluginProvides> & ExtractSdkProperties<CreateTableFieldsPluginProvides> & ExtractSdkProperties<DeleteTableFieldsPluginProvides> & ExtractSdkProperties<GetTableRecordPluginProvides> & ExtractSdkProperties<ListTableRecordsPluginProvides> & ExtractSdkProperties<CreateTableRecordsPluginProvides> & ExtractSdkProperties<DeleteTableRecordsPluginProvides> & ExtractSdkProperties<UpdateTableRecordsPluginProvides> & ExtractSdkProperties<AppsPluginProvides> & ExtractSdkProperties<GetProfilePluginProvides>, {
2815
3317
  meta: Record<string, PluginMeta>;
2816
3318
  } & EventEmissionContext & {
2817
3319
  api: ApiClient;
@@ -2975,6 +3477,78 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
2975
3477
  inputSchema: typeof RelayRequestSchema;
2976
3478
  };
2977
3479
  };
3480
+ } & {
3481
+ meta: {
3482
+ listTables: {
3483
+ inputSchema: typeof ListTablesOptionsSchema;
3484
+ };
3485
+ };
3486
+ } & {
3487
+ meta: {
3488
+ getTable: {
3489
+ inputSchema: typeof GetTableOptionsSchema;
3490
+ };
3491
+ };
3492
+ } & {
3493
+ meta: {
3494
+ deleteTable: {
3495
+ inputSchema: typeof DeleteTableOptionsSchema;
3496
+ };
3497
+ };
3498
+ } & {
3499
+ meta: {
3500
+ createTable: {
3501
+ inputSchema: typeof CreateTableOptionsSchema;
3502
+ };
3503
+ };
3504
+ } & {
3505
+ meta: {
3506
+ listTableFields: {
3507
+ inputSchema: typeof ListTableFieldsOptionsSchema;
3508
+ };
3509
+ };
3510
+ } & {
3511
+ meta: {
3512
+ createTableFields: {
3513
+ inputSchema: typeof CreateTableFieldsOptionsSchema;
3514
+ };
3515
+ };
3516
+ } & {
3517
+ meta: {
3518
+ deleteTableFields: {
3519
+ inputSchema: typeof DeleteTableFieldsOptionsSchema;
3520
+ };
3521
+ };
3522
+ } & {
3523
+ meta: {
3524
+ getTableRecord: {
3525
+ inputSchema: typeof GetTableRecordOptionsSchema;
3526
+ };
3527
+ };
3528
+ } & {
3529
+ meta: {
3530
+ listTableRecords: {
3531
+ inputSchema: typeof ListTableRecordsOptionsSchema;
3532
+ };
3533
+ };
3534
+ } & {
3535
+ meta: {
3536
+ createTableRecords: {
3537
+ inputSchema: typeof CreateTableRecordsOptionsSchema;
3538
+ };
3539
+ };
3540
+ } & {
3541
+ meta: {
3542
+ deleteTableRecords: {
3543
+ inputSchema: typeof DeleteTableRecordsOptionsSchema;
3544
+ };
3545
+ };
3546
+ } & {
3547
+ meta: {
3548
+ updateTableRecords: {
3549
+ inputSchema: typeof UpdateTableRecordsOptionsSchema;
3550
+ };
3551
+ };
2978
3552
  } & {
2979
3553
  meta: {
2980
3554
  getProfile: {
@@ -2984,4 +3558,4 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
2984
3558
  }>;
2985
3559
  declare function createZapierSdk(options?: ZapierSdkOptions): ZapierSdk;
2986
3560
 
2987
- export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AuthEvent, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type BaseEvent, BaseSdkOptionsSchema, type BatchOptions, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsResolver, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindFirstConnectionPluginProvides, type FindUniqueAuthenticationPluginProvides, type FindUniqueConnectionPluginProvides, type FormatMetadata, type FormattedItem, type FunctionDeprecation, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetConnectionPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListConnectionsPluginProvides, type ListInputFieldsPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, PkceCredentialsObjectSchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, type RateLimitInfo, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, ResolvedCredentialsSchema, type Resolver, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type SdkPage, type StaticResolver, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UserProfile, type UserProfileItem, ZAPIER_BASE_URL, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, toSnakeCase, toTitleCase };
3561
+ export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type ArrayResolver, type AuthEvent, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type BaseEvent, BaseSdkOptionsSchema, type BatchOptions, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type CreateTableFieldsPluginProvides, type CreateTablePluginProvides, type CreateTableRecordsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DeleteTableFieldsPluginProvides, type DeleteTablePluginProvides, type DeleteTableRecordsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsResolver, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindFirstConnectionPluginProvides, type FindUniqueAuthenticationPluginProvides, type FindUniqueConnectionPluginProvides, type FormatMetadata, type FormattedItem, type FunctionDeprecation, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetConnectionPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type GetTablePluginProvides, type GetTableRecordPluginProvides, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListConnectionsPluginProvides, type ListInputFieldsPluginProvides, type ListTableFieldsPluginProvides, type ListTableRecordsPluginProvides, type ListTablesPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputFormatter, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, PkceCredentialsObjectSchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, type RateLimitInfo, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, ResolvedCredentialsSchema, type Resolver, type ResolverMetadata, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type SdkPage, type StaticResolver, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UpdateTableRecordsPluginProvides, type UserProfile, type UserProfileItem, ZAPIER_BASE_URL, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, updateTableRecordsPlugin };