@zapier/zapier-sdk 0.39.0 → 0.40.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.
- package/CHANGELOG.md +12 -0
- package/CLAUDE.md +12 -14
- package/README.md +186 -192
- package/dist/api/schemas.d.ts +2 -2
- package/dist/api/schemas.js +3 -3
- package/dist/formatters/tableRecord.js +1 -1
- package/dist/index.cjs +652 -377
- package/dist/index.d.mts +468 -53
- package/dist/index.mjs +643 -378
- package/dist/plugins/apps/index.d.ts +1 -1
- package/dist/plugins/apps/index.d.ts.map +1 -1
- package/dist/plugins/apps/index.js +4 -8
- package/dist/plugins/apps/schemas.d.ts +2 -1
- package/dist/plugins/apps/schemas.d.ts.map +1 -1
- package/dist/plugins/apps/schemas.js +24 -8
- package/dist/plugins/fetch/index.d.ts +4 -2
- package/dist/plugins/fetch/index.d.ts.map +1 -1
- package/dist/plugins/fetch/index.js +1 -3
- package/dist/plugins/fetch/schemas.d.ts.map +1 -1
- package/dist/plugins/fetch/schemas.js +11 -4
- package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
- package/dist/plugins/findFirstConnection/index.js +0 -1
- package/dist/plugins/findFirstConnection/schemas.d.ts +4 -1
- package/dist/plugins/findFirstConnection/schemas.d.ts.map +1 -1
- package/dist/plugins/findFirstConnection/schemas.js +2 -0
- package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/index.js +0 -1
- package/dist/plugins/findUniqueConnection/schemas.d.ts +4 -1
- package/dist/plugins/findUniqueConnection/schemas.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/schemas.js +2 -0
- package/dist/plugins/getAction/index.d.ts.map +1 -1
- package/dist/plugins/getAction/index.js +8 -6
- package/dist/plugins/getAction/schemas.d.ts +58 -1
- package/dist/plugins/getAction/schemas.d.ts.map +1 -1
- package/dist/plugins/getAction/schemas.js +16 -4
- package/dist/plugins/getApp/index.d.ts.map +1 -1
- package/dist/plugins/getApp/index.js +6 -5
- package/dist/plugins/getApp/schemas.d.ts +19 -1
- package/dist/plugins/getApp/schemas.d.ts.map +1 -1
- package/dist/plugins/getApp/schemas.js +14 -4
- package/dist/plugins/getConnection/index.d.ts.map +1 -1
- package/dist/plugins/getConnection/index.js +3 -5
- package/dist/plugins/getConnection/schemas.d.ts +1 -0
- package/dist/plugins/getConnection/schemas.d.ts.map +1 -1
- package/dist/plugins/getConnection/schemas.js +11 -5
- package/dist/plugins/getInputFieldsSchema/index.d.ts +2 -1
- package/dist/plugins/getInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/getInputFieldsSchema/index.js +18 -12
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts +71 -1
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +1 -1
- package/dist/plugins/getInputFieldsSchema/schemas.js +39 -10
- package/dist/plugins/listActions/index.d.ts.map +1 -1
- package/dist/plugins/listActions/index.js +5 -4
- package/dist/plugins/listActions/schemas.d.ts +58 -1
- package/dist/plugins/listActions/schemas.d.ts.map +1 -1
- package/dist/plugins/listActions/schemas.js +25 -12
- package/dist/plugins/listApps/index.js +1 -1
- package/dist/plugins/listApps/schemas.d.ts +1 -0
- package/dist/plugins/listApps/schemas.d.ts.map +1 -1
- package/dist/plugins/listApps/schemas.js +6 -1
- package/dist/plugins/listConnections/index.d.ts +2 -1
- package/dist/plugins/listConnections/index.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.js +27 -14
- package/dist/plugins/listConnections/schemas.d.ts +5 -0
- package/dist/plugins/listConnections/schemas.d.ts.map +1 -1
- package/dist/plugins/listConnections/schemas.js +22 -9
- package/dist/plugins/listInputFieldChoices/index.d.ts +2 -2
- package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/listInputFieldChoices/index.js +21 -15
- package/dist/plugins/listInputFieldChoices/schemas.d.ts +92 -1
- package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFieldChoices/schemas.js +47 -23
- package/dist/plugins/listInputFields/index.d.ts +2 -1
- package/dist/plugins/listInputFields/index.d.ts.map +1 -1
- package/dist/plugins/listInputFields/index.js +18 -13
- package/dist/plugins/listInputFields/schemas.d.ts +80 -1
- package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFields/schemas.js +40 -11
- package/dist/plugins/manifest/schemas.d.ts.map +1 -1
- package/dist/plugins/manifest/schemas.js +4 -2
- package/dist/plugins/registry/index.d.ts.map +1 -1
- package/dist/plugins/registry/index.js +0 -1
- package/dist/plugins/request/index.d.ts.map +1 -1
- package/dist/plugins/request/index.js +2 -5
- package/dist/plugins/request/schemas.d.ts +2 -0
- package/dist/plugins/request/schemas.d.ts.map +1 -1
- package/dist/plugins/request/schemas.js +13 -5
- package/dist/plugins/runAction/index.d.ts.map +1 -1
- package/dist/plugins/runAction/index.js +17 -15
- package/dist/plugins/runAction/schemas.d.ts +83 -2
- package/dist/plugins/runAction/schemas.d.ts.map +1 -1
- package/dist/plugins/runAction/schemas.js +41 -17
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.js +5 -4
- package/dist/plugins/tables/createTableFields/schemas.d.ts +128 -2
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/schemas.js +23 -7
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.js +7 -6
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +38 -2
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/schemas.js +23 -7
- package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.js +5 -4
- package/dist/plugins/tables/deleteTable/schemas.d.ts +17 -1
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/schemas.js +14 -2
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.js +9 -7
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +22 -1
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/schemas.js +18 -2
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +7 -5
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +22 -1
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/schemas.js +18 -2
- package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.js +6 -5
- package/dist/plugins/tables/getTable/schemas.d.ts +16 -1
- package/dist/plugins/tables/getTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/schemas.js +14 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.js +9 -7
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +39 -2
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +20 -5
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +10 -8
- package/dist/plugins/tables/listTableFields/schemas.d.ts +27 -2
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +24 -8
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +7 -6
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +119 -2
- package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/schemas.js +23 -7
- package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTables/index.js +3 -2
- package/dist/plugins/tables/listTables/schemas.d.ts +5 -1
- package/dist/plugins/tables/listTables/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTables/schemas.js +4 -1
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/index.js +7 -6
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +41 -2
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/schemas.js +23 -7
- package/dist/resolvers/actionKey.d.ts +1 -1
- package/dist/resolvers/actionKey.d.ts.map +1 -1
- package/dist/resolvers/actionKey.js +3 -3
- package/dist/resolvers/actionType.d.ts +1 -1
- package/dist/resolvers/actionType.d.ts.map +1 -1
- package/dist/resolvers/actionType.js +2 -2
- package/dist/resolvers/connectionId.d.ts +1 -1
- package/dist/resolvers/connectionId.d.ts.map +1 -1
- package/dist/resolvers/connectionId.js +9 -9
- package/dist/resolvers/inputFieldKey.d.ts +3 -3
- package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
- package/dist/resolvers/inputFieldKey.js +6 -6
- package/dist/resolvers/inputs.d.ts +3 -3
- package/dist/resolvers/inputs.d.ts.map +1 -1
- package/dist/resolvers/inputs.js +8 -8
- package/dist/resolvers/tableFieldIds.d.ts +1 -1
- package/dist/resolvers/tableFieldIds.d.ts.map +1 -1
- package/dist/resolvers/tableFieldIds.js +3 -3
- package/dist/resolvers/tableFilters.d.ts +1 -1
- package/dist/resolvers/tableFilters.d.ts.map +1 -1
- package/dist/resolvers/tableFilters.js +4 -4
- package/dist/resolvers/tableId.js +1 -1
- package/dist/resolvers/tableRecordId.d.ts +2 -2
- package/dist/resolvers/tableRecordId.d.ts.map +1 -1
- package/dist/resolvers/tableRecordId.js +5 -5
- package/dist/resolvers/tableRecords.d.ts +2 -2
- package/dist/resolvers/tableRecords.d.ts.map +1 -1
- package/dist/resolvers/tableRecords.js +6 -6
- package/dist/resolvers/tableSort.d.ts +1 -1
- package/dist/resolvers/tableSort.d.ts.map +1 -1
- package/dist/resolvers/tableSort.js +2 -2
- package/dist/services/implementations.d.ts.map +1 -1
- package/dist/services/implementations.js +2 -3
- package/dist/types/properties.d.ts +30 -0
- package/dist/types/properties.d.ts.map +1 -1
- package/dist/types/properties.js +34 -1
- package/dist/types/sdk.d.ts +0 -2
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/utils/domain-utils.d.ts +5 -0
- package/dist/utils/domain-utils.d.ts.map +1 -1
- package/dist/utils/domain-utils.js +17 -3
- package/dist/utils/id-utils.d.ts +2 -0
- package/dist/utils/id-utils.d.ts.map +1 -1
- package/dist/utils/id-utils.js +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -781,7 +781,7 @@ declare const NeedsRequestSchema: z.ZodObject<{
|
|
|
781
781
|
selected_api: z.ZodString;
|
|
782
782
|
action: z.ZodString;
|
|
783
783
|
type_of: z.ZodString;
|
|
784
|
-
authentication_id: z.ZodOptional<z.ZodNumber
|
|
784
|
+
authentication_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
785
785
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
786
786
|
}, z.core.$strip>;
|
|
787
787
|
declare const NeedsResponseSchema: z.ZodObject<{
|
|
@@ -1287,6 +1287,31 @@ declare class ZapierRelayError extends ZapierError {
|
|
|
1287
1287
|
declare function formatErrorMessage(error: ZapierError): string;
|
|
1288
1288
|
|
|
1289
1289
|
declare const ListInputFieldsSchema: z.ZodObject<{
|
|
1290
|
+
app: z.ZodString & {
|
|
1291
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1292
|
+
};
|
|
1293
|
+
actionType: z.ZodEnum<{
|
|
1294
|
+
search: "search";
|
|
1295
|
+
filter: "filter";
|
|
1296
|
+
read: "read";
|
|
1297
|
+
read_bulk: "read_bulk";
|
|
1298
|
+
run: "run";
|
|
1299
|
+
search_and_write: "search_and_write";
|
|
1300
|
+
search_or_write: "search_or_write";
|
|
1301
|
+
write: "write";
|
|
1302
|
+
}>;
|
|
1303
|
+
action: z.ZodString & {
|
|
1304
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1305
|
+
};
|
|
1306
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1307
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1308
|
+
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1309
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1310
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1312
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
}, z.core.$strip>;
|
|
1314
|
+
declare const ListInputFieldsSchemaDeprecated: z.ZodObject<{
|
|
1290
1315
|
appKey: z.ZodString & {
|
|
1291
1316
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1292
1317
|
};
|
|
@@ -1301,6 +1326,7 @@ declare const ListInputFieldsSchema: z.ZodObject<{
|
|
|
1301
1326
|
write: "write";
|
|
1302
1327
|
}>;
|
|
1303
1328
|
actionKey: z.ZodString;
|
|
1329
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1304
1330
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1305
1331
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1306
1332
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1308,9 +1334,15 @@ declare const ListInputFieldsSchema: z.ZodObject<{
|
|
|
1308
1334
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1309
1335
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1310
1336
|
}, z.core.$strip>;
|
|
1311
|
-
type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema
|
|
1337
|
+
type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema> | (Omit<z.infer<typeof ListInputFieldsSchemaDeprecated>, "appKey" | "actionKey"> & {
|
|
1338
|
+
/** @deprecated Use `app` instead. */
|
|
1339
|
+
appKey: z.infer<typeof ListInputFieldsSchemaDeprecated>["appKey"];
|
|
1340
|
+
/** @deprecated Use `action` instead. */
|
|
1341
|
+
actionKey: z.infer<typeof ListInputFieldsSchemaDeprecated>["actionKey"];
|
|
1342
|
+
});
|
|
1312
1343
|
|
|
1313
1344
|
declare const GetConnectionParamSchema: z.ZodObject<{
|
|
1345
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1314
1346
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1315
1347
|
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1316
1348
|
}, z.core.$strip>;
|
|
@@ -1322,8 +1354,11 @@ declare const FindFirstConnectionSchema: z.ZodObject<{
|
|
|
1322
1354
|
appKey: z.ZodOptional<z.ZodString & {
|
|
1323
1355
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1324
1356
|
}>;
|
|
1357
|
+
app: z.ZodOptional<z.ZodString & {
|
|
1358
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1359
|
+
}>;
|
|
1325
1360
|
owner: z.ZodOptional<z.ZodString>;
|
|
1326
|
-
|
|
1361
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1327
1362
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1328
1363
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1329
1364
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1336,8 +1371,11 @@ declare const FindUniqueConnectionSchema: z.ZodObject<{
|
|
|
1336
1371
|
appKey: z.ZodOptional<z.ZodString & {
|
|
1337
1372
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1338
1373
|
}>;
|
|
1374
|
+
app: z.ZodOptional<z.ZodString & {
|
|
1375
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1376
|
+
}>;
|
|
1339
1377
|
owner: z.ZodOptional<z.ZodString>;
|
|
1340
|
-
|
|
1378
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1341
1379
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1342
1380
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1343
1381
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1356,6 +1394,7 @@ declare const RelayRequestSchema: z.ZodObject<{
|
|
|
1356
1394
|
OPTIONS: "OPTIONS";
|
|
1357
1395
|
}>>;
|
|
1358
1396
|
body: z.ZodOptional<z.ZodAny>;
|
|
1397
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1359
1398
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1360
1399
|
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1361
1400
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1374,6 +1413,7 @@ declare const RelayFetchSchema: z.ZodObject<{
|
|
|
1374
1413
|
OPTIONS: "OPTIONS";
|
|
1375
1414
|
}>>;
|
|
1376
1415
|
body: z.ZodOptional<z.ZodAny>;
|
|
1416
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1377
1417
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1378
1418
|
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1379
1419
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1432,6 +1472,9 @@ declare const apiPlugin: Plugin<{}, {}, ApiPluginProvides>;
|
|
|
1432
1472
|
declare const AppKeyPropertySchema: z.ZodString & {
|
|
1433
1473
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1434
1474
|
};
|
|
1475
|
+
declare const AppPropertySchema: z.ZodString & {
|
|
1476
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1477
|
+
};
|
|
1435
1478
|
declare const ActionTypePropertySchema: z.ZodEnum<{
|
|
1436
1479
|
search: "search";
|
|
1437
1480
|
filter: "filter";
|
|
@@ -1443,6 +1486,12 @@ declare const ActionTypePropertySchema: z.ZodEnum<{
|
|
|
1443
1486
|
write: "write";
|
|
1444
1487
|
}>;
|
|
1445
1488
|
declare const ActionKeyPropertySchema: z.ZodString;
|
|
1489
|
+
declare const ActionPropertySchema: z.ZodString & {
|
|
1490
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1491
|
+
};
|
|
1492
|
+
declare const InputFieldPropertySchema: z.ZodString & {
|
|
1493
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1494
|
+
};
|
|
1446
1495
|
declare const ConnectionIdPropertySchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1447
1496
|
/** @deprecated Use ConnectionIdPropertySchema instead */
|
|
1448
1497
|
declare const AuthenticationIdPropertySchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -1454,9 +1503,23 @@ declare const OutputPropertySchema: z.ZodString;
|
|
|
1454
1503
|
declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
|
|
1455
1504
|
declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1456
1505
|
declare const ActionTimeoutMsPropertySchema: z.ZodOptional<z.ZodNumber>;
|
|
1506
|
+
declare const TablePropertySchema: z.ZodString & {
|
|
1507
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1508
|
+
};
|
|
1509
|
+
declare const RecordPropertySchema: z.ZodString & {
|
|
1510
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1511
|
+
};
|
|
1512
|
+
declare const RecordsPropertySchema: z.ZodArray<z.ZodString>;
|
|
1513
|
+
declare const FieldsPropertySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1514
|
+
declare const AppsPropertySchema: z.ZodArray<z.ZodString>;
|
|
1515
|
+
declare const TablesPropertySchema: z.ZodArray<z.ZodString>;
|
|
1516
|
+
declare const ConnectionsPropertySchema: z.ZodArray<z.ZodString>;
|
|
1457
1517
|
type AppKeyProperty = z.infer<typeof AppKeyPropertySchema>;
|
|
1518
|
+
type AppProperty = z.infer<typeof AppPropertySchema>;
|
|
1458
1519
|
type ActionTypeProperty = z.infer<typeof ActionTypePropertySchema>;
|
|
1459
1520
|
type ActionKeyProperty = z.infer<typeof ActionKeyPropertySchema>;
|
|
1521
|
+
type ActionProperty = z.infer<typeof ActionPropertySchema>;
|
|
1522
|
+
type InputFieldProperty = z.infer<typeof InputFieldPropertySchema>;
|
|
1460
1523
|
type ConnectionIdProperty = z.infer<typeof ConnectionIdPropertySchema>;
|
|
1461
1524
|
type ConnectionProperty = z.infer<typeof ConnectionPropertySchema>;
|
|
1462
1525
|
/** @deprecated Use ConnectionIdProperty instead */
|
|
@@ -1468,6 +1531,13 @@ type OutputProperty = z.infer<typeof OutputPropertySchema>;
|
|
|
1468
1531
|
type DebugProperty = z.infer<typeof DebugPropertySchema>;
|
|
1469
1532
|
type ParamsProperty = z.infer<typeof ParamsPropertySchema>;
|
|
1470
1533
|
type ActionTimeoutMsProperty = z.infer<typeof ActionTimeoutMsPropertySchema>;
|
|
1534
|
+
type TableProperty = z.infer<typeof TablePropertySchema>;
|
|
1535
|
+
type RecordProperty = z.infer<typeof RecordPropertySchema>;
|
|
1536
|
+
type RecordsProperty = z.infer<typeof RecordsPropertySchema>;
|
|
1537
|
+
type FieldsProperty = z.infer<typeof FieldsPropertySchema>;
|
|
1538
|
+
type AppsProperty = z.infer<typeof AppsPropertySchema>;
|
|
1539
|
+
type TablesProperty = z.infer<typeof TablesPropertySchema>;
|
|
1540
|
+
type ConnectionsProperty = z.infer<typeof ConnectionsPropertySchema>;
|
|
1471
1541
|
|
|
1472
1542
|
declare const ActionExecutionInputSchema: z.ZodObject<{
|
|
1473
1543
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1496,9 +1566,10 @@ interface BaseActionTypeProxy {
|
|
|
1496
1566
|
}
|
|
1497
1567
|
type ActionTypeProxy = BaseActionTypeProxy;
|
|
1498
1568
|
type AppFetchFn = (url: string | URL, init?: RequestInit & {
|
|
1569
|
+
/** @deprecated Use `connection` instead. */
|
|
1499
1570
|
connectionId?: ConnectionIdProperty;
|
|
1500
1571
|
connection?: ConnectionProperty;
|
|
1501
|
-
/** @deprecated Use
|
|
1572
|
+
/** @deprecated Use `connection` instead. */
|
|
1502
1573
|
authenticationId?: AuthenticationIdProperty;
|
|
1503
1574
|
callbackUrl?: string;
|
|
1504
1575
|
}) => Promise<Response>;
|
|
@@ -1525,9 +1596,10 @@ declare const connectionsPlugin: Plugin<{}, ManifestPluginProvides["context"], C
|
|
|
1525
1596
|
|
|
1526
1597
|
interface FetchPluginProvides {
|
|
1527
1598
|
fetch: (url: string | URL, init?: RequestInit & {
|
|
1599
|
+
/** @deprecated Use `connection` instead. */
|
|
1528
1600
|
connectionId?: string | number;
|
|
1529
1601
|
connection?: string | number;
|
|
1530
|
-
/** @deprecated Use
|
|
1602
|
+
/** @deprecated Use `connection` instead. */
|
|
1531
1603
|
authenticationId?: string | number;
|
|
1532
1604
|
callbackUrl?: string;
|
|
1533
1605
|
}) => Promise<Response>;
|
|
@@ -1557,14 +1629,41 @@ declare const fetchPlugin: Plugin<{}, // no SDK dependencies
|
|
|
1557
1629
|
} & ConnectionsPluginProvides["context"] & EventEmissionContext, // requires api, connections, and eventEmission in context
|
|
1558
1630
|
FetchPluginProvides>;
|
|
1559
1631
|
type ZapierFetchInitOptions = RequestInit & {
|
|
1632
|
+
/** @deprecated Use `connection` instead. */
|
|
1560
1633
|
connectionId?: string | number;
|
|
1561
1634
|
connection?: string | number;
|
|
1562
|
-
/** @deprecated Use
|
|
1635
|
+
/** @deprecated Use `connection` instead. */
|
|
1563
1636
|
authenticationId?: string | number;
|
|
1564
1637
|
callbackUrl?: string;
|
|
1565
1638
|
};
|
|
1566
1639
|
|
|
1567
1640
|
declare const RunActionSchema: z.ZodObject<{
|
|
1641
|
+
app: z.ZodString & {
|
|
1642
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1643
|
+
};
|
|
1644
|
+
actionType: z.ZodEnum<{
|
|
1645
|
+
search: "search";
|
|
1646
|
+
filter: "filter";
|
|
1647
|
+
read: "read";
|
|
1648
|
+
read_bulk: "read_bulk";
|
|
1649
|
+
run: "run";
|
|
1650
|
+
search_and_write: "search_and_write";
|
|
1651
|
+
search_or_write: "search_or_write";
|
|
1652
|
+
write: "write";
|
|
1653
|
+
}>;
|
|
1654
|
+
action: z.ZodString & {
|
|
1655
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1656
|
+
};
|
|
1657
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1658
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1659
|
+
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1660
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1661
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1662
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1663
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1664
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
}, z.core.$strip>;
|
|
1666
|
+
declare const RunActionSchemaDeprecated: z.ZodObject<{
|
|
1568
1667
|
appKey: z.ZodString & {
|
|
1569
1668
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1570
1669
|
};
|
|
@@ -1579,8 +1678,8 @@ declare const RunActionSchema: z.ZodObject<{
|
|
|
1579
1678
|
write: "write";
|
|
1580
1679
|
}>;
|
|
1581
1680
|
actionKey: z.ZodString;
|
|
1582
|
-
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1583
1681
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1682
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1584
1683
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1585
1684
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1586
1685
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1588,9 +1687,32 @@ declare const RunActionSchema: z.ZodObject<{
|
|
|
1588
1687
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1589
1688
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1590
1689
|
}, z.core.$strip>;
|
|
1591
|
-
type RunActionOptions = z.infer<typeof RunActionSchema
|
|
1690
|
+
type RunActionOptions = z.infer<typeof RunActionSchema> | (Omit<z.infer<typeof RunActionSchemaDeprecated>, "appKey" | "actionKey"> & {
|
|
1691
|
+
/** @deprecated Use `app` instead. */
|
|
1692
|
+
appKey: z.infer<typeof RunActionSchemaDeprecated>["appKey"];
|
|
1693
|
+
/** @deprecated Use `action` instead. */
|
|
1694
|
+
actionKey: z.infer<typeof RunActionSchemaDeprecated>["actionKey"];
|
|
1695
|
+
});
|
|
1592
1696
|
|
|
1593
1697
|
declare const GetActionSchema: z.ZodObject<{
|
|
1698
|
+
app: z.ZodString & {
|
|
1699
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1700
|
+
};
|
|
1701
|
+
actionType: z.ZodEnum<{
|
|
1702
|
+
search: "search";
|
|
1703
|
+
filter: "filter";
|
|
1704
|
+
read: "read";
|
|
1705
|
+
read_bulk: "read_bulk";
|
|
1706
|
+
run: "run";
|
|
1707
|
+
search_and_write: "search_and_write";
|
|
1708
|
+
search_or_write: "search_or_write";
|
|
1709
|
+
write: "write";
|
|
1710
|
+
}>;
|
|
1711
|
+
action: z.ZodString & {
|
|
1712
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1713
|
+
};
|
|
1714
|
+
}, z.core.$strip>;
|
|
1715
|
+
declare const GetActionSchemaDeprecated: z.ZodObject<{
|
|
1594
1716
|
appKey: z.ZodString & {
|
|
1595
1717
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1596
1718
|
};
|
|
@@ -1606,9 +1728,32 @@ declare const GetActionSchema: z.ZodObject<{
|
|
|
1606
1728
|
}>;
|
|
1607
1729
|
actionKey: z.ZodString;
|
|
1608
1730
|
}, z.core.$strip>;
|
|
1609
|
-
type GetActionOptions = z.infer<typeof GetActionSchema
|
|
1731
|
+
type GetActionOptions = z.infer<typeof GetActionSchema> | (Omit<z.infer<typeof GetActionSchemaDeprecated>, "appKey" | "actionKey"> & {
|
|
1732
|
+
/** @deprecated Use `app` instead. */
|
|
1733
|
+
appKey: z.infer<typeof GetActionSchemaDeprecated>["appKey"];
|
|
1734
|
+
/** @deprecated Use `action` instead. */
|
|
1735
|
+
actionKey: z.infer<typeof GetActionSchemaDeprecated>["actionKey"];
|
|
1736
|
+
});
|
|
1610
1737
|
|
|
1611
1738
|
declare const ListActionsSchema: z.ZodObject<{
|
|
1739
|
+
app: z.ZodString & {
|
|
1740
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1741
|
+
};
|
|
1742
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
1743
|
+
search: "search";
|
|
1744
|
+
filter: "filter";
|
|
1745
|
+
read: "read";
|
|
1746
|
+
read_bulk: "read_bulk";
|
|
1747
|
+
run: "run";
|
|
1748
|
+
search_and_write: "search_and_write";
|
|
1749
|
+
search_or_write: "search_or_write";
|
|
1750
|
+
write: "write";
|
|
1751
|
+
}>>;
|
|
1752
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1753
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1754
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
}, z.core.$strip>;
|
|
1756
|
+
declare const ListActionsSchemaDeprecated: z.ZodObject<{
|
|
1612
1757
|
appKey: z.ZodString & {
|
|
1613
1758
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1614
1759
|
};
|
|
@@ -1626,7 +1771,10 @@ declare const ListActionsSchema: z.ZodObject<{
|
|
|
1626
1771
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1627
1772
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1628
1773
|
}, z.core.$strip>;
|
|
1629
|
-
type ListActionsOptions = z.infer<typeof ListActionsSchema
|
|
1774
|
+
type ListActionsOptions = z.infer<typeof ListActionsSchema> | (Omit<z.infer<typeof ListActionsSchemaDeprecated>, "appKey"> & {
|
|
1775
|
+
/** @deprecated Use `app` instead. */
|
|
1776
|
+
appKey: z.infer<typeof ListActionsSchemaDeprecated>["appKey"];
|
|
1777
|
+
});
|
|
1630
1778
|
|
|
1631
1779
|
interface ListActionsPluginProvides {
|
|
1632
1780
|
listActions: (options?: ListActionsOptions) => Promise<{
|
|
@@ -1671,11 +1819,19 @@ declare const getActionPlugin: Plugin<GetSdkType<ListActionsPluginProvides>, //
|
|
|
1671
1819
|
GetActionPluginProvides>;
|
|
1672
1820
|
|
|
1673
1821
|
declare const GetAppSchema: z.ZodObject<{
|
|
1822
|
+
app: z.ZodString & {
|
|
1823
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1824
|
+
};
|
|
1825
|
+
}, z.core.$strip>;
|
|
1826
|
+
declare const GetAppSchemaDeprecated: z.ZodObject<{
|
|
1674
1827
|
appKey: z.ZodString & {
|
|
1675
1828
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1676
1829
|
};
|
|
1677
1830
|
}, z.core.$strip>;
|
|
1678
|
-
type GetAppOptions = z.infer<typeof GetAppSchema
|
|
1831
|
+
type GetAppOptions = z.infer<typeof GetAppSchema> | (Omit<z.infer<typeof GetAppSchemaDeprecated>, "appKey"> & {
|
|
1832
|
+
/** @deprecated Use `app` instead. */
|
|
1833
|
+
appKey: z.infer<typeof GetAppSchemaDeprecated>["appKey"];
|
|
1834
|
+
});
|
|
1679
1835
|
|
|
1680
1836
|
/**
|
|
1681
1837
|
* Plugin schemas for listApps
|
|
@@ -1700,6 +1856,7 @@ type GetAppOptions = z.infer<typeof GetAppSchema>;
|
|
|
1700
1856
|
*/
|
|
1701
1857
|
declare const ListAppsSchema: z.ZodObject<{
|
|
1702
1858
|
search: z.ZodOptional<z.ZodString>;
|
|
1859
|
+
apps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1703
1860
|
appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1704
1861
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1705
1862
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1781,11 +1938,16 @@ declare const ListConnectionsQuerySchema: z.ZodObject<{
|
|
|
1781
1938
|
title: z.ZodOptional<z.ZodString>;
|
|
1782
1939
|
search: z.ZodOptional<z.ZodString>;
|
|
1783
1940
|
owner: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
app: z.ZodOptional<z.ZodString & {
|
|
1942
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1943
|
+
}>;
|
|
1784
1944
|
appKey: z.ZodOptional<z.ZodString & {
|
|
1785
1945
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1786
1946
|
}>;
|
|
1947
|
+
connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1787
1948
|
connectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1788
1949
|
authenticationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1950
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1789
1951
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1790
1952
|
includeShared: z.ZodOptional<z.ZodBoolean>;
|
|
1791
1953
|
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1825,7 +1987,7 @@ interface ListConnectionsPluginProvides {
|
|
|
1825
1987
|
declare const listConnectionsPlugin: Plugin<GetSdkType<ManifestPluginProvides>, {
|
|
1826
1988
|
api: ApiClient;
|
|
1827
1989
|
getVersionedImplementationId: GetVersionedImplementationId;
|
|
1828
|
-
} & EventEmissionContext & CapabilitiesContext, ListConnectionsPluginProvides>;
|
|
1990
|
+
} & EventEmissionContext & CapabilitiesContext & ConnectionsPluginProvides["context"], ListConnectionsPluginProvides>;
|
|
1829
1991
|
|
|
1830
1992
|
interface GetConnectionPluginProvides {
|
|
1831
1993
|
getConnection: (options: GetConnectionParam) => Promise<GetConnectionResponse>;
|
|
@@ -2029,10 +2191,32 @@ declare const listInputFieldsPlugin: Plugin<GetSdkType<GetAppPluginProvides & Ge
|
|
|
2029
2191
|
{
|
|
2030
2192
|
api: ApiClient;
|
|
2031
2193
|
getVersionedImplementationId: GetVersionedImplementationId;
|
|
2032
|
-
} & EventEmissionContext, // requires api, getVersionedImplementationId, and
|
|
2194
|
+
} & EventEmissionContext & ConnectionsPluginProvides["context"], // requires api, getVersionedImplementationId, eventEmission, and resolveConnection in context
|
|
2033
2195
|
ListInputFieldsPluginProvides>;
|
|
2034
2196
|
|
|
2035
2197
|
declare const GetInputFieldsSchemaSchema: z.ZodObject<{
|
|
2198
|
+
app: z.ZodString & {
|
|
2199
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2200
|
+
};
|
|
2201
|
+
actionType: z.ZodEnum<{
|
|
2202
|
+
search: "search";
|
|
2203
|
+
filter: "filter";
|
|
2204
|
+
read: "read";
|
|
2205
|
+
read_bulk: "read_bulk";
|
|
2206
|
+
run: "run";
|
|
2207
|
+
search_and_write: "search_and_write";
|
|
2208
|
+
search_or_write: "search_or_write";
|
|
2209
|
+
write: "write";
|
|
2210
|
+
}>;
|
|
2211
|
+
action: z.ZodString & {
|
|
2212
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2213
|
+
};
|
|
2214
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2215
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2216
|
+
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2217
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2218
|
+
}, z.core.$strip>;
|
|
2219
|
+
declare const GetInputFieldsSchemaSchemaDeprecated: z.ZodObject<{
|
|
2036
2220
|
appKey: z.ZodString & {
|
|
2037
2221
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2038
2222
|
};
|
|
@@ -2047,11 +2231,17 @@ declare const GetInputFieldsSchemaSchema: z.ZodObject<{
|
|
|
2047
2231
|
write: "write";
|
|
2048
2232
|
}>;
|
|
2049
2233
|
actionKey: z.ZodString;
|
|
2234
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2050
2235
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2051
2236
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2052
2237
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2053
2238
|
}, z.core.$strip>;
|
|
2054
|
-
type GetInputFieldsSchemaOptions = z.infer<typeof GetInputFieldsSchemaSchema
|
|
2239
|
+
type GetInputFieldsSchemaOptions = z.infer<typeof GetInputFieldsSchemaSchema> | (Omit<z.infer<typeof GetInputFieldsSchemaSchemaDeprecated>, "appKey" | "actionKey"> & {
|
|
2240
|
+
/** @deprecated Use `app` instead. */
|
|
2241
|
+
appKey: z.infer<typeof GetInputFieldsSchemaSchemaDeprecated>["appKey"];
|
|
2242
|
+
/** @deprecated Use `action` instead. */
|
|
2243
|
+
actionKey: z.infer<typeof GetInputFieldsSchemaSchemaDeprecated>["actionKey"];
|
|
2244
|
+
});
|
|
2055
2245
|
|
|
2056
2246
|
interface GetInputFieldsSchemaPluginProvides {
|
|
2057
2247
|
getInputFieldsSchema: (options: GetInputFieldsSchemaOptions) => Promise<{
|
|
@@ -2074,6 +2264,35 @@ declare const InputFieldChoiceItemSchema: z.ZodObject<{
|
|
|
2074
2264
|
}, z.core.$strip>;
|
|
2075
2265
|
type InputFieldChoiceItem = z.infer<typeof InputFieldChoiceItemSchema>;
|
|
2076
2266
|
declare const ListInputFieldChoicesSchema: z.ZodObject<{
|
|
2267
|
+
app: z.ZodString & {
|
|
2268
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2269
|
+
};
|
|
2270
|
+
actionType: z.ZodEnum<{
|
|
2271
|
+
search: "search";
|
|
2272
|
+
filter: "filter";
|
|
2273
|
+
read: "read";
|
|
2274
|
+
read_bulk: "read_bulk";
|
|
2275
|
+
run: "run";
|
|
2276
|
+
search_and_write: "search_and_write";
|
|
2277
|
+
search_or_write: "search_or_write";
|
|
2278
|
+
write: "write";
|
|
2279
|
+
}>;
|
|
2280
|
+
action: z.ZodString & {
|
|
2281
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2282
|
+
};
|
|
2283
|
+
inputField: z.ZodString & {
|
|
2284
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2285
|
+
};
|
|
2286
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2287
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2288
|
+
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2289
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2290
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
2291
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2292
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2293
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2294
|
+
}, z.core.$strip>;
|
|
2295
|
+
declare const ListInputFieldChoicesSchemaDeprecated: z.ZodObject<{
|
|
2077
2296
|
appKey: z.ZodString & {
|
|
2078
2297
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2079
2298
|
};
|
|
@@ -2089,6 +2308,7 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
|
|
|
2089
2308
|
}>;
|
|
2090
2309
|
actionKey: z.ZodString;
|
|
2091
2310
|
inputFieldKey: z.ZodString;
|
|
2311
|
+
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2092
2312
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2093
2313
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2094
2314
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2097,7 +2317,14 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
|
|
|
2097
2317
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2098
2318
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2099
2319
|
}, z.core.$strip>;
|
|
2100
|
-
type ListInputFieldChoicesOptions = z.infer<typeof ListInputFieldChoicesSchema
|
|
2320
|
+
type ListInputFieldChoicesOptions = z.infer<typeof ListInputFieldChoicesSchema> | (Omit<z.infer<typeof ListInputFieldChoicesSchemaDeprecated>, "appKey" | "actionKey" | "inputFieldKey"> & {
|
|
2321
|
+
/** @deprecated Use `app` instead. */
|
|
2322
|
+
appKey: z.infer<typeof ListInputFieldChoicesSchemaDeprecated>["appKey"];
|
|
2323
|
+
/** @deprecated Use `action` instead. */
|
|
2324
|
+
actionKey: z.infer<typeof ListInputFieldChoicesSchemaDeprecated>["actionKey"];
|
|
2325
|
+
/** @deprecated Use `inputField` instead. */
|
|
2326
|
+
inputFieldKey: z.infer<typeof ListInputFieldChoicesSchemaDeprecated>["inputFieldKey"];
|
|
2327
|
+
});
|
|
2101
2328
|
|
|
2102
2329
|
interface ListInputFieldChoicesPluginProvides {
|
|
2103
2330
|
listInputFieldChoices: (options: ListInputFieldChoicesOptions) => Promise<{
|
|
@@ -2152,6 +2379,7 @@ declare const TableItemSchema: z.ZodObject<{
|
|
|
2152
2379
|
}, z.core.$strip>;
|
|
2153
2380
|
type TableItem = z.infer<typeof TableItemSchema>;
|
|
2154
2381
|
declare const ListTablesOptionsSchema: z.ZodObject<{
|
|
2382
|
+
tables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2155
2383
|
tableIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2156
2384
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2157
2385
|
table: "table";
|
|
@@ -2165,7 +2393,10 @@ declare const ListTablesOptionsSchema: z.ZodObject<{
|
|
|
2165
2393
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2166
2394
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2167
2395
|
}, z.core.$strip>;
|
|
2168
|
-
type ListTablesOptions = z.infer<typeof ListTablesOptionsSchema
|
|
2396
|
+
type ListTablesOptions = Omit<z.infer<typeof ListTablesOptionsSchema>, "tableIds"> & {
|
|
2397
|
+
/** @deprecated Use `tables` instead. */
|
|
2398
|
+
tableIds?: z.infer<typeof ListTablesOptionsSchema>["tableIds"];
|
|
2399
|
+
};
|
|
2169
2400
|
|
|
2170
2401
|
interface ListTablesPluginProvides {
|
|
2171
2402
|
listTables: (options?: ListTablesOptions) => Promise<{
|
|
@@ -2188,9 +2419,17 @@ interface ListTablesPluginProvides {
|
|
|
2188
2419
|
declare const listTablesPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext & CapabilitiesContext, ListTablesPluginProvides>;
|
|
2189
2420
|
|
|
2190
2421
|
declare const GetTableOptionsSchema: z.ZodObject<{
|
|
2422
|
+
table: z.ZodString & {
|
|
2423
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2424
|
+
};
|
|
2425
|
+
}, z.core.$strip>;
|
|
2426
|
+
declare const GetTableOptionsSchemaDeprecated: z.ZodObject<{
|
|
2191
2427
|
tableId: z.ZodString;
|
|
2192
2428
|
}, z.core.$strip>;
|
|
2193
|
-
type GetTableOptions = z.infer<typeof GetTableOptionsSchema
|
|
2429
|
+
type GetTableOptions = z.infer<typeof GetTableOptionsSchema> | (Omit<z.infer<typeof GetTableOptionsSchemaDeprecated>, "tableId"> & {
|
|
2430
|
+
/** @deprecated Use `table` instead. */
|
|
2431
|
+
tableId: z.infer<typeof GetTableOptionsSchemaDeprecated>["tableId"];
|
|
2432
|
+
});
|
|
2194
2433
|
|
|
2195
2434
|
interface GetTablePluginProvides {
|
|
2196
2435
|
getTable: (options: GetTableOptions) => Promise<{
|
|
@@ -2209,9 +2448,17 @@ declare const getTablePlugin: Plugin<{}, {
|
|
|
2209
2448
|
} & EventEmissionContext, GetTablePluginProvides>;
|
|
2210
2449
|
|
|
2211
2450
|
declare const DeleteTableOptionsSchema: z.ZodObject<{
|
|
2451
|
+
table: z.ZodString & {
|
|
2452
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2453
|
+
};
|
|
2454
|
+
}, z.core.$strip>;
|
|
2455
|
+
declare const DeleteTableOptionsSchemaDeprecated: z.ZodObject<{
|
|
2212
2456
|
tableId: z.ZodString;
|
|
2213
2457
|
}, z.core.$strip>;
|
|
2214
|
-
type DeleteTableOptions = z.infer<typeof DeleteTableOptionsSchema> & FunctionOptions
|
|
2458
|
+
type DeleteTableOptions = (z.infer<typeof DeleteTableOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof DeleteTableOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
|
|
2459
|
+
/** @deprecated Use `table` instead. */
|
|
2460
|
+
tableId: z.infer<typeof DeleteTableOptionsSchemaDeprecated>["tableId"];
|
|
2461
|
+
});
|
|
2215
2462
|
interface DeleteTableResult {
|
|
2216
2463
|
success: boolean;
|
|
2217
2464
|
}
|
|
@@ -2295,10 +2542,23 @@ declare const FieldItemSchema: z.ZodObject<{
|
|
|
2295
2542
|
}, z.core.$strip>;
|
|
2296
2543
|
type FieldItem = z.infer<typeof FieldItemSchema>;
|
|
2297
2544
|
declare const ListTableFieldsOptionsSchema: z.ZodObject<{
|
|
2298
|
-
|
|
2545
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2299
2546
|
fieldKeys: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2547
|
+
table: z.ZodString & {
|
|
2548
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2549
|
+
};
|
|
2300
2550
|
}, z.core.$strip>;
|
|
2301
|
-
|
|
2551
|
+
declare const ListTableFieldsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2552
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2553
|
+
fieldKeys: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2554
|
+
tableId: z.ZodString;
|
|
2555
|
+
}, z.core.$strip>;
|
|
2556
|
+
type ListTableFieldsOptions = (z.infer<typeof ListTableFieldsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof ListTableFieldsOptionsSchemaDeprecated>, "tableId" | "fieldKeys"> & {
|
|
2557
|
+
/** @deprecated Use `table` instead. */
|
|
2558
|
+
tableId: z.infer<typeof ListTableFieldsOptionsSchemaDeprecated>["tableId"];
|
|
2559
|
+
/** @deprecated Use `fields` instead. */
|
|
2560
|
+
fieldKeys?: z.infer<typeof ListTableFieldsOptionsSchemaDeprecated>["fieldKeys"];
|
|
2561
|
+
} & FunctionOptions);
|
|
2302
2562
|
interface ListTableFieldsResult {
|
|
2303
2563
|
data: FieldItem[];
|
|
2304
2564
|
}
|
|
@@ -2318,7 +2578,6 @@ declare const listTableFieldsPlugin: Plugin<{}, {
|
|
|
2318
2578
|
} & EventEmissionContext, ListTableFieldsPluginProvides>;
|
|
2319
2579
|
|
|
2320
2580
|
declare const CreateTableFieldsOptionsSchema: z.ZodObject<{
|
|
2321
|
-
tableId: z.ZodString;
|
|
2322
2581
|
fields: z.ZodArray<z.ZodObject<{
|
|
2323
2582
|
type: z.ZodEnum<{
|
|
2324
2583
|
string: "string";
|
|
@@ -2356,8 +2615,54 @@ declare const CreateTableFieldsOptionsSchema: z.ZodObject<{
|
|
|
2356
2615
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2357
2616
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2358
2617
|
}, z.core.$strip>>;
|
|
2618
|
+
table: z.ZodString & {
|
|
2619
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2620
|
+
};
|
|
2359
2621
|
}, z.core.$strip>;
|
|
2360
|
-
|
|
2622
|
+
declare const CreateTableFieldsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2623
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2624
|
+
type: z.ZodEnum<{
|
|
2625
|
+
string: "string";
|
|
2626
|
+
number: "number";
|
|
2627
|
+
boolean: "boolean";
|
|
2628
|
+
link: "link";
|
|
2629
|
+
email: "email";
|
|
2630
|
+
uuid: "uuid";
|
|
2631
|
+
text: "text";
|
|
2632
|
+
datetime: "datetime";
|
|
2633
|
+
decimal: "decimal";
|
|
2634
|
+
json: "json";
|
|
2635
|
+
multiple_string: "multiple_string";
|
|
2636
|
+
labeled_string: "labeled_string";
|
|
2637
|
+
multiple_labeled_string: "multiple_labeled_string";
|
|
2638
|
+
multiple_text: "multiple_text";
|
|
2639
|
+
multiple_boolean: "multiple_boolean";
|
|
2640
|
+
multiple_number: "multiple_number";
|
|
2641
|
+
multiple_decimal: "multiple_decimal";
|
|
2642
|
+
multiple_datetime: "multiple_datetime";
|
|
2643
|
+
multiple_uuid: "multiple_uuid";
|
|
2644
|
+
multiple_json: "multiple_json";
|
|
2645
|
+
formula: "formula";
|
|
2646
|
+
button_trigger_zap: "button_trigger_zap";
|
|
2647
|
+
button_continue_zap: "button_continue_zap";
|
|
2648
|
+
multiple_email: "multiple_email";
|
|
2649
|
+
multiple_link: "multiple_link";
|
|
2650
|
+
currency: "currency";
|
|
2651
|
+
phone_number: "phone_number";
|
|
2652
|
+
ai_formula: "ai_formula";
|
|
2653
|
+
linked_record: "linked_record";
|
|
2654
|
+
multiple_linked_record: "multiple_linked_record";
|
|
2655
|
+
}>;
|
|
2656
|
+
name: z.ZodString;
|
|
2657
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2658
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2659
|
+
}, z.core.$strip>>;
|
|
2660
|
+
tableId: z.ZodString;
|
|
2661
|
+
}, z.core.$strip>;
|
|
2662
|
+
type CreateTableFieldsOptions = (z.infer<typeof CreateTableFieldsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof CreateTableFieldsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
|
|
2663
|
+
/** @deprecated Use `table` instead. */
|
|
2664
|
+
tableId: z.infer<typeof CreateTableFieldsOptionsSchemaDeprecated>["tableId"];
|
|
2665
|
+
});
|
|
2361
2666
|
interface CreateTableFieldsResult {
|
|
2362
2667
|
data: FieldItem[];
|
|
2363
2668
|
}
|
|
@@ -2377,10 +2682,21 @@ declare const createTableFieldsPlugin: Plugin<{}, {
|
|
|
2377
2682
|
} & EventEmissionContext, CreateTableFieldsPluginProvides>;
|
|
2378
2683
|
|
|
2379
2684
|
declare const DeleteTableFieldsOptionsSchema: z.ZodObject<{
|
|
2685
|
+
table: z.ZodString & {
|
|
2686
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2687
|
+
};
|
|
2688
|
+
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2689
|
+
}, z.core.$strip>;
|
|
2690
|
+
declare const DeleteTableFieldsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2380
2691
|
tableId: z.ZodString;
|
|
2381
2692
|
fieldKeys: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2382
2693
|
}, z.core.$strip>;
|
|
2383
|
-
type DeleteTableFieldsOptions = z.infer<typeof DeleteTableFieldsOptionsSchema> & FunctionOptions
|
|
2694
|
+
type DeleteTableFieldsOptions = (z.infer<typeof DeleteTableFieldsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>, "tableId" | "fieldKeys"> & {
|
|
2695
|
+
/** @deprecated Use `table` instead. */
|
|
2696
|
+
tableId: z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>["tableId"];
|
|
2697
|
+
/** @deprecated Use `fields` instead. */
|
|
2698
|
+
fieldKeys: z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>["fieldKeys"];
|
|
2699
|
+
} & FunctionOptions);
|
|
2384
2700
|
interface DeleteTableFieldsResult {
|
|
2385
2701
|
success: boolean;
|
|
2386
2702
|
}
|
|
@@ -2407,14 +2723,31 @@ declare const RecordItemSchema: z.ZodObject<{
|
|
|
2407
2723
|
}, z.core.$strip>;
|
|
2408
2724
|
type RecordItem = z.infer<typeof RecordItemSchema>;
|
|
2409
2725
|
declare const GetTableRecordOptionsSchema: z.ZodObject<{
|
|
2410
|
-
tableId: z.ZodString;
|
|
2411
|
-
recordId: z.ZodString;
|
|
2412
2726
|
keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2413
2727
|
names: "names";
|
|
2414
2728
|
ids: "ids";
|
|
2415
2729
|
}>>>;
|
|
2730
|
+
table: z.ZodString & {
|
|
2731
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2732
|
+
};
|
|
2733
|
+
record: z.ZodString & {
|
|
2734
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2735
|
+
};
|
|
2736
|
+
}, z.core.$strip>;
|
|
2737
|
+
declare const GetTableRecordOptionsSchemaDeprecated: z.ZodObject<{
|
|
2738
|
+
keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2739
|
+
names: "names";
|
|
2740
|
+
ids: "ids";
|
|
2741
|
+
}>>>;
|
|
2742
|
+
tableId: z.ZodString;
|
|
2743
|
+
recordId: z.ZodString;
|
|
2416
2744
|
}, z.core.$strip>;
|
|
2417
|
-
type GetTableRecordOptions = z.infer<typeof GetTableRecordOptionsSchema> & FunctionOptions
|
|
2745
|
+
type GetTableRecordOptions = (z.infer<typeof GetTableRecordOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof GetTableRecordOptionsSchemaDeprecated>, "tableId" | "recordId"> & {
|
|
2746
|
+
/** @deprecated Use `table` instead. */
|
|
2747
|
+
tableId: z.infer<typeof GetTableRecordOptionsSchemaDeprecated>["tableId"];
|
|
2748
|
+
/** @deprecated Use `record` instead. */
|
|
2749
|
+
recordId: z.infer<typeof GetTableRecordOptionsSchemaDeprecated>["recordId"];
|
|
2750
|
+
} & FunctionOptions);
|
|
2418
2751
|
interface GetTableRecordResult {
|
|
2419
2752
|
data: RecordItem;
|
|
2420
2753
|
}
|
|
@@ -2434,7 +2767,6 @@ declare const getTableRecordPlugin: Plugin<{}, {
|
|
|
2434
2767
|
} & EventEmissionContext, GetTableRecordPluginProvides>;
|
|
2435
2768
|
|
|
2436
2769
|
declare const ListTableRecordsOptionsSchema: z.ZodObject<{
|
|
2437
|
-
tableId: z.ZodString;
|
|
2438
2770
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2439
2771
|
fieldKey: z.ZodString;
|
|
2440
2772
|
operator: z.ZodEnum<{
|
|
@@ -2469,8 +2801,51 @@ declare const ListTableRecordsOptionsSchema: z.ZodObject<{
|
|
|
2469
2801
|
names: "names";
|
|
2470
2802
|
ids: "ids";
|
|
2471
2803
|
}>>>;
|
|
2804
|
+
table: z.ZodString & {
|
|
2805
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2806
|
+
};
|
|
2472
2807
|
}, z.core.$strip>;
|
|
2473
|
-
|
|
2808
|
+
declare const ListTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2809
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2810
|
+
fieldKey: z.ZodString;
|
|
2811
|
+
operator: z.ZodEnum<{
|
|
2812
|
+
in: "in";
|
|
2813
|
+
search: "search";
|
|
2814
|
+
contains: "contains";
|
|
2815
|
+
exact: "exact";
|
|
2816
|
+
different: "different";
|
|
2817
|
+
icontains: "icontains";
|
|
2818
|
+
gte: "gte";
|
|
2819
|
+
gt: "gt";
|
|
2820
|
+
lt: "lt";
|
|
2821
|
+
lte: "lte";
|
|
2822
|
+
range: "range";
|
|
2823
|
+
isnull: "isnull";
|
|
2824
|
+
startswith: "startswith";
|
|
2825
|
+
is_within: "is_within";
|
|
2826
|
+
}>;
|
|
2827
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2828
|
+
}, z.core.$strip>>>;
|
|
2829
|
+
sort: z.ZodOptional<z.ZodObject<{
|
|
2830
|
+
fieldKey: z.ZodString;
|
|
2831
|
+
direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2832
|
+
asc: "asc";
|
|
2833
|
+
desc: "desc";
|
|
2834
|
+
}>>>;
|
|
2835
|
+
}, z.core.$strip>>;
|
|
2836
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2837
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2838
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2839
|
+
keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2840
|
+
names: "names";
|
|
2841
|
+
ids: "ids";
|
|
2842
|
+
}>>>;
|
|
2843
|
+
tableId: z.ZodString;
|
|
2844
|
+
}, z.core.$strip>;
|
|
2845
|
+
type ListTableRecordsOptions = z.infer<typeof ListTableRecordsOptionsSchema> | (Omit<z.infer<typeof ListTableRecordsOptionsSchemaDeprecated>, "tableId"> & {
|
|
2846
|
+
/** @deprecated Use `table` instead. */
|
|
2847
|
+
tableId: z.infer<typeof ListTableRecordsOptionsSchemaDeprecated>["tableId"];
|
|
2848
|
+
});
|
|
2474
2849
|
|
|
2475
2850
|
interface ListTableRecordsPluginProvides {
|
|
2476
2851
|
listTableRecords: (options: ListTableRecordsOptions) => Promise<{
|
|
@@ -2493,7 +2868,6 @@ interface ListTableRecordsPluginProvides {
|
|
|
2493
2868
|
declare const listTableRecordsPlugin: Plugin<{}, GetContextType<ApiPluginProvides> & EventEmissionContext, ListTableRecordsPluginProvides>;
|
|
2494
2869
|
|
|
2495
2870
|
declare const CreateTableRecordsOptionsSchema: z.ZodObject<{
|
|
2496
|
-
tableId: z.ZodString;
|
|
2497
2871
|
records: z.ZodArray<z.ZodObject<{
|
|
2498
2872
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2499
2873
|
}, z.core.$strip>>;
|
|
@@ -2501,8 +2875,24 @@ declare const CreateTableRecordsOptionsSchema: z.ZodObject<{
|
|
|
2501
2875
|
names: "names";
|
|
2502
2876
|
ids: "ids";
|
|
2503
2877
|
}>>>;
|
|
2878
|
+
table: z.ZodString & {
|
|
2879
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2880
|
+
};
|
|
2881
|
+
}, z.core.$strip>;
|
|
2882
|
+
declare const CreateTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2883
|
+
records: z.ZodArray<z.ZodObject<{
|
|
2884
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2885
|
+
}, z.core.$strip>>;
|
|
2886
|
+
keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2887
|
+
names: "names";
|
|
2888
|
+
ids: "ids";
|
|
2889
|
+
}>>>;
|
|
2890
|
+
tableId: z.ZodString;
|
|
2504
2891
|
}, z.core.$strip>;
|
|
2505
|
-
type CreateTableRecordsOptions = z.infer<typeof CreateTableRecordsOptionsSchema> & FunctionOptions
|
|
2892
|
+
type CreateTableRecordsOptions = (z.infer<typeof CreateTableRecordsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof CreateTableRecordsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
|
|
2893
|
+
/** @deprecated Use `table` instead. */
|
|
2894
|
+
tableId: z.infer<typeof CreateTableRecordsOptionsSchemaDeprecated>["tableId"];
|
|
2895
|
+
});
|
|
2506
2896
|
interface CreateTableRecordsResult {
|
|
2507
2897
|
data: RecordItem[];
|
|
2508
2898
|
}
|
|
@@ -2522,10 +2912,21 @@ declare const createTableRecordsPlugin: Plugin<{}, {
|
|
|
2522
2912
|
} & EventEmissionContext, CreateTableRecordsPluginProvides>;
|
|
2523
2913
|
|
|
2524
2914
|
declare const DeleteTableRecordsOptionsSchema: z.ZodObject<{
|
|
2915
|
+
table: z.ZodString & {
|
|
2916
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2917
|
+
};
|
|
2918
|
+
records: z.ZodArray<z.ZodString>;
|
|
2919
|
+
}, z.core.$strip>;
|
|
2920
|
+
declare const DeleteTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2525
2921
|
tableId: z.ZodString;
|
|
2526
2922
|
recordIds: z.ZodArray<z.ZodString>;
|
|
2527
2923
|
}, z.core.$strip>;
|
|
2528
|
-
type DeleteTableRecordsOptions = z.infer<typeof DeleteTableRecordsOptionsSchema> & FunctionOptions
|
|
2924
|
+
type DeleteTableRecordsOptions = (z.infer<typeof DeleteTableRecordsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>, "tableId" | "recordIds"> & {
|
|
2925
|
+
/** @deprecated Use `table` instead. */
|
|
2926
|
+
tableId: z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>["tableId"];
|
|
2927
|
+
/** @deprecated Use `records` instead. */
|
|
2928
|
+
recordIds: z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>["recordIds"];
|
|
2929
|
+
} & FunctionOptions);
|
|
2529
2930
|
interface DeleteTableRecordsResult {
|
|
2530
2931
|
success: boolean;
|
|
2531
2932
|
}
|
|
@@ -2545,7 +2946,6 @@ declare const deleteTableRecordsPlugin: Plugin<{}, {
|
|
|
2545
2946
|
} & EventEmissionContext, DeleteTableRecordsPluginProvides>;
|
|
2546
2947
|
|
|
2547
2948
|
declare const UpdateTableRecordsOptionsSchema: z.ZodObject<{
|
|
2548
|
-
tableId: z.ZodString;
|
|
2549
2949
|
records: z.ZodArray<z.ZodObject<{
|
|
2550
2950
|
id: z.ZodString;
|
|
2551
2951
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -2554,8 +2954,25 @@ declare const UpdateTableRecordsOptionsSchema: z.ZodObject<{
|
|
|
2554
2954
|
names: "names";
|
|
2555
2955
|
ids: "ids";
|
|
2556
2956
|
}>>>;
|
|
2957
|
+
table: z.ZodString & {
|
|
2958
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2959
|
+
};
|
|
2960
|
+
}, z.core.$strip>;
|
|
2961
|
+
declare const UpdateTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
|
|
2962
|
+
records: z.ZodArray<z.ZodObject<{
|
|
2963
|
+
id: z.ZodString;
|
|
2964
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2965
|
+
}, z.core.$strip>>;
|
|
2966
|
+
keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2967
|
+
names: "names";
|
|
2968
|
+
ids: "ids";
|
|
2969
|
+
}>>>;
|
|
2970
|
+
tableId: z.ZodString;
|
|
2557
2971
|
}, z.core.$strip>;
|
|
2558
|
-
type UpdateTableRecordsOptions = z.infer<typeof UpdateTableRecordsOptionsSchema> & FunctionOptions
|
|
2972
|
+
type UpdateTableRecordsOptions = (z.infer<typeof UpdateTableRecordsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof UpdateTableRecordsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
|
|
2973
|
+
/** @deprecated Use `table` instead. */
|
|
2974
|
+
tableId: z.infer<typeof UpdateTableRecordsOptionsSchemaDeprecated>["tableId"];
|
|
2975
|
+
});
|
|
2559
2976
|
interface UpdateTableRecordsResult {
|
|
2560
2977
|
data: RecordItem[];
|
|
2561
2978
|
}
|
|
@@ -2668,8 +3085,6 @@ interface FunctionRegistryEntry {
|
|
|
2668
3085
|
* Optional deprecation metadata for commands.
|
|
2669
3086
|
*/
|
|
2670
3087
|
deprecation?: FunctionDeprecation;
|
|
2671
|
-
/** Parameters that are deprecated and should be hidden from generated docs */
|
|
2672
|
-
deprecatedParameters?: string[];
|
|
2673
3088
|
/** Short flag aliases for CLI options (e.g., { request: "X", header: "H" }) */
|
|
2674
3089
|
aliases?: Record<string, string>;
|
|
2675
3090
|
/** Output formatter with optional page-level enrichment (mirrors resolvers for output) */
|
|
@@ -3113,7 +3528,7 @@ interface ActionTypeItem {
|
|
|
3113
3528
|
name: string;
|
|
3114
3529
|
}
|
|
3115
3530
|
declare const actionTypeResolver: DynamicResolver<ActionTypeItem, {
|
|
3116
|
-
|
|
3531
|
+
app: string;
|
|
3117
3532
|
}>;
|
|
3118
3533
|
|
|
3119
3534
|
interface ActionItem {
|
|
@@ -3124,12 +3539,12 @@ interface ActionItem {
|
|
|
3124
3539
|
action_type: string;
|
|
3125
3540
|
}
|
|
3126
3541
|
declare const actionKeyResolver: DynamicResolver<ActionItem, {
|
|
3127
|
-
|
|
3542
|
+
app: string;
|
|
3128
3543
|
actionType: ActionTypeProperty;
|
|
3129
3544
|
}>;
|
|
3130
3545
|
|
|
3131
3546
|
type ConnectionIdResolver = DynamicResolver<ConnectionItem$1, {
|
|
3132
|
-
|
|
3547
|
+
app?: string;
|
|
3133
3548
|
}>;
|
|
3134
3549
|
declare const connectionIdResolver: ConnectionIdResolver;
|
|
3135
3550
|
declare const connectionIdGenericResolver: ConnectionIdResolver;
|
|
@@ -3138,10 +3553,10 @@ type InputsResolver = {
|
|
|
3138
3553
|
type: "fields";
|
|
3139
3554
|
depends: readonly string[];
|
|
3140
3555
|
fetch: (sdk: any, resolvedParams: {
|
|
3141
|
-
|
|
3142
|
-
|
|
3556
|
+
app: string;
|
|
3557
|
+
action: string;
|
|
3143
3558
|
actionType: ActionTypeProperty;
|
|
3144
|
-
|
|
3559
|
+
connection: string | number;
|
|
3145
3560
|
inputs?: Record<string, unknown>;
|
|
3146
3561
|
}) => Promise<RootFieldItem[]>;
|
|
3147
3562
|
};
|
|
@@ -3149,10 +3564,10 @@ declare const inputsResolver: InputsResolver;
|
|
|
3149
3564
|
declare const inputsAllOptionalResolver: InputsResolver;
|
|
3150
3565
|
|
|
3151
3566
|
declare const inputFieldKeyResolver: DynamicResolver<InputFieldItem$1, {
|
|
3152
|
-
|
|
3153
|
-
|
|
3567
|
+
app: string;
|
|
3568
|
+
action: string;
|
|
3154
3569
|
actionType: ActionTypeProperty;
|
|
3155
|
-
|
|
3570
|
+
connection: string | number;
|
|
3156
3571
|
inputs?: Record<string, unknown>;
|
|
3157
3572
|
}>;
|
|
3158
3573
|
|
|
@@ -3175,14 +3590,14 @@ declare const clientIdResolver: DynamicResolver<ClientCredentialsItem, {}>;
|
|
|
3175
3590
|
declare const tableIdResolver: DynamicResolver<TableItem, {}>;
|
|
3176
3591
|
|
|
3177
3592
|
declare const tableRecordIdResolver: DynamicResolver<RecordItem, {
|
|
3178
|
-
|
|
3593
|
+
table: string;
|
|
3179
3594
|
}>;
|
|
3180
3595
|
declare const tableRecordIdsResolver: DynamicResolver<RecordItem, {
|
|
3181
|
-
|
|
3596
|
+
table: string;
|
|
3182
3597
|
}>;
|
|
3183
3598
|
|
|
3184
3599
|
declare const tableFieldIdsResolver: DynamicResolver<FieldItem, {
|
|
3185
|
-
|
|
3600
|
+
table: string;
|
|
3186
3601
|
}>;
|
|
3187
3602
|
|
|
3188
3603
|
declare const tableNameResolver: StaticResolver;
|
|
@@ -3190,18 +3605,18 @@ declare const tableNameResolver: StaticResolver;
|
|
|
3190
3605
|
declare const tableFieldsResolver: ArrayResolver;
|
|
3191
3606
|
|
|
3192
3607
|
declare const tableRecordsResolver: ArrayResolver<{
|
|
3193
|
-
|
|
3608
|
+
table: string;
|
|
3194
3609
|
}>;
|
|
3195
3610
|
declare const tableUpdateRecordsResolver: ArrayResolver<{
|
|
3196
|
-
|
|
3611
|
+
table: string;
|
|
3197
3612
|
}>;
|
|
3198
3613
|
|
|
3199
3614
|
declare const tableFiltersResolver: ArrayResolver<{
|
|
3200
|
-
|
|
3615
|
+
table: string;
|
|
3201
3616
|
}>;
|
|
3202
3617
|
|
|
3203
3618
|
declare const tableSortResolver: FieldsResolver<{
|
|
3204
|
-
|
|
3619
|
+
table: string;
|
|
3205
3620
|
}>;
|
|
3206
3621
|
|
|
3207
3622
|
/**
|
|
@@ -3650,4 +4065,4 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
|
|
|
3650
4065
|
}>;
|
|
3651
4066
|
declare function createZapierSdk(options?: ZapierSdkOptions): ZapierSdk;
|
|
3652
4067
|
|
|
3653
|
-
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, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionEntry, ConnectionEntrySchema, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionProperty, ConnectionPropertySchema, type ConnectionsMap, ConnectionsMapSchema, type ConnectionsPluginProvides, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type CreateTableFieldsPluginProvides, type CreateTablePluginProvides, type CreateTableRecordsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_PAGE_SIZE, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DeleteTableFieldsPluginProvides, type DeleteTablePluginProvides, type DeleteTableRecordsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type 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, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, updateTableRecordsPlugin };
|
|
4068
|
+
export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionProperty, ActionPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppFactoryInput, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type AppProperty, AppPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AppsProperty, AppsPropertySchema, type ArrayResolver, type AuthEvent, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type BaseEvent, BaseSdkOptionsSchema, type BatchOptions, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, type Choice, type ClientCredentialsObject, ClientCredentialsObjectSchema, type Connection, type ConnectionEntry, ConnectionEntrySchema, type ConnectionIdProperty, ConnectionIdPropertySchema, type ConnectionItem, type ConnectionProperty, ConnectionPropertySchema, type ConnectionsMap, ConnectionsMapSchema, type ConnectionsPluginProvides, type ConnectionsProperty, ConnectionsPropertySchema, type ConnectionsResponse, type CreateClientCredentialsPluginProvides, type CreateTableFieldsPluginProvides, type CreateTablePluginProvides, type CreateTableRecordsPluginProvides, type Credentials, type CredentialsFunction, CredentialsFunctionSchema, type CredentialsObject, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_PAGE_SIZE, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type DeleteTableFieldsPluginProvides, type DeleteTablePluginProvides, type DeleteTableRecordsPluginProvides, type DynamicResolver, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsProperty, FieldsPropertySchema, type FieldsResolver, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindFirstConnectionPluginProvides, type FindUniqueAuthenticationPluginProvides, type FindUniqueConnectionPluginProvides, type FormatMetadata, type FormattedItem, type FunctionDeprecation, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetConnectionPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type GetTablePluginProvides, type GetTableRecordPluginProvides, type InfoFieldItem, type InputFieldItem, type InputFieldProperty, InputFieldPropertySchema, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListConnectionsPluginProvides, type ListInputFieldsPluginProvides, type ListTableFieldsPluginProvides, type ListTableRecordsPluginProvides, type ListTablesPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputFormatter, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, PkceCredentialsObjectSchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, type RateLimitInfo, type RecordProperty, RecordPropertySchema, type RecordsProperty, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, ResolvedCredentialsSchema, type Resolver, type ResolverMetadata, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type SdkPage, type StaticResolver, type TableProperty, TablePropertySchema, type TablesProperty, TablesPropertySchema, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UpdateTableRecordsPluginProvides, type UserProfile, type UserProfileItem, ZAPIER_BASE_URL, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listInputFieldsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, updateTableRecordsPlugin };
|