latitudesh-typescript-sdk 0.8.6 → 0.8.7
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/README.md +12 -1
- package/bin/mcp-server.js +1386 -682
- package/bin/mcp-server.js.map +31 -16
- package/dist/commonjs/funcs/prefixesCreatePrefix.d.ts +18 -0
- package/dist/commonjs/funcs/prefixesCreatePrefix.d.ts.map +1 -0
- package/dist/commonjs/funcs/prefixesCreatePrefix.js +123 -0
- package/dist/commonjs/funcs/prefixesCreatePrefix.js.map +1 -0
- package/dist/commonjs/funcs/prefixesDestroyPrefix.d.ts +18 -0
- package/dist/commonjs/funcs/prefixesDestroyPrefix.d.ts.map +1 -0
- package/dist/commonjs/funcs/prefixesDestroyPrefix.js +127 -0
- package/dist/commonjs/funcs/prefixesDestroyPrefix.js.map +1 -0
- package/dist/commonjs/funcs/prefixesGetPrefix.d.ts +19 -0
- package/dist/commonjs/funcs/prefixesGetPrefix.d.ts.map +1 -0
- package/dist/commonjs/funcs/prefixesGetPrefix.js +129 -0
- package/dist/commonjs/funcs/prefixesGetPrefix.js.map +1 -0
- package/dist/commonjs/funcs/prefixesGetPrefixes.d.ts +19 -0
- package/dist/commonjs/funcs/prefixesGetPrefixes.d.ts.map +1 -0
- package/dist/commonjs/funcs/prefixesGetPrefixes.js +128 -0
- package/dist/commonjs/funcs/prefixesGetPrefixes.js.map +1 -0
- package/dist/commonjs/funcs/serversReinstall.js +1 -1
- package/dist/commonjs/funcs/serversReinstall.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +9 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.js +64 -0
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.js +63 -0
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.js +64 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.js +64 -0
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.js.map +1 -0
- package/dist/commonjs/models/createprefix.d.ts +83 -0
- package/dist/commonjs/models/createprefix.d.ts.map +1 -0
- package/dist/commonjs/models/createprefix.js +124 -0
- package/dist/commonjs/models/createprefix.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +4 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +4 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/objectstoragedata.d.ts +24 -10
- package/dist/commonjs/models/objectstoragedata.d.ts.map +1 -1
- package/dist/commonjs/models/objectstoragedata.js +27 -9
- package/dist/commonjs/models/objectstoragedata.js.map +1 -1
- package/dist/commonjs/models/operations/createserverreinstall.d.ts +5 -0
- package/dist/commonjs/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createserverreinstall.js +4 -0
- package/dist/commonjs/models/operations/createserverreinstall.js.map +1 -1
- package/dist/commonjs/models/operations/destroyprefix.d.ts +17 -0
- package/dist/commonjs/models/operations/destroyprefix.d.ts.map +1 -0
- package/dist/commonjs/models/operations/destroyprefix.js +58 -0
- package/dist/commonjs/models/operations/destroyprefix.js.map +1 -0
- package/dist/commonjs/models/operations/getprefix.d.ts +17 -0
- package/dist/commonjs/models/operations/getprefix.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getprefix.js +58 -0
- package/dist/commonjs/models/operations/getprefix.js.map +1 -0
- package/dist/commonjs/models/operations/getprefixes.d.ts +19 -0
- package/dist/commonjs/models/operations/getprefixes.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getprefixes.js +71 -0
- package/dist/commonjs/models/operations/getprefixes.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/prefix.d.ts +18 -0
- package/dist/commonjs/models/prefix.d.ts.map +1 -0
- package/dist/commonjs/models/prefix.js +60 -0
- package/dist/commonjs/models/prefix.js.map +1 -0
- package/dist/commonjs/models/prefixdata.d.ts +143 -0
- package/dist/commonjs/models/prefixdata.d.ts.map +1 -0
- package/dist/commonjs/models/prefixdata.js +190 -0
- package/dist/commonjs/models/prefixdata.js.map +1 -0
- package/dist/commonjs/models/prefixes.d.ts +29 -0
- package/dist/commonjs/models/prefixes.d.ts.map +1 -0
- package/dist/commonjs/models/prefixes.js +73 -0
- package/dist/commonjs/models/prefixes.js.map +1 -0
- package/dist/commonjs/models/team.d.ts +2 -0
- package/dist/commonjs/models/team.d.ts.map +1 -1
- package/dist/commonjs/models/team.js +2 -0
- package/dist/commonjs/models/team.js.map +1 -1
- package/dist/commonjs/models/teaminclude.d.ts +2 -0
- package/dist/commonjs/models/teaminclude.d.ts.map +1 -1
- package/dist/commonjs/models/teaminclude.js +2 -0
- package/dist/commonjs/models/teaminclude.js.map +1 -1
- package/dist/commonjs/models/userteam.d.ts +2 -0
- package/dist/commonjs/models/userteam.d.ts.map +1 -1
- package/dist/commonjs/models/userteam.js +2 -0
- package/dist/commonjs/models/userteam.js.map +1 -1
- package/dist/commonjs/models/userupdate.d.ts +4 -4
- package/dist/commonjs/models/userupdate.d.ts.map +1 -1
- package/dist/commonjs/models/userupdate.js +4 -4
- package/dist/commonjs/models/userupdate.js.map +1 -1
- package/dist/commonjs/models/virtualmachineplans.d.ts +8 -8
- package/dist/commonjs/models/virtualmachineplans.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineplans.js +11 -12
- package/dist/commonjs/models/virtualmachineplans.js.map +1 -1
- package/dist/commonjs/sdk/prefixes.d.ts +34 -0
- package/dist/commonjs/sdk/prefixes.d.ts.map +1 -0
- package/dist/commonjs/sdk/prefixes.js +52 -0
- package/dist/commonjs/sdk/prefixes.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/prefixesCreatePrefix.d.ts +18 -0
- package/dist/esm/funcs/prefixesCreatePrefix.d.ts.map +1 -0
- package/dist/esm/funcs/prefixesCreatePrefix.js +87 -0
- package/dist/esm/funcs/prefixesCreatePrefix.js.map +1 -0
- package/dist/esm/funcs/prefixesDestroyPrefix.d.ts +18 -0
- package/dist/esm/funcs/prefixesDestroyPrefix.d.ts.map +1 -0
- package/dist/esm/funcs/prefixesDestroyPrefix.js +91 -0
- package/dist/esm/funcs/prefixesDestroyPrefix.js.map +1 -0
- package/dist/esm/funcs/prefixesGetPrefix.d.ts +19 -0
- package/dist/esm/funcs/prefixesGetPrefix.d.ts.map +1 -0
- package/dist/esm/funcs/prefixesGetPrefix.js +93 -0
- package/dist/esm/funcs/prefixesGetPrefix.js.map +1 -0
- package/dist/esm/funcs/prefixesGetPrefixes.d.ts +19 -0
- package/dist/esm/funcs/prefixesGetPrefixes.d.ts.map +1 -0
- package/dist/esm/funcs/prefixesGetPrefixes.js +92 -0
- package/dist/esm/funcs/prefixesGetPrefixes.js.map +1 -0
- package/dist/esm/funcs/serversReinstall.js +1 -1
- package/dist/esm/funcs/serversReinstall.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +9 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.d.ts +8 -0
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.js +28 -0
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.js.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.d.ts +8 -0
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.js +27 -0
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.js.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.d.ts +8 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.js +28 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.js.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.d.ts +8 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.js +28 -0
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.js.map +1 -0
- package/dist/esm/models/createprefix.d.ts +83 -0
- package/dist/esm/models/createprefix.d.ts.map +1 -0
- package/dist/esm/models/createprefix.js +82 -0
- package/dist/esm/models/createprefix.js.map +1 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/objectstoragedata.d.ts +24 -10
- package/dist/esm/models/objectstoragedata.d.ts.map +1 -1
- package/dist/esm/models/objectstoragedata.js +24 -8
- package/dist/esm/models/objectstoragedata.js.map +1 -1
- package/dist/esm/models/operations/createserverreinstall.d.ts +5 -0
- package/dist/esm/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/esm/models/operations/createserverreinstall.js +4 -0
- package/dist/esm/models/operations/createserverreinstall.js.map +1 -1
- package/dist/esm/models/operations/destroyprefix.d.ts +17 -0
- package/dist/esm/models/operations/destroyprefix.d.ts.map +1 -0
- package/dist/esm/models/operations/destroyprefix.js +20 -0
- package/dist/esm/models/operations/destroyprefix.js.map +1 -0
- package/dist/esm/models/operations/getprefix.d.ts +17 -0
- package/dist/esm/models/operations/getprefix.d.ts.map +1 -0
- package/dist/esm/models/operations/getprefix.js +20 -0
- package/dist/esm/models/operations/getprefix.js.map +1 -0
- package/dist/esm/models/operations/getprefixes.d.ts +19 -0
- package/dist/esm/models/operations/getprefixes.d.ts.map +1 -0
- package/dist/esm/models/operations/getprefixes.js +33 -0
- package/dist/esm/models/operations/getprefixes.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/prefix.d.ts +18 -0
- package/dist/esm/models/prefix.d.ts.map +1 -0
- package/dist/esm/models/prefix.js +22 -0
- package/dist/esm/models/prefix.js.map +1 -0
- package/dist/esm/models/prefixdata.d.ts +143 -0
- package/dist/esm/models/prefixdata.d.ts.map +1 -0
- package/dist/esm/models/prefixdata.js +144 -0
- package/dist/esm/models/prefixdata.js.map +1 -0
- package/dist/esm/models/prefixes.d.ts +29 -0
- package/dist/esm/models/prefixes.d.ts.map +1 -0
- package/dist/esm/models/prefixes.js +33 -0
- package/dist/esm/models/prefixes.js.map +1 -0
- package/dist/esm/models/team.d.ts +2 -0
- package/dist/esm/models/team.d.ts.map +1 -1
- package/dist/esm/models/team.js +2 -0
- package/dist/esm/models/team.js.map +1 -1
- package/dist/esm/models/teaminclude.d.ts +2 -0
- package/dist/esm/models/teaminclude.d.ts.map +1 -1
- package/dist/esm/models/teaminclude.js +2 -0
- package/dist/esm/models/teaminclude.js.map +1 -1
- package/dist/esm/models/userteam.d.ts +2 -0
- package/dist/esm/models/userteam.d.ts.map +1 -1
- package/dist/esm/models/userteam.js +2 -0
- package/dist/esm/models/userteam.js.map +1 -1
- package/dist/esm/models/userupdate.d.ts +4 -4
- package/dist/esm/models/userupdate.d.ts.map +1 -1
- package/dist/esm/models/userupdate.js +4 -4
- package/dist/esm/models/userupdate.js.map +1 -1
- package/dist/esm/models/virtualmachineplans.d.ts +8 -8
- package/dist/esm/models/virtualmachineplans.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineplans.js +8 -9
- package/dist/esm/models/virtualmachineplans.js.map +1 -1
- package/dist/esm/sdk/prefixes.d.ts +34 -0
- package/dist/esm/sdk/prefixes.d.ts.map +1 -0
- package/dist/esm/sdk/prefixes.js +48 -0
- package/dist/esm/sdk/prefixes.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/prefixesCreatePrefix.ts +175 -0
- package/src/funcs/prefixesDestroyPrefix.ts +179 -0
- package/src/funcs/prefixesGetPrefix.ts +181 -0
- package/src/funcs/prefixesGetPrefixes.ts +182 -0
- package/src/funcs/serversReinstall.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/prefixesCreatePrefix.ts +37 -0
- package/src/mcp-server/tools/prefixesDestroyPrefix.ts +35 -0
- package/src/mcp-server/tools/prefixesGetPrefix.ts +37 -0
- package/src/mcp-server/tools/prefixesGetPrefixes.ts +37 -0
- package/src/models/createprefix.ts +200 -0
- package/src/models/index.ts +4 -0
- package/src/models/objectstoragedata.ts +70 -18
- package/src/models/operations/createserverreinstall.ts +9 -0
- package/src/models/operations/destroyprefix.ts +51 -0
- package/src/models/operations/getprefix.ts +51 -0
- package/src/models/operations/getprefixes.ts +66 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/prefix.ts +50 -0
- package/src/models/prefixdata.ts +354 -0
- package/src/models/prefixes.ts +88 -0
- package/src/models/team.ts +4 -0
- package/src/models/teaminclude.ts +4 -0
- package/src/models/userteam.ts +4 -0
- package/src/models/userupdate.ts +8 -8
- package/src/models/virtualmachineplans.ts +32 -22
- package/src/sdk/prefixes.ts +82 -0
- package/src/sdk/sdk.ts +6 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53149,9 +53149,9 @@ var init_config = __esm(() => {
|
|
|
53149
53149
|
SDK_METADATA = {
|
|
53150
53150
|
language: "typescript",
|
|
53151
53151
|
openapiDocVersion: "2023-06-01",
|
|
53152
|
-
sdkVersion: "0.8.
|
|
53153
|
-
genVersion: "2.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53152
|
+
sdkVersion: "0.8.7",
|
|
53153
|
+
genVersion: "2.928.0",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.7 2.928.0 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -55695,6 +55695,57 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55695
55695
|
});
|
|
55696
55696
|
});
|
|
55697
55697
|
|
|
55698
|
+
// src/models/createprefix.ts
|
|
55699
|
+
var CreatePrefixType, CreatePrefixSize, CreatePrefixType$inboundSchema, CreatePrefixType$outboundSchema, CreatePrefixSize$inboundSchema, CreatePrefixSize$outboundSchema, CreatePrefixAttributes$inboundSchema, CreatePrefixAttributes$outboundSchema, CreatePrefixData$inboundSchema, CreatePrefixData$outboundSchema, CreatePrefix$inboundSchema, CreatePrefix$outboundSchema;
|
|
55700
|
+
var init_createprefix = __esm(() => {
|
|
55701
|
+
init_v3();
|
|
55702
|
+
init_primitives();
|
|
55703
|
+
CreatePrefixType = {
|
|
55704
|
+
Prefixes: "prefixes"
|
|
55705
|
+
};
|
|
55706
|
+
CreatePrefixSize = {
|
|
55707
|
+
TwentySix: 26,
|
|
55708
|
+
TwentySeven: 27,
|
|
55709
|
+
TwentyEight: 28
|
|
55710
|
+
};
|
|
55711
|
+
CreatePrefixType$inboundSchema = nativeEnumType(CreatePrefixType);
|
|
55712
|
+
CreatePrefixType$outboundSchema = CreatePrefixType$inboundSchema;
|
|
55713
|
+
CreatePrefixSize$inboundSchema = nativeEnumType(CreatePrefixSize);
|
|
55714
|
+
CreatePrefixSize$outboundSchema = CreatePrefixSize$inboundSchema;
|
|
55715
|
+
CreatePrefixAttributes$inboundSchema = objectType({
|
|
55716
|
+
project_id: stringType(),
|
|
55717
|
+
site: stringType(),
|
|
55718
|
+
size: CreatePrefixSize$inboundSchema
|
|
55719
|
+
}).transform((v2) => {
|
|
55720
|
+
return remap(v2, {
|
|
55721
|
+
project_id: "projectId"
|
|
55722
|
+
});
|
|
55723
|
+
});
|
|
55724
|
+
CreatePrefixAttributes$outboundSchema = objectType({
|
|
55725
|
+
projectId: stringType(),
|
|
55726
|
+
site: stringType(),
|
|
55727
|
+
size: CreatePrefixSize$outboundSchema
|
|
55728
|
+
}).transform((v2) => {
|
|
55729
|
+
return remap(v2, {
|
|
55730
|
+
projectId: "project_id"
|
|
55731
|
+
});
|
|
55732
|
+
});
|
|
55733
|
+
CreatePrefixData$inboundSchema = objectType({
|
|
55734
|
+
type: CreatePrefixType$inboundSchema,
|
|
55735
|
+
attributes: lazyType(() => CreatePrefixAttributes$inboundSchema).optional()
|
|
55736
|
+
});
|
|
55737
|
+
CreatePrefixData$outboundSchema = objectType({
|
|
55738
|
+
type: CreatePrefixType$outboundSchema,
|
|
55739
|
+
attributes: lazyType(() => CreatePrefixAttributes$outboundSchema).optional()
|
|
55740
|
+
});
|
|
55741
|
+
CreatePrefix$inboundSchema = objectType({
|
|
55742
|
+
data: lazyType(() => CreatePrefixData$inboundSchema)
|
|
55743
|
+
});
|
|
55744
|
+
CreatePrefix$outboundSchema = objectType({
|
|
55745
|
+
data: lazyType(() => CreatePrefixData$outboundSchema)
|
|
55746
|
+
});
|
|
55747
|
+
});
|
|
55748
|
+
|
|
55698
55749
|
// src/models/teaminclude.ts
|
|
55699
55750
|
var Currency$inboundSchema, Currency$outboundSchema, TeamIncludeLimits$inboundSchema, TeamIncludeLimits$outboundSchema, TeamInclude$inboundSchema, TeamInclude$outboundSchema;
|
|
55700
55751
|
var init_teaminclude = __esm(() => {
|
|
@@ -55726,6 +55777,7 @@ var init_teaminclude = __esm(() => {
|
|
|
55726
55777
|
virtual_machine: nullableType(numberType().int()).optional(),
|
|
55727
55778
|
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
55728
55779
|
elastic_ip: nullableType(numberType().int()).optional(),
|
|
55780
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
55729
55781
|
virtual_network: nullableType(numberType().int()).optional(),
|
|
55730
55782
|
database: nullableType(numberType().int()).optional(),
|
|
55731
55783
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -55747,6 +55799,7 @@ var init_teaminclude = __esm(() => {
|
|
|
55747
55799
|
virtualMachine: nullableType(numberType().int()).optional(),
|
|
55748
55800
|
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
55749
55801
|
elasticIp: nullableType(numberType().int()).optional(),
|
|
55802
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
55750
55803
|
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
55751
55804
|
database: nullableType(numberType().int()).optional(),
|
|
55752
55805
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -57609,7 +57662,7 @@ var init_membership = __esm(() => {
|
|
|
57609
57662
|
});
|
|
57610
57663
|
|
|
57611
57664
|
// src/models/objectstoragedata.ts
|
|
57612
|
-
var ObjectStorageDataType, StorageClass, RetentionMode, ObjectStorageDataType$inboundSchema, ObjectStorageDataType$outboundSchema, StorageClass$inboundSchema, StorageClass$outboundSchema, RetentionMode$inboundSchema, RetentionMode$outboundSchema, ObjectStorageDataRegion$inboundSchema, ObjectStorageDataRegion$outboundSchema, ObjectStorageDataAttributes$inboundSchema, ObjectStorageDataAttributes$outboundSchema, ObjectStorageData$inboundSchema, ObjectStorageData$outboundSchema;
|
|
57665
|
+
var ObjectStorageDataType, StorageClass, RetentionMode, ObjectStorageDataType$inboundSchema, ObjectStorageDataType$outboundSchema, StorageClass$inboundSchema, StorageClass$outboundSchema, RetentionMode$inboundSchema, RetentionMode$outboundSchema, ObjectStorageDataRegion$inboundSchema, ObjectStorageDataRegion$outboundSchema, ObjectStorageDataCredentials$inboundSchema, ObjectStorageDataCredentials$outboundSchema, ObjectStorageDataAttributes$inboundSchema, ObjectStorageDataAttributes$outboundSchema, ObjectStorageData$inboundSchema, ObjectStorageData$outboundSchema;
|
|
57613
57666
|
var init_objectstoragedata = __esm(() => {
|
|
57614
57667
|
init_v3();
|
|
57615
57668
|
init_primitives();
|
|
@@ -57643,6 +57696,20 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57643
57696
|
city: stringType().optional(),
|
|
57644
57697
|
country: nullableType(stringType()).optional()
|
|
57645
57698
|
});
|
|
57699
|
+
ObjectStorageDataCredentials$inboundSchema = objectType({
|
|
57700
|
+
access_key: stringType().optional()
|
|
57701
|
+
}).transform((v2) => {
|
|
57702
|
+
return remap(v2, {
|
|
57703
|
+
access_key: "accessKey"
|
|
57704
|
+
});
|
|
57705
|
+
});
|
|
57706
|
+
ObjectStorageDataCredentials$outboundSchema = objectType({
|
|
57707
|
+
accessKey: stringType().optional()
|
|
57708
|
+
}).transform((v2) => {
|
|
57709
|
+
return remap(v2, {
|
|
57710
|
+
accessKey: "access_key"
|
|
57711
|
+
});
|
|
57712
|
+
});
|
|
57646
57713
|
ObjectStorageDataAttributes$inboundSchema = objectType({
|
|
57647
57714
|
name: stringType().optional(),
|
|
57648
57715
|
storage_type: stringType().optional(),
|
|
@@ -57650,14 +57717,13 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57650
57717
|
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
57651
57718
|
bucket_name: stringType().optional(),
|
|
57652
57719
|
endpoint: stringType().optional(),
|
|
57653
|
-
access_key: nullableType(stringType()).optional(),
|
|
57654
|
-
secret_key: nullableType(stringType()).optional(),
|
|
57655
57720
|
versioning: nullableType(booleanType()).optional(),
|
|
57656
57721
|
locking: nullableType(booleanType()).optional(),
|
|
57657
57722
|
retention_mode: nullableType(RetentionMode$inboundSchema).optional(),
|
|
57658
57723
|
retention_period: nullableType(numberType().int()).optional(),
|
|
57659
57724
|
source: stringType().optional(),
|
|
57660
57725
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$inboundSchema)).optional(),
|
|
57726
|
+
credentials: nullableType(lazyType(() => ObjectStorageDataCredentials$inboundSchema)).optional(),
|
|
57661
57727
|
project: ProjectInclude$inboundSchema.optional(),
|
|
57662
57728
|
team: TeamInclude$inboundSchema.optional()
|
|
57663
57729
|
}).transform((v2) => {
|
|
@@ -57666,8 +57732,6 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57666
57732
|
storage_class: "storageClass",
|
|
57667
57733
|
created_at: "createdAt",
|
|
57668
57734
|
bucket_name: "bucketName",
|
|
57669
|
-
access_key: "accessKey",
|
|
57670
|
-
secret_key: "secretKey",
|
|
57671
57735
|
retention_mode: "retentionMode",
|
|
57672
57736
|
retention_period: "retentionPeriod"
|
|
57673
57737
|
});
|
|
@@ -57679,14 +57743,13 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57679
57743
|
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
57680
57744
|
bucketName: stringType().optional(),
|
|
57681
57745
|
endpoint: stringType().optional(),
|
|
57682
|
-
accessKey: nullableType(stringType()).optional(),
|
|
57683
|
-
secretKey: nullableType(stringType()).optional(),
|
|
57684
57746
|
versioning: nullableType(booleanType()).optional(),
|
|
57685
57747
|
locking: nullableType(booleanType()).optional(),
|
|
57686
57748
|
retentionMode: nullableType(RetentionMode$outboundSchema).optional(),
|
|
57687
57749
|
retentionPeriod: nullableType(numberType().int()).optional(),
|
|
57688
57750
|
source: stringType().optional(),
|
|
57689
57751
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$outboundSchema)).optional(),
|
|
57752
|
+
credentials: nullableType(lazyType(() => ObjectStorageDataCredentials$outboundSchema)).optional(),
|
|
57690
57753
|
project: ProjectInclude$outboundSchema.optional(),
|
|
57691
57754
|
team: TeamInclude$outboundSchema.optional()
|
|
57692
57755
|
}).transform((v2) => {
|
|
@@ -57695,8 +57758,6 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57695
57758
|
storageClass: "storage_class",
|
|
57696
57759
|
createdAt: "created_at",
|
|
57697
57760
|
bucketName: "bucket_name",
|
|
57698
|
-
accessKey: "access_key",
|
|
57699
|
-
secretKey: "secret_key",
|
|
57700
57761
|
retentionMode: "retention_mode",
|
|
57701
57762
|
retentionPeriod: "retention_period"
|
|
57702
57763
|
});
|
|
@@ -58115,6 +58176,131 @@ var init_plan = __esm(() => {
|
|
|
58115
58176
|
});
|
|
58116
58177
|
});
|
|
58117
58178
|
|
|
58179
|
+
// src/models/prefixdata.ts
|
|
58180
|
+
var PrefixDataType, PrefixDataSize, PrefixDataType$inboundSchema, PrefixDataType$outboundSchema, PrefixDataSize$inboundSchema, PrefixDataSize$outboundSchema, PrefixDataProject$inboundSchema, PrefixDataProject$outboundSchema, PrefixDataLocation$inboundSchema, PrefixDataLocation$outboundSchema, PrefixDataRegion$inboundSchema, PrefixDataRegion$outboundSchema, PrefixDataAttributes$inboundSchema, PrefixDataAttributes$outboundSchema, PrefixData$inboundSchema, PrefixData$outboundSchema;
|
|
58181
|
+
var init_prefixdata = __esm(() => {
|
|
58182
|
+
init_v3();
|
|
58183
|
+
init_primitives();
|
|
58184
|
+
PrefixDataType = {
|
|
58185
|
+
Prefixes: "prefixes"
|
|
58186
|
+
};
|
|
58187
|
+
PrefixDataSize = {
|
|
58188
|
+
TwentySix: 26,
|
|
58189
|
+
TwentySeven: 27,
|
|
58190
|
+
TwentyEight: 28
|
|
58191
|
+
};
|
|
58192
|
+
PrefixDataType$inboundSchema = nativeEnumType(PrefixDataType);
|
|
58193
|
+
PrefixDataType$outboundSchema = PrefixDataType$inboundSchema;
|
|
58194
|
+
PrefixDataSize$inboundSchema = nativeEnumType(PrefixDataSize);
|
|
58195
|
+
PrefixDataSize$outboundSchema = PrefixDataSize$inboundSchema;
|
|
58196
|
+
PrefixDataProject$inboundSchema = objectType({
|
|
58197
|
+
id: stringType().optional(),
|
|
58198
|
+
name: stringType().optional(),
|
|
58199
|
+
slug: stringType().optional()
|
|
58200
|
+
});
|
|
58201
|
+
PrefixDataProject$outboundSchema = objectType({
|
|
58202
|
+
id: stringType().optional(),
|
|
58203
|
+
name: stringType().optional(),
|
|
58204
|
+
slug: stringType().optional()
|
|
58205
|
+
});
|
|
58206
|
+
PrefixDataLocation$inboundSchema = objectType({
|
|
58207
|
+
id: stringType().optional(),
|
|
58208
|
+
name: stringType().optional(),
|
|
58209
|
+
slug: stringType().optional()
|
|
58210
|
+
});
|
|
58211
|
+
PrefixDataLocation$outboundSchema = objectType({
|
|
58212
|
+
id: stringType().optional(),
|
|
58213
|
+
name: stringType().optional(),
|
|
58214
|
+
slug: stringType().optional()
|
|
58215
|
+
});
|
|
58216
|
+
PrefixDataRegion$inboundSchema = objectType({
|
|
58217
|
+
id: stringType().optional(),
|
|
58218
|
+
name: stringType().optional(),
|
|
58219
|
+
location: lazyType(() => PrefixDataLocation$inboundSchema).optional()
|
|
58220
|
+
});
|
|
58221
|
+
PrefixDataRegion$outboundSchema = objectType({
|
|
58222
|
+
id: stringType().optional(),
|
|
58223
|
+
name: stringType().optional(),
|
|
58224
|
+
location: lazyType(() => PrefixDataLocation$outboundSchema).optional()
|
|
58225
|
+
});
|
|
58226
|
+
PrefixDataAttributes$inboundSchema = objectType({
|
|
58227
|
+
ipv4: stringType().optional(),
|
|
58228
|
+
ipv6: nullableType(stringType()).optional(),
|
|
58229
|
+
size: PrefixDataSize$inboundSchema.optional(),
|
|
58230
|
+
activated: booleanType().optional(),
|
|
58231
|
+
capacity: numberType().int().optional(),
|
|
58232
|
+
ips_used: numberType().int().optional(),
|
|
58233
|
+
ips_free: numberType().int().optional(),
|
|
58234
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58235
|
+
project: nullableType(lazyType(() => PrefixDataProject$inboundSchema)).optional(),
|
|
58236
|
+
region: nullableType(lazyType(() => PrefixDataRegion$inboundSchema)).optional()
|
|
58237
|
+
}).transform((v2) => {
|
|
58238
|
+
return remap(v2, {
|
|
58239
|
+
ips_used: "ipsUsed",
|
|
58240
|
+
ips_free: "ipsFree",
|
|
58241
|
+
created_at: "createdAt"
|
|
58242
|
+
});
|
|
58243
|
+
});
|
|
58244
|
+
PrefixDataAttributes$outboundSchema = objectType({
|
|
58245
|
+
ipv4: stringType().optional(),
|
|
58246
|
+
ipv6: nullableType(stringType()).optional(),
|
|
58247
|
+
size: PrefixDataSize$outboundSchema.optional(),
|
|
58248
|
+
activated: booleanType().optional(),
|
|
58249
|
+
capacity: numberType().int().optional(),
|
|
58250
|
+
ipsUsed: numberType().int().optional(),
|
|
58251
|
+
ipsFree: numberType().int().optional(),
|
|
58252
|
+
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58253
|
+
project: nullableType(lazyType(() => PrefixDataProject$outboundSchema)).optional(),
|
|
58254
|
+
region: nullableType(lazyType(() => PrefixDataRegion$outboundSchema)).optional()
|
|
58255
|
+
}).transform((v2) => {
|
|
58256
|
+
return remap(v2, {
|
|
58257
|
+
ipsUsed: "ips_used",
|
|
58258
|
+
ipsFree: "ips_free",
|
|
58259
|
+
createdAt: "created_at"
|
|
58260
|
+
});
|
|
58261
|
+
});
|
|
58262
|
+
PrefixData$inboundSchema = objectType({
|
|
58263
|
+
id: stringType().optional(),
|
|
58264
|
+
type: PrefixDataType$inboundSchema.optional(),
|
|
58265
|
+
attributes: lazyType(() => PrefixDataAttributes$inboundSchema).optional()
|
|
58266
|
+
});
|
|
58267
|
+
PrefixData$outboundSchema = objectType({
|
|
58268
|
+
id: stringType().optional(),
|
|
58269
|
+
type: PrefixDataType$outboundSchema.optional(),
|
|
58270
|
+
attributes: lazyType(() => PrefixDataAttributes$outboundSchema).optional()
|
|
58271
|
+
});
|
|
58272
|
+
});
|
|
58273
|
+
|
|
58274
|
+
// src/models/prefix.ts
|
|
58275
|
+
var Prefix$inboundSchema, Prefix$outboundSchema;
|
|
58276
|
+
var init_prefix = __esm(() => {
|
|
58277
|
+
init_v3();
|
|
58278
|
+
init_prefixdata();
|
|
58279
|
+
Prefix$inboundSchema = objectType({
|
|
58280
|
+
data: PrefixData$inboundSchema.optional()
|
|
58281
|
+
});
|
|
58282
|
+
Prefix$outboundSchema = objectType({
|
|
58283
|
+
data: PrefixData$outboundSchema.optional()
|
|
58284
|
+
});
|
|
58285
|
+
});
|
|
58286
|
+
|
|
58287
|
+
// src/models/prefixes.ts
|
|
58288
|
+
var PrefixesMeta$inboundSchema, PrefixesMeta$outboundSchema, Prefixes$inboundSchema, Prefixes$outboundSchema;
|
|
58289
|
+
var init_prefixes = __esm(() => {
|
|
58290
|
+
init_v3();
|
|
58291
|
+
init_prefixdata();
|
|
58292
|
+
PrefixesMeta$inboundSchema = objectType({});
|
|
58293
|
+
PrefixesMeta$outboundSchema = objectType({});
|
|
58294
|
+
Prefixes$inboundSchema = objectType({
|
|
58295
|
+
data: arrayType(PrefixData$inboundSchema).optional(),
|
|
58296
|
+
meta: lazyType(() => PrefixesMeta$inboundSchema).optional()
|
|
58297
|
+
});
|
|
58298
|
+
Prefixes$outboundSchema = objectType({
|
|
58299
|
+
data: arrayType(PrefixData$outboundSchema).optional(),
|
|
58300
|
+
meta: lazyType(() => PrefixesMeta$outboundSchema).optional()
|
|
58301
|
+
});
|
|
58302
|
+
});
|
|
58303
|
+
|
|
58118
58304
|
// src/models/project.ts
|
|
58119
58305
|
var ProjectType, BillingType, BillingMethod, Environment, ProjectType$inboundSchema, ProjectType$outboundSchema, ProjectTag$inboundSchema, ProjectTag$outboundSchema, BillingType$inboundSchema, BillingType$outboundSchema, BillingMethod$inboundSchema, BillingMethod$outboundSchema, Environment$inboundSchema, Environment$outboundSchema, ProjectStats$inboundSchema, ProjectStats$outboundSchema, ProjectBilling$inboundSchema, ProjectBilling$outboundSchema, ProjectAttributes$inboundSchema, ProjectAttributes$outboundSchema, Project$inboundSchema, Project$outboundSchema;
|
|
58120
58306
|
var init_project = __esm(() => {
|
|
@@ -59123,6 +59309,7 @@ var init_team = __esm(() => {
|
|
|
59123
59309
|
virtual_machine: nullableType(numberType().int()).optional(),
|
|
59124
59310
|
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
59125
59311
|
elastic_ip: nullableType(numberType().int()).optional(),
|
|
59312
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
59126
59313
|
virtual_network: nullableType(numberType().int()).optional(),
|
|
59127
59314
|
database: nullableType(numberType().int()).optional(),
|
|
59128
59315
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -59144,6 +59331,7 @@ var init_team = __esm(() => {
|
|
|
59144
59331
|
virtualMachine: nullableType(numberType().int()).optional(),
|
|
59145
59332
|
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
59146
59333
|
elasticIp: nullableType(numberType().int()).optional(),
|
|
59334
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
59147
59335
|
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
59148
59336
|
database: nullableType(numberType().int()).optional(),
|
|
59149
59337
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -59883,6 +60071,7 @@ var init_userteam = __esm(() => {
|
|
|
59883
60071
|
virtual_machine: nullableType(numberType().int()).optional(),
|
|
59884
60072
|
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
59885
60073
|
elastic_ip: nullableType(numberType().int()).optional(),
|
|
60074
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
59886
60075
|
virtual_network: nullableType(numberType().int()).optional(),
|
|
59887
60076
|
database: nullableType(numberType().int()).optional(),
|
|
59888
60077
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -59904,6 +60093,7 @@ var init_userteam = __esm(() => {
|
|
|
59904
60093
|
virtualMachine: nullableType(numberType().int()).optional(),
|
|
59905
60094
|
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
59906
60095
|
elasticIp: nullableType(numberType().int()).optional(),
|
|
60096
|
+
prefix: nullableType(numberType().int()).optional(),
|
|
59907
60097
|
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
59908
60098
|
database: nullableType(numberType().int()).optional(),
|
|
59909
60099
|
filesystem: nullableType(numberType().int()).optional(),
|
|
@@ -60012,8 +60202,8 @@ var init_userupdate = __esm(() => {
|
|
|
60012
60202
|
email: stringType().optional(),
|
|
60013
60203
|
authentication_factor_id: nullableType(stringType()).optional(),
|
|
60014
60204
|
role: nullableType(stringType()).optional(),
|
|
60015
|
-
created_at: stringType().optional(),
|
|
60016
|
-
updated_at: stringType().optional()
|
|
60205
|
+
created_at: nullableType(stringType()).optional(),
|
|
60206
|
+
updated_at: nullableType(stringType()).optional()
|
|
60017
60207
|
}).transform((v2) => {
|
|
60018
60208
|
return remap(v2, {
|
|
60019
60209
|
first_name: "firstName",
|
|
@@ -60029,8 +60219,8 @@ var init_userupdate = __esm(() => {
|
|
|
60029
60219
|
email: stringType().optional(),
|
|
60030
60220
|
authenticationFactorId: nullableType(stringType()).optional(),
|
|
60031
60221
|
role: nullableType(stringType()).optional(),
|
|
60032
|
-
createdAt: stringType().optional(),
|
|
60033
|
-
updatedAt: stringType().optional()
|
|
60222
|
+
createdAt: nullableType(stringType()).optional(),
|
|
60223
|
+
updatedAt: nullableType(stringType()).optional()
|
|
60034
60224
|
}).transform((v2) => {
|
|
60035
60225
|
return remap(v2, {
|
|
60036
60226
|
firstName: "first_name",
|
|
@@ -60640,7 +60830,7 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
60640
60830
|
});
|
|
60641
60831
|
|
|
60642
60832
|
// src/models/virtualmachineplans.ts
|
|
60643
|
-
var VirtualMachinePlansType, VirtualMachinePlansUnit, VirtualMachinePlansRegionStockLevel, VirtualMachinePlansStockLevel, VirtualMachinePlansType$inboundSchema, VirtualMachinePlansType$outboundSchema, Vcpu$inboundSchema, Vcpu$outboundSchema, VirtualMachinePlansNic$inboundSchema, VirtualMachinePlansNic$outboundSchema, VirtualMachinePlansUnit$inboundSchema, VirtualMachinePlansUnit$outboundSchema,
|
|
60833
|
+
var VirtualMachinePlansType, VirtualMachinePlansUnit, VirtualMachinePlansRegionStockLevel, VirtualMachinePlansStockLevel, VirtualMachinePlansType$inboundSchema, VirtualMachinePlansType$outboundSchema, Vcpu$inboundSchema, Vcpu$outboundSchema, VirtualMachinePlansNic$inboundSchema, VirtualMachinePlansNic$outboundSchema, VirtualMachinePlansUnit$inboundSchema, VirtualMachinePlansUnit$outboundSchema, VirtualMachinePlansSize$inboundSchema, VirtualMachinePlansSize$outboundSchema, Disk$inboundSchema, Disk$outboundSchema, VirtualMachinePlansSpecs$inboundSchema, VirtualMachinePlansSpecs$outboundSchema, VirtualMachinePlansUSD$inboundSchema, VirtualMachinePlansUSD$outboundSchema, VirtualMachinePlansBRL$inboundSchema, VirtualMachinePlansBRL$outboundSchema, VirtualMachinePlansPricing$inboundSchema, VirtualMachinePlansPricing$outboundSchema, VirtualMachinePlansLocations$inboundSchema, VirtualMachinePlansLocations$outboundSchema, VirtualMachinePlansRegionStockLevel$inboundSchema, VirtualMachinePlansRegionStockLevel$outboundSchema, VirtualMachinePlansRegion$inboundSchema, VirtualMachinePlansRegion$outboundSchema, VirtualMachinePlansStockLevel$inboundSchema, VirtualMachinePlansStockLevel$outboundSchema, VirtualMachinePlansAttributes$inboundSchema, VirtualMachinePlansAttributes$outboundSchema, VirtualMachinePlansData$inboundSchema, VirtualMachinePlansData$outboundSchema, VirtualMachinePlans$inboundSchema, VirtualMachinePlans$outboundSchema;
|
|
60644
60834
|
var init_virtualmachineplans = __esm(() => {
|
|
60645
60835
|
init_v3();
|
|
60646
60836
|
init_primitives();
|
|
@@ -60684,21 +60874,21 @@ var init_virtualmachineplans = __esm(() => {
|
|
|
60684
60874
|
});
|
|
60685
60875
|
VirtualMachinePlansUnit$inboundSchema = nativeEnumType(VirtualMachinePlansUnit);
|
|
60686
60876
|
VirtualMachinePlansUnit$outboundSchema = VirtualMachinePlansUnit$inboundSchema;
|
|
60687
|
-
|
|
60877
|
+
VirtualMachinePlansSize$inboundSchema = objectType({
|
|
60688
60878
|
amount: numberType().int().optional(),
|
|
60689
60879
|
unit: VirtualMachinePlansUnit$inboundSchema.optional()
|
|
60690
60880
|
});
|
|
60691
|
-
|
|
60881
|
+
VirtualMachinePlansSize$outboundSchema = objectType({
|
|
60692
60882
|
amount: numberType().int().optional(),
|
|
60693
60883
|
unit: VirtualMachinePlansUnit$outboundSchema.optional()
|
|
60694
60884
|
});
|
|
60695
60885
|
Disk$inboundSchema = objectType({
|
|
60696
60886
|
type: stringType().optional(),
|
|
60697
|
-
size: lazyType(() =>
|
|
60887
|
+
size: lazyType(() => VirtualMachinePlansSize$inboundSchema).optional()
|
|
60698
60888
|
});
|
|
60699
60889
|
Disk$outboundSchema = objectType({
|
|
60700
60890
|
type: stringType().optional(),
|
|
60701
|
-
size: lazyType(() =>
|
|
60891
|
+
size: lazyType(() => VirtualMachinePlansSize$outboundSchema).optional()
|
|
60702
60892
|
});
|
|
60703
60893
|
VirtualMachinePlansSpecs$inboundSchema = objectType({
|
|
60704
60894
|
memory: numberType().int().optional(),
|
|
@@ -61434,6 +61624,7 @@ var init_models = __esm(() => {
|
|
|
61434
61624
|
init_createbgpsession();
|
|
61435
61625
|
init_createelasticip();
|
|
61436
61626
|
init_createkubernetescluster();
|
|
61627
|
+
init_createprefix();
|
|
61437
61628
|
init_customtag();
|
|
61438
61629
|
init_customtagdata();
|
|
61439
61630
|
init_customtags();
|
|
@@ -61475,6 +61666,9 @@ var init_models = __esm(() => {
|
|
|
61475
61666
|
init_paginationmeta();
|
|
61476
61667
|
init_plan();
|
|
61477
61668
|
init_plandata();
|
|
61669
|
+
init_prefix();
|
|
61670
|
+
init_prefixdata();
|
|
61671
|
+
init_prefixes();
|
|
61478
61672
|
init_project();
|
|
61479
61673
|
init_projectinclude();
|
|
61480
61674
|
init_projects();
|
|
@@ -62262,14 +62456,16 @@ var init_createserverreinstall = __esm(() => {
|
|
|
62262
62456
|
raid: nullableType(CreateServerReinstallRaid2$inboundSchema).optional(),
|
|
62263
62457
|
disk_layout: nullableType(arrayType(lazyType(() => CreateServerReinstallDiskLayout2$inboundSchema))).optional(),
|
|
62264
62458
|
ipxe: nullableType(stringType()).optional(),
|
|
62265
|
-
persistent_netboot: booleanType().optional()
|
|
62459
|
+
persistent_netboot: booleanType().optional(),
|
|
62460
|
+
prefix_id: nullableType(stringType()).optional()
|
|
62266
62461
|
}).transform((v2) => {
|
|
62267
62462
|
return remap(v2, {
|
|
62268
62463
|
operating_system: "operatingSystem",
|
|
62269
62464
|
ssh_keys: "sshKeys",
|
|
62270
62465
|
user_data: "userData",
|
|
62271
62466
|
disk_layout: "diskLayout",
|
|
62272
|
-
persistent_netboot: "persistentNetboot"
|
|
62467
|
+
persistent_netboot: "persistentNetboot",
|
|
62468
|
+
prefix_id: "prefixId"
|
|
62273
62469
|
});
|
|
62274
62470
|
});
|
|
62275
62471
|
CreateServerReinstallAttributes2$outboundSchema = objectType({
|
|
@@ -62280,14 +62476,16 @@ var init_createserverreinstall = __esm(() => {
|
|
|
62280
62476
|
raid: nullableType(CreateServerReinstallRaid2$outboundSchema).optional(),
|
|
62281
62477
|
diskLayout: nullableType(arrayType(lazyType(() => CreateServerReinstallDiskLayout2$outboundSchema))).optional(),
|
|
62282
62478
|
ipxe: nullableType(stringType()).optional(),
|
|
62283
|
-
persistentNetboot: booleanType().optional()
|
|
62479
|
+
persistentNetboot: booleanType().optional(),
|
|
62480
|
+
prefixId: nullableType(stringType()).optional()
|
|
62284
62481
|
}).transform((v2) => {
|
|
62285
62482
|
return remap(v2, {
|
|
62286
62483
|
operatingSystem: "operating_system",
|
|
62287
62484
|
sshKeys: "ssh_keys",
|
|
62288
62485
|
userData: "user_data",
|
|
62289
62486
|
diskLayout: "disk_layout",
|
|
62290
|
-
persistentNetboot: "persistent_netboot"
|
|
62487
|
+
persistentNetboot: "persistent_netboot",
|
|
62488
|
+
prefixId: "prefix_id"
|
|
62291
62489
|
});
|
|
62292
62490
|
});
|
|
62293
62491
|
CreateServerReinstallData2$inboundSchema = objectType({
|
|
@@ -62959,6 +63157,18 @@ var init_destroybaseline = __esm(() => {
|
|
|
62959
63157
|
});
|
|
62960
63158
|
});
|
|
62961
63159
|
|
|
63160
|
+
// src/models/operations/destroyprefix.ts
|
|
63161
|
+
var DestroyPrefixRequest$inboundSchema, DestroyPrefixRequest$outboundSchema;
|
|
63162
|
+
var init_destroyprefix = __esm(() => {
|
|
63163
|
+
init_v3();
|
|
63164
|
+
DestroyPrefixRequest$inboundSchema = objectType({
|
|
63165
|
+
id: stringType()
|
|
63166
|
+
});
|
|
63167
|
+
DestroyPrefixRequest$outboundSchema = objectType({
|
|
63168
|
+
id: stringType()
|
|
63169
|
+
});
|
|
63170
|
+
});
|
|
63171
|
+
|
|
62962
63172
|
// src/models/operations/destroyserver.ts
|
|
62963
63173
|
var DestroyServerRequest$inboundSchema, DestroyServerRequest$outboundSchema;
|
|
62964
63174
|
var init_destroyserver = __esm(() => {
|
|
@@ -63730,6 +63940,43 @@ var init_getplansoperatingsystem = __esm(() => {
|
|
|
63730
63940
|
});
|
|
63731
63941
|
});
|
|
63732
63942
|
|
|
63943
|
+
// src/models/operations/getprefix.ts
|
|
63944
|
+
var GetPrefixRequest$inboundSchema, GetPrefixRequest$outboundSchema;
|
|
63945
|
+
var init_getprefix = __esm(() => {
|
|
63946
|
+
init_v3();
|
|
63947
|
+
GetPrefixRequest$inboundSchema = objectType({
|
|
63948
|
+
id: stringType()
|
|
63949
|
+
});
|
|
63950
|
+
GetPrefixRequest$outboundSchema = objectType({
|
|
63951
|
+
id: stringType()
|
|
63952
|
+
});
|
|
63953
|
+
});
|
|
63954
|
+
|
|
63955
|
+
// src/models/operations/getprefixes.ts
|
|
63956
|
+
var GetPrefixesRequest$inboundSchema, GetPrefixesRequest$outboundSchema;
|
|
63957
|
+
var init_getprefixes = __esm(() => {
|
|
63958
|
+
init_v3();
|
|
63959
|
+
init_primitives();
|
|
63960
|
+
GetPrefixesRequest$inboundSchema = objectType({
|
|
63961
|
+
"filter[project]": stringType().optional(),
|
|
63962
|
+
"filter[site]": stringType().optional()
|
|
63963
|
+
}).transform((v2) => {
|
|
63964
|
+
return remap(v2, {
|
|
63965
|
+
"filter[project]": "filterProject",
|
|
63966
|
+
"filter[site]": "filterSite"
|
|
63967
|
+
});
|
|
63968
|
+
});
|
|
63969
|
+
GetPrefixesRequest$outboundSchema = objectType({
|
|
63970
|
+
filterProject: stringType().optional(),
|
|
63971
|
+
filterSite: stringType().optional()
|
|
63972
|
+
}).transform((v2) => {
|
|
63973
|
+
return remap(v2, {
|
|
63974
|
+
filterProject: "filter[project]",
|
|
63975
|
+
filterSite: "filter[site]"
|
|
63976
|
+
});
|
|
63977
|
+
});
|
|
63978
|
+
});
|
|
63979
|
+
|
|
63733
63980
|
// src/models/operations/getprojects.ts
|
|
63734
63981
|
var GetProjectsRequest$inboundSchema, GetProjectsRequest$outboundSchema, GetProjectsResponse$inboundSchema, GetProjectsResponse$outboundSchema;
|
|
63735
63982
|
var init_getprojects = __esm(() => {
|
|
@@ -67454,6 +67701,7 @@ var init_operations = __esm(() => {
|
|
|
67454
67701
|
init_deletevirtualnetworksassignments();
|
|
67455
67702
|
init_deletevpnsession();
|
|
67456
67703
|
init_destroybaseline();
|
|
67704
|
+
init_destroyprefix();
|
|
67457
67705
|
init_destroyserver();
|
|
67458
67706
|
init_destroytag();
|
|
67459
67707
|
init_destroyteammember();
|
|
@@ -67476,6 +67724,8 @@ var init_operations = __esm(() => {
|
|
|
67476
67724
|
init_getplan();
|
|
67477
67725
|
init_getplans();
|
|
67478
67726
|
init_getplansoperatingsystem();
|
|
67727
|
+
init_getprefix();
|
|
67728
|
+
init_getprefixes();
|
|
67479
67729
|
init_getprojects();
|
|
67480
67730
|
init_getprojectsshkey();
|
|
67481
67731
|
init_getprojectsshkeys();
|
|
@@ -74809,18 +75059,18 @@ var init_plansVmList2 = __esm(() => {
|
|
|
74809
75059
|
};
|
|
74810
75060
|
});
|
|
74811
75061
|
|
|
74812
|
-
// src/funcs/
|
|
74813
|
-
function
|
|
75062
|
+
// src/funcs/prefixesCreatePrefix.ts
|
|
75063
|
+
function prefixesCreatePrefix(client, request, options) {
|
|
74814
75064
|
return new APIPromise($do64(client, request, options));
|
|
74815
75065
|
}
|
|
74816
75066
|
async function $do64(client, request, options) {
|
|
74817
|
-
const parsed = safeParse4(request, (value) =>
|
|
75067
|
+
const parsed = safeParse4(request, (value) => CreatePrefix$outboundSchema.parse(value), "Input validation failed");
|
|
74818
75068
|
if (!parsed.ok) {
|
|
74819
75069
|
return [parsed, { status: "invalid" }];
|
|
74820
75070
|
}
|
|
74821
75071
|
const payload = parsed.value;
|
|
74822
75072
|
const body = encodeJSON("body", payload, { explode: true });
|
|
74823
|
-
const path = pathToFunc("/
|
|
75073
|
+
const path = pathToFunc("/prefixes")();
|
|
74824
75074
|
const headers = new Headers(compactMap({
|
|
74825
75075
|
"Content-Type": "application/json",
|
|
74826
75076
|
Accept: "application/vnd.api+json"
|
|
@@ -74831,7 +75081,7 @@ async function $do64(client, request, options) {
|
|
|
74831
75081
|
const context = {
|
|
74832
75082
|
options: client._options,
|
|
74833
75083
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
74834
|
-
operationID: "
|
|
75084
|
+
operationID: "create-prefix",
|
|
74835
75085
|
oAuth2Scopes: null,
|
|
74836
75086
|
resolvedSecurity: requestSecurity,
|
|
74837
75087
|
securitySource: client._options.bearer,
|
|
@@ -74862,15 +75112,20 @@ async function $do64(client, request, options) {
|
|
|
74862
75112
|
return [doResult, { status: "request-error", request: req }];
|
|
74863
75113
|
}
|
|
74864
75114
|
const response = doResult.value;
|
|
74865
|
-
const
|
|
75115
|
+
const responseFields = {
|
|
75116
|
+
HttpMeta: { Response: response, Request: req }
|
|
75117
|
+
};
|
|
75118
|
+
const [result] = await match(json(201, Prefix$inboundSchema, {
|
|
74866
75119
|
ctype: "application/vnd.api+json"
|
|
74867
|
-
}),
|
|
75120
|
+
}), jsonErr([403, 409, 422], ErrorObject$inboundSchema, {
|
|
75121
|
+
ctype: "application/vnd.api+json"
|
|
75122
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
74868
75123
|
if (!result.ok) {
|
|
74869
75124
|
return [result, { status: "complete", request: req, response }];
|
|
74870
75125
|
}
|
|
74871
75126
|
return [result, { status: "complete", request: req, response }];
|
|
74872
75127
|
}
|
|
74873
|
-
var
|
|
75128
|
+
var init_prefixesCreatePrefix = __esm(() => {
|
|
74874
75129
|
init_encodings();
|
|
74875
75130
|
init_http();
|
|
74876
75131
|
init_matchers();
|
|
@@ -74878,26 +75133,28 @@ var init_privateNetworksAssign = __esm(() => {
|
|
|
74878
75133
|
init_schemas4();
|
|
74879
75134
|
init_security();
|
|
74880
75135
|
init_url();
|
|
75136
|
+
init_errors4();
|
|
74881
75137
|
init_models();
|
|
74882
|
-
init_operations();
|
|
74883
75138
|
init_async();
|
|
74884
75139
|
});
|
|
74885
75140
|
|
|
74886
|
-
// src/mcp-server/tools/
|
|
74887
|
-
var args60, tool$
|
|
74888
|
-
var
|
|
74889
|
-
|
|
74890
|
-
|
|
75141
|
+
// src/mcp-server/tools/prefixesCreatePrefix.ts
|
|
75142
|
+
var args60, tool$prefixesCreatePrefix;
|
|
75143
|
+
var init_prefixesCreatePrefix2 = __esm(() => {
|
|
75144
|
+
init_prefixesCreatePrefix();
|
|
75145
|
+
init_models();
|
|
74891
75146
|
init_tools();
|
|
74892
75147
|
args60 = {
|
|
74893
|
-
request:
|
|
75148
|
+
request: CreatePrefix$inboundSchema
|
|
74894
75149
|
};
|
|
74895
|
-
tool$
|
|
74896
|
-
name: "
|
|
74897
|
-
description: `
|
|
75150
|
+
tool$prefixesCreatePrefix = {
|
|
75151
|
+
name: "prefixes-create-prefix",
|
|
75152
|
+
description: `Create a network
|
|
75153
|
+
|
|
75154
|
+
Provision a customer network: an IPv4 block of the chosen size plus a paired IPv6 /64`,
|
|
74898
75155
|
args: args60,
|
|
74899
75156
|
tool: async (client, args61, ctx) => {
|
|
74900
|
-
const [result, apiCall] = await
|
|
75157
|
+
const [result, apiCall] = await prefixesCreatePrefix(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74901
75158
|
if (!result.ok) {
|
|
74902
75159
|
return {
|
|
74903
75160
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74910,20 +75167,25 @@ var init_privateNetworksAssign2 = __esm(() => {
|
|
|
74910
75167
|
};
|
|
74911
75168
|
});
|
|
74912
75169
|
|
|
74913
|
-
// src/funcs/
|
|
74914
|
-
function
|
|
75170
|
+
// src/funcs/prefixesDestroyPrefix.ts
|
|
75171
|
+
function prefixesDestroyPrefix(client, request, options) {
|
|
74915
75172
|
return new APIPromise($do65(client, request, options));
|
|
74916
75173
|
}
|
|
74917
75174
|
async function $do65(client, request, options) {
|
|
74918
|
-
const parsed = safeParse4(request, (value) =>
|
|
75175
|
+
const parsed = safeParse4(request, (value) => DestroyPrefixRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74919
75176
|
if (!parsed.ok) {
|
|
74920
75177
|
return [parsed, { status: "invalid" }];
|
|
74921
75178
|
}
|
|
74922
75179
|
const payload = parsed.value;
|
|
74923
|
-
const body =
|
|
74924
|
-
const
|
|
75180
|
+
const body = null;
|
|
75181
|
+
const pathParams = {
|
|
75182
|
+
id: encodeSimple("id", payload.id, {
|
|
75183
|
+
explode: false,
|
|
75184
|
+
charEncoding: "percent"
|
|
75185
|
+
})
|
|
75186
|
+
};
|
|
75187
|
+
const path = pathToFunc("/prefixes/{id}")(pathParams);
|
|
74925
75188
|
const headers = new Headers(compactMap({
|
|
74926
|
-
"Content-Type": "application/json",
|
|
74927
75189
|
Accept: "application/vnd.api+json"
|
|
74928
75190
|
}));
|
|
74929
75191
|
const secConfig = await extractSecurity(client._options.bearer);
|
|
@@ -74932,7 +75194,7 @@ async function $do65(client, request, options) {
|
|
|
74932
75194
|
const context = {
|
|
74933
75195
|
options: client._options,
|
|
74934
75196
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
74935
|
-
operationID: "
|
|
75197
|
+
operationID: "destroy-prefix",
|
|
74936
75198
|
oAuth2Scopes: null,
|
|
74937
75199
|
resolvedSecurity: requestSecurity,
|
|
74938
75200
|
securitySource: client._options.bearer,
|
|
@@ -74941,7 +75203,441 @@ async function $do65(client, request, options) {
|
|
|
74941
75203
|
};
|
|
74942
75204
|
const requestRes = client._createRequest(context, {
|
|
74943
75205
|
security: requestSecurity,
|
|
74944
|
-
method: "
|
|
75206
|
+
method: "DELETE",
|
|
75207
|
+
baseURL: options?.serverURL,
|
|
75208
|
+
path,
|
|
75209
|
+
headers,
|
|
75210
|
+
body,
|
|
75211
|
+
userAgent: client._options.userAgent,
|
|
75212
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
75213
|
+
}, options);
|
|
75214
|
+
if (!requestRes.ok) {
|
|
75215
|
+
return [requestRes, { status: "invalid" }];
|
|
75216
|
+
}
|
|
75217
|
+
const req = requestRes.value;
|
|
75218
|
+
const doResult = await client._do(req, {
|
|
75219
|
+
context,
|
|
75220
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75221
|
+
retryConfig: context.retryConfig,
|
|
75222
|
+
retryCodes: context.retryCodes
|
|
75223
|
+
});
|
|
75224
|
+
if (!doResult.ok) {
|
|
75225
|
+
return [doResult, { status: "request-error", request: req }];
|
|
75226
|
+
}
|
|
75227
|
+
const response = doResult.value;
|
|
75228
|
+
const responseFields = {
|
|
75229
|
+
HttpMeta: { Response: response, Request: req }
|
|
75230
|
+
};
|
|
75231
|
+
const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
75232
|
+
ctype: "application/vnd.api+json"
|
|
75233
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
75234
|
+
if (!result.ok) {
|
|
75235
|
+
return [result, { status: "complete", request: req, response }];
|
|
75236
|
+
}
|
|
75237
|
+
return [result, { status: "complete", request: req, response }];
|
|
75238
|
+
}
|
|
75239
|
+
var init_prefixesDestroyPrefix = __esm(() => {
|
|
75240
|
+
init_v3();
|
|
75241
|
+
init_encodings();
|
|
75242
|
+
init_http();
|
|
75243
|
+
init_matchers();
|
|
75244
|
+
init_primitives();
|
|
75245
|
+
init_schemas4();
|
|
75246
|
+
init_security();
|
|
75247
|
+
init_url();
|
|
75248
|
+
init_errors4();
|
|
75249
|
+
init_operations();
|
|
75250
|
+
init_async();
|
|
75251
|
+
});
|
|
75252
|
+
|
|
75253
|
+
// src/mcp-server/tools/prefixesDestroyPrefix.ts
|
|
75254
|
+
var args61, tool$prefixesDestroyPrefix;
|
|
75255
|
+
var init_prefixesDestroyPrefix2 = __esm(() => {
|
|
75256
|
+
init_prefixesDestroyPrefix();
|
|
75257
|
+
init_operations();
|
|
75258
|
+
init_tools();
|
|
75259
|
+
args61 = {
|
|
75260
|
+
request: DestroyPrefixRequest$inboundSchema
|
|
75261
|
+
};
|
|
75262
|
+
tool$prefixesDestroyPrefix = {
|
|
75263
|
+
name: "prefixes-destroy-prefix",
|
|
75264
|
+
description: `Delete a network
|
|
75265
|
+
|
|
75266
|
+
Delete a customer network. Only allowed while the network has no IPs in use.`,
|
|
75267
|
+
args: args61,
|
|
75268
|
+
tool: async (client, args62, ctx) => {
|
|
75269
|
+
const [result, apiCall] = await prefixesDestroyPrefix(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75270
|
+
if (!result.ok) {
|
|
75271
|
+
return {
|
|
75272
|
+
content: [{ type: "text", text: result.error.message }],
|
|
75273
|
+
isError: true
|
|
75274
|
+
};
|
|
75275
|
+
}
|
|
75276
|
+
return formatResult(undefined, apiCall);
|
|
75277
|
+
}
|
|
75278
|
+
};
|
|
75279
|
+
});
|
|
75280
|
+
|
|
75281
|
+
// src/funcs/prefixesGetPrefix.ts
|
|
75282
|
+
function prefixesGetPrefix(client, request, options) {
|
|
75283
|
+
return new APIPromise($do66(client, request, options));
|
|
75284
|
+
}
|
|
75285
|
+
async function $do66(client, request, options) {
|
|
75286
|
+
const parsed = safeParse4(request, (value) => GetPrefixRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75287
|
+
if (!parsed.ok) {
|
|
75288
|
+
return [parsed, { status: "invalid" }];
|
|
75289
|
+
}
|
|
75290
|
+
const payload = parsed.value;
|
|
75291
|
+
const body = null;
|
|
75292
|
+
const pathParams = {
|
|
75293
|
+
id: encodeSimple("id", payload.id, {
|
|
75294
|
+
explode: false,
|
|
75295
|
+
charEncoding: "percent"
|
|
75296
|
+
})
|
|
75297
|
+
};
|
|
75298
|
+
const path = pathToFunc("/prefixes/{id}")(pathParams);
|
|
75299
|
+
const headers = new Headers(compactMap({
|
|
75300
|
+
Accept: "application/vnd.api+json"
|
|
75301
|
+
}));
|
|
75302
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
75303
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
75304
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75305
|
+
const context = {
|
|
75306
|
+
options: client._options,
|
|
75307
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75308
|
+
operationID: "get-prefix",
|
|
75309
|
+
oAuth2Scopes: null,
|
|
75310
|
+
resolvedSecurity: requestSecurity,
|
|
75311
|
+
securitySource: client._options.bearer,
|
|
75312
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75313
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75314
|
+
};
|
|
75315
|
+
const requestRes = client._createRequest(context, {
|
|
75316
|
+
security: requestSecurity,
|
|
75317
|
+
method: "GET",
|
|
75318
|
+
baseURL: options?.serverURL,
|
|
75319
|
+
path,
|
|
75320
|
+
headers,
|
|
75321
|
+
body,
|
|
75322
|
+
userAgent: client._options.userAgent,
|
|
75323
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
75324
|
+
}, options);
|
|
75325
|
+
if (!requestRes.ok) {
|
|
75326
|
+
return [requestRes, { status: "invalid" }];
|
|
75327
|
+
}
|
|
75328
|
+
const req = requestRes.value;
|
|
75329
|
+
const doResult = await client._do(req, {
|
|
75330
|
+
context,
|
|
75331
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75332
|
+
retryConfig: context.retryConfig,
|
|
75333
|
+
retryCodes: context.retryCodes
|
|
75334
|
+
});
|
|
75335
|
+
if (!doResult.ok) {
|
|
75336
|
+
return [doResult, { status: "request-error", request: req }];
|
|
75337
|
+
}
|
|
75338
|
+
const response = doResult.value;
|
|
75339
|
+
const responseFields = {
|
|
75340
|
+
HttpMeta: { Response: response, Request: req }
|
|
75341
|
+
};
|
|
75342
|
+
const [result] = await match(json(200, Prefix$inboundSchema, {
|
|
75343
|
+
ctype: "application/vnd.api+json"
|
|
75344
|
+
}), jsonErr([403, 404], ErrorObject$inboundSchema, {
|
|
75345
|
+
ctype: "application/vnd.api+json"
|
|
75346
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
75347
|
+
if (!result.ok) {
|
|
75348
|
+
return [result, { status: "complete", request: req, response }];
|
|
75349
|
+
}
|
|
75350
|
+
return [result, { status: "complete", request: req, response }];
|
|
75351
|
+
}
|
|
75352
|
+
var init_prefixesGetPrefix = __esm(() => {
|
|
75353
|
+
init_encodings();
|
|
75354
|
+
init_http();
|
|
75355
|
+
init_matchers();
|
|
75356
|
+
init_primitives();
|
|
75357
|
+
init_schemas4();
|
|
75358
|
+
init_security();
|
|
75359
|
+
init_url();
|
|
75360
|
+
init_errors4();
|
|
75361
|
+
init_models();
|
|
75362
|
+
init_operations();
|
|
75363
|
+
init_async();
|
|
75364
|
+
});
|
|
75365
|
+
|
|
75366
|
+
// src/mcp-server/tools/prefixesGetPrefix.ts
|
|
75367
|
+
var args62, tool$prefixesGetPrefix;
|
|
75368
|
+
var init_prefixesGetPrefix2 = __esm(() => {
|
|
75369
|
+
init_prefixesGetPrefix();
|
|
75370
|
+
init_operations();
|
|
75371
|
+
init_tools();
|
|
75372
|
+
args62 = {
|
|
75373
|
+
request: GetPrefixRequest$inboundSchema
|
|
75374
|
+
};
|
|
75375
|
+
tool$prefixesGetPrefix = {
|
|
75376
|
+
name: "prefixes-get-prefix",
|
|
75377
|
+
description: `Retrieve a network
|
|
75378
|
+
|
|
75379
|
+
Retrieve a customer network`,
|
|
75380
|
+
args: args62,
|
|
75381
|
+
tool: async (client, args63, ctx) => {
|
|
75382
|
+
const [result, apiCall] = await prefixesGetPrefix(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75383
|
+
if (!result.ok) {
|
|
75384
|
+
return {
|
|
75385
|
+
content: [{ type: "text", text: result.error.message }],
|
|
75386
|
+
isError: true
|
|
75387
|
+
};
|
|
75388
|
+
}
|
|
75389
|
+
const value = result.value;
|
|
75390
|
+
return formatResult(value, apiCall);
|
|
75391
|
+
}
|
|
75392
|
+
};
|
|
75393
|
+
});
|
|
75394
|
+
|
|
75395
|
+
// src/funcs/prefixesGetPrefixes.ts
|
|
75396
|
+
function prefixesGetPrefixes(client, request, options) {
|
|
75397
|
+
return new APIPromise($do67(client, request, options));
|
|
75398
|
+
}
|
|
75399
|
+
async function $do67(client, request, options) {
|
|
75400
|
+
const parsed = safeParse4(request, (value) => GetPrefixesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75401
|
+
if (!parsed.ok) {
|
|
75402
|
+
return [parsed, { status: "invalid" }];
|
|
75403
|
+
}
|
|
75404
|
+
const payload = parsed.value;
|
|
75405
|
+
const body = null;
|
|
75406
|
+
const path = pathToFunc("/prefixes")();
|
|
75407
|
+
const query = encodeFormQuery({
|
|
75408
|
+
"filter[project]": payload?.["filter[project]"],
|
|
75409
|
+
"filter[site]": payload?.["filter[site]"]
|
|
75410
|
+
});
|
|
75411
|
+
const headers = new Headers(compactMap({
|
|
75412
|
+
Accept: "application/vnd.api+json"
|
|
75413
|
+
}));
|
|
75414
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
75415
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
75416
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75417
|
+
const context = {
|
|
75418
|
+
options: client._options,
|
|
75419
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75420
|
+
operationID: "get-prefixes",
|
|
75421
|
+
oAuth2Scopes: null,
|
|
75422
|
+
resolvedSecurity: requestSecurity,
|
|
75423
|
+
securitySource: client._options.bearer,
|
|
75424
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75425
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75426
|
+
};
|
|
75427
|
+
const requestRes = client._createRequest(context, {
|
|
75428
|
+
security: requestSecurity,
|
|
75429
|
+
method: "GET",
|
|
75430
|
+
baseURL: options?.serverURL,
|
|
75431
|
+
path,
|
|
75432
|
+
headers,
|
|
75433
|
+
query,
|
|
75434
|
+
body,
|
|
75435
|
+
userAgent: client._options.userAgent,
|
|
75436
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
75437
|
+
}, options);
|
|
75438
|
+
if (!requestRes.ok) {
|
|
75439
|
+
return [requestRes, { status: "invalid" }];
|
|
75440
|
+
}
|
|
75441
|
+
const req = requestRes.value;
|
|
75442
|
+
const doResult = await client._do(req, {
|
|
75443
|
+
context,
|
|
75444
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75445
|
+
retryConfig: context.retryConfig,
|
|
75446
|
+
retryCodes: context.retryCodes
|
|
75447
|
+
});
|
|
75448
|
+
if (!doResult.ok) {
|
|
75449
|
+
return [doResult, { status: "request-error", request: req }];
|
|
75450
|
+
}
|
|
75451
|
+
const response = doResult.value;
|
|
75452
|
+
const responseFields = {
|
|
75453
|
+
HttpMeta: { Response: response, Request: req }
|
|
75454
|
+
};
|
|
75455
|
+
const [result] = await match(json(200, Prefixes$inboundSchema, {
|
|
75456
|
+
ctype: "application/vnd.api+json"
|
|
75457
|
+
}), jsonErr(403, ErrorObject$inboundSchema, {
|
|
75458
|
+
ctype: "application/vnd.api+json"
|
|
75459
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
75460
|
+
if (!result.ok) {
|
|
75461
|
+
return [result, { status: "complete", request: req, response }];
|
|
75462
|
+
}
|
|
75463
|
+
return [result, { status: "complete", request: req, response }];
|
|
75464
|
+
}
|
|
75465
|
+
var init_prefixesGetPrefixes = __esm(() => {
|
|
75466
|
+
init_encodings();
|
|
75467
|
+
init_http();
|
|
75468
|
+
init_matchers();
|
|
75469
|
+
init_primitives();
|
|
75470
|
+
init_schemas4();
|
|
75471
|
+
init_security();
|
|
75472
|
+
init_url();
|
|
75473
|
+
init_errors4();
|
|
75474
|
+
init_models();
|
|
75475
|
+
init_operations();
|
|
75476
|
+
init_async();
|
|
75477
|
+
});
|
|
75478
|
+
|
|
75479
|
+
// src/mcp-server/tools/prefixesGetPrefixes.ts
|
|
75480
|
+
var args63, tool$prefixesGetPrefixes;
|
|
75481
|
+
var init_prefixesGetPrefixes2 = __esm(() => {
|
|
75482
|
+
init_prefixesGetPrefixes();
|
|
75483
|
+
init_operations();
|
|
75484
|
+
init_tools();
|
|
75485
|
+
args63 = {
|
|
75486
|
+
request: GetPrefixesRequest$inboundSchema.optional()
|
|
75487
|
+
};
|
|
75488
|
+
tool$prefixesGetPrefixes = {
|
|
75489
|
+
name: "prefixes-get-prefixes",
|
|
75490
|
+
description: `List networks
|
|
75491
|
+
|
|
75492
|
+
List the customer networks owned by the team`,
|
|
75493
|
+
args: args63,
|
|
75494
|
+
tool: async (client, args64, ctx) => {
|
|
75495
|
+
const [result, apiCall] = await prefixesGetPrefixes(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75496
|
+
if (!result.ok) {
|
|
75497
|
+
return {
|
|
75498
|
+
content: [{ type: "text", text: result.error.message }],
|
|
75499
|
+
isError: true
|
|
75500
|
+
};
|
|
75501
|
+
}
|
|
75502
|
+
const value = result.value;
|
|
75503
|
+
return formatResult(value, apiCall);
|
|
75504
|
+
}
|
|
75505
|
+
};
|
|
75506
|
+
});
|
|
75507
|
+
|
|
75508
|
+
// src/funcs/privateNetworksAssign.ts
|
|
75509
|
+
function privateNetworksAssign(client, request, options) {
|
|
75510
|
+
return new APIPromise($do68(client, request, options));
|
|
75511
|
+
}
|
|
75512
|
+
async function $do68(client, request, options) {
|
|
75513
|
+
const parsed = safeParse4(request, (value) => AssignServerVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75514
|
+
if (!parsed.ok) {
|
|
75515
|
+
return [parsed, { status: "invalid" }];
|
|
75516
|
+
}
|
|
75517
|
+
const payload = parsed.value;
|
|
75518
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
75519
|
+
const path = pathToFunc("/virtual_networks/assignments")();
|
|
75520
|
+
const headers = new Headers(compactMap({
|
|
75521
|
+
"Content-Type": "application/json",
|
|
75522
|
+
Accept: "application/vnd.api+json"
|
|
75523
|
+
}));
|
|
75524
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
75525
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
75526
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75527
|
+
const context = {
|
|
75528
|
+
options: client._options,
|
|
75529
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75530
|
+
operationID: "assign-server-virtual-network",
|
|
75531
|
+
oAuth2Scopes: null,
|
|
75532
|
+
resolvedSecurity: requestSecurity,
|
|
75533
|
+
securitySource: client._options.bearer,
|
|
75534
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75535
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75536
|
+
};
|
|
75537
|
+
const requestRes = client._createRequest(context, {
|
|
75538
|
+
security: requestSecurity,
|
|
75539
|
+
method: "POST",
|
|
75540
|
+
baseURL: options?.serverURL,
|
|
75541
|
+
path,
|
|
75542
|
+
headers,
|
|
75543
|
+
body,
|
|
75544
|
+
userAgent: client._options.userAgent,
|
|
75545
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
75546
|
+
}, options);
|
|
75547
|
+
if (!requestRes.ok) {
|
|
75548
|
+
return [requestRes, { status: "invalid" }];
|
|
75549
|
+
}
|
|
75550
|
+
const req = requestRes.value;
|
|
75551
|
+
const doResult = await client._do(req, {
|
|
75552
|
+
context,
|
|
75553
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75554
|
+
retryConfig: context.retryConfig,
|
|
75555
|
+
retryCodes: context.retryCodes
|
|
75556
|
+
});
|
|
75557
|
+
if (!doResult.ok) {
|
|
75558
|
+
return [doResult, { status: "request-error", request: req }];
|
|
75559
|
+
}
|
|
75560
|
+
const response = doResult.value;
|
|
75561
|
+
const [result] = await match(json(201, VirtualNetworkAssignment$inboundSchema, {
|
|
75562
|
+
ctype: "application/vnd.api+json"
|
|
75563
|
+
}), fail("4XX"), fail("5XX"))(response, req);
|
|
75564
|
+
if (!result.ok) {
|
|
75565
|
+
return [result, { status: "complete", request: req, response }];
|
|
75566
|
+
}
|
|
75567
|
+
return [result, { status: "complete", request: req, response }];
|
|
75568
|
+
}
|
|
75569
|
+
var init_privateNetworksAssign = __esm(() => {
|
|
75570
|
+
init_encodings();
|
|
75571
|
+
init_http();
|
|
75572
|
+
init_matchers();
|
|
75573
|
+
init_primitives();
|
|
75574
|
+
init_schemas4();
|
|
75575
|
+
init_security();
|
|
75576
|
+
init_url();
|
|
75577
|
+
init_models();
|
|
75578
|
+
init_operations();
|
|
75579
|
+
init_async();
|
|
75580
|
+
});
|
|
75581
|
+
|
|
75582
|
+
// src/mcp-server/tools/privateNetworksAssign.ts
|
|
75583
|
+
var args64, tool$privateNetworksAssign;
|
|
75584
|
+
var init_privateNetworksAssign2 = __esm(() => {
|
|
75585
|
+
init_privateNetworksAssign();
|
|
75586
|
+
init_operations();
|
|
75587
|
+
init_tools();
|
|
75588
|
+
args64 = {
|
|
75589
|
+
request: AssignServerVirtualNetworkRequest$inboundSchema
|
|
75590
|
+
};
|
|
75591
|
+
tool$privateNetworksAssign = {
|
|
75592
|
+
name: "private-networks-assign",
|
|
75593
|
+
description: `Assign VLAN`,
|
|
75594
|
+
args: args64,
|
|
75595
|
+
tool: async (client, args65, ctx) => {
|
|
75596
|
+
const [result, apiCall] = await privateNetworksAssign(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75597
|
+
if (!result.ok) {
|
|
75598
|
+
return {
|
|
75599
|
+
content: [{ type: "text", text: result.error.message }],
|
|
75600
|
+
isError: true
|
|
75601
|
+
};
|
|
75602
|
+
}
|
|
75603
|
+
const value = result.value;
|
|
75604
|
+
return formatResult(value, apiCall);
|
|
75605
|
+
}
|
|
75606
|
+
};
|
|
75607
|
+
});
|
|
75608
|
+
|
|
75609
|
+
// src/funcs/privateNetworksCreate.ts
|
|
75610
|
+
function privateNetworksCreate(client, request, options) {
|
|
75611
|
+
return new APIPromise($do69(client, request, options));
|
|
75612
|
+
}
|
|
75613
|
+
async function $do69(client, request, options) {
|
|
75614
|
+
const parsed = safeParse4(request, (value) => CreateVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75615
|
+
if (!parsed.ok) {
|
|
75616
|
+
return [parsed, { status: "invalid" }];
|
|
75617
|
+
}
|
|
75618
|
+
const payload = parsed.value;
|
|
75619
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
75620
|
+
const path = pathToFunc("/virtual_networks")();
|
|
75621
|
+
const headers = new Headers(compactMap({
|
|
75622
|
+
"Content-Type": "application/json",
|
|
75623
|
+
Accept: "application/vnd.api+json"
|
|
75624
|
+
}));
|
|
75625
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
75626
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
75627
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75628
|
+
const context = {
|
|
75629
|
+
options: client._options,
|
|
75630
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75631
|
+
operationID: "create-virtual-network",
|
|
75632
|
+
oAuth2Scopes: null,
|
|
75633
|
+
resolvedSecurity: requestSecurity,
|
|
75634
|
+
securitySource: client._options.bearer,
|
|
75635
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75636
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75637
|
+
};
|
|
75638
|
+
const requestRes = client._createRequest(context, {
|
|
75639
|
+
security: requestSecurity,
|
|
75640
|
+
method: "POST",
|
|
74945
75641
|
baseURL: options?.serverURL,
|
|
74946
75642
|
path,
|
|
74947
75643
|
headers,
|
|
@@ -74985,12 +75681,12 @@ var init_privateNetworksCreate = __esm(() => {
|
|
|
74985
75681
|
});
|
|
74986
75682
|
|
|
74987
75683
|
// src/mcp-server/tools/privateNetworksCreate.ts
|
|
74988
|
-
var
|
|
75684
|
+
var args65, tool$privateNetworksCreate;
|
|
74989
75685
|
var init_privateNetworksCreate2 = __esm(() => {
|
|
74990
75686
|
init_privateNetworksCreate();
|
|
74991
75687
|
init_operations();
|
|
74992
75688
|
init_tools();
|
|
74993
|
-
|
|
75689
|
+
args65 = {
|
|
74994
75690
|
request: CreateVirtualNetworkRequest$inboundSchema
|
|
74995
75691
|
};
|
|
74996
75692
|
tool$privateNetworksCreate = {
|
|
@@ -74999,9 +75695,9 @@ var init_privateNetworksCreate2 = __esm(() => {
|
|
|
74999
75695
|
|
|
75000
75696
|
Creates a new Virtual Network.
|
|
75001
75697
|
`,
|
|
75002
|
-
args:
|
|
75003
|
-
tool: async (client,
|
|
75004
|
-
const [result, apiCall] = await privateNetworksCreate(client,
|
|
75698
|
+
args: args65,
|
|
75699
|
+
tool: async (client, args66, ctx) => {
|
|
75700
|
+
const [result, apiCall] = await privateNetworksCreate(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75005
75701
|
if (!result.ok) {
|
|
75006
75702
|
return {
|
|
75007
75703
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75016,9 +75712,9 @@ Creates a new Virtual Network.
|
|
|
75016
75712
|
|
|
75017
75713
|
// src/funcs/privateNetworksDeleteAssignment.ts
|
|
75018
75714
|
function privateNetworksDeleteAssignment(client, request, options) {
|
|
75019
|
-
return new APIPromise($
|
|
75715
|
+
return new APIPromise($do70(client, request, options));
|
|
75020
75716
|
}
|
|
75021
|
-
async function $
|
|
75717
|
+
async function $do70(client, request, options) {
|
|
75022
75718
|
const parsed = safeParse4(request, (value) => DeleteVirtualNetworksAssignmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75023
75719
|
if (!parsed.ok) {
|
|
75024
75720
|
return [parsed, { status: "invalid" }];
|
|
@@ -75092,12 +75788,12 @@ var init_privateNetworksDeleteAssignment = __esm(() => {
|
|
|
75092
75788
|
});
|
|
75093
75789
|
|
|
75094
75790
|
// src/mcp-server/tools/privateNetworksDeleteAssignment.ts
|
|
75095
|
-
var
|
|
75791
|
+
var args66, tool$privateNetworksDeleteAssignment;
|
|
75096
75792
|
var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
75097
75793
|
init_privateNetworksDeleteAssignment();
|
|
75098
75794
|
init_operations();
|
|
75099
75795
|
init_tools();
|
|
75100
|
-
|
|
75796
|
+
args66 = {
|
|
75101
75797
|
request: DeleteVirtualNetworksAssignmentsRequest$inboundSchema
|
|
75102
75798
|
};
|
|
75103
75799
|
tool$privateNetworksDeleteAssignment = {
|
|
@@ -75106,9 +75802,9 @@ var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
|
75106
75802
|
|
|
75107
75803
|
Allow you to remove a Virtual Network assignment.
|
|
75108
75804
|
`,
|
|
75109
|
-
args:
|
|
75110
|
-
tool: async (client,
|
|
75111
|
-
const [result, apiCall] = await privateNetworksDeleteAssignment(client,
|
|
75805
|
+
args: args66,
|
|
75806
|
+
tool: async (client, args67, ctx) => {
|
|
75807
|
+
const [result, apiCall] = await privateNetworksDeleteAssignment(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75112
75808
|
if (!result.ok) {
|
|
75113
75809
|
return {
|
|
75114
75810
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75122,9 +75818,9 @@ Allow you to remove a Virtual Network assignment.
|
|
|
75122
75818
|
|
|
75123
75819
|
// src/funcs/privateNetworksGet.ts
|
|
75124
75820
|
function privateNetworksGet(client, request, options) {
|
|
75125
|
-
return new APIPromise($
|
|
75821
|
+
return new APIPromise($do71(client, request, options));
|
|
75126
75822
|
}
|
|
75127
|
-
async function $
|
|
75823
|
+
async function $do71(client, request, options) {
|
|
75128
75824
|
const parsed = safeParse4(request, (value) => GetVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75129
75825
|
if (!parsed.ok) {
|
|
75130
75826
|
return [parsed, { status: "invalid" }];
|
|
@@ -75200,12 +75896,12 @@ var init_privateNetworksGet = __esm(() => {
|
|
|
75200
75896
|
});
|
|
75201
75897
|
|
|
75202
75898
|
// src/mcp-server/tools/privateNetworksGet.ts
|
|
75203
|
-
var
|
|
75899
|
+
var args67, tool$privateNetworksGet;
|
|
75204
75900
|
var init_privateNetworksGet2 = __esm(() => {
|
|
75205
75901
|
init_privateNetworksGet();
|
|
75206
75902
|
init_operations();
|
|
75207
75903
|
init_tools();
|
|
75208
|
-
|
|
75904
|
+
args67 = {
|
|
75209
75905
|
request: GetVirtualNetworkRequest$inboundSchema
|
|
75210
75906
|
};
|
|
75211
75907
|
tool$privateNetworksGet = {
|
|
@@ -75214,9 +75910,9 @@ var init_privateNetworksGet2 = __esm(() => {
|
|
|
75214
75910
|
|
|
75215
75911
|
Retrieve a Virtual Network.
|
|
75216
75912
|
`,
|
|
75217
|
-
args:
|
|
75218
|
-
tool: async (client,
|
|
75219
|
-
const [result, apiCall] = await privateNetworksGet(client,
|
|
75913
|
+
args: args67,
|
|
75914
|
+
tool: async (client, args68, ctx) => {
|
|
75915
|
+
const [result, apiCall] = await privateNetworksGet(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75220
75916
|
if (!result.ok) {
|
|
75221
75917
|
return {
|
|
75222
75918
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75231,9 +75927,9 @@ Retrieve a Virtual Network.
|
|
|
75231
75927
|
|
|
75232
75928
|
// src/funcs/privateNetworksList.ts
|
|
75233
75929
|
function privateNetworksList(client, request, options) {
|
|
75234
|
-
return new APIPromise($
|
|
75930
|
+
return new APIPromise($do72(client, request, options));
|
|
75235
75931
|
}
|
|
75236
|
-
async function $
|
|
75932
|
+
async function $do72(client, request, options) {
|
|
75237
75933
|
const parsed = safeParse4(request, (value) => GetVirtualNetworksRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75238
75934
|
if (!parsed.ok) {
|
|
75239
75935
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -75345,12 +76041,12 @@ var init_privateNetworksList = __esm(() => {
|
|
|
75345
76041
|
});
|
|
75346
76042
|
|
|
75347
76043
|
// src/mcp-server/tools/privateNetworksList.ts
|
|
75348
|
-
var
|
|
76044
|
+
var args68, tool$privateNetworksList;
|
|
75349
76045
|
var init_privateNetworksList2 = __esm(() => {
|
|
75350
76046
|
init_privateNetworksList();
|
|
75351
76047
|
init_operations();
|
|
75352
76048
|
init_tools();
|
|
75353
|
-
|
|
76049
|
+
args68 = {
|
|
75354
76050
|
request: GetVirtualNetworksRequest$inboundSchema.optional()
|
|
75355
76051
|
};
|
|
75356
76052
|
tool$privateNetworksList = {
|
|
@@ -75359,9 +76055,9 @@ var init_privateNetworksList2 = __esm(() => {
|
|
|
75359
76055
|
|
|
75360
76056
|
Lists virtual networks assigned to a project
|
|
75361
76057
|
`,
|
|
75362
|
-
args:
|
|
75363
|
-
tool: async (client,
|
|
75364
|
-
const [result, apiCall] = await privateNetworksList(client,
|
|
76058
|
+
args: args68,
|
|
76059
|
+
tool: async (client, args69, ctx) => {
|
|
76060
|
+
const [result, apiCall] = await privateNetworksList(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75365
76061
|
if (!result.ok) {
|
|
75366
76062
|
return {
|
|
75367
76063
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75376,9 +76072,9 @@ Lists virtual networks assigned to a project
|
|
|
75376
76072
|
|
|
75377
76073
|
// src/funcs/privateNetworksListAssignments.ts
|
|
75378
76074
|
function privateNetworksListAssignments(client, request, options) {
|
|
75379
|
-
return new APIPromise($
|
|
76075
|
+
return new APIPromise($do73(client, request, options));
|
|
75380
76076
|
}
|
|
75381
|
-
async function $
|
|
76077
|
+
async function $do73(client, request, options) {
|
|
75382
76078
|
const parsed = safeParse4(request, (value) => GetVirtualNetworksAssignmentsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75383
76079
|
if (!parsed.ok) {
|
|
75384
76080
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -75487,12 +76183,12 @@ var init_privateNetworksListAssignments = __esm(() => {
|
|
|
75487
76183
|
});
|
|
75488
76184
|
|
|
75489
76185
|
// src/mcp-server/tools/privateNetworksListAssignments.ts
|
|
75490
|
-
var
|
|
76186
|
+
var args69, tool$privateNetworksListAssignments;
|
|
75491
76187
|
var init_privateNetworksListAssignments2 = __esm(() => {
|
|
75492
76188
|
init_privateNetworksListAssignments();
|
|
75493
76189
|
init_operations();
|
|
75494
76190
|
init_tools();
|
|
75495
|
-
|
|
76191
|
+
args69 = {
|
|
75496
76192
|
request: GetVirtualNetworksAssignmentsRequest$inboundSchema.optional()
|
|
75497
76193
|
};
|
|
75498
76194
|
tool$privateNetworksListAssignments = {
|
|
@@ -75501,9 +76197,9 @@ var init_privateNetworksListAssignments2 = __esm(() => {
|
|
|
75501
76197
|
|
|
75502
76198
|
Returns a list of all servers assigned to virtual networks.
|
|
75503
76199
|
`,
|
|
75504
|
-
args:
|
|
75505
|
-
tool: async (client,
|
|
75506
|
-
const [result, apiCall] = await privateNetworksListAssignments(client,
|
|
76200
|
+
args: args69,
|
|
76201
|
+
tool: async (client, args70, ctx) => {
|
|
76202
|
+
const [result, apiCall] = await privateNetworksListAssignments(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75507
76203
|
if (!result.ok) {
|
|
75508
76204
|
return {
|
|
75509
76205
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75518,9 +76214,9 @@ Returns a list of all servers assigned to virtual networks.
|
|
|
75518
76214
|
|
|
75519
76215
|
// src/funcs/privateNetworksUpdate.ts
|
|
75520
76216
|
function privateNetworksUpdate(client, request, options) {
|
|
75521
|
-
return new APIPromise($
|
|
76217
|
+
return new APIPromise($do74(client, request, options));
|
|
75522
76218
|
}
|
|
75523
|
-
async function $
|
|
76219
|
+
async function $do74(client, request, options) {
|
|
75524
76220
|
const parsed = safeParse4(request, (value) => UpdateVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75525
76221
|
if (!parsed.ok) {
|
|
75526
76222
|
return [parsed, { status: "invalid" }];
|
|
@@ -75597,12 +76293,12 @@ var init_privateNetworksUpdate = __esm(() => {
|
|
|
75597
76293
|
});
|
|
75598
76294
|
|
|
75599
76295
|
// src/mcp-server/tools/privateNetworksUpdate.ts
|
|
75600
|
-
var
|
|
76296
|
+
var args70, tool$privateNetworksUpdate;
|
|
75601
76297
|
var init_privateNetworksUpdate2 = __esm(() => {
|
|
75602
76298
|
init_privateNetworksUpdate();
|
|
75603
76299
|
init_operations();
|
|
75604
76300
|
init_tools();
|
|
75605
|
-
|
|
76301
|
+
args70 = {
|
|
75606
76302
|
request: UpdateVirtualNetworkRequest$inboundSchema
|
|
75607
76303
|
};
|
|
75608
76304
|
tool$privateNetworksUpdate = {
|
|
@@ -75611,9 +76307,9 @@ var init_privateNetworksUpdate2 = __esm(() => {
|
|
|
75611
76307
|
|
|
75612
76308
|
Update a Virtual Network.
|
|
75613
76309
|
`,
|
|
75614
|
-
args:
|
|
75615
|
-
tool: async (client,
|
|
75616
|
-
const [result, apiCall] = await privateNetworksUpdate(client,
|
|
76310
|
+
args: args70,
|
|
76311
|
+
tool: async (client, args71, ctx) => {
|
|
76312
|
+
const [result, apiCall] = await privateNetworksUpdate(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75617
76313
|
if (!result.ok) {
|
|
75618
76314
|
return {
|
|
75619
76315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75628,9 +76324,9 @@ Update a Virtual Network.
|
|
|
75628
76324
|
|
|
75629
76325
|
// src/funcs/projectsCreate.ts
|
|
75630
76326
|
function projectsCreate(client, request, options) {
|
|
75631
|
-
return new APIPromise($
|
|
76327
|
+
return new APIPromise($do75(client, request, options));
|
|
75632
76328
|
}
|
|
75633
|
-
async function $
|
|
76329
|
+
async function $do75(client, request, options) {
|
|
75634
76330
|
const parsed = safeParse4(request, (value) => CreateProjectRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75635
76331
|
if (!parsed.ok) {
|
|
75636
76332
|
return [parsed, { status: "invalid" }];
|
|
@@ -75700,20 +76396,20 @@ var init_projectsCreate = __esm(() => {
|
|
|
75700
76396
|
});
|
|
75701
76397
|
|
|
75702
76398
|
// src/mcp-server/tools/projectsCreate.ts
|
|
75703
|
-
var
|
|
76399
|
+
var args71, tool$projectsCreate;
|
|
75704
76400
|
var init_projectsCreate2 = __esm(() => {
|
|
75705
76401
|
init_projectsCreate();
|
|
75706
76402
|
init_operations();
|
|
75707
76403
|
init_tools();
|
|
75708
|
-
|
|
76404
|
+
args71 = {
|
|
75709
76405
|
request: CreateProjectRequest$inboundSchema
|
|
75710
76406
|
};
|
|
75711
76407
|
tool$projectsCreate = {
|
|
75712
76408
|
name: "projects-create",
|
|
75713
76409
|
description: `Create project`,
|
|
75714
|
-
args:
|
|
75715
|
-
tool: async (client,
|
|
75716
|
-
const [result, apiCall] = await projectsCreate(client,
|
|
76410
|
+
args: args71,
|
|
76411
|
+
tool: async (client, args72, ctx) => {
|
|
76412
|
+
const [result, apiCall] = await projectsCreate(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75717
76413
|
if (!result.ok) {
|
|
75718
76414
|
return {
|
|
75719
76415
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75728,9 +76424,9 @@ var init_projectsCreate2 = __esm(() => {
|
|
|
75728
76424
|
|
|
75729
76425
|
// src/funcs/projectsDelete.ts
|
|
75730
76426
|
function projectsDelete(client, request, options) {
|
|
75731
|
-
return new APIPromise($
|
|
76427
|
+
return new APIPromise($do76(client, request, options));
|
|
75732
76428
|
}
|
|
75733
|
-
async function $
|
|
76429
|
+
async function $do76(client, request, options) {
|
|
75734
76430
|
const parsed = safeParse4(request, (value) => DeleteProjectRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75735
76431
|
if (!parsed.ok) {
|
|
75736
76432
|
return [parsed, { status: "invalid" }];
|
|
@@ -75804,12 +76500,12 @@ var init_projectsDelete = __esm(() => {
|
|
|
75804
76500
|
});
|
|
75805
76501
|
|
|
75806
76502
|
// src/mcp-server/tools/projectsDelete.ts
|
|
75807
|
-
var
|
|
76503
|
+
var args72, tool$projectsDelete;
|
|
75808
76504
|
var init_projectsDelete2 = __esm(() => {
|
|
75809
76505
|
init_projectsDelete();
|
|
75810
76506
|
init_operations();
|
|
75811
76507
|
init_tools();
|
|
75812
|
-
|
|
76508
|
+
args72 = {
|
|
75813
76509
|
request: DeleteProjectRequest$inboundSchema
|
|
75814
76510
|
};
|
|
75815
76511
|
tool$projectsDelete = {
|
|
@@ -75817,9 +76513,9 @@ var init_projectsDelete2 = __esm(() => {
|
|
|
75817
76513
|
description: `Delete project
|
|
75818
76514
|
|
|
75819
76515
|
Deletes a project and releases associated resources. Any Elastic IPs assigned to the project are automatically released and returned to the available pool.`,
|
|
75820
|
-
args:
|
|
75821
|
-
tool: async (client,
|
|
75822
|
-
const [result, apiCall] = await projectsDelete(client,
|
|
76516
|
+
args: args72,
|
|
76517
|
+
tool: async (client, args73, ctx) => {
|
|
76518
|
+
const [result, apiCall] = await projectsDelete(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75823
76519
|
if (!result.ok) {
|
|
75824
76520
|
return {
|
|
75825
76521
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75833,9 +76529,9 @@ Deletes a project and releases associated resources. Any Elastic IPs assigned to
|
|
|
75833
76529
|
|
|
75834
76530
|
// src/funcs/projectsList.ts
|
|
75835
76531
|
function projectsList(client, request, options) {
|
|
75836
|
-
return new APIPromise($
|
|
76532
|
+
return new APIPromise($do77(client, request, options));
|
|
75837
76533
|
}
|
|
75838
|
-
async function $
|
|
76534
|
+
async function $do77(client, request, options) {
|
|
75839
76535
|
const parsed = safeParse4(request, (value) => GetProjectsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75840
76536
|
if (!parsed.ok) {
|
|
75841
76537
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -75951,12 +76647,12 @@ var init_projectsList = __esm(() => {
|
|
|
75951
76647
|
});
|
|
75952
76648
|
|
|
75953
76649
|
// src/mcp-server/tools/projectsList.ts
|
|
75954
|
-
var
|
|
76650
|
+
var args73, tool$projectsList;
|
|
75955
76651
|
var init_projectsList2 = __esm(() => {
|
|
75956
76652
|
init_projectsList();
|
|
75957
76653
|
init_operations();
|
|
75958
76654
|
init_tools();
|
|
75959
|
-
|
|
76655
|
+
args73 = {
|
|
75960
76656
|
request: GetProjectsRequest$inboundSchema.optional()
|
|
75961
76657
|
};
|
|
75962
76658
|
tool$projectsList = {
|
|
@@ -75965,9 +76661,9 @@ var init_projectsList2 = __esm(() => {
|
|
|
75965
76661
|
|
|
75966
76662
|
Returns a list of all projects for the current team
|
|
75967
76663
|
`,
|
|
75968
|
-
args:
|
|
75969
|
-
tool: async (client,
|
|
75970
|
-
const [result, apiCall] = await projectsList(client,
|
|
76664
|
+
args: args73,
|
|
76665
|
+
tool: async (client, args74, ctx) => {
|
|
76666
|
+
const [result, apiCall] = await projectsList(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75971
76667
|
if (!result.ok) {
|
|
75972
76668
|
return {
|
|
75973
76669
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75982,9 +76678,9 @@ Returns a list of all projects for the current team
|
|
|
75982
76678
|
|
|
75983
76679
|
// src/funcs/projectsSshKeysPostProjectSshKey.ts
|
|
75984
76680
|
function projectsSshKeysPostProjectSshKey(client, request, options) {
|
|
75985
|
-
return new APIPromise($
|
|
76681
|
+
return new APIPromise($do78(client, request, options));
|
|
75986
76682
|
}
|
|
75987
|
-
async function $
|
|
76683
|
+
async function $do78(client, request, options) {
|
|
75988
76684
|
const parsed = safeParse4(request, (value) => PostProjectSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75989
76685
|
if (!parsed.ok) {
|
|
75990
76686
|
return [parsed, { status: "invalid" }];
|
|
@@ -76060,12 +76756,12 @@ var init_projectsSshKeysPostProjectSshKey = __esm(() => {
|
|
|
76060
76756
|
});
|
|
76061
76757
|
|
|
76062
76758
|
// src/mcp-server/tools/projectsSshKeysPostProjectSshKey.ts
|
|
76063
|
-
var
|
|
76759
|
+
var args74, tool$projectsSshKeysPostProjectSshKey;
|
|
76064
76760
|
var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
76065
76761
|
init_projectsSshKeysPostProjectSshKey();
|
|
76066
76762
|
init_operations();
|
|
76067
76763
|
init_tools();
|
|
76068
|
-
|
|
76764
|
+
args74 = {
|
|
76069
76765
|
request: PostProjectSshKeyRequest$inboundSchema
|
|
76070
76766
|
};
|
|
76071
76767
|
tool$projectsSshKeysPostProjectSshKey = {
|
|
@@ -76074,9 +76770,9 @@ var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
|
76074
76770
|
|
|
76075
76771
|
Allow you create SSH Keys in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76076
76772
|
`,
|
|
76077
|
-
args:
|
|
76078
|
-
tool: async (client,
|
|
76079
|
-
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client,
|
|
76773
|
+
args: args74,
|
|
76774
|
+
tool: async (client, args75, ctx) => {
|
|
76775
|
+
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76080
76776
|
if (!result.ok) {
|
|
76081
76777
|
return {
|
|
76082
76778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76091,9 +76787,9 @@ Allow you create SSH Keys in a project. These keys can be used to access servers
|
|
|
76091
76787
|
|
|
76092
76788
|
// src/funcs/projectsUpdate.ts
|
|
76093
76789
|
function projectsUpdate(client, request, options) {
|
|
76094
|
-
return new APIPromise($
|
|
76790
|
+
return new APIPromise($do79(client, request, options));
|
|
76095
76791
|
}
|
|
76096
|
-
async function $
|
|
76792
|
+
async function $do79(client, request, options) {
|
|
76097
76793
|
const parsed = safeParse4(request, (value) => UpdateProjectRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76098
76794
|
if (!parsed.ok) {
|
|
76099
76795
|
return [parsed, { status: "invalid" }];
|
|
@@ -76169,20 +76865,20 @@ var init_projectsUpdate = __esm(() => {
|
|
|
76169
76865
|
});
|
|
76170
76866
|
|
|
76171
76867
|
// src/mcp-server/tools/projectsUpdate.ts
|
|
76172
|
-
var
|
|
76868
|
+
var args75, tool$projectsUpdate;
|
|
76173
76869
|
var init_projectsUpdate2 = __esm(() => {
|
|
76174
76870
|
init_projectsUpdate();
|
|
76175
76871
|
init_operations();
|
|
76176
76872
|
init_tools();
|
|
76177
|
-
|
|
76873
|
+
args75 = {
|
|
76178
76874
|
request: UpdateProjectRequest$inboundSchema
|
|
76179
76875
|
};
|
|
76180
76876
|
tool$projectsUpdate = {
|
|
76181
76877
|
name: "projects-update",
|
|
76182
76878
|
description: `Update project`,
|
|
76183
|
-
args:
|
|
76184
|
-
tool: async (client,
|
|
76185
|
-
const [result, apiCall] = await projectsUpdate(client,
|
|
76879
|
+
args: args75,
|
|
76880
|
+
tool: async (client, args76, ctx) => {
|
|
76881
|
+
const [result, apiCall] = await projectsUpdate(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76186
76882
|
if (!result.ok) {
|
|
76187
76883
|
return {
|
|
76188
76884
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76197,9 +76893,9 @@ var init_projectsUpdate2 = __esm(() => {
|
|
|
76197
76893
|
|
|
76198
76894
|
// src/funcs/regionsFetch.ts
|
|
76199
76895
|
function regionsFetch(client, request, options) {
|
|
76200
|
-
return new APIPromise($
|
|
76896
|
+
return new APIPromise($do80(client, request, options));
|
|
76201
76897
|
}
|
|
76202
|
-
async function $
|
|
76898
|
+
async function $do80(client, request, options) {
|
|
76203
76899
|
const parsed = safeParse4(request, (value) => GetRegionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76204
76900
|
if (!parsed.ok) {
|
|
76205
76901
|
return [parsed, { status: "invalid" }];
|
|
@@ -76275,20 +76971,20 @@ var init_regionsFetch = __esm(() => {
|
|
|
76275
76971
|
});
|
|
76276
76972
|
|
|
76277
76973
|
// src/mcp-server/tools/regionsFetch.ts
|
|
76278
|
-
var
|
|
76974
|
+
var args76, tool$regionsFetch;
|
|
76279
76975
|
var init_regionsFetch2 = __esm(() => {
|
|
76280
76976
|
init_regionsFetch();
|
|
76281
76977
|
init_operations();
|
|
76282
76978
|
init_tools();
|
|
76283
|
-
|
|
76979
|
+
args76 = {
|
|
76284
76980
|
request: GetRegionRequest$inboundSchema
|
|
76285
76981
|
};
|
|
76286
76982
|
tool$regionsFetch = {
|
|
76287
76983
|
name: "regions-fetch",
|
|
76288
76984
|
description: `Retrieve region`,
|
|
76289
|
-
args:
|
|
76290
|
-
tool: async (client,
|
|
76291
|
-
const [result, apiCall] = await regionsFetch(client,
|
|
76985
|
+
args: args76,
|
|
76986
|
+
tool: async (client, args77, ctx) => {
|
|
76987
|
+
const [result, apiCall] = await regionsFetch(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76292
76988
|
if (!result.ok) {
|
|
76293
76989
|
return {
|
|
76294
76990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76303,9 +76999,9 @@ var init_regionsFetch2 = __esm(() => {
|
|
|
76303
76999
|
|
|
76304
77000
|
// src/funcs/regionsGet.ts
|
|
76305
77001
|
function regionsGet(client, request, options) {
|
|
76306
|
-
return new APIPromise($
|
|
77002
|
+
return new APIPromise($do81(client, request, options));
|
|
76307
77003
|
}
|
|
76308
|
-
async function $
|
|
77004
|
+
async function $do81(client, request, options) {
|
|
76309
77005
|
const parsed = safeParse4(request, (value) => GetRegionsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
76310
77006
|
if (!parsed.ok) {
|
|
76311
77007
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -76414,12 +77110,12 @@ var init_regionsGet = __esm(() => {
|
|
|
76414
77110
|
});
|
|
76415
77111
|
|
|
76416
77112
|
// src/mcp-server/tools/regionsGet.ts
|
|
76417
|
-
var
|
|
77113
|
+
var args77, tool$regionsGet;
|
|
76418
77114
|
var init_regionsGet2 = __esm(() => {
|
|
76419
77115
|
init_regionsGet();
|
|
76420
77116
|
init_operations();
|
|
76421
77117
|
init_tools();
|
|
76422
|
-
|
|
77118
|
+
args77 = {
|
|
76423
77119
|
request: GetRegionsRequest$inboundSchema.optional()
|
|
76424
77120
|
};
|
|
76425
77121
|
tool$regionsGet = {
|
|
@@ -76429,9 +77125,9 @@ var init_regionsGet2 = __esm(() => {
|
|
|
76429
77125
|
Lists all [available locations](https://latitude.sh/locations). For server availability by location, please see the [Plans API](/reference/get-plans).
|
|
76430
77126
|
|
|
76431
77127
|
`,
|
|
76432
|
-
args:
|
|
76433
|
-
tool: async (client,
|
|
76434
|
-
const [result, apiCall] = await regionsGet(client,
|
|
77128
|
+
args: args77,
|
|
77129
|
+
tool: async (client, args78, ctx) => {
|
|
77130
|
+
const [result, apiCall] = await regionsGet(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76435
77131
|
if (!result.ok) {
|
|
76436
77132
|
return {
|
|
76437
77133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76446,9 +77142,9 @@ Lists all [available locations](https://latitude.sh/locations). For server avail
|
|
|
76446
77142
|
|
|
76447
77143
|
// src/funcs/rolesGet.ts
|
|
76448
77144
|
function rolesGet(client, request, options) {
|
|
76449
|
-
return new APIPromise($
|
|
77145
|
+
return new APIPromise($do82(client, request, options));
|
|
76450
77146
|
}
|
|
76451
|
-
async function $
|
|
77147
|
+
async function $do82(client, request, options) {
|
|
76452
77148
|
const parsed = safeParse4(request, (value) => GetRoleIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76453
77149
|
if (!parsed.ok) {
|
|
76454
77150
|
return [parsed, { status: "invalid" }];
|
|
@@ -76524,20 +77220,20 @@ var init_rolesGet = __esm(() => {
|
|
|
76524
77220
|
});
|
|
76525
77221
|
|
|
76526
77222
|
// src/mcp-server/tools/rolesGet.ts
|
|
76527
|
-
var
|
|
77223
|
+
var args78, tool$rolesGet;
|
|
76528
77224
|
var init_rolesGet2 = __esm(() => {
|
|
76529
77225
|
init_rolesGet();
|
|
76530
77226
|
init_operations();
|
|
76531
77227
|
init_tools();
|
|
76532
|
-
|
|
77228
|
+
args78 = {
|
|
76533
77229
|
request: GetRoleIdRequest$inboundSchema
|
|
76534
77230
|
};
|
|
76535
77231
|
tool$rolesGet = {
|
|
76536
77232
|
name: "roles-get",
|
|
76537
77233
|
description: `Retrieve role`,
|
|
76538
|
-
args:
|
|
76539
|
-
tool: async (client,
|
|
76540
|
-
const [result, apiCall] = await rolesGet(client,
|
|
77234
|
+
args: args78,
|
|
77235
|
+
tool: async (client, args79, ctx) => {
|
|
77236
|
+
const [result, apiCall] = await rolesGet(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76541
77237
|
if (!result.ok) {
|
|
76542
77238
|
return {
|
|
76543
77239
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76552,9 +77248,9 @@ var init_rolesGet2 = __esm(() => {
|
|
|
76552
77248
|
|
|
76553
77249
|
// src/funcs/rolesList.ts
|
|
76554
77250
|
function rolesList(client, request, options) {
|
|
76555
|
-
return new APIPromise($
|
|
77251
|
+
return new APIPromise($do83(client, request, options));
|
|
76556
77252
|
}
|
|
76557
|
-
async function $
|
|
77253
|
+
async function $do83(client, request, options) {
|
|
76558
77254
|
const parsed = safeParse4(request, (value) => GetRolesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
76559
77255
|
if (!parsed.ok) {
|
|
76560
77256
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -76663,12 +77359,12 @@ var init_rolesList = __esm(() => {
|
|
|
76663
77359
|
});
|
|
76664
77360
|
|
|
76665
77361
|
// src/mcp-server/tools/rolesList.ts
|
|
76666
|
-
var
|
|
77362
|
+
var args79, tool$rolesList;
|
|
76667
77363
|
var init_rolesList2 = __esm(() => {
|
|
76668
77364
|
init_rolesList();
|
|
76669
77365
|
init_operations();
|
|
76670
77366
|
init_tools();
|
|
76671
|
-
|
|
77367
|
+
args79 = {
|
|
76672
77368
|
request: GetRolesRequest$inboundSchema.optional()
|
|
76673
77369
|
};
|
|
76674
77370
|
tool$rolesList = {
|
|
@@ -76677,9 +77373,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
76677
77373
|
|
|
76678
77374
|
Returns a list of all roles that can be assigned to users
|
|
76679
77375
|
`,
|
|
76680
|
-
args:
|
|
76681
|
-
tool: async (client,
|
|
76682
|
-
const [result, apiCall] = await rolesList(client,
|
|
77376
|
+
args: args79,
|
|
77377
|
+
tool: async (client, args80, ctx) => {
|
|
77378
|
+
const [result, apiCall] = await rolesList(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76683
77379
|
if (!result.ok) {
|
|
76684
77380
|
return {
|
|
76685
77381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76694,9 +77390,9 @@ Returns a list of all roles that can be assigned to users
|
|
|
76694
77390
|
|
|
76695
77391
|
// src/funcs/serversCreate.ts
|
|
76696
77392
|
function serversCreate(client, request, options) {
|
|
76697
|
-
return new APIPromise($
|
|
77393
|
+
return new APIPromise($do84(client, request, options));
|
|
76698
77394
|
}
|
|
76699
|
-
async function $
|
|
77395
|
+
async function $do84(client, request, options) {
|
|
76700
77396
|
const parsed = safeParse4(request, (value) => CreateServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76701
77397
|
if (!parsed.ok) {
|
|
76702
77398
|
return [parsed, { status: "invalid" }];
|
|
@@ -76767,20 +77463,20 @@ var init_serversCreate = __esm(() => {
|
|
|
76767
77463
|
});
|
|
76768
77464
|
|
|
76769
77465
|
// src/mcp-server/tools/serversCreate.ts
|
|
76770
|
-
var
|
|
77466
|
+
var args80, tool$serversCreate;
|
|
76771
77467
|
var init_serversCreate2 = __esm(() => {
|
|
76772
77468
|
init_serversCreate();
|
|
76773
77469
|
init_operations();
|
|
76774
77470
|
init_tools();
|
|
76775
|
-
|
|
77471
|
+
args80 = {
|
|
76776
77472
|
request: CreateServerRequest$inboundSchema
|
|
76777
77473
|
};
|
|
76778
77474
|
tool$serversCreate = {
|
|
76779
77475
|
name: "servers-create",
|
|
76780
77476
|
description: `Create server`,
|
|
76781
|
-
args:
|
|
76782
|
-
tool: async (client,
|
|
76783
|
-
const [result, apiCall] = await serversCreate(client,
|
|
77477
|
+
args: args80,
|
|
77478
|
+
tool: async (client, args81, ctx) => {
|
|
77479
|
+
const [result, apiCall] = await serversCreate(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76784
77480
|
if (!result.ok) {
|
|
76785
77481
|
return {
|
|
76786
77482
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76795,9 +77491,9 @@ var init_serversCreate2 = __esm(() => {
|
|
|
76795
77491
|
|
|
76796
77492
|
// src/funcs/serversCreateIpmiSession.ts
|
|
76797
77493
|
function serversCreateIpmiSession(client, request, options) {
|
|
76798
|
-
return new APIPromise($
|
|
77494
|
+
return new APIPromise($do85(client, request, options));
|
|
76799
77495
|
}
|
|
76800
|
-
async function $
|
|
77496
|
+
async function $do85(client, request, options) {
|
|
76801
77497
|
const parsed = safeParse4(request, (value) => CreateIpmiSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76802
77498
|
if (!parsed.ok) {
|
|
76803
77499
|
return [parsed, { status: "invalid" }];
|
|
@@ -76873,12 +77569,12 @@ var init_serversCreateIpmiSession = __esm(() => {
|
|
|
76873
77569
|
});
|
|
76874
77570
|
|
|
76875
77571
|
// src/mcp-server/tools/serversCreateIpmiSession.ts
|
|
76876
|
-
var
|
|
77572
|
+
var args81, tool$serversCreateIpmiSession;
|
|
76877
77573
|
var init_serversCreateIpmiSession2 = __esm(() => {
|
|
76878
77574
|
init_serversCreateIpmiSession();
|
|
76879
77575
|
init_operations();
|
|
76880
77576
|
init_tools();
|
|
76881
|
-
|
|
77577
|
+
args81 = {
|
|
76882
77578
|
request: CreateIpmiSessionRequest$inboundSchema
|
|
76883
77579
|
};
|
|
76884
77580
|
tool$serversCreateIpmiSession = {
|
|
@@ -76890,9 +77586,9 @@ You will have to use a VPN client such as https://openvpn.net to connect. See \`
|
|
|
76890
77586
|
|
|
76891
77587
|
Related guide: https://docs.latitude.sh/docs/ipmi
|
|
76892
77588
|
`,
|
|
76893
|
-
args:
|
|
76894
|
-
tool: async (client,
|
|
76895
|
-
const [result, apiCall] = await serversCreateIpmiSession(client,
|
|
77589
|
+
args: args81,
|
|
77590
|
+
tool: async (client, args82, ctx) => {
|
|
77591
|
+
const [result, apiCall] = await serversCreateIpmiSession(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76896
77592
|
if (!result.ok) {
|
|
76897
77593
|
return {
|
|
76898
77594
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76907,9 +77603,9 @@ Related guide: https://docs.latitude.sh/docs/ipmi
|
|
|
76907
77603
|
|
|
76908
77604
|
// src/funcs/serversDelete.ts
|
|
76909
77605
|
function serversDelete(client, request, options) {
|
|
76910
|
-
return new APIPromise($
|
|
77606
|
+
return new APIPromise($do86(client, request, options));
|
|
76911
77607
|
}
|
|
76912
|
-
async function $
|
|
77608
|
+
async function $do86(client, request, options) {
|
|
76913
77609
|
const parsed = safeParse4(request, (value) => DestroyServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76914
77610
|
if (!parsed.ok) {
|
|
76915
77611
|
return [parsed, { status: "invalid" }];
|
|
@@ -76987,20 +77683,20 @@ var init_serversDelete = __esm(() => {
|
|
|
76987
77683
|
});
|
|
76988
77684
|
|
|
76989
77685
|
// src/mcp-server/tools/serversDelete.ts
|
|
76990
|
-
var
|
|
77686
|
+
var args82, tool$serversDelete;
|
|
76991
77687
|
var init_serversDelete2 = __esm(() => {
|
|
76992
77688
|
init_serversDelete();
|
|
76993
77689
|
init_operations();
|
|
76994
77690
|
init_tools();
|
|
76995
|
-
|
|
77691
|
+
args82 = {
|
|
76996
77692
|
request: DestroyServerRequest$inboundSchema
|
|
76997
77693
|
};
|
|
76998
77694
|
tool$serversDelete = {
|
|
76999
77695
|
name: "servers-delete",
|
|
77000
77696
|
description: `Remove server`,
|
|
77001
|
-
args:
|
|
77002
|
-
tool: async (client,
|
|
77003
|
-
const [result, apiCall] = await serversDelete(client,
|
|
77697
|
+
args: args82,
|
|
77698
|
+
tool: async (client, args83, ctx) => {
|
|
77699
|
+
const [result, apiCall] = await serversDelete(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77004
77700
|
if (!result.ok) {
|
|
77005
77701
|
return {
|
|
77006
77702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77014,9 +77710,9 @@ var init_serversDelete2 = __esm(() => {
|
|
|
77014
77710
|
|
|
77015
77711
|
// src/funcs/serversExitRescueMode.ts
|
|
77016
77712
|
function serversExitRescueMode(client, request, options) {
|
|
77017
|
-
return new APIPromise($
|
|
77713
|
+
return new APIPromise($do87(client, request, options));
|
|
77018
77714
|
}
|
|
77019
|
-
async function $
|
|
77715
|
+
async function $do87(client, request, options) {
|
|
77020
77716
|
const parsed = safeParse4(request, (value) => ServerExitRescueModeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77021
77717
|
if (!parsed.ok) {
|
|
77022
77718
|
return [parsed, { status: "invalid" }];
|
|
@@ -77092,12 +77788,12 @@ var init_serversExitRescueMode = __esm(() => {
|
|
|
77092
77788
|
});
|
|
77093
77789
|
|
|
77094
77790
|
// src/mcp-server/tools/serversExitRescueMode.ts
|
|
77095
|
-
var
|
|
77791
|
+
var args83, tool$serversExitRescueMode;
|
|
77096
77792
|
var init_serversExitRescueMode2 = __esm(() => {
|
|
77097
77793
|
init_serversExitRescueMode();
|
|
77098
77794
|
init_operations();
|
|
77099
77795
|
init_tools();
|
|
77100
|
-
|
|
77796
|
+
args83 = {
|
|
77101
77797
|
request: ServerExitRescueModeRequest$inboundSchema
|
|
77102
77798
|
};
|
|
77103
77799
|
tool$serversExitRescueMode = {
|
|
@@ -77105,9 +77801,9 @@ var init_serversExitRescueMode2 = __esm(() => {
|
|
|
77105
77801
|
description: `Exits rescue mode
|
|
77106
77802
|
|
|
77107
77803
|
Exits rescue mode on a given server.`,
|
|
77108
|
-
args:
|
|
77109
|
-
tool: async (client,
|
|
77110
|
-
const [result, apiCall] = await serversExitRescueMode(client,
|
|
77804
|
+
args: args83,
|
|
77805
|
+
tool: async (client, args84, ctx) => {
|
|
77806
|
+
const [result, apiCall] = await serversExitRescueMode(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77111
77807
|
if (!result.ok) {
|
|
77112
77808
|
return {
|
|
77113
77809
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77122,9 +77818,9 @@ Exits rescue mode on a given server.`,
|
|
|
77122
77818
|
|
|
77123
77819
|
// src/funcs/serversGet.ts
|
|
77124
77820
|
function serversGet(client, request, options) {
|
|
77125
|
-
return new APIPromise($
|
|
77821
|
+
return new APIPromise($do88(client, request, options));
|
|
77126
77822
|
}
|
|
77127
|
-
async function $
|
|
77823
|
+
async function $do88(client, request, options) {
|
|
77128
77824
|
const parsed = safeParse4(request, (value) => GetServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77129
77825
|
if (!parsed.ok) {
|
|
77130
77826
|
return [parsed, { status: "invalid" }];
|
|
@@ -77204,12 +77900,12 @@ var init_serversGet = __esm(() => {
|
|
|
77204
77900
|
});
|
|
77205
77901
|
|
|
77206
77902
|
// src/mcp-server/tools/serversGet.ts
|
|
77207
|
-
var
|
|
77903
|
+
var args84, tool$serversGet;
|
|
77208
77904
|
var init_serversGet2 = __esm(() => {
|
|
77209
77905
|
init_serversGet();
|
|
77210
77906
|
init_operations();
|
|
77211
77907
|
init_tools();
|
|
77212
|
-
|
|
77908
|
+
args84 = {
|
|
77213
77909
|
request: GetServerRequest$inboundSchema
|
|
77214
77910
|
};
|
|
77215
77911
|
tool$serversGet = {
|
|
@@ -77218,9 +77914,9 @@ var init_serversGet2 = __esm(() => {
|
|
|
77218
77914
|
|
|
77219
77915
|
Returns a server that belongs to the team.
|
|
77220
77916
|
`,
|
|
77221
|
-
args:
|
|
77222
|
-
tool: async (client,
|
|
77223
|
-
const [result, apiCall] = await serversGet(client,
|
|
77917
|
+
args: args84,
|
|
77918
|
+
tool: async (client, args85, ctx) => {
|
|
77919
|
+
const [result, apiCall] = await serversGet(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77224
77920
|
if (!result.ok) {
|
|
77225
77921
|
return {
|
|
77226
77922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77235,9 +77931,9 @@ Returns a server that belongs to the team.
|
|
|
77235
77931
|
|
|
77236
77932
|
// src/funcs/serversGetDeployConfig.ts
|
|
77237
77933
|
function serversGetDeployConfig(client, request, options) {
|
|
77238
|
-
return new APIPromise($
|
|
77934
|
+
return new APIPromise($do89(client, request, options));
|
|
77239
77935
|
}
|
|
77240
|
-
async function $
|
|
77936
|
+
async function $do89(client, request, options) {
|
|
77241
77937
|
const parsed = safeParse4(request, (value) => GetServerDeployConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77242
77938
|
if (!parsed.ok) {
|
|
77243
77939
|
return [parsed, { status: "invalid" }];
|
|
@@ -77313,20 +78009,20 @@ var init_serversGetDeployConfig = __esm(() => {
|
|
|
77313
78009
|
});
|
|
77314
78010
|
|
|
77315
78011
|
// src/mcp-server/tools/serversGetDeployConfig.ts
|
|
77316
|
-
var
|
|
78012
|
+
var args85, tool$serversGetDeployConfig;
|
|
77317
78013
|
var init_serversGetDeployConfig2 = __esm(() => {
|
|
77318
78014
|
init_serversGetDeployConfig();
|
|
77319
78015
|
init_operations();
|
|
77320
78016
|
init_tools();
|
|
77321
|
-
|
|
78017
|
+
args85 = {
|
|
77322
78018
|
request: GetServerDeployConfigRequest$inboundSchema
|
|
77323
78019
|
};
|
|
77324
78020
|
tool$serversGetDeployConfig = {
|
|
77325
78021
|
name: "servers-get-deploy-config",
|
|
77326
78022
|
description: `Retrieve deploy config`,
|
|
77327
|
-
args:
|
|
77328
|
-
tool: async (client,
|
|
77329
|
-
const [result, apiCall] = await serversGetDeployConfig(client,
|
|
78023
|
+
args: args85,
|
|
78024
|
+
tool: async (client, args86, ctx) => {
|
|
78025
|
+
const [result, apiCall] = await serversGetDeployConfig(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77330
78026
|
if (!result.ok) {
|
|
77331
78027
|
return {
|
|
77332
78028
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77341,9 +78037,9 @@ var init_serversGetDeployConfig2 = __esm(() => {
|
|
|
77341
78037
|
|
|
77342
78038
|
// src/funcs/serversGetOutOfBand.ts
|
|
77343
78039
|
function serversGetOutOfBand(client, request, options) {
|
|
77344
|
-
return new APIPromise($
|
|
78040
|
+
return new APIPromise($do90(client, request, options));
|
|
77345
78041
|
}
|
|
77346
|
-
async function $
|
|
78042
|
+
async function $do90(client, request, options) {
|
|
77347
78043
|
const parsed = safeParse4(request, (value) => GetServerOutOfBandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77348
78044
|
if (!parsed.ok) {
|
|
77349
78045
|
return [parsed, { status: "invalid" }];
|
|
@@ -77419,20 +78115,20 @@ var init_serversGetOutOfBand = __esm(() => {
|
|
|
77419
78115
|
});
|
|
77420
78116
|
|
|
77421
78117
|
// src/mcp-server/tools/serversGetOutOfBand.ts
|
|
77422
|
-
var
|
|
78118
|
+
var args86, tool$serversGetOutOfBand;
|
|
77423
78119
|
var init_serversGetOutOfBand2 = __esm(() => {
|
|
77424
78120
|
init_serversGetOutOfBand();
|
|
77425
78121
|
init_operations();
|
|
77426
78122
|
init_tools();
|
|
77427
|
-
|
|
78123
|
+
args86 = {
|
|
77428
78124
|
request: GetServerOutOfBandRequest$inboundSchema
|
|
77429
78125
|
};
|
|
77430
78126
|
tool$serversGetOutOfBand = {
|
|
77431
78127
|
name: "servers-get-out-of-band",
|
|
77432
78128
|
description: `List out-of-band connections`,
|
|
77433
|
-
args:
|
|
77434
|
-
tool: async (client,
|
|
77435
|
-
const [result, apiCall] = await serversGetOutOfBand(client,
|
|
78129
|
+
args: args86,
|
|
78130
|
+
tool: async (client, args87, ctx) => {
|
|
78131
|
+
const [result, apiCall] = await serversGetOutOfBand(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77436
78132
|
if (!result.ok) {
|
|
77437
78133
|
return {
|
|
77438
78134
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77447,9 +78143,9 @@ var init_serversGetOutOfBand2 = __esm(() => {
|
|
|
77447
78143
|
|
|
77448
78144
|
// src/funcs/serversList.ts
|
|
77449
78145
|
function serversList(client, request, options) {
|
|
77450
|
-
return new APIPromise($
|
|
78146
|
+
return new APIPromise($do91(client, request, options));
|
|
77451
78147
|
}
|
|
77452
|
-
async function $
|
|
78148
|
+
async function $do91(client, request, options) {
|
|
77453
78149
|
const parsed = safeParse4(request, (value) => GetServersRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
77454
78150
|
if (!parsed.ok) {
|
|
77455
78151
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -77575,12 +78271,12 @@ var init_serversList = __esm(() => {
|
|
|
77575
78271
|
});
|
|
77576
78272
|
|
|
77577
78273
|
// src/mcp-server/tools/serversList.ts
|
|
77578
|
-
var
|
|
78274
|
+
var args87, tool$serversList;
|
|
77579
78275
|
var init_serversList2 = __esm(() => {
|
|
77580
78276
|
init_serversList();
|
|
77581
78277
|
init_operations();
|
|
77582
78278
|
init_tools();
|
|
77583
|
-
|
|
78279
|
+
args87 = {
|
|
77584
78280
|
request: GetServersRequest$inboundSchema.optional()
|
|
77585
78281
|
};
|
|
77586
78282
|
tool$serversList = {
|
|
@@ -77589,9 +78285,9 @@ var init_serversList2 = __esm(() => {
|
|
|
77589
78285
|
|
|
77590
78286
|
Returns a list of all servers belonging to the team.
|
|
77591
78287
|
`,
|
|
77592
|
-
args:
|
|
77593
|
-
tool: async (client,
|
|
77594
|
-
const [result, apiCall] = await serversList(client,
|
|
78288
|
+
args: args87,
|
|
78289
|
+
tool: async (client, args88, ctx) => {
|
|
78290
|
+
const [result, apiCall] = await serversList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77595
78291
|
if (!result.ok) {
|
|
77596
78292
|
return {
|
|
77597
78293
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77606,9 +78302,9 @@ Returns a list of all servers belonging to the team.
|
|
|
77606
78302
|
|
|
77607
78303
|
// src/funcs/serversLock.ts
|
|
77608
78304
|
function serversLock(client, request, options) {
|
|
77609
|
-
return new APIPromise($
|
|
78305
|
+
return new APIPromise($do92(client, request, options));
|
|
77610
78306
|
}
|
|
77611
|
-
async function $
|
|
78307
|
+
async function $do92(client, request, options) {
|
|
77612
78308
|
const parsed = safeParse4(request, (value) => ServerLockRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77613
78309
|
if (!parsed.ok) {
|
|
77614
78310
|
return [parsed, { status: "invalid" }];
|
|
@@ -77684,12 +78380,12 @@ var init_serversLock = __esm(() => {
|
|
|
77684
78380
|
});
|
|
77685
78381
|
|
|
77686
78382
|
// src/mcp-server/tools/serversLock.ts
|
|
77687
|
-
var
|
|
78383
|
+
var args88, tool$serversLock;
|
|
77688
78384
|
var init_serversLock2 = __esm(() => {
|
|
77689
78385
|
init_serversLock();
|
|
77690
78386
|
init_operations();
|
|
77691
78387
|
init_tools();
|
|
77692
|
-
|
|
78388
|
+
args88 = {
|
|
77693
78389
|
request: ServerLockRequest$inboundSchema
|
|
77694
78390
|
};
|
|
77695
78391
|
tool$serversLock = {
|
|
@@ -77697,9 +78393,9 @@ var init_serversLock2 = __esm(() => {
|
|
|
77697
78393
|
description: `Lock server
|
|
77698
78394
|
|
|
77699
78395
|
Locks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
77700
|
-
args:
|
|
77701
|
-
tool: async (client,
|
|
77702
|
-
const [result, apiCall] = await serversLock(client,
|
|
78396
|
+
args: args88,
|
|
78397
|
+
tool: async (client, args89, ctx) => {
|
|
78398
|
+
const [result, apiCall] = await serversLock(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77703
78399
|
if (!result.ok) {
|
|
77704
78400
|
return {
|
|
77705
78401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77714,9 +78410,9 @@ Locks the server. A locked server cannot be deleted or modified and no actions c
|
|
|
77714
78410
|
|
|
77715
78411
|
// src/funcs/serversReinstall.ts
|
|
77716
78412
|
function serversReinstall(client, request, options) {
|
|
77717
|
-
return new APIPromise($
|
|
78413
|
+
return new APIPromise($do93(client, request, options));
|
|
77718
78414
|
}
|
|
77719
|
-
async function $
|
|
78415
|
+
async function $do93(client, request, options) {
|
|
77720
78416
|
const parsed = safeParse4(request, (value) => CreateServerReinstallRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77721
78417
|
if (!parsed.ok) {
|
|
77722
78418
|
return [parsed, { status: "invalid" }];
|
|
@@ -77774,7 +78470,7 @@ async function $do89(client, request, options) {
|
|
|
77774
78470
|
const responseFields = {
|
|
77775
78471
|
HttpMeta: { Response: response, Request: req }
|
|
77776
78472
|
};
|
|
77777
|
-
const [result] = await match(nil(201, voidType()), jsonErr([404, 422], ErrorObject$inboundSchema, {
|
|
78473
|
+
const [result] = await match(nil(201, voidType()), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
77778
78474
|
ctype: "application/vnd.api+json"
|
|
77779
78475
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
77780
78476
|
if (!result.ok) {
|
|
@@ -77797,20 +78493,20 @@ var init_serversReinstall = __esm(() => {
|
|
|
77797
78493
|
});
|
|
77798
78494
|
|
|
77799
78495
|
// src/mcp-server/tools/serversReinstall.ts
|
|
77800
|
-
var
|
|
78496
|
+
var args89, tool$serversReinstall;
|
|
77801
78497
|
var init_serversReinstall2 = __esm(() => {
|
|
77802
78498
|
init_serversReinstall();
|
|
77803
78499
|
init_operations();
|
|
77804
78500
|
init_tools();
|
|
77805
|
-
|
|
78501
|
+
args89 = {
|
|
77806
78502
|
request: CreateServerReinstallRequest$inboundSchema
|
|
77807
78503
|
};
|
|
77808
78504
|
tool$serversReinstall = {
|
|
77809
78505
|
name: "servers-reinstall",
|
|
77810
78506
|
description: `Run Server Reinstall`,
|
|
77811
|
-
args:
|
|
77812
|
-
tool: async (client,
|
|
77813
|
-
const [result, apiCall] = await serversReinstall(client,
|
|
78507
|
+
args: args89,
|
|
78508
|
+
tool: async (client, args90, ctx) => {
|
|
78509
|
+
const [result, apiCall] = await serversReinstall(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77814
78510
|
if (!result.ok) {
|
|
77815
78511
|
return {
|
|
77816
78512
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77824,9 +78520,9 @@ var init_serversReinstall2 = __esm(() => {
|
|
|
77824
78520
|
|
|
77825
78521
|
// src/funcs/serversRunAction.ts
|
|
77826
78522
|
function serversRunAction(client, request, options) {
|
|
77827
|
-
return new APIPromise($
|
|
78523
|
+
return new APIPromise($do94(client, request, options));
|
|
77828
78524
|
}
|
|
77829
|
-
async function $
|
|
78525
|
+
async function $do94(client, request, options) {
|
|
77830
78526
|
const parsed = safeParse4(request, (value) => CreateServerActionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77831
78527
|
if (!parsed.ok) {
|
|
77832
78528
|
return [parsed, { status: "invalid" }];
|
|
@@ -77903,12 +78599,12 @@ var init_serversRunAction = __esm(() => {
|
|
|
77903
78599
|
});
|
|
77904
78600
|
|
|
77905
78601
|
// src/mcp-server/tools/serversRunAction.ts
|
|
77906
|
-
var
|
|
78602
|
+
var args90, tool$serversRunAction;
|
|
77907
78603
|
var init_serversRunAction2 = __esm(() => {
|
|
77908
78604
|
init_serversRunAction();
|
|
77909
78605
|
init_operations();
|
|
77910
78606
|
init_tools();
|
|
77911
|
-
|
|
78607
|
+
args90 = {
|
|
77912
78608
|
request: CreateServerActionRequest$inboundSchema
|
|
77913
78609
|
};
|
|
77914
78610
|
tool$serversRunAction = {
|
|
@@ -77920,9 +78616,9 @@ Performs an action on a given server:
|
|
|
77920
78616
|
- \`power_off\`
|
|
77921
78617
|
- \`reboot\`
|
|
77922
78618
|
`,
|
|
77923
|
-
args:
|
|
77924
|
-
tool: async (client,
|
|
77925
|
-
const [result, apiCall] = await serversRunAction(client,
|
|
78619
|
+
args: args90,
|
|
78620
|
+
tool: async (client, args91, ctx) => {
|
|
78621
|
+
const [result, apiCall] = await serversRunAction(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77926
78622
|
if (!result.ok) {
|
|
77927
78623
|
return {
|
|
77928
78624
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77937,9 +78633,9 @@ Performs an action on a given server:
|
|
|
77937
78633
|
|
|
77938
78634
|
// src/funcs/serversScheduleDeletion.ts
|
|
77939
78635
|
function serversScheduleDeletion(client, request, options) {
|
|
77940
|
-
return new APIPromise($
|
|
78636
|
+
return new APIPromise($do95(client, request, options));
|
|
77941
78637
|
}
|
|
77942
|
-
async function $
|
|
78638
|
+
async function $do95(client, request, options) {
|
|
77943
78639
|
const parsed = safeParse4(request, (value) => ServerScheduleDeletionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77944
78640
|
if (!parsed.ok) {
|
|
77945
78641
|
return [parsed, { status: "invalid" }];
|
|
@@ -78015,12 +78711,12 @@ var init_serversScheduleDeletion = __esm(() => {
|
|
|
78015
78711
|
});
|
|
78016
78712
|
|
|
78017
78713
|
// src/mcp-server/tools/serversScheduleDeletion.ts
|
|
78018
|
-
var
|
|
78714
|
+
var args91, tool$serversScheduleDeletion;
|
|
78019
78715
|
var init_serversScheduleDeletion2 = __esm(() => {
|
|
78020
78716
|
init_serversScheduleDeletion();
|
|
78021
78717
|
init_operations();
|
|
78022
78718
|
init_tools();
|
|
78023
|
-
|
|
78719
|
+
args91 = {
|
|
78024
78720
|
request: ServerScheduleDeletionRequest$inboundSchema
|
|
78025
78721
|
};
|
|
78026
78722
|
tool$serversScheduleDeletion = {
|
|
@@ -78028,9 +78724,9 @@ var init_serversScheduleDeletion2 = __esm(() => {
|
|
|
78028
78724
|
description: `Schedule server deletion
|
|
78029
78725
|
|
|
78030
78726
|
Schedules the server to be removed at the end of the billing cycle.`,
|
|
78031
|
-
args:
|
|
78032
|
-
tool: async (client,
|
|
78033
|
-
const [result, apiCall] = await serversScheduleDeletion(client,
|
|
78727
|
+
args: args91,
|
|
78728
|
+
tool: async (client, args92, ctx) => {
|
|
78729
|
+
const [result, apiCall] = await serversScheduleDeletion(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78034
78730
|
if (!result.ok) {
|
|
78035
78731
|
return {
|
|
78036
78732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78045,9 +78741,9 @@ Schedules the server to be removed at the end of the billing cycle.`,
|
|
|
78045
78741
|
|
|
78046
78742
|
// src/funcs/serversStartOutOfBandConnection.ts
|
|
78047
78743
|
function serversStartOutOfBandConnection(client, request, options) {
|
|
78048
|
-
return new APIPromise($
|
|
78744
|
+
return new APIPromise($do96(client, request, options));
|
|
78049
78745
|
}
|
|
78050
|
-
async function $
|
|
78746
|
+
async function $do96(client, request, options) {
|
|
78051
78747
|
const parsed = safeParse4(request, (value) => CreateServerOutOfBandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78052
78748
|
if (!parsed.ok) {
|
|
78053
78749
|
return [parsed, { status: "invalid" }];
|
|
@@ -78124,20 +78820,20 @@ var init_serversStartOutOfBandConnection = __esm(() => {
|
|
|
78124
78820
|
});
|
|
78125
78821
|
|
|
78126
78822
|
// src/mcp-server/tools/serversStartOutOfBandConnection.ts
|
|
78127
|
-
var
|
|
78823
|
+
var args92, tool$serversStartOutOfBandConnection;
|
|
78128
78824
|
var init_serversStartOutOfBandConnection2 = __esm(() => {
|
|
78129
78825
|
init_serversStartOutOfBandConnection();
|
|
78130
78826
|
init_operations();
|
|
78131
78827
|
init_tools();
|
|
78132
|
-
|
|
78828
|
+
args92 = {
|
|
78133
78829
|
request: CreateServerOutOfBandRequest$inboundSchema
|
|
78134
78830
|
};
|
|
78135
78831
|
tool$serversStartOutOfBandConnection = {
|
|
78136
78832
|
name: "servers-start-out-of-band-connection",
|
|
78137
78833
|
description: `Create out-of-band connection`,
|
|
78138
|
-
args:
|
|
78139
|
-
tool: async (client,
|
|
78140
|
-
const [result, apiCall] = await serversStartOutOfBandConnection(client,
|
|
78834
|
+
args: args92,
|
|
78835
|
+
tool: async (client, args93, ctx) => {
|
|
78836
|
+
const [result, apiCall] = await serversStartOutOfBandConnection(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78141
78837
|
if (!result.ok) {
|
|
78142
78838
|
return {
|
|
78143
78839
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78152,9 +78848,9 @@ var init_serversStartOutOfBandConnection2 = __esm(() => {
|
|
|
78152
78848
|
|
|
78153
78849
|
// src/funcs/serversStartRescueMode.ts
|
|
78154
78850
|
function serversStartRescueMode(client, request, options) {
|
|
78155
|
-
return new APIPromise($
|
|
78851
|
+
return new APIPromise($do97(client, request, options));
|
|
78156
78852
|
}
|
|
78157
|
-
async function $
|
|
78853
|
+
async function $do97(client, request, options) {
|
|
78158
78854
|
const parsed = safeParse4(request, (value) => ServerStartRescueModeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78159
78855
|
if (!parsed.ok) {
|
|
78160
78856
|
return [parsed, { status: "invalid" }];
|
|
@@ -78230,12 +78926,12 @@ var init_serversStartRescueMode = __esm(() => {
|
|
|
78230
78926
|
});
|
|
78231
78927
|
|
|
78232
78928
|
// src/mcp-server/tools/serversStartRescueMode.ts
|
|
78233
|
-
var
|
|
78929
|
+
var args93, tool$serversStartRescueMode;
|
|
78234
78930
|
var init_serversStartRescueMode2 = __esm(() => {
|
|
78235
78931
|
init_serversStartRescueMode();
|
|
78236
78932
|
init_operations();
|
|
78237
78933
|
init_tools();
|
|
78238
|
-
|
|
78934
|
+
args93 = {
|
|
78239
78935
|
request: ServerStartRescueModeRequest$inboundSchema
|
|
78240
78936
|
};
|
|
78241
78937
|
tool$serversStartRescueMode = {
|
|
@@ -78243,9 +78939,9 @@ var init_serversStartRescueMode2 = __esm(() => {
|
|
|
78243
78939
|
description: `Put server in rescue mode
|
|
78244
78940
|
|
|
78245
78941
|
Starts rescue mode on a given server.`,
|
|
78246
|
-
args:
|
|
78247
|
-
tool: async (client,
|
|
78248
|
-
const [result, apiCall] = await serversStartRescueMode(client,
|
|
78942
|
+
args: args93,
|
|
78943
|
+
tool: async (client, args94, ctx) => {
|
|
78944
|
+
const [result, apiCall] = await serversStartRescueMode(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78249
78945
|
if (!result.ok) {
|
|
78250
78946
|
return {
|
|
78251
78947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78260,9 +78956,9 @@ Starts rescue mode on a given server.`,
|
|
|
78260
78956
|
|
|
78261
78957
|
// src/funcs/serversUnlock.ts
|
|
78262
78958
|
function serversUnlock(client, request, options) {
|
|
78263
|
-
return new APIPromise($
|
|
78959
|
+
return new APIPromise($do98(client, request, options));
|
|
78264
78960
|
}
|
|
78265
|
-
async function $
|
|
78961
|
+
async function $do98(client, request, options) {
|
|
78266
78962
|
const parsed = safeParse4(request, (value) => ServerUnlockRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78267
78963
|
if (!parsed.ok) {
|
|
78268
78964
|
return [parsed, { status: "invalid" }];
|
|
@@ -78338,12 +79034,12 @@ var init_serversUnlock = __esm(() => {
|
|
|
78338
79034
|
});
|
|
78339
79035
|
|
|
78340
79036
|
// src/mcp-server/tools/serversUnlock.ts
|
|
78341
|
-
var
|
|
79037
|
+
var args94, tool$serversUnlock;
|
|
78342
79038
|
var init_serversUnlock2 = __esm(() => {
|
|
78343
79039
|
init_serversUnlock();
|
|
78344
79040
|
init_operations();
|
|
78345
79041
|
init_tools();
|
|
78346
|
-
|
|
79042
|
+
args94 = {
|
|
78347
79043
|
request: ServerUnlockRequest$inboundSchema
|
|
78348
79044
|
};
|
|
78349
79045
|
tool$serversUnlock = {
|
|
@@ -78351,9 +79047,9 @@ var init_serversUnlock2 = __esm(() => {
|
|
|
78351
79047
|
description: `Unlock server
|
|
78352
79048
|
|
|
78353
79049
|
Unlocks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
78354
|
-
args:
|
|
78355
|
-
tool: async (client,
|
|
78356
|
-
const [result, apiCall] = await serversUnlock(client,
|
|
79050
|
+
args: args94,
|
|
79051
|
+
tool: async (client, args95, ctx) => {
|
|
79052
|
+
const [result, apiCall] = await serversUnlock(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78357
79053
|
if (!result.ok) {
|
|
78358
79054
|
return {
|
|
78359
79055
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78368,9 +79064,9 @@ Unlocks the server. A locked server cannot be deleted or modified and no actions
|
|
|
78368
79064
|
|
|
78369
79065
|
// src/funcs/serversUnscheduleDeletion.ts
|
|
78370
79066
|
function serversUnscheduleDeletion(client, request, options) {
|
|
78371
|
-
return new APIPromise($
|
|
79067
|
+
return new APIPromise($do99(client, request, options));
|
|
78372
79068
|
}
|
|
78373
|
-
async function $
|
|
79069
|
+
async function $do99(client, request, options) {
|
|
78374
79070
|
const parsed = safeParse4(request, (value) => ServerUnscheduleDeletionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78375
79071
|
if (!parsed.ok) {
|
|
78376
79072
|
return [parsed, { status: "invalid" }];
|
|
@@ -78444,12 +79140,12 @@ var init_serversUnscheduleDeletion = __esm(() => {
|
|
|
78444
79140
|
});
|
|
78445
79141
|
|
|
78446
79142
|
// src/mcp-server/tools/serversUnscheduleDeletion.ts
|
|
78447
|
-
var
|
|
79143
|
+
var args95, tool$serversUnscheduleDeletion;
|
|
78448
79144
|
var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
78449
79145
|
init_serversUnscheduleDeletion();
|
|
78450
79146
|
init_operations();
|
|
78451
79147
|
init_tools();
|
|
78452
|
-
|
|
79148
|
+
args95 = {
|
|
78453
79149
|
request: ServerUnscheduleDeletionRequest$inboundSchema
|
|
78454
79150
|
};
|
|
78455
79151
|
tool$serversUnscheduleDeletion = {
|
|
@@ -78457,9 +79153,9 @@ var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
|
78457
79153
|
description: `Unschedule server deletion
|
|
78458
79154
|
|
|
78459
79155
|
Unschedules the server removal at the end of the billing cycle.`,
|
|
78460
|
-
args:
|
|
78461
|
-
tool: async (client,
|
|
78462
|
-
const [result, apiCall] = await serversUnscheduleDeletion(client,
|
|
79156
|
+
args: args95,
|
|
79157
|
+
tool: async (client, args96, ctx) => {
|
|
79158
|
+
const [result, apiCall] = await serversUnscheduleDeletion(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78463
79159
|
if (!result.ok) {
|
|
78464
79160
|
return {
|
|
78465
79161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78473,9 +79169,9 @@ Unschedules the server removal at the end of the billing cycle.`,
|
|
|
78473
79169
|
|
|
78474
79170
|
// src/funcs/serversUpdate.ts
|
|
78475
79171
|
function serversUpdate(client, request, options) {
|
|
78476
|
-
return new APIPromise($
|
|
79172
|
+
return new APIPromise($do100(client, request, options));
|
|
78477
79173
|
}
|
|
78478
|
-
async function $
|
|
79174
|
+
async function $do100(client, request, options) {
|
|
78479
79175
|
const parsed = safeParse4(request, (value) => UpdateServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78480
79176
|
if (!parsed.ok) {
|
|
78481
79177
|
return [parsed, { status: "invalid" }];
|
|
@@ -78552,20 +79248,20 @@ var init_serversUpdate = __esm(() => {
|
|
|
78552
79248
|
});
|
|
78553
79249
|
|
|
78554
79250
|
// src/mcp-server/tools/serversUpdate.ts
|
|
78555
|
-
var
|
|
79251
|
+
var args96, tool$serversUpdate;
|
|
78556
79252
|
var init_serversUpdate2 = __esm(() => {
|
|
78557
79253
|
init_serversUpdate();
|
|
78558
79254
|
init_operations();
|
|
78559
79255
|
init_tools();
|
|
78560
|
-
|
|
79256
|
+
args96 = {
|
|
78561
79257
|
request: UpdateServerRequest$inboundSchema
|
|
78562
79258
|
};
|
|
78563
79259
|
tool$serversUpdate = {
|
|
78564
79260
|
name: "servers-update",
|
|
78565
79261
|
description: `Update server`,
|
|
78566
|
-
args:
|
|
78567
|
-
tool: async (client,
|
|
78568
|
-
const [result, apiCall] = await serversUpdate(client,
|
|
79262
|
+
args: args96,
|
|
79263
|
+
tool: async (client, args97, ctx) => {
|
|
79264
|
+
const [result, apiCall] = await serversUpdate(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78569
79265
|
if (!result.ok) {
|
|
78570
79266
|
return {
|
|
78571
79267
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78580,9 +79276,9 @@ var init_serversUpdate2 = __esm(() => {
|
|
|
78580
79276
|
|
|
78581
79277
|
// src/funcs/serversUpdateDeployConfig.ts
|
|
78582
79278
|
function serversUpdateDeployConfig(client, request, options) {
|
|
78583
|
-
return new APIPromise($
|
|
79279
|
+
return new APIPromise($do101(client, request, options));
|
|
78584
79280
|
}
|
|
78585
|
-
async function $
|
|
79281
|
+
async function $do101(client, request, options) {
|
|
78586
79282
|
const parsed = safeParse4(request, (value) => UpdateServerDeployConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78587
79283
|
if (!parsed.ok) {
|
|
78588
79284
|
return [parsed, { status: "invalid" }];
|
|
@@ -78659,20 +79355,20 @@ var init_serversUpdateDeployConfig = __esm(() => {
|
|
|
78659
79355
|
});
|
|
78660
79356
|
|
|
78661
79357
|
// src/mcp-server/tools/serversUpdateDeployConfig.ts
|
|
78662
|
-
var
|
|
79358
|
+
var args97, tool$serversUpdateDeployConfig;
|
|
78663
79359
|
var init_serversUpdateDeployConfig2 = __esm(() => {
|
|
78664
79360
|
init_serversUpdateDeployConfig();
|
|
78665
79361
|
init_operations();
|
|
78666
79362
|
init_tools();
|
|
78667
|
-
|
|
79363
|
+
args97 = {
|
|
78668
79364
|
request: UpdateServerDeployConfigRequest$inboundSchema
|
|
78669
79365
|
};
|
|
78670
79366
|
tool$serversUpdateDeployConfig = {
|
|
78671
79367
|
name: "servers-update-deploy-config",
|
|
78672
79368
|
description: `Update deploy config`,
|
|
78673
|
-
args:
|
|
78674
|
-
tool: async (client,
|
|
78675
|
-
const [result, apiCall] = await serversUpdateDeployConfig(client,
|
|
79369
|
+
args: args97,
|
|
79370
|
+
tool: async (client, args98, ctx) => {
|
|
79371
|
+
const [result, apiCall] = await serversUpdateDeployConfig(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78676
79372
|
if (!result.ok) {
|
|
78677
79373
|
return {
|
|
78678
79374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78687,9 +79383,9 @@ var init_serversUpdateDeployConfig2 = __esm(() => {
|
|
|
78687
79383
|
|
|
78688
79384
|
// src/funcs/sshKeysCreate.ts
|
|
78689
79385
|
function sshKeysCreate(client, request, options) {
|
|
78690
|
-
return new APIPromise($
|
|
79386
|
+
return new APIPromise($do102(client, request, options));
|
|
78691
79387
|
}
|
|
78692
|
-
async function $
|
|
79388
|
+
async function $do102(client, request, options) {
|
|
78693
79389
|
const parsed = safeParse4(request, (value) => PostSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78694
79390
|
if (!parsed.ok) {
|
|
78695
79391
|
return [parsed, { status: "invalid" }];
|
|
@@ -78759,12 +79455,12 @@ var init_sshKeysCreate = __esm(() => {
|
|
|
78759
79455
|
});
|
|
78760
79456
|
|
|
78761
79457
|
// src/mcp-server/tools/sshKeysCreate.ts
|
|
78762
|
-
var
|
|
79458
|
+
var args98, tool$sshKeysCreate;
|
|
78763
79459
|
var init_sshKeysCreate2 = __esm(() => {
|
|
78764
79460
|
init_sshKeysCreate();
|
|
78765
79461
|
init_operations();
|
|
78766
79462
|
init_tools();
|
|
78767
|
-
|
|
79463
|
+
args98 = {
|
|
78768
79464
|
request: PostSshKeyRequest$inboundSchema
|
|
78769
79465
|
};
|
|
78770
79466
|
tool$sshKeysCreate = {
|
|
@@ -78773,9 +79469,9 @@ var init_sshKeysCreate2 = __esm(() => {
|
|
|
78773
79469
|
|
|
78774
79470
|
Allows you create SSH Keys. These keys can be used to access servers after deploy and reinstall actions.
|
|
78775
79471
|
`,
|
|
78776
|
-
args:
|
|
78777
|
-
tool: async (client,
|
|
78778
|
-
const [result, apiCall] = await sshKeysCreate(client,
|
|
79472
|
+
args: args98,
|
|
79473
|
+
tool: async (client, args99, ctx) => {
|
|
79474
|
+
const [result, apiCall] = await sshKeysCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78779
79475
|
if (!result.ok) {
|
|
78780
79476
|
return {
|
|
78781
79477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78790,9 +79486,9 @@ Allows you create SSH Keys. These keys can be used to access servers after deplo
|
|
|
78790
79486
|
|
|
78791
79487
|
// src/funcs/sshKeysDelete.ts
|
|
78792
79488
|
function sshKeysDelete(client, request, options) {
|
|
78793
|
-
return new APIPromise($
|
|
79489
|
+
return new APIPromise($do103(client, request, options));
|
|
78794
79490
|
}
|
|
78795
|
-
async function $
|
|
79491
|
+
async function $do103(client, request, options) {
|
|
78796
79492
|
const parsed = safeParse4(request, (value) => DeleteSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78797
79493
|
if (!parsed.ok) {
|
|
78798
79494
|
return [parsed, { status: "invalid" }];
|
|
@@ -78866,12 +79562,12 @@ var init_sshKeysDelete = __esm(() => {
|
|
|
78866
79562
|
});
|
|
78867
79563
|
|
|
78868
79564
|
// src/mcp-server/tools/sshKeysDelete.ts
|
|
78869
|
-
var
|
|
79565
|
+
var args99, tool$sshKeysDelete;
|
|
78870
79566
|
var init_sshKeysDelete2 = __esm(() => {
|
|
78871
79567
|
init_sshKeysDelete();
|
|
78872
79568
|
init_operations();
|
|
78873
79569
|
init_tools();
|
|
78874
|
-
|
|
79570
|
+
args99 = {
|
|
78875
79571
|
request: DeleteSshKeyRequest$inboundSchema
|
|
78876
79572
|
};
|
|
78877
79573
|
tool$sshKeysDelete = {
|
|
@@ -78880,9 +79576,9 @@ var init_sshKeysDelete2 = __esm(() => {
|
|
|
78880
79576
|
|
|
78881
79577
|
Allows you remove SSH Keys in a project. Remove a SSH Key from the project won't revoke the SSH Keys access for previously deploy and reinstall actions.
|
|
78882
79578
|
`,
|
|
78883
|
-
args:
|
|
78884
|
-
tool: async (client,
|
|
78885
|
-
const [result, apiCall] = await sshKeysDelete(client,
|
|
79579
|
+
args: args99,
|
|
79580
|
+
tool: async (client, args100, ctx) => {
|
|
79581
|
+
const [result, apiCall] = await sshKeysDelete(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78886
79582
|
if (!result.ok) {
|
|
78887
79583
|
return {
|
|
78888
79584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78896,9 +79592,9 @@ Allows you remove SSH Keys in a project. Remove a SSH Key from the project won't
|
|
|
78896
79592
|
|
|
78897
79593
|
// src/funcs/sshKeysGet.ts
|
|
78898
79594
|
function sshKeysGet(client, request, options) {
|
|
78899
|
-
return new APIPromise($
|
|
79595
|
+
return new APIPromise($do104(client, request, options));
|
|
78900
79596
|
}
|
|
78901
|
-
async function $
|
|
79597
|
+
async function $do104(client, request, options) {
|
|
78902
79598
|
const parsed = safeParse4(request, (value) => GetProjectSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78903
79599
|
if (!parsed.ok) {
|
|
78904
79600
|
return [parsed, { status: "invalid" }];
|
|
@@ -78977,12 +79673,12 @@ var init_sshKeysGet = __esm(() => {
|
|
|
78977
79673
|
});
|
|
78978
79674
|
|
|
78979
79675
|
// src/mcp-server/tools/sshKeysGet.ts
|
|
78980
|
-
var
|
|
79676
|
+
var args100, tool$sshKeysGet;
|
|
78981
79677
|
var init_sshKeysGet2 = __esm(() => {
|
|
78982
79678
|
init_sshKeysGet();
|
|
78983
79679
|
init_operations();
|
|
78984
79680
|
init_tools();
|
|
78985
|
-
|
|
79681
|
+
args100 = {
|
|
78986
79682
|
request: GetProjectSshKeyRequest$inboundSchema
|
|
78987
79683
|
};
|
|
78988
79684
|
tool$sshKeysGet = {
|
|
@@ -78991,9 +79687,9 @@ var init_sshKeysGet2 = __esm(() => {
|
|
|
78991
79687
|
|
|
78992
79688
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
78993
79689
|
`,
|
|
78994
|
-
args:
|
|
78995
|
-
tool: async (client,
|
|
78996
|
-
const [result, apiCall] = await sshKeysGet(client,
|
|
79690
|
+
args: args100,
|
|
79691
|
+
tool: async (client, args101, ctx) => {
|
|
79692
|
+
const [result, apiCall] = await sshKeysGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78997
79693
|
if (!result.ok) {
|
|
78998
79694
|
return {
|
|
78999
79695
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79008,9 +79704,9 @@ List all SSH Keys in the project. These keys can be used to access servers after
|
|
|
79008
79704
|
|
|
79009
79705
|
// src/funcs/sshKeysList.ts
|
|
79010
79706
|
function sshKeysList(client, request, options) {
|
|
79011
|
-
return new APIPromise($
|
|
79707
|
+
return new APIPromise($do105(client, request, options));
|
|
79012
79708
|
}
|
|
79013
|
-
async function $
|
|
79709
|
+
async function $do105(client, request, options) {
|
|
79014
79710
|
const parsed = safeParse4(request, (value) => GetProjectSshKeysRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79015
79711
|
if (!parsed.ok) {
|
|
79016
79712
|
return [parsed, { status: "invalid" }];
|
|
@@ -79093,12 +79789,12 @@ var init_sshKeysList = __esm(() => {
|
|
|
79093
79789
|
});
|
|
79094
79790
|
|
|
79095
79791
|
// src/mcp-server/tools/sshKeysList.ts
|
|
79096
|
-
var
|
|
79792
|
+
var args101, tool$sshKeysList;
|
|
79097
79793
|
var init_sshKeysList2 = __esm(() => {
|
|
79098
79794
|
init_sshKeysList();
|
|
79099
79795
|
init_operations();
|
|
79100
79796
|
init_tools();
|
|
79101
|
-
|
|
79797
|
+
args101 = {
|
|
79102
79798
|
request: GetProjectSshKeysRequest$inboundSchema
|
|
79103
79799
|
};
|
|
79104
79800
|
tool$sshKeysList = {
|
|
@@ -79107,9 +79803,9 @@ var init_sshKeysList2 = __esm(() => {
|
|
|
79107
79803
|
|
|
79108
79804
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
79109
79805
|
`,
|
|
79110
|
-
args:
|
|
79111
|
-
tool: async (client,
|
|
79112
|
-
const [result, apiCall] = await sshKeysList(client,
|
|
79806
|
+
args: args101,
|
|
79807
|
+
tool: async (client, args102, ctx) => {
|
|
79808
|
+
const [result, apiCall] = await sshKeysList(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79113
79809
|
if (!result.ok) {
|
|
79114
79810
|
return {
|
|
79115
79811
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79124,9 +79820,9 @@ List all SSH Keys in the project. These keys can be used to access servers after
|
|
|
79124
79820
|
|
|
79125
79821
|
// src/funcs/sshKeysListAll.ts
|
|
79126
79822
|
function sshKeysListAll(client, request, options) {
|
|
79127
|
-
return new APIPromise($
|
|
79823
|
+
return new APIPromise($do106(client, request, options));
|
|
79128
79824
|
}
|
|
79129
|
-
async function $
|
|
79825
|
+
async function $do106(client, request, options) {
|
|
79130
79826
|
const parsed = safeParse4(request, (value) => GetSshKeysRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
79131
79827
|
if (!parsed.ok) {
|
|
79132
79828
|
return [parsed, { status: "invalid" }];
|
|
@@ -79205,12 +79901,12 @@ var init_sshKeysListAll = __esm(() => {
|
|
|
79205
79901
|
});
|
|
79206
79902
|
|
|
79207
79903
|
// src/mcp-server/tools/sshKeysListAll.ts
|
|
79208
|
-
var
|
|
79904
|
+
var args102, tool$sshKeysListAll;
|
|
79209
79905
|
var init_sshKeysListAll2 = __esm(() => {
|
|
79210
79906
|
init_sshKeysListAll();
|
|
79211
79907
|
init_operations();
|
|
79212
79908
|
init_tools();
|
|
79213
|
-
|
|
79909
|
+
args102 = {
|
|
79214
79910
|
request: GetSshKeysRequest$inboundSchema.optional()
|
|
79215
79911
|
};
|
|
79216
79912
|
tool$sshKeysListAll = {
|
|
@@ -79219,9 +79915,9 @@ var init_sshKeysListAll2 = __esm(() => {
|
|
|
79219
79915
|
|
|
79220
79916
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
79221
79917
|
`,
|
|
79222
|
-
args:
|
|
79223
|
-
tool: async (client,
|
|
79224
|
-
const [result, apiCall] = await sshKeysListAll(client,
|
|
79918
|
+
args: args102,
|
|
79919
|
+
tool: async (client, args103, ctx) => {
|
|
79920
|
+
const [result, apiCall] = await sshKeysListAll(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79225
79921
|
if (!result.ok) {
|
|
79226
79922
|
return {
|
|
79227
79923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79236,9 +79932,9 @@ List all SSH Keys in the project. These keys can be used to access servers after
|
|
|
79236
79932
|
|
|
79237
79933
|
// src/funcs/sshKeysModifyProjectKey.ts
|
|
79238
79934
|
function sshKeysModifyProjectKey(client, request, options) {
|
|
79239
|
-
return new APIPromise($
|
|
79935
|
+
return new APIPromise($do107(client, request, options));
|
|
79240
79936
|
}
|
|
79241
|
-
async function $
|
|
79937
|
+
async function $do107(client, request, options) {
|
|
79242
79938
|
const parsed = safeParse4(request, (value) => PutProjectSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79243
79939
|
if (!parsed.ok) {
|
|
79244
79940
|
return [parsed, { status: "invalid" }];
|
|
@@ -79318,12 +80014,12 @@ var init_sshKeysModifyProjectKey = __esm(() => {
|
|
|
79318
80014
|
});
|
|
79319
80015
|
|
|
79320
80016
|
// src/mcp-server/tools/sshKeysModifyProjectKey.ts
|
|
79321
|
-
var
|
|
80017
|
+
var args103, tool$sshKeysModifyProjectKey;
|
|
79322
80018
|
var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
79323
80019
|
init_sshKeysModifyProjectKey();
|
|
79324
80020
|
init_operations();
|
|
79325
80021
|
init_tools();
|
|
79326
|
-
|
|
80022
|
+
args103 = {
|
|
79327
80023
|
request: PutProjectSshKeyRequest$inboundSchema
|
|
79328
80024
|
};
|
|
79329
80025
|
tool$sshKeysModifyProjectKey = {
|
|
@@ -79332,9 +80028,9 @@ var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
|
79332
80028
|
|
|
79333
80029
|
Allow you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
79334
80030
|
`,
|
|
79335
|
-
args:
|
|
79336
|
-
tool: async (client,
|
|
79337
|
-
const [result, apiCall] = await sshKeysModifyProjectKey(client,
|
|
80031
|
+
args: args103,
|
|
80032
|
+
tool: async (client, args104, ctx) => {
|
|
80033
|
+
const [result, apiCall] = await sshKeysModifyProjectKey(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79338
80034
|
if (!result.ok) {
|
|
79339
80035
|
return {
|
|
79340
80036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79349,9 +80045,9 @@ Allow you update SSH Key in a project. These keys can be used to access servers
|
|
|
79349
80045
|
|
|
79350
80046
|
// src/funcs/sshKeysRemoveFromProject.ts
|
|
79351
80047
|
function sshKeysRemoveFromProject(client, request, options) {
|
|
79352
|
-
return new APIPromise($
|
|
80048
|
+
return new APIPromise($do108(client, request, options));
|
|
79353
80049
|
}
|
|
79354
|
-
async function $
|
|
80050
|
+
async function $do108(client, request, options) {
|
|
79355
80051
|
const parsed = safeParse4(request, (value) => DeleteProjectSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79356
80052
|
if (!parsed.ok) {
|
|
79357
80053
|
return [parsed, { status: "invalid" }];
|
|
@@ -79429,12 +80125,12 @@ var init_sshKeysRemoveFromProject = __esm(() => {
|
|
|
79429
80125
|
});
|
|
79430
80126
|
|
|
79431
80127
|
// src/mcp-server/tools/sshKeysRemoveFromProject.ts
|
|
79432
|
-
var
|
|
80128
|
+
var args104, tool$sshKeysRemoveFromProject;
|
|
79433
80129
|
var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
79434
80130
|
init_sshKeysRemoveFromProject();
|
|
79435
80131
|
init_operations();
|
|
79436
80132
|
init_tools();
|
|
79437
|
-
|
|
80133
|
+
args104 = {
|
|
79438
80134
|
request: DeleteProjectSshKeyRequest$inboundSchema
|
|
79439
80135
|
};
|
|
79440
80136
|
tool$sshKeysRemoveFromProject = {
|
|
@@ -79443,9 +80139,9 @@ var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
|
79443
80139
|
|
|
79444
80140
|
Allow you remove SSH Keys in a project. Remove a SSH Key from the project won't revoke the SSH Keys access for previously deploy and reinstall actions.
|
|
79445
80141
|
`,
|
|
79446
|
-
args:
|
|
79447
|
-
tool: async (client,
|
|
79448
|
-
const [result, apiCall] = await sshKeysRemoveFromProject(client,
|
|
80142
|
+
args: args104,
|
|
80143
|
+
tool: async (client, args105, ctx) => {
|
|
80144
|
+
const [result, apiCall] = await sshKeysRemoveFromProject(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79449
80145
|
if (!result.ok) {
|
|
79450
80146
|
return {
|
|
79451
80147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79459,9 +80155,9 @@ Allow you remove SSH Keys in a project. Remove a SSH Key from the project won't
|
|
|
79459
80155
|
|
|
79460
80156
|
// src/funcs/sshKeysRetrieve.ts
|
|
79461
80157
|
function sshKeysRetrieve(client, request, options) {
|
|
79462
|
-
return new APIPromise($
|
|
80158
|
+
return new APIPromise($do109(client, request, options));
|
|
79463
80159
|
}
|
|
79464
|
-
async function $
|
|
80160
|
+
async function $do109(client, request, options) {
|
|
79465
80161
|
const parsed = safeParse4(request, (value) => GetSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79466
80162
|
if (!parsed.ok) {
|
|
79467
80163
|
return [parsed, { status: "invalid" }];
|
|
@@ -79536,12 +80232,12 @@ var init_sshKeysRetrieve = __esm(() => {
|
|
|
79536
80232
|
});
|
|
79537
80233
|
|
|
79538
80234
|
// src/mcp-server/tools/sshKeysRetrieve.ts
|
|
79539
|
-
var
|
|
80235
|
+
var args105, tool$sshKeysRetrieve;
|
|
79540
80236
|
var init_sshKeysRetrieve2 = __esm(() => {
|
|
79541
80237
|
init_sshKeysRetrieve();
|
|
79542
80238
|
init_operations();
|
|
79543
80239
|
init_tools();
|
|
79544
|
-
|
|
80240
|
+
args105 = {
|
|
79545
80241
|
request: GetSshKeyRequest$inboundSchema
|
|
79546
80242
|
};
|
|
79547
80243
|
tool$sshKeysRetrieve = {
|
|
@@ -79550,9 +80246,9 @@ var init_sshKeysRetrieve2 = __esm(() => {
|
|
|
79550
80246
|
|
|
79551
80247
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
79552
80248
|
`,
|
|
79553
|
-
args:
|
|
79554
|
-
tool: async (client,
|
|
79555
|
-
const [result, apiCall] = await sshKeysRetrieve(client,
|
|
80249
|
+
args: args105,
|
|
80250
|
+
tool: async (client, args106, ctx) => {
|
|
80251
|
+
const [result, apiCall] = await sshKeysRetrieve(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79556
80252
|
if (!result.ok) {
|
|
79557
80253
|
return {
|
|
79558
80254
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79567,9 +80263,9 @@ List all SSH Keys in the project. These keys can be used to access servers after
|
|
|
79567
80263
|
|
|
79568
80264
|
// src/funcs/sshKeysUpdate.ts
|
|
79569
80265
|
function sshKeysUpdate(client, request, options) {
|
|
79570
|
-
return new APIPromise($
|
|
80266
|
+
return new APIPromise($do110(client, request, options));
|
|
79571
80267
|
}
|
|
79572
|
-
async function $
|
|
80268
|
+
async function $do110(client, request, options) {
|
|
79573
80269
|
const parsed = safeParse4(request, (value) => PutSshKeyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79574
80270
|
if (!parsed.ok) {
|
|
79575
80271
|
return [parsed, { status: "invalid" }];
|
|
@@ -79645,12 +80341,12 @@ var init_sshKeysUpdate = __esm(() => {
|
|
|
79645
80341
|
});
|
|
79646
80342
|
|
|
79647
80343
|
// src/mcp-server/tools/sshKeysUpdate.ts
|
|
79648
|
-
var
|
|
80344
|
+
var args106, tool$sshKeysUpdate;
|
|
79649
80345
|
var init_sshKeysUpdate2 = __esm(() => {
|
|
79650
80346
|
init_sshKeysUpdate();
|
|
79651
80347
|
init_operations();
|
|
79652
80348
|
init_tools();
|
|
79653
|
-
|
|
80349
|
+
args106 = {
|
|
79654
80350
|
request: PutSshKeyRequest$inboundSchema
|
|
79655
80351
|
};
|
|
79656
80352
|
tool$sshKeysUpdate = {
|
|
@@ -79659,9 +80355,9 @@ var init_sshKeysUpdate2 = __esm(() => {
|
|
|
79659
80355
|
|
|
79660
80356
|
Allows you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
79661
80357
|
`,
|
|
79662
|
-
args:
|
|
79663
|
-
tool: async (client,
|
|
79664
|
-
const [result, apiCall] = await sshKeysUpdate(client,
|
|
80358
|
+
args: args106,
|
|
80359
|
+
tool: async (client, args107, ctx) => {
|
|
80360
|
+
const [result, apiCall] = await sshKeysUpdate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79665
80361
|
if (!result.ok) {
|
|
79666
80362
|
return {
|
|
79667
80363
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79676,9 +80372,9 @@ Allows you update SSH Key in a project. These keys can be used to access servers
|
|
|
79676
80372
|
|
|
79677
80373
|
// src/funcs/tagsCreate.ts
|
|
79678
80374
|
function tagsCreate(client, request, options) {
|
|
79679
|
-
return new APIPromise($
|
|
80375
|
+
return new APIPromise($do111(client, request, options));
|
|
79680
80376
|
}
|
|
79681
|
-
async function $
|
|
80377
|
+
async function $do111(client, request, options) {
|
|
79682
80378
|
const parsed = safeParse4(request, (value) => CreateTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79683
80379
|
if (!parsed.ok) {
|
|
79684
80380
|
return [parsed, { status: "invalid" }];
|
|
@@ -79755,12 +80451,12 @@ var init_tagsCreate = __esm(() => {
|
|
|
79755
80451
|
});
|
|
79756
80452
|
|
|
79757
80453
|
// src/mcp-server/tools/tagsCreate.ts
|
|
79758
|
-
var
|
|
80454
|
+
var args107, tool$tagsCreate;
|
|
79759
80455
|
var init_tagsCreate2 = __esm(() => {
|
|
79760
80456
|
init_tagsCreate();
|
|
79761
80457
|
init_operations();
|
|
79762
80458
|
init_tools();
|
|
79763
|
-
|
|
80459
|
+
args107 = {
|
|
79764
80460
|
request: CreateTagRequest$inboundSchema
|
|
79765
80461
|
};
|
|
79766
80462
|
tool$tagsCreate = {
|
|
@@ -79769,9 +80465,9 @@ var init_tagsCreate2 = __esm(() => {
|
|
|
79769
80465
|
|
|
79770
80466
|
Create a Tag in the team.
|
|
79771
80467
|
`,
|
|
79772
|
-
args:
|
|
79773
|
-
tool: async (client,
|
|
79774
|
-
const [result, apiCall] = await tagsCreate(client,
|
|
80468
|
+
args: args107,
|
|
80469
|
+
tool: async (client, args108, ctx) => {
|
|
80470
|
+
const [result, apiCall] = await tagsCreate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79775
80471
|
if (!result.ok) {
|
|
79776
80472
|
return {
|
|
79777
80473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79786,9 +80482,9 @@ Create a Tag in the team.
|
|
|
79786
80482
|
|
|
79787
80483
|
// src/funcs/tagsDelete.ts
|
|
79788
80484
|
function tagsDelete(client, request, options) {
|
|
79789
|
-
return new APIPromise($
|
|
80485
|
+
return new APIPromise($do112(client, request, options));
|
|
79790
80486
|
}
|
|
79791
|
-
async function $
|
|
80487
|
+
async function $do112(client, request, options) {
|
|
79792
80488
|
const parsed = safeParse4(request, (value) => DestroyTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79793
80489
|
if (!parsed.ok) {
|
|
79794
80490
|
return [parsed, { status: "invalid" }];
|
|
@@ -79862,12 +80558,12 @@ var init_tagsDelete = __esm(() => {
|
|
|
79862
80558
|
});
|
|
79863
80559
|
|
|
79864
80560
|
// src/mcp-server/tools/tagsDelete.ts
|
|
79865
|
-
var
|
|
80561
|
+
var args108, tool$tagsDelete;
|
|
79866
80562
|
var init_tagsDelete2 = __esm(() => {
|
|
79867
80563
|
init_tagsDelete();
|
|
79868
80564
|
init_operations();
|
|
79869
80565
|
init_tools();
|
|
79870
|
-
|
|
80566
|
+
args108 = {
|
|
79871
80567
|
request: DestroyTagRequest$inboundSchema
|
|
79872
80568
|
};
|
|
79873
80569
|
tool$tagsDelete = {
|
|
@@ -79876,9 +80572,9 @@ var init_tagsDelete2 = __esm(() => {
|
|
|
79876
80572
|
|
|
79877
80573
|
Update a Tag in the team.
|
|
79878
80574
|
`,
|
|
79879
|
-
args:
|
|
79880
|
-
tool: async (client,
|
|
79881
|
-
const [result, apiCall] = await tagsDelete(client,
|
|
80575
|
+
args: args108,
|
|
80576
|
+
tool: async (client, args109, ctx) => {
|
|
80577
|
+
const [result, apiCall] = await tagsDelete(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79882
80578
|
if (!result.ok) {
|
|
79883
80579
|
return {
|
|
79884
80580
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79892,9 +80588,9 @@ Update a Tag in the team.
|
|
|
79892
80588
|
|
|
79893
80589
|
// src/funcs/tagsList.ts
|
|
79894
80590
|
function tagsList(client, options) {
|
|
79895
|
-
return new APIPromise($
|
|
80591
|
+
return new APIPromise($do113(client, options));
|
|
79896
80592
|
}
|
|
79897
|
-
async function $
|
|
80593
|
+
async function $do113(client, options) {
|
|
79898
80594
|
const path = pathToFunc("/tags")();
|
|
79899
80595
|
const headers = new Headers(compactMap({
|
|
79900
80596
|
Accept: "application/vnd.api+json"
|
|
@@ -79980,9 +80676,9 @@ List all Tags in the team.
|
|
|
79980
80676
|
|
|
79981
80677
|
// src/funcs/tagsUpdate.ts
|
|
79982
80678
|
function tagsUpdate(client, request, options) {
|
|
79983
|
-
return new APIPromise($
|
|
80679
|
+
return new APIPromise($do114(client, request, options));
|
|
79984
80680
|
}
|
|
79985
|
-
async function $
|
|
80681
|
+
async function $do114(client, request, options) {
|
|
79986
80682
|
const parsed = safeParse4(request, (value) => UpdateTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79987
80683
|
if (!parsed.ok) {
|
|
79988
80684
|
return [parsed, { status: "invalid" }];
|
|
@@ -80065,12 +80761,12 @@ var init_tagsUpdate = __esm(() => {
|
|
|
80065
80761
|
});
|
|
80066
80762
|
|
|
80067
80763
|
// src/mcp-server/tools/tagsUpdate.ts
|
|
80068
|
-
var
|
|
80764
|
+
var args109, tool$tagsUpdate;
|
|
80069
80765
|
var init_tagsUpdate2 = __esm(() => {
|
|
80070
80766
|
init_tagsUpdate();
|
|
80071
80767
|
init_operations();
|
|
80072
80768
|
init_tools();
|
|
80073
|
-
|
|
80769
|
+
args109 = {
|
|
80074
80770
|
request: UpdateTagRequest$inboundSchema
|
|
80075
80771
|
};
|
|
80076
80772
|
tool$tagsUpdate = {
|
|
@@ -80079,9 +80775,9 @@ var init_tagsUpdate2 = __esm(() => {
|
|
|
80079
80775
|
|
|
80080
80776
|
Update a Tag in the team.
|
|
80081
80777
|
`,
|
|
80082
|
-
args:
|
|
80083
|
-
tool: async (client,
|
|
80084
|
-
const [result, apiCall] = await tagsUpdate(client,
|
|
80778
|
+
args: args109,
|
|
80779
|
+
tool: async (client, args110, ctx) => {
|
|
80780
|
+
const [result, apiCall] = await tagsUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80085
80781
|
if (!result.ok) {
|
|
80086
80782
|
return {
|
|
80087
80783
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80096,9 +80792,9 @@ Update a Tag in the team.
|
|
|
80096
80792
|
|
|
80097
80793
|
// src/funcs/teamMembersDelete.ts
|
|
80098
80794
|
function teamMembersDelete(client, request, options) {
|
|
80099
|
-
return new APIPromise($
|
|
80795
|
+
return new APIPromise($do115(client, request, options));
|
|
80100
80796
|
}
|
|
80101
|
-
async function $
|
|
80797
|
+
async function $do115(client, request, options) {
|
|
80102
80798
|
const parsed = safeParse4(request, (value) => DestroyTeamMemberRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80103
80799
|
if (!parsed.ok) {
|
|
80104
80800
|
return [parsed, { status: "invalid" }];
|
|
@@ -80172,20 +80868,20 @@ var init_teamMembersDelete = __esm(() => {
|
|
|
80172
80868
|
});
|
|
80173
80869
|
|
|
80174
80870
|
// src/mcp-server/tools/teamMembersDelete.ts
|
|
80175
|
-
var
|
|
80871
|
+
var args110, tool$teamMembersDelete;
|
|
80176
80872
|
var init_teamMembersDelete2 = __esm(() => {
|
|
80177
80873
|
init_teamMembersDelete();
|
|
80178
80874
|
init_operations();
|
|
80179
80875
|
init_tools();
|
|
80180
|
-
|
|
80876
|
+
args110 = {
|
|
80181
80877
|
request: DestroyTeamMemberRequest$inboundSchema
|
|
80182
80878
|
};
|
|
80183
80879
|
tool$teamMembersDelete = {
|
|
80184
80880
|
name: "team-members-delete",
|
|
80185
80881
|
description: `Remove a member`,
|
|
80186
|
-
args:
|
|
80187
|
-
tool: async (client,
|
|
80188
|
-
const [result, apiCall] = await teamMembersDelete(client,
|
|
80882
|
+
args: args110,
|
|
80883
|
+
tool: async (client, args111, ctx) => {
|
|
80884
|
+
const [result, apiCall] = await teamMembersDelete(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80189
80885
|
if (!result.ok) {
|
|
80190
80886
|
return {
|
|
80191
80887
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80199,9 +80895,9 @@ var init_teamMembersDelete2 = __esm(() => {
|
|
|
80199
80895
|
|
|
80200
80896
|
// src/funcs/teamMembersPostTeamMembers.ts
|
|
80201
80897
|
function teamMembersPostTeamMembers(client, request, options) {
|
|
80202
|
-
return new APIPromise($
|
|
80898
|
+
return new APIPromise($do116(client, request, options));
|
|
80203
80899
|
}
|
|
80204
|
-
async function $
|
|
80900
|
+
async function $do116(client, request, options) {
|
|
80205
80901
|
const parsed = safeParse4(request, (value) => PostTeamMembersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80206
80902
|
if (!parsed.ok) {
|
|
80207
80903
|
return [parsed, { status: "invalid" }];
|
|
@@ -80272,20 +80968,20 @@ var init_teamMembersPostTeamMembers = __esm(() => {
|
|
|
80272
80968
|
});
|
|
80273
80969
|
|
|
80274
80970
|
// src/mcp-server/tools/teamMembersPostTeamMembers.ts
|
|
80275
|
-
var
|
|
80971
|
+
var args111, tool$teamMembersPostTeamMembers;
|
|
80276
80972
|
var init_teamMembersPostTeamMembers2 = __esm(() => {
|
|
80277
80973
|
init_teamMembersPostTeamMembers();
|
|
80278
80974
|
init_operations();
|
|
80279
80975
|
init_tools();
|
|
80280
|
-
|
|
80976
|
+
args111 = {
|
|
80281
80977
|
request: PostTeamMembersRequest$inboundSchema
|
|
80282
80978
|
};
|
|
80283
80979
|
tool$teamMembersPostTeamMembers = {
|
|
80284
80980
|
name: "team-members-post-team-members",
|
|
80285
80981
|
description: `Create member`,
|
|
80286
|
-
args:
|
|
80287
|
-
tool: async (client,
|
|
80288
|
-
const [result, apiCall] = await teamMembersPostTeamMembers(client,
|
|
80982
|
+
args: args111,
|
|
80983
|
+
tool: async (client, args112, ctx) => {
|
|
80984
|
+
const [result, apiCall] = await teamMembersPostTeamMembers(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80289
80985
|
if (!result.ok) {
|
|
80290
80986
|
return {
|
|
80291
80987
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80300,9 +80996,9 @@ var init_teamMembersPostTeamMembers2 = __esm(() => {
|
|
|
80300
80996
|
|
|
80301
80997
|
// src/funcs/teamsCreate.ts
|
|
80302
80998
|
function teamsCreate(client, request, options) {
|
|
80303
|
-
return new APIPromise($
|
|
80999
|
+
return new APIPromise($do117(client, request, options));
|
|
80304
81000
|
}
|
|
80305
|
-
async function $
|
|
81001
|
+
async function $do117(client, request, options) {
|
|
80306
81002
|
const parsed = safeParse4(request, (value) => PostTeamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80307
81003
|
if (!parsed.ok) {
|
|
80308
81004
|
return [parsed, { status: "invalid" }];
|
|
@@ -80372,20 +81068,20 @@ var init_teamsCreate = __esm(() => {
|
|
|
80372
81068
|
});
|
|
80373
81069
|
|
|
80374
81070
|
// src/mcp-server/tools/teamsCreate.ts
|
|
80375
|
-
var
|
|
81071
|
+
var args112, tool$teamsCreate;
|
|
80376
81072
|
var init_teamsCreate2 = __esm(() => {
|
|
80377
81073
|
init_teamsCreate();
|
|
80378
81074
|
init_operations();
|
|
80379
81075
|
init_tools();
|
|
80380
|
-
|
|
81076
|
+
args112 = {
|
|
80381
81077
|
request: PostTeamRequest$inboundSchema
|
|
80382
81078
|
};
|
|
80383
81079
|
tool$teamsCreate = {
|
|
80384
81080
|
name: "teams-create",
|
|
80385
81081
|
description: `Create team`,
|
|
80386
|
-
args:
|
|
80387
|
-
tool: async (client,
|
|
80388
|
-
const [result, apiCall] = await teamsCreate(client,
|
|
81082
|
+
args: args112,
|
|
81083
|
+
tool: async (client, args113, ctx) => {
|
|
81084
|
+
const [result, apiCall] = await teamsCreate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80389
81085
|
if (!result.ok) {
|
|
80390
81086
|
return {
|
|
80391
81087
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80400,9 +81096,9 @@ var init_teamsCreate2 = __esm(() => {
|
|
|
80400
81096
|
|
|
80401
81097
|
// src/funcs/teamsGet.ts
|
|
80402
81098
|
function teamsGet(client, options) {
|
|
80403
|
-
return new APIPromise($
|
|
81099
|
+
return new APIPromise($do118(client, options));
|
|
80404
81100
|
}
|
|
80405
|
-
async function $
|
|
81101
|
+
async function $do118(client, options) {
|
|
80406
81102
|
const path = pathToFunc("/team")();
|
|
80407
81103
|
const headers = new Headers(compactMap({
|
|
80408
81104
|
Accept: "application/vnd.api+json"
|
|
@@ -80485,9 +81181,9 @@ var init_teamsGet2 = __esm(() => {
|
|
|
80485
81181
|
|
|
80486
81182
|
// src/funcs/teamsMembersGetTeamMembers.ts
|
|
80487
81183
|
function teamsMembersGetTeamMembers(client, request, options) {
|
|
80488
|
-
return new APIPromise($
|
|
81184
|
+
return new APIPromise($do119(client, request, options));
|
|
80489
81185
|
}
|
|
80490
|
-
async function $
|
|
81186
|
+
async function $do119(client, request, options) {
|
|
80491
81187
|
const parsed = safeParse4(request, (value) => GetTeamMembersRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
80492
81188
|
if (!parsed.ok) {
|
|
80493
81189
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -80596,20 +81292,20 @@ var init_teamsMembersGetTeamMembers = __esm(() => {
|
|
|
80596
81292
|
});
|
|
80597
81293
|
|
|
80598
81294
|
// src/mcp-server/tools/teamsMembersGetTeamMembers.ts
|
|
80599
|
-
var
|
|
81295
|
+
var args113, tool$teamsMembersGetTeamMembers;
|
|
80600
81296
|
var init_teamsMembersGetTeamMembers2 = __esm(() => {
|
|
80601
81297
|
init_teamsMembersGetTeamMembers();
|
|
80602
81298
|
init_operations();
|
|
80603
81299
|
init_tools();
|
|
80604
|
-
|
|
81300
|
+
args113 = {
|
|
80605
81301
|
request: GetTeamMembersRequest$inboundSchema.optional()
|
|
80606
81302
|
};
|
|
80607
81303
|
tool$teamsMembersGetTeamMembers = {
|
|
80608
81304
|
name: "teams-members-get-team-members",
|
|
80609
81305
|
description: `List members`,
|
|
80610
|
-
args:
|
|
80611
|
-
tool: async (client,
|
|
80612
|
-
const [result, apiCall] = await teamsMembersGetTeamMembers(client,
|
|
81306
|
+
args: args113,
|
|
81307
|
+
tool: async (client, args114, ctx) => {
|
|
81308
|
+
const [result, apiCall] = await teamsMembersGetTeamMembers(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80613
81309
|
if (!result.ok) {
|
|
80614
81310
|
return {
|
|
80615
81311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80624,9 +81320,9 @@ var init_teamsMembersGetTeamMembers2 = __esm(() => {
|
|
|
80624
81320
|
|
|
80625
81321
|
// src/funcs/teamsUpdate.ts
|
|
80626
81322
|
function teamsUpdate(client, request, options) {
|
|
80627
|
-
return new APIPromise($
|
|
81323
|
+
return new APIPromise($do120(client, request, options));
|
|
80628
81324
|
}
|
|
80629
|
-
async function $
|
|
81325
|
+
async function $do120(client, request, options) {
|
|
80630
81326
|
const parsed = safeParse4(request, (value) => PatchCurrentTeamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80631
81327
|
if (!parsed.ok) {
|
|
80632
81328
|
return [parsed, { status: "invalid" }];
|
|
@@ -80702,20 +81398,20 @@ var init_teamsUpdate = __esm(() => {
|
|
|
80702
81398
|
});
|
|
80703
81399
|
|
|
80704
81400
|
// src/mcp-server/tools/teamsUpdate.ts
|
|
80705
|
-
var
|
|
81401
|
+
var args114, tool$teamsUpdate;
|
|
80706
81402
|
var init_teamsUpdate2 = __esm(() => {
|
|
80707
81403
|
init_teamsUpdate();
|
|
80708
81404
|
init_operations();
|
|
80709
81405
|
init_tools();
|
|
80710
|
-
|
|
81406
|
+
args114 = {
|
|
80711
81407
|
request: PatchCurrentTeamRequest$inboundSchema
|
|
80712
81408
|
};
|
|
80713
81409
|
tool$teamsUpdate = {
|
|
80714
81410
|
name: "teams-update",
|
|
80715
81411
|
description: `Update team`,
|
|
80716
|
-
args:
|
|
80717
|
-
tool: async (client,
|
|
80718
|
-
const [result, apiCall] = await teamsUpdate(client,
|
|
81412
|
+
args: args114,
|
|
81413
|
+
tool: async (client, args115, ctx) => {
|
|
81414
|
+
const [result, apiCall] = await teamsUpdate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80719
81415
|
if (!result.ok) {
|
|
80720
81416
|
return {
|
|
80721
81417
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80730,9 +81426,9 @@ var init_teamsUpdate2 = __esm(() => {
|
|
|
80730
81426
|
|
|
80731
81427
|
// src/funcs/trafficGet.ts
|
|
80732
81428
|
function trafficGet(client, request, options) {
|
|
80733
|
-
return new APIPromise($
|
|
81429
|
+
return new APIPromise($do121(client, request, options));
|
|
80734
81430
|
}
|
|
80735
|
-
async function $
|
|
81431
|
+
async function $do121(client, request, options) {
|
|
80736
81432
|
const parsed = safeParse4(request, (value) => GetTrafficConsumptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80737
81433
|
if (!parsed.ok) {
|
|
80738
81434
|
return [parsed, { status: "invalid" }];
|
|
@@ -80809,20 +81505,20 @@ var init_trafficGet = __esm(() => {
|
|
|
80809
81505
|
});
|
|
80810
81506
|
|
|
80811
81507
|
// src/mcp-server/tools/trafficGet.ts
|
|
80812
|
-
var
|
|
81508
|
+
var args115, tool$trafficGet;
|
|
80813
81509
|
var init_trafficGet2 = __esm(() => {
|
|
80814
81510
|
init_trafficGet();
|
|
80815
81511
|
init_operations();
|
|
80816
81512
|
init_tools();
|
|
80817
|
-
|
|
81513
|
+
args115 = {
|
|
80818
81514
|
request: GetTrafficConsumptionRequest$inboundSchema
|
|
80819
81515
|
};
|
|
80820
81516
|
tool$trafficGet = {
|
|
80821
81517
|
name: "traffic-get",
|
|
80822
81518
|
description: `Retrieve traffic`,
|
|
80823
|
-
args:
|
|
80824
|
-
tool: async (client,
|
|
80825
|
-
const [result, apiCall] = await trafficGet(client,
|
|
81519
|
+
args: args115,
|
|
81520
|
+
tool: async (client, args116, ctx) => {
|
|
81521
|
+
const [result, apiCall] = await trafficGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80826
81522
|
if (!result.ok) {
|
|
80827
81523
|
return {
|
|
80828
81524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80837,9 +81533,9 @@ var init_trafficGet2 = __esm(() => {
|
|
|
80837
81533
|
|
|
80838
81534
|
// src/funcs/trafficGetQuota.ts
|
|
80839
81535
|
function trafficGetQuota(client, request, options) {
|
|
80840
|
-
return new APIPromise($
|
|
81536
|
+
return new APIPromise($do122(client, request, options));
|
|
80841
81537
|
}
|
|
80842
|
-
async function $
|
|
81538
|
+
async function $do122(client, request, options) {
|
|
80843
81539
|
const parsed = safeParse4(request, (value) => GetTrafficQuotaRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
80844
81540
|
if (!parsed.ok) {
|
|
80845
81541
|
return [parsed, { status: "invalid" }];
|
|
@@ -80913,20 +81609,20 @@ var init_trafficGetQuota = __esm(() => {
|
|
|
80913
81609
|
});
|
|
80914
81610
|
|
|
80915
81611
|
// src/mcp-server/tools/trafficGetQuota.ts
|
|
80916
|
-
var
|
|
81612
|
+
var args116, tool$trafficGetQuota;
|
|
80917
81613
|
var init_trafficGetQuota2 = __esm(() => {
|
|
80918
81614
|
init_trafficGetQuota();
|
|
80919
81615
|
init_operations();
|
|
80920
81616
|
init_tools();
|
|
80921
|
-
|
|
81617
|
+
args116 = {
|
|
80922
81618
|
request: GetTrafficQuotaRequest$inboundSchema.optional()
|
|
80923
81619
|
};
|
|
80924
81620
|
tool$trafficGetQuota = {
|
|
80925
81621
|
name: "traffic-get-quota",
|
|
80926
81622
|
description: `Retrieve traffic quota`,
|
|
80927
|
-
args:
|
|
80928
|
-
tool: async (client,
|
|
80929
|
-
const [result, apiCall] = await trafficGetQuota(client,
|
|
81623
|
+
args: args116,
|
|
81624
|
+
tool: async (client, args117, ctx) => {
|
|
81625
|
+
const [result, apiCall] = await trafficGetQuota(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80930
81626
|
if (!result.ok) {
|
|
80931
81627
|
return {
|
|
80932
81628
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80941,9 +81637,9 @@ var init_trafficGetQuota2 = __esm(() => {
|
|
|
80941
81637
|
|
|
80942
81638
|
// src/funcs/userDataCreate.ts
|
|
80943
81639
|
function userDataCreate(client, request, options) {
|
|
80944
|
-
return new APIPromise($
|
|
81640
|
+
return new APIPromise($do123(client, request, options));
|
|
80945
81641
|
}
|
|
80946
|
-
async function $
|
|
81642
|
+
async function $do123(client, request, options) {
|
|
80947
81643
|
const parsed = safeParse4(request, (value) => PostProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80948
81644
|
if (!parsed.ok) {
|
|
80949
81645
|
return [parsed, { status: "invalid" }];
|
|
@@ -81020,12 +81716,12 @@ var init_userDataCreate = __esm(() => {
|
|
|
81020
81716
|
});
|
|
81021
81717
|
|
|
81022
81718
|
// src/mcp-server/tools/userDataCreate.ts
|
|
81023
|
-
var
|
|
81719
|
+
var args117, tool$userDataCreate;
|
|
81024
81720
|
var init_userDataCreate2 = __esm(() => {
|
|
81025
81721
|
init_userDataCreate();
|
|
81026
81722
|
init_operations();
|
|
81027
81723
|
init_tools();
|
|
81028
|
-
|
|
81724
|
+
args117 = {
|
|
81029
81725
|
request: PostProjectUserDataRequest$inboundSchema
|
|
81030
81726
|
};
|
|
81031
81727
|
tool$userDataCreate = {
|
|
@@ -81034,9 +81730,9 @@ var init_userDataCreate2 = __esm(() => {
|
|
|
81034
81730
|
|
|
81035
81731
|
Allows you to create User Data in a project, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
81036
81732
|
`,
|
|
81037
|
-
args:
|
|
81038
|
-
tool: async (client,
|
|
81039
|
-
const [result, apiCall] = await userDataCreate(client,
|
|
81733
|
+
args: args117,
|
|
81734
|
+
tool: async (client, args118, ctx) => {
|
|
81735
|
+
const [result, apiCall] = await userDataCreate(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81040
81736
|
if (!result.ok) {
|
|
81041
81737
|
return {
|
|
81042
81738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81051,9 +81747,9 @@ Allows you to create User Data in a project, which can be used to perform custom
|
|
|
81051
81747
|
|
|
81052
81748
|
// src/funcs/userDataCreateNew.ts
|
|
81053
81749
|
function userDataCreateNew(client, request, options) {
|
|
81054
|
-
return new APIPromise($
|
|
81750
|
+
return new APIPromise($do124(client, request, options));
|
|
81055
81751
|
}
|
|
81056
|
-
async function $
|
|
81752
|
+
async function $do124(client, request, options) {
|
|
81057
81753
|
const parsed = safeParse4(request, (value) => PostUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81058
81754
|
if (!parsed.ok) {
|
|
81059
81755
|
return [parsed, { status: "invalid" }];
|
|
@@ -81124,12 +81820,12 @@ var init_userDataCreateNew = __esm(() => {
|
|
|
81124
81820
|
});
|
|
81125
81821
|
|
|
81126
81822
|
// src/mcp-server/tools/userDataCreateNew.ts
|
|
81127
|
-
var
|
|
81823
|
+
var args118, tool$userDataCreateNew;
|
|
81128
81824
|
var init_userDataCreateNew2 = __esm(() => {
|
|
81129
81825
|
init_userDataCreateNew();
|
|
81130
81826
|
init_operations();
|
|
81131
81827
|
init_tools();
|
|
81132
|
-
|
|
81828
|
+
args118 = {
|
|
81133
81829
|
request: PostUserDataRequest$inboundSchema
|
|
81134
81830
|
};
|
|
81135
81831
|
tool$userDataCreateNew = {
|
|
@@ -81138,9 +81834,9 @@ var init_userDataCreateNew2 = __esm(() => {
|
|
|
81138
81834
|
|
|
81139
81835
|
Allows you to create User Data in a team, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
81140
81836
|
`,
|
|
81141
|
-
args:
|
|
81142
|
-
tool: async (client,
|
|
81143
|
-
const [result, apiCall] = await userDataCreateNew(client,
|
|
81837
|
+
args: args118,
|
|
81838
|
+
tool: async (client, args119, ctx) => {
|
|
81839
|
+
const [result, apiCall] = await userDataCreateNew(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81144
81840
|
if (!result.ok) {
|
|
81145
81841
|
return {
|
|
81146
81842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81155,9 +81851,9 @@ Allows you to create User Data in a team, which can be used to perform custom se
|
|
|
81155
81851
|
|
|
81156
81852
|
// src/funcs/userDataDelete.ts
|
|
81157
81853
|
function userDataDelete(client, request, options) {
|
|
81158
|
-
return new APIPromise($
|
|
81854
|
+
return new APIPromise($do125(client, request, options));
|
|
81159
81855
|
}
|
|
81160
|
-
async function $
|
|
81856
|
+
async function $do125(client, request, options) {
|
|
81161
81857
|
const parsed = safeParse4(request, (value) => DeleteUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81162
81858
|
if (!parsed.ok) {
|
|
81163
81859
|
return [parsed, { status: "invalid" }];
|
|
@@ -81231,20 +81927,20 @@ var init_userDataDelete = __esm(() => {
|
|
|
81231
81927
|
});
|
|
81232
81928
|
|
|
81233
81929
|
// src/mcp-server/tools/userDataDelete.ts
|
|
81234
|
-
var
|
|
81930
|
+
var args119, tool$userDataDelete;
|
|
81235
81931
|
var init_userDataDelete2 = __esm(() => {
|
|
81236
81932
|
init_userDataDelete();
|
|
81237
81933
|
init_operations();
|
|
81238
81934
|
init_tools();
|
|
81239
|
-
|
|
81935
|
+
args119 = {
|
|
81240
81936
|
request: DeleteUserDataRequest$inboundSchema
|
|
81241
81937
|
};
|
|
81242
81938
|
tool$userDataDelete = {
|
|
81243
81939
|
name: "user-data-delete",
|
|
81244
81940
|
description: `Delete user data`,
|
|
81245
|
-
args:
|
|
81246
|
-
tool: async (client,
|
|
81247
|
-
const [result, apiCall] = await userDataDelete(client,
|
|
81941
|
+
args: args119,
|
|
81942
|
+
tool: async (client, args120, ctx) => {
|
|
81943
|
+
const [result, apiCall] = await userDataDelete(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81248
81944
|
if (!result.ok) {
|
|
81249
81945
|
return {
|
|
81250
81946
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81258,9 +81954,9 @@ var init_userDataDelete2 = __esm(() => {
|
|
|
81258
81954
|
|
|
81259
81955
|
// src/funcs/userDataDeleteProjectUserData.ts
|
|
81260
81956
|
function userDataDeleteProjectUserData(client, request, options) {
|
|
81261
|
-
return new APIPromise($
|
|
81957
|
+
return new APIPromise($do126(client, request, options));
|
|
81262
81958
|
}
|
|
81263
|
-
async function $
|
|
81959
|
+
async function $do126(client, request, options) {
|
|
81264
81960
|
const parsed = safeParse4(request, (value) => DeleteProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81265
81961
|
if (!parsed.ok) {
|
|
81266
81962
|
return [parsed, { status: "invalid" }];
|
|
@@ -81338,12 +82034,12 @@ var init_userDataDeleteProjectUserData = __esm(() => {
|
|
|
81338
82034
|
});
|
|
81339
82035
|
|
|
81340
82036
|
// src/mcp-server/tools/userDataDeleteProjectUserData.ts
|
|
81341
|
-
var
|
|
82037
|
+
var args120, tool$userDataDeleteProjectUserData;
|
|
81342
82038
|
var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
81343
82039
|
init_userDataDeleteProjectUserData();
|
|
81344
82040
|
init_operations();
|
|
81345
82041
|
init_tools();
|
|
81346
|
-
|
|
82042
|
+
args120 = {
|
|
81347
82043
|
request: DeleteProjectUserDataRequest$inboundSchema
|
|
81348
82044
|
};
|
|
81349
82045
|
tool$userDataDeleteProjectUserData = {
|
|
@@ -81352,9 +82048,9 @@ var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
|
81352
82048
|
|
|
81353
82049
|
Allow you remove User Data in a project.
|
|
81354
82050
|
`,
|
|
81355
|
-
args:
|
|
81356
|
-
tool: async (client,
|
|
81357
|
-
const [result, apiCall] = await userDataDeleteProjectUserData(client,
|
|
82051
|
+
args: args120,
|
|
82052
|
+
tool: async (client, args121, ctx) => {
|
|
82053
|
+
const [result, apiCall] = await userDataDeleteProjectUserData(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81358
82054
|
if (!result.ok) {
|
|
81359
82055
|
return {
|
|
81360
82056
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81368,9 +82064,9 @@ Allow you remove User Data in a project.
|
|
|
81368
82064
|
|
|
81369
82065
|
// src/funcs/userDataGetProjectUserData.ts
|
|
81370
82066
|
function userDataGetProjectUserData(client, request, options) {
|
|
81371
|
-
return new APIPromise($
|
|
82067
|
+
return new APIPromise($do127(client, request, options));
|
|
81372
82068
|
}
|
|
81373
|
-
async function $
|
|
82069
|
+
async function $do127(client, request, options) {
|
|
81374
82070
|
const parsed = safeParse4(request, (value) => GetProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81375
82071
|
if (!parsed.ok) {
|
|
81376
82072
|
return [parsed, { status: "invalid" }];
|
|
@@ -81454,12 +82150,12 @@ var init_userDataGetProjectUserData = __esm(() => {
|
|
|
81454
82150
|
});
|
|
81455
82151
|
|
|
81456
82152
|
// src/mcp-server/tools/userDataGetProjectUserData.ts
|
|
81457
|
-
var
|
|
82153
|
+
var args121, tool$userDataGetProjectUserData;
|
|
81458
82154
|
var init_userDataGetProjectUserData2 = __esm(() => {
|
|
81459
82155
|
init_userDataGetProjectUserData();
|
|
81460
82156
|
init_operations();
|
|
81461
82157
|
init_tools();
|
|
81462
|
-
|
|
82158
|
+
args121 = {
|
|
81463
82159
|
request: GetProjectUserDataRequest$inboundSchema
|
|
81464
82160
|
};
|
|
81465
82161
|
tool$userDataGetProjectUserData = {
|
|
@@ -81468,9 +82164,9 @@ var init_userDataGetProjectUserData2 = __esm(() => {
|
|
|
81468
82164
|
|
|
81469
82165
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
81470
82166
|
`,
|
|
81471
|
-
args:
|
|
81472
|
-
tool: async (client,
|
|
81473
|
-
const [result, apiCall] = await userDataGetProjectUserData(client,
|
|
82167
|
+
args: args121,
|
|
82168
|
+
tool: async (client, args122, ctx) => {
|
|
82169
|
+
const [result, apiCall] = await userDataGetProjectUserData(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81474
82170
|
if (!result.ok) {
|
|
81475
82171
|
return {
|
|
81476
82172
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81485,9 +82181,9 @@ Get User Data in the project. These scripts can be used to configure servers wit
|
|
|
81485
82181
|
|
|
81486
82182
|
// src/funcs/userDataGetProjectUsersData.ts
|
|
81487
82183
|
function userDataGetProjectUsersData(client, request, options) {
|
|
81488
|
-
return new APIPromise($
|
|
82184
|
+
return new APIPromise($do128(client, request, options));
|
|
81489
82185
|
}
|
|
81490
|
-
async function $
|
|
82186
|
+
async function $do128(client, request, options) {
|
|
81491
82187
|
const parsed = safeParse4(request, (value) => GetProjectUsersDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81492
82188
|
if (!parsed.ok) {
|
|
81493
82189
|
return [parsed, { status: "invalid" }];
|
|
@@ -81567,12 +82263,12 @@ var init_userDataGetProjectUsersData = __esm(() => {
|
|
|
81567
82263
|
});
|
|
81568
82264
|
|
|
81569
82265
|
// src/mcp-server/tools/userDataGetProjectUsersData.ts
|
|
81570
|
-
var
|
|
82266
|
+
var args122, tool$userDataGetProjectUsersData;
|
|
81571
82267
|
var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
81572
82268
|
init_userDataGetProjectUsersData();
|
|
81573
82269
|
init_operations();
|
|
81574
82270
|
init_tools();
|
|
81575
|
-
|
|
82271
|
+
args122 = {
|
|
81576
82272
|
request: GetProjectUsersDataRequest$inboundSchema
|
|
81577
82273
|
};
|
|
81578
82274
|
tool$userDataGetProjectUsersData = {
|
|
@@ -81581,9 +82277,9 @@ var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
|
81581
82277
|
|
|
81582
82278
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
81583
82279
|
`,
|
|
81584
|
-
args:
|
|
81585
|
-
tool: async (client,
|
|
81586
|
-
const [result, apiCall] = await userDataGetProjectUsersData(client,
|
|
82280
|
+
args: args122,
|
|
82281
|
+
tool: async (client, args123, ctx) => {
|
|
82282
|
+
const [result, apiCall] = await userDataGetProjectUsersData(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81587
82283
|
if (!result.ok) {
|
|
81588
82284
|
return {
|
|
81589
82285
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81598,9 +82294,9 @@ List all Users Data in the project. These scripts can be used to configure serve
|
|
|
81598
82294
|
|
|
81599
82295
|
// src/funcs/userDataList.ts
|
|
81600
82296
|
function userDataList(client, request, options) {
|
|
81601
|
-
return new APIPromise($
|
|
82297
|
+
return new APIPromise($do129(client, request, options));
|
|
81602
82298
|
}
|
|
81603
|
-
async function $
|
|
82299
|
+
async function $do129(client, request, options) {
|
|
81604
82300
|
const parsed = safeParse4(request, (value) => GetUsersDataRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
81605
82301
|
if (!parsed.ok) {
|
|
81606
82302
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -81712,12 +82408,12 @@ var init_userDataList = __esm(() => {
|
|
|
81712
82408
|
});
|
|
81713
82409
|
|
|
81714
82410
|
// src/mcp-server/tools/userDataList.ts
|
|
81715
|
-
var
|
|
82411
|
+
var args123, tool$userDataList;
|
|
81716
82412
|
var init_userDataList2 = __esm(() => {
|
|
81717
82413
|
init_userDataList();
|
|
81718
82414
|
init_operations();
|
|
81719
82415
|
init_tools();
|
|
81720
|
-
|
|
82416
|
+
args123 = {
|
|
81721
82417
|
request: GetUsersDataRequest$inboundSchema.optional()
|
|
81722
82418
|
};
|
|
81723
82419
|
tool$userDataList = {
|
|
@@ -81726,9 +82422,9 @@ var init_userDataList2 = __esm(() => {
|
|
|
81726
82422
|
|
|
81727
82423
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
81728
82424
|
`,
|
|
81729
|
-
args:
|
|
81730
|
-
tool: async (client,
|
|
81731
|
-
const [result, apiCall] = await userDataList(client,
|
|
82425
|
+
args: args123,
|
|
82426
|
+
tool: async (client, args124, ctx) => {
|
|
82427
|
+
const [result, apiCall] = await userDataList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81732
82428
|
if (!result.ok) {
|
|
81733
82429
|
return {
|
|
81734
82430
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81743,9 +82439,9 @@ List all Users Data in the project. These scripts can be used to configure serve
|
|
|
81743
82439
|
|
|
81744
82440
|
// src/funcs/userDataRetrieve.ts
|
|
81745
82441
|
function userDataRetrieve(client, request, options) {
|
|
81746
|
-
return new APIPromise($
|
|
82442
|
+
return new APIPromise($do130(client, request, options));
|
|
81747
82443
|
}
|
|
81748
|
-
async function $
|
|
82444
|
+
async function $do130(client, request, options) {
|
|
81749
82445
|
const parsed = safeParse4(request, (value) => GetUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81750
82446
|
if (!parsed.ok) {
|
|
81751
82447
|
return [parsed, { status: "invalid" }];
|
|
@@ -81825,12 +82521,12 @@ var init_userDataRetrieve = __esm(() => {
|
|
|
81825
82521
|
});
|
|
81826
82522
|
|
|
81827
82523
|
// src/mcp-server/tools/userDataRetrieve.ts
|
|
81828
|
-
var
|
|
82524
|
+
var args124, tool$userDataRetrieve;
|
|
81829
82525
|
var init_userDataRetrieve2 = __esm(() => {
|
|
81830
82526
|
init_userDataRetrieve();
|
|
81831
82527
|
init_operations();
|
|
81832
82528
|
init_tools();
|
|
81833
|
-
|
|
82529
|
+
args124 = {
|
|
81834
82530
|
request: GetUserDataRequest$inboundSchema
|
|
81835
82531
|
};
|
|
81836
82532
|
tool$userDataRetrieve = {
|
|
@@ -81839,9 +82535,9 @@ var init_userDataRetrieve2 = __esm(() => {
|
|
|
81839
82535
|
|
|
81840
82536
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
81841
82537
|
`,
|
|
81842
|
-
args:
|
|
81843
|
-
tool: async (client,
|
|
81844
|
-
const [result, apiCall] = await userDataRetrieve(client,
|
|
82538
|
+
args: args124,
|
|
82539
|
+
tool: async (client, args125, ctx) => {
|
|
82540
|
+
const [result, apiCall] = await userDataRetrieve(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81845
82541
|
if (!result.ok) {
|
|
81846
82542
|
return {
|
|
81847
82543
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81856,9 +82552,9 @@ Get User Data in the project. These scripts can be used to configure servers wit
|
|
|
81856
82552
|
|
|
81857
82553
|
// src/funcs/userDataUpdate.ts
|
|
81858
82554
|
function userDataUpdate(client, request, options) {
|
|
81859
|
-
return new APIPromise($
|
|
82555
|
+
return new APIPromise($do131(client, request, options));
|
|
81860
82556
|
}
|
|
81861
|
-
async function $
|
|
82557
|
+
async function $do131(client, request, options) {
|
|
81862
82558
|
const parsed = safeParse4(request, (value) => PatchUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81863
82559
|
if (!parsed.ok) {
|
|
81864
82560
|
return [parsed, { status: "invalid" }];
|
|
@@ -81935,12 +82631,12 @@ var init_userDataUpdate = __esm(() => {
|
|
|
81935
82631
|
});
|
|
81936
82632
|
|
|
81937
82633
|
// src/mcp-server/tools/userDataUpdate.ts
|
|
81938
|
-
var
|
|
82634
|
+
var args125, tool$userDataUpdate;
|
|
81939
82635
|
var init_userDataUpdate2 = __esm(() => {
|
|
81940
82636
|
init_userDataUpdate();
|
|
81941
82637
|
init_operations();
|
|
81942
82638
|
init_tools();
|
|
81943
|
-
|
|
82639
|
+
args125 = {
|
|
81944
82640
|
request: PatchUserDataRequest$inboundSchema
|
|
81945
82641
|
};
|
|
81946
82642
|
tool$userDataUpdate = {
|
|
@@ -81949,9 +82645,9 @@ var init_userDataUpdate2 = __esm(() => {
|
|
|
81949
82645
|
|
|
81950
82646
|
Allow you update User Data in a team.
|
|
81951
82647
|
`,
|
|
81952
|
-
args:
|
|
81953
|
-
tool: async (client,
|
|
81954
|
-
const [result, apiCall] = await userDataUpdate(client,
|
|
82648
|
+
args: args125,
|
|
82649
|
+
tool: async (client, args126, ctx) => {
|
|
82650
|
+
const [result, apiCall] = await userDataUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81955
82651
|
if (!result.ok) {
|
|
81956
82652
|
return {
|
|
81957
82653
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81966,9 +82662,9 @@ Allow you update User Data in a team.
|
|
|
81966
82662
|
|
|
81967
82663
|
// src/funcs/userDataUpdateForProject.ts
|
|
81968
82664
|
function userDataUpdateForProject(client, request, options) {
|
|
81969
|
-
return new APIPromise($
|
|
82665
|
+
return new APIPromise($do132(client, request, options));
|
|
81970
82666
|
}
|
|
81971
|
-
async function $
|
|
82667
|
+
async function $do132(client, request, options) {
|
|
81972
82668
|
const parsed = safeParse4(request, (value) => PutProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81973
82669
|
if (!parsed.ok) {
|
|
81974
82670
|
return [parsed, { status: "invalid" }];
|
|
@@ -82049,12 +82745,12 @@ var init_userDataUpdateForProject = __esm(() => {
|
|
|
82049
82745
|
});
|
|
82050
82746
|
|
|
82051
82747
|
// src/mcp-server/tools/userDataUpdateForProject.ts
|
|
82052
|
-
var
|
|
82748
|
+
var args126, tool$userDataUpdateForProject;
|
|
82053
82749
|
var init_userDataUpdateForProject2 = __esm(() => {
|
|
82054
82750
|
init_userDataUpdateForProject();
|
|
82055
82751
|
init_operations();
|
|
82056
82752
|
init_tools();
|
|
82057
|
-
|
|
82753
|
+
args126 = {
|
|
82058
82754
|
request: PutProjectUserDataRequest$inboundSchema
|
|
82059
82755
|
};
|
|
82060
82756
|
tool$userDataUpdateForProject = {
|
|
@@ -82063,9 +82759,9 @@ var init_userDataUpdateForProject2 = __esm(() => {
|
|
|
82063
82759
|
|
|
82064
82760
|
Allow you update User Data in a project.
|
|
82065
82761
|
`,
|
|
82066
|
-
args:
|
|
82067
|
-
tool: async (client,
|
|
82068
|
-
const [result, apiCall] = await userDataUpdateForProject(client,
|
|
82762
|
+
args: args126,
|
|
82763
|
+
tool: async (client, args127, ctx) => {
|
|
82764
|
+
const [result, apiCall] = await userDataUpdateForProject(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82069
82765
|
if (!result.ok) {
|
|
82070
82766
|
return {
|
|
82071
82767
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82080,9 +82776,9 @@ Allow you update User Data in a project.
|
|
|
82080
82776
|
|
|
82081
82777
|
// src/funcs/userProfileGet.ts
|
|
82082
82778
|
function userProfileGet(client, options) {
|
|
82083
|
-
return new APIPromise($
|
|
82779
|
+
return new APIPromise($do133(client, options));
|
|
82084
82780
|
}
|
|
82085
|
-
async function $
|
|
82781
|
+
async function $do133(client, options) {
|
|
82086
82782
|
const path = pathToFunc("/user/profile")();
|
|
82087
82783
|
const headers = new Headers(compactMap({
|
|
82088
82784
|
Accept: "application/vnd.api+json"
|
|
@@ -82168,9 +82864,9 @@ Retrieve the current user profile
|
|
|
82168
82864
|
|
|
82169
82865
|
// src/funcs/userProfileListTeams.ts
|
|
82170
82866
|
function userProfileListTeams(client, options) {
|
|
82171
|
-
return new APIPromise($
|
|
82867
|
+
return new APIPromise($do134(client, options));
|
|
82172
82868
|
}
|
|
82173
|
-
async function $
|
|
82869
|
+
async function $do134(client, options) {
|
|
82174
82870
|
const path = pathToFunc("/user/teams")();
|
|
82175
82871
|
const headers = new Headers(compactMap({
|
|
82176
82872
|
Accept: "application/vnd.api+json"
|
|
@@ -82256,9 +82952,9 @@ Returns a list of all teams the user belongs to
|
|
|
82256
82952
|
|
|
82257
82953
|
// src/funcs/userProfileUpdate.ts
|
|
82258
82954
|
function userProfileUpdate(client, request, options) {
|
|
82259
|
-
return new APIPromise($
|
|
82955
|
+
return new APIPromise($do135(client, request, options));
|
|
82260
82956
|
}
|
|
82261
|
-
async function $
|
|
82957
|
+
async function $do135(client, request, options) {
|
|
82262
82958
|
const parsed = safeParse4(request, (value) => PatchUserProfileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82263
82959
|
if (!parsed.ok) {
|
|
82264
82960
|
return [parsed, { status: "invalid" }];
|
|
@@ -82334,12 +83030,12 @@ var init_userProfileUpdate = __esm(() => {
|
|
|
82334
83030
|
});
|
|
82335
83031
|
|
|
82336
83032
|
// src/mcp-server/tools/userProfileUpdate.ts
|
|
82337
|
-
var
|
|
83033
|
+
var args127, tool$userProfileUpdate;
|
|
82338
83034
|
var init_userProfileUpdate2 = __esm(() => {
|
|
82339
83035
|
init_userProfileUpdate();
|
|
82340
83036
|
init_operations();
|
|
82341
83037
|
init_tools();
|
|
82342
|
-
|
|
83038
|
+
args127 = {
|
|
82343
83039
|
request: PatchUserProfileRequest$inboundSchema
|
|
82344
83040
|
};
|
|
82345
83041
|
tool$userProfileUpdate = {
|
|
@@ -82348,9 +83044,9 @@ var init_userProfileUpdate2 = __esm(() => {
|
|
|
82348
83044
|
|
|
82349
83045
|
Update the current user profile
|
|
82350
83046
|
`,
|
|
82351
|
-
args:
|
|
82352
|
-
tool: async (client,
|
|
82353
|
-
const [result, apiCall] = await userProfileUpdate(client,
|
|
83047
|
+
args: args127,
|
|
83048
|
+
tool: async (client, args128, ctx) => {
|
|
83049
|
+
const [result, apiCall] = await userProfileUpdate(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82354
83050
|
if (!result.ok) {
|
|
82355
83051
|
return {
|
|
82356
83052
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82365,9 +83061,9 @@ Update the current user profile
|
|
|
82365
83061
|
|
|
82366
83062
|
// src/funcs/virtualMachineBackupsCreate.ts
|
|
82367
83063
|
function virtualMachineBackupsCreate(client, request, options) {
|
|
82368
|
-
return new APIPromise($
|
|
83064
|
+
return new APIPromise($do136(client, request, options));
|
|
82369
83065
|
}
|
|
82370
|
-
async function $
|
|
83066
|
+
async function $do136(client, request, options) {
|
|
82371
83067
|
const parsed = safeParse4(request, (value) => VirtualMachineBackupPayload$outboundSchema.parse(value), "Input validation failed");
|
|
82372
83068
|
if (!parsed.ok) {
|
|
82373
83069
|
return [parsed, { status: "invalid" }];
|
|
@@ -82443,12 +83139,12 @@ var init_virtualMachineBackupsCreate = __esm(() => {
|
|
|
82443
83139
|
});
|
|
82444
83140
|
|
|
82445
83141
|
// src/mcp-server/tools/virtualMachineBackupsCreate.ts
|
|
82446
|
-
var
|
|
83142
|
+
var args128, tool$virtualMachineBackupsCreate;
|
|
82447
83143
|
var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
82448
83144
|
init_virtualMachineBackupsCreate();
|
|
82449
83145
|
init_models();
|
|
82450
83146
|
init_tools();
|
|
82451
|
-
|
|
83147
|
+
args128 = {
|
|
82452
83148
|
request: VirtualMachineBackupPayload$inboundSchema
|
|
82453
83149
|
};
|
|
82454
83150
|
tool$virtualMachineBackupsCreate = {
|
|
@@ -82457,9 +83153,9 @@ var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
|
82457
83153
|
|
|
82458
83154
|
Triggers a backup of the Virtual Machine referenced in the body.
|
|
82459
83155
|
`,
|
|
82460
|
-
args:
|
|
82461
|
-
tool: async (client,
|
|
82462
|
-
const [result, apiCall] = await virtualMachineBackupsCreate(client,
|
|
83156
|
+
args: args128,
|
|
83157
|
+
tool: async (client, args129, ctx) => {
|
|
83158
|
+
const [result, apiCall] = await virtualMachineBackupsCreate(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82463
83159
|
if (!result.ok) {
|
|
82464
83160
|
return {
|
|
82465
83161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82474,9 +83170,9 @@ Triggers a backup of the Virtual Machine referenced in the body.
|
|
|
82474
83170
|
|
|
82475
83171
|
// src/funcs/virtualMachineBackupsCreateForVirtualMachine.ts
|
|
82476
83172
|
function virtualMachineBackupsCreateForVirtualMachine(client, request, options) {
|
|
82477
|
-
return new APIPromise($
|
|
83173
|
+
return new APIPromise($do137(client, request, options));
|
|
82478
83174
|
}
|
|
82479
|
-
async function $
|
|
83175
|
+
async function $do137(client, request, options) {
|
|
82480
83176
|
const parsed = safeParse4(request, (value) => CreateVirtualMachineBackupRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82481
83177
|
if (!parsed.ok) {
|
|
82482
83178
|
return [parsed, { status: "invalid" }];
|
|
@@ -82555,12 +83251,12 @@ var init_virtualMachineBackupsCreateForVirtualMachine = __esm(() => {
|
|
|
82555
83251
|
});
|
|
82556
83252
|
|
|
82557
83253
|
// src/mcp-server/tools/virtualMachineBackupsCreateForVirtualMachine.ts
|
|
82558
|
-
var
|
|
83254
|
+
var args129, tool$virtualMachineBackupsCreateForVirtualMachine;
|
|
82559
83255
|
var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
82560
83256
|
init_virtualMachineBackupsCreateForVirtualMachine();
|
|
82561
83257
|
init_operations();
|
|
82562
83258
|
init_tools();
|
|
82563
|
-
|
|
83259
|
+
args129 = {
|
|
82564
83260
|
request: CreateVirtualMachineBackupRequest$inboundSchema
|
|
82565
83261
|
};
|
|
82566
83262
|
tool$virtualMachineBackupsCreateForVirtualMachine = {
|
|
@@ -82569,9 +83265,9 @@ var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
|
82569
83265
|
|
|
82570
83266
|
Triggers a backup of the given Virtual Machine.
|
|
82571
83267
|
`,
|
|
82572
|
-
args:
|
|
82573
|
-
tool: async (client,
|
|
82574
|
-
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client,
|
|
83268
|
+
args: args129,
|
|
83269
|
+
tool: async (client, args130, ctx) => {
|
|
83270
|
+
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82575
83271
|
if (!result.ok) {
|
|
82576
83272
|
return {
|
|
82577
83273
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82586,9 +83282,9 @@ Triggers a backup of the given Virtual Machine.
|
|
|
82586
83282
|
|
|
82587
83283
|
// src/funcs/virtualMachineBackupsDelete.ts
|
|
82588
83284
|
function virtualMachineBackupsDelete(client, request, options) {
|
|
82589
|
-
return new APIPromise($
|
|
83285
|
+
return new APIPromise($do138(client, request, options));
|
|
82590
83286
|
}
|
|
82591
|
-
async function $
|
|
83287
|
+
async function $do138(client, request, options) {
|
|
82592
83288
|
const parsed = safeParse4(request, (value) => DeleteVirtualMachineBackupRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82593
83289
|
if (!parsed.ok) {
|
|
82594
83290
|
return [parsed, { status: "invalid" }];
|
|
@@ -82670,12 +83366,12 @@ var init_virtualMachineBackupsDelete = __esm(() => {
|
|
|
82670
83366
|
});
|
|
82671
83367
|
|
|
82672
83368
|
// src/mcp-server/tools/virtualMachineBackupsDelete.ts
|
|
82673
|
-
var
|
|
83369
|
+
var args130, tool$virtualMachineBackupsDelete;
|
|
82674
83370
|
var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
82675
83371
|
init_virtualMachineBackupsDelete();
|
|
82676
83372
|
init_operations();
|
|
82677
83373
|
init_tools();
|
|
82678
|
-
|
|
83374
|
+
args130 = {
|
|
82679
83375
|
request: DeleteVirtualMachineBackupRequest$inboundSchema
|
|
82680
83376
|
};
|
|
82681
83377
|
tool$virtualMachineBackupsDelete = {
|
|
@@ -82684,9 +83380,9 @@ var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
|
82684
83380
|
|
|
82685
83381
|
Archives and deletes a Virtual Machine backup. Work runs asynchronously and returns 202 Accepted. Only \`Ready\` or \`Failed\` backups can be deleted, and not while a restore from the backup is in progress.
|
|
82686
83382
|
`,
|
|
82687
|
-
args:
|
|
82688
|
-
tool: async (client,
|
|
82689
|
-
const [result, apiCall] = await virtualMachineBackupsDelete(client,
|
|
83383
|
+
args: args130,
|
|
83384
|
+
tool: async (client, args131, ctx) => {
|
|
83385
|
+
const [result, apiCall] = await virtualMachineBackupsDelete(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82690
83386
|
if (!result.ok) {
|
|
82691
83387
|
return {
|
|
82692
83388
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82701,9 +83397,9 @@ Archives and deletes a Virtual Machine backup. Work runs asynchronously and retu
|
|
|
82701
83397
|
|
|
82702
83398
|
// src/funcs/virtualMachineBackupsGet.ts
|
|
82703
83399
|
function virtualMachineBackupsGet(client, request, options) {
|
|
82704
|
-
return new APIPromise($
|
|
83400
|
+
return new APIPromise($do139(client, request, options));
|
|
82705
83401
|
}
|
|
82706
|
-
async function $
|
|
83402
|
+
async function $do139(client, request, options) {
|
|
82707
83403
|
const parsed = safeParse4(request, (value) => GetVirtualMachineBackupRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82708
83404
|
if (!parsed.ok) {
|
|
82709
83405
|
return [parsed, { status: "invalid" }];
|
|
@@ -82785,20 +83481,20 @@ var init_virtualMachineBackupsGet = __esm(() => {
|
|
|
82785
83481
|
});
|
|
82786
83482
|
|
|
82787
83483
|
// src/mcp-server/tools/virtualMachineBackupsGet.ts
|
|
82788
|
-
var
|
|
83484
|
+
var args131, tool$virtualMachineBackupsGet;
|
|
82789
83485
|
var init_virtualMachineBackupsGet2 = __esm(() => {
|
|
82790
83486
|
init_virtualMachineBackupsGet();
|
|
82791
83487
|
init_operations();
|
|
82792
83488
|
init_tools();
|
|
82793
|
-
|
|
83489
|
+
args131 = {
|
|
82794
83490
|
request: GetVirtualMachineBackupRequest$inboundSchema
|
|
82795
83491
|
};
|
|
82796
83492
|
tool$virtualMachineBackupsGet = {
|
|
82797
83493
|
name: "virtual-machine-backups-get",
|
|
82798
83494
|
description: `Get VM backup`,
|
|
82799
|
-
args:
|
|
82800
|
-
tool: async (client,
|
|
82801
|
-
const [result, apiCall] = await virtualMachineBackupsGet(client,
|
|
83495
|
+
args: args131,
|
|
83496
|
+
tool: async (client, args132, ctx) => {
|
|
83497
|
+
const [result, apiCall] = await virtualMachineBackupsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82802
83498
|
if (!result.ok) {
|
|
82803
83499
|
return {
|
|
82804
83500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82813,9 +83509,9 @@ var init_virtualMachineBackupsGet2 = __esm(() => {
|
|
|
82813
83509
|
|
|
82814
83510
|
// src/funcs/virtualMachineBackupsList.ts
|
|
82815
83511
|
function virtualMachineBackupsList(client, options) {
|
|
82816
|
-
return new APIPromise($
|
|
83512
|
+
return new APIPromise($do140(client, options));
|
|
82817
83513
|
}
|
|
82818
|
-
async function $
|
|
83514
|
+
async function $do140(client, options) {
|
|
82819
83515
|
const path = pathToFunc("/virtual_machine_backups")();
|
|
82820
83516
|
const headers = new Headers(compactMap({
|
|
82821
83517
|
Accept: "application/vnd.api+json"
|
|
@@ -82907,9 +83603,9 @@ Lists every backup that belongs to the authenticated team.
|
|
|
82907
83603
|
|
|
82908
83604
|
// src/funcs/virtualMachineBackupsListForVirtualMachine.ts
|
|
82909
83605
|
function virtualMachineBackupsListForVirtualMachine(client, request, options) {
|
|
82910
|
-
return new APIPromise($
|
|
83606
|
+
return new APIPromise($do141(client, request, options));
|
|
82911
83607
|
}
|
|
82912
|
-
async function $
|
|
83608
|
+
async function $do141(client, request, options) {
|
|
82913
83609
|
const parsed = safeParse4(request, (value) => ListVirtualMachineScopedBackupsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82914
83610
|
if (!parsed.ok) {
|
|
82915
83611
|
return [parsed, { status: "invalid" }];
|
|
@@ -82988,12 +83684,12 @@ var init_virtualMachineBackupsListForVirtualMachine = __esm(() => {
|
|
|
82988
83684
|
});
|
|
82989
83685
|
|
|
82990
83686
|
// src/mcp-server/tools/virtualMachineBackupsListForVirtualMachine.ts
|
|
82991
|
-
var
|
|
83687
|
+
var args132, tool$virtualMachineBackupsListForVirtualMachine;
|
|
82992
83688
|
var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
82993
83689
|
init_virtualMachineBackupsListForVirtualMachine();
|
|
82994
83690
|
init_operations();
|
|
82995
83691
|
init_tools();
|
|
82996
|
-
|
|
83692
|
+
args132 = {
|
|
82997
83693
|
request: ListVirtualMachineScopedBackupsRequest$inboundSchema
|
|
82998
83694
|
};
|
|
82999
83695
|
tool$virtualMachineBackupsListForVirtualMachine = {
|
|
@@ -83002,9 +83698,9 @@ var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
|
83002
83698
|
|
|
83003
83699
|
Lists the backups of the given Virtual Machine.
|
|
83004
83700
|
`,
|
|
83005
|
-
args:
|
|
83006
|
-
tool: async (client,
|
|
83007
|
-
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client,
|
|
83701
|
+
args: args132,
|
|
83702
|
+
tool: async (client, args133, ctx) => {
|
|
83703
|
+
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83008
83704
|
if (!result.ok) {
|
|
83009
83705
|
return {
|
|
83010
83706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83019,9 +83715,9 @@ Lists the backups of the given Virtual Machine.
|
|
|
83019
83715
|
|
|
83020
83716
|
// src/funcs/virtualMachineRestoresCreate.ts
|
|
83021
83717
|
function virtualMachineRestoresCreate(client, request, options) {
|
|
83022
|
-
return new APIPromise($
|
|
83718
|
+
return new APIPromise($do142(client, request, options));
|
|
83023
83719
|
}
|
|
83024
|
-
async function $
|
|
83720
|
+
async function $do142(client, request, options) {
|
|
83025
83721
|
const parsed = safeParse4(request, (value) => VirtualMachineRestorePayload$outboundSchema.parse(value), "Input validation failed");
|
|
83026
83722
|
if (!parsed.ok) {
|
|
83027
83723
|
return [parsed, { status: "invalid" }];
|
|
@@ -83097,12 +83793,12 @@ var init_virtualMachineRestoresCreate = __esm(() => {
|
|
|
83097
83793
|
});
|
|
83098
83794
|
|
|
83099
83795
|
// src/mcp-server/tools/virtualMachineRestoresCreate.ts
|
|
83100
|
-
var
|
|
83796
|
+
var args133, tool$virtualMachineRestoresCreate;
|
|
83101
83797
|
var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
83102
83798
|
init_virtualMachineRestoresCreate();
|
|
83103
83799
|
init_models();
|
|
83104
83800
|
init_tools();
|
|
83105
|
-
|
|
83801
|
+
args133 = {
|
|
83106
83802
|
request: VirtualMachineRestorePayload$inboundSchema
|
|
83107
83803
|
};
|
|
83108
83804
|
tool$virtualMachineRestoresCreate = {
|
|
@@ -83111,9 +83807,9 @@ var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
|
83111
83807
|
|
|
83112
83808
|
Restores the backup referenced in the body into a new Virtual Machine. Optionally accepts a \`name\` for the restored VM and a target \`site\` slug to restore into another region.
|
|
83113
83809
|
`,
|
|
83114
|
-
args:
|
|
83115
|
-
tool: async (client,
|
|
83116
|
-
const [result, apiCall] = await virtualMachineRestoresCreate(client,
|
|
83810
|
+
args: args133,
|
|
83811
|
+
tool: async (client, args134, ctx) => {
|
|
83812
|
+
const [result, apiCall] = await virtualMachineRestoresCreate(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83117
83813
|
if (!result.ok) {
|
|
83118
83814
|
return {
|
|
83119
83815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83128,9 +83824,9 @@ Restores the backup referenced in the body into a new Virtual Machine. Optionall
|
|
|
83128
83824
|
|
|
83129
83825
|
// src/funcs/virtualMachineRestoresCreateForVirtualMachineBackup.ts
|
|
83130
83826
|
function virtualMachineRestoresCreateForVirtualMachineBackup(client, request, options) {
|
|
83131
|
-
return new APIPromise($
|
|
83827
|
+
return new APIPromise($do143(client, request, options));
|
|
83132
83828
|
}
|
|
83133
|
-
async function $
|
|
83829
|
+
async function $do143(client, request, options) {
|
|
83134
83830
|
const parsed = safeParse4(request, (value) => CreateVirtualMachineRestoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83135
83831
|
if (!parsed.ok) {
|
|
83136
83832
|
return [parsed, { status: "invalid" }];
|
|
@@ -83216,12 +83912,12 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup = __esm(() => {
|
|
|
83216
83912
|
});
|
|
83217
83913
|
|
|
83218
83914
|
// src/mcp-server/tools/virtualMachineRestoresCreateForVirtualMachineBackup.ts
|
|
83219
|
-
var
|
|
83915
|
+
var args134, tool$virtualMachineRestoresCreateForVirtualMachineBackup;
|
|
83220
83916
|
var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
83221
83917
|
init_virtualMachineRestoresCreateForVirtualMachineBackup();
|
|
83222
83918
|
init_operations();
|
|
83223
83919
|
init_tools();
|
|
83224
|
-
|
|
83920
|
+
args134 = {
|
|
83225
83921
|
request: CreateVirtualMachineRestoreRequest$inboundSchema
|
|
83226
83922
|
};
|
|
83227
83923
|
tool$virtualMachineRestoresCreateForVirtualMachineBackup = {
|
|
@@ -83230,9 +83926,9 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
|
83230
83926
|
|
|
83231
83927
|
Restores a backup into a new Virtual Machine. Optionally accepts a \`name\` for the restored VM and a target \`site\` slug to restore into another region.
|
|
83232
83928
|
`,
|
|
83233
|
-
args:
|
|
83234
|
-
tool: async (client,
|
|
83235
|
-
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client,
|
|
83929
|
+
args: args134,
|
|
83930
|
+
tool: async (client, args135, ctx) => {
|
|
83931
|
+
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83236
83932
|
if (!result.ok) {
|
|
83237
83933
|
return {
|
|
83238
83934
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83247,9 +83943,9 @@ Restores a backup into a new Virtual Machine. Optionally accepts a \`name\` for
|
|
|
83247
83943
|
|
|
83248
83944
|
// src/funcs/virtualMachineRestoresGet.ts
|
|
83249
83945
|
function virtualMachineRestoresGet(client, request, options) {
|
|
83250
|
-
return new APIPromise($
|
|
83946
|
+
return new APIPromise($do144(client, request, options));
|
|
83251
83947
|
}
|
|
83252
|
-
async function $
|
|
83948
|
+
async function $do144(client, request, options) {
|
|
83253
83949
|
const parsed = safeParse4(request, (value) => GetVirtualMachineRestoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83254
83950
|
if (!parsed.ok) {
|
|
83255
83951
|
return [parsed, { status: "invalid" }];
|
|
@@ -83331,20 +84027,20 @@ var init_virtualMachineRestoresGet = __esm(() => {
|
|
|
83331
84027
|
});
|
|
83332
84028
|
|
|
83333
84029
|
// src/mcp-server/tools/virtualMachineRestoresGet.ts
|
|
83334
|
-
var
|
|
84030
|
+
var args135, tool$virtualMachineRestoresGet;
|
|
83335
84031
|
var init_virtualMachineRestoresGet2 = __esm(() => {
|
|
83336
84032
|
init_virtualMachineRestoresGet();
|
|
83337
84033
|
init_operations();
|
|
83338
84034
|
init_tools();
|
|
83339
|
-
|
|
84035
|
+
args135 = {
|
|
83340
84036
|
request: GetVirtualMachineRestoreRequest$inboundSchema
|
|
83341
84037
|
};
|
|
83342
84038
|
tool$virtualMachineRestoresGet = {
|
|
83343
84039
|
name: "virtual-machine-restores-get",
|
|
83344
84040
|
description: `Get VM restore`,
|
|
83345
|
-
args:
|
|
83346
|
-
tool: async (client,
|
|
83347
|
-
const [result, apiCall] = await virtualMachineRestoresGet(client,
|
|
84041
|
+
args: args135,
|
|
84042
|
+
tool: async (client, args136, ctx) => {
|
|
84043
|
+
const [result, apiCall] = await virtualMachineRestoresGet(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83348
84044
|
if (!result.ok) {
|
|
83349
84045
|
return {
|
|
83350
84046
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83359,9 +84055,9 @@ var init_virtualMachineRestoresGet2 = __esm(() => {
|
|
|
83359
84055
|
|
|
83360
84056
|
// src/funcs/virtualMachineRestoresList.ts
|
|
83361
84057
|
function virtualMachineRestoresList(client, options) {
|
|
83362
|
-
return new APIPromise($
|
|
84058
|
+
return new APIPromise($do145(client, options));
|
|
83363
84059
|
}
|
|
83364
|
-
async function $
|
|
84060
|
+
async function $do145(client, options) {
|
|
83365
84061
|
const path = pathToFunc("/virtual_machine_restores")();
|
|
83366
84062
|
const headers = new Headers(compactMap({
|
|
83367
84063
|
Accept: "application/vnd.api+json"
|
|
@@ -83453,9 +84149,9 @@ Lists every restore that belongs to the authenticated team.
|
|
|
83453
84149
|
|
|
83454
84150
|
// src/funcs/virtualMachineRestoresListForBackup.ts
|
|
83455
84151
|
function virtualMachineRestoresListForBackup(client, request, options) {
|
|
83456
|
-
return new APIPromise($
|
|
84152
|
+
return new APIPromise($do146(client, request, options));
|
|
83457
84153
|
}
|
|
83458
|
-
async function $
|
|
84154
|
+
async function $do146(client, request, options) {
|
|
83459
84155
|
const parsed = safeParse4(request, (value) => ListBackupRestoresRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83460
84156
|
if (!parsed.ok) {
|
|
83461
84157
|
return [parsed, { status: "invalid" }];
|
|
@@ -83537,12 +84233,12 @@ var init_virtualMachineRestoresListForBackup = __esm(() => {
|
|
|
83537
84233
|
});
|
|
83538
84234
|
|
|
83539
84235
|
// src/mcp-server/tools/virtualMachineRestoresListForBackup.ts
|
|
83540
|
-
var
|
|
84236
|
+
var args136, tool$virtualMachineRestoresListForBackup;
|
|
83541
84237
|
var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
83542
84238
|
init_virtualMachineRestoresListForBackup();
|
|
83543
84239
|
init_operations();
|
|
83544
84240
|
init_tools();
|
|
83545
|
-
|
|
84241
|
+
args136 = {
|
|
83546
84242
|
request: ListBackupRestoresRequest$inboundSchema
|
|
83547
84243
|
};
|
|
83548
84244
|
tool$virtualMachineRestoresListForBackup = {
|
|
@@ -83551,9 +84247,9 @@ var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
|
83551
84247
|
|
|
83552
84248
|
Lists the restores created from the given backup, reached via the top-level backup path.
|
|
83553
84249
|
`,
|
|
83554
|
-
args:
|
|
83555
|
-
tool: async (client,
|
|
83556
|
-
const [result, apiCall] = await virtualMachineRestoresListForBackup(client,
|
|
84250
|
+
args: args136,
|
|
84251
|
+
tool: async (client, args137, ctx) => {
|
|
84252
|
+
const [result, apiCall] = await virtualMachineRestoresListForBackup(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83557
84253
|
if (!result.ok) {
|
|
83558
84254
|
return {
|
|
83559
84255
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83568,9 +84264,9 @@ Lists the restores created from the given backup, reached via the top-level back
|
|
|
83568
84264
|
|
|
83569
84265
|
// src/funcs/virtualMachineRestoresListForVirtualMachineBackup.ts
|
|
83570
84266
|
function virtualMachineRestoresListForVirtualMachineBackup(client, request, options) {
|
|
83571
|
-
return new APIPromise($
|
|
84267
|
+
return new APIPromise($do147(client, request, options));
|
|
83572
84268
|
}
|
|
83573
|
-
async function $
|
|
84269
|
+
async function $do147(client, request, options) {
|
|
83574
84270
|
const parsed = safeParse4(request, (value) => ListVirtualMachineScopedRestoresRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83575
84271
|
if (!parsed.ok) {
|
|
83576
84272
|
return [parsed, { status: "invalid" }];
|
|
@@ -83653,12 +84349,12 @@ var init_virtualMachineRestoresListForVirtualMachineBackup = __esm(() => {
|
|
|
83653
84349
|
});
|
|
83654
84350
|
|
|
83655
84351
|
// src/mcp-server/tools/virtualMachineRestoresListForVirtualMachineBackup.ts
|
|
83656
|
-
var
|
|
84352
|
+
var args137, tool$virtualMachineRestoresListForVirtualMachineBackup;
|
|
83657
84353
|
var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
83658
84354
|
init_virtualMachineRestoresListForVirtualMachineBackup();
|
|
83659
84355
|
init_operations();
|
|
83660
84356
|
init_tools();
|
|
83661
|
-
|
|
84357
|
+
args137 = {
|
|
83662
84358
|
request: ListVirtualMachineScopedRestoresRequest$inboundSchema
|
|
83663
84359
|
};
|
|
83664
84360
|
tool$virtualMachineRestoresListForVirtualMachineBackup = {
|
|
@@ -83667,9 +84363,9 @@ var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
|
83667
84363
|
|
|
83668
84364
|
Lists the restores created from the given backup.
|
|
83669
84365
|
`,
|
|
83670
|
-
args:
|
|
83671
|
-
tool: async (client,
|
|
83672
|
-
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client,
|
|
84366
|
+
args: args137,
|
|
84367
|
+
tool: async (client, args138, ctx) => {
|
|
84368
|
+
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83673
84369
|
if (!result.ok) {
|
|
83674
84370
|
return {
|
|
83675
84371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83684,9 +84380,9 @@ Lists the restores created from the given backup.
|
|
|
83684
84380
|
|
|
83685
84381
|
// src/funcs/virtualMachinesCreate.ts
|
|
83686
84382
|
function virtualMachinesCreate(client, request, options) {
|
|
83687
|
-
return new APIPromise($
|
|
84383
|
+
return new APIPromise($do148(client, request, options));
|
|
83688
84384
|
}
|
|
83689
|
-
async function $
|
|
84385
|
+
async function $do148(client, request, options) {
|
|
83690
84386
|
const parsed = safeParse4(request, (value) => VirtualMachinePayload$outboundSchema.parse(value), "Input validation failed");
|
|
83691
84387
|
if (!parsed.ok) {
|
|
83692
84388
|
return [parsed, { status: "invalid" }];
|
|
@@ -83756,12 +84452,12 @@ var init_virtualMachinesCreate = __esm(() => {
|
|
|
83756
84452
|
});
|
|
83757
84453
|
|
|
83758
84454
|
// src/mcp-server/tools/virtualMachinesCreate.ts
|
|
83759
|
-
var
|
|
84455
|
+
var args138, tool$virtualMachinesCreate;
|
|
83760
84456
|
var init_virtualMachinesCreate2 = __esm(() => {
|
|
83761
84457
|
init_virtualMachinesCreate();
|
|
83762
84458
|
init_models();
|
|
83763
84459
|
init_tools();
|
|
83764
|
-
|
|
84460
|
+
args138 = {
|
|
83765
84461
|
request: VirtualMachinePayload$inboundSchema
|
|
83766
84462
|
};
|
|
83767
84463
|
tool$virtualMachinesCreate = {
|
|
@@ -83770,9 +84466,9 @@ var init_virtualMachinesCreate2 = __esm(() => {
|
|
|
83770
84466
|
|
|
83771
84467
|
Creates a new Virtual Machine.
|
|
83772
84468
|
`,
|
|
83773
|
-
args:
|
|
83774
|
-
tool: async (client,
|
|
83775
|
-
const [result, apiCall] = await virtualMachinesCreate(client,
|
|
84469
|
+
args: args138,
|
|
84470
|
+
tool: async (client, args139, ctx) => {
|
|
84471
|
+
const [result, apiCall] = await virtualMachinesCreate(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83776
84472
|
if (!result.ok) {
|
|
83777
84473
|
return {
|
|
83778
84474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83787,9 +84483,9 @@ Creates a new Virtual Machine.
|
|
|
83787
84483
|
|
|
83788
84484
|
// src/funcs/virtualMachinesCreateVirtualMachineAction.ts
|
|
83789
84485
|
function virtualMachinesCreateVirtualMachineAction(client, request, options) {
|
|
83790
|
-
return new APIPromise($
|
|
84486
|
+
return new APIPromise($do149(client, request, options));
|
|
83791
84487
|
}
|
|
83792
|
-
async function $
|
|
84488
|
+
async function $do149(client, request, options) {
|
|
83793
84489
|
const parsed = safeParse4(request, (value) => CreateVirtualMachineActionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83794
84490
|
if (!parsed.ok) {
|
|
83795
84491
|
return [parsed, { status: "invalid" }];
|
|
@@ -83861,12 +84557,12 @@ var init_virtualMachinesCreateVirtualMachineAction = __esm(() => {
|
|
|
83861
84557
|
});
|
|
83862
84558
|
|
|
83863
84559
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineAction.ts
|
|
83864
|
-
var
|
|
84560
|
+
var args139, tool$virtualMachinesCreateVirtualMachineAction;
|
|
83865
84561
|
var init_virtualMachinesCreateVirtualMachineAction2 = __esm(() => {
|
|
83866
84562
|
init_virtualMachinesCreateVirtualMachineAction();
|
|
83867
84563
|
init_operations();
|
|
83868
84564
|
init_tools();
|
|
83869
|
-
|
|
84565
|
+
args139 = {
|
|
83870
84566
|
request: CreateVirtualMachineActionRequest$inboundSchema
|
|
83871
84567
|
};
|
|
83872
84568
|
tool$virtualMachinesCreateVirtualMachineAction = {
|
|
@@ -83878,9 +84574,9 @@ Performs a power action on a given virtual machine:
|
|
|
83878
84574
|
- \`power_off\` - Stops the virtual machine
|
|
83879
84575
|
- \`reboot\` - Restarts the virtual machine
|
|
83880
84576
|
`,
|
|
83881
|
-
args:
|
|
83882
|
-
tool: async (client,
|
|
83883
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client,
|
|
84577
|
+
args: args139,
|
|
84578
|
+
tool: async (client, args140, ctx) => {
|
|
84579
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83884
84580
|
if (!result.ok) {
|
|
83885
84581
|
return {
|
|
83886
84582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83894,9 +84590,9 @@ Performs a power action on a given virtual machine:
|
|
|
83894
84590
|
|
|
83895
84591
|
// src/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
83896
84592
|
function virtualMachinesCreateVirtualMachineNetworkAttachment(client, request, options) {
|
|
83897
|
-
return new APIPromise($
|
|
84593
|
+
return new APIPromise($do150(client, request, options));
|
|
83898
84594
|
}
|
|
83899
|
-
async function $
|
|
84595
|
+
async function $do150(client, request, options) {
|
|
83900
84596
|
const parsed = safeParse4(request, (value) => CreateVirtualMachineNetworkAttachmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
83901
84597
|
if (!parsed.ok) {
|
|
83902
84598
|
return [parsed, { status: "invalid" }];
|
|
@@ -83967,12 +84663,12 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
83967
84663
|
});
|
|
83968
84664
|
|
|
83969
84665
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
83970
|
-
var
|
|
84666
|
+
var args140, tool$virtualMachinesCreateVirtualMachineNetworkAttachment;
|
|
83971
84667
|
var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
83972
84668
|
init_virtualMachinesCreateVirtualMachineNetworkAttachment();
|
|
83973
84669
|
init_operations();
|
|
83974
84670
|
init_tools();
|
|
83975
|
-
|
|
84671
|
+
args140 = {
|
|
83976
84672
|
request: CreateVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
83977
84673
|
};
|
|
83978
84674
|
tool$virtualMachinesCreateVirtualMachineNetworkAttachment = {
|
|
@@ -83981,9 +84677,9 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
83981
84677
|
|
|
83982
84678
|
Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
83983
84679
|
`,
|
|
83984
|
-
args:
|
|
83985
|
-
tool: async (client,
|
|
83986
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client,
|
|
84680
|
+
args: args140,
|
|
84681
|
+
tool: async (client, args141, ctx) => {
|
|
84682
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83987
84683
|
if (!result.ok) {
|
|
83988
84684
|
return {
|
|
83989
84685
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83998,9 +84694,9 @@ Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously
|
|
|
83998
84694
|
|
|
83999
84695
|
// src/funcs/virtualMachinesDelete.ts
|
|
84000
84696
|
function virtualMachinesDelete(client, request, options) {
|
|
84001
|
-
return new APIPromise($
|
|
84697
|
+
return new APIPromise($do151(client, request, options));
|
|
84002
84698
|
}
|
|
84003
|
-
async function $
|
|
84699
|
+
async function $do151(client, request, options) {
|
|
84004
84700
|
const parsed = safeParse4(request, (value) => DestroyVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84005
84701
|
if (!parsed.ok) {
|
|
84006
84702
|
return [parsed, { status: "invalid" }];
|
|
@@ -84071,12 +84767,12 @@ var init_virtualMachinesDelete = __esm(() => {
|
|
|
84071
84767
|
});
|
|
84072
84768
|
|
|
84073
84769
|
// src/mcp-server/tools/virtualMachinesDelete.ts
|
|
84074
|
-
var
|
|
84770
|
+
var args141, tool$virtualMachinesDelete;
|
|
84075
84771
|
var init_virtualMachinesDelete2 = __esm(() => {
|
|
84076
84772
|
init_virtualMachinesDelete();
|
|
84077
84773
|
init_operations();
|
|
84078
84774
|
init_tools();
|
|
84079
|
-
|
|
84775
|
+
args141 = {
|
|
84080
84776
|
request: DestroyVirtualMachineRequest$inboundSchema
|
|
84081
84777
|
};
|
|
84082
84778
|
tool$virtualMachinesDelete = {
|
|
@@ -84085,9 +84781,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
|
|
|
84085
84781
|
|
|
84086
84782
|
Destroys a Virtual Machine.
|
|
84087
84783
|
`,
|
|
84088
|
-
args:
|
|
84089
|
-
tool: async (client,
|
|
84090
|
-
const [result, apiCall] = await virtualMachinesDelete(client,
|
|
84784
|
+
args: args141,
|
|
84785
|
+
tool: async (client, args142, ctx) => {
|
|
84786
|
+
const [result, apiCall] = await virtualMachinesDelete(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84091
84787
|
if (!result.ok) {
|
|
84092
84788
|
return {
|
|
84093
84789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84101,9 +84797,9 @@ Destroys a Virtual Machine.
|
|
|
84101
84797
|
|
|
84102
84798
|
// src/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
84103
84799
|
function virtualMachinesDestroyVirtualMachineNetworkAttachment(client, request, options) {
|
|
84104
|
-
return new APIPromise($
|
|
84800
|
+
return new APIPromise($do152(client, request, options));
|
|
84105
84801
|
}
|
|
84106
|
-
async function $
|
|
84802
|
+
async function $do152(client, request, options) {
|
|
84107
84803
|
const parsed = safeParse4(request, (value) => DestroyVirtualMachineNetworkAttachmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84108
84804
|
if (!parsed.ok) {
|
|
84109
84805
|
return [parsed, { status: "invalid" }];
|
|
@@ -84177,12 +84873,12 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
84177
84873
|
});
|
|
84178
84874
|
|
|
84179
84875
|
// src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
84180
|
-
var
|
|
84876
|
+
var args142, tool$virtualMachinesDestroyVirtualMachineNetworkAttachment;
|
|
84181
84877
|
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
84182
84878
|
init_virtualMachinesDestroyVirtualMachineNetworkAttachment();
|
|
84183
84879
|
init_operations();
|
|
84184
84880
|
init_tools();
|
|
84185
|
-
|
|
84881
|
+
args142 = {
|
|
84186
84882
|
request: DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
84187
84883
|
};
|
|
84188
84884
|
tool$virtualMachinesDestroyVirtualMachineNetworkAttachment = {
|
|
@@ -84191,9 +84887,9 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
84191
84887
|
|
|
84192
84888
|
Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
84193
84889
|
`,
|
|
84194
|
-
args:
|
|
84195
|
-
tool: async (client,
|
|
84196
|
-
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client,
|
|
84890
|
+
args: args142,
|
|
84891
|
+
tool: async (client, args143, ctx) => {
|
|
84892
|
+
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84197
84893
|
if (!result.ok) {
|
|
84198
84894
|
return {
|
|
84199
84895
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84208,9 +84904,9 @@ Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronous
|
|
|
84208
84904
|
|
|
84209
84905
|
// src/funcs/virtualMachinesGet.ts
|
|
84210
84906
|
function virtualMachinesGet(client, request, options) {
|
|
84211
|
-
return new APIPromise($
|
|
84907
|
+
return new APIPromise($do153(client, request, options));
|
|
84212
84908
|
}
|
|
84213
|
-
async function $
|
|
84909
|
+
async function $do153(client, request, options) {
|
|
84214
84910
|
const parsed = safeParse4(request, (value) => ShowVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84215
84911
|
if (!parsed.ok) {
|
|
84216
84912
|
return [parsed, { status: "invalid" }];
|
|
@@ -84287,12 +84983,12 @@ var init_virtualMachinesGet = __esm(() => {
|
|
|
84287
84983
|
});
|
|
84288
84984
|
|
|
84289
84985
|
// src/mcp-server/tools/virtualMachinesGet.ts
|
|
84290
|
-
var
|
|
84986
|
+
var args143, tool$virtualMachinesGet;
|
|
84291
84987
|
var init_virtualMachinesGet2 = __esm(() => {
|
|
84292
84988
|
init_virtualMachinesGet();
|
|
84293
84989
|
init_operations();
|
|
84294
84990
|
init_tools();
|
|
84295
|
-
|
|
84991
|
+
args143 = {
|
|
84296
84992
|
request: ShowVirtualMachineRequest$inboundSchema
|
|
84297
84993
|
};
|
|
84298
84994
|
tool$virtualMachinesGet = {
|
|
@@ -84301,9 +84997,9 @@ var init_virtualMachinesGet2 = __esm(() => {
|
|
|
84301
84997
|
|
|
84302
84998
|
Show a Virtual Machine.
|
|
84303
84999
|
`,
|
|
84304
|
-
args:
|
|
84305
|
-
tool: async (client,
|
|
84306
|
-
const [result, apiCall] = await virtualMachinesGet(client,
|
|
85000
|
+
args: args143,
|
|
85001
|
+
tool: async (client, args144, ctx) => {
|
|
85002
|
+
const [result, apiCall] = await virtualMachinesGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84307
85003
|
if (!result.ok) {
|
|
84308
85004
|
return {
|
|
84309
85005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84318,9 +85014,9 @@ Show a Virtual Machine.
|
|
|
84318
85014
|
|
|
84319
85015
|
// src/funcs/virtualMachinesList.ts
|
|
84320
85016
|
function virtualMachinesList(client, request, options) {
|
|
84321
|
-
return new APIPromise($
|
|
85017
|
+
return new APIPromise($do154(client, request, options));
|
|
84322
85018
|
}
|
|
84323
|
-
async function $
|
|
85019
|
+
async function $do154(client, request, options) {
|
|
84324
85020
|
const parsed = safeParse4(request, (value) => IndexVirtualMachineRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
84325
85021
|
if (!parsed.ok) {
|
|
84326
85022
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -84436,12 +85132,12 @@ var init_virtualMachinesList = __esm(() => {
|
|
|
84436
85132
|
});
|
|
84437
85133
|
|
|
84438
85134
|
// src/mcp-server/tools/virtualMachinesList.ts
|
|
84439
|
-
var
|
|
85135
|
+
var args144, tool$virtualMachinesList;
|
|
84440
85136
|
var init_virtualMachinesList2 = __esm(() => {
|
|
84441
85137
|
init_virtualMachinesList();
|
|
84442
85138
|
init_operations();
|
|
84443
85139
|
init_tools();
|
|
84444
|
-
|
|
85140
|
+
args144 = {
|
|
84445
85141
|
request: IndexVirtualMachineRequest$inboundSchema.optional()
|
|
84446
85142
|
};
|
|
84447
85143
|
tool$virtualMachinesList = {
|
|
@@ -84450,9 +85146,9 @@ var init_virtualMachinesList2 = __esm(() => {
|
|
|
84450
85146
|
|
|
84451
85147
|
Show all Team's Virtual Machines.
|
|
84452
85148
|
`,
|
|
84453
|
-
args:
|
|
84454
|
-
tool: async (client,
|
|
84455
|
-
const [result, apiCall] = await virtualMachinesList(client,
|
|
85149
|
+
args: args144,
|
|
85150
|
+
tool: async (client, args145, ctx) => {
|
|
85151
|
+
const [result, apiCall] = await virtualMachinesList(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84456
85152
|
if (!result.ok) {
|
|
84457
85153
|
return {
|
|
84458
85154
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84467,9 +85163,9 @@ Show all Team's Virtual Machines.
|
|
|
84467
85163
|
|
|
84468
85164
|
// src/funcs/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
84469
85165
|
function virtualMachinesListVirtualMachineNetworkAttachments(client, request, options) {
|
|
84470
|
-
return new APIPromise($
|
|
85166
|
+
return new APIPromise($do155(client, request, options));
|
|
84471
85167
|
}
|
|
84472
|
-
async function $
|
|
85168
|
+
async function $do155(client, request, options) {
|
|
84473
85169
|
const parsed = safeParse4(request, (value) => ListVirtualMachineNetworkAttachmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84474
85170
|
if (!parsed.ok) {
|
|
84475
85171
|
return [parsed, { status: "invalid" }];
|
|
@@ -84542,12 +85238,12 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments = __esm(() => {
|
|
|
84542
85238
|
});
|
|
84543
85239
|
|
|
84544
85240
|
// src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
84545
|
-
var
|
|
85241
|
+
var args145, tool$virtualMachinesListVirtualMachineNetworkAttachments;
|
|
84546
85242
|
var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
84547
85243
|
init_virtualMachinesListVirtualMachineNetworkAttachments();
|
|
84548
85244
|
init_operations();
|
|
84549
85245
|
init_tools();
|
|
84550
|
-
|
|
85246
|
+
args145 = {
|
|
84551
85247
|
request: ListVirtualMachineNetworkAttachmentsRequest$inboundSchema
|
|
84552
85248
|
};
|
|
84553
85249
|
tool$virtualMachinesListVirtualMachineNetworkAttachments = {
|
|
@@ -84556,9 +85252,9 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
|
84556
85252
|
|
|
84557
85253
|
Lists the secondary network attachments currently configured for a Virtual Machine.
|
|
84558
85254
|
`,
|
|
84559
|
-
args:
|
|
84560
|
-
tool: async (client,
|
|
84561
|
-
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client,
|
|
85255
|
+
args: args145,
|
|
85256
|
+
tool: async (client, args146, ctx) => {
|
|
85257
|
+
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84562
85258
|
if (!result.ok) {
|
|
84563
85259
|
return {
|
|
84564
85260
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84573,9 +85269,9 @@ Lists the secondary network attachments currently configured for a Virtual Machi
|
|
|
84573
85269
|
|
|
84574
85270
|
// src/funcs/virtualMachinesShowVirtualMachineMetrics.ts
|
|
84575
85271
|
function virtualMachinesShowVirtualMachineMetrics(client, request, options) {
|
|
84576
|
-
return new APIPromise($
|
|
85272
|
+
return new APIPromise($do156(client, request, options));
|
|
84577
85273
|
}
|
|
84578
|
-
async function $
|
|
85274
|
+
async function $do156(client, request, options) {
|
|
84579
85275
|
const parsed = safeParse4(request, (value) => ShowVirtualMachineMetricsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84580
85276
|
if (!parsed.ok) {
|
|
84581
85277
|
return [parsed, { status: "invalid" }];
|
|
@@ -84654,12 +85350,12 @@ var init_virtualMachinesShowVirtualMachineMetrics = __esm(() => {
|
|
|
84654
85350
|
});
|
|
84655
85351
|
|
|
84656
85352
|
// src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts
|
|
84657
|
-
var
|
|
85353
|
+
var args146, tool$virtualMachinesShowVirtualMachineMetrics;
|
|
84658
85354
|
var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
84659
85355
|
init_virtualMachinesShowVirtualMachineMetrics();
|
|
84660
85356
|
init_operations();
|
|
84661
85357
|
init_tools();
|
|
84662
|
-
|
|
85358
|
+
args146 = {
|
|
84663
85359
|
request: ShowVirtualMachineMetricsRequest$inboundSchema
|
|
84664
85360
|
};
|
|
84665
85361
|
tool$virtualMachinesShowVirtualMachineMetrics = {
|
|
@@ -84667,9 +85363,9 @@ var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
|
84667
85363
|
description: `Retrieve VM metrics
|
|
84668
85364
|
|
|
84669
85365
|
Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
84670
|
-
args:
|
|
84671
|
-
tool: async (client,
|
|
84672
|
-
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client,
|
|
85366
|
+
args: args146,
|
|
85367
|
+
tool: async (client, args147, ctx) => {
|
|
85368
|
+
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84673
85369
|
if (!result.ok) {
|
|
84674
85370
|
return {
|
|
84675
85371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84684,9 +85380,9 @@ Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
|
84684
85380
|
|
|
84685
85381
|
// src/funcs/virtualMachinesUpdateVirtualMachine.ts
|
|
84686
85382
|
function virtualMachinesUpdateVirtualMachine(client, request, options) {
|
|
84687
|
-
return new APIPromise($
|
|
85383
|
+
return new APIPromise($do157(client, request, options));
|
|
84688
85384
|
}
|
|
84689
|
-
async function $
|
|
85385
|
+
async function $do157(client, request, options) {
|
|
84690
85386
|
const parsed = safeParse4(request, (value) => UpdateVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84691
85387
|
if (!parsed.ok) {
|
|
84692
85388
|
return [parsed, { status: "invalid" }];
|
|
@@ -84762,12 +85458,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
|
|
|
84762
85458
|
});
|
|
84763
85459
|
|
|
84764
85460
|
// src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
|
|
84765
|
-
var
|
|
85461
|
+
var args147, tool$virtualMachinesUpdateVirtualMachine;
|
|
84766
85462
|
var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
84767
85463
|
init_virtualMachinesUpdateVirtualMachine();
|
|
84768
85464
|
init_operations();
|
|
84769
85465
|
init_tools();
|
|
84770
|
-
|
|
85466
|
+
args147 = {
|
|
84771
85467
|
request: UpdateVirtualMachineRequest$inboundSchema
|
|
84772
85468
|
};
|
|
84773
85469
|
tool$virtualMachinesUpdateVirtualMachine = {
|
|
@@ -84776,9 +85472,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
|
84776
85472
|
|
|
84777
85473
|
Updates a Virtual Machine's display name (hostname).
|
|
84778
85474
|
`,
|
|
84779
|
-
args:
|
|
84780
|
-
tool: async (client,
|
|
84781
|
-
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client,
|
|
85475
|
+
args: args147,
|
|
85476
|
+
tool: async (client, args148, ctx) => {
|
|
85477
|
+
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84782
85478
|
if (!result.ok) {
|
|
84783
85479
|
return {
|
|
84784
85480
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84793,9 +85489,9 @@ Updates a Virtual Machine's display name (hostname).
|
|
|
84793
85489
|
|
|
84794
85490
|
// src/funcs/virtualNetworksDelete.ts
|
|
84795
85491
|
function virtualNetworksDelete(client, request, options) {
|
|
84796
|
-
return new APIPromise($
|
|
85492
|
+
return new APIPromise($do158(client, request, options));
|
|
84797
85493
|
}
|
|
84798
|
-
async function $
|
|
85494
|
+
async function $do158(client, request, options) {
|
|
84799
85495
|
const parsed = safeParse4(request, (value) => DestroyVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84800
85496
|
if (!parsed.ok) {
|
|
84801
85497
|
return [parsed, { status: "invalid" }];
|
|
@@ -84869,12 +85565,12 @@ var init_virtualNetworksDelete = __esm(() => {
|
|
|
84869
85565
|
});
|
|
84870
85566
|
|
|
84871
85567
|
// src/mcp-server/tools/virtualNetworksDelete.ts
|
|
84872
|
-
var
|
|
85568
|
+
var args148, tool$virtualNetworksDelete;
|
|
84873
85569
|
var init_virtualNetworksDelete2 = __esm(() => {
|
|
84874
85570
|
init_virtualNetworksDelete();
|
|
84875
85571
|
init_operations();
|
|
84876
85572
|
init_tools();
|
|
84877
|
-
|
|
85573
|
+
args148 = {
|
|
84878
85574
|
request: DestroyVirtualNetworkRequest$inboundSchema
|
|
84879
85575
|
};
|
|
84880
85576
|
tool$virtualNetworksDelete = {
|
|
@@ -84883,9 +85579,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
|
|
|
84883
85579
|
|
|
84884
85580
|
Delete virtual network
|
|
84885
85581
|
`,
|
|
84886
|
-
args:
|
|
84887
|
-
tool: async (client,
|
|
84888
|
-
const [result, apiCall] = await virtualNetworksDelete(client,
|
|
85582
|
+
args: args148,
|
|
85583
|
+
tool: async (client, args149, ctx) => {
|
|
85584
|
+
const [result, apiCall] = await virtualNetworksDelete(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84889
85585
|
if (!result.ok) {
|
|
84890
85586
|
return {
|
|
84891
85587
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84899,9 +85595,9 @@ Delete virtual network
|
|
|
84899
85595
|
|
|
84900
85596
|
// src/funcs/vpnSessionsCreate.ts
|
|
84901
85597
|
function vpnSessionsCreate(client, request, options) {
|
|
84902
|
-
return new APIPromise($
|
|
85598
|
+
return new APIPromise($do159(client, request, options));
|
|
84903
85599
|
}
|
|
84904
|
-
async function $
|
|
85600
|
+
async function $do159(client, request, options) {
|
|
84905
85601
|
const parsed = safeParse4(request, (value) => PostVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84906
85602
|
if (!parsed.ok) {
|
|
84907
85603
|
return [parsed, { status: "invalid" }];
|
|
@@ -84972,12 +85668,12 @@ var init_vpnSessionsCreate = __esm(() => {
|
|
|
84972
85668
|
});
|
|
84973
85669
|
|
|
84974
85670
|
// src/mcp-server/tools/vpnSessionsCreate.ts
|
|
84975
|
-
var
|
|
85671
|
+
var args149, tool$vpnSessionsCreate;
|
|
84976
85672
|
var init_vpnSessionsCreate2 = __esm(() => {
|
|
84977
85673
|
init_vpnSessionsCreate();
|
|
84978
85674
|
init_operations();
|
|
84979
85675
|
init_tools();
|
|
84980
|
-
|
|
85676
|
+
args149 = {
|
|
84981
85677
|
request: PostVpnSessionRequest$inboundSchema
|
|
84982
85678
|
};
|
|
84983
85679
|
tool$vpnSessionsCreate = {
|
|
@@ -84987,9 +85683,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
|
|
|
84987
85683
|
Creates a new VPN Session.
|
|
84988
85684
|
\`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
|
|
84989
85685
|
`,
|
|
84990
|
-
args:
|
|
84991
|
-
tool: async (client,
|
|
84992
|
-
const [result, apiCall] = await vpnSessionsCreate(client,
|
|
85686
|
+
args: args149,
|
|
85687
|
+
tool: async (client, args150, ctx) => {
|
|
85688
|
+
const [result, apiCall] = await vpnSessionsCreate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84993
85689
|
if (!result.ok) {
|
|
84994
85690
|
return {
|
|
84995
85691
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85004,9 +85700,9 @@ Creates a new VPN Session.
|
|
|
85004
85700
|
|
|
85005
85701
|
// src/funcs/vpnSessionsDelete.ts
|
|
85006
85702
|
function vpnSessionsDelete(client, request, options) {
|
|
85007
|
-
return new APIPromise($
|
|
85703
|
+
return new APIPromise($do160(client, request, options));
|
|
85008
85704
|
}
|
|
85009
|
-
async function $
|
|
85705
|
+
async function $do160(client, request, options) {
|
|
85010
85706
|
const parsed = safeParse4(request, (value) => DeleteVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85011
85707
|
if (!parsed.ok) {
|
|
85012
85708
|
return [parsed, { status: "invalid" }];
|
|
@@ -85080,12 +85776,12 @@ var init_vpnSessionsDelete = __esm(() => {
|
|
|
85080
85776
|
});
|
|
85081
85777
|
|
|
85082
85778
|
// src/mcp-server/tools/vpnSessionsDelete.ts
|
|
85083
|
-
var
|
|
85779
|
+
var args150, tool$vpnSessionsDelete;
|
|
85084
85780
|
var init_vpnSessionsDelete2 = __esm(() => {
|
|
85085
85781
|
init_vpnSessionsDelete();
|
|
85086
85782
|
init_operations();
|
|
85087
85783
|
init_tools();
|
|
85088
|
-
|
|
85784
|
+
args150 = {
|
|
85089
85785
|
request: DeleteVpnSessionRequest$inboundSchema
|
|
85090
85786
|
};
|
|
85091
85787
|
tool$vpnSessionsDelete = {
|
|
@@ -85094,9 +85790,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
|
|
|
85094
85790
|
|
|
85095
85791
|
Deletes an existing VPN Session.
|
|
85096
85792
|
`,
|
|
85097
|
-
args:
|
|
85098
|
-
tool: async (client,
|
|
85099
|
-
const [result, apiCall] = await vpnSessionsDelete(client,
|
|
85793
|
+
args: args150,
|
|
85794
|
+
tool: async (client, args151, ctx) => {
|
|
85795
|
+
const [result, apiCall] = await vpnSessionsDelete(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85100
85796
|
if (!result.ok) {
|
|
85101
85797
|
return {
|
|
85102
85798
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85110,9 +85806,9 @@ Deletes an existing VPN Session.
|
|
|
85110
85806
|
|
|
85111
85807
|
// src/funcs/vpnSessionsList.ts
|
|
85112
85808
|
function vpnSessionsList(client, request, options) {
|
|
85113
|
-
return new APIPromise($
|
|
85809
|
+
return new APIPromise($do161(client, request, options));
|
|
85114
85810
|
}
|
|
85115
|
-
async function $
|
|
85811
|
+
async function $do161(client, request, options) {
|
|
85116
85812
|
const parsed = safeParse4(request, (value) => GetVpnSessionsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
85117
85813
|
if (!parsed.ok) {
|
|
85118
85814
|
return [parsed, { status: "invalid" }];
|
|
@@ -85185,20 +85881,20 @@ var init_vpnSessionsList = __esm(() => {
|
|
|
85185
85881
|
});
|
|
85186
85882
|
|
|
85187
85883
|
// src/mcp-server/tools/vpnSessionsList.ts
|
|
85188
|
-
var
|
|
85884
|
+
var args151, tool$vpnSessionsList;
|
|
85189
85885
|
var init_vpnSessionsList2 = __esm(() => {
|
|
85190
85886
|
init_vpnSessionsList();
|
|
85191
85887
|
init_operations();
|
|
85192
85888
|
init_tools();
|
|
85193
|
-
|
|
85889
|
+
args151 = {
|
|
85194
85890
|
request: GetVpnSessionsRequest$inboundSchema.optional()
|
|
85195
85891
|
};
|
|
85196
85892
|
tool$vpnSessionsList = {
|
|
85197
85893
|
name: "vpn-sessions-list",
|
|
85198
85894
|
description: `List VPN sessions`,
|
|
85199
|
-
args:
|
|
85200
|
-
tool: async (client,
|
|
85201
|
-
const [result, apiCall] = await vpnSessionsList(client,
|
|
85895
|
+
args: args151,
|
|
85896
|
+
tool: async (client, args152, ctx) => {
|
|
85897
|
+
const [result, apiCall] = await vpnSessionsList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85202
85898
|
if (!result.ok) {
|
|
85203
85899
|
return {
|
|
85204
85900
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85213,9 +85909,9 @@ var init_vpnSessionsList2 = __esm(() => {
|
|
|
85213
85909
|
|
|
85214
85910
|
// src/funcs/vpnSessionsRefreshPassword.ts
|
|
85215
85911
|
function vpnSessionsRefreshPassword(client, request, options) {
|
|
85216
|
-
return new APIPromise($
|
|
85912
|
+
return new APIPromise($do162(client, request, options));
|
|
85217
85913
|
}
|
|
85218
|
-
async function $
|
|
85914
|
+
async function $do162(client, request, options) {
|
|
85219
85915
|
const parsed = safeParse4(request, (value) => PutVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85220
85916
|
if (!parsed.ok) {
|
|
85221
85917
|
return [parsed, { status: "invalid" }];
|
|
@@ -85291,12 +85987,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
|
|
|
85291
85987
|
});
|
|
85292
85988
|
|
|
85293
85989
|
// src/mcp-server/tools/vpnSessionsRefreshPassword.ts
|
|
85294
|
-
var
|
|
85990
|
+
var args152, tool$vpnSessionsRefreshPassword;
|
|
85295
85991
|
var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
85296
85992
|
init_vpnSessionsRefreshPassword();
|
|
85297
85993
|
init_operations();
|
|
85298
85994
|
init_tools();
|
|
85299
|
-
|
|
85995
|
+
args152 = {
|
|
85300
85996
|
request: PutVpnSessionRequest$inboundSchema
|
|
85301
85997
|
};
|
|
85302
85998
|
tool$vpnSessionsRefreshPassword = {
|
|
@@ -85305,9 +86001,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
|
85305
86001
|
|
|
85306
86002
|
Refreshing an existing VPN Session will create new credentials for that session
|
|
85307
86003
|
`,
|
|
85308
|
-
args:
|
|
85309
|
-
tool: async (client,
|
|
85310
|
-
const [result, apiCall] = await vpnSessionsRefreshPassword(client,
|
|
86004
|
+
args: args152,
|
|
86005
|
+
tool: async (client, args153, ctx) => {
|
|
86006
|
+
const [result, apiCall] = await vpnSessionsRefreshPassword(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85311
86007
|
if (!result.ok) {
|
|
85312
86008
|
return {
|
|
85313
86009
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85324,7 +86020,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
85324
86020
|
function createMCPServer(deps) {
|
|
85325
86021
|
const server2 = new McpServer({
|
|
85326
86022
|
name: "Latitudesh",
|
|
85327
|
-
version: "0.8.
|
|
86023
|
+
version: "0.8.7"
|
|
85328
86024
|
});
|
|
85329
86025
|
const client = new LatitudeshCore({
|
|
85330
86026
|
bearer: deps.bearer,
|
|
@@ -85388,6 +86084,10 @@ function createMCPServer(deps) {
|
|
|
85388
86084
|
tool(tool$plansUpdateBandwidth);
|
|
85389
86085
|
tool(tool$plansListStorage);
|
|
85390
86086
|
tool(tool$plansGetManagedDatabasePlans);
|
|
86087
|
+
tool(tool$prefixesGetPrefixes);
|
|
86088
|
+
tool(tool$prefixesCreatePrefix);
|
|
86089
|
+
tool(tool$prefixesGetPrefix);
|
|
86090
|
+
tool(tool$prefixesDestroyPrefix);
|
|
85391
86091
|
tool(tool$projectsList);
|
|
85392
86092
|
tool(tool$projectsCreate);
|
|
85393
86093
|
tool(tool$projectsUpdate);
|
|
@@ -85567,6 +86267,10 @@ var init_server4 = __esm(() => {
|
|
|
85567
86267
|
init_plansListStorage2();
|
|
85568
86268
|
init_plansUpdateBandwidth2();
|
|
85569
86269
|
init_plansVmList2();
|
|
86270
|
+
init_prefixesCreatePrefix2();
|
|
86271
|
+
init_prefixesDestroyPrefix2();
|
|
86272
|
+
init_prefixesGetPrefix2();
|
|
86273
|
+
init_prefixesGetPrefixes2();
|
|
85570
86274
|
init_privateNetworksAssign2();
|
|
85571
86275
|
init_privateNetworksCreate2();
|
|
85572
86276
|
init_privateNetworksDeleteAssignment2();
|
|
@@ -86865,7 +87569,7 @@ var routes = ln({
|
|
|
86865
87569
|
var app = _e(routes, {
|
|
86866
87570
|
name: "mcp",
|
|
86867
87571
|
versionInfo: {
|
|
86868
|
-
currentVersion: "0.8.
|
|
87572
|
+
currentVersion: "0.8.7"
|
|
86869
87573
|
}
|
|
86870
87574
|
});
|
|
86871
87575
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -86873,5 +87577,5 @@ export {
|
|
|
86873
87577
|
app
|
|
86874
87578
|
};
|
|
86875
87579
|
|
|
86876
|
-
//# debugId=
|
|
87580
|
+
//# debugId=39ED2B41718AF1CE64756E2164756E21
|
|
86877
87581
|
//# sourceMappingURL=mcp-server.js.map
|