@zapier/zapier-sdk 0.116.1 → 0.117.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 +17 -0
- package/README.md +1379 -1357
- package/dist/beta.cjs +284 -280
- package/dist/beta.d.mts +34 -34
- package/dist/beta.d.ts +34 -34
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-Y4Z3647P.mjs → chunk-AYRG6FET.mjs} +1 -1
- package/dist/{chunk-QJLBUSRL.cjs → chunk-FDR2QEZI.cjs} +104 -36
- package/dist/{chunk-2JWAWQSA.cjs → chunk-VGYBFMBG.cjs} +4 -4
- package/dist/{chunk-T62QPSDN.mjs → chunk-Z2SAHSI3.mjs} +104 -37
- package/dist/experimental.cjs +393 -397
- package/dist/experimental.d.mts +42 -42
- package/dist/experimental.d.ts +42 -42
- package/dist/experimental.mjs +7 -15
- package/dist/{index-CKzlo4Y-.d.mts → index-DWS1MdAd.d.mts} +37 -2
- package/dist/{index-CKzlo4Y-.d.ts → index-DWS1MdAd.d.ts} +37 -2
- package/dist/index.cjs +282 -278
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -2824,7 +2824,7 @@ function logRouteOverride({
|
|
|
2824
2824
|
}
|
|
2825
2825
|
|
|
2826
2826
|
// src/sdk-version.ts
|
|
2827
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
2827
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.117.0" : void 0) || "unknown";
|
|
2828
2828
|
|
|
2829
2829
|
// src/utils/open-url.ts
|
|
2830
2830
|
var nodePrefix = "node:";
|
|
@@ -5213,6 +5213,73 @@ var FetchInputSchema = zod.z.object({
|
|
|
5213
5213
|
url: FetchUrlSchema,
|
|
5214
5214
|
init: FetchInitSchema
|
|
5215
5215
|
});
|
|
5216
|
+
|
|
5217
|
+
// src/taxonomy.json
|
|
5218
|
+
var taxonomy_default = {
|
|
5219
|
+
categories: {
|
|
5220
|
+
account: {
|
|
5221
|
+
key: "account",
|
|
5222
|
+
description: "Your Zapier user account, the one the SDK is signed in as. Use these to check who that is."
|
|
5223
|
+
},
|
|
5224
|
+
action: {
|
|
5225
|
+
key: "action",
|
|
5226
|
+
description: "An action is something an app can do, like sending an email or creating a contact. Use these to find an app's actions, see what inputs they need, and run them directly, outside a Zap."
|
|
5227
|
+
},
|
|
5228
|
+
app: {
|
|
5229
|
+
key: "app",
|
|
5230
|
+
description: "An app is a web service that connects with Zapier, like Gmail or Slack. Use these to find apps and the keys other methods use to refer to them."
|
|
5231
|
+
},
|
|
5232
|
+
"client-credentials": {
|
|
5233
|
+
key: "client-credentials",
|
|
5234
|
+
description: "SDK client credentials are a client ID and client secret that authenticate your code to the Zapier SDK, separate from the connections that authenticate apps. Use these to create, list, and revoke them."
|
|
5235
|
+
},
|
|
5236
|
+
"code-workflow": {
|
|
5237
|
+
key: "code-workflow",
|
|
5238
|
+
title: "Next Gen Zaps",
|
|
5239
|
+
titlePlural: "Next Gen Zaps",
|
|
5240
|
+
description: "Next Gen Zaps are a new version of Zaps that run on code, which makes them easier for agents and AI tools to understand. Use these to build, test, publish, and run Next Gen Zaps, and to check on their runs."
|
|
5241
|
+
},
|
|
5242
|
+
connection: {
|
|
5243
|
+
key: "connection",
|
|
5244
|
+
description: "A connection is an authenticated link between Zapier and your account in an app, like your company's Slack workspace, made with OAuth or an API key. Use these to find existing connections or create new ones for actions, triggers, and API requests to use."
|
|
5245
|
+
},
|
|
5246
|
+
http: {
|
|
5247
|
+
key: "http",
|
|
5248
|
+
title: "HTTP Request",
|
|
5249
|
+
description: "Make authenticated requests to an app's API through Zapier's API proxy, using a connection's credentials so your code never handles tokens or keys. Useful when an app's actions don't cover what you need."
|
|
5250
|
+
},
|
|
5251
|
+
"human-input": {
|
|
5252
|
+
key: "human-input",
|
|
5253
|
+
description: "Collect information from people with Zapier Forms. Use these to create a form and share its link to gather responses."
|
|
5254
|
+
},
|
|
5255
|
+
table: {
|
|
5256
|
+
key: "table",
|
|
5257
|
+
description: "Tables is Zapier's database tool for storing and managing data. Use these to manage tables, their fields, and their records."
|
|
5258
|
+
},
|
|
5259
|
+
trigger: {
|
|
5260
|
+
key: "trigger",
|
|
5261
|
+
description: "A trigger is an event in an app that starts your automation, like a new email received. Use these to find an app's triggers and receive their events directly in your code, outside a Zap."
|
|
5262
|
+
},
|
|
5263
|
+
utility: {
|
|
5264
|
+
key: "utility",
|
|
5265
|
+
description: "Commands for setting up and working with the SDK in a project, like creating a project, adding apps, and generating TypeScript types."
|
|
5266
|
+
},
|
|
5267
|
+
vfs: {
|
|
5268
|
+
key: "vfs",
|
|
5269
|
+
title: "Virtual File System",
|
|
5270
|
+
titlePlural: "Virtual File System",
|
|
5271
|
+
description: "The Virtual File System is file storage hosted by Zapier. Use these to read, write, and organize files and folders."
|
|
5272
|
+
}
|
|
5273
|
+
}
|
|
5274
|
+
};
|
|
5275
|
+
|
|
5276
|
+
// src/taxonomy.ts
|
|
5277
|
+
var taxonomy = taxonomy_default;
|
|
5278
|
+
Object.values(taxonomy.categories).forEach((entry) => Object.freeze(entry));
|
|
5279
|
+
Object.freeze(taxonomy.categories);
|
|
5280
|
+
Object.freeze(taxonomy);
|
|
5281
|
+
|
|
5282
|
+
// src/plugins/fetch/index.ts
|
|
5216
5283
|
function transformUrlToRelayPath(url) {
|
|
5217
5284
|
const targetUrl = new URL(url);
|
|
5218
5285
|
return `/relay/${targetUrl.host}${targetUrl.pathname}${targetUrl.search}${targetUrl.hash}`;
|
|
@@ -5293,7 +5360,7 @@ var fetchPlugin = kitcore.defineMethod({
|
|
|
5293
5360
|
// title explicitly so the registry renders "HTTP Request". Other plugins in
|
|
5294
5361
|
// this category use the bare string "http"; the object form wins regardless
|
|
5295
5362
|
// of order.
|
|
5296
|
-
categories: [
|
|
5363
|
+
categories: [taxonomy.categories.http],
|
|
5297
5364
|
returnType: "Response",
|
|
5298
5365
|
// The CLI, controller, and MCP all derive fetch's `(url, init)` shape from
|
|
5299
5366
|
// `inputSchema` + `positional`; the CLI flattens `init`'s fields into
|
|
@@ -7104,7 +7171,7 @@ async function fetchAppActions({
|
|
|
7104
7171
|
var listActionsPlugin = kitcore.defineMethod({
|
|
7105
7172
|
name: "listActions",
|
|
7106
7173
|
imports: [manifestPluginRef, apiPluginRef],
|
|
7107
|
-
categories: [
|
|
7174
|
+
categories: [taxonomy.categories.action],
|
|
7108
7175
|
itemType: "Action",
|
|
7109
7176
|
inputSchema: ListActionsInputSchema,
|
|
7110
7177
|
outputSchema: ActionItemSchema,
|
|
@@ -7139,7 +7206,7 @@ var getActionPlugin = kitcore.defineMethod({
|
|
|
7139
7206
|
// `listActionsPlugin` is here for the action-type and action-key resolvers,
|
|
7140
7207
|
// which reach it through a stand-in; the lookup itself doesn't use it.
|
|
7141
7208
|
imports: [listActionsPlugin, manifestPluginRef, apiPluginRef],
|
|
7142
|
-
categories: [
|
|
7209
|
+
categories: [taxonomy.categories.action],
|
|
7143
7210
|
itemType: "Action",
|
|
7144
7211
|
inputSchema: GetActionInputSchema,
|
|
7145
7212
|
outputSchema: ActionItemSchema,
|
|
@@ -7203,7 +7270,7 @@ var createActionRunPlugin = kitcore.defineMethod({
|
|
|
7203
7270
|
apiPluginRef,
|
|
7204
7271
|
getActionPlugin
|
|
7205
7272
|
],
|
|
7206
|
-
categories: [
|
|
7273
|
+
categories: [taxonomy.categories.action],
|
|
7207
7274
|
type: "create",
|
|
7208
7275
|
itemType: "StartedActionRun",
|
|
7209
7276
|
inputSchema: CreateActionRunSchema,
|
|
@@ -7250,7 +7317,7 @@ var createActionRunPlugin = kitcore.defineMethod({
|
|
|
7250
7317
|
);
|
|
7251
7318
|
}
|
|
7252
7319
|
const actionData = await imports.getAction({
|
|
7253
|
-
app:
|
|
7320
|
+
app: implementationId,
|
|
7254
7321
|
action: actionKey,
|
|
7255
7322
|
actionType
|
|
7256
7323
|
});
|
|
@@ -7363,7 +7430,7 @@ function isActionRunPending(body) {
|
|
|
7363
7430
|
var runActionPlugin = kitcore.defineMethod({
|
|
7364
7431
|
name: "runAction",
|
|
7365
7432
|
imports: [apiPluginRef, connectionsPluginRef, createActionRunPlugin],
|
|
7366
|
-
categories: [
|
|
7433
|
+
categories: [taxonomy.categories.action],
|
|
7367
7434
|
itemType: "ActionResult",
|
|
7368
7435
|
inputSchema: RunActionInputSchema,
|
|
7369
7436
|
outputSchema: ActionResultItemSchema,
|
|
@@ -7608,7 +7675,7 @@ var appsPlugin = kitcore.defineProperty({
|
|
|
7608
7675
|
dynamicMembers: [
|
|
7609
7676
|
{
|
|
7610
7677
|
path: ["apps", { param: "appKey" }],
|
|
7611
|
-
categories: [
|
|
7678
|
+
categories: [taxonomy.categories.app],
|
|
7612
7679
|
packages: ["sdk"],
|
|
7613
7680
|
type: "function",
|
|
7614
7681
|
inputSchema: AppFactoryInputSchema,
|
|
@@ -7621,7 +7688,7 @@ var appsPlugin = kitcore.defineProperty({
|
|
|
7621
7688
|
{ param: "actionType" },
|
|
7622
7689
|
{ param: "actionKey" }
|
|
7623
7690
|
],
|
|
7624
|
-
categories: [
|
|
7691
|
+
categories: [taxonomy.categories.app],
|
|
7625
7692
|
packages: ["sdk"],
|
|
7626
7693
|
type: "list",
|
|
7627
7694
|
inputSchema: ActionExecutionInputSchema,
|
|
@@ -7928,7 +7995,7 @@ var listAppsPlugin = kitcore.defineMethod({
|
|
|
7928
7995
|
sdkOptionsPluginRef,
|
|
7929
7996
|
kitcore.coreOptionsPluginRef
|
|
7930
7997
|
],
|
|
7931
|
-
categories: [
|
|
7998
|
+
categories: [taxonomy.categories.app],
|
|
7932
7999
|
itemType: "App",
|
|
7933
8000
|
inputSchema: ListAppsSchema,
|
|
7934
8001
|
outputSchema: AppItemSchema,
|
|
@@ -8274,7 +8341,7 @@ var listActionInputFieldsPlugin = kitcore.defineMethod({
|
|
|
8274
8341
|
apiPluginRef,
|
|
8275
8342
|
getActionPlugin
|
|
8276
8343
|
],
|
|
8277
|
-
categories: [
|
|
8344
|
+
categories: [taxonomy.categories.action],
|
|
8278
8345
|
itemType: "RootField",
|
|
8279
8346
|
inputSchema: ListActionInputFieldsInputSchema,
|
|
8280
8347
|
outputSchema: RootFieldItemSchema,
|
|
@@ -8409,7 +8476,7 @@ var listActionInputFieldChoicesPlugin = kitcore.defineMethod({
|
|
|
8409
8476
|
apiPluginRef,
|
|
8410
8477
|
getActionPlugin
|
|
8411
8478
|
],
|
|
8412
|
-
categories: [
|
|
8479
|
+
categories: [taxonomy.categories.action],
|
|
8413
8480
|
itemType: "InputFieldChoice",
|
|
8414
8481
|
inputSchema: ListActionInputFieldChoicesInputSchema,
|
|
8415
8482
|
outputSchema: InputFieldChoiceItemSchema,
|
|
@@ -8573,7 +8640,7 @@ var getActionInputFieldsSchemaPlugin = kitcore.defineMethod({
|
|
|
8573
8640
|
apiPluginRef,
|
|
8574
8641
|
getActionPlugin
|
|
8575
8642
|
],
|
|
8576
|
-
categories: [
|
|
8643
|
+
categories: [taxonomy.categories.action],
|
|
8577
8644
|
itemType: "InputSchema",
|
|
8578
8645
|
inputSchema: GetActionInputFieldsSchemaInputSchema,
|
|
8579
8646
|
output: "item",
|
|
@@ -8733,7 +8800,7 @@ var listConnectionsPlugin = kitcore.defineMethod({
|
|
|
8733
8800
|
capabilitiesPluginRef,
|
|
8734
8801
|
kitcore.coreOptionsPluginRef
|
|
8735
8802
|
],
|
|
8736
|
-
categories: [
|
|
8803
|
+
categories: [taxonomy.categories.connection],
|
|
8737
8804
|
itemType: "Connection",
|
|
8738
8805
|
inputSchema: ListConnectionsQuerySchema,
|
|
8739
8806
|
outputSchema: ConnectionItemSchema,
|
|
@@ -8889,7 +8956,7 @@ var clientCredentialsCreatedItemFormatter = kitcore.defineFormatter({
|
|
|
8889
8956
|
var listClientCredentialsPlugin = kitcore.defineMethod({
|
|
8890
8957
|
name: "listClientCredentials",
|
|
8891
8958
|
imports: [apiPluginRef],
|
|
8892
|
-
categories: ["client-credentials"],
|
|
8959
|
+
categories: [taxonomy.categories["client-credentials"]],
|
|
8893
8960
|
itemType: "ClientCredentials",
|
|
8894
8961
|
inputSchema: ListClientCredentialsQuerySchema,
|
|
8895
8962
|
outputSchema: ClientCredentialsItemSchema,
|
|
@@ -8929,7 +8996,7 @@ var CreateClientCredentialsSchema = clientCredentials.CreateClientCredentialsReq
|
|
|
8929
8996
|
var createClientCredentialsPlugin = kitcore.defineMethod({
|
|
8930
8997
|
name: "createClientCredentials",
|
|
8931
8998
|
imports: [apiPluginRef],
|
|
8932
|
-
categories: ["client-credentials"],
|
|
8999
|
+
categories: [taxonomy.categories["client-credentials"]],
|
|
8933
9000
|
type: "create",
|
|
8934
9001
|
itemType: "ClientCredentials",
|
|
8935
9002
|
inputSchema: CreateClientCredentialsSchema,
|
|
@@ -8964,7 +9031,7 @@ var DeleteClientCredentialsSchema = zod.z.object({
|
|
|
8964
9031
|
var deleteClientCredentialsPlugin = kitcore.defineMethod({
|
|
8965
9032
|
name: "deleteClientCredentials",
|
|
8966
9033
|
imports: [apiPluginRef],
|
|
8967
|
-
categories: ["client-credentials"],
|
|
9034
|
+
categories: [taxonomy.categories["client-credentials"]],
|
|
8968
9035
|
itemType: "ClientCredentials",
|
|
8969
9036
|
type: "delete",
|
|
8970
9037
|
inputSchema: DeleteClientCredentialsSchema,
|
|
@@ -8997,7 +9064,7 @@ var GetAppInputSchema = zod.z.union([GetAppSchema, GetAppSchemaDeprecated]).desc
|
|
|
8997
9064
|
var getAppPlugin = kitcore.defineMethod({
|
|
8998
9065
|
name: "getApp",
|
|
8999
9066
|
imports: [listAppsPlugin],
|
|
9000
|
-
categories: [
|
|
9067
|
+
categories: [taxonomy.categories.app],
|
|
9001
9068
|
itemType: "App",
|
|
9002
9069
|
inputSchema: GetAppInputSchema,
|
|
9003
9070
|
outputSchema: AppItemSchema,
|
|
@@ -9035,7 +9102,7 @@ var GetConnectionInputSchema = zod.z.union([
|
|
|
9035
9102
|
var getConnectionPlugin = kitcore.defineMethod({
|
|
9036
9103
|
name: "getConnection",
|
|
9037
9104
|
imports: [apiPluginRef, kitcore.coreOptionsPluginRef],
|
|
9038
|
-
categories: [
|
|
9105
|
+
categories: [taxonomy.categories.connection],
|
|
9039
9106
|
itemType: "Connection",
|
|
9040
9107
|
inputSchema: GetConnectionInputSchema,
|
|
9041
9108
|
outputSchema: ConnectionItemSchema,
|
|
@@ -9080,7 +9147,7 @@ var FindFirstConnectionSchema = ListConnectionsQuerySchema.omit({
|
|
|
9080
9147
|
var findFirstConnectionPlugin = kitcore.defineMethod({
|
|
9081
9148
|
name: "findFirstConnection",
|
|
9082
9149
|
imports: [listConnectionsPlugin],
|
|
9083
|
-
categories: [
|
|
9150
|
+
categories: [taxonomy.categories.connection],
|
|
9084
9151
|
itemType: "Connection",
|
|
9085
9152
|
inputSchema: FindFirstConnectionSchema,
|
|
9086
9153
|
outputSchema: ConnectionItemSchema,
|
|
@@ -9116,7 +9183,7 @@ var FindUniqueConnectionSchema = ListConnectionsQuerySchema.omit({
|
|
|
9116
9183
|
var findUniqueConnectionPlugin = kitcore.defineMethod({
|
|
9117
9184
|
name: "findUniqueConnection",
|
|
9118
9185
|
imports: [listConnectionsPlugin],
|
|
9119
|
-
categories: [
|
|
9186
|
+
categories: [taxonomy.categories.connection],
|
|
9120
9187
|
itemType: "Connection",
|
|
9121
9188
|
inputSchema: FindUniqueConnectionSchema,
|
|
9122
9189
|
outputSchema: ConnectionItemSchema,
|
|
@@ -9189,7 +9256,7 @@ function toActionRun(runId, payload) {
|
|
|
9189
9256
|
var getActionRunPlugin = kitcore.defineMethod({
|
|
9190
9257
|
name: "getActionRun",
|
|
9191
9258
|
imports: [apiPluginRef],
|
|
9192
|
-
categories: [
|
|
9259
|
+
categories: [taxonomy.categories.action],
|
|
9193
9260
|
itemType: "ActionRun",
|
|
9194
9261
|
inputSchema: GetActionRunSchema,
|
|
9195
9262
|
outputSchema: ActionRunItemSchema,
|
|
@@ -9233,7 +9300,7 @@ var requestPlugin = kitcore.defineMethod({
|
|
|
9233
9300
|
inputSchema: RelayRequestSchema,
|
|
9234
9301
|
skipInputValidation: true,
|
|
9235
9302
|
packages: ["cli", "mcp"],
|
|
9236
|
-
categories: [
|
|
9303
|
+
categories: [taxonomy.categories.http],
|
|
9237
9304
|
deprecation: { message: "Use fetch() instead." },
|
|
9238
9305
|
returnType: "Response",
|
|
9239
9306
|
setup: ({ imports }) => {
|
|
@@ -9303,7 +9370,7 @@ var getProfilePlugin = kitcore.defineMethod({
|
|
|
9303
9370
|
inputSchema: GetProfileSchema,
|
|
9304
9371
|
output: "item",
|
|
9305
9372
|
formatter: userProfileItemFormatter,
|
|
9306
|
-
categories: [
|
|
9373
|
+
categories: [taxonomy.categories.account],
|
|
9307
9374
|
itemType: "Profile",
|
|
9308
9375
|
outputSchema: UserProfileItemSchema,
|
|
9309
9376
|
skipOutputValidation: true,
|
|
@@ -9377,7 +9444,7 @@ var START_PATH = "/zapier/api/authentications/v1/sdk/connections/start";
|
|
|
9377
9444
|
var getConnectionStartUrlPlugin = kitcore.defineMethod({
|
|
9378
9445
|
name: "getConnectionStartUrl",
|
|
9379
9446
|
imports: [manifestPluginRef, apiPluginRef],
|
|
9380
|
-
categories: [
|
|
9447
|
+
categories: [taxonomy.categories.connection],
|
|
9381
9448
|
type: "create",
|
|
9382
9449
|
itemType: "ConnectionStartUrl",
|
|
9383
9450
|
inputSchema: GetConnectionStartUrlSchema,
|
|
@@ -9453,7 +9520,7 @@ var CONNECTIONS_PATH = "/zapier/api/v4/authentications";
|
|
|
9453
9520
|
var waitForNewConnectionPlugin = kitcore.defineMethod({
|
|
9454
9521
|
name: "waitForNewConnection",
|
|
9455
9522
|
imports: [manifestPluginRef, apiPluginRef, kitcore.coreOptionsPluginRef],
|
|
9456
|
-
categories: [
|
|
9523
|
+
categories: [taxonomy.categories.connection],
|
|
9457
9524
|
itemType: "Connection",
|
|
9458
9525
|
inputSchema: WaitForNewConnectionSchema,
|
|
9459
9526
|
outputSchema: WaitForNewConnectionItemSchema,
|
|
@@ -9570,7 +9637,7 @@ var createConnectionPlugin = kitcore.defineMethod({
|
|
|
9570
9637
|
// Composes the two low-level connection methods at runtime, so it imports
|
|
9571
9638
|
// them (they materialize + dedup against their own module exports).
|
|
9572
9639
|
imports: [getConnectionStartUrlPlugin, waitForNewConnectionPlugin],
|
|
9573
|
-
categories: [
|
|
9640
|
+
categories: [taxonomy.categories.connection],
|
|
9574
9641
|
type: "create",
|
|
9575
9642
|
itemType: "Connection",
|
|
9576
9643
|
inputSchema: CreateConnectionSchema,
|
|
@@ -9635,7 +9702,7 @@ var listAuthenticationsPlugin = kitcore.defineMethod({
|
|
|
9635
9702
|
output: { type: "list", adaptPage: toSdkPageInput },
|
|
9636
9703
|
inputSchema: ListConnectionsQuerySchema,
|
|
9637
9704
|
packages: ["cli", "mcp"],
|
|
9638
|
-
categories: [
|
|
9705
|
+
categories: [taxonomy.categories.connection],
|
|
9639
9706
|
deprecation: { message: "Use listConnections instead." },
|
|
9640
9707
|
itemType: "Connection",
|
|
9641
9708
|
outputSchema: ConnectionItemSchema,
|
|
@@ -9655,7 +9722,7 @@ var getAuthenticationPlugin = kitcore.defineMethod({
|
|
|
9655
9722
|
inputSchema: GetConnectionInputSchema,
|
|
9656
9723
|
skipInputValidation: true,
|
|
9657
9724
|
packages: ["cli", "mcp"],
|
|
9658
|
-
categories: [
|
|
9725
|
+
categories: [taxonomy.categories.connection],
|
|
9659
9726
|
deprecation: { message: "Use getConnection instead." },
|
|
9660
9727
|
type: "item",
|
|
9661
9728
|
itemType: "Connection",
|
|
@@ -9676,7 +9743,7 @@ var findFirstAuthenticationPlugin = kitcore.defineMethod({
|
|
|
9676
9743
|
inputSchema: FindFirstConnectionSchema,
|
|
9677
9744
|
skipInputValidation: true,
|
|
9678
9745
|
packages: ["cli", "mcp"],
|
|
9679
|
-
categories: [
|
|
9746
|
+
categories: [taxonomy.categories.connection],
|
|
9680
9747
|
deprecation: { message: "Use findFirstConnection instead." },
|
|
9681
9748
|
type: "item",
|
|
9682
9749
|
itemType: "Connection",
|
|
@@ -9694,7 +9761,7 @@ var findUniqueAuthenticationPlugin = kitcore.defineMethod({
|
|
|
9694
9761
|
inputSchema: FindUniqueConnectionSchema,
|
|
9695
9762
|
skipInputValidation: true,
|
|
9696
9763
|
packages: ["cli", "mcp"],
|
|
9697
|
-
categories: [
|
|
9764
|
+
categories: [taxonomy.categories.connection],
|
|
9698
9765
|
deprecation: { message: "Use findUniqueConnection instead." },
|
|
9699
9766
|
type: "item",
|
|
9700
9767
|
itemType: "Connection",
|
|
@@ -9719,7 +9786,7 @@ var listInputFieldsDeprecatedPlugin = kitcore.defineMethod({
|
|
|
9719
9786
|
defaultPageSize: DEFAULT_PAGE_SIZE
|
|
9720
9787
|
},
|
|
9721
9788
|
inputSchema: ListActionInputFieldsInputSchema,
|
|
9722
|
-
categories: [
|
|
9789
|
+
categories: [taxonomy.categories.action],
|
|
9723
9790
|
deprecation: { message: "Use listActionInputFields instead." },
|
|
9724
9791
|
itemType: "RootField",
|
|
9725
9792
|
outputSchema: RootFieldItemSchema,
|
|
@@ -9741,7 +9808,7 @@ var listInputFieldChoicesDeprecatedPlugin = kitcore.defineMethod({
|
|
|
9741
9808
|
defaultPageSize: DEFAULT_PAGE_SIZE
|
|
9742
9809
|
},
|
|
9743
9810
|
inputSchema: ListActionInputFieldChoicesInputSchema,
|
|
9744
|
-
categories: [
|
|
9811
|
+
categories: [taxonomy.categories.action],
|
|
9745
9812
|
deprecation: { message: "Use listActionInputFieldChoices instead." },
|
|
9746
9813
|
itemType: "InputFieldChoiceItem",
|
|
9747
9814
|
outputSchema: InputFieldChoiceItemSchema,
|
|
@@ -9758,7 +9825,7 @@ var getInputFieldsSchemaDeprecatedPlugin = kitcore.defineMethod({
|
|
|
9758
9825
|
output: "raw",
|
|
9759
9826
|
inputSchema: GetActionInputFieldsSchemaInputSchema,
|
|
9760
9827
|
skipInputValidation: true,
|
|
9761
|
-
categories: [
|
|
9828
|
+
categories: [taxonomy.categories.action],
|
|
9762
9829
|
deprecation: { message: "Use getActionInputFieldsSchema instead." },
|
|
9763
9830
|
type: "function",
|
|
9764
9831
|
run: ({ imports, input }) => {
|
|
@@ -9864,7 +9931,7 @@ var triggerInboxItemFormatter = kitcore.defineFormatter({
|
|
|
9864
9931
|
});
|
|
9865
9932
|
|
|
9866
9933
|
// src/plugins/triggers/shared.ts
|
|
9867
|
-
var triggerCategories = [
|
|
9934
|
+
var triggerCategories = [taxonomy.categories.trigger];
|
|
9868
9935
|
function deriveReadOperation() {
|
|
9869
9936
|
const annotations = { operationType: "read" };
|
|
9870
9937
|
return { ...annotations };
|
|
@@ -11675,7 +11742,7 @@ var listTablesInternalPlugin = kitcore.defineMethod({
|
|
|
11675
11742
|
});
|
|
11676
11743
|
|
|
11677
11744
|
// src/plugins/tables/shared.ts
|
|
11678
|
-
var tableCategories = [
|
|
11745
|
+
var tableCategories = [taxonomy.categories.table];
|
|
11679
11746
|
|
|
11680
11747
|
// src/plugins/tables/listTables/index.ts
|
|
11681
11748
|
var listTablesPlugin = kitcore.defineMethod({
|
|
@@ -13825,6 +13892,7 @@ exports.tableRecordIdsResolver = tableRecordIdsResolver;
|
|
|
13825
13892
|
exports.tableRecordsResolver = tableRecordsResolver;
|
|
13826
13893
|
exports.tableSortResolver = tableSortResolver;
|
|
13827
13894
|
exports.tableUpdateRecordsResolver = tableUpdateRecordsResolver;
|
|
13895
|
+
exports.taxonomy = taxonomy;
|
|
13828
13896
|
exports.triggerInboxResolver = triggerInboxResolver;
|
|
13829
13897
|
exports.triggerMessagesResolver = triggerMessagesResolver;
|
|
13830
13898
|
exports.updateTableRecordsPlugin = updateTableRecordsPlugin;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFDR2QEZI_cjs = require('./chunk-FDR2QEZI.cjs');
|
|
4
4
|
var kitcore = require('@zapier/kitcore');
|
|
5
5
|
|
|
6
6
|
var zapierBetaSdkPlugin = kitcore.definePlugin({
|
|
7
7
|
namespace: "zapier",
|
|
8
8
|
name: "beta-sdk",
|
|
9
|
-
exports: [
|
|
9
|
+
exports: [chunkFDR2QEZI_cjs.zapierSdkPlugin]
|
|
10
10
|
});
|
|
11
11
|
function createZapierSdk(options = {}) {
|
|
12
12
|
return kitcore.createSdk(zapierBetaSdkPlugin, {
|
|
13
13
|
configuration: {
|
|
14
|
-
[
|
|
15
|
-
[kitcore.CORE_OPTIONS_ID]:
|
|
14
|
+
[chunkFDR2QEZI_cjs.SDK_OPTIONS_ID]: options,
|
|
15
|
+
[kitcore.CORE_OPTIONS_ID]: chunkFDR2QEZI_cjs.zapierCoreOptions
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
}
|