@dokploy/mcp 0.30.3 → 0.30.5
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/build/generated/tools.js +87 -15
- package/package.json +1 -1
package/build/generated/tools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
|
|
2
|
-
// Generated from openapi.json on 2026-
|
|
2
|
+
// Generated from openapi.json on 2026-09-02
|
|
3
3
|
// Run `pnpm generate` to regenerate
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
export const generatedTools = [
|
|
@@ -27,6 +27,18 @@ export const generatedTools = [
|
|
|
27
27
|
...{ "openWorldHint": true },
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
name: "application-deployNginxQuickstart",
|
|
32
|
+
description: "POST /application.deployNginxQuickstart",
|
|
33
|
+
tag: "application",
|
|
34
|
+
method: "POST",
|
|
35
|
+
path: "/application.deployNginxQuickstart",
|
|
36
|
+
schema: z.object({ "environmentId": z.string().min(1), "serverId": z.string().min(1).optional() }),
|
|
37
|
+
annotations: {
|
|
38
|
+
title: "Application DeployNginxQuickstart",
|
|
39
|
+
...{ "idempotentHint": true, "openWorldHint": true },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
30
42
|
{
|
|
31
43
|
name: "application-one",
|
|
32
44
|
description: "GET /application.one",
|
|
@@ -1005,7 +1017,7 @@ export const generatedTools = [
|
|
|
1005
1017
|
tag: "compose",
|
|
1006
1018
|
method: "POST",
|
|
1007
1019
|
path: "/compose.deploy",
|
|
1008
|
-
schema: z.object({ "composeId": z.string().min(1), "title": z.string().optional(), "description": z.string().optional() }),
|
|
1020
|
+
schema: z.object({ "composeId": z.string().min(1), "title": z.string().optional(), "description": z.string().optional(), "freshVolumes": z.boolean().optional() }),
|
|
1009
1021
|
annotations: {
|
|
1010
1022
|
title: "Compose Deploy",
|
|
1011
1023
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -1017,7 +1029,7 @@ export const generatedTools = [
|
|
|
1017
1029
|
tag: "compose",
|
|
1018
1030
|
method: "POST",
|
|
1019
1031
|
path: "/compose.redeploy",
|
|
1020
|
-
schema: z.object({ "composeId": z.string().min(1), "title": z.string().optional(), "description": z.string().optional() }),
|
|
1032
|
+
schema: z.object({ "composeId": z.string().min(1), "title": z.string().optional(), "description": z.string().optional(), "freshVolumes": z.boolean().optional() }),
|
|
1021
1033
|
annotations: {
|
|
1022
1034
|
title: "Compose Redeploy",
|
|
1023
1035
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -1390,7 +1402,7 @@ export const generatedTools = [
|
|
|
1390
1402
|
method: "POST",
|
|
1391
1403
|
path: "/dnsProvider.create",
|
|
1392
1404
|
schema: z.object({ "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1393
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1405
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1394
1406
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1395
1407
|
? {
|
|
1396
1408
|
errors: [...errors, result.error],
|
|
@@ -1423,7 +1435,7 @@ export const generatedTools = [
|
|
|
1423
1435
|
method: "POST",
|
|
1424
1436
|
path: "/dnsProvider.update",
|
|
1425
1437
|
schema: z.object({ "dnsProviderId": z.string().min(1), "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1426
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1438
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1427
1439
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1428
1440
|
? {
|
|
1429
1441
|
errors: [...errors, result.error],
|
|
@@ -1492,7 +1504,7 @@ export const generatedTools = [
|
|
|
1492
1504
|
method: "POST",
|
|
1493
1505
|
path: "/dnsProvider.testConnection",
|
|
1494
1506
|
schema: z.object({ "dnsProviderId": z.string().min(1).optional(), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1495
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1507
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1496
1508
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1497
1509
|
? {
|
|
1498
1510
|
errors: [...errors, result.error],
|
|
@@ -1548,7 +1560,7 @@ export const generatedTools = [
|
|
|
1548
1560
|
tag: "dnsProvider",
|
|
1549
1561
|
method: "POST",
|
|
1550
1562
|
path: "/dnsProvider.createRecord",
|
|
1551
|
-
schema: z.object({ "type": z.enum(["A", "CNAME"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1) }),
|
|
1563
|
+
schema: z.object({ "type": z.enum(["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "proxied": z.boolean().optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1) }),
|
|
1552
1564
|
annotations: {
|
|
1553
1565
|
title: "DnsProvider CreateRecord",
|
|
1554
1566
|
...{ "openWorldHint": true },
|
|
@@ -1560,7 +1572,7 @@ export const generatedTools = [
|
|
|
1560
1572
|
tag: "dnsProvider",
|
|
1561
1573
|
method: "POST",
|
|
1562
1574
|
path: "/dnsProvider.updateRecord",
|
|
1563
|
-
schema: z.object({ "type": z.enum(["A", "CNAME"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1), "recordId": z.string().min(1) }),
|
|
1575
|
+
schema: z.object({ "type": z.enum(["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "proxied": z.boolean().optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1), "recordId": z.string().min(1) }),
|
|
1564
1576
|
annotations: {
|
|
1565
1577
|
title: "DnsProvider UpdateRecord",
|
|
1566
1578
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -3432,7 +3444,7 @@ export const generatedTools = [
|
|
|
3432
3444
|
tag: "notification",
|
|
3433
3445
|
method: "POST",
|
|
3434
3446
|
path: "/notification.createGotify",
|
|
3435
|
-
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverUrl": z.string().min(1), "appToken": z.string().min(1), "priority": z.number().gte(1), "decoration": z.boolean() }),
|
|
3447
|
+
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverThreshold": z.boolean(), "serverUrl": z.string().min(1), "appToken": z.string().min(1), "priority": z.number().gte(1), "decoration": z.boolean() }),
|
|
3436
3448
|
annotations: {
|
|
3437
3449
|
title: "Notification CreateGotify",
|
|
3438
3450
|
...{ "openWorldHint": true },
|
|
@@ -3444,7 +3456,7 @@ export const generatedTools = [
|
|
|
3444
3456
|
tag: "notification",
|
|
3445
3457
|
method: "POST",
|
|
3446
3458
|
path: "/notification.updateGotify",
|
|
3447
|
-
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "appToken": z.string().min(1).optional(), "priority": z.number().gte(1).optional(), "decoration": z.boolean().optional(), "notificationId": z.string().min(1), "gotifyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3459
|
+
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverThreshold": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "appToken": z.string().min(1).optional(), "priority": z.number().gte(1).optional(), "decoration": z.boolean().optional(), "notificationId": z.string().min(1), "gotifyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3448
3460
|
annotations: {
|
|
3449
3461
|
title: "Notification UpdateGotify",
|
|
3450
3462
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -3468,7 +3480,7 @@ export const generatedTools = [
|
|
|
3468
3480
|
tag: "notification",
|
|
3469
3481
|
method: "POST",
|
|
3470
3482
|
path: "/notification.createNtfy",
|
|
3471
|
-
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverUrl": z.string().min(1), "topic": z.string().min(1), "accessToken": z.string(), "priority": z.number().gte(1) }),
|
|
3483
|
+
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverThreshold": z.boolean(), "serverUrl": z.string().min(1), "topic": z.string().min(1), "accessToken": z.string(), "priority": z.number().gte(1) }),
|
|
3472
3484
|
annotations: {
|
|
3473
3485
|
title: "Notification CreateNtfy",
|
|
3474
3486
|
...{ "openWorldHint": true },
|
|
@@ -3480,7 +3492,7 @@ export const generatedTools = [
|
|
|
3480
3492
|
tag: "notification",
|
|
3481
3493
|
method: "POST",
|
|
3482
3494
|
path: "/notification.updateNtfy",
|
|
3483
|
-
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "topic": z.string().min(1).optional(), "accessToken": z.string().optional(), "priority": z.number().gte(1).optional(), "notificationId": z.string().min(1), "ntfyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3495
|
+
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverThreshold": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "topic": z.string().min(1).optional(), "accessToken": z.string().optional(), "priority": z.number().gte(1).optional(), "notificationId": z.string().min(1), "ntfyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3484
3496
|
annotations: {
|
|
3485
3497
|
title: "Notification UpdateNtfy",
|
|
3486
3498
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -4038,6 +4050,30 @@ export const generatedTools = [
|
|
|
4038
4050
|
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4039
4051
|
},
|
|
4040
4052
|
},
|
|
4053
|
+
{
|
|
4054
|
+
name: "project-onboardingStatus",
|
|
4055
|
+
description: "GET /project.onboardingStatus",
|
|
4056
|
+
tag: "project",
|
|
4057
|
+
method: "GET",
|
|
4058
|
+
path: "/project.onboardingStatus",
|
|
4059
|
+
schema: z.object({}),
|
|
4060
|
+
annotations: {
|
|
4061
|
+
title: "Project OnboardingStatus",
|
|
4062
|
+
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4063
|
+
},
|
|
4064
|
+
},
|
|
4065
|
+
{
|
|
4066
|
+
name: "project-completeOnboarding",
|
|
4067
|
+
description: "POST /project.completeOnboarding",
|
|
4068
|
+
tag: "project",
|
|
4069
|
+
method: "POST",
|
|
4070
|
+
path: "/project.completeOnboarding",
|
|
4071
|
+
schema: z.object({}),
|
|
4072
|
+
annotations: {
|
|
4073
|
+
title: "Project CompleteOnboarding",
|
|
4074
|
+
...{ "idempotentHint": true, "openWorldHint": true },
|
|
4075
|
+
},
|
|
4076
|
+
},
|
|
4041
4077
|
{
|
|
4042
4078
|
name: "project-search",
|
|
4043
4079
|
description: "GET /project.search",
|
|
@@ -4494,6 +4530,18 @@ export const generatedTools = [
|
|
|
4494
4530
|
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4495
4531
|
},
|
|
4496
4532
|
},
|
|
4533
|
+
{
|
|
4534
|
+
name: "server-getServices",
|
|
4535
|
+
description: "GET /server.getServices",
|
|
4536
|
+
tag: "server",
|
|
4537
|
+
method: "GET",
|
|
4538
|
+
path: "/server.getServices",
|
|
4539
|
+
schema: z.object({ "serverId": z.string().min(1) }),
|
|
4540
|
+
annotations: {
|
|
4541
|
+
title: "Server GetServices",
|
|
4542
|
+
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4543
|
+
},
|
|
4544
|
+
},
|
|
4497
4545
|
{
|
|
4498
4546
|
name: "server-all",
|
|
4499
4547
|
description: "GET /server.all",
|
|
@@ -5394,6 +5442,30 @@ export const generatedTools = [
|
|
|
5394
5442
|
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
5395
5443
|
},
|
|
5396
5444
|
},
|
|
5445
|
+
{
|
|
5446
|
+
name: "stripe-getBillingStatus",
|
|
5447
|
+
description: "GET /stripe.getBillingStatus",
|
|
5448
|
+
tag: "stripe",
|
|
5449
|
+
method: "GET",
|
|
5450
|
+
path: "/stripe.getBillingStatus",
|
|
5451
|
+
schema: z.object({}),
|
|
5452
|
+
annotations: {
|
|
5453
|
+
title: "Stripe GetBillingStatus",
|
|
5454
|
+
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
5455
|
+
},
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
name: "stripe-startFreeTrial",
|
|
5459
|
+
description: "POST /stripe.startFreeTrial",
|
|
5460
|
+
tag: "stripe",
|
|
5461
|
+
method: "POST",
|
|
5462
|
+
path: "/stripe.startFreeTrial",
|
|
5463
|
+
schema: z.object({}),
|
|
5464
|
+
annotations: {
|
|
5465
|
+
title: "Stripe StartFreeTrial",
|
|
5466
|
+
...{ "idempotentHint": true, "openWorldHint": true },
|
|
5467
|
+
},
|
|
5468
|
+
},
|
|
5397
5469
|
{
|
|
5398
5470
|
name: "stripe-getProducts",
|
|
5399
5471
|
description: "GET /stripe.getProducts",
|
|
@@ -5845,7 +5917,7 @@ export const generatedTools = [
|
|
|
5845
5917
|
method: "POST",
|
|
5846
5918
|
path: "/vaultProvider.create",
|
|
5847
5919
|
schema: z.object({ "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5848
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
5920
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5849
5921
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5850
5922
|
? {
|
|
5851
5923
|
errors: [...errors, result.error],
|
|
@@ -5878,7 +5950,7 @@ export const generatedTools = [
|
|
|
5878
5950
|
method: "POST",
|
|
5879
5951
|
path: "/vaultProvider.update",
|
|
5880
5952
|
schema: z.object({ "vaultProviderId": z.string().min(1), "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5881
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
5953
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5882
5954
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5883
5955
|
? {
|
|
5884
5956
|
errors: [...errors, result.error],
|
|
@@ -5947,7 +6019,7 @@ export const generatedTools = [
|
|
|
5947
6019
|
method: "POST",
|
|
5948
6020
|
path: "/vaultProvider.testConnection",
|
|
5949
6021
|
schema: z.object({ "vaultProviderId": z.string().min(1).optional(), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5950
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
6022
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5951
6023
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5952
6024
|
? {
|
|
5953
6025
|
errors: [...errors, result.error],
|