@zapier/zapier-sdk-cli 0.87.2 → 0.87.4
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 +18 -0
- package/README.md +281 -257
- package/dist/cli.cjs +17 -17
- package/dist/cli.mjs +18 -18
- package/dist/experimental.cjs +17 -17
- package/dist/experimental.d.mts +1 -1
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.mjs +18 -18
- package/dist/{extensions-CrfC6xjA.d.mts → extensions-ARSBOJ1p.d.mts} +3 -3
- package/dist/{extensions-CrfC6xjA.d.ts → extensions-ARSBOJ1p.d.ts} +3 -3
- package/dist/index.cjs +17 -17
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +18 -18
- package/package.json +4 -4
package/dist/cli.cjs
CHANGED
|
@@ -607,7 +607,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
607
607
|
|
|
608
608
|
// package.json
|
|
609
609
|
var package_default = {
|
|
610
|
-
version: "0.87.
|
|
610
|
+
version: "0.87.4"};
|
|
611
611
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
612
612
|
var LOCKFILES = [
|
|
613
613
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -4795,7 +4795,7 @@ var loginPlugin = zapierSdk.defineMethod({
|
|
|
4795
4795
|
],
|
|
4796
4796
|
output: "raw",
|
|
4797
4797
|
inputSchema: LoginSchema,
|
|
4798
|
-
categories: [
|
|
4798
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
4799
4799
|
supportsJsonOutput: false,
|
|
4800
4800
|
run: async ({ imports, input }) => {
|
|
4801
4801
|
await runAccountAuth({
|
|
@@ -4846,7 +4846,7 @@ var signupPlugin = zapierSdk.defineMethod({
|
|
|
4846
4846
|
],
|
|
4847
4847
|
output: "raw",
|
|
4848
4848
|
inputSchema: SignupSchema,
|
|
4849
|
-
categories: [
|
|
4849
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
4850
4850
|
supportsJsonOutput: false,
|
|
4851
4851
|
run: async ({ imports, input }) => {
|
|
4852
4852
|
await runAccountAuth({
|
|
@@ -4864,7 +4864,7 @@ var logoutPlugin = zapierSdk.defineMethod({
|
|
|
4864
4864
|
imports: [zapierSdk.apiPluginRef, zapierSdk.resolveCredentialsPluginRef, zapierSdk.sdkOptionsPluginRef],
|
|
4865
4865
|
output: "raw",
|
|
4866
4866
|
inputSchema: LogoutSchema,
|
|
4867
|
-
categories: [
|
|
4867
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
4868
4868
|
supportsJsonOutput: false,
|
|
4869
4869
|
run: async ({ imports }) => {
|
|
4870
4870
|
const credentialsBaseUrl2 = await resolveCredentialsBaseUrl({
|
|
@@ -4908,7 +4908,7 @@ var mcpPlugin = zapierSdk.defineMethod({
|
|
|
4908
4908
|
imports: [zapierSdk.sdkOptionsPluginRef, cliExtensionsPluginRef, cliStabilityPluginRef],
|
|
4909
4909
|
output: "raw",
|
|
4910
4910
|
inputSchema: McpSchema,
|
|
4911
|
-
categories: [
|
|
4911
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
4912
4912
|
run: async ({ imports, input }) => {
|
|
4913
4913
|
await zapierSdkMcp.startMcpServer({
|
|
4914
4914
|
...input,
|
|
@@ -4931,7 +4931,7 @@ var BundleCodeSchema = zod.z.object({
|
|
|
4931
4931
|
}).describe("Bundle TypeScript code into executable JavaScript");
|
|
4932
4932
|
var bundleCodePlugin = zapierSdk.defineMethod({
|
|
4933
4933
|
name: "bundleCode",
|
|
4934
|
-
categories: [
|
|
4934
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
4935
4935
|
deprecation: { message: "bundleCode is no longer maintained." },
|
|
4936
4936
|
inputSchema: BundleCodeSchema,
|
|
4937
4937
|
// Returns the bundled code string verbatim — no `{ data }` envelope,
|
|
@@ -4999,7 +4999,7 @@ var GetLoginConfigPathSchema = zod.z.object({}).describe("Show the path to the l
|
|
|
4999
4999
|
// src/plugins/getLoginConfigPath/index.ts
|
|
5000
5000
|
var getLoginConfigPathPlugin = zapierSdk.defineMethod({
|
|
5001
5001
|
name: "getLoginConfigPath",
|
|
5002
|
-
categories: [
|
|
5002
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5003
5003
|
inputSchema: GetLoginConfigPathSchema,
|
|
5004
5004
|
// Returns the path string verbatim — no `{ data }` envelope, matching legacy.
|
|
5005
5005
|
output: "raw",
|
|
@@ -5038,7 +5038,7 @@ var addAppsPlugin = zapierSdk.defineMethod({
|
|
|
5038
5038
|
name: "add",
|
|
5039
5039
|
imports: [buildManifestRef, generateAppTypesRef],
|
|
5040
5040
|
output: "raw",
|
|
5041
|
-
categories: [
|
|
5041
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5042
5042
|
inputSchema: AddSchema,
|
|
5043
5043
|
run: async ({ imports, input }) => {
|
|
5044
5044
|
const {
|
|
@@ -5749,7 +5749,7 @@ var generateAppTypesPlugin = zapierSdk.defineMethod({
|
|
|
5749
5749
|
listActionInputFieldsRef
|
|
5750
5750
|
],
|
|
5751
5751
|
output: "raw",
|
|
5752
|
-
categories: [
|
|
5752
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5753
5753
|
// Cast: schema validates JSON fields only; GenerateAppTypesOptions adds the
|
|
5754
5754
|
// runtime-only `onProgress` callback, widening the input type for `run`.
|
|
5755
5755
|
inputSchema: GenerateAppTypesSchema,
|
|
@@ -5897,7 +5897,7 @@ var buildManifestPlugin = zapierSdk.defineMethod({
|
|
|
5897
5897
|
name: "buildManifest",
|
|
5898
5898
|
imports: [listAppsRef2, zapierSdk.manifestPluginRef],
|
|
5899
5899
|
output: "raw",
|
|
5900
|
-
categories: [
|
|
5900
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5901
5901
|
// Cast: BuildManifestSchema validates JSON-serializable fields only.
|
|
5902
5902
|
// BuildManifestOptions adds an `onProgress` callback; this widens the input
|
|
5903
5903
|
// type so `run` can read it.
|
|
@@ -5983,7 +5983,7 @@ var FEEDBACK_RETRY_DELAY_MILLISECONDS = 1e3;
|
|
|
5983
5983
|
var feedbackPlugin = zapierSdk.defineMethod({
|
|
5984
5984
|
name: "feedback",
|
|
5985
5985
|
imports: [zapierSdk.apiPluginRef],
|
|
5986
|
-
categories: [
|
|
5986
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5987
5987
|
inputSchema: FeedbackSchema,
|
|
5988
5988
|
// Returns the thank-you string verbatim — no `{ data }` envelope, matching
|
|
5989
5989
|
// legacy.
|
|
@@ -6204,7 +6204,7 @@ var curlPlugin = zapierSdk.defineMethod({
|
|
|
6204
6204
|
output: "raw",
|
|
6205
6205
|
inputSchema: CurlSchema,
|
|
6206
6206
|
description: "Make authenticated HTTP requests to any API through Zapier. Pass a connection ID to automatically inject the user's stored credentials (OAuth tokens, API keys, etc.) into the outgoing request. Use it in place of the native curl command with additional Zapier-specific options.",
|
|
6207
|
-
categories: [
|
|
6207
|
+
categories: [zapierSdk.taxonomy.categories.http],
|
|
6208
6208
|
aliases: {
|
|
6209
6209
|
request: "X",
|
|
6210
6210
|
header: "H",
|
|
@@ -6839,7 +6839,7 @@ function displaySummaryAndNextSteps({
|
|
|
6839
6839
|
// src/plugins/init/index.ts
|
|
6840
6840
|
var initPlugin = zapierSdk.defineMethod({
|
|
6841
6841
|
name: "init",
|
|
6842
|
-
categories: [
|
|
6842
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
6843
6843
|
supportsJsonOutput: false,
|
|
6844
6844
|
inputSchema: InitSchema,
|
|
6845
6845
|
// All progress goes to the console; nothing to envelope, matching legacy.
|
|
@@ -8664,7 +8664,7 @@ var setupPlugin = zapierSdk.defineMethod({
|
|
|
8664
8664
|
zapierSdk.eventEmissionPluginRef,
|
|
8665
8665
|
zapierSdk.sdkOptionsPluginRef
|
|
8666
8666
|
],
|
|
8667
|
-
categories: [
|
|
8667
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
8668
8668
|
supportsJsonOutput: false,
|
|
8669
8669
|
inputSchema: SetupSchema,
|
|
8670
8670
|
output: "raw",
|
|
@@ -8926,7 +8926,7 @@ var drainTriggerInboxCliPlugin = zapierSdk.defineMethod({
|
|
|
8926
8926
|
type: "create",
|
|
8927
8927
|
itemType: "void",
|
|
8928
8928
|
returnType: "void",
|
|
8929
|
-
categories: [
|
|
8929
|
+
categories: [zapierSdk.taxonomy.categories.trigger],
|
|
8930
8930
|
// Mirror the SDK drain's rendered CLI description, which is the drain
|
|
8931
8931
|
// schema's own description.
|
|
8932
8932
|
description: experimental.DrainTriggerInboxSchema.description,
|
|
@@ -9059,7 +9059,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.defineMethod({
|
|
|
9059
9059
|
type: "create",
|
|
9060
9060
|
itemType: "void",
|
|
9061
9061
|
returnType: "void",
|
|
9062
|
-
categories: [
|
|
9062
|
+
categories: [zapierSdk.taxonomy.categories.trigger],
|
|
9063
9063
|
description: cliWatchDescription,
|
|
9064
9064
|
// Visible in cli+mcp+sdk views: the SDK watch is `packages: ["sdk"]`, and the
|
|
9065
9065
|
// CLI replacement drops that gate so the command shows up on the CLI surface.
|
|
@@ -9202,7 +9202,7 @@ function buildBoxLines(message) {
|
|
|
9202
9202
|
// package.json with { type: 'json' }
|
|
9203
9203
|
var package_default2 = {
|
|
9204
9204
|
name: "@zapier/zapier-sdk-cli",
|
|
9205
|
-
version: "0.87.
|
|
9205
|
+
version: "0.87.4"};
|
|
9206
9206
|
|
|
9207
9207
|
// src/sdk.ts
|
|
9208
9208
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Command, CommanderError, Option, InvalidArgumentError } from 'commander';
|
|
3
|
-
import { STABILITY_LEVELS, getConnectionPlugin, definePlugin, apiPlugin, defineMethod, apiPluginRef, resolveCredentialsPluginRef, eventEmissionPluginRef, sdkOptionsPluginRef, declareOptionalProperty, OutputPropertySchema, ZapierBundleError, isZapierBundleError, DEFAULT_CONFIG_PATH, declareMethod, ZapierValidationError, isZapierValidationError, ZapierUnknownError, manifestPluginRef, defineResolver, isPermanentHttpError, isZapierAuthenticationError, ZapierApiError, defineOverride, fetchPlugin, zapierCoreOptions, injectCliLogin, omitExports, zapierSdkPlugin, BaseSdkOptionsSchema, disposeSdk, invalidateCachedToken, batch, toSnakeCase, ZapierError, isZapierReleaseTriggerMessageSignal, createSdk as createSdk$2, CORE_OPTIONS_ID as CORE_OPTIONS_ID$2, SDK_OPTIONS_ID as SDK_OPTIONS_ID$2, addPlugin as addPlugin$2, formatExtensionPluginFailure as formatExtensionPluginFailure$2, resolvePlugin, isCredentialsObject, isZapierSignal, getRegistryPlugin, createController, ZapierAbortDrainSignal, ZapierReleaseTriggerMessageSignal, STABILITY_DEFINITIONS, getRegistry, getCoreErrorCode, CoreErrorCode, applyStabilityLabel, buildApplicationLifecycleEvent, AuthMechanism, ZapierSignal, DEPRECATION_NOTICE_EVENT, runWithCallerContext, getNegatable, isInternalField, isPositional, descriptionFor, isCoreCancelledSignal, isZapierError, formatErrorMessage, getOsInfo, getPlatformVersions, getAgent, getTtyContext, getCiPlatform, isCi, isZapierConflictError, getReleaseId, getCurrentTimestamp, generateEventId, isZapierApprovalError, ZapierAuthenticationError } from '@zapier/zapier-sdk';
|
|
3
|
+
import { STABILITY_LEVELS, getConnectionPlugin, definePlugin, apiPlugin, defineMethod, taxonomy, apiPluginRef, resolveCredentialsPluginRef, eventEmissionPluginRef, sdkOptionsPluginRef, declareOptionalProperty, OutputPropertySchema, ZapierBundleError, isZapierBundleError, DEFAULT_CONFIG_PATH, declareMethod, ZapierValidationError, isZapierValidationError, ZapierUnknownError, manifestPluginRef, defineResolver, isPermanentHttpError, isZapierAuthenticationError, ZapierApiError, defineOverride, fetchPlugin, zapierCoreOptions, injectCliLogin, omitExports, zapierSdkPlugin, BaseSdkOptionsSchema, disposeSdk, invalidateCachedToken, batch, toSnakeCase, ZapierError, isZapierReleaseTriggerMessageSignal, createSdk as createSdk$2, CORE_OPTIONS_ID as CORE_OPTIONS_ID$2, SDK_OPTIONS_ID as SDK_OPTIONS_ID$2, addPlugin as addPlugin$2, formatExtensionPluginFailure as formatExtensionPluginFailure$2, resolvePlugin, isCredentialsObject, isZapierSignal, getRegistryPlugin, createController, ZapierAbortDrainSignal, ZapierReleaseTriggerMessageSignal, STABILITY_DEFINITIONS, getRegistry, getCoreErrorCode, CoreErrorCode, applyStabilityLabel, buildApplicationLifecycleEvent, AuthMechanism, ZapierSignal, DEPRECATION_NOTICE_EVENT, runWithCallerContext, getNegatable, isInternalField, isPositional, descriptionFor, isCoreCancelledSignal, isZapierError, formatErrorMessage, getOsInfo, getPlatformVersions, getAgent, getTtyContext, getCiPlatform, isCi, isZapierConflictError, getReleaseId, getCurrentTimestamp, generateEventId, isZapierApprovalError, ZapierAuthenticationError } from '@zapier/zapier-sdk';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import inquirer from 'inquirer';
|
|
6
6
|
import chalk10 from 'chalk';
|
|
@@ -563,7 +563,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
563
563
|
|
|
564
564
|
// package.json
|
|
565
565
|
var package_default = {
|
|
566
|
-
version: "0.87.
|
|
566
|
+
version: "0.87.4"};
|
|
567
567
|
var PACKAGE_MANAGERS = ["npm", "pnpm", "yarn", "bun"];
|
|
568
568
|
var LOCKFILES = [
|
|
569
569
|
["pnpm-lock.yaml", "pnpm"],
|
|
@@ -4751,7 +4751,7 @@ var loginPlugin = defineMethod({
|
|
|
4751
4751
|
],
|
|
4752
4752
|
output: "raw",
|
|
4753
4753
|
inputSchema: LoginSchema,
|
|
4754
|
-
categories: [
|
|
4754
|
+
categories: [taxonomy.categories.account],
|
|
4755
4755
|
supportsJsonOutput: false,
|
|
4756
4756
|
run: async ({ imports, input }) => {
|
|
4757
4757
|
await runAccountAuth({
|
|
@@ -4802,7 +4802,7 @@ var signupPlugin = defineMethod({
|
|
|
4802
4802
|
],
|
|
4803
4803
|
output: "raw",
|
|
4804
4804
|
inputSchema: SignupSchema,
|
|
4805
|
-
categories: [
|
|
4805
|
+
categories: [taxonomy.categories.account],
|
|
4806
4806
|
supportsJsonOutput: false,
|
|
4807
4807
|
run: async ({ imports, input }) => {
|
|
4808
4808
|
await runAccountAuth({
|
|
@@ -4820,7 +4820,7 @@ var logoutPlugin = defineMethod({
|
|
|
4820
4820
|
imports: [apiPluginRef, resolveCredentialsPluginRef, sdkOptionsPluginRef],
|
|
4821
4821
|
output: "raw",
|
|
4822
4822
|
inputSchema: LogoutSchema,
|
|
4823
|
-
categories: [
|
|
4823
|
+
categories: [taxonomy.categories.account],
|
|
4824
4824
|
supportsJsonOutput: false,
|
|
4825
4825
|
run: async ({ imports }) => {
|
|
4826
4826
|
const credentialsBaseUrl2 = await resolveCredentialsBaseUrl({
|
|
@@ -4864,7 +4864,7 @@ var mcpPlugin = defineMethod({
|
|
|
4864
4864
|
imports: [sdkOptionsPluginRef, cliExtensionsPluginRef, cliStabilityPluginRef],
|
|
4865
4865
|
output: "raw",
|
|
4866
4866
|
inputSchema: McpSchema,
|
|
4867
|
-
categories: [
|
|
4867
|
+
categories: [taxonomy.categories.utility],
|
|
4868
4868
|
run: async ({ imports, input }) => {
|
|
4869
4869
|
await startMcpServer({
|
|
4870
4870
|
...input,
|
|
@@ -4887,7 +4887,7 @@ var BundleCodeSchema = z.object({
|
|
|
4887
4887
|
}).describe("Bundle TypeScript code into executable JavaScript");
|
|
4888
4888
|
var bundleCodePlugin = defineMethod({
|
|
4889
4889
|
name: "bundleCode",
|
|
4890
|
-
categories: [
|
|
4890
|
+
categories: [taxonomy.categories.utility],
|
|
4891
4891
|
deprecation: { message: "bundleCode is no longer maintained." },
|
|
4892
4892
|
inputSchema: BundleCodeSchema,
|
|
4893
4893
|
// Returns the bundled code string verbatim — no `{ data }` envelope,
|
|
@@ -4955,7 +4955,7 @@ var GetLoginConfigPathSchema = z.object({}).describe("Show the path to the login
|
|
|
4955
4955
|
// src/plugins/getLoginConfigPath/index.ts
|
|
4956
4956
|
var getLoginConfigPathPlugin = defineMethod({
|
|
4957
4957
|
name: "getLoginConfigPath",
|
|
4958
|
-
categories: [
|
|
4958
|
+
categories: [taxonomy.categories.utility],
|
|
4959
4959
|
inputSchema: GetLoginConfigPathSchema,
|
|
4960
4960
|
// Returns the path string verbatim — no `{ data }` envelope, matching legacy.
|
|
4961
4961
|
output: "raw",
|
|
@@ -4994,7 +4994,7 @@ var addAppsPlugin = defineMethod({
|
|
|
4994
4994
|
name: "add",
|
|
4995
4995
|
imports: [buildManifestRef, generateAppTypesRef],
|
|
4996
4996
|
output: "raw",
|
|
4997
|
-
categories: [
|
|
4997
|
+
categories: [taxonomy.categories.utility],
|
|
4998
4998
|
inputSchema: AddSchema,
|
|
4999
4999
|
run: async ({ imports, input }) => {
|
|
5000
5000
|
const {
|
|
@@ -5705,7 +5705,7 @@ var generateAppTypesPlugin = defineMethod({
|
|
|
5705
5705
|
listActionInputFieldsRef
|
|
5706
5706
|
],
|
|
5707
5707
|
output: "raw",
|
|
5708
|
-
categories: [
|
|
5708
|
+
categories: [taxonomy.categories.utility],
|
|
5709
5709
|
// Cast: schema validates JSON fields only; GenerateAppTypesOptions adds the
|
|
5710
5710
|
// runtime-only `onProgress` callback, widening the input type for `run`.
|
|
5711
5711
|
inputSchema: GenerateAppTypesSchema,
|
|
@@ -5853,7 +5853,7 @@ var buildManifestPlugin = defineMethod({
|
|
|
5853
5853
|
name: "buildManifest",
|
|
5854
5854
|
imports: [listAppsRef2, manifestPluginRef],
|
|
5855
5855
|
output: "raw",
|
|
5856
|
-
categories: [
|
|
5856
|
+
categories: [taxonomy.categories.utility],
|
|
5857
5857
|
// Cast: BuildManifestSchema validates JSON-serializable fields only.
|
|
5858
5858
|
// BuildManifestOptions adds an `onProgress` callback; this widens the input
|
|
5859
5859
|
// type so `run` can read it.
|
|
@@ -5939,7 +5939,7 @@ var FEEDBACK_RETRY_DELAY_MILLISECONDS = 1e3;
|
|
|
5939
5939
|
var feedbackPlugin = defineMethod({
|
|
5940
5940
|
name: "feedback",
|
|
5941
5941
|
imports: [apiPluginRef],
|
|
5942
|
-
categories: [
|
|
5942
|
+
categories: [taxonomy.categories.utility],
|
|
5943
5943
|
inputSchema: FeedbackSchema,
|
|
5944
5944
|
// Returns the thank-you string verbatim — no `{ data }` envelope, matching
|
|
5945
5945
|
// legacy.
|
|
@@ -6160,7 +6160,7 @@ var curlPlugin = defineMethod({
|
|
|
6160
6160
|
output: "raw",
|
|
6161
6161
|
inputSchema: CurlSchema,
|
|
6162
6162
|
description: "Make authenticated HTTP requests to any API through Zapier. Pass a connection ID to automatically inject the user's stored credentials (OAuth tokens, API keys, etc.) into the outgoing request. Use it in place of the native curl command with additional Zapier-specific options.",
|
|
6163
|
-
categories: [
|
|
6163
|
+
categories: [taxonomy.categories.http],
|
|
6164
6164
|
aliases: {
|
|
6165
6165
|
request: "X",
|
|
6166
6166
|
header: "H",
|
|
@@ -6795,7 +6795,7 @@ function displaySummaryAndNextSteps({
|
|
|
6795
6795
|
// src/plugins/init/index.ts
|
|
6796
6796
|
var initPlugin = defineMethod({
|
|
6797
6797
|
name: "init",
|
|
6798
|
-
categories: [
|
|
6798
|
+
categories: [taxonomy.categories.utility],
|
|
6799
6799
|
supportsJsonOutput: false,
|
|
6800
6800
|
inputSchema: InitSchema,
|
|
6801
6801
|
// All progress goes to the console; nothing to envelope, matching legacy.
|
|
@@ -8620,7 +8620,7 @@ var setupPlugin = defineMethod({
|
|
|
8620
8620
|
eventEmissionPluginRef,
|
|
8621
8621
|
sdkOptionsPluginRef
|
|
8622
8622
|
],
|
|
8623
|
-
categories: [
|
|
8623
|
+
categories: [taxonomy.categories.utility],
|
|
8624
8624
|
supportsJsonOutput: false,
|
|
8625
8625
|
inputSchema: SetupSchema,
|
|
8626
8626
|
output: "raw",
|
|
@@ -8882,7 +8882,7 @@ var drainTriggerInboxCliPlugin = defineMethod({
|
|
|
8882
8882
|
type: "create",
|
|
8883
8883
|
itemType: "void",
|
|
8884
8884
|
returnType: "void",
|
|
8885
|
-
categories: [
|
|
8885
|
+
categories: [taxonomy.categories.trigger],
|
|
8886
8886
|
// Mirror the SDK drain's rendered CLI description, which is the drain
|
|
8887
8887
|
// schema's own description.
|
|
8888
8888
|
description: DrainTriggerInboxSchema.description,
|
|
@@ -9015,7 +9015,7 @@ var watchTriggerInboxCliPlugin = defineMethod({
|
|
|
9015
9015
|
type: "create",
|
|
9016
9016
|
itemType: "void",
|
|
9017
9017
|
returnType: "void",
|
|
9018
|
-
categories: [
|
|
9018
|
+
categories: [taxonomy.categories.trigger],
|
|
9019
9019
|
description: cliWatchDescription,
|
|
9020
9020
|
// Visible in cli+mcp+sdk views: the SDK watch is `packages: ["sdk"]`, and the
|
|
9021
9021
|
// CLI replacement drops that gate so the command shows up on the CLI surface.
|
|
@@ -9158,7 +9158,7 @@ function buildBoxLines(message) {
|
|
|
9158
9158
|
// package.json with { type: 'json' }
|
|
9159
9159
|
var package_default2 = {
|
|
9160
9160
|
name: "@zapier/zapier-sdk-cli",
|
|
9161
|
-
version: "0.87.
|
|
9161
|
+
version: "0.87.4"};
|
|
9162
9162
|
|
|
9163
9163
|
// src/sdk.ts
|
|
9164
9164
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.cjs
CHANGED
|
@@ -2955,7 +2955,7 @@ var loginPlugin = zapierSdk.defineMethod({
|
|
|
2955
2955
|
],
|
|
2956
2956
|
output: "raw",
|
|
2957
2957
|
inputSchema: LoginSchema,
|
|
2958
|
-
categories: [
|
|
2958
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
2959
2959
|
supportsJsonOutput: false,
|
|
2960
2960
|
run: async ({ imports, input }) => {
|
|
2961
2961
|
await runAccountAuth({
|
|
@@ -3006,7 +3006,7 @@ var signupPlugin = zapierSdk.defineMethod({
|
|
|
3006
3006
|
],
|
|
3007
3007
|
output: "raw",
|
|
3008
3008
|
inputSchema: SignupSchema,
|
|
3009
|
-
categories: [
|
|
3009
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
3010
3010
|
supportsJsonOutput: false,
|
|
3011
3011
|
run: async ({ imports, input }) => {
|
|
3012
3012
|
await runAccountAuth({
|
|
@@ -3024,7 +3024,7 @@ var logoutPlugin = zapierSdk.defineMethod({
|
|
|
3024
3024
|
imports: [zapierSdk.apiPluginRef, zapierSdk.resolveCredentialsPluginRef, zapierSdk.sdkOptionsPluginRef],
|
|
3025
3025
|
output: "raw",
|
|
3026
3026
|
inputSchema: LogoutSchema,
|
|
3027
|
-
categories: [
|
|
3027
|
+
categories: [zapierSdk.taxonomy.categories.account],
|
|
3028
3028
|
supportsJsonOutput: false,
|
|
3029
3029
|
run: async ({ imports }) => {
|
|
3030
3030
|
const credentialsBaseUrl = await resolveCredentialsBaseUrl({
|
|
@@ -3067,7 +3067,7 @@ var mcpPlugin = zapierSdk.defineMethod({
|
|
|
3067
3067
|
imports: [zapierSdk.sdkOptionsPluginRef, cliExtensionsPluginRef, cliStabilityPluginRef],
|
|
3068
3068
|
output: "raw",
|
|
3069
3069
|
inputSchema: McpSchema,
|
|
3070
|
-
categories: [
|
|
3070
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
3071
3071
|
run: async ({ imports, input }) => {
|
|
3072
3072
|
await zapierSdkMcp.startMcpServer({
|
|
3073
3073
|
...input,
|
|
@@ -3090,7 +3090,7 @@ var BundleCodeSchema = zod.z.object({
|
|
|
3090
3090
|
}).describe("Bundle TypeScript code into executable JavaScript");
|
|
3091
3091
|
var bundleCodePlugin = zapierSdk.defineMethod({
|
|
3092
3092
|
name: "bundleCode",
|
|
3093
|
-
categories: [
|
|
3093
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
3094
3094
|
deprecation: { message: "bundleCode is no longer maintained." },
|
|
3095
3095
|
inputSchema: BundleCodeSchema,
|
|
3096
3096
|
// Returns the bundled code string verbatim — no `{ data }` envelope,
|
|
@@ -3158,7 +3158,7 @@ var GetLoginConfigPathSchema = zod.z.object({}).describe("Show the path to the l
|
|
|
3158
3158
|
// src/plugins/getLoginConfigPath/index.ts
|
|
3159
3159
|
var getLoginConfigPathPlugin = zapierSdk.defineMethod({
|
|
3160
3160
|
name: "getLoginConfigPath",
|
|
3161
|
-
categories: [
|
|
3161
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
3162
3162
|
inputSchema: GetLoginConfigPathSchema,
|
|
3163
3163
|
// Returns the path string verbatim — no `{ data }` envelope, matching legacy.
|
|
3164
3164
|
output: "raw",
|
|
@@ -3197,7 +3197,7 @@ var addAppsPlugin = zapierSdk.defineMethod({
|
|
|
3197
3197
|
name: "add",
|
|
3198
3198
|
imports: [buildManifestRef, generateAppTypesRef],
|
|
3199
3199
|
output: "raw",
|
|
3200
|
-
categories: [
|
|
3200
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
3201
3201
|
inputSchema: AddSchema,
|
|
3202
3202
|
run: async ({ imports, input }) => {
|
|
3203
3203
|
const {
|
|
@@ -3908,7 +3908,7 @@ var generateAppTypesPlugin = zapierSdk.defineMethod({
|
|
|
3908
3908
|
listActionInputFieldsRef
|
|
3909
3909
|
],
|
|
3910
3910
|
output: "raw",
|
|
3911
|
-
categories: [
|
|
3911
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
3912
3912
|
// Cast: schema validates JSON fields only; GenerateAppTypesOptions adds the
|
|
3913
3913
|
// runtime-only `onProgress` callback, widening the input type for `run`.
|
|
3914
3914
|
inputSchema: GenerateAppTypesSchema,
|
|
@@ -4056,7 +4056,7 @@ var buildManifestPlugin = zapierSdk.defineMethod({
|
|
|
4056
4056
|
name: "buildManifest",
|
|
4057
4057
|
imports: [listAppsRef2, zapierSdk.manifestPluginRef],
|
|
4058
4058
|
output: "raw",
|
|
4059
|
-
categories: [
|
|
4059
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
4060
4060
|
// Cast: BuildManifestSchema validates JSON-serializable fields only.
|
|
4061
4061
|
// BuildManifestOptions adds an `onProgress` callback; this widens the input
|
|
4062
4062
|
// type so `run` can read it.
|
|
@@ -4142,7 +4142,7 @@ var FEEDBACK_RETRY_DELAY_MILLISECONDS = 1e3;
|
|
|
4142
4142
|
var feedbackPlugin = zapierSdk.defineMethod({
|
|
4143
4143
|
name: "feedback",
|
|
4144
4144
|
imports: [zapierSdk.apiPluginRef],
|
|
4145
|
-
categories: [
|
|
4145
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
4146
4146
|
inputSchema: FeedbackSchema,
|
|
4147
4147
|
// Returns the thank-you string verbatim — no `{ data }` envelope, matching
|
|
4148
4148
|
// legacy.
|
|
@@ -4363,7 +4363,7 @@ var curlPlugin = zapierSdk.defineMethod({
|
|
|
4363
4363
|
output: "raw",
|
|
4364
4364
|
inputSchema: CurlSchema,
|
|
4365
4365
|
description: "Make authenticated HTTP requests to any API through Zapier. Pass a connection ID to automatically inject the user's stored credentials (OAuth tokens, API keys, etc.) into the outgoing request. Use it in place of the native curl command with additional Zapier-specific options.",
|
|
4366
|
-
categories: [
|
|
4366
|
+
categories: [zapierSdk.taxonomy.categories.http],
|
|
4367
4367
|
aliases: {
|
|
4368
4368
|
request: "X",
|
|
4369
4369
|
header: "H",
|
|
@@ -5050,7 +5050,7 @@ function displaySummaryAndNextSteps({
|
|
|
5050
5050
|
// src/plugins/init/index.ts
|
|
5051
5051
|
var initPlugin = zapierSdk.defineMethod({
|
|
5052
5052
|
name: "init",
|
|
5053
|
-
categories: [
|
|
5053
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
5054
5054
|
supportsJsonOutput: false,
|
|
5055
5055
|
inputSchema: InitSchema,
|
|
5056
5056
|
// All progress goes to the console; nothing to envelope, matching legacy.
|
|
@@ -6283,7 +6283,7 @@ var SetupSchema = zod.z.object({
|
|
|
6283
6283
|
|
|
6284
6284
|
// package.json
|
|
6285
6285
|
var package_default = {
|
|
6286
|
-
version: "0.87.
|
|
6286
|
+
version: "0.87.4"};
|
|
6287
6287
|
var agentLabels = {
|
|
6288
6288
|
claude: "Claude Code",
|
|
6289
6289
|
codex: "Codex",
|
|
@@ -7129,7 +7129,7 @@ var setupPlugin = zapierSdk.defineMethod({
|
|
|
7129
7129
|
zapierSdk.eventEmissionPluginRef,
|
|
7130
7130
|
zapierSdk.sdkOptionsPluginRef
|
|
7131
7131
|
],
|
|
7132
|
-
categories: [
|
|
7132
|
+
categories: [zapierSdk.taxonomy.categories.utility],
|
|
7133
7133
|
supportsJsonOutput: false,
|
|
7134
7134
|
inputSchema: SetupSchema,
|
|
7135
7135
|
output: "raw",
|
|
@@ -7406,7 +7406,7 @@ var drainTriggerInboxCliPlugin = zapierSdk.defineMethod({
|
|
|
7406
7406
|
type: "create",
|
|
7407
7407
|
itemType: "void",
|
|
7408
7408
|
returnType: "void",
|
|
7409
|
-
categories: [
|
|
7409
|
+
categories: [zapierSdk.taxonomy.categories.trigger],
|
|
7410
7410
|
// Mirror the SDK drain's rendered CLI description, which is the drain
|
|
7411
7411
|
// schema's own description.
|
|
7412
7412
|
description: experimental.DrainTriggerInboxSchema.description,
|
|
@@ -7539,7 +7539,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.defineMethod({
|
|
|
7539
7539
|
type: "create",
|
|
7540
7540
|
itemType: "void",
|
|
7541
7541
|
returnType: "void",
|
|
7542
|
-
categories: [
|
|
7542
|
+
categories: [zapierSdk.taxonomy.categories.trigger],
|
|
7543
7543
|
description: cliWatchDescription,
|
|
7544
7544
|
// Visible in cli+mcp+sdk views: the SDK watch is `packages: ["sdk"]`, and the
|
|
7545
7545
|
// CLI replacement drops that gate so the command shows up on the CLI surface.
|
|
@@ -7667,7 +7667,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
7667
7667
|
// package.json with { type: 'json' }
|
|
7668
7668
|
var package_default2 = {
|
|
7669
7669
|
name: "@zapier/zapier-sdk-cli",
|
|
7670
|
-
version: "0.87.
|
|
7670
|
+
version: "0.87.4"};
|
|
7671
7671
|
|
|
7672
7672
|
// src/sdk.ts
|
|
7673
7673
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZapierSdkOptions } from '@zapier/zapier-sdk/experimental';
|
|
2
|
-
import { E as Extension, Z as ZapierSdkCli } from './extensions-
|
|
2
|
+
import { E as Extension, Z as ZapierSdkCli } from './extensions-ARSBOJ1p.mjs';
|
|
3
3
|
import '@zapier/zapier-sdk';
|
|
4
4
|
import '@zapier/kitcore';
|
|
5
5
|
import 'zod';
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZapierSdkOptions } from '@zapier/zapier-sdk/experimental';
|
|
2
|
-
import { E as Extension, Z as ZapierSdkCli } from './extensions-
|
|
2
|
+
import { E as Extension, Z as ZapierSdkCli } from './extensions-ARSBOJ1p.js';
|
|
3
3
|
import '@zapier/zapier-sdk';
|
|
4
4
|
import '@zapier/kitcore';
|
|
5
5
|
import 'zod';
|
package/dist/experimental.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import crypto, { createHash } from 'crypto';
|
|
|
7
7
|
import * as path from 'path';
|
|
8
8
|
import { resolve, join, dirname, basename, relative, extname } from 'path';
|
|
9
9
|
import * as lockfile from 'proper-lockfile';
|
|
10
|
-
import { definePlugin, apiPlugin, defineMethod, apiPluginRef, resolveCredentialsPluginRef, eventEmissionPluginRef, sdkOptionsPluginRef, declareOptionalProperty, OutputPropertySchema, ZapierBundleError, isZapierBundleError, DEFAULT_CONFIG_PATH, declareMethod, ZapierValidationError, isZapierValidationError, ZapierUnknownError, manifestPluginRef, defineResolver, isPermanentHttpError, isZapierAuthenticationError, ZapierApiError, defineOverride, fetchPlugin, zapierCoreOptions, injectCliLogin, omitExports, zapierSdkPlugin, invalidateCachedToken, batch, toSnakeCase, ZapierError, isZapierReleaseTriggerMessageSignal, createSdk, SDK_OPTIONS_ID, resolvePlugin, isCredentialsObject, isZapierSignal, getRegistryPlugin, createController, ZapierAbortDrainSignal, ZapierReleaseTriggerMessageSignal, buildApplicationLifecycleEvent, AuthMechanism, ZapierSignal, isCoreCancelledSignal, ZapierAuthenticationError, STABILITY_DEFINITIONS, DEPRECATION_NOTICE_EVENT } from '@zapier/zapier-sdk';
|
|
10
|
+
import { definePlugin, apiPlugin, defineMethod, taxonomy, apiPluginRef, resolveCredentialsPluginRef, eventEmissionPluginRef, sdkOptionsPluginRef, declareOptionalProperty, OutputPropertySchema, ZapierBundleError, isZapierBundleError, DEFAULT_CONFIG_PATH, declareMethod, ZapierValidationError, isZapierValidationError, ZapierUnknownError, manifestPluginRef, defineResolver, isPermanentHttpError, isZapierAuthenticationError, ZapierApiError, defineOverride, fetchPlugin, zapierCoreOptions, injectCliLogin, omitExports, zapierSdkPlugin, invalidateCachedToken, batch, toSnakeCase, ZapierError, isZapierReleaseTriggerMessageSignal, createSdk, SDK_OPTIONS_ID, resolvePlugin, isCredentialsObject, isZapierSignal, getRegistryPlugin, createController, ZapierAbortDrainSignal, ZapierReleaseTriggerMessageSignal, buildApplicationLifecycleEvent, AuthMechanism, ZapierSignal, isCoreCancelledSignal, ZapierAuthenticationError, STABILITY_DEFINITIONS, DEPRECATION_NOTICE_EVENT } from '@zapier/zapier-sdk';
|
|
11
11
|
import { z } from 'zod';
|
|
12
12
|
import { triggerInboxResolver, DrainTriggerInboxSchema, WatchTriggerInboxSchema, injectCliLogin as injectCliLogin$1, definePlugin as definePlugin$1, omitExports as omitExports$1, zapierExperimentalSdkPlugin, createSdk as createSdk$1, CORE_OPTIONS_ID, SDK_OPTIONS_ID as SDK_OPTIONS_ID$1, addPlugin, formatExtensionPluginFailure } from '@zapier/zapier-sdk/experimental';
|
|
13
13
|
import { hostname } from 'os';
|
|
@@ -2914,7 +2914,7 @@ var loginPlugin = defineMethod({
|
|
|
2914
2914
|
],
|
|
2915
2915
|
output: "raw",
|
|
2916
2916
|
inputSchema: LoginSchema,
|
|
2917
|
-
categories: [
|
|
2917
|
+
categories: [taxonomy.categories.account],
|
|
2918
2918
|
supportsJsonOutput: false,
|
|
2919
2919
|
run: async ({ imports, input }) => {
|
|
2920
2920
|
await runAccountAuth({
|
|
@@ -2965,7 +2965,7 @@ var signupPlugin = defineMethod({
|
|
|
2965
2965
|
],
|
|
2966
2966
|
output: "raw",
|
|
2967
2967
|
inputSchema: SignupSchema,
|
|
2968
|
-
categories: [
|
|
2968
|
+
categories: [taxonomy.categories.account],
|
|
2969
2969
|
supportsJsonOutput: false,
|
|
2970
2970
|
run: async ({ imports, input }) => {
|
|
2971
2971
|
await runAccountAuth({
|
|
@@ -2983,7 +2983,7 @@ var logoutPlugin = defineMethod({
|
|
|
2983
2983
|
imports: [apiPluginRef, resolveCredentialsPluginRef, sdkOptionsPluginRef],
|
|
2984
2984
|
output: "raw",
|
|
2985
2985
|
inputSchema: LogoutSchema,
|
|
2986
|
-
categories: [
|
|
2986
|
+
categories: [taxonomy.categories.account],
|
|
2987
2987
|
supportsJsonOutput: false,
|
|
2988
2988
|
run: async ({ imports }) => {
|
|
2989
2989
|
const credentialsBaseUrl = await resolveCredentialsBaseUrl({
|
|
@@ -3026,7 +3026,7 @@ var mcpPlugin = defineMethod({
|
|
|
3026
3026
|
imports: [sdkOptionsPluginRef, cliExtensionsPluginRef, cliStabilityPluginRef],
|
|
3027
3027
|
output: "raw",
|
|
3028
3028
|
inputSchema: McpSchema,
|
|
3029
|
-
categories: [
|
|
3029
|
+
categories: [taxonomy.categories.utility],
|
|
3030
3030
|
run: async ({ imports, input }) => {
|
|
3031
3031
|
await startMcpServer({
|
|
3032
3032
|
...input,
|
|
@@ -3049,7 +3049,7 @@ var BundleCodeSchema = z.object({
|
|
|
3049
3049
|
}).describe("Bundle TypeScript code into executable JavaScript");
|
|
3050
3050
|
var bundleCodePlugin = defineMethod({
|
|
3051
3051
|
name: "bundleCode",
|
|
3052
|
-
categories: [
|
|
3052
|
+
categories: [taxonomy.categories.utility],
|
|
3053
3053
|
deprecation: { message: "bundleCode is no longer maintained." },
|
|
3054
3054
|
inputSchema: BundleCodeSchema,
|
|
3055
3055
|
// Returns the bundled code string verbatim — no `{ data }` envelope,
|
|
@@ -3117,7 +3117,7 @@ var GetLoginConfigPathSchema = z.object({}).describe("Show the path to the login
|
|
|
3117
3117
|
// src/plugins/getLoginConfigPath/index.ts
|
|
3118
3118
|
var getLoginConfigPathPlugin = defineMethod({
|
|
3119
3119
|
name: "getLoginConfigPath",
|
|
3120
|
-
categories: [
|
|
3120
|
+
categories: [taxonomy.categories.utility],
|
|
3121
3121
|
inputSchema: GetLoginConfigPathSchema,
|
|
3122
3122
|
// Returns the path string verbatim — no `{ data }` envelope, matching legacy.
|
|
3123
3123
|
output: "raw",
|
|
@@ -3156,7 +3156,7 @@ var addAppsPlugin = defineMethod({
|
|
|
3156
3156
|
name: "add",
|
|
3157
3157
|
imports: [buildManifestRef, generateAppTypesRef],
|
|
3158
3158
|
output: "raw",
|
|
3159
|
-
categories: [
|
|
3159
|
+
categories: [taxonomy.categories.utility],
|
|
3160
3160
|
inputSchema: AddSchema,
|
|
3161
3161
|
run: async ({ imports, input }) => {
|
|
3162
3162
|
const {
|
|
@@ -3867,7 +3867,7 @@ var generateAppTypesPlugin = defineMethod({
|
|
|
3867
3867
|
listActionInputFieldsRef
|
|
3868
3868
|
],
|
|
3869
3869
|
output: "raw",
|
|
3870
|
-
categories: [
|
|
3870
|
+
categories: [taxonomy.categories.utility],
|
|
3871
3871
|
// Cast: schema validates JSON fields only; GenerateAppTypesOptions adds the
|
|
3872
3872
|
// runtime-only `onProgress` callback, widening the input type for `run`.
|
|
3873
3873
|
inputSchema: GenerateAppTypesSchema,
|
|
@@ -4015,7 +4015,7 @@ var buildManifestPlugin = defineMethod({
|
|
|
4015
4015
|
name: "buildManifest",
|
|
4016
4016
|
imports: [listAppsRef2, manifestPluginRef],
|
|
4017
4017
|
output: "raw",
|
|
4018
|
-
categories: [
|
|
4018
|
+
categories: [taxonomy.categories.utility],
|
|
4019
4019
|
// Cast: BuildManifestSchema validates JSON-serializable fields only.
|
|
4020
4020
|
// BuildManifestOptions adds an `onProgress` callback; this widens the input
|
|
4021
4021
|
// type so `run` can read it.
|
|
@@ -4101,7 +4101,7 @@ var FEEDBACK_RETRY_DELAY_MILLISECONDS = 1e3;
|
|
|
4101
4101
|
var feedbackPlugin = defineMethod({
|
|
4102
4102
|
name: "feedback",
|
|
4103
4103
|
imports: [apiPluginRef],
|
|
4104
|
-
categories: [
|
|
4104
|
+
categories: [taxonomy.categories.utility],
|
|
4105
4105
|
inputSchema: FeedbackSchema,
|
|
4106
4106
|
// Returns the thank-you string verbatim — no `{ data }` envelope, matching
|
|
4107
4107
|
// legacy.
|
|
@@ -4322,7 +4322,7 @@ var curlPlugin = defineMethod({
|
|
|
4322
4322
|
output: "raw",
|
|
4323
4323
|
inputSchema: CurlSchema,
|
|
4324
4324
|
description: "Make authenticated HTTP requests to any API through Zapier. Pass a connection ID to automatically inject the user's stored credentials (OAuth tokens, API keys, etc.) into the outgoing request. Use it in place of the native curl command with additional Zapier-specific options.",
|
|
4325
|
-
categories: [
|
|
4325
|
+
categories: [taxonomy.categories.http],
|
|
4326
4326
|
aliases: {
|
|
4327
4327
|
request: "X",
|
|
4328
4328
|
header: "H",
|
|
@@ -5009,7 +5009,7 @@ function displaySummaryAndNextSteps({
|
|
|
5009
5009
|
// src/plugins/init/index.ts
|
|
5010
5010
|
var initPlugin = defineMethod({
|
|
5011
5011
|
name: "init",
|
|
5012
|
-
categories: [
|
|
5012
|
+
categories: [taxonomy.categories.utility],
|
|
5013
5013
|
supportsJsonOutput: false,
|
|
5014
5014
|
inputSchema: InitSchema,
|
|
5015
5015
|
// All progress goes to the console; nothing to envelope, matching legacy.
|
|
@@ -6242,7 +6242,7 @@ var SetupSchema = z.object({
|
|
|
6242
6242
|
|
|
6243
6243
|
// package.json
|
|
6244
6244
|
var package_default = {
|
|
6245
|
-
version: "0.87.
|
|
6245
|
+
version: "0.87.4"};
|
|
6246
6246
|
var agentLabels = {
|
|
6247
6247
|
claude: "Claude Code",
|
|
6248
6248
|
codex: "Codex",
|
|
@@ -7088,7 +7088,7 @@ var setupPlugin = defineMethod({
|
|
|
7088
7088
|
eventEmissionPluginRef,
|
|
7089
7089
|
sdkOptionsPluginRef
|
|
7090
7090
|
],
|
|
7091
|
-
categories: [
|
|
7091
|
+
categories: [taxonomy.categories.utility],
|
|
7092
7092
|
supportsJsonOutput: false,
|
|
7093
7093
|
inputSchema: SetupSchema,
|
|
7094
7094
|
output: "raw",
|
|
@@ -7365,7 +7365,7 @@ var drainTriggerInboxCliPlugin = defineMethod({
|
|
|
7365
7365
|
type: "create",
|
|
7366
7366
|
itemType: "void",
|
|
7367
7367
|
returnType: "void",
|
|
7368
|
-
categories: [
|
|
7368
|
+
categories: [taxonomy.categories.trigger],
|
|
7369
7369
|
// Mirror the SDK drain's rendered CLI description, which is the drain
|
|
7370
7370
|
// schema's own description.
|
|
7371
7371
|
description: DrainTriggerInboxSchema.description,
|
|
@@ -7498,7 +7498,7 @@ var watchTriggerInboxCliPlugin = defineMethod({
|
|
|
7498
7498
|
type: "create",
|
|
7499
7499
|
itemType: "void",
|
|
7500
7500
|
returnType: "void",
|
|
7501
|
-
categories: [
|
|
7501
|
+
categories: [taxonomy.categories.trigger],
|
|
7502
7502
|
description: cliWatchDescription,
|
|
7503
7503
|
// Visible in cli+mcp+sdk views: the SDK watch is `packages: ["sdk"]`, and the
|
|
7504
7504
|
// CLI replacement drops that gate so the command shows up on the CLI surface.
|
|
@@ -7626,7 +7626,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
7626
7626
|
// package.json with { type: 'json' }
|
|
7627
7627
|
var package_default2 = {
|
|
7628
7628
|
name: "@zapier/zapier-sdk-cli",
|
|
7629
|
-
version: "0.87.
|
|
7629
|
+
version: "0.87.4"};
|
|
7630
7630
|
|
|
7631
7631
|
// src/sdk.ts
|
|
7632
7632
|
var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
|
|
@@ -984,14 +984,14 @@ declare const setupPlugin: _zapier_kitcore.MethodPlugin<"setup", {
|
|
|
984
984
|
step?: "connections" | "account" | "directory" | "project" | "install" | "sdk-update" | "cli-update" | "skill" | "account-flow" | "account-environment" | "authorize" | "confirm-account" | "slack" | "slack-overwrite" | "slack-existing" | "slack-retry" | "handoff" | undefined;
|
|
985
985
|
nonInteractive?: boolean | undefined;
|
|
986
986
|
answer?: string | undefined;
|
|
987
|
-
flow?: "
|
|
987
|
+
flow?: "login" | "signup" | undefined;
|
|
988
988
|
language?: "javascript" | "typescript" | undefined;
|
|
989
989
|
}, Promise<void>, readonly [], {
|
|
990
990
|
agent?: boolean | undefined;
|
|
991
991
|
step?: "connections" | "account" | "directory" | "project" | "install" | "sdk-update" | "cli-update" | "skill" | "account-flow" | "account-environment" | "authorize" | "confirm-account" | "slack" | "slack-overwrite" | "slack-existing" | "slack-retry" | "handoff" | undefined;
|
|
992
992
|
nonInteractive?: boolean | undefined;
|
|
993
993
|
answer?: string | undefined;
|
|
994
|
-
flow?: "
|
|
994
|
+
flow?: "login" | "signup" | undefined;
|
|
995
995
|
language?: "javascript" | "typescript" | undefined;
|
|
996
996
|
}> & _zapier_kitcore.LeafSummary<"", "setup", readonly [_zapier_kitcore.MethodPlugin<"getProfile", (Record<string, never> & {
|
|
997
997
|
skipOutputDataValidation?: boolean;
|
|
@@ -1364,7 +1364,7 @@ declare const setupPlugin: _zapier_kitcore.MethodPlugin<"setup", {
|
|
|
1364
1364
|
step?: "connections" | "account" | "directory" | "project" | "install" | "sdk-update" | "cli-update" | "skill" | "account-flow" | "account-environment" | "authorize" | "confirm-account" | "slack" | "slack-overwrite" | "slack-existing" | "slack-retry" | "handoff" | undefined;
|
|
1365
1365
|
nonInteractive?: boolean | undefined;
|
|
1366
1366
|
answer?: string | undefined;
|
|
1367
|
-
flow?: "
|
|
1367
|
+
flow?: "login" | "signup" | undefined;
|
|
1368
1368
|
language?: "javascript" | "typescript" | undefined;
|
|
1369
1369
|
} | undefined) => Promise<void>>;
|
|
1370
1370
|
type SetupPluginProvides = PluginSurface<typeof setupPlugin>;
|