latitudesh-typescript-sdk 0.8.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +838 -559
- package/bin/mcp-server.js.map +28 -27
- package/dist/commonjs/funcs/plansListStorage.d.ts +2 -1
- package/dist/commonjs/funcs/plansListStorage.d.ts.map +1 -1
- package/dist/commonjs/funcs/plansListStorage.js +18 -3
- package/dist/commonjs/funcs/plansListStorage.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.js +1 -1
- package/dist/commonjs/mcp-server/tools/plansListStorage.d.ts +6 -1
- package/dist/commonjs/mcp-server/tools/plansListStorage.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/plansListStorage.js +40 -2
- package/dist/commonjs/mcp-server/tools/plansListStorage.js.map +1 -1
- package/dist/commonjs/models/billingusage.d.ts +2 -2
- package/dist/commonjs/models/billingusage.d.ts.map +1 -1
- package/dist/commonjs/models/billingusage.js +2 -2
- package/dist/commonjs/models/billingusage.js.map +1 -1
- package/dist/commonjs/models/ipmisession.d.ts +5 -0
- package/dist/commonjs/models/ipmisession.d.ts.map +1 -1
- package/dist/commonjs/models/ipmisession.js +4 -0
- package/dist/commonjs/models/ipmisession.js.map +1 -1
- package/dist/commonjs/models/kubernetesclusterdata.d.ts +32 -28
- package/dist/commonjs/models/kubernetesclusterdata.d.ts.map +1 -1
- package/dist/commonjs/models/kubernetesclusterdata.js +20 -15
- package/dist/commonjs/models/kubernetesclusterdata.js.map +1 -1
- package/dist/commonjs/models/kubernetesclustersummarydata.d.ts +9 -7
- package/dist/commonjs/models/kubernetesclustersummarydata.d.ts.map +1 -1
- package/dist/commonjs/models/kubernetesclustersummarydata.js +6 -3
- package/dist/commonjs/models/kubernetesclustersummarydata.js.map +1 -1
- package/dist/commonjs/models/objectstoragedata.d.ts +5 -0
- package/dist/commonjs/models/objectstoragedata.d.ts.map +1 -1
- package/dist/commonjs/models/objectstoragedata.js +2 -0
- package/dist/commonjs/models/objectstoragedata.js.map +1 -1
- package/dist/commonjs/models/operatingsystemdata.d.ts +6 -0
- package/dist/commonjs/models/operatingsystemdata.d.ts.map +1 -1
- package/dist/commonjs/models/operatingsystemdata.js +6 -0
- package/dist/commonjs/models/operatingsystemdata.js.map +1 -1
- package/dist/commonjs/models/operations/getstorageplans.d.ts +25 -0
- package/dist/commonjs/models/operations/getstorageplans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getstorageplans.js +71 -0
- package/dist/commonjs/models/operations/getstorageplans.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/patchuserprofile.d.ts +11 -0
- package/dist/commonjs/models/operations/patchuserprofile.d.ts.map +1 -1
- package/dist/commonjs/models/operations/patchuserprofile.js +15 -1
- package/dist/commonjs/models/operations/patchuserprofile.js.map +1 -1
- package/dist/commonjs/models/operations/updateproject.d.ts +4 -4
- package/dist/commonjs/models/operations/updateproject.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateproject.js +8 -8
- package/dist/commonjs/models/operations/updateproject.js.map +1 -1
- package/dist/commonjs/models/outofbandconnection.d.ts +8 -8
- package/dist/commonjs/models/outofbandconnection.d.ts.map +1 -1
- package/dist/commonjs/models/outofbandconnection.js +11 -12
- package/dist/commonjs/models/outofbandconnection.js.map +1 -1
- package/dist/commonjs/models/serverdata.d.ts +25 -2
- package/dist/commonjs/models/serverdata.d.ts.map +1 -1
- package/dist/commonjs/models/serverdata.js +29 -3
- package/dist/commonjs/models/serverdata.js.map +1 -1
- package/dist/commonjs/models/storageplandata.d.ts +70 -5
- package/dist/commonjs/models/storageplandata.d.ts.map +1 -1
- package/dist/commonjs/models/storageplandata.js +101 -5
- package/dist/commonjs/models/storageplandata.js.map +1 -1
- package/dist/commonjs/models/user.d.ts +15 -0
- package/dist/commonjs/models/user.d.ts.map +1 -1
- package/dist/commonjs/models/user.js +19 -1
- package/dist/commonjs/models/user.js.map +1 -1
- package/dist/commonjs/models/userteam.d.ts +53 -0
- package/dist/commonjs/models/userteam.d.ts.map +1 -1
- package/dist/commonjs/models/userteam.js +79 -1
- package/dist/commonjs/models/userteam.js.map +1 -1
- package/dist/commonjs/models/userupdate.d.ts +17 -2
- package/dist/commonjs/models/userupdate.d.ts.map +1 -1
- package/dist/commonjs/models/userupdate.js +20 -3
- package/dist/commonjs/models/userupdate.js.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.d.ts +32 -9
- package/dist/commonjs/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.js +47 -9
- package/dist/commonjs/models/virtualmachineattributes.js.map +1 -1
- package/dist/commonjs/models/volumedata.d.ts +15 -0
- package/dist/commonjs/models/volumedata.d.ts.map +1 -1
- package/dist/commonjs/models/volumedata.js +10 -0
- package/dist/commonjs/models/volumedata.js.map +1 -1
- package/dist/commonjs/sdk/plans.d.ts +1 -1
- package/dist/commonjs/sdk/plans.d.ts.map +1 -1
- package/dist/commonjs/sdk/plans.js +2 -2
- package/dist/commonjs/sdk/plans.js.map +1 -1
- package/dist/esm/funcs/plansListStorage.d.ts +2 -1
- package/dist/esm/funcs/plansListStorage.d.ts.map +1 -1
- package/dist/esm/funcs/plansListStorage.js +18 -3
- package/dist/esm/funcs/plansListStorage.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.js +1 -1
- package/dist/esm/mcp-server/tools/plansListStorage.d.ts +6 -1
- package/dist/esm/mcp-server/tools/plansListStorage.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/plansListStorage.js +7 -2
- package/dist/esm/mcp-server/tools/plansListStorage.js.map +1 -1
- package/dist/esm/models/billingusage.d.ts +2 -2
- package/dist/esm/models/billingusage.d.ts.map +1 -1
- package/dist/esm/models/billingusage.js +2 -2
- package/dist/esm/models/billingusage.js.map +1 -1
- package/dist/esm/models/ipmisession.d.ts +5 -0
- package/dist/esm/models/ipmisession.d.ts.map +1 -1
- package/dist/esm/models/ipmisession.js +4 -0
- package/dist/esm/models/ipmisession.js.map +1 -1
- package/dist/esm/models/kubernetesclusterdata.d.ts +32 -28
- package/dist/esm/models/kubernetesclusterdata.d.ts.map +1 -1
- package/dist/esm/models/kubernetesclusterdata.js +20 -15
- package/dist/esm/models/kubernetesclusterdata.js.map +1 -1
- package/dist/esm/models/kubernetesclustersummarydata.d.ts +9 -7
- package/dist/esm/models/kubernetesclustersummarydata.d.ts.map +1 -1
- package/dist/esm/models/kubernetesclustersummarydata.js +6 -3
- package/dist/esm/models/kubernetesclustersummarydata.js.map +1 -1
- package/dist/esm/models/objectstoragedata.d.ts +5 -0
- package/dist/esm/models/objectstoragedata.d.ts.map +1 -1
- package/dist/esm/models/objectstoragedata.js +2 -0
- package/dist/esm/models/objectstoragedata.js.map +1 -1
- package/dist/esm/models/operatingsystemdata.d.ts +6 -0
- package/dist/esm/models/operatingsystemdata.d.ts.map +1 -1
- package/dist/esm/models/operatingsystemdata.js +6 -0
- package/dist/esm/models/operatingsystemdata.js.map +1 -1
- package/dist/esm/models/operations/getstorageplans.d.ts +25 -0
- package/dist/esm/models/operations/getstorageplans.d.ts.map +1 -0
- package/dist/esm/models/operations/getstorageplans.js +33 -0
- package/dist/esm/models/operations/getstorageplans.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/patchuserprofile.d.ts +11 -0
- package/dist/esm/models/operations/patchuserprofile.d.ts.map +1 -1
- package/dist/esm/models/operations/patchuserprofile.js +12 -0
- package/dist/esm/models/operations/patchuserprofile.js.map +1 -1
- package/dist/esm/models/operations/updateproject.d.ts +4 -4
- package/dist/esm/models/operations/updateproject.d.ts.map +1 -1
- package/dist/esm/models/operations/updateproject.js +8 -8
- package/dist/esm/models/operations/updateproject.js.map +1 -1
- package/dist/esm/models/outofbandconnection.d.ts +8 -8
- package/dist/esm/models/outofbandconnection.d.ts.map +1 -1
- package/dist/esm/models/outofbandconnection.js +8 -9
- package/dist/esm/models/outofbandconnection.js.map +1 -1
- package/dist/esm/models/serverdata.d.ts +25 -2
- package/dist/esm/models/serverdata.d.ts.map +1 -1
- package/dist/esm/models/serverdata.js +26 -2
- package/dist/esm/models/serverdata.js.map +1 -1
- package/dist/esm/models/storageplandata.d.ts +70 -5
- package/dist/esm/models/storageplandata.d.ts.map +1 -1
- package/dist/esm/models/storageplandata.js +94 -4
- package/dist/esm/models/storageplandata.js.map +1 -1
- package/dist/esm/models/user.d.ts +15 -0
- package/dist/esm/models/user.d.ts.map +1 -1
- package/dist/esm/models/user.js +18 -0
- package/dist/esm/models/user.js.map +1 -1
- package/dist/esm/models/userteam.d.ts +53 -0
- package/dist/esm/models/userteam.d.ts.map +1 -1
- package/dist/esm/models/userteam.js +76 -0
- package/dist/esm/models/userteam.js.map +1 -1
- package/dist/esm/models/userupdate.d.ts +17 -2
- package/dist/esm/models/userupdate.d.ts.map +1 -1
- package/dist/esm/models/userupdate.js +19 -2
- package/dist/esm/models/userupdate.js.map +1 -1
- package/dist/esm/models/virtualmachineattributes.d.ts +32 -9
- package/dist/esm/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineattributes.js +44 -8
- package/dist/esm/models/virtualmachineattributes.js.map +1 -1
- package/dist/esm/models/volumedata.d.ts +15 -0
- package/dist/esm/models/volumedata.d.ts.map +1 -1
- package/dist/esm/models/volumedata.js +10 -0
- package/dist/esm/models/volumedata.js.map +1 -1
- package/dist/esm/sdk/plans.d.ts +1 -1
- package/dist/esm/sdk/plans.d.ts.map +1 -1
- package/dist/esm/sdk/plans.js +2 -2
- package/dist/esm/sdk/plans.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/plansListStorage.ts +25 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/plansListStorage.ts +9 -2
- package/src/models/billingusage.ts +4 -4
- package/src/models/ipmisession.ts +9 -0
- package/src/models/kubernetesclusterdata.ts +63 -44
- package/src/models/kubernetesclustersummarydata.ts +18 -11
- package/src/models/objectstoragedata.ts +7 -0
- package/src/models/operatingsystemdata.ts +12 -0
- package/src/models/operations/getstorageplans.ts +72 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/patchuserprofile.ts +39 -0
- package/src/models/operations/updateproject.ts +12 -16
- package/src/models/outofbandconnection.ts +28 -21
- package/src/models/serverdata.ts +63 -4
- package/src/models/storageplandata.ts +211 -10
- package/src/models/user.ts +29 -0
- package/src/models/userteam.ts +142 -0
- package/src/models/userupdate.ts +35 -4
- package/src/models/virtualmachineattributes.ts +98 -17
- package/src/models/volumedata.ts +25 -0
- package/src/sdk/plans.ts +2 -0
- package/tests/integration/projects.test.ts +3 -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.918.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53152
|
+
sdkVersion: "0.8.4",
|
|
53153
|
+
genVersion: "2.918.4",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.4 2.918.4 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -55041,13 +55041,13 @@ var init_billingusage = __esm(() => {
|
|
|
55041
55041
|
BillingUsageServer$inboundSchema = objectType({
|
|
55042
55042
|
id: stringType().optional(),
|
|
55043
55043
|
hostname: stringType().optional(),
|
|
55044
|
-
plan: stringType().optional(),
|
|
55044
|
+
plan: nullableType(stringType()).optional(),
|
|
55045
55045
|
tags: arrayType(stringType()).optional()
|
|
55046
55046
|
});
|
|
55047
55047
|
BillingUsageServer$outboundSchema = objectType({
|
|
55048
55048
|
id: stringType().optional(),
|
|
55049
55049
|
hostname: stringType().optional(),
|
|
55050
|
-
plan: stringType().optional(),
|
|
55050
|
+
plan: nullableType(stringType()).optional(),
|
|
55051
55051
|
tags: arrayType(stringType()).optional()
|
|
55052
55052
|
});
|
|
55053
55053
|
Bucket$inboundSchema = objectType({
|
|
@@ -56478,22 +56478,26 @@ var init_ipmisession = __esm(() => {
|
|
|
56478
56478
|
IpmiSessionType$outboundSchema = IpmiSessionType$inboundSchema;
|
|
56479
56479
|
IpmiSessionAttributes$inboundSchema = objectType({
|
|
56480
56480
|
ipmi_address: stringType().optional(),
|
|
56481
|
+
ipmi_url: nullableType(stringType()).optional(),
|
|
56481
56482
|
ipmi_username: stringType().optional(),
|
|
56482
56483
|
ipmi_password: stringType().optional()
|
|
56483
56484
|
}).transform((v2) => {
|
|
56484
56485
|
return remap(v2, {
|
|
56485
56486
|
ipmi_address: "ipmiAddress",
|
|
56487
|
+
ipmi_url: "ipmiUrl",
|
|
56486
56488
|
ipmi_username: "ipmiUsername",
|
|
56487
56489
|
ipmi_password: "ipmiPassword"
|
|
56488
56490
|
});
|
|
56489
56491
|
});
|
|
56490
56492
|
IpmiSessionAttributes$outboundSchema = objectType({
|
|
56491
56493
|
ipmiAddress: stringType().optional(),
|
|
56494
|
+
ipmiUrl: nullableType(stringType()).optional(),
|
|
56492
56495
|
ipmiUsername: stringType().optional(),
|
|
56493
56496
|
ipmiPassword: stringType().optional()
|
|
56494
56497
|
}).transform((v2) => {
|
|
56495
56498
|
return remap(v2, {
|
|
56496
56499
|
ipmiAddress: "ipmi_address",
|
|
56500
|
+
ipmiUrl: "ipmi_url",
|
|
56497
56501
|
ipmiUsername: "ipmi_username",
|
|
56498
56502
|
ipmiPassword: "ipmi_password"
|
|
56499
56503
|
});
|
|
@@ -56536,17 +56540,44 @@ var init_kubernetesavailableversions = __esm(() => {
|
|
|
56536
56540
|
});
|
|
56537
56541
|
});
|
|
56538
56542
|
|
|
56543
|
+
// src/types/unrecognized.ts
|
|
56544
|
+
function unrecognized(value) {
|
|
56545
|
+
globalCount++;
|
|
56546
|
+
return value;
|
|
56547
|
+
}
|
|
56548
|
+
var globalCount = 0;
|
|
56549
|
+
var init_unrecognized = () => {};
|
|
56550
|
+
|
|
56551
|
+
// src/types/enums.ts
|
|
56552
|
+
function inboundSchema(enumObj) {
|
|
56553
|
+
const options = Object.values(enumObj);
|
|
56554
|
+
return unionType([
|
|
56555
|
+
...options.map((x) => literalType(x)),
|
|
56556
|
+
stringType().transform((x) => unrecognized(x))
|
|
56557
|
+
]);
|
|
56558
|
+
}
|
|
56559
|
+
function outboundSchema(_2) {
|
|
56560
|
+
return stringType();
|
|
56561
|
+
}
|
|
56562
|
+
var init_enums = __esm(() => {
|
|
56563
|
+
init_v3();
|
|
56564
|
+
init_unrecognized();
|
|
56565
|
+
});
|
|
56566
|
+
|
|
56539
56567
|
// src/models/kubernetesclusterdata.ts
|
|
56540
56568
|
var KubernetesClusterDataPhase, VersionStatus, WorkerStatus, ControlPlaneStatus, KubernetesClusterDataName, KubernetesClusterDataStepStatus, KubernetesClusterDataType, NodeStatus, KubernetesClusterDataPhase$inboundSchema, KubernetesClusterDataPhase$outboundSchema, VersionStatus$inboundSchema, VersionStatus$outboundSchema, ControlPlane$inboundSchema, ControlPlane$outboundSchema, Workers$inboundSchema, Workers$outboundSchema, WorkerStatus$inboundSchema, WorkerStatus$outboundSchema, ControlPlaneStatus$inboundSchema, ControlPlaneStatus$outboundSchema, KubernetesClusterDataName$inboundSchema, KubernetesClusterDataName$outboundSchema, KubernetesClusterDataStepStatus$inboundSchema, KubernetesClusterDataStepStatus$outboundSchema, KubernetesClusterDataStep$inboundSchema, KubernetesClusterDataStep$outboundSchema, KubernetesClusterDataType$inboundSchema, KubernetesClusterDataType$outboundSchema, NodeStatus$inboundSchema, NodeStatus$outboundSchema, Node$inboundSchema, Node$outboundSchema, KubernetesClusterDataProject$inboundSchema, KubernetesClusterDataProject$outboundSchema, KubernetesClusterDataAttributes$inboundSchema, KubernetesClusterDataAttributes$outboundSchema, KubernetesClusterData$inboundSchema, KubernetesClusterData$outboundSchema;
|
|
56541
56569
|
var init_kubernetesclusterdata = __esm(() => {
|
|
56542
56570
|
init_v3();
|
|
56543
56571
|
init_primitives();
|
|
56572
|
+
init_enums();
|
|
56544
56573
|
KubernetesClusterDataPhase = {
|
|
56545
56574
|
Pending: "Pending",
|
|
56546
56575
|
Provisioning: "Provisioning",
|
|
56547
56576
|
Provisioned: "Provisioned",
|
|
56577
|
+
Upgrading: "Upgrading",
|
|
56548
56578
|
Deleting: "Deleting",
|
|
56549
|
-
Failed: "Failed"
|
|
56579
|
+
Failed: "Failed",
|
|
56580
|
+
Unknown: "Unknown"
|
|
56550
56581
|
};
|
|
56551
56582
|
VersionStatus = {
|
|
56552
56583
|
UpToDate: "up_to_date",
|
|
@@ -56558,11 +56589,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56558
56589
|
Idle: "idle",
|
|
56559
56590
|
Ready: "ready",
|
|
56560
56591
|
Scaling: "scaling",
|
|
56592
|
+
Upgrading: "upgrading",
|
|
56561
56593
|
Error: "error"
|
|
56562
56594
|
};
|
|
56563
56595
|
ControlPlaneStatus = {
|
|
56564
56596
|
Ready: "ready",
|
|
56565
56597
|
Scaling: "scaling",
|
|
56598
|
+
Upgrading: "upgrading",
|
|
56566
56599
|
Error: "error"
|
|
56567
56600
|
};
|
|
56568
56601
|
KubernetesClusterDataName = {
|
|
@@ -56585,8 +56618,8 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56585
56618
|
Failed: "failed",
|
|
56586
56619
|
Deleting: "deleting"
|
|
56587
56620
|
};
|
|
56588
|
-
KubernetesClusterDataPhase$inboundSchema =
|
|
56589
|
-
KubernetesClusterDataPhase$outboundSchema = KubernetesClusterDataPhase
|
|
56621
|
+
KubernetesClusterDataPhase$inboundSchema = inboundSchema(KubernetesClusterDataPhase);
|
|
56622
|
+
KubernetesClusterDataPhase$outboundSchema = outboundSchema(KubernetesClusterDataPhase);
|
|
56590
56623
|
VersionStatus$inboundSchema = nativeEnumType(VersionStatus);
|
|
56591
56624
|
VersionStatus$outboundSchema = VersionStatus$inboundSchema;
|
|
56592
56625
|
ControlPlane$inboundSchema = objectType({
|
|
@@ -56627,10 +56660,10 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56627
56660
|
availableReplicas: "available_replicas"
|
|
56628
56661
|
});
|
|
56629
56662
|
});
|
|
56630
|
-
WorkerStatus$inboundSchema =
|
|
56631
|
-
WorkerStatus$outboundSchema = WorkerStatus
|
|
56632
|
-
ControlPlaneStatus$inboundSchema =
|
|
56633
|
-
ControlPlaneStatus$outboundSchema = ControlPlaneStatus
|
|
56663
|
+
WorkerStatus$inboundSchema = inboundSchema(WorkerStatus);
|
|
56664
|
+
WorkerStatus$outboundSchema = outboundSchema(WorkerStatus);
|
|
56665
|
+
ControlPlaneStatus$inboundSchema = inboundSchema(ControlPlaneStatus);
|
|
56666
|
+
ControlPlaneStatus$outboundSchema = outboundSchema(ControlPlaneStatus);
|
|
56634
56667
|
KubernetesClusterDataName$inboundSchema = nativeEnumType(KubernetesClusterDataName);
|
|
56635
56668
|
KubernetesClusterDataName$outboundSchema = KubernetesClusterDataName$inboundSchema;
|
|
56636
56669
|
KubernetesClusterDataStepStatus$inboundSchema = nativeEnumType(KubernetesClusterDataStepStatus);
|
|
@@ -56697,13 +56730,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56697
56730
|
ready: booleanType().optional(),
|
|
56698
56731
|
control_plane_endpoint: nullableType(stringType()).optional(),
|
|
56699
56732
|
kubeconfig_url: nullableType(stringType()).optional(),
|
|
56700
|
-
location: stringType().optional(),
|
|
56733
|
+
location: nullableType(stringType()).optional(),
|
|
56701
56734
|
load_balancer_ips: arrayType(stringType()).optional(),
|
|
56702
|
-
kubernetes_version: stringType().optional(),
|
|
56735
|
+
kubernetes_version: nullableType(stringType()).optional(),
|
|
56703
56736
|
version_status: VersionStatus$inboundSchema.optional(),
|
|
56704
56737
|
available_upgrade: nullableType(stringType()).optional(),
|
|
56705
56738
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56706
|
-
plan: stringType().optional(),
|
|
56739
|
+
plan: nullableType(stringType()).optional(),
|
|
56707
56740
|
worker_plan: nullableType(stringType()).optional(),
|
|
56708
56741
|
control_plane_count: numberType().int().optional(),
|
|
56709
56742
|
worker_count: numberType().int().optional(),
|
|
@@ -56748,13 +56781,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56748
56781
|
ready: booleanType().optional(),
|
|
56749
56782
|
controlPlaneEndpoint: nullableType(stringType()).optional(),
|
|
56750
56783
|
kubeconfigUrl: nullableType(stringType()).optional(),
|
|
56751
|
-
location: stringType().optional(),
|
|
56784
|
+
location: nullableType(stringType()).optional(),
|
|
56752
56785
|
loadBalancerIps: arrayType(stringType()).optional(),
|
|
56753
|
-
kubernetesVersion: stringType().optional(),
|
|
56786
|
+
kubernetesVersion: nullableType(stringType()).optional(),
|
|
56754
56787
|
versionStatus: VersionStatus$outboundSchema.optional(),
|
|
56755
56788
|
availableUpgrade: nullableType(stringType()).optional(),
|
|
56756
56789
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56757
|
-
plan: stringType().optional(),
|
|
56790
|
+
plan: nullableType(stringType()).optional(),
|
|
56758
56791
|
workerPlan: nullableType(stringType()).optional(),
|
|
56759
56792
|
controlPlaneCount: numberType().int().optional(),
|
|
56760
56793
|
workerCount: numberType().int().optional(),
|
|
@@ -56903,12 +56936,15 @@ var KubernetesClusterSummaryDataPhase, KubernetesClusterSummaryDataName, Kuberne
|
|
|
56903
56936
|
var init_kubernetesclustersummarydata = __esm(() => {
|
|
56904
56937
|
init_v3();
|
|
56905
56938
|
init_primitives();
|
|
56939
|
+
init_enums();
|
|
56906
56940
|
KubernetesClusterSummaryDataPhase = {
|
|
56907
56941
|
Pending: "Pending",
|
|
56908
56942
|
Provisioning: "Provisioning",
|
|
56909
56943
|
Provisioned: "Provisioned",
|
|
56944
|
+
Upgrading: "Upgrading",
|
|
56910
56945
|
Deleting: "Deleting",
|
|
56911
|
-
Failed: "Failed"
|
|
56946
|
+
Failed: "Failed",
|
|
56947
|
+
Unknown: "Unknown"
|
|
56912
56948
|
};
|
|
56913
56949
|
KubernetesClusterSummaryDataName = {
|
|
56914
56950
|
Infrastructure: "infrastructure",
|
|
@@ -56920,8 +56956,8 @@ var init_kubernetesclustersummarydata = __esm(() => {
|
|
|
56920
56956
|
InProgress: "in_progress",
|
|
56921
56957
|
Completed: "completed"
|
|
56922
56958
|
};
|
|
56923
|
-
KubernetesClusterSummaryDataPhase$inboundSchema =
|
|
56924
|
-
KubernetesClusterSummaryDataPhase$outboundSchema = KubernetesClusterSummaryDataPhase
|
|
56959
|
+
KubernetesClusterSummaryDataPhase$inboundSchema = inboundSchema(KubernetesClusterSummaryDataPhase);
|
|
56960
|
+
KubernetesClusterSummaryDataPhase$outboundSchema = outboundSchema(KubernetesClusterSummaryDataPhase);
|
|
56925
56961
|
KubernetesClusterSummaryDataName$inboundSchema = nativeEnumType(KubernetesClusterSummaryDataName);
|
|
56926
56962
|
KubernetesClusterSummaryDataName$outboundSchema = KubernetesClusterSummaryDataName$inboundSchema;
|
|
56927
56963
|
KubernetesClusterSummaryDataStatus$inboundSchema = nativeEnumType(KubernetesClusterSummaryDataStatus);
|
|
@@ -57269,6 +57305,7 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57269
57305
|
locking: nullableType(booleanType()).optional(),
|
|
57270
57306
|
retention_mode: nullableType(RetentionMode$inboundSchema).optional(),
|
|
57271
57307
|
retention_period: nullableType(numberType().int()).optional(),
|
|
57308
|
+
source: stringType().optional(),
|
|
57272
57309
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$inboundSchema)).optional(),
|
|
57273
57310
|
project: ProjectInclude$inboundSchema.optional(),
|
|
57274
57311
|
team: TeamInclude$inboundSchema.optional()
|
|
@@ -57297,6 +57334,7 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57297
57334
|
locking: nullableType(booleanType()).optional(),
|
|
57298
57335
|
retentionMode: nullableType(RetentionMode$outboundSchema).optional(),
|
|
57299
57336
|
retentionPeriod: nullableType(numberType().int()).optional(),
|
|
57337
|
+
source: stringType().optional(),
|
|
57300
57338
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$outboundSchema)).optional(),
|
|
57301
57339
|
project: ProjectInclude$outboundSchema.optional(),
|
|
57302
57340
|
team: TeamInclude$outboundSchema.optional()
|
|
@@ -57350,7 +57388,10 @@ var init_operatingsystemdata = __esm(() => {
|
|
|
57350
57388
|
OperatingSystemDataFeatures$inboundSchema = objectType({
|
|
57351
57389
|
raid: booleanType().optional(),
|
|
57352
57390
|
ssh_keys: booleanType().optional(),
|
|
57353
|
-
user_data: booleanType().optional()
|
|
57391
|
+
user_data: booleanType().optional(),
|
|
57392
|
+
accelerate: booleanType().optional(),
|
|
57393
|
+
rescue: booleanType().optional(),
|
|
57394
|
+
workflow: booleanType().optional()
|
|
57354
57395
|
}).transform((v2) => {
|
|
57355
57396
|
return remap(v2, {
|
|
57356
57397
|
ssh_keys: "sshKeys",
|
|
@@ -57360,7 +57401,10 @@ var init_operatingsystemdata = __esm(() => {
|
|
|
57360
57401
|
OperatingSystemDataFeatures$outboundSchema = objectType({
|
|
57361
57402
|
raid: booleanType().optional(),
|
|
57362
57403
|
sshKeys: booleanType().optional(),
|
|
57363
|
-
userData: booleanType().optional()
|
|
57404
|
+
userData: booleanType().optional(),
|
|
57405
|
+
accelerate: booleanType().optional(),
|
|
57406
|
+
rescue: booleanType().optional(),
|
|
57407
|
+
workflow: booleanType().optional()
|
|
57364
57408
|
}).transform((v2) => {
|
|
57365
57409
|
return remap(v2, {
|
|
57366
57410
|
sshKeys: "ssh_keys",
|
|
@@ -57422,16 +57466,16 @@ var init_operatingsystems = __esm(() => {
|
|
|
57422
57466
|
});
|
|
57423
57467
|
|
|
57424
57468
|
// src/models/outofbandconnection.ts
|
|
57425
|
-
var
|
|
57469
|
+
var OutOfBandConnectionSshKey$inboundSchema, OutOfBandConnectionSshKey$outboundSchema, OutOfBandConnectionCredentials$inboundSchema, OutOfBandConnectionCredentials$outboundSchema, OutOfBandConnectionAttributes$inboundSchema, OutOfBandConnectionAttributes$outboundSchema, OutOfBandConnectionData$inboundSchema, OutOfBandConnectionData$outboundSchema, OutOfBandConnection$inboundSchema, OutOfBandConnection$outboundSchema;
|
|
57426
57470
|
var init_outofbandconnection = __esm(() => {
|
|
57427
57471
|
init_v3();
|
|
57428
57472
|
init_primitives();
|
|
57429
|
-
|
|
57473
|
+
OutOfBandConnectionSshKey$inboundSchema = objectType({
|
|
57430
57474
|
id: stringType().optional(),
|
|
57431
57475
|
description: stringType().optional(),
|
|
57432
57476
|
fingerprint: stringType().optional()
|
|
57433
57477
|
});
|
|
57434
|
-
|
|
57478
|
+
OutOfBandConnectionSshKey$outboundSchema = objectType({
|
|
57435
57479
|
id: stringType().optional(),
|
|
57436
57480
|
description: stringType().optional(),
|
|
57437
57481
|
fingerprint: stringType().optional()
|
|
@@ -57445,7 +57489,7 @@ var init_outofbandconnection = __esm(() => {
|
|
|
57445
57489
|
password: stringType().optional()
|
|
57446
57490
|
});
|
|
57447
57491
|
OutOfBandConnectionAttributes$inboundSchema = objectType({
|
|
57448
|
-
ssh_key: lazyType(() =>
|
|
57492
|
+
ssh_key: lazyType(() => OutOfBandConnectionSshKey$inboundSchema).optional(),
|
|
57449
57493
|
created_at: stringType().optional(),
|
|
57450
57494
|
username: stringType().optional(),
|
|
57451
57495
|
credentials: lazyType(() => OutOfBandConnectionCredentials$inboundSchema).optional(),
|
|
@@ -57462,7 +57506,7 @@ var init_outofbandconnection = __esm(() => {
|
|
|
57462
57506
|
});
|
|
57463
57507
|
});
|
|
57464
57508
|
OutOfBandConnectionAttributes$outboundSchema = objectType({
|
|
57465
|
-
sshKey: lazyType(() =>
|
|
57509
|
+
sshKey: lazyType(() => OutOfBandConnectionSshKey$outboundSchema).optional(),
|
|
57466
57510
|
createdAt: stringType().optional(),
|
|
57467
57511
|
username: stringType().optional(),
|
|
57468
57512
|
credentials: lazyType(() => OutOfBandConnectionCredentials$outboundSchema).optional(),
|
|
@@ -57716,30 +57760,6 @@ var init_plan = __esm(() => {
|
|
|
57716
57760
|
});
|
|
57717
57761
|
});
|
|
57718
57762
|
|
|
57719
|
-
// src/types/unrecognized.ts
|
|
57720
|
-
function unrecognized(value) {
|
|
57721
|
-
globalCount++;
|
|
57722
|
-
return value;
|
|
57723
|
-
}
|
|
57724
|
-
var globalCount = 0;
|
|
57725
|
-
var init_unrecognized = () => {};
|
|
57726
|
-
|
|
57727
|
-
// src/types/enums.ts
|
|
57728
|
-
function inboundSchema(enumObj) {
|
|
57729
|
-
const options = Object.values(enumObj);
|
|
57730
|
-
return unionType([
|
|
57731
|
-
...options.map((x) => literalType(x)),
|
|
57732
|
-
stringType().transform((x) => unrecognized(x))
|
|
57733
|
-
]);
|
|
57734
|
-
}
|
|
57735
|
-
function outboundSchema(_2) {
|
|
57736
|
-
return stringType();
|
|
57737
|
-
}
|
|
57738
|
-
var init_enums = __esm(() => {
|
|
57739
|
-
init_v3();
|
|
57740
|
-
init_unrecognized();
|
|
57741
|
-
});
|
|
57742
|
-
|
|
57743
57763
|
// src/models/project.ts
|
|
57744
57764
|
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;
|
|
57745
57765
|
var init_project = __esm(() => {
|
|
@@ -58114,7 +58134,7 @@ var init_serverregionresourcedata = __esm(() => {
|
|
|
58114
58134
|
});
|
|
58115
58135
|
|
|
58116
58136
|
// src/models/serverdata.ts
|
|
58117
|
-
var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, ServerDataDistro$inboundSchema, ServerDataDistro$outboundSchema, ServerDataOperatingSystem$inboundSchema, ServerDataOperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
|
|
58137
|
+
var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataTag$inboundSchema, ServerDataTag$outboundSchema, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, ServerDataDistro$inboundSchema, ServerDataDistro$outboundSchema, ServerDataOperatingSystem$inboundSchema, ServerDataOperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
|
|
58118
58138
|
var init_serverdata = __esm(() => {
|
|
58119
58139
|
init_v3();
|
|
58120
58140
|
init_primitives();
|
|
@@ -58141,6 +58161,18 @@ var init_serverdata = __esm(() => {
|
|
|
58141
58161
|
Ipmi: "ipmi",
|
|
58142
58162
|
Unknown: "unknown"
|
|
58143
58163
|
};
|
|
58164
|
+
ServerDataTag$inboundSchema = objectType({
|
|
58165
|
+
id: stringType().optional(),
|
|
58166
|
+
name: stringType().optional(),
|
|
58167
|
+
description: nullableType(stringType()).optional(),
|
|
58168
|
+
color: nullableType(stringType()).optional()
|
|
58169
|
+
});
|
|
58170
|
+
ServerDataTag$outboundSchema = objectType({
|
|
58171
|
+
id: stringType().optional(),
|
|
58172
|
+
name: stringType().optional(),
|
|
58173
|
+
description: nullableType(stringType()).optional(),
|
|
58174
|
+
color: nullableType(stringType()).optional()
|
|
58175
|
+
});
|
|
58144
58176
|
ServerDataStatus$inboundSchema = nativeEnumType(ServerDataStatus);
|
|
58145
58177
|
ServerDataStatus$outboundSchema = ServerDataStatus$inboundSchema;
|
|
58146
58178
|
IpmiStatus$inboundSchema = nativeEnumType(IpmiStatus);
|
|
@@ -58238,10 +58270,12 @@ var init_serverdata = __esm(() => {
|
|
|
58238
58270
|
});
|
|
58239
58271
|
});
|
|
58240
58272
|
ServerDataAttributes$inboundSchema = objectType({
|
|
58273
|
+
tags: arrayType(lazyType(() => ServerDataTag$inboundSchema)).optional(),
|
|
58241
58274
|
hostname: stringType().optional(),
|
|
58242
58275
|
label: stringType().optional(),
|
|
58276
|
+
price: nullableType(numberType()).optional(),
|
|
58243
58277
|
status: ServerDataStatus$inboundSchema.optional(),
|
|
58244
|
-
ipmi_status: IpmiStatus$inboundSchema.optional(),
|
|
58278
|
+
ipmi_status: nullableType(IpmiStatus$inboundSchema).optional(),
|
|
58245
58279
|
role: stringType().optional(),
|
|
58246
58280
|
site: stringType().optional(),
|
|
58247
58281
|
locked: booleanType().optional(),
|
|
@@ -58269,10 +58303,12 @@ var init_serverdata = __esm(() => {
|
|
|
58269
58303
|
});
|
|
58270
58304
|
});
|
|
58271
58305
|
ServerDataAttributes$outboundSchema = objectType({
|
|
58306
|
+
tags: arrayType(lazyType(() => ServerDataTag$outboundSchema)).optional(),
|
|
58272
58307
|
hostname: stringType().optional(),
|
|
58273
58308
|
label: stringType().optional(),
|
|
58309
|
+
price: nullableType(numberType()).optional(),
|
|
58274
58310
|
status: ServerDataStatus$outboundSchema.optional(),
|
|
58275
|
-
ipmiStatus: IpmiStatus$outboundSchema.optional(),
|
|
58311
|
+
ipmiStatus: nullableType(IpmiStatus$outboundSchema).optional(),
|
|
58276
58312
|
role: stringType().optional(),
|
|
58277
58313
|
site: stringType().optional(),
|
|
58278
58314
|
locked: booleanType().optional(),
|
|
@@ -58591,30 +58627,89 @@ var init_sshkeys = __esm(() => {
|
|
|
58591
58627
|
});
|
|
58592
58628
|
|
|
58593
58629
|
// src/models/storageplandata.ts
|
|
58594
|
-
var StoragePlanDataType, StoragePlanDataType$inboundSchema, StoragePlanDataType$outboundSchema, StoragePlanDataPricing$inboundSchema, StoragePlanDataPricing$outboundSchema, StoragePlanDataAttributes$inboundSchema, StoragePlanDataAttributes$outboundSchema, StoragePlanData$inboundSchema, StoragePlanData$outboundSchema;
|
|
58630
|
+
var StoragePlanDataType, StoragePlanStorageType, StoragePlanStorageClass, StoragePlanDataType$inboundSchema, StoragePlanDataType$outboundSchema, StoragePlanStorageType$inboundSchema, StoragePlanStorageType$outboundSchema, StoragePlanStorageClass$inboundSchema, StoragePlanStorageClass$outboundSchema, StoragePlanDataUSD$inboundSchema, StoragePlanDataUSD$outboundSchema, StoragePlanDataBRL$inboundSchema, StoragePlanDataBRL$outboundSchema, StoragePlanDataPricing$inboundSchema, StoragePlanDataPricing$outboundSchema, StoragePlanDataRegion$inboundSchema, StoragePlanDataRegion$outboundSchema, StoragePlanDataAttributes$inboundSchema, StoragePlanDataAttributes$outboundSchema, StoragePlanData$inboundSchema, StoragePlanData$outboundSchema;
|
|
58595
58631
|
var init_storageplandata = __esm(() => {
|
|
58596
58632
|
init_v3();
|
|
58633
|
+
init_primitives();
|
|
58597
58634
|
StoragePlanDataType = {
|
|
58598
58635
|
StoragePlans: "storage_plans"
|
|
58599
58636
|
};
|
|
58637
|
+
StoragePlanStorageType = {
|
|
58638
|
+
Filesystem: "filesystem",
|
|
58639
|
+
Object: "object"
|
|
58640
|
+
};
|
|
58641
|
+
StoragePlanStorageClass = {
|
|
58642
|
+
Standard: "standard",
|
|
58643
|
+
HighPerformance: "high_performance"
|
|
58644
|
+
};
|
|
58600
58645
|
StoragePlanDataType$inboundSchema = nativeEnumType(StoragePlanDataType);
|
|
58601
58646
|
StoragePlanDataType$outboundSchema = StoragePlanDataType$inboundSchema;
|
|
58602
|
-
|
|
58647
|
+
StoragePlanStorageType$inboundSchema = nativeEnumType(StoragePlanStorageType);
|
|
58648
|
+
StoragePlanStorageType$outboundSchema = StoragePlanStorageType$inboundSchema;
|
|
58649
|
+
StoragePlanStorageClass$inboundSchema = nativeEnumType(StoragePlanStorageClass);
|
|
58650
|
+
StoragePlanStorageClass$outboundSchema = StoragePlanStorageClass$inboundSchema;
|
|
58651
|
+
StoragePlanDataUSD$inboundSchema = objectType({
|
|
58603
58652
|
month: numberType().optional()
|
|
58604
58653
|
});
|
|
58605
|
-
|
|
58654
|
+
StoragePlanDataUSD$outboundSchema = objectType({
|
|
58606
58655
|
month: numberType().optional()
|
|
58607
58656
|
});
|
|
58608
|
-
|
|
58657
|
+
StoragePlanDataBRL$inboundSchema = objectType({
|
|
58658
|
+
month: numberType().optional()
|
|
58659
|
+
});
|
|
58660
|
+
StoragePlanDataBRL$outboundSchema = objectType({
|
|
58661
|
+
month: numberType().optional()
|
|
58662
|
+
});
|
|
58663
|
+
StoragePlanDataPricing$inboundSchema = objectType({
|
|
58664
|
+
USD: lazyType(() => StoragePlanDataUSD$inboundSchema).optional(),
|
|
58665
|
+
BRL: lazyType(() => StoragePlanDataBRL$inboundSchema).optional()
|
|
58666
|
+
}).transform((v2) => {
|
|
58667
|
+
return remap(v2, {
|
|
58668
|
+
USD: "usd",
|
|
58669
|
+
BRL: "brl"
|
|
58670
|
+
});
|
|
58671
|
+
});
|
|
58672
|
+
StoragePlanDataPricing$outboundSchema = objectType({
|
|
58673
|
+
usd: lazyType(() => StoragePlanDataUSD$outboundSchema).optional(),
|
|
58674
|
+
brl: lazyType(() => StoragePlanDataBRL$outboundSchema).optional()
|
|
58675
|
+
}).transform((v2) => {
|
|
58676
|
+
return remap(v2, {
|
|
58677
|
+
usd: "USD",
|
|
58678
|
+
brl: "BRL"
|
|
58679
|
+
});
|
|
58680
|
+
});
|
|
58681
|
+
StoragePlanDataRegion$inboundSchema = objectType({
|
|
58609
58682
|
name: stringType().optional(),
|
|
58610
58683
|
locations: arrayType(stringType()).optional(),
|
|
58611
58684
|
pricing: lazyType(() => StoragePlanDataPricing$inboundSchema).optional()
|
|
58612
58685
|
});
|
|
58613
|
-
|
|
58686
|
+
StoragePlanDataRegion$outboundSchema = objectType({
|
|
58614
58687
|
name: stringType().optional(),
|
|
58615
58688
|
locations: arrayType(stringType()).optional(),
|
|
58616
58689
|
pricing: lazyType(() => StoragePlanDataPricing$outboundSchema).optional()
|
|
58617
58690
|
});
|
|
58691
|
+
StoragePlanDataAttributes$inboundSchema = objectType({
|
|
58692
|
+
name: stringType().optional(),
|
|
58693
|
+
storage_type: StoragePlanStorageType$inboundSchema.optional(),
|
|
58694
|
+
storage_class: nullableType(StoragePlanStorageClass$inboundSchema).optional(),
|
|
58695
|
+
regions: arrayType(lazyType(() => StoragePlanDataRegion$inboundSchema)).optional()
|
|
58696
|
+
}).transform((v2) => {
|
|
58697
|
+
return remap(v2, {
|
|
58698
|
+
storage_type: "storagePlanStorageType",
|
|
58699
|
+
storage_class: "storagePlanStorageClass"
|
|
58700
|
+
});
|
|
58701
|
+
});
|
|
58702
|
+
StoragePlanDataAttributes$outboundSchema = objectType({
|
|
58703
|
+
name: stringType().optional(),
|
|
58704
|
+
storagePlanStorageType: StoragePlanStorageType$outboundSchema.optional(),
|
|
58705
|
+
storagePlanStorageClass: nullableType(StoragePlanStorageClass$outboundSchema).optional(),
|
|
58706
|
+
regions: arrayType(lazyType(() => StoragePlanDataRegion$outboundSchema)).optional()
|
|
58707
|
+
}).transform((v2) => {
|
|
58708
|
+
return remap(v2, {
|
|
58709
|
+
storagePlanStorageType: "storage_type",
|
|
58710
|
+
storagePlanStorageClass: "storage_class"
|
|
58711
|
+
});
|
|
58712
|
+
});
|
|
58618
58713
|
StoragePlanData$inboundSchema = objectType({
|
|
58619
58714
|
id: stringType().optional(),
|
|
58620
58715
|
type: StoragePlanDataType$inboundSchema.optional(),
|
|
@@ -59235,11 +59330,16 @@ var init_updatekubernetescluster = __esm(() => {
|
|
|
59235
59330
|
});
|
|
59236
59331
|
|
|
59237
59332
|
// src/models/user.ts
|
|
59238
|
-
var UserRole$inboundSchema, UserRole$outboundSchema, UserAttributes$inboundSchema, UserAttributes$outboundSchema, User$inboundSchema, User$outboundSchema;
|
|
59333
|
+
var UserType, UserType$inboundSchema, UserType$outboundSchema, UserRole$inboundSchema, UserRole$outboundSchema, UserAttributes$inboundSchema, UserAttributes$outboundSchema, User$inboundSchema, User$outboundSchema;
|
|
59239
59334
|
var init_user = __esm(() => {
|
|
59240
59335
|
init_v3();
|
|
59241
59336
|
init_primitives();
|
|
59242
59337
|
init_teaminclude();
|
|
59338
|
+
UserType = {
|
|
59339
|
+
Users: "users"
|
|
59340
|
+
};
|
|
59341
|
+
UserType$inboundSchema = nativeEnumType(UserType);
|
|
59342
|
+
UserType$outboundSchema = UserType$inboundSchema;
|
|
59243
59343
|
UserRole$inboundSchema = objectType({
|
|
59244
59344
|
id: stringType().optional(),
|
|
59245
59345
|
name: stringType().optional(),
|
|
@@ -59267,13 +59367,17 @@ var init_user = __esm(() => {
|
|
|
59267
59367
|
last_name: stringType().optional(),
|
|
59268
59368
|
email: stringType().optional(),
|
|
59269
59369
|
authentication_factor_id: stringType().optional(),
|
|
59370
|
+
created_at: stringType().optional(),
|
|
59371
|
+
updated_at: stringType().optional(),
|
|
59270
59372
|
role: lazyType(() => UserRole$inboundSchema).optional(),
|
|
59271
59373
|
teams: arrayType(TeamInclude$inboundSchema).optional()
|
|
59272
59374
|
}).transform((v2) => {
|
|
59273
59375
|
return remap(v2, {
|
|
59274
59376
|
first_name: "firstName",
|
|
59275
59377
|
last_name: "lastName",
|
|
59276
|
-
authentication_factor_id: "authenticationFactorId"
|
|
59378
|
+
authentication_factor_id: "authenticationFactorId",
|
|
59379
|
+
created_at: "createdAt",
|
|
59380
|
+
updated_at: "updatedAt"
|
|
59277
59381
|
});
|
|
59278
59382
|
});
|
|
59279
59383
|
UserAttributes$outboundSchema = objectType({
|
|
@@ -59281,21 +59385,27 @@ var init_user = __esm(() => {
|
|
|
59281
59385
|
lastName: stringType().optional(),
|
|
59282
59386
|
email: stringType().optional(),
|
|
59283
59387
|
authenticationFactorId: stringType().optional(),
|
|
59388
|
+
createdAt: stringType().optional(),
|
|
59389
|
+
updatedAt: stringType().optional(),
|
|
59284
59390
|
role: lazyType(() => UserRole$outboundSchema).optional(),
|
|
59285
59391
|
teams: arrayType(TeamInclude$outboundSchema).optional()
|
|
59286
59392
|
}).transform((v2) => {
|
|
59287
59393
|
return remap(v2, {
|
|
59288
59394
|
firstName: "first_name",
|
|
59289
59395
|
lastName: "last_name",
|
|
59290
|
-
authenticationFactorId: "authentication_factor_id"
|
|
59396
|
+
authenticationFactorId: "authentication_factor_id",
|
|
59397
|
+
createdAt: "created_at",
|
|
59398
|
+
updatedAt: "updated_at"
|
|
59291
59399
|
});
|
|
59292
59400
|
});
|
|
59293
59401
|
User$inboundSchema = objectType({
|
|
59294
59402
|
id: stringType().optional(),
|
|
59403
|
+
type: UserType$inboundSchema.optional(),
|
|
59295
59404
|
attributes: lazyType(() => UserAttributes$inboundSchema).optional()
|
|
59296
59405
|
});
|
|
59297
59406
|
User$outboundSchema = objectType({
|
|
59298
59407
|
id: stringType().optional(),
|
|
59408
|
+
type: UserType$outboundSchema.optional(),
|
|
59299
59409
|
attributes: lazyType(() => UserAttributes$outboundSchema).optional()
|
|
59300
59410
|
});
|
|
59301
59411
|
});
|
|
@@ -59385,11 +59495,17 @@ var init_userdataobject = __esm(() => {
|
|
|
59385
59495
|
});
|
|
59386
59496
|
|
|
59387
59497
|
// src/models/userteam.ts
|
|
59388
|
-
var UserTeamBilling$inboundSchema, UserTeamBilling$outboundSchema, UserTeamAttributes$inboundSchema, UserTeamAttributes$outboundSchema, UserTeam$inboundSchema, UserTeam$outboundSchema;
|
|
59498
|
+
var UserTeamType, UserTeamType$inboundSchema, UserTeamType$outboundSchema, UserTeamBilling$inboundSchema, UserTeamBilling$outboundSchema, UserTeamLimits$inboundSchema, UserTeamLimits$outboundSchema, UserTeamAttributes$inboundSchema, UserTeamAttributes$outboundSchema, UserTeam$inboundSchema, UserTeam$outboundSchema;
|
|
59389
59499
|
var init_userteam = __esm(() => {
|
|
59390
59500
|
init_v3();
|
|
59391
59501
|
init_primitives();
|
|
59502
|
+
init_projectinclude();
|
|
59392
59503
|
init_userinclude();
|
|
59504
|
+
UserTeamType = {
|
|
59505
|
+
Teams: "teams"
|
|
59506
|
+
};
|
|
59507
|
+
UserTeamType$inboundSchema = nativeEnumType(UserTeamType);
|
|
59508
|
+
UserTeamType$outboundSchema = UserTeamType$inboundSchema;
|
|
59393
59509
|
UserTeamBilling$inboundSchema = objectType({
|
|
59394
59510
|
id: stringType().optional(),
|
|
59395
59511
|
customer_billing_id: stringType().optional()
|
|
@@ -59406,6 +59522,48 @@ var init_userteam = __esm(() => {
|
|
|
59406
59522
|
customerBillingId: "customer_billing_id"
|
|
59407
59523
|
});
|
|
59408
59524
|
});
|
|
59525
|
+
UserTeamLimits$inboundSchema = objectType({
|
|
59526
|
+
bare_metal: nullableType(numberType().int()).optional(),
|
|
59527
|
+
bare_metal_gpu: nullableType(numberType().int()).optional(),
|
|
59528
|
+
virtual_machine: nullableType(numberType().int()).optional(),
|
|
59529
|
+
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
59530
|
+
elastic_ip: nullableType(numberType().int()).optional(),
|
|
59531
|
+
virtual_network: nullableType(numberType().int()).optional(),
|
|
59532
|
+
database: nullableType(numberType().int()).optional(),
|
|
59533
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
59534
|
+
block_storage: nullableType(numberType().int()).optional()
|
|
59535
|
+
}).transform((v2) => {
|
|
59536
|
+
return remap(v2, {
|
|
59537
|
+
bare_metal: "bareMetal",
|
|
59538
|
+
bare_metal_gpu: "bareMetalGpu",
|
|
59539
|
+
virtual_machine: "virtualMachine",
|
|
59540
|
+
virtual_machine_gpu: "virtualMachineGpu",
|
|
59541
|
+
elastic_ip: "elasticIp",
|
|
59542
|
+
virtual_network: "virtualNetwork",
|
|
59543
|
+
block_storage: "blockStorage"
|
|
59544
|
+
});
|
|
59545
|
+
});
|
|
59546
|
+
UserTeamLimits$outboundSchema = objectType({
|
|
59547
|
+
bareMetal: nullableType(numberType().int()).optional(),
|
|
59548
|
+
bareMetalGpu: nullableType(numberType().int()).optional(),
|
|
59549
|
+
virtualMachine: nullableType(numberType().int()).optional(),
|
|
59550
|
+
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
59551
|
+
elasticIp: nullableType(numberType().int()).optional(),
|
|
59552
|
+
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
59553
|
+
database: nullableType(numberType().int()).optional(),
|
|
59554
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
59555
|
+
blockStorage: nullableType(numberType().int()).optional()
|
|
59556
|
+
}).transform((v2) => {
|
|
59557
|
+
return remap(v2, {
|
|
59558
|
+
bareMetal: "bare_metal",
|
|
59559
|
+
bareMetalGpu: "bare_metal_gpu",
|
|
59560
|
+
virtualMachine: "virtual_machine",
|
|
59561
|
+
virtualMachineGpu: "virtual_machine_gpu",
|
|
59562
|
+
elasticIp: "elastic_ip",
|
|
59563
|
+
virtualNetwork: "virtual_network",
|
|
59564
|
+
blockStorage: "block_storage"
|
|
59565
|
+
});
|
|
59566
|
+
});
|
|
59409
59567
|
UserTeamAttributes$inboundSchema = objectType({
|
|
59410
59568
|
name: stringType().optional(),
|
|
59411
59569
|
slug: stringType().optional(),
|
|
@@ -59414,12 +59572,20 @@ var init_userteam = __esm(() => {
|
|
|
59414
59572
|
currency: stringType().optional(),
|
|
59415
59573
|
created_at: stringType().optional(),
|
|
59416
59574
|
updated_at: stringType().optional(),
|
|
59575
|
+
status: nullableType(stringType()).optional(),
|
|
59576
|
+
enforce_mfa: booleanType().optional(),
|
|
59577
|
+
users: arrayType(UserInclude$inboundSchema).optional(),
|
|
59578
|
+
projects: arrayType(ProjectInclude$inboundSchema).optional(),
|
|
59417
59579
|
owner: UserInclude$inboundSchema.optional(),
|
|
59418
|
-
billing: lazyType(() => UserTeamBilling$inboundSchema).optional()
|
|
59580
|
+
billing: lazyType(() => UserTeamBilling$inboundSchema).optional(),
|
|
59581
|
+
feature_flags: arrayType(stringType()).optional(),
|
|
59582
|
+
limits: lazyType(() => UserTeamLimits$inboundSchema).optional()
|
|
59419
59583
|
}).transform((v2) => {
|
|
59420
59584
|
return remap(v2, {
|
|
59421
59585
|
created_at: "createdAt",
|
|
59422
|
-
updated_at: "updatedAt"
|
|
59586
|
+
updated_at: "updatedAt",
|
|
59587
|
+
enforce_mfa: "enforceMfa",
|
|
59588
|
+
feature_flags: "featureFlags"
|
|
59423
59589
|
});
|
|
59424
59590
|
});
|
|
59425
59591
|
UserTeamAttributes$outboundSchema = objectType({
|
|
@@ -59430,20 +59596,30 @@ var init_userteam = __esm(() => {
|
|
|
59430
59596
|
currency: stringType().optional(),
|
|
59431
59597
|
createdAt: stringType().optional(),
|
|
59432
59598
|
updatedAt: stringType().optional(),
|
|
59599
|
+
status: nullableType(stringType()).optional(),
|
|
59600
|
+
enforceMfa: booleanType().optional(),
|
|
59601
|
+
users: arrayType(UserInclude$outboundSchema).optional(),
|
|
59602
|
+
projects: arrayType(ProjectInclude$outboundSchema).optional(),
|
|
59433
59603
|
owner: UserInclude$outboundSchema.optional(),
|
|
59434
|
-
billing: lazyType(() => UserTeamBilling$outboundSchema).optional()
|
|
59604
|
+
billing: lazyType(() => UserTeamBilling$outboundSchema).optional(),
|
|
59605
|
+
featureFlags: arrayType(stringType()).optional(),
|
|
59606
|
+
limits: lazyType(() => UserTeamLimits$outboundSchema).optional()
|
|
59435
59607
|
}).transform((v2) => {
|
|
59436
59608
|
return remap(v2, {
|
|
59437
59609
|
createdAt: "created_at",
|
|
59438
|
-
updatedAt: "updated_at"
|
|
59610
|
+
updatedAt: "updated_at",
|
|
59611
|
+
enforceMfa: "enforce_mfa",
|
|
59612
|
+
featureFlags: "feature_flags"
|
|
59439
59613
|
});
|
|
59440
59614
|
});
|
|
59441
59615
|
UserTeam$inboundSchema = objectType({
|
|
59442
59616
|
id: stringType().optional(),
|
|
59617
|
+
type: UserTeamType$inboundSchema.optional(),
|
|
59443
59618
|
attributes: lazyType(() => UserTeamAttributes$inboundSchema).optional()
|
|
59444
59619
|
});
|
|
59445
59620
|
UserTeam$outboundSchema = objectType({
|
|
59446
59621
|
id: stringType().optional(),
|
|
59622
|
+
type: UserTeamType$outboundSchema.optional(),
|
|
59447
59623
|
attributes: lazyType(() => UserTeamAttributes$outboundSchema).optional()
|
|
59448
59624
|
});
|
|
59449
59625
|
});
|
|
@@ -59466,21 +59642,30 @@ var init_userteams = __esm(() => {
|
|
|
59466
59642
|
});
|
|
59467
59643
|
|
|
59468
59644
|
// src/models/userupdate.ts
|
|
59469
|
-
var UserUpdateAttributes$inboundSchema, UserUpdateAttributes$outboundSchema, UserUpdate$inboundSchema, UserUpdate$outboundSchema;
|
|
59645
|
+
var UserUpdateType, UserUpdateType$inboundSchema, UserUpdateType$outboundSchema, UserUpdateAttributes$inboundSchema, UserUpdateAttributes$outboundSchema, UserUpdate$inboundSchema, UserUpdate$outboundSchema;
|
|
59470
59646
|
var init_userupdate = __esm(() => {
|
|
59471
59647
|
init_v3();
|
|
59472
59648
|
init_primitives();
|
|
59649
|
+
UserUpdateType = {
|
|
59650
|
+
Users: "users"
|
|
59651
|
+
};
|
|
59652
|
+
UserUpdateType$inboundSchema = nativeEnumType(UserUpdateType);
|
|
59653
|
+
UserUpdateType$outboundSchema = UserUpdateType$inboundSchema;
|
|
59473
59654
|
UserUpdateAttributes$inboundSchema = objectType({
|
|
59474
59655
|
first_name: stringType().optional(),
|
|
59475
59656
|
last_name: stringType().optional(),
|
|
59476
59657
|
email: stringType().optional(),
|
|
59477
59658
|
authentication_factor_id: nullableType(stringType()).optional(),
|
|
59478
|
-
role: stringType().optional()
|
|
59659
|
+
role: nullableType(stringType()).optional(),
|
|
59660
|
+
created_at: stringType().optional(),
|
|
59661
|
+
updated_at: stringType().optional()
|
|
59479
59662
|
}).transform((v2) => {
|
|
59480
59663
|
return remap(v2, {
|
|
59481
59664
|
first_name: "firstName",
|
|
59482
59665
|
last_name: "lastName",
|
|
59483
|
-
authentication_factor_id: "authenticationFactorId"
|
|
59666
|
+
authentication_factor_id: "authenticationFactorId",
|
|
59667
|
+
created_at: "createdAt",
|
|
59668
|
+
updated_at: "updatedAt"
|
|
59484
59669
|
});
|
|
59485
59670
|
});
|
|
59486
59671
|
UserUpdateAttributes$outboundSchema = objectType({
|
|
@@ -59488,26 +59673,32 @@ var init_userupdate = __esm(() => {
|
|
|
59488
59673
|
lastName: stringType().optional(),
|
|
59489
59674
|
email: stringType().optional(),
|
|
59490
59675
|
authenticationFactorId: nullableType(stringType()).optional(),
|
|
59491
|
-
role: stringType().optional()
|
|
59676
|
+
role: nullableType(stringType()).optional(),
|
|
59677
|
+
createdAt: stringType().optional(),
|
|
59678
|
+
updatedAt: stringType().optional()
|
|
59492
59679
|
}).transform((v2) => {
|
|
59493
59680
|
return remap(v2, {
|
|
59494
59681
|
firstName: "first_name",
|
|
59495
59682
|
lastName: "last_name",
|
|
59496
|
-
authenticationFactorId: "authentication_factor_id"
|
|
59683
|
+
authenticationFactorId: "authentication_factor_id",
|
|
59684
|
+
createdAt: "created_at",
|
|
59685
|
+
updatedAt: "updated_at"
|
|
59497
59686
|
});
|
|
59498
59687
|
});
|
|
59499
59688
|
UserUpdate$inboundSchema = objectType({
|
|
59500
59689
|
id: stringType().optional(),
|
|
59690
|
+
type: UserUpdateType$inboundSchema.optional(),
|
|
59501
59691
|
attributes: lazyType(() => UserUpdateAttributes$inboundSchema).optional()
|
|
59502
59692
|
});
|
|
59503
59693
|
UserUpdate$outboundSchema = objectType({
|
|
59504
59694
|
id: stringType().optional(),
|
|
59695
|
+
type: UserUpdateType$outboundSchema.optional(),
|
|
59505
59696
|
attributes: lazyType(() => UserUpdateAttributes$outboundSchema).optional()
|
|
59506
59697
|
});
|
|
59507
59698
|
});
|
|
59508
59699
|
|
|
59509
59700
|
// src/models/virtualmachineattributes.ts
|
|
59510
|
-
var VirtualMachineAttributesType, VirtualMachineAttributesType$inboundSchema, VirtualMachineAttributesType$outboundSchema, VirtualMachineAttributesFeatures$inboundSchema, VirtualMachineAttributesFeatures$outboundSchema, VirtualMachineAttributesDistro$inboundSchema, VirtualMachineAttributesDistro$outboundSchema, VirtualMachineAttributesOperatingSystem$inboundSchema, VirtualMachineAttributesOperatingSystem$outboundSchema, VirtualMachineAttributesCredentials$inboundSchema, VirtualMachineAttributesCredentials$outboundSchema, VirtualMachineAttributesPlan$inboundSchema, VirtualMachineAttributesPlan$outboundSchema, VirtualMachineAttributesSpecs$inboundSchema, VirtualMachineAttributesSpecs$outboundSchema, VirtualMachineAttributesTag$inboundSchema, VirtualMachineAttributesTag$outboundSchema, VirtualMachineAttributesAttributes$inboundSchema, VirtualMachineAttributesAttributes$outboundSchema, VirtualMachineAttributes$inboundSchema, VirtualMachineAttributes$outboundSchema;
|
|
59701
|
+
var VirtualMachineAttributesType, VirtualMachineAttributesType$inboundSchema, VirtualMachineAttributesType$outboundSchema, VirtualMachineAttributesFeatures$inboundSchema, VirtualMachineAttributesFeatures$outboundSchema, VirtualMachineAttributesDistro$inboundSchema, VirtualMachineAttributesDistro$outboundSchema, VirtualMachineAttributesOperatingSystem$inboundSchema, VirtualMachineAttributesOperatingSystem$outboundSchema, VirtualMachineAttributesSshKey$inboundSchema, VirtualMachineAttributesSshKey$outboundSchema, VirtualMachineAttributesCredentials$inboundSchema, VirtualMachineAttributesCredentials$outboundSchema, VirtualMachineAttributesPlan$inboundSchema, VirtualMachineAttributesPlan$outboundSchema, VirtualMachineAttributesSpecs$inboundSchema, VirtualMachineAttributesSpecs$outboundSchema, VirtualMachineAttributesTag$inboundSchema, VirtualMachineAttributesTag$outboundSchema, VirtualMachineAttributesAttributes$inboundSchema, VirtualMachineAttributesAttributes$outboundSchema, VirtualMachineAttributes$inboundSchema, VirtualMachineAttributes$outboundSchema;
|
|
59511
59702
|
var init_virtualmachineattributes = __esm(() => {
|
|
59512
59703
|
init_v3();
|
|
59513
59704
|
init_primitives();
|
|
@@ -59566,21 +59757,49 @@ var init_virtualmachineattributes = __esm(() => {
|
|
|
59566
59757
|
features: lazyType(() => VirtualMachineAttributesFeatures$outboundSchema).optional(),
|
|
59567
59758
|
distro: lazyType(() => VirtualMachineAttributesDistro$outboundSchema).optional()
|
|
59568
59759
|
});
|
|
59760
|
+
VirtualMachineAttributesSshKey$inboundSchema = objectType({
|
|
59761
|
+
id: stringType().optional(),
|
|
59762
|
+
name: stringType().optional(),
|
|
59763
|
+
fingerprint: stringType().optional(),
|
|
59764
|
+
public_key: stringType().optional(),
|
|
59765
|
+
created_at: stringType().optional(),
|
|
59766
|
+
updated_at: stringType().optional()
|
|
59767
|
+
}).transform((v2) => {
|
|
59768
|
+
return remap(v2, {
|
|
59769
|
+
public_key: "publicKey",
|
|
59770
|
+
created_at: "createdAt",
|
|
59771
|
+
updated_at: "updatedAt"
|
|
59772
|
+
});
|
|
59773
|
+
});
|
|
59774
|
+
VirtualMachineAttributesSshKey$outboundSchema = objectType({
|
|
59775
|
+
id: stringType().optional(),
|
|
59776
|
+
name: stringType().optional(),
|
|
59777
|
+
fingerprint: stringType().optional(),
|
|
59778
|
+
publicKey: stringType().optional(),
|
|
59779
|
+
createdAt: stringType().optional(),
|
|
59780
|
+
updatedAt: stringType().optional()
|
|
59781
|
+
}).transform((v2) => {
|
|
59782
|
+
return remap(v2, {
|
|
59783
|
+
publicKey: "public_key",
|
|
59784
|
+
createdAt: "created_at",
|
|
59785
|
+
updatedAt: "updated_at"
|
|
59786
|
+
});
|
|
59787
|
+
});
|
|
59569
59788
|
VirtualMachineAttributesCredentials$inboundSchema = objectType({
|
|
59570
|
-
username: stringType().optional(),
|
|
59571
|
-
host: stringType().optional(),
|
|
59572
|
-
password: stringType().optional(),
|
|
59573
|
-
ssh_keys: arrayType(
|
|
59789
|
+
username: nullableType(stringType()).optional(),
|
|
59790
|
+
host: nullableType(stringType()).optional(),
|
|
59791
|
+
password: nullableType(stringType()).optional(),
|
|
59792
|
+
ssh_keys: nullableType(arrayType(lazyType(() => VirtualMachineAttributesSshKey$inboundSchema))).optional()
|
|
59574
59793
|
}).transform((v2) => {
|
|
59575
59794
|
return remap(v2, {
|
|
59576
59795
|
ssh_keys: "sshKeys"
|
|
59577
59796
|
});
|
|
59578
59797
|
});
|
|
59579
59798
|
VirtualMachineAttributesCredentials$outboundSchema = objectType({
|
|
59580
|
-
username: stringType().optional(),
|
|
59581
|
-
host: stringType().optional(),
|
|
59582
|
-
password: stringType().optional(),
|
|
59583
|
-
sshKeys: arrayType(
|
|
59799
|
+
username: nullableType(stringType()).optional(),
|
|
59800
|
+
host: nullableType(stringType()).optional(),
|
|
59801
|
+
password: nullableType(stringType()).optional(),
|
|
59802
|
+
sshKeys: nullableType(arrayType(lazyType(() => VirtualMachineAttributesSshKey$outboundSchema))).optional()
|
|
59584
59803
|
}).transform((v2) => {
|
|
59585
59804
|
return remap(v2, {
|
|
59586
59805
|
sshKeys: "ssh_keys"
|
|
@@ -60710,6 +60929,9 @@ var init_volumedata = __esm(() => {
|
|
|
60710
60929
|
namespace_id: nullableType(stringType()).optional(),
|
|
60711
60930
|
connector_id: nullableType(stringType()).optional(),
|
|
60712
60931
|
initiators: nullableType(arrayType(lazyType(() => Initiator$inboundSchema))).optional(),
|
|
60932
|
+
keyring: nullableType(stringType()).optional(),
|
|
60933
|
+
cluster_user: nullableType(stringType()).optional(),
|
|
60934
|
+
volume_path: nullableType(stringType()).optional(),
|
|
60713
60935
|
project: ProjectInclude$inboundSchema.optional(),
|
|
60714
60936
|
team: TeamInclude$inboundSchema.optional()
|
|
60715
60937
|
}).transform((v2) => {
|
|
@@ -60717,7 +60939,9 @@ var init_volumedata = __esm(() => {
|
|
|
60717
60939
|
size_in_gb: "sizeInGb",
|
|
60718
60940
|
created_at: "createdAt",
|
|
60719
60941
|
namespace_id: "namespaceId",
|
|
60720
|
-
connector_id: "connectorId"
|
|
60942
|
+
connector_id: "connectorId",
|
|
60943
|
+
cluster_user: "clusterUser",
|
|
60944
|
+
volume_path: "volumePath"
|
|
60721
60945
|
});
|
|
60722
60946
|
});
|
|
60723
60947
|
VolumeDataAttributes$outboundSchema = objectType({
|
|
@@ -60727,6 +60951,9 @@ var init_volumedata = __esm(() => {
|
|
|
60727
60951
|
namespaceId: nullableType(stringType()).optional(),
|
|
60728
60952
|
connectorId: nullableType(stringType()).optional(),
|
|
60729
60953
|
initiators: nullableType(arrayType(lazyType(() => Initiator$outboundSchema))).optional(),
|
|
60954
|
+
keyring: nullableType(stringType()).optional(),
|
|
60955
|
+
clusterUser: nullableType(stringType()).optional(),
|
|
60956
|
+
volumePath: nullableType(stringType()).optional(),
|
|
60730
60957
|
project: ProjectInclude$outboundSchema.optional(),
|
|
60731
60958
|
team: TeamInclude$outboundSchema.optional()
|
|
60732
60959
|
}).transform((v2) => {
|
|
@@ -60734,7 +60961,9 @@ var init_volumedata = __esm(() => {
|
|
|
60734
60961
|
sizeInGb: "size_in_gb",
|
|
60735
60962
|
createdAt: "created_at",
|
|
60736
60963
|
namespaceId: "namespace_id",
|
|
60737
|
-
connectorId: "connector_id"
|
|
60964
|
+
connectorId: "connector_id",
|
|
60965
|
+
clusterUser: "cluster_user",
|
|
60966
|
+
volumePath: "volume_path"
|
|
60738
60967
|
});
|
|
60739
60968
|
});
|
|
60740
60969
|
VolumeData$inboundSchema = objectType({
|
|
@@ -63582,6 +63811,31 @@ var init_getstoragefilesystems = __esm(() => {
|
|
|
63582
63811
|
});
|
|
63583
63812
|
});
|
|
63584
63813
|
|
|
63814
|
+
// src/models/operations/getstorageplans.ts
|
|
63815
|
+
var GetStoragePlansRequest$inboundSchema, GetStoragePlansRequest$outboundSchema;
|
|
63816
|
+
var init_getstorageplans = __esm(() => {
|
|
63817
|
+
init_v3();
|
|
63818
|
+
init_primitives();
|
|
63819
|
+
GetStoragePlansRequest$inboundSchema = objectType({
|
|
63820
|
+
"filter[storage_type]": stringType().optional(),
|
|
63821
|
+
"filter[storage_class]": stringType().optional()
|
|
63822
|
+
}).transform((v2) => {
|
|
63823
|
+
return remap(v2, {
|
|
63824
|
+
"filter[storage_type]": "filterStorageType",
|
|
63825
|
+
"filter[storage_class]": "filterStorageClass"
|
|
63826
|
+
});
|
|
63827
|
+
});
|
|
63828
|
+
GetStoragePlansRequest$outboundSchema = objectType({
|
|
63829
|
+
filterStorageType: stringType().optional(),
|
|
63830
|
+
filterStorageClass: stringType().optional()
|
|
63831
|
+
}).transform((v2) => {
|
|
63832
|
+
return remap(v2, {
|
|
63833
|
+
filterStorageType: "filter[storage_type]",
|
|
63834
|
+
filterStorageClass: "filter[storage_class]"
|
|
63835
|
+
});
|
|
63836
|
+
});
|
|
63837
|
+
});
|
|
63838
|
+
|
|
63585
63839
|
// src/models/operations/getstoragevolume.ts
|
|
63586
63840
|
var GetStorageVolumeRequest$inboundSchema, GetStorageVolumeRequest$outboundSchema, GetStorageVolumeResponse$inboundSchema, GetStorageVolumeResponse$outboundSchema;
|
|
63587
63841
|
var init_getstoragevolume = __esm(() => {
|
|
@@ -64519,7 +64773,7 @@ var init_patchuserdata = __esm(() => {
|
|
|
64519
64773
|
});
|
|
64520
64774
|
|
|
64521
64775
|
// src/models/operations/patchuserprofile.ts
|
|
64522
|
-
var PatchUserProfileType2, PatchUserProfileRole2, PatchUserProfileType2$inboundSchema, PatchUserProfileType2$outboundSchema, PatchUserProfileRole2$inboundSchema, PatchUserProfileRole2$outboundSchema, PatchUserProfileAttributes2$inboundSchema, PatchUserProfileAttributes2$outboundSchema, PatchUserProfileData2$inboundSchema, PatchUserProfileData2$outboundSchema, PatchUserProfileRequestBody2$inboundSchema, PatchUserProfileRequestBody2$outboundSchema, PatchUserProfileRequest$inboundSchema, PatchUserProfileRequest$outboundSchema, PatchUserProfileResponse$inboundSchema, PatchUserProfileResponse$outboundSchema;
|
|
64776
|
+
var PatchUserProfileType2, PatchUserProfileRole2, PatchUserProfileType2$inboundSchema, PatchUserProfileType2$outboundSchema, PatchUserProfileRole2$inboundSchema, PatchUserProfileRole2$outboundSchema, PatchUserProfileAttributes2$inboundSchema, PatchUserProfileAttributes2$outboundSchema, PatchUserProfileData2$inboundSchema, PatchUserProfileData2$outboundSchema, PatchUserProfileRequestBody2$inboundSchema, PatchUserProfileRequestBody2$outboundSchema, PatchUserProfileRequest$inboundSchema, PatchUserProfileRequest$outboundSchema, PatchUserProfileMeta$inboundSchema, PatchUserProfileMeta$outboundSchema, PatchUserProfileResponse$inboundSchema, PatchUserProfileResponse$outboundSchema;
|
|
64523
64777
|
var init_patchuserprofile = __esm(() => {
|
|
64524
64778
|
init_v3();
|
|
64525
64779
|
init_primitives();
|
|
@@ -64589,11 +64843,15 @@ var init_patchuserprofile = __esm(() => {
|
|
|
64589
64843
|
requestBody: "RequestBody"
|
|
64590
64844
|
});
|
|
64591
64845
|
});
|
|
64846
|
+
PatchUserProfileMeta$inboundSchema = objectType({});
|
|
64847
|
+
PatchUserProfileMeta$outboundSchema = objectType({});
|
|
64592
64848
|
PatchUserProfileResponse$inboundSchema = objectType({
|
|
64593
|
-
data: UserUpdate$inboundSchema.optional()
|
|
64849
|
+
data: UserUpdate$inboundSchema.optional(),
|
|
64850
|
+
meta: lazyType(() => PatchUserProfileMeta$inboundSchema).optional()
|
|
64594
64851
|
});
|
|
64595
64852
|
PatchUserProfileResponse$outboundSchema = objectType({
|
|
64596
|
-
data: UserUpdate$outboundSchema.optional()
|
|
64853
|
+
data: UserUpdate$outboundSchema.optional(),
|
|
64854
|
+
meta: lazyType(() => PatchUserProfileMeta$outboundSchema).optional()
|
|
64597
64855
|
});
|
|
64598
64856
|
});
|
|
64599
64857
|
|
|
@@ -65883,10 +66141,10 @@ var init_updateproject = __esm(() => {
|
|
|
65883
66141
|
UpdateProjectEnvironment2$inboundSchema = nativeEnumType(UpdateProjectEnvironment2);
|
|
65884
66142
|
UpdateProjectEnvironment2$outboundSchema = UpdateProjectEnvironment2$inboundSchema;
|
|
65885
66143
|
UpdateProjectAttributes2$inboundSchema = objectType({
|
|
65886
|
-
name: stringType().
|
|
65887
|
-
description: stringType().
|
|
66144
|
+
name: stringType().optional(),
|
|
66145
|
+
description: stringType().optional(),
|
|
65888
66146
|
environment: UpdateProjectEnvironment2$inboundSchema.optional(),
|
|
65889
|
-
bandwidth_alert: booleanType().
|
|
66147
|
+
bandwidth_alert: booleanType().optional(),
|
|
65890
66148
|
tags: arrayType(stringType()).optional()
|
|
65891
66149
|
}).transform((v2) => {
|
|
65892
66150
|
return remap(v2, {
|
|
@@ -65894,10 +66152,10 @@ var init_updateproject = __esm(() => {
|
|
|
65894
66152
|
});
|
|
65895
66153
|
});
|
|
65896
66154
|
UpdateProjectAttributes2$outboundSchema = objectType({
|
|
65897
|
-
name: stringType().
|
|
65898
|
-
description: stringType().
|
|
66155
|
+
name: stringType().optional(),
|
|
66156
|
+
description: stringType().optional(),
|
|
65899
66157
|
environment: UpdateProjectEnvironment2$outboundSchema.optional(),
|
|
65900
|
-
bandwidthAlert: booleanType().
|
|
66158
|
+
bandwidthAlert: booleanType().optional(),
|
|
65901
66159
|
tags: arrayType(stringType()).optional()
|
|
65902
66160
|
}).transform((v2) => {
|
|
65903
66161
|
return remap(v2, {
|
|
@@ -65905,12 +66163,12 @@ var init_updateproject = __esm(() => {
|
|
|
65905
66163
|
});
|
|
65906
66164
|
});
|
|
65907
66165
|
UpdateProjectData2$inboundSchema = objectType({
|
|
65908
|
-
id: stringType()
|
|
66166
|
+
id: stringType(),
|
|
65909
66167
|
type: UpdateProjectType2$inboundSchema,
|
|
65910
66168
|
attributes: lazyType(() => UpdateProjectAttributes2$inboundSchema).optional()
|
|
65911
66169
|
});
|
|
65912
66170
|
UpdateProjectData2$outboundSchema = objectType({
|
|
65913
|
-
id: stringType()
|
|
66171
|
+
id: stringType(),
|
|
65914
66172
|
type: UpdateProjectType2$outboundSchema,
|
|
65915
66173
|
attributes: lazyType(() => UpdateProjectAttributes2$outboundSchema).optional()
|
|
65916
66174
|
});
|
|
@@ -66380,6 +66638,7 @@ var init_operations = __esm(() => {
|
|
|
66380
66638
|
init_getstoragebucket();
|
|
66381
66639
|
init_getstoragebuckets();
|
|
66382
66640
|
init_getstoragefilesystems();
|
|
66641
|
+
init_getstorageplans();
|
|
66383
66642
|
init_getstoragevolume();
|
|
66384
66643
|
init_getstoragevolumes();
|
|
66385
66644
|
init_getteammembers();
|
|
@@ -72064,11 +72323,21 @@ Lists all plans. Availability by region is included in \`attributes.regions.loca
|
|
|
72064
72323
|
});
|
|
72065
72324
|
|
|
72066
72325
|
// src/funcs/plansListStorage.ts
|
|
72067
|
-
function plansListStorage(client, options) {
|
|
72068
|
-
return new APIPromise($do49(client, options));
|
|
72326
|
+
function plansListStorage(client, request, options) {
|
|
72327
|
+
return new APIPromise($do49(client, request, options));
|
|
72069
72328
|
}
|
|
72070
|
-
async function $do49(client, options) {
|
|
72329
|
+
async function $do49(client, request, options) {
|
|
72330
|
+
const parsed = safeParse4(request, (value) => GetStoragePlansRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72331
|
+
if (!parsed.ok) {
|
|
72332
|
+
return [parsed, { status: "invalid" }];
|
|
72333
|
+
}
|
|
72334
|
+
const payload = parsed.value;
|
|
72335
|
+
const body = null;
|
|
72071
72336
|
const path = pathToFunc("/plans/storage")();
|
|
72337
|
+
const query = encodeFormQuery({
|
|
72338
|
+
"filter[storage_class]": payload?.["filter[storage_class]"],
|
|
72339
|
+
"filter[storage_type]": payload?.["filter[storage_type]"]
|
|
72340
|
+
});
|
|
72072
72341
|
const headers = new Headers(compactMap({
|
|
72073
72342
|
Accept: "application/vnd.api+json"
|
|
72074
72343
|
}));
|
|
@@ -72091,6 +72360,8 @@ async function $do49(client, options) {
|
|
|
72091
72360
|
baseURL: options?.serverURL,
|
|
72092
72361
|
path,
|
|
72093
72362
|
headers,
|
|
72363
|
+
query,
|
|
72364
|
+
body,
|
|
72094
72365
|
userAgent: client._options.userAgent,
|
|
72095
72366
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72096
72367
|
}, options);
|
|
@@ -72117,25 +72388,33 @@ async function $do49(client, options) {
|
|
|
72117
72388
|
return [result, { status: "complete", request: req, response }];
|
|
72118
72389
|
}
|
|
72119
72390
|
var init_plansListStorage = __esm(() => {
|
|
72391
|
+
init_encodings();
|
|
72120
72392
|
init_http();
|
|
72121
72393
|
init_matchers();
|
|
72122
72394
|
init_primitives();
|
|
72395
|
+
init_schemas4();
|
|
72123
72396
|
init_security();
|
|
72124
72397
|
init_url();
|
|
72125
72398
|
init_models();
|
|
72399
|
+
init_operations();
|
|
72126
72400
|
init_async();
|
|
72127
72401
|
});
|
|
72128
72402
|
|
|
72129
72403
|
// src/mcp-server/tools/plansListStorage.ts
|
|
72130
|
-
var tool$plansListStorage;
|
|
72404
|
+
var args46, tool$plansListStorage;
|
|
72131
72405
|
var init_plansListStorage2 = __esm(() => {
|
|
72132
72406
|
init_plansListStorage();
|
|
72407
|
+
init_operations();
|
|
72133
72408
|
init_tools();
|
|
72409
|
+
args46 = {
|
|
72410
|
+
request: GetStoragePlansRequest$inboundSchema.optional()
|
|
72411
|
+
};
|
|
72134
72412
|
tool$plansListStorage = {
|
|
72135
72413
|
name: "plans-list-storage",
|
|
72136
72414
|
description: `List storage plans`,
|
|
72137
|
-
|
|
72138
|
-
|
|
72415
|
+
args: args46,
|
|
72416
|
+
tool: async (client, args47, ctx) => {
|
|
72417
|
+
const [result, apiCall] = await plansListStorage(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72139
72418
|
if (!result.ok) {
|
|
72140
72419
|
return {
|
|
72141
72420
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72223,12 +72502,12 @@ var init_plansUpdateBandwidth = __esm(() => {
|
|
|
72223
72502
|
});
|
|
72224
72503
|
|
|
72225
72504
|
// src/mcp-server/tools/plansUpdateBandwidth.ts
|
|
72226
|
-
var
|
|
72505
|
+
var args47, tool$plansUpdateBandwidth;
|
|
72227
72506
|
var init_plansUpdateBandwidth2 = __esm(() => {
|
|
72228
72507
|
init_plansUpdateBandwidth();
|
|
72229
72508
|
init_operations();
|
|
72230
72509
|
init_tools();
|
|
72231
|
-
|
|
72510
|
+
args47 = {
|
|
72232
72511
|
request: UpdatePlansBandwidthRequest$inboundSchema
|
|
72233
72512
|
};
|
|
72234
72513
|
tool$plansUpdateBandwidth = {
|
|
@@ -72237,9 +72516,9 @@ var init_plansUpdateBandwidth2 = __esm(() => {
|
|
|
72237
72516
|
|
|
72238
72517
|
Allows to increase or decrease bandwidth packages. Only admins and owners can request.
|
|
72239
72518
|
`,
|
|
72240
|
-
args:
|
|
72241
|
-
tool: async (client,
|
|
72242
|
-
const [result, apiCall] = await plansUpdateBandwidth(client,
|
|
72519
|
+
args: args47,
|
|
72520
|
+
tool: async (client, args48, ctx) => {
|
|
72521
|
+
const [result, apiCall] = await plansUpdateBandwidth(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72243
72522
|
if (!result.ok) {
|
|
72244
72523
|
return {
|
|
72245
72524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72330,20 +72609,20 @@ var init_plansVmList = __esm(() => {
|
|
|
72330
72609
|
});
|
|
72331
72610
|
|
|
72332
72611
|
// src/mcp-server/tools/plansVmList.ts
|
|
72333
|
-
var
|
|
72612
|
+
var args48, tool$plansVmList;
|
|
72334
72613
|
var init_plansVmList2 = __esm(() => {
|
|
72335
72614
|
init_plansVmList();
|
|
72336
72615
|
init_operations();
|
|
72337
72616
|
init_tools();
|
|
72338
|
-
|
|
72617
|
+
args48 = {
|
|
72339
72618
|
request: GetVmPlansRequest$inboundSchema.optional()
|
|
72340
72619
|
};
|
|
72341
72620
|
tool$plansVmList = {
|
|
72342
72621
|
name: "plans-vm-list",
|
|
72343
72622
|
description: `List VM plans`,
|
|
72344
|
-
args:
|
|
72345
|
-
tool: async (client,
|
|
72346
|
-
const [result, apiCall] = await plansVmList(client,
|
|
72623
|
+
args: args48,
|
|
72624
|
+
tool: async (client, args49, ctx) => {
|
|
72625
|
+
const [result, apiCall] = await plansVmList(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72347
72626
|
if (!result.ok) {
|
|
72348
72627
|
return {
|
|
72349
72628
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72431,20 +72710,20 @@ var init_privateNetworksAssign = __esm(() => {
|
|
|
72431
72710
|
});
|
|
72432
72711
|
|
|
72433
72712
|
// src/mcp-server/tools/privateNetworksAssign.ts
|
|
72434
|
-
var
|
|
72713
|
+
var args49, tool$privateNetworksAssign;
|
|
72435
72714
|
var init_privateNetworksAssign2 = __esm(() => {
|
|
72436
72715
|
init_privateNetworksAssign();
|
|
72437
72716
|
init_operations();
|
|
72438
72717
|
init_tools();
|
|
72439
|
-
|
|
72718
|
+
args49 = {
|
|
72440
72719
|
request: AssignServerVirtualNetworkRequest$inboundSchema
|
|
72441
72720
|
};
|
|
72442
72721
|
tool$privateNetworksAssign = {
|
|
72443
72722
|
name: "private-networks-assign",
|
|
72444
72723
|
description: `Assign VLAN`,
|
|
72445
|
-
args:
|
|
72446
|
-
tool: async (client,
|
|
72447
|
-
const [result, apiCall] = await privateNetworksAssign(client,
|
|
72724
|
+
args: args49,
|
|
72725
|
+
tool: async (client, args50, ctx) => {
|
|
72726
|
+
const [result, apiCall] = await privateNetworksAssign(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72448
72727
|
if (!result.ok) {
|
|
72449
72728
|
return {
|
|
72450
72729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72532,12 +72811,12 @@ var init_privateNetworksCreate = __esm(() => {
|
|
|
72532
72811
|
});
|
|
72533
72812
|
|
|
72534
72813
|
// src/mcp-server/tools/privateNetworksCreate.ts
|
|
72535
|
-
var
|
|
72814
|
+
var args50, tool$privateNetworksCreate;
|
|
72536
72815
|
var init_privateNetworksCreate2 = __esm(() => {
|
|
72537
72816
|
init_privateNetworksCreate();
|
|
72538
72817
|
init_operations();
|
|
72539
72818
|
init_tools();
|
|
72540
|
-
|
|
72819
|
+
args50 = {
|
|
72541
72820
|
request: CreateVirtualNetworkRequest$inboundSchema
|
|
72542
72821
|
};
|
|
72543
72822
|
tool$privateNetworksCreate = {
|
|
@@ -72546,9 +72825,9 @@ var init_privateNetworksCreate2 = __esm(() => {
|
|
|
72546
72825
|
|
|
72547
72826
|
Creates a new Virtual Network.
|
|
72548
72827
|
`,
|
|
72549
|
-
args:
|
|
72550
|
-
tool: async (client,
|
|
72551
|
-
const [result, apiCall] = await privateNetworksCreate(client,
|
|
72828
|
+
args: args50,
|
|
72829
|
+
tool: async (client, args51, ctx) => {
|
|
72830
|
+
const [result, apiCall] = await privateNetworksCreate(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72552
72831
|
if (!result.ok) {
|
|
72553
72832
|
return {
|
|
72554
72833
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72639,12 +72918,12 @@ var init_privateNetworksDeleteAssignment = __esm(() => {
|
|
|
72639
72918
|
});
|
|
72640
72919
|
|
|
72641
72920
|
// src/mcp-server/tools/privateNetworksDeleteAssignment.ts
|
|
72642
|
-
var
|
|
72921
|
+
var args51, tool$privateNetworksDeleteAssignment;
|
|
72643
72922
|
var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
72644
72923
|
init_privateNetworksDeleteAssignment();
|
|
72645
72924
|
init_operations();
|
|
72646
72925
|
init_tools();
|
|
72647
|
-
|
|
72926
|
+
args51 = {
|
|
72648
72927
|
request: DeleteVirtualNetworksAssignmentsRequest$inboundSchema
|
|
72649
72928
|
};
|
|
72650
72929
|
tool$privateNetworksDeleteAssignment = {
|
|
@@ -72653,9 +72932,9 @@ var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
|
72653
72932
|
|
|
72654
72933
|
Allow you to remove a Virtual Network assignment.
|
|
72655
72934
|
`,
|
|
72656
|
-
args:
|
|
72657
|
-
tool: async (client,
|
|
72658
|
-
const [result, apiCall] = await privateNetworksDeleteAssignment(client,
|
|
72935
|
+
args: args51,
|
|
72936
|
+
tool: async (client, args52, ctx) => {
|
|
72937
|
+
const [result, apiCall] = await privateNetworksDeleteAssignment(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72659
72938
|
if (!result.ok) {
|
|
72660
72939
|
return {
|
|
72661
72940
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72747,12 +73026,12 @@ var init_privateNetworksGet = __esm(() => {
|
|
|
72747
73026
|
});
|
|
72748
73027
|
|
|
72749
73028
|
// src/mcp-server/tools/privateNetworksGet.ts
|
|
72750
|
-
var
|
|
73029
|
+
var args52, tool$privateNetworksGet;
|
|
72751
73030
|
var init_privateNetworksGet2 = __esm(() => {
|
|
72752
73031
|
init_privateNetworksGet();
|
|
72753
73032
|
init_operations();
|
|
72754
73033
|
init_tools();
|
|
72755
|
-
|
|
73034
|
+
args52 = {
|
|
72756
73035
|
request: GetVirtualNetworkRequest$inboundSchema
|
|
72757
73036
|
};
|
|
72758
73037
|
tool$privateNetworksGet = {
|
|
@@ -72761,9 +73040,9 @@ var init_privateNetworksGet2 = __esm(() => {
|
|
|
72761
73040
|
|
|
72762
73041
|
Retrieve a Virtual Network.
|
|
72763
73042
|
`,
|
|
72764
|
-
args:
|
|
72765
|
-
tool: async (client,
|
|
72766
|
-
const [result, apiCall] = await privateNetworksGet(client,
|
|
73043
|
+
args: args52,
|
|
73044
|
+
tool: async (client, args53, ctx) => {
|
|
73045
|
+
const [result, apiCall] = await privateNetworksGet(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72767
73046
|
if (!result.ok) {
|
|
72768
73047
|
return {
|
|
72769
73048
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72892,12 +73171,12 @@ var init_privateNetworksList = __esm(() => {
|
|
|
72892
73171
|
});
|
|
72893
73172
|
|
|
72894
73173
|
// src/mcp-server/tools/privateNetworksList.ts
|
|
72895
|
-
var
|
|
73174
|
+
var args53, tool$privateNetworksList;
|
|
72896
73175
|
var init_privateNetworksList2 = __esm(() => {
|
|
72897
73176
|
init_privateNetworksList();
|
|
72898
73177
|
init_operations();
|
|
72899
73178
|
init_tools();
|
|
72900
|
-
|
|
73179
|
+
args53 = {
|
|
72901
73180
|
request: GetVirtualNetworksRequest$inboundSchema.optional()
|
|
72902
73181
|
};
|
|
72903
73182
|
tool$privateNetworksList = {
|
|
@@ -72906,9 +73185,9 @@ var init_privateNetworksList2 = __esm(() => {
|
|
|
72906
73185
|
|
|
72907
73186
|
Lists virtual networks assigned to a project
|
|
72908
73187
|
`,
|
|
72909
|
-
args:
|
|
72910
|
-
tool: async (client,
|
|
72911
|
-
const [result, apiCall] = await privateNetworksList(client,
|
|
73188
|
+
args: args53,
|
|
73189
|
+
tool: async (client, args54, ctx) => {
|
|
73190
|
+
const [result, apiCall] = await privateNetworksList(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72912
73191
|
if (!result.ok) {
|
|
72913
73192
|
return {
|
|
72914
73193
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73034,12 +73313,12 @@ var init_privateNetworksListAssignments = __esm(() => {
|
|
|
73034
73313
|
});
|
|
73035
73314
|
|
|
73036
73315
|
// src/mcp-server/tools/privateNetworksListAssignments.ts
|
|
73037
|
-
var
|
|
73316
|
+
var args54, tool$privateNetworksListAssignments;
|
|
73038
73317
|
var init_privateNetworksListAssignments2 = __esm(() => {
|
|
73039
73318
|
init_privateNetworksListAssignments();
|
|
73040
73319
|
init_operations();
|
|
73041
73320
|
init_tools();
|
|
73042
|
-
|
|
73321
|
+
args54 = {
|
|
73043
73322
|
request: GetVirtualNetworksAssignmentsRequest$inboundSchema.optional()
|
|
73044
73323
|
};
|
|
73045
73324
|
tool$privateNetworksListAssignments = {
|
|
@@ -73048,9 +73327,9 @@ var init_privateNetworksListAssignments2 = __esm(() => {
|
|
|
73048
73327
|
|
|
73049
73328
|
Returns a list of all servers assigned to virtual networks.
|
|
73050
73329
|
`,
|
|
73051
|
-
args:
|
|
73052
|
-
tool: async (client,
|
|
73053
|
-
const [result, apiCall] = await privateNetworksListAssignments(client,
|
|
73330
|
+
args: args54,
|
|
73331
|
+
tool: async (client, args55, ctx) => {
|
|
73332
|
+
const [result, apiCall] = await privateNetworksListAssignments(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73054
73333
|
if (!result.ok) {
|
|
73055
73334
|
return {
|
|
73056
73335
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73144,12 +73423,12 @@ var init_privateNetworksUpdate = __esm(() => {
|
|
|
73144
73423
|
});
|
|
73145
73424
|
|
|
73146
73425
|
// src/mcp-server/tools/privateNetworksUpdate.ts
|
|
73147
|
-
var
|
|
73426
|
+
var args55, tool$privateNetworksUpdate;
|
|
73148
73427
|
var init_privateNetworksUpdate2 = __esm(() => {
|
|
73149
73428
|
init_privateNetworksUpdate();
|
|
73150
73429
|
init_operations();
|
|
73151
73430
|
init_tools();
|
|
73152
|
-
|
|
73431
|
+
args55 = {
|
|
73153
73432
|
request: UpdateVirtualNetworkRequest$inboundSchema
|
|
73154
73433
|
};
|
|
73155
73434
|
tool$privateNetworksUpdate = {
|
|
@@ -73158,9 +73437,9 @@ var init_privateNetworksUpdate2 = __esm(() => {
|
|
|
73158
73437
|
|
|
73159
73438
|
Update a Virtual Network.
|
|
73160
73439
|
`,
|
|
73161
|
-
args:
|
|
73162
|
-
tool: async (client,
|
|
73163
|
-
const [result, apiCall] = await privateNetworksUpdate(client,
|
|
73440
|
+
args: args55,
|
|
73441
|
+
tool: async (client, args56, ctx) => {
|
|
73442
|
+
const [result, apiCall] = await privateNetworksUpdate(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73164
73443
|
if (!result.ok) {
|
|
73165
73444
|
return {
|
|
73166
73445
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73247,20 +73526,20 @@ var init_projectsCreate = __esm(() => {
|
|
|
73247
73526
|
});
|
|
73248
73527
|
|
|
73249
73528
|
// src/mcp-server/tools/projectsCreate.ts
|
|
73250
|
-
var
|
|
73529
|
+
var args56, tool$projectsCreate;
|
|
73251
73530
|
var init_projectsCreate2 = __esm(() => {
|
|
73252
73531
|
init_projectsCreate();
|
|
73253
73532
|
init_operations();
|
|
73254
73533
|
init_tools();
|
|
73255
|
-
|
|
73534
|
+
args56 = {
|
|
73256
73535
|
request: CreateProjectRequest$inboundSchema
|
|
73257
73536
|
};
|
|
73258
73537
|
tool$projectsCreate = {
|
|
73259
73538
|
name: "projects-create",
|
|
73260
73539
|
description: `Create project`,
|
|
73261
|
-
args:
|
|
73262
|
-
tool: async (client,
|
|
73263
|
-
const [result, apiCall] = await projectsCreate(client,
|
|
73540
|
+
args: args56,
|
|
73541
|
+
tool: async (client, args57, ctx) => {
|
|
73542
|
+
const [result, apiCall] = await projectsCreate(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73264
73543
|
if (!result.ok) {
|
|
73265
73544
|
return {
|
|
73266
73545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73351,12 +73630,12 @@ var init_projectsDelete = __esm(() => {
|
|
|
73351
73630
|
});
|
|
73352
73631
|
|
|
73353
73632
|
// src/mcp-server/tools/projectsDelete.ts
|
|
73354
|
-
var
|
|
73633
|
+
var args57, tool$projectsDelete;
|
|
73355
73634
|
var init_projectsDelete2 = __esm(() => {
|
|
73356
73635
|
init_projectsDelete();
|
|
73357
73636
|
init_operations();
|
|
73358
73637
|
init_tools();
|
|
73359
|
-
|
|
73638
|
+
args57 = {
|
|
73360
73639
|
request: DeleteProjectRequest$inboundSchema
|
|
73361
73640
|
};
|
|
73362
73641
|
tool$projectsDelete = {
|
|
@@ -73364,9 +73643,9 @@ var init_projectsDelete2 = __esm(() => {
|
|
|
73364
73643
|
description: `Delete project
|
|
73365
73644
|
|
|
73366
73645
|
Deletes a project and releases associated resources. Any Elastic IPs assigned to the project are automatically released and returned to the available pool.`,
|
|
73367
|
-
args:
|
|
73368
|
-
tool: async (client,
|
|
73369
|
-
const [result, apiCall] = await projectsDelete(client,
|
|
73646
|
+
args: args57,
|
|
73647
|
+
tool: async (client, args58, ctx) => {
|
|
73648
|
+
const [result, apiCall] = await projectsDelete(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73370
73649
|
if (!result.ok) {
|
|
73371
73650
|
return {
|
|
73372
73651
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73498,12 +73777,12 @@ var init_projectsList = __esm(() => {
|
|
|
73498
73777
|
});
|
|
73499
73778
|
|
|
73500
73779
|
// src/mcp-server/tools/projectsList.ts
|
|
73501
|
-
var
|
|
73780
|
+
var args58, tool$projectsList;
|
|
73502
73781
|
var init_projectsList2 = __esm(() => {
|
|
73503
73782
|
init_projectsList();
|
|
73504
73783
|
init_operations();
|
|
73505
73784
|
init_tools();
|
|
73506
|
-
|
|
73785
|
+
args58 = {
|
|
73507
73786
|
request: GetProjectsRequest$inboundSchema.optional()
|
|
73508
73787
|
};
|
|
73509
73788
|
tool$projectsList = {
|
|
@@ -73512,9 +73791,9 @@ var init_projectsList2 = __esm(() => {
|
|
|
73512
73791
|
|
|
73513
73792
|
Returns a list of all projects for the current team
|
|
73514
73793
|
`,
|
|
73515
|
-
args:
|
|
73516
|
-
tool: async (client,
|
|
73517
|
-
const [result, apiCall] = await projectsList(client,
|
|
73794
|
+
args: args58,
|
|
73795
|
+
tool: async (client, args59, ctx) => {
|
|
73796
|
+
const [result, apiCall] = await projectsList(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73518
73797
|
if (!result.ok) {
|
|
73519
73798
|
return {
|
|
73520
73799
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73607,12 +73886,12 @@ var init_projectsSshKeysPostProjectSshKey = __esm(() => {
|
|
|
73607
73886
|
});
|
|
73608
73887
|
|
|
73609
73888
|
// src/mcp-server/tools/projectsSshKeysPostProjectSshKey.ts
|
|
73610
|
-
var
|
|
73889
|
+
var args59, tool$projectsSshKeysPostProjectSshKey;
|
|
73611
73890
|
var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
73612
73891
|
init_projectsSshKeysPostProjectSshKey();
|
|
73613
73892
|
init_operations();
|
|
73614
73893
|
init_tools();
|
|
73615
|
-
|
|
73894
|
+
args59 = {
|
|
73616
73895
|
request: PostProjectSshKeyRequest$inboundSchema
|
|
73617
73896
|
};
|
|
73618
73897
|
tool$projectsSshKeysPostProjectSshKey = {
|
|
@@ -73621,9 +73900,9 @@ var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
|
73621
73900
|
|
|
73622
73901
|
Allow you create SSH Keys in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
73623
73902
|
`,
|
|
73624
|
-
args:
|
|
73625
|
-
tool: async (client,
|
|
73626
|
-
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client,
|
|
73903
|
+
args: args59,
|
|
73904
|
+
tool: async (client, args60, ctx) => {
|
|
73905
|
+
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73627
73906
|
if (!result.ok) {
|
|
73628
73907
|
return {
|
|
73629
73908
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73716,20 +73995,20 @@ var init_projectsUpdate = __esm(() => {
|
|
|
73716
73995
|
});
|
|
73717
73996
|
|
|
73718
73997
|
// src/mcp-server/tools/projectsUpdate.ts
|
|
73719
|
-
var
|
|
73998
|
+
var args60, tool$projectsUpdate;
|
|
73720
73999
|
var init_projectsUpdate2 = __esm(() => {
|
|
73721
74000
|
init_projectsUpdate();
|
|
73722
74001
|
init_operations();
|
|
73723
74002
|
init_tools();
|
|
73724
|
-
|
|
74003
|
+
args60 = {
|
|
73725
74004
|
request: UpdateProjectRequest$inboundSchema
|
|
73726
74005
|
};
|
|
73727
74006
|
tool$projectsUpdate = {
|
|
73728
74007
|
name: "projects-update",
|
|
73729
74008
|
description: `Update project`,
|
|
73730
|
-
args:
|
|
73731
|
-
tool: async (client,
|
|
73732
|
-
const [result, apiCall] = await projectsUpdate(client,
|
|
74009
|
+
args: args60,
|
|
74010
|
+
tool: async (client, args61, ctx) => {
|
|
74011
|
+
const [result, apiCall] = await projectsUpdate(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73733
74012
|
if (!result.ok) {
|
|
73734
74013
|
return {
|
|
73735
74014
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73822,20 +74101,20 @@ var init_regionsFetch = __esm(() => {
|
|
|
73822
74101
|
});
|
|
73823
74102
|
|
|
73824
74103
|
// src/mcp-server/tools/regionsFetch.ts
|
|
73825
|
-
var
|
|
74104
|
+
var args61, tool$regionsFetch;
|
|
73826
74105
|
var init_regionsFetch2 = __esm(() => {
|
|
73827
74106
|
init_regionsFetch();
|
|
73828
74107
|
init_operations();
|
|
73829
74108
|
init_tools();
|
|
73830
|
-
|
|
74109
|
+
args61 = {
|
|
73831
74110
|
request: GetRegionRequest$inboundSchema
|
|
73832
74111
|
};
|
|
73833
74112
|
tool$regionsFetch = {
|
|
73834
74113
|
name: "regions-fetch",
|
|
73835
74114
|
description: `Retrieve region`,
|
|
73836
|
-
args:
|
|
73837
|
-
tool: async (client,
|
|
73838
|
-
const [result, apiCall] = await regionsFetch(client,
|
|
74115
|
+
args: args61,
|
|
74116
|
+
tool: async (client, args62, ctx) => {
|
|
74117
|
+
const [result, apiCall] = await regionsFetch(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73839
74118
|
if (!result.ok) {
|
|
73840
74119
|
return {
|
|
73841
74120
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73961,12 +74240,12 @@ var init_regionsGet = __esm(() => {
|
|
|
73961
74240
|
});
|
|
73962
74241
|
|
|
73963
74242
|
// src/mcp-server/tools/regionsGet.ts
|
|
73964
|
-
var
|
|
74243
|
+
var args62, tool$regionsGet;
|
|
73965
74244
|
var init_regionsGet2 = __esm(() => {
|
|
73966
74245
|
init_regionsGet();
|
|
73967
74246
|
init_operations();
|
|
73968
74247
|
init_tools();
|
|
73969
|
-
|
|
74248
|
+
args62 = {
|
|
73970
74249
|
request: GetRegionsRequest$inboundSchema.optional()
|
|
73971
74250
|
};
|
|
73972
74251
|
tool$regionsGet = {
|
|
@@ -73976,9 +74255,9 @@ var init_regionsGet2 = __esm(() => {
|
|
|
73976
74255
|
Lists all [available locations](https://latitude.sh/locations). For server availability by location, please see the [Plans API](/reference/get-plans).
|
|
73977
74256
|
|
|
73978
74257
|
`,
|
|
73979
|
-
args:
|
|
73980
|
-
tool: async (client,
|
|
73981
|
-
const [result, apiCall] = await regionsGet(client,
|
|
74258
|
+
args: args62,
|
|
74259
|
+
tool: async (client, args63, ctx) => {
|
|
74260
|
+
const [result, apiCall] = await regionsGet(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73982
74261
|
if (!result.ok) {
|
|
73983
74262
|
return {
|
|
73984
74263
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74071,20 +74350,20 @@ var init_rolesGet = __esm(() => {
|
|
|
74071
74350
|
});
|
|
74072
74351
|
|
|
74073
74352
|
// src/mcp-server/tools/rolesGet.ts
|
|
74074
|
-
var
|
|
74353
|
+
var args63, tool$rolesGet;
|
|
74075
74354
|
var init_rolesGet2 = __esm(() => {
|
|
74076
74355
|
init_rolesGet();
|
|
74077
74356
|
init_operations();
|
|
74078
74357
|
init_tools();
|
|
74079
|
-
|
|
74358
|
+
args63 = {
|
|
74080
74359
|
request: GetRoleIdRequest$inboundSchema
|
|
74081
74360
|
};
|
|
74082
74361
|
tool$rolesGet = {
|
|
74083
74362
|
name: "roles-get",
|
|
74084
74363
|
description: `Retrieve role`,
|
|
74085
|
-
args:
|
|
74086
|
-
tool: async (client,
|
|
74087
|
-
const [result, apiCall] = await rolesGet(client,
|
|
74364
|
+
args: args63,
|
|
74365
|
+
tool: async (client, args64, ctx) => {
|
|
74366
|
+
const [result, apiCall] = await rolesGet(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74088
74367
|
if (!result.ok) {
|
|
74089
74368
|
return {
|
|
74090
74369
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74210,12 +74489,12 @@ var init_rolesList = __esm(() => {
|
|
|
74210
74489
|
});
|
|
74211
74490
|
|
|
74212
74491
|
// src/mcp-server/tools/rolesList.ts
|
|
74213
|
-
var
|
|
74492
|
+
var args64, tool$rolesList;
|
|
74214
74493
|
var init_rolesList2 = __esm(() => {
|
|
74215
74494
|
init_rolesList();
|
|
74216
74495
|
init_operations();
|
|
74217
74496
|
init_tools();
|
|
74218
|
-
|
|
74497
|
+
args64 = {
|
|
74219
74498
|
request: GetRolesRequest$inboundSchema.optional()
|
|
74220
74499
|
};
|
|
74221
74500
|
tool$rolesList = {
|
|
@@ -74224,9 +74503,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
74224
74503
|
|
|
74225
74504
|
Returns a list of all roles that can be assigned to users
|
|
74226
74505
|
`,
|
|
74227
|
-
args:
|
|
74228
|
-
tool: async (client,
|
|
74229
|
-
const [result, apiCall] = await rolesList(client,
|
|
74506
|
+
args: args64,
|
|
74507
|
+
tool: async (client, args65, ctx) => {
|
|
74508
|
+
const [result, apiCall] = await rolesList(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74230
74509
|
if (!result.ok) {
|
|
74231
74510
|
return {
|
|
74232
74511
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74314,20 +74593,20 @@ var init_serversCreate = __esm(() => {
|
|
|
74314
74593
|
});
|
|
74315
74594
|
|
|
74316
74595
|
// src/mcp-server/tools/serversCreate.ts
|
|
74317
|
-
var
|
|
74596
|
+
var args65, tool$serversCreate;
|
|
74318
74597
|
var init_serversCreate2 = __esm(() => {
|
|
74319
74598
|
init_serversCreate();
|
|
74320
74599
|
init_operations();
|
|
74321
74600
|
init_tools();
|
|
74322
|
-
|
|
74601
|
+
args65 = {
|
|
74323
74602
|
request: CreateServerRequest$inboundSchema
|
|
74324
74603
|
};
|
|
74325
74604
|
tool$serversCreate = {
|
|
74326
74605
|
name: "servers-create",
|
|
74327
74606
|
description: `Create server`,
|
|
74328
|
-
args:
|
|
74329
|
-
tool: async (client,
|
|
74330
|
-
const [result, apiCall] = await serversCreate(client,
|
|
74607
|
+
args: args65,
|
|
74608
|
+
tool: async (client, args66, ctx) => {
|
|
74609
|
+
const [result, apiCall] = await serversCreate(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74331
74610
|
if (!result.ok) {
|
|
74332
74611
|
return {
|
|
74333
74612
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74420,12 +74699,12 @@ var init_serversCreateIpmiSession = __esm(() => {
|
|
|
74420
74699
|
});
|
|
74421
74700
|
|
|
74422
74701
|
// src/mcp-server/tools/serversCreateIpmiSession.ts
|
|
74423
|
-
var
|
|
74702
|
+
var args66, tool$serversCreateIpmiSession;
|
|
74424
74703
|
var init_serversCreateIpmiSession2 = __esm(() => {
|
|
74425
74704
|
init_serversCreateIpmiSession();
|
|
74426
74705
|
init_operations();
|
|
74427
74706
|
init_tools();
|
|
74428
|
-
|
|
74707
|
+
args66 = {
|
|
74429
74708
|
request: CreateIpmiSessionRequest$inboundSchema
|
|
74430
74709
|
};
|
|
74431
74710
|
tool$serversCreateIpmiSession = {
|
|
@@ -74437,9 +74716,9 @@ You will have to use a VPN client such as https://openvpn.net to connect. See \`
|
|
|
74437
74716
|
|
|
74438
74717
|
Related guide: https://docs.latitude.sh/docs/ipmi
|
|
74439
74718
|
`,
|
|
74440
|
-
args:
|
|
74441
|
-
tool: async (client,
|
|
74442
|
-
const [result, apiCall] = await serversCreateIpmiSession(client,
|
|
74719
|
+
args: args66,
|
|
74720
|
+
tool: async (client, args67, ctx) => {
|
|
74721
|
+
const [result, apiCall] = await serversCreateIpmiSession(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74443
74722
|
if (!result.ok) {
|
|
74444
74723
|
return {
|
|
74445
74724
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74534,20 +74813,20 @@ var init_serversDelete = __esm(() => {
|
|
|
74534
74813
|
});
|
|
74535
74814
|
|
|
74536
74815
|
// src/mcp-server/tools/serversDelete.ts
|
|
74537
|
-
var
|
|
74816
|
+
var args67, tool$serversDelete;
|
|
74538
74817
|
var init_serversDelete2 = __esm(() => {
|
|
74539
74818
|
init_serversDelete();
|
|
74540
74819
|
init_operations();
|
|
74541
74820
|
init_tools();
|
|
74542
|
-
|
|
74821
|
+
args67 = {
|
|
74543
74822
|
request: DestroyServerRequest$inboundSchema
|
|
74544
74823
|
};
|
|
74545
74824
|
tool$serversDelete = {
|
|
74546
74825
|
name: "servers-delete",
|
|
74547
74826
|
description: `Remove server`,
|
|
74548
|
-
args:
|
|
74549
|
-
tool: async (client,
|
|
74550
|
-
const [result, apiCall] = await serversDelete(client,
|
|
74827
|
+
args: args67,
|
|
74828
|
+
tool: async (client, args68, ctx) => {
|
|
74829
|
+
const [result, apiCall] = await serversDelete(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74551
74830
|
if (!result.ok) {
|
|
74552
74831
|
return {
|
|
74553
74832
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74639,12 +74918,12 @@ var init_serversExitRescueMode = __esm(() => {
|
|
|
74639
74918
|
});
|
|
74640
74919
|
|
|
74641
74920
|
// src/mcp-server/tools/serversExitRescueMode.ts
|
|
74642
|
-
var
|
|
74921
|
+
var args68, tool$serversExitRescueMode;
|
|
74643
74922
|
var init_serversExitRescueMode2 = __esm(() => {
|
|
74644
74923
|
init_serversExitRescueMode();
|
|
74645
74924
|
init_operations();
|
|
74646
74925
|
init_tools();
|
|
74647
|
-
|
|
74926
|
+
args68 = {
|
|
74648
74927
|
request: ServerExitRescueModeRequest$inboundSchema
|
|
74649
74928
|
};
|
|
74650
74929
|
tool$serversExitRescueMode = {
|
|
@@ -74652,9 +74931,9 @@ var init_serversExitRescueMode2 = __esm(() => {
|
|
|
74652
74931
|
description: `Exits rescue mode
|
|
74653
74932
|
|
|
74654
74933
|
Exits rescue mode on a given server.`,
|
|
74655
|
-
args:
|
|
74656
|
-
tool: async (client,
|
|
74657
|
-
const [result, apiCall] = await serversExitRescueMode(client,
|
|
74934
|
+
args: args68,
|
|
74935
|
+
tool: async (client, args69, ctx) => {
|
|
74936
|
+
const [result, apiCall] = await serversExitRescueMode(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74658
74937
|
if (!result.ok) {
|
|
74659
74938
|
return {
|
|
74660
74939
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74751,12 +75030,12 @@ var init_serversGet = __esm(() => {
|
|
|
74751
75030
|
});
|
|
74752
75031
|
|
|
74753
75032
|
// src/mcp-server/tools/serversGet.ts
|
|
74754
|
-
var
|
|
75033
|
+
var args69, tool$serversGet;
|
|
74755
75034
|
var init_serversGet2 = __esm(() => {
|
|
74756
75035
|
init_serversGet();
|
|
74757
75036
|
init_operations();
|
|
74758
75037
|
init_tools();
|
|
74759
|
-
|
|
75038
|
+
args69 = {
|
|
74760
75039
|
request: GetServerRequest$inboundSchema
|
|
74761
75040
|
};
|
|
74762
75041
|
tool$serversGet = {
|
|
@@ -74765,9 +75044,9 @@ var init_serversGet2 = __esm(() => {
|
|
|
74765
75044
|
|
|
74766
75045
|
Returns a server that belongs to the team.
|
|
74767
75046
|
`,
|
|
74768
|
-
args:
|
|
74769
|
-
tool: async (client,
|
|
74770
|
-
const [result, apiCall] = await serversGet(client,
|
|
75047
|
+
args: args69,
|
|
75048
|
+
tool: async (client, args70, ctx) => {
|
|
75049
|
+
const [result, apiCall] = await serversGet(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74771
75050
|
if (!result.ok) {
|
|
74772
75051
|
return {
|
|
74773
75052
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74860,20 +75139,20 @@ var init_serversGetDeployConfig = __esm(() => {
|
|
|
74860
75139
|
});
|
|
74861
75140
|
|
|
74862
75141
|
// src/mcp-server/tools/serversGetDeployConfig.ts
|
|
74863
|
-
var
|
|
75142
|
+
var args70, tool$serversGetDeployConfig;
|
|
74864
75143
|
var init_serversGetDeployConfig2 = __esm(() => {
|
|
74865
75144
|
init_serversGetDeployConfig();
|
|
74866
75145
|
init_operations();
|
|
74867
75146
|
init_tools();
|
|
74868
|
-
|
|
75147
|
+
args70 = {
|
|
74869
75148
|
request: GetServerDeployConfigRequest$inboundSchema
|
|
74870
75149
|
};
|
|
74871
75150
|
tool$serversGetDeployConfig = {
|
|
74872
75151
|
name: "servers-get-deploy-config",
|
|
74873
75152
|
description: `Retrieve deploy config`,
|
|
74874
|
-
args:
|
|
74875
|
-
tool: async (client,
|
|
74876
|
-
const [result, apiCall] = await serversGetDeployConfig(client,
|
|
75153
|
+
args: args70,
|
|
75154
|
+
tool: async (client, args71, ctx) => {
|
|
75155
|
+
const [result, apiCall] = await serversGetDeployConfig(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74877
75156
|
if (!result.ok) {
|
|
74878
75157
|
return {
|
|
74879
75158
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74966,20 +75245,20 @@ var init_serversGetOutOfBand = __esm(() => {
|
|
|
74966
75245
|
});
|
|
74967
75246
|
|
|
74968
75247
|
// src/mcp-server/tools/serversGetOutOfBand.ts
|
|
74969
|
-
var
|
|
75248
|
+
var args71, tool$serversGetOutOfBand;
|
|
74970
75249
|
var init_serversGetOutOfBand2 = __esm(() => {
|
|
74971
75250
|
init_serversGetOutOfBand();
|
|
74972
75251
|
init_operations();
|
|
74973
75252
|
init_tools();
|
|
74974
|
-
|
|
75253
|
+
args71 = {
|
|
74975
75254
|
request: GetServerOutOfBandRequest$inboundSchema
|
|
74976
75255
|
};
|
|
74977
75256
|
tool$serversGetOutOfBand = {
|
|
74978
75257
|
name: "servers-get-out-of-band",
|
|
74979
75258
|
description: `List out-of-band connections`,
|
|
74980
|
-
args:
|
|
74981
|
-
tool: async (client,
|
|
74982
|
-
const [result, apiCall] = await serversGetOutOfBand(client,
|
|
75259
|
+
args: args71,
|
|
75260
|
+
tool: async (client, args72, ctx) => {
|
|
75261
|
+
const [result, apiCall] = await serversGetOutOfBand(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74983
75262
|
if (!result.ok) {
|
|
74984
75263
|
return {
|
|
74985
75264
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75122,12 +75401,12 @@ var init_serversList = __esm(() => {
|
|
|
75122
75401
|
});
|
|
75123
75402
|
|
|
75124
75403
|
// src/mcp-server/tools/serversList.ts
|
|
75125
|
-
var
|
|
75404
|
+
var args72, tool$serversList;
|
|
75126
75405
|
var init_serversList2 = __esm(() => {
|
|
75127
75406
|
init_serversList();
|
|
75128
75407
|
init_operations();
|
|
75129
75408
|
init_tools();
|
|
75130
|
-
|
|
75409
|
+
args72 = {
|
|
75131
75410
|
request: GetServersRequest$inboundSchema.optional()
|
|
75132
75411
|
};
|
|
75133
75412
|
tool$serversList = {
|
|
@@ -75136,9 +75415,9 @@ var init_serversList2 = __esm(() => {
|
|
|
75136
75415
|
|
|
75137
75416
|
Returns a list of all servers belonging to the team.
|
|
75138
75417
|
`,
|
|
75139
|
-
args:
|
|
75140
|
-
tool: async (client,
|
|
75141
|
-
const [result, apiCall] = await serversList(client,
|
|
75418
|
+
args: args72,
|
|
75419
|
+
tool: async (client, args73, ctx) => {
|
|
75420
|
+
const [result, apiCall] = await serversList(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75142
75421
|
if (!result.ok) {
|
|
75143
75422
|
return {
|
|
75144
75423
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75231,12 +75510,12 @@ var init_serversLock = __esm(() => {
|
|
|
75231
75510
|
});
|
|
75232
75511
|
|
|
75233
75512
|
// src/mcp-server/tools/serversLock.ts
|
|
75234
|
-
var
|
|
75513
|
+
var args73, tool$serversLock;
|
|
75235
75514
|
var init_serversLock2 = __esm(() => {
|
|
75236
75515
|
init_serversLock();
|
|
75237
75516
|
init_operations();
|
|
75238
75517
|
init_tools();
|
|
75239
|
-
|
|
75518
|
+
args73 = {
|
|
75240
75519
|
request: ServerLockRequest$inboundSchema
|
|
75241
75520
|
};
|
|
75242
75521
|
tool$serversLock = {
|
|
@@ -75244,9 +75523,9 @@ var init_serversLock2 = __esm(() => {
|
|
|
75244
75523
|
description: `Lock server
|
|
75245
75524
|
|
|
75246
75525
|
Locks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75247
|
-
args:
|
|
75248
|
-
tool: async (client,
|
|
75249
|
-
const [result, apiCall] = await serversLock(client,
|
|
75526
|
+
args: args73,
|
|
75527
|
+
tool: async (client, args74, ctx) => {
|
|
75528
|
+
const [result, apiCall] = await serversLock(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75250
75529
|
if (!result.ok) {
|
|
75251
75530
|
return {
|
|
75252
75531
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75344,20 +75623,20 @@ var init_serversReinstall = __esm(() => {
|
|
|
75344
75623
|
});
|
|
75345
75624
|
|
|
75346
75625
|
// src/mcp-server/tools/serversReinstall.ts
|
|
75347
|
-
var
|
|
75626
|
+
var args74, tool$serversReinstall;
|
|
75348
75627
|
var init_serversReinstall2 = __esm(() => {
|
|
75349
75628
|
init_serversReinstall();
|
|
75350
75629
|
init_operations();
|
|
75351
75630
|
init_tools();
|
|
75352
|
-
|
|
75631
|
+
args74 = {
|
|
75353
75632
|
request: CreateServerReinstallRequest$inboundSchema
|
|
75354
75633
|
};
|
|
75355
75634
|
tool$serversReinstall = {
|
|
75356
75635
|
name: "servers-reinstall",
|
|
75357
75636
|
description: `Run Server Reinstall`,
|
|
75358
|
-
args:
|
|
75359
|
-
tool: async (client,
|
|
75360
|
-
const [result, apiCall] = await serversReinstall(client,
|
|
75637
|
+
args: args74,
|
|
75638
|
+
tool: async (client, args75, ctx) => {
|
|
75639
|
+
const [result, apiCall] = await serversReinstall(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75361
75640
|
if (!result.ok) {
|
|
75362
75641
|
return {
|
|
75363
75642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75450,12 +75729,12 @@ var init_serversRunAction = __esm(() => {
|
|
|
75450
75729
|
});
|
|
75451
75730
|
|
|
75452
75731
|
// src/mcp-server/tools/serversRunAction.ts
|
|
75453
|
-
var
|
|
75732
|
+
var args75, tool$serversRunAction;
|
|
75454
75733
|
var init_serversRunAction2 = __esm(() => {
|
|
75455
75734
|
init_serversRunAction();
|
|
75456
75735
|
init_operations();
|
|
75457
75736
|
init_tools();
|
|
75458
|
-
|
|
75737
|
+
args75 = {
|
|
75459
75738
|
request: CreateServerActionRequest$inboundSchema
|
|
75460
75739
|
};
|
|
75461
75740
|
tool$serversRunAction = {
|
|
@@ -75467,9 +75746,9 @@ Performs an action on a given server:
|
|
|
75467
75746
|
- \`power_off\`
|
|
75468
75747
|
- \`reboot\`
|
|
75469
75748
|
`,
|
|
75470
|
-
args:
|
|
75471
|
-
tool: async (client,
|
|
75472
|
-
const [result, apiCall] = await serversRunAction(client,
|
|
75749
|
+
args: args75,
|
|
75750
|
+
tool: async (client, args76, ctx) => {
|
|
75751
|
+
const [result, apiCall] = await serversRunAction(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75473
75752
|
if (!result.ok) {
|
|
75474
75753
|
return {
|
|
75475
75754
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75562,12 +75841,12 @@ var init_serversScheduleDeletion = __esm(() => {
|
|
|
75562
75841
|
});
|
|
75563
75842
|
|
|
75564
75843
|
// src/mcp-server/tools/serversScheduleDeletion.ts
|
|
75565
|
-
var
|
|
75844
|
+
var args76, tool$serversScheduleDeletion;
|
|
75566
75845
|
var init_serversScheduleDeletion2 = __esm(() => {
|
|
75567
75846
|
init_serversScheduleDeletion();
|
|
75568
75847
|
init_operations();
|
|
75569
75848
|
init_tools();
|
|
75570
|
-
|
|
75849
|
+
args76 = {
|
|
75571
75850
|
request: ServerScheduleDeletionRequest$inboundSchema
|
|
75572
75851
|
};
|
|
75573
75852
|
tool$serversScheduleDeletion = {
|
|
@@ -75575,9 +75854,9 @@ var init_serversScheduleDeletion2 = __esm(() => {
|
|
|
75575
75854
|
description: `Schedule server deletion
|
|
75576
75855
|
|
|
75577
75856
|
Schedules the server to be removed at the end of the billing cycle.`,
|
|
75578
|
-
args:
|
|
75579
|
-
tool: async (client,
|
|
75580
|
-
const [result, apiCall] = await serversScheduleDeletion(client,
|
|
75857
|
+
args: args76,
|
|
75858
|
+
tool: async (client, args77, ctx) => {
|
|
75859
|
+
const [result, apiCall] = await serversScheduleDeletion(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75581
75860
|
if (!result.ok) {
|
|
75582
75861
|
return {
|
|
75583
75862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75671,20 +75950,20 @@ var init_serversStartOutOfBandConnection = __esm(() => {
|
|
|
75671
75950
|
});
|
|
75672
75951
|
|
|
75673
75952
|
// src/mcp-server/tools/serversStartOutOfBandConnection.ts
|
|
75674
|
-
var
|
|
75953
|
+
var args77, tool$serversStartOutOfBandConnection;
|
|
75675
75954
|
var init_serversStartOutOfBandConnection2 = __esm(() => {
|
|
75676
75955
|
init_serversStartOutOfBandConnection();
|
|
75677
75956
|
init_operations();
|
|
75678
75957
|
init_tools();
|
|
75679
|
-
|
|
75958
|
+
args77 = {
|
|
75680
75959
|
request: CreateServerOutOfBandRequest$inboundSchema
|
|
75681
75960
|
};
|
|
75682
75961
|
tool$serversStartOutOfBandConnection = {
|
|
75683
75962
|
name: "servers-start-out-of-band-connection",
|
|
75684
75963
|
description: `Create out-of-band connection`,
|
|
75685
|
-
args:
|
|
75686
|
-
tool: async (client,
|
|
75687
|
-
const [result, apiCall] = await serversStartOutOfBandConnection(client,
|
|
75964
|
+
args: args77,
|
|
75965
|
+
tool: async (client, args78, ctx) => {
|
|
75966
|
+
const [result, apiCall] = await serversStartOutOfBandConnection(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75688
75967
|
if (!result.ok) {
|
|
75689
75968
|
return {
|
|
75690
75969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75777,12 +76056,12 @@ var init_serversStartRescueMode = __esm(() => {
|
|
|
75777
76056
|
});
|
|
75778
76057
|
|
|
75779
76058
|
// src/mcp-server/tools/serversStartRescueMode.ts
|
|
75780
|
-
var
|
|
76059
|
+
var args78, tool$serversStartRescueMode;
|
|
75781
76060
|
var init_serversStartRescueMode2 = __esm(() => {
|
|
75782
76061
|
init_serversStartRescueMode();
|
|
75783
76062
|
init_operations();
|
|
75784
76063
|
init_tools();
|
|
75785
|
-
|
|
76064
|
+
args78 = {
|
|
75786
76065
|
request: ServerStartRescueModeRequest$inboundSchema
|
|
75787
76066
|
};
|
|
75788
76067
|
tool$serversStartRescueMode = {
|
|
@@ -75790,9 +76069,9 @@ var init_serversStartRescueMode2 = __esm(() => {
|
|
|
75790
76069
|
description: `Put server in rescue mode
|
|
75791
76070
|
|
|
75792
76071
|
Starts rescue mode on a given server.`,
|
|
75793
|
-
args:
|
|
75794
|
-
tool: async (client,
|
|
75795
|
-
const [result, apiCall] = await serversStartRescueMode(client,
|
|
76072
|
+
args: args78,
|
|
76073
|
+
tool: async (client, args79, ctx) => {
|
|
76074
|
+
const [result, apiCall] = await serversStartRescueMode(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75796
76075
|
if (!result.ok) {
|
|
75797
76076
|
return {
|
|
75798
76077
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75885,12 +76164,12 @@ var init_serversUnlock = __esm(() => {
|
|
|
75885
76164
|
});
|
|
75886
76165
|
|
|
75887
76166
|
// src/mcp-server/tools/serversUnlock.ts
|
|
75888
|
-
var
|
|
76167
|
+
var args79, tool$serversUnlock;
|
|
75889
76168
|
var init_serversUnlock2 = __esm(() => {
|
|
75890
76169
|
init_serversUnlock();
|
|
75891
76170
|
init_operations();
|
|
75892
76171
|
init_tools();
|
|
75893
|
-
|
|
76172
|
+
args79 = {
|
|
75894
76173
|
request: ServerUnlockRequest$inboundSchema
|
|
75895
76174
|
};
|
|
75896
76175
|
tool$serversUnlock = {
|
|
@@ -75898,9 +76177,9 @@ var init_serversUnlock2 = __esm(() => {
|
|
|
75898
76177
|
description: `Unlock server
|
|
75899
76178
|
|
|
75900
76179
|
Unlocks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75901
|
-
args:
|
|
75902
|
-
tool: async (client,
|
|
75903
|
-
const [result, apiCall] = await serversUnlock(client,
|
|
76180
|
+
args: args79,
|
|
76181
|
+
tool: async (client, args80, ctx) => {
|
|
76182
|
+
const [result, apiCall] = await serversUnlock(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75904
76183
|
if (!result.ok) {
|
|
75905
76184
|
return {
|
|
75906
76185
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75991,12 +76270,12 @@ var init_serversUnscheduleDeletion = __esm(() => {
|
|
|
75991
76270
|
});
|
|
75992
76271
|
|
|
75993
76272
|
// src/mcp-server/tools/serversUnscheduleDeletion.ts
|
|
75994
|
-
var
|
|
76273
|
+
var args80, tool$serversUnscheduleDeletion;
|
|
75995
76274
|
var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
75996
76275
|
init_serversUnscheduleDeletion();
|
|
75997
76276
|
init_operations();
|
|
75998
76277
|
init_tools();
|
|
75999
|
-
|
|
76278
|
+
args80 = {
|
|
76000
76279
|
request: ServerUnscheduleDeletionRequest$inboundSchema
|
|
76001
76280
|
};
|
|
76002
76281
|
tool$serversUnscheduleDeletion = {
|
|
@@ -76004,9 +76283,9 @@ var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
|
76004
76283
|
description: `Unschedule server deletion
|
|
76005
76284
|
|
|
76006
76285
|
Unschedules the server removal at the end of the billing cycle.`,
|
|
76007
|
-
args:
|
|
76008
|
-
tool: async (client,
|
|
76009
|
-
const [result, apiCall] = await serversUnscheduleDeletion(client,
|
|
76286
|
+
args: args80,
|
|
76287
|
+
tool: async (client, args81, ctx) => {
|
|
76288
|
+
const [result, apiCall] = await serversUnscheduleDeletion(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76010
76289
|
if (!result.ok) {
|
|
76011
76290
|
return {
|
|
76012
76291
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76099,20 +76378,20 @@ var init_serversUpdate = __esm(() => {
|
|
|
76099
76378
|
});
|
|
76100
76379
|
|
|
76101
76380
|
// src/mcp-server/tools/serversUpdate.ts
|
|
76102
|
-
var
|
|
76381
|
+
var args81, tool$serversUpdate;
|
|
76103
76382
|
var init_serversUpdate2 = __esm(() => {
|
|
76104
76383
|
init_serversUpdate();
|
|
76105
76384
|
init_operations();
|
|
76106
76385
|
init_tools();
|
|
76107
|
-
|
|
76386
|
+
args81 = {
|
|
76108
76387
|
request: UpdateServerRequest$inboundSchema
|
|
76109
76388
|
};
|
|
76110
76389
|
tool$serversUpdate = {
|
|
76111
76390
|
name: "servers-update",
|
|
76112
76391
|
description: `Update server`,
|
|
76113
|
-
args:
|
|
76114
|
-
tool: async (client,
|
|
76115
|
-
const [result, apiCall] = await serversUpdate(client,
|
|
76392
|
+
args: args81,
|
|
76393
|
+
tool: async (client, args82, ctx) => {
|
|
76394
|
+
const [result, apiCall] = await serversUpdate(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76116
76395
|
if (!result.ok) {
|
|
76117
76396
|
return {
|
|
76118
76397
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76206,20 +76485,20 @@ var init_serversUpdateDeployConfig = __esm(() => {
|
|
|
76206
76485
|
});
|
|
76207
76486
|
|
|
76208
76487
|
// src/mcp-server/tools/serversUpdateDeployConfig.ts
|
|
76209
|
-
var
|
|
76488
|
+
var args82, tool$serversUpdateDeployConfig;
|
|
76210
76489
|
var init_serversUpdateDeployConfig2 = __esm(() => {
|
|
76211
76490
|
init_serversUpdateDeployConfig();
|
|
76212
76491
|
init_operations();
|
|
76213
76492
|
init_tools();
|
|
76214
|
-
|
|
76493
|
+
args82 = {
|
|
76215
76494
|
request: UpdateServerDeployConfigRequest$inboundSchema
|
|
76216
76495
|
};
|
|
76217
76496
|
tool$serversUpdateDeployConfig = {
|
|
76218
76497
|
name: "servers-update-deploy-config",
|
|
76219
76498
|
description: `Update deploy config`,
|
|
76220
|
-
args:
|
|
76221
|
-
tool: async (client,
|
|
76222
|
-
const [result, apiCall] = await serversUpdateDeployConfig(client,
|
|
76499
|
+
args: args82,
|
|
76500
|
+
tool: async (client, args83, ctx) => {
|
|
76501
|
+
const [result, apiCall] = await serversUpdateDeployConfig(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76223
76502
|
if (!result.ok) {
|
|
76224
76503
|
return {
|
|
76225
76504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76306,12 +76585,12 @@ var init_sshKeysCreate = __esm(() => {
|
|
|
76306
76585
|
});
|
|
76307
76586
|
|
|
76308
76587
|
// src/mcp-server/tools/sshKeysCreate.ts
|
|
76309
|
-
var
|
|
76588
|
+
var args83, tool$sshKeysCreate;
|
|
76310
76589
|
var init_sshKeysCreate2 = __esm(() => {
|
|
76311
76590
|
init_sshKeysCreate();
|
|
76312
76591
|
init_operations();
|
|
76313
76592
|
init_tools();
|
|
76314
|
-
|
|
76593
|
+
args83 = {
|
|
76315
76594
|
request: PostSshKeyRequest$inboundSchema
|
|
76316
76595
|
};
|
|
76317
76596
|
tool$sshKeysCreate = {
|
|
@@ -76320,9 +76599,9 @@ var init_sshKeysCreate2 = __esm(() => {
|
|
|
76320
76599
|
|
|
76321
76600
|
Allows you create SSH Keys. These keys can be used to access servers after deploy and reinstall actions.
|
|
76322
76601
|
`,
|
|
76323
|
-
args:
|
|
76324
|
-
tool: async (client,
|
|
76325
|
-
const [result, apiCall] = await sshKeysCreate(client,
|
|
76602
|
+
args: args83,
|
|
76603
|
+
tool: async (client, args84, ctx) => {
|
|
76604
|
+
const [result, apiCall] = await sshKeysCreate(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76326
76605
|
if (!result.ok) {
|
|
76327
76606
|
return {
|
|
76328
76607
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76413,12 +76692,12 @@ var init_sshKeysDelete = __esm(() => {
|
|
|
76413
76692
|
});
|
|
76414
76693
|
|
|
76415
76694
|
// src/mcp-server/tools/sshKeysDelete.ts
|
|
76416
|
-
var
|
|
76695
|
+
var args84, tool$sshKeysDelete;
|
|
76417
76696
|
var init_sshKeysDelete2 = __esm(() => {
|
|
76418
76697
|
init_sshKeysDelete();
|
|
76419
76698
|
init_operations();
|
|
76420
76699
|
init_tools();
|
|
76421
|
-
|
|
76700
|
+
args84 = {
|
|
76422
76701
|
request: DeleteSshKeyRequest$inboundSchema
|
|
76423
76702
|
};
|
|
76424
76703
|
tool$sshKeysDelete = {
|
|
@@ -76427,9 +76706,9 @@ var init_sshKeysDelete2 = __esm(() => {
|
|
|
76427
76706
|
|
|
76428
76707
|
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.
|
|
76429
76708
|
`,
|
|
76430
|
-
args:
|
|
76431
|
-
tool: async (client,
|
|
76432
|
-
const [result, apiCall] = await sshKeysDelete(client,
|
|
76709
|
+
args: args84,
|
|
76710
|
+
tool: async (client, args85, ctx) => {
|
|
76711
|
+
const [result, apiCall] = await sshKeysDelete(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76433
76712
|
if (!result.ok) {
|
|
76434
76713
|
return {
|
|
76435
76714
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76524,12 +76803,12 @@ var init_sshKeysGet = __esm(() => {
|
|
|
76524
76803
|
});
|
|
76525
76804
|
|
|
76526
76805
|
// src/mcp-server/tools/sshKeysGet.ts
|
|
76527
|
-
var
|
|
76806
|
+
var args85, tool$sshKeysGet;
|
|
76528
76807
|
var init_sshKeysGet2 = __esm(() => {
|
|
76529
76808
|
init_sshKeysGet();
|
|
76530
76809
|
init_operations();
|
|
76531
76810
|
init_tools();
|
|
76532
|
-
|
|
76811
|
+
args85 = {
|
|
76533
76812
|
request: GetProjectSshKeyRequest$inboundSchema
|
|
76534
76813
|
};
|
|
76535
76814
|
tool$sshKeysGet = {
|
|
@@ -76538,9 +76817,9 @@ var init_sshKeysGet2 = __esm(() => {
|
|
|
76538
76817
|
|
|
76539
76818
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76540
76819
|
`,
|
|
76541
|
-
args:
|
|
76542
|
-
tool: async (client,
|
|
76543
|
-
const [result, apiCall] = await sshKeysGet(client,
|
|
76820
|
+
args: args85,
|
|
76821
|
+
tool: async (client, args86, ctx) => {
|
|
76822
|
+
const [result, apiCall] = await sshKeysGet(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76544
76823
|
if (!result.ok) {
|
|
76545
76824
|
return {
|
|
76546
76825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76640,12 +76919,12 @@ var init_sshKeysList = __esm(() => {
|
|
|
76640
76919
|
});
|
|
76641
76920
|
|
|
76642
76921
|
// src/mcp-server/tools/sshKeysList.ts
|
|
76643
|
-
var
|
|
76922
|
+
var args86, tool$sshKeysList;
|
|
76644
76923
|
var init_sshKeysList2 = __esm(() => {
|
|
76645
76924
|
init_sshKeysList();
|
|
76646
76925
|
init_operations();
|
|
76647
76926
|
init_tools();
|
|
76648
|
-
|
|
76927
|
+
args86 = {
|
|
76649
76928
|
request: GetProjectSshKeysRequest$inboundSchema
|
|
76650
76929
|
};
|
|
76651
76930
|
tool$sshKeysList = {
|
|
@@ -76654,9 +76933,9 @@ var init_sshKeysList2 = __esm(() => {
|
|
|
76654
76933
|
|
|
76655
76934
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76656
76935
|
`,
|
|
76657
|
-
args:
|
|
76658
|
-
tool: async (client,
|
|
76659
|
-
const [result, apiCall] = await sshKeysList(client,
|
|
76936
|
+
args: args86,
|
|
76937
|
+
tool: async (client, args87, ctx) => {
|
|
76938
|
+
const [result, apiCall] = await sshKeysList(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76660
76939
|
if (!result.ok) {
|
|
76661
76940
|
return {
|
|
76662
76941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76752,12 +77031,12 @@ var init_sshKeysListAll = __esm(() => {
|
|
|
76752
77031
|
});
|
|
76753
77032
|
|
|
76754
77033
|
// src/mcp-server/tools/sshKeysListAll.ts
|
|
76755
|
-
var
|
|
77034
|
+
var args87, tool$sshKeysListAll;
|
|
76756
77035
|
var init_sshKeysListAll2 = __esm(() => {
|
|
76757
77036
|
init_sshKeysListAll();
|
|
76758
77037
|
init_operations();
|
|
76759
77038
|
init_tools();
|
|
76760
|
-
|
|
77039
|
+
args87 = {
|
|
76761
77040
|
request: GetSshKeysRequest$inboundSchema.optional()
|
|
76762
77041
|
};
|
|
76763
77042
|
tool$sshKeysListAll = {
|
|
@@ -76766,9 +77045,9 @@ var init_sshKeysListAll2 = __esm(() => {
|
|
|
76766
77045
|
|
|
76767
77046
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76768
77047
|
`,
|
|
76769
|
-
args:
|
|
76770
|
-
tool: async (client,
|
|
76771
|
-
const [result, apiCall] = await sshKeysListAll(client,
|
|
77048
|
+
args: args87,
|
|
77049
|
+
tool: async (client, args88, ctx) => {
|
|
77050
|
+
const [result, apiCall] = await sshKeysListAll(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76772
77051
|
if (!result.ok) {
|
|
76773
77052
|
return {
|
|
76774
77053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76865,12 +77144,12 @@ var init_sshKeysModifyProjectKey = __esm(() => {
|
|
|
76865
77144
|
});
|
|
76866
77145
|
|
|
76867
77146
|
// src/mcp-server/tools/sshKeysModifyProjectKey.ts
|
|
76868
|
-
var
|
|
77147
|
+
var args88, tool$sshKeysModifyProjectKey;
|
|
76869
77148
|
var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
76870
77149
|
init_sshKeysModifyProjectKey();
|
|
76871
77150
|
init_operations();
|
|
76872
77151
|
init_tools();
|
|
76873
|
-
|
|
77152
|
+
args88 = {
|
|
76874
77153
|
request: PutProjectSshKeyRequest$inboundSchema
|
|
76875
77154
|
};
|
|
76876
77155
|
tool$sshKeysModifyProjectKey = {
|
|
@@ -76879,9 +77158,9 @@ var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
|
76879
77158
|
|
|
76880
77159
|
Allow you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76881
77160
|
`,
|
|
76882
|
-
args:
|
|
76883
|
-
tool: async (client,
|
|
76884
|
-
const [result, apiCall] = await sshKeysModifyProjectKey(client,
|
|
77161
|
+
args: args88,
|
|
77162
|
+
tool: async (client, args89, ctx) => {
|
|
77163
|
+
const [result, apiCall] = await sshKeysModifyProjectKey(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76885
77164
|
if (!result.ok) {
|
|
76886
77165
|
return {
|
|
76887
77166
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76976,12 +77255,12 @@ var init_sshKeysRemoveFromProject = __esm(() => {
|
|
|
76976
77255
|
});
|
|
76977
77256
|
|
|
76978
77257
|
// src/mcp-server/tools/sshKeysRemoveFromProject.ts
|
|
76979
|
-
var
|
|
77258
|
+
var args89, tool$sshKeysRemoveFromProject;
|
|
76980
77259
|
var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
76981
77260
|
init_sshKeysRemoveFromProject();
|
|
76982
77261
|
init_operations();
|
|
76983
77262
|
init_tools();
|
|
76984
|
-
|
|
77263
|
+
args89 = {
|
|
76985
77264
|
request: DeleteProjectSshKeyRequest$inboundSchema
|
|
76986
77265
|
};
|
|
76987
77266
|
tool$sshKeysRemoveFromProject = {
|
|
@@ -76990,9 +77269,9 @@ var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
|
76990
77269
|
|
|
76991
77270
|
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.
|
|
76992
77271
|
`,
|
|
76993
|
-
args:
|
|
76994
|
-
tool: async (client,
|
|
76995
|
-
const [result, apiCall] = await sshKeysRemoveFromProject(client,
|
|
77272
|
+
args: args89,
|
|
77273
|
+
tool: async (client, args90, ctx) => {
|
|
77274
|
+
const [result, apiCall] = await sshKeysRemoveFromProject(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76996
77275
|
if (!result.ok) {
|
|
76997
77276
|
return {
|
|
76998
77277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77083,12 +77362,12 @@ var init_sshKeysRetrieve = __esm(() => {
|
|
|
77083
77362
|
});
|
|
77084
77363
|
|
|
77085
77364
|
// src/mcp-server/tools/sshKeysRetrieve.ts
|
|
77086
|
-
var
|
|
77365
|
+
var args90, tool$sshKeysRetrieve;
|
|
77087
77366
|
var init_sshKeysRetrieve2 = __esm(() => {
|
|
77088
77367
|
init_sshKeysRetrieve();
|
|
77089
77368
|
init_operations();
|
|
77090
77369
|
init_tools();
|
|
77091
|
-
|
|
77370
|
+
args90 = {
|
|
77092
77371
|
request: GetSshKeyRequest$inboundSchema
|
|
77093
77372
|
};
|
|
77094
77373
|
tool$sshKeysRetrieve = {
|
|
@@ -77097,9 +77376,9 @@ var init_sshKeysRetrieve2 = __esm(() => {
|
|
|
77097
77376
|
|
|
77098
77377
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77099
77378
|
`,
|
|
77100
|
-
args:
|
|
77101
|
-
tool: async (client,
|
|
77102
|
-
const [result, apiCall] = await sshKeysRetrieve(client,
|
|
77379
|
+
args: args90,
|
|
77380
|
+
tool: async (client, args91, ctx) => {
|
|
77381
|
+
const [result, apiCall] = await sshKeysRetrieve(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77103
77382
|
if (!result.ok) {
|
|
77104
77383
|
return {
|
|
77105
77384
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77192,12 +77471,12 @@ var init_sshKeysUpdate = __esm(() => {
|
|
|
77192
77471
|
});
|
|
77193
77472
|
|
|
77194
77473
|
// src/mcp-server/tools/sshKeysUpdate.ts
|
|
77195
|
-
var
|
|
77474
|
+
var args91, tool$sshKeysUpdate;
|
|
77196
77475
|
var init_sshKeysUpdate2 = __esm(() => {
|
|
77197
77476
|
init_sshKeysUpdate();
|
|
77198
77477
|
init_operations();
|
|
77199
77478
|
init_tools();
|
|
77200
|
-
|
|
77479
|
+
args91 = {
|
|
77201
77480
|
request: PutSshKeyRequest$inboundSchema
|
|
77202
77481
|
};
|
|
77203
77482
|
tool$sshKeysUpdate = {
|
|
@@ -77206,9 +77485,9 @@ var init_sshKeysUpdate2 = __esm(() => {
|
|
|
77206
77485
|
|
|
77207
77486
|
Allows you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77208
77487
|
`,
|
|
77209
|
-
args:
|
|
77210
|
-
tool: async (client,
|
|
77211
|
-
const [result, apiCall] = await sshKeysUpdate(client,
|
|
77488
|
+
args: args91,
|
|
77489
|
+
tool: async (client, args92, ctx) => {
|
|
77490
|
+
const [result, apiCall] = await sshKeysUpdate(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77212
77491
|
if (!result.ok) {
|
|
77213
77492
|
return {
|
|
77214
77493
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77302,12 +77581,12 @@ var init_tagsCreate = __esm(() => {
|
|
|
77302
77581
|
});
|
|
77303
77582
|
|
|
77304
77583
|
// src/mcp-server/tools/tagsCreate.ts
|
|
77305
|
-
var
|
|
77584
|
+
var args92, tool$tagsCreate;
|
|
77306
77585
|
var init_tagsCreate2 = __esm(() => {
|
|
77307
77586
|
init_tagsCreate();
|
|
77308
77587
|
init_operations();
|
|
77309
77588
|
init_tools();
|
|
77310
|
-
|
|
77589
|
+
args92 = {
|
|
77311
77590
|
request: CreateTagRequest$inboundSchema
|
|
77312
77591
|
};
|
|
77313
77592
|
tool$tagsCreate = {
|
|
@@ -77316,9 +77595,9 @@ var init_tagsCreate2 = __esm(() => {
|
|
|
77316
77595
|
|
|
77317
77596
|
Create a Tag in the team.
|
|
77318
77597
|
`,
|
|
77319
|
-
args:
|
|
77320
|
-
tool: async (client,
|
|
77321
|
-
const [result, apiCall] = await tagsCreate(client,
|
|
77598
|
+
args: args92,
|
|
77599
|
+
tool: async (client, args93, ctx) => {
|
|
77600
|
+
const [result, apiCall] = await tagsCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77322
77601
|
if (!result.ok) {
|
|
77323
77602
|
return {
|
|
77324
77603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77409,12 +77688,12 @@ var init_tagsDelete = __esm(() => {
|
|
|
77409
77688
|
});
|
|
77410
77689
|
|
|
77411
77690
|
// src/mcp-server/tools/tagsDelete.ts
|
|
77412
|
-
var
|
|
77691
|
+
var args93, tool$tagsDelete;
|
|
77413
77692
|
var init_tagsDelete2 = __esm(() => {
|
|
77414
77693
|
init_tagsDelete();
|
|
77415
77694
|
init_operations();
|
|
77416
77695
|
init_tools();
|
|
77417
|
-
|
|
77696
|
+
args93 = {
|
|
77418
77697
|
request: DestroyTagRequest$inboundSchema
|
|
77419
77698
|
};
|
|
77420
77699
|
tool$tagsDelete = {
|
|
@@ -77423,9 +77702,9 @@ var init_tagsDelete2 = __esm(() => {
|
|
|
77423
77702
|
|
|
77424
77703
|
Update a Tag in the team.
|
|
77425
77704
|
`,
|
|
77426
|
-
args:
|
|
77427
|
-
tool: async (client,
|
|
77428
|
-
const [result, apiCall] = await tagsDelete(client,
|
|
77705
|
+
args: args93,
|
|
77706
|
+
tool: async (client, args94, ctx) => {
|
|
77707
|
+
const [result, apiCall] = await tagsDelete(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77429
77708
|
if (!result.ok) {
|
|
77430
77709
|
return {
|
|
77431
77710
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77612,12 +77891,12 @@ var init_tagsUpdate = __esm(() => {
|
|
|
77612
77891
|
});
|
|
77613
77892
|
|
|
77614
77893
|
// src/mcp-server/tools/tagsUpdate.ts
|
|
77615
|
-
var
|
|
77894
|
+
var args94, tool$tagsUpdate;
|
|
77616
77895
|
var init_tagsUpdate2 = __esm(() => {
|
|
77617
77896
|
init_tagsUpdate();
|
|
77618
77897
|
init_operations();
|
|
77619
77898
|
init_tools();
|
|
77620
|
-
|
|
77899
|
+
args94 = {
|
|
77621
77900
|
request: UpdateTagRequest$inboundSchema
|
|
77622
77901
|
};
|
|
77623
77902
|
tool$tagsUpdate = {
|
|
@@ -77626,9 +77905,9 @@ var init_tagsUpdate2 = __esm(() => {
|
|
|
77626
77905
|
|
|
77627
77906
|
Update a Tag in the team.
|
|
77628
77907
|
`,
|
|
77629
|
-
args:
|
|
77630
|
-
tool: async (client,
|
|
77631
|
-
const [result, apiCall] = await tagsUpdate(client,
|
|
77908
|
+
args: args94,
|
|
77909
|
+
tool: async (client, args95, ctx) => {
|
|
77910
|
+
const [result, apiCall] = await tagsUpdate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77632
77911
|
if (!result.ok) {
|
|
77633
77912
|
return {
|
|
77634
77913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77719,20 +77998,20 @@ var init_teamMembersDelete = __esm(() => {
|
|
|
77719
77998
|
});
|
|
77720
77999
|
|
|
77721
78000
|
// src/mcp-server/tools/teamMembersDelete.ts
|
|
77722
|
-
var
|
|
78001
|
+
var args95, tool$teamMembersDelete;
|
|
77723
78002
|
var init_teamMembersDelete2 = __esm(() => {
|
|
77724
78003
|
init_teamMembersDelete();
|
|
77725
78004
|
init_operations();
|
|
77726
78005
|
init_tools();
|
|
77727
|
-
|
|
78006
|
+
args95 = {
|
|
77728
78007
|
request: DestroyTeamMemberRequest$inboundSchema
|
|
77729
78008
|
};
|
|
77730
78009
|
tool$teamMembersDelete = {
|
|
77731
78010
|
name: "team-members-delete",
|
|
77732
78011
|
description: `Remove a member`,
|
|
77733
|
-
args:
|
|
77734
|
-
tool: async (client,
|
|
77735
|
-
const [result, apiCall] = await teamMembersDelete(client,
|
|
78012
|
+
args: args95,
|
|
78013
|
+
tool: async (client, args96, ctx) => {
|
|
78014
|
+
const [result, apiCall] = await teamMembersDelete(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77736
78015
|
if (!result.ok) {
|
|
77737
78016
|
return {
|
|
77738
78017
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77819,20 +78098,20 @@ var init_teamMembersPostTeamMembers = __esm(() => {
|
|
|
77819
78098
|
});
|
|
77820
78099
|
|
|
77821
78100
|
// src/mcp-server/tools/teamMembersPostTeamMembers.ts
|
|
77822
|
-
var
|
|
78101
|
+
var args96, tool$teamMembersPostTeamMembers;
|
|
77823
78102
|
var init_teamMembersPostTeamMembers2 = __esm(() => {
|
|
77824
78103
|
init_teamMembersPostTeamMembers();
|
|
77825
78104
|
init_operations();
|
|
77826
78105
|
init_tools();
|
|
77827
|
-
|
|
78106
|
+
args96 = {
|
|
77828
78107
|
request: PostTeamMembersRequest$inboundSchema
|
|
77829
78108
|
};
|
|
77830
78109
|
tool$teamMembersPostTeamMembers = {
|
|
77831
78110
|
name: "team-members-post-team-members",
|
|
77832
78111
|
description: `Create member`,
|
|
77833
|
-
args:
|
|
77834
|
-
tool: async (client,
|
|
77835
|
-
const [result, apiCall] = await teamMembersPostTeamMembers(client,
|
|
78112
|
+
args: args96,
|
|
78113
|
+
tool: async (client, args97, ctx) => {
|
|
78114
|
+
const [result, apiCall] = await teamMembersPostTeamMembers(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77836
78115
|
if (!result.ok) {
|
|
77837
78116
|
return {
|
|
77838
78117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77919,20 +78198,20 @@ var init_teamsCreate = __esm(() => {
|
|
|
77919
78198
|
});
|
|
77920
78199
|
|
|
77921
78200
|
// src/mcp-server/tools/teamsCreate.ts
|
|
77922
|
-
var
|
|
78201
|
+
var args97, tool$teamsCreate;
|
|
77923
78202
|
var init_teamsCreate2 = __esm(() => {
|
|
77924
78203
|
init_teamsCreate();
|
|
77925
78204
|
init_operations();
|
|
77926
78205
|
init_tools();
|
|
77927
|
-
|
|
78206
|
+
args97 = {
|
|
77928
78207
|
request: PostTeamRequest$inboundSchema
|
|
77929
78208
|
};
|
|
77930
78209
|
tool$teamsCreate = {
|
|
77931
78210
|
name: "teams-create",
|
|
77932
78211
|
description: `Create team`,
|
|
77933
|
-
args:
|
|
77934
|
-
tool: async (client,
|
|
77935
|
-
const [result, apiCall] = await teamsCreate(client,
|
|
78212
|
+
args: args97,
|
|
78213
|
+
tool: async (client, args98, ctx) => {
|
|
78214
|
+
const [result, apiCall] = await teamsCreate(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77936
78215
|
if (!result.ok) {
|
|
77937
78216
|
return {
|
|
77938
78217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78143,20 +78422,20 @@ var init_teamsMembersGetTeamMembers = __esm(() => {
|
|
|
78143
78422
|
});
|
|
78144
78423
|
|
|
78145
78424
|
// src/mcp-server/tools/teamsMembersGetTeamMembers.ts
|
|
78146
|
-
var
|
|
78425
|
+
var args98, tool$teamsMembersGetTeamMembers;
|
|
78147
78426
|
var init_teamsMembersGetTeamMembers2 = __esm(() => {
|
|
78148
78427
|
init_teamsMembersGetTeamMembers();
|
|
78149
78428
|
init_operations();
|
|
78150
78429
|
init_tools();
|
|
78151
|
-
|
|
78430
|
+
args98 = {
|
|
78152
78431
|
request: GetTeamMembersRequest$inboundSchema.optional()
|
|
78153
78432
|
};
|
|
78154
78433
|
tool$teamsMembersGetTeamMembers = {
|
|
78155
78434
|
name: "teams-members-get-team-members",
|
|
78156
78435
|
description: `List members`,
|
|
78157
|
-
args:
|
|
78158
|
-
tool: async (client,
|
|
78159
|
-
const [result, apiCall] = await teamsMembersGetTeamMembers(client,
|
|
78436
|
+
args: args98,
|
|
78437
|
+
tool: async (client, args99, ctx) => {
|
|
78438
|
+
const [result, apiCall] = await teamsMembersGetTeamMembers(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78160
78439
|
if (!result.ok) {
|
|
78161
78440
|
return {
|
|
78162
78441
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78249,20 +78528,20 @@ var init_teamsUpdate = __esm(() => {
|
|
|
78249
78528
|
});
|
|
78250
78529
|
|
|
78251
78530
|
// src/mcp-server/tools/teamsUpdate.ts
|
|
78252
|
-
var
|
|
78531
|
+
var args99, tool$teamsUpdate;
|
|
78253
78532
|
var init_teamsUpdate2 = __esm(() => {
|
|
78254
78533
|
init_teamsUpdate();
|
|
78255
78534
|
init_operations();
|
|
78256
78535
|
init_tools();
|
|
78257
|
-
|
|
78536
|
+
args99 = {
|
|
78258
78537
|
request: PatchCurrentTeamRequest$inboundSchema
|
|
78259
78538
|
};
|
|
78260
78539
|
tool$teamsUpdate = {
|
|
78261
78540
|
name: "teams-update",
|
|
78262
78541
|
description: `Update team`,
|
|
78263
|
-
args:
|
|
78264
|
-
tool: async (client,
|
|
78265
|
-
const [result, apiCall] = await teamsUpdate(client,
|
|
78542
|
+
args: args99,
|
|
78543
|
+
tool: async (client, args100, ctx) => {
|
|
78544
|
+
const [result, apiCall] = await teamsUpdate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78266
78545
|
if (!result.ok) {
|
|
78267
78546
|
return {
|
|
78268
78547
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78356,20 +78635,20 @@ var init_trafficGet = __esm(() => {
|
|
|
78356
78635
|
});
|
|
78357
78636
|
|
|
78358
78637
|
// src/mcp-server/tools/trafficGet.ts
|
|
78359
|
-
var
|
|
78638
|
+
var args100, tool$trafficGet;
|
|
78360
78639
|
var init_trafficGet2 = __esm(() => {
|
|
78361
78640
|
init_trafficGet();
|
|
78362
78641
|
init_operations();
|
|
78363
78642
|
init_tools();
|
|
78364
|
-
|
|
78643
|
+
args100 = {
|
|
78365
78644
|
request: GetTrafficConsumptionRequest$inboundSchema
|
|
78366
78645
|
};
|
|
78367
78646
|
tool$trafficGet = {
|
|
78368
78647
|
name: "traffic-get",
|
|
78369
78648
|
description: `Retrieve traffic`,
|
|
78370
|
-
args:
|
|
78371
|
-
tool: async (client,
|
|
78372
|
-
const [result, apiCall] = await trafficGet(client,
|
|
78649
|
+
args: args100,
|
|
78650
|
+
tool: async (client, args101, ctx) => {
|
|
78651
|
+
const [result, apiCall] = await trafficGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78373
78652
|
if (!result.ok) {
|
|
78374
78653
|
return {
|
|
78375
78654
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78460,20 +78739,20 @@ var init_trafficGetQuota = __esm(() => {
|
|
|
78460
78739
|
});
|
|
78461
78740
|
|
|
78462
78741
|
// src/mcp-server/tools/trafficGetQuota.ts
|
|
78463
|
-
var
|
|
78742
|
+
var args101, tool$trafficGetQuota;
|
|
78464
78743
|
var init_trafficGetQuota2 = __esm(() => {
|
|
78465
78744
|
init_trafficGetQuota();
|
|
78466
78745
|
init_operations();
|
|
78467
78746
|
init_tools();
|
|
78468
|
-
|
|
78747
|
+
args101 = {
|
|
78469
78748
|
request: GetTrafficQuotaRequest$inboundSchema.optional()
|
|
78470
78749
|
};
|
|
78471
78750
|
tool$trafficGetQuota = {
|
|
78472
78751
|
name: "traffic-get-quota",
|
|
78473
78752
|
description: `Retrieve traffic quota`,
|
|
78474
|
-
args:
|
|
78475
|
-
tool: async (client,
|
|
78476
|
-
const [result, apiCall] = await trafficGetQuota(client,
|
|
78753
|
+
args: args101,
|
|
78754
|
+
tool: async (client, args102, ctx) => {
|
|
78755
|
+
const [result, apiCall] = await trafficGetQuota(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78477
78756
|
if (!result.ok) {
|
|
78478
78757
|
return {
|
|
78479
78758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78567,12 +78846,12 @@ var init_userDataCreate = __esm(() => {
|
|
|
78567
78846
|
});
|
|
78568
78847
|
|
|
78569
78848
|
// src/mcp-server/tools/userDataCreate.ts
|
|
78570
|
-
var
|
|
78849
|
+
var args102, tool$userDataCreate;
|
|
78571
78850
|
var init_userDataCreate2 = __esm(() => {
|
|
78572
78851
|
init_userDataCreate();
|
|
78573
78852
|
init_operations();
|
|
78574
78853
|
init_tools();
|
|
78575
|
-
|
|
78854
|
+
args102 = {
|
|
78576
78855
|
request: PostProjectUserDataRequest$inboundSchema
|
|
78577
78856
|
};
|
|
78578
78857
|
tool$userDataCreate = {
|
|
@@ -78581,9 +78860,9 @@ var init_userDataCreate2 = __esm(() => {
|
|
|
78581
78860
|
|
|
78582
78861
|
Allows you to create User Data in a project, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
78583
78862
|
`,
|
|
78584
|
-
args:
|
|
78585
|
-
tool: async (client,
|
|
78586
|
-
const [result, apiCall] = await userDataCreate(client,
|
|
78863
|
+
args: args102,
|
|
78864
|
+
tool: async (client, args103, ctx) => {
|
|
78865
|
+
const [result, apiCall] = await userDataCreate(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78587
78866
|
if (!result.ok) {
|
|
78588
78867
|
return {
|
|
78589
78868
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78671,12 +78950,12 @@ var init_userDataCreateNew = __esm(() => {
|
|
|
78671
78950
|
});
|
|
78672
78951
|
|
|
78673
78952
|
// src/mcp-server/tools/userDataCreateNew.ts
|
|
78674
|
-
var
|
|
78953
|
+
var args103, tool$userDataCreateNew;
|
|
78675
78954
|
var init_userDataCreateNew2 = __esm(() => {
|
|
78676
78955
|
init_userDataCreateNew();
|
|
78677
78956
|
init_operations();
|
|
78678
78957
|
init_tools();
|
|
78679
|
-
|
|
78958
|
+
args103 = {
|
|
78680
78959
|
request: PostUserDataRequest$inboundSchema
|
|
78681
78960
|
};
|
|
78682
78961
|
tool$userDataCreateNew = {
|
|
@@ -78685,9 +78964,9 @@ var init_userDataCreateNew2 = __esm(() => {
|
|
|
78685
78964
|
|
|
78686
78965
|
Allows you to create User Data in a team, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
78687
78966
|
`,
|
|
78688
|
-
args:
|
|
78689
|
-
tool: async (client,
|
|
78690
|
-
const [result, apiCall] = await userDataCreateNew(client,
|
|
78967
|
+
args: args103,
|
|
78968
|
+
tool: async (client, args104, ctx) => {
|
|
78969
|
+
const [result, apiCall] = await userDataCreateNew(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78691
78970
|
if (!result.ok) {
|
|
78692
78971
|
return {
|
|
78693
78972
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78778,20 +79057,20 @@ var init_userDataDelete = __esm(() => {
|
|
|
78778
79057
|
});
|
|
78779
79058
|
|
|
78780
79059
|
// src/mcp-server/tools/userDataDelete.ts
|
|
78781
|
-
var
|
|
79060
|
+
var args104, tool$userDataDelete;
|
|
78782
79061
|
var init_userDataDelete2 = __esm(() => {
|
|
78783
79062
|
init_userDataDelete();
|
|
78784
79063
|
init_operations();
|
|
78785
79064
|
init_tools();
|
|
78786
|
-
|
|
79065
|
+
args104 = {
|
|
78787
79066
|
request: DeleteUserDataRequest$inboundSchema
|
|
78788
79067
|
};
|
|
78789
79068
|
tool$userDataDelete = {
|
|
78790
79069
|
name: "user-data-delete",
|
|
78791
79070
|
description: `Delete user data`,
|
|
78792
|
-
args:
|
|
78793
|
-
tool: async (client,
|
|
78794
|
-
const [result, apiCall] = await userDataDelete(client,
|
|
79071
|
+
args: args104,
|
|
79072
|
+
tool: async (client, args105, ctx) => {
|
|
79073
|
+
const [result, apiCall] = await userDataDelete(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78795
79074
|
if (!result.ok) {
|
|
78796
79075
|
return {
|
|
78797
79076
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78885,12 +79164,12 @@ var init_userDataDeleteProjectUserData = __esm(() => {
|
|
|
78885
79164
|
});
|
|
78886
79165
|
|
|
78887
79166
|
// src/mcp-server/tools/userDataDeleteProjectUserData.ts
|
|
78888
|
-
var
|
|
79167
|
+
var args105, tool$userDataDeleteProjectUserData;
|
|
78889
79168
|
var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
78890
79169
|
init_userDataDeleteProjectUserData();
|
|
78891
79170
|
init_operations();
|
|
78892
79171
|
init_tools();
|
|
78893
|
-
|
|
79172
|
+
args105 = {
|
|
78894
79173
|
request: DeleteProjectUserDataRequest$inboundSchema
|
|
78895
79174
|
};
|
|
78896
79175
|
tool$userDataDeleteProjectUserData = {
|
|
@@ -78899,9 +79178,9 @@ var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
|
78899
79178
|
|
|
78900
79179
|
Allow you remove User Data in a project.
|
|
78901
79180
|
`,
|
|
78902
|
-
args:
|
|
78903
|
-
tool: async (client,
|
|
78904
|
-
const [result, apiCall] = await userDataDeleteProjectUserData(client,
|
|
79181
|
+
args: args105,
|
|
79182
|
+
tool: async (client, args106, ctx) => {
|
|
79183
|
+
const [result, apiCall] = await userDataDeleteProjectUserData(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78905
79184
|
if (!result.ok) {
|
|
78906
79185
|
return {
|
|
78907
79186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79001,12 +79280,12 @@ var init_userDataGetProjectUserData = __esm(() => {
|
|
|
79001
79280
|
});
|
|
79002
79281
|
|
|
79003
79282
|
// src/mcp-server/tools/userDataGetProjectUserData.ts
|
|
79004
|
-
var
|
|
79283
|
+
var args106, tool$userDataGetProjectUserData;
|
|
79005
79284
|
var init_userDataGetProjectUserData2 = __esm(() => {
|
|
79006
79285
|
init_userDataGetProjectUserData();
|
|
79007
79286
|
init_operations();
|
|
79008
79287
|
init_tools();
|
|
79009
|
-
|
|
79288
|
+
args106 = {
|
|
79010
79289
|
request: GetProjectUserDataRequest$inboundSchema
|
|
79011
79290
|
};
|
|
79012
79291
|
tool$userDataGetProjectUserData = {
|
|
@@ -79015,9 +79294,9 @@ var init_userDataGetProjectUserData2 = __esm(() => {
|
|
|
79015
79294
|
|
|
79016
79295
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79017
79296
|
`,
|
|
79018
|
-
args:
|
|
79019
|
-
tool: async (client,
|
|
79020
|
-
const [result, apiCall] = await userDataGetProjectUserData(client,
|
|
79297
|
+
args: args106,
|
|
79298
|
+
tool: async (client, args107, ctx) => {
|
|
79299
|
+
const [result, apiCall] = await userDataGetProjectUserData(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79021
79300
|
if (!result.ok) {
|
|
79022
79301
|
return {
|
|
79023
79302
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79114,12 +79393,12 @@ var init_userDataGetProjectUsersData = __esm(() => {
|
|
|
79114
79393
|
});
|
|
79115
79394
|
|
|
79116
79395
|
// src/mcp-server/tools/userDataGetProjectUsersData.ts
|
|
79117
|
-
var
|
|
79396
|
+
var args107, tool$userDataGetProjectUsersData;
|
|
79118
79397
|
var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
79119
79398
|
init_userDataGetProjectUsersData();
|
|
79120
79399
|
init_operations();
|
|
79121
79400
|
init_tools();
|
|
79122
|
-
|
|
79401
|
+
args107 = {
|
|
79123
79402
|
request: GetProjectUsersDataRequest$inboundSchema
|
|
79124
79403
|
};
|
|
79125
79404
|
tool$userDataGetProjectUsersData = {
|
|
@@ -79128,9 +79407,9 @@ var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
|
79128
79407
|
|
|
79129
79408
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79130
79409
|
`,
|
|
79131
|
-
args:
|
|
79132
|
-
tool: async (client,
|
|
79133
|
-
const [result, apiCall] = await userDataGetProjectUsersData(client,
|
|
79410
|
+
args: args107,
|
|
79411
|
+
tool: async (client, args108, ctx) => {
|
|
79412
|
+
const [result, apiCall] = await userDataGetProjectUsersData(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79134
79413
|
if (!result.ok) {
|
|
79135
79414
|
return {
|
|
79136
79415
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79259,12 +79538,12 @@ var init_userDataList = __esm(() => {
|
|
|
79259
79538
|
});
|
|
79260
79539
|
|
|
79261
79540
|
// src/mcp-server/tools/userDataList.ts
|
|
79262
|
-
var
|
|
79541
|
+
var args108, tool$userDataList;
|
|
79263
79542
|
var init_userDataList2 = __esm(() => {
|
|
79264
79543
|
init_userDataList();
|
|
79265
79544
|
init_operations();
|
|
79266
79545
|
init_tools();
|
|
79267
|
-
|
|
79546
|
+
args108 = {
|
|
79268
79547
|
request: GetUsersDataRequest$inboundSchema.optional()
|
|
79269
79548
|
};
|
|
79270
79549
|
tool$userDataList = {
|
|
@@ -79273,9 +79552,9 @@ var init_userDataList2 = __esm(() => {
|
|
|
79273
79552
|
|
|
79274
79553
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79275
79554
|
`,
|
|
79276
|
-
args:
|
|
79277
|
-
tool: async (client,
|
|
79278
|
-
const [result, apiCall] = await userDataList(client,
|
|
79555
|
+
args: args108,
|
|
79556
|
+
tool: async (client, args109, ctx) => {
|
|
79557
|
+
const [result, apiCall] = await userDataList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79279
79558
|
if (!result.ok) {
|
|
79280
79559
|
return {
|
|
79281
79560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79372,12 +79651,12 @@ var init_userDataRetrieve = __esm(() => {
|
|
|
79372
79651
|
});
|
|
79373
79652
|
|
|
79374
79653
|
// src/mcp-server/tools/userDataRetrieve.ts
|
|
79375
|
-
var
|
|
79654
|
+
var args109, tool$userDataRetrieve;
|
|
79376
79655
|
var init_userDataRetrieve2 = __esm(() => {
|
|
79377
79656
|
init_userDataRetrieve();
|
|
79378
79657
|
init_operations();
|
|
79379
79658
|
init_tools();
|
|
79380
|
-
|
|
79659
|
+
args109 = {
|
|
79381
79660
|
request: GetUserDataRequest$inboundSchema
|
|
79382
79661
|
};
|
|
79383
79662
|
tool$userDataRetrieve = {
|
|
@@ -79386,9 +79665,9 @@ var init_userDataRetrieve2 = __esm(() => {
|
|
|
79386
79665
|
|
|
79387
79666
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79388
79667
|
`,
|
|
79389
|
-
args:
|
|
79390
|
-
tool: async (client,
|
|
79391
|
-
const [result, apiCall] = await userDataRetrieve(client,
|
|
79668
|
+
args: args109,
|
|
79669
|
+
tool: async (client, args110, ctx) => {
|
|
79670
|
+
const [result, apiCall] = await userDataRetrieve(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79392
79671
|
if (!result.ok) {
|
|
79393
79672
|
return {
|
|
79394
79673
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79482,12 +79761,12 @@ var init_userDataUpdate = __esm(() => {
|
|
|
79482
79761
|
});
|
|
79483
79762
|
|
|
79484
79763
|
// src/mcp-server/tools/userDataUpdate.ts
|
|
79485
|
-
var
|
|
79764
|
+
var args110, tool$userDataUpdate;
|
|
79486
79765
|
var init_userDataUpdate2 = __esm(() => {
|
|
79487
79766
|
init_userDataUpdate();
|
|
79488
79767
|
init_operations();
|
|
79489
79768
|
init_tools();
|
|
79490
|
-
|
|
79769
|
+
args110 = {
|
|
79491
79770
|
request: PatchUserDataRequest$inboundSchema
|
|
79492
79771
|
};
|
|
79493
79772
|
tool$userDataUpdate = {
|
|
@@ -79496,9 +79775,9 @@ var init_userDataUpdate2 = __esm(() => {
|
|
|
79496
79775
|
|
|
79497
79776
|
Allow you update User Data in a team.
|
|
79498
79777
|
`,
|
|
79499
|
-
args:
|
|
79500
|
-
tool: async (client,
|
|
79501
|
-
const [result, apiCall] = await userDataUpdate(client,
|
|
79778
|
+
args: args110,
|
|
79779
|
+
tool: async (client, args111, ctx) => {
|
|
79780
|
+
const [result, apiCall] = await userDataUpdate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79502
79781
|
if (!result.ok) {
|
|
79503
79782
|
return {
|
|
79504
79783
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79596,12 +79875,12 @@ var init_userDataUpdateForProject = __esm(() => {
|
|
|
79596
79875
|
});
|
|
79597
79876
|
|
|
79598
79877
|
// src/mcp-server/tools/userDataUpdateForProject.ts
|
|
79599
|
-
var
|
|
79878
|
+
var args111, tool$userDataUpdateForProject;
|
|
79600
79879
|
var init_userDataUpdateForProject2 = __esm(() => {
|
|
79601
79880
|
init_userDataUpdateForProject();
|
|
79602
79881
|
init_operations();
|
|
79603
79882
|
init_tools();
|
|
79604
|
-
|
|
79883
|
+
args111 = {
|
|
79605
79884
|
request: PutProjectUserDataRequest$inboundSchema
|
|
79606
79885
|
};
|
|
79607
79886
|
tool$userDataUpdateForProject = {
|
|
@@ -79610,9 +79889,9 @@ var init_userDataUpdateForProject2 = __esm(() => {
|
|
|
79610
79889
|
|
|
79611
79890
|
Allow you update User Data in a project.
|
|
79612
79891
|
`,
|
|
79613
|
-
args:
|
|
79614
|
-
tool: async (client,
|
|
79615
|
-
const [result, apiCall] = await userDataUpdateForProject(client,
|
|
79892
|
+
args: args111,
|
|
79893
|
+
tool: async (client, args112, ctx) => {
|
|
79894
|
+
const [result, apiCall] = await userDataUpdateForProject(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79616
79895
|
if (!result.ok) {
|
|
79617
79896
|
return {
|
|
79618
79897
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79881,12 +80160,12 @@ var init_userProfileUpdate = __esm(() => {
|
|
|
79881
80160
|
});
|
|
79882
80161
|
|
|
79883
80162
|
// src/mcp-server/tools/userProfileUpdate.ts
|
|
79884
|
-
var
|
|
80163
|
+
var args112, tool$userProfileUpdate;
|
|
79885
80164
|
var init_userProfileUpdate2 = __esm(() => {
|
|
79886
80165
|
init_userProfileUpdate();
|
|
79887
80166
|
init_operations();
|
|
79888
80167
|
init_tools();
|
|
79889
|
-
|
|
80168
|
+
args112 = {
|
|
79890
80169
|
request: PatchUserProfileRequest$inboundSchema
|
|
79891
80170
|
};
|
|
79892
80171
|
tool$userProfileUpdate = {
|
|
@@ -79895,9 +80174,9 @@ var init_userProfileUpdate2 = __esm(() => {
|
|
|
79895
80174
|
|
|
79896
80175
|
Update the current user profile
|
|
79897
80176
|
`,
|
|
79898
|
-
args:
|
|
79899
|
-
tool: async (client,
|
|
79900
|
-
const [result, apiCall] = await userProfileUpdate(client,
|
|
80177
|
+
args: args112,
|
|
80178
|
+
tool: async (client, args113, ctx) => {
|
|
80179
|
+
const [result, apiCall] = await userProfileUpdate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79901
80180
|
if (!result.ok) {
|
|
79902
80181
|
return {
|
|
79903
80182
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79990,12 +80269,12 @@ var init_virtualMachineBackupsCreate = __esm(() => {
|
|
|
79990
80269
|
});
|
|
79991
80270
|
|
|
79992
80271
|
// src/mcp-server/tools/virtualMachineBackupsCreate.ts
|
|
79993
|
-
var
|
|
80272
|
+
var args113, tool$virtualMachineBackupsCreate;
|
|
79994
80273
|
var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
79995
80274
|
init_virtualMachineBackupsCreate();
|
|
79996
80275
|
init_models();
|
|
79997
80276
|
init_tools();
|
|
79998
|
-
|
|
80277
|
+
args113 = {
|
|
79999
80278
|
request: VirtualMachineBackupPayload$inboundSchema
|
|
80000
80279
|
};
|
|
80001
80280
|
tool$virtualMachineBackupsCreate = {
|
|
@@ -80004,9 +80283,9 @@ var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
|
80004
80283
|
|
|
80005
80284
|
Triggers a backup of the Virtual Machine referenced in the body.
|
|
80006
80285
|
`,
|
|
80007
|
-
args:
|
|
80008
|
-
tool: async (client,
|
|
80009
|
-
const [result, apiCall] = await virtualMachineBackupsCreate(client,
|
|
80286
|
+
args: args113,
|
|
80287
|
+
tool: async (client, args114, ctx) => {
|
|
80288
|
+
const [result, apiCall] = await virtualMachineBackupsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80010
80289
|
if (!result.ok) {
|
|
80011
80290
|
return {
|
|
80012
80291
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80102,12 +80381,12 @@ var init_virtualMachineBackupsCreateForVirtualMachine = __esm(() => {
|
|
|
80102
80381
|
});
|
|
80103
80382
|
|
|
80104
80383
|
// src/mcp-server/tools/virtualMachineBackupsCreateForVirtualMachine.ts
|
|
80105
|
-
var
|
|
80384
|
+
var args114, tool$virtualMachineBackupsCreateForVirtualMachine;
|
|
80106
80385
|
var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
80107
80386
|
init_virtualMachineBackupsCreateForVirtualMachine();
|
|
80108
80387
|
init_operations();
|
|
80109
80388
|
init_tools();
|
|
80110
|
-
|
|
80389
|
+
args114 = {
|
|
80111
80390
|
request: CreateVirtualMachineBackupRequest$inboundSchema
|
|
80112
80391
|
};
|
|
80113
80392
|
tool$virtualMachineBackupsCreateForVirtualMachine = {
|
|
@@ -80116,9 +80395,9 @@ var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
|
80116
80395
|
|
|
80117
80396
|
Triggers a backup of the given Virtual Machine.
|
|
80118
80397
|
`,
|
|
80119
|
-
args:
|
|
80120
|
-
tool: async (client,
|
|
80121
|
-
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client,
|
|
80398
|
+
args: args114,
|
|
80399
|
+
tool: async (client, args115, ctx) => {
|
|
80400
|
+
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80122
80401
|
if (!result.ok) {
|
|
80123
80402
|
return {
|
|
80124
80403
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80217,12 +80496,12 @@ var init_virtualMachineBackupsDelete = __esm(() => {
|
|
|
80217
80496
|
});
|
|
80218
80497
|
|
|
80219
80498
|
// src/mcp-server/tools/virtualMachineBackupsDelete.ts
|
|
80220
|
-
var
|
|
80499
|
+
var args115, tool$virtualMachineBackupsDelete;
|
|
80221
80500
|
var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
80222
80501
|
init_virtualMachineBackupsDelete();
|
|
80223
80502
|
init_operations();
|
|
80224
80503
|
init_tools();
|
|
80225
|
-
|
|
80504
|
+
args115 = {
|
|
80226
80505
|
request: DeleteVirtualMachineBackupRequest$inboundSchema
|
|
80227
80506
|
};
|
|
80228
80507
|
tool$virtualMachineBackupsDelete = {
|
|
@@ -80231,9 +80510,9 @@ var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
|
80231
80510
|
|
|
80232
80511
|
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.
|
|
80233
80512
|
`,
|
|
80234
|
-
args:
|
|
80235
|
-
tool: async (client,
|
|
80236
|
-
const [result, apiCall] = await virtualMachineBackupsDelete(client,
|
|
80513
|
+
args: args115,
|
|
80514
|
+
tool: async (client, args116, ctx) => {
|
|
80515
|
+
const [result, apiCall] = await virtualMachineBackupsDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80237
80516
|
if (!result.ok) {
|
|
80238
80517
|
return {
|
|
80239
80518
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80332,20 +80611,20 @@ var init_virtualMachineBackupsGet = __esm(() => {
|
|
|
80332
80611
|
});
|
|
80333
80612
|
|
|
80334
80613
|
// src/mcp-server/tools/virtualMachineBackupsGet.ts
|
|
80335
|
-
var
|
|
80614
|
+
var args116, tool$virtualMachineBackupsGet;
|
|
80336
80615
|
var init_virtualMachineBackupsGet2 = __esm(() => {
|
|
80337
80616
|
init_virtualMachineBackupsGet();
|
|
80338
80617
|
init_operations();
|
|
80339
80618
|
init_tools();
|
|
80340
|
-
|
|
80619
|
+
args116 = {
|
|
80341
80620
|
request: GetVirtualMachineBackupRequest$inboundSchema
|
|
80342
80621
|
};
|
|
80343
80622
|
tool$virtualMachineBackupsGet = {
|
|
80344
80623
|
name: "virtual-machine-backups-get",
|
|
80345
80624
|
description: `Get VM backup`,
|
|
80346
|
-
args:
|
|
80347
|
-
tool: async (client,
|
|
80348
|
-
const [result, apiCall] = await virtualMachineBackupsGet(client,
|
|
80625
|
+
args: args116,
|
|
80626
|
+
tool: async (client, args117, ctx) => {
|
|
80627
|
+
const [result, apiCall] = await virtualMachineBackupsGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80349
80628
|
if (!result.ok) {
|
|
80350
80629
|
return {
|
|
80351
80630
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80535,12 +80814,12 @@ var init_virtualMachineBackupsListForVirtualMachine = __esm(() => {
|
|
|
80535
80814
|
});
|
|
80536
80815
|
|
|
80537
80816
|
// src/mcp-server/tools/virtualMachineBackupsListForVirtualMachine.ts
|
|
80538
|
-
var
|
|
80817
|
+
var args117, tool$virtualMachineBackupsListForVirtualMachine;
|
|
80539
80818
|
var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
80540
80819
|
init_virtualMachineBackupsListForVirtualMachine();
|
|
80541
80820
|
init_operations();
|
|
80542
80821
|
init_tools();
|
|
80543
|
-
|
|
80822
|
+
args117 = {
|
|
80544
80823
|
request: ListVirtualMachineScopedBackupsRequest$inboundSchema
|
|
80545
80824
|
};
|
|
80546
80825
|
tool$virtualMachineBackupsListForVirtualMachine = {
|
|
@@ -80549,9 +80828,9 @@ var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
|
80549
80828
|
|
|
80550
80829
|
Lists the backups of the given Virtual Machine.
|
|
80551
80830
|
`,
|
|
80552
|
-
args:
|
|
80553
|
-
tool: async (client,
|
|
80554
|
-
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client,
|
|
80831
|
+
args: args117,
|
|
80832
|
+
tool: async (client, args118, ctx) => {
|
|
80833
|
+
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80555
80834
|
if (!result.ok) {
|
|
80556
80835
|
return {
|
|
80557
80836
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80644,12 +80923,12 @@ var init_virtualMachineRestoresCreate = __esm(() => {
|
|
|
80644
80923
|
});
|
|
80645
80924
|
|
|
80646
80925
|
// src/mcp-server/tools/virtualMachineRestoresCreate.ts
|
|
80647
|
-
var
|
|
80926
|
+
var args118, tool$virtualMachineRestoresCreate;
|
|
80648
80927
|
var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
80649
80928
|
init_virtualMachineRestoresCreate();
|
|
80650
80929
|
init_models();
|
|
80651
80930
|
init_tools();
|
|
80652
|
-
|
|
80931
|
+
args118 = {
|
|
80653
80932
|
request: VirtualMachineRestorePayload$inboundSchema
|
|
80654
80933
|
};
|
|
80655
80934
|
tool$virtualMachineRestoresCreate = {
|
|
@@ -80658,9 +80937,9 @@ var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
|
80658
80937
|
|
|
80659
80938
|
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.
|
|
80660
80939
|
`,
|
|
80661
|
-
args:
|
|
80662
|
-
tool: async (client,
|
|
80663
|
-
const [result, apiCall] = await virtualMachineRestoresCreate(client,
|
|
80940
|
+
args: args118,
|
|
80941
|
+
tool: async (client, args119, ctx) => {
|
|
80942
|
+
const [result, apiCall] = await virtualMachineRestoresCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80664
80943
|
if (!result.ok) {
|
|
80665
80944
|
return {
|
|
80666
80945
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80763,12 +81042,12 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup = __esm(() => {
|
|
|
80763
81042
|
});
|
|
80764
81043
|
|
|
80765
81044
|
// src/mcp-server/tools/virtualMachineRestoresCreateForVirtualMachineBackup.ts
|
|
80766
|
-
var
|
|
81045
|
+
var args119, tool$virtualMachineRestoresCreateForVirtualMachineBackup;
|
|
80767
81046
|
var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
80768
81047
|
init_virtualMachineRestoresCreateForVirtualMachineBackup();
|
|
80769
81048
|
init_operations();
|
|
80770
81049
|
init_tools();
|
|
80771
|
-
|
|
81050
|
+
args119 = {
|
|
80772
81051
|
request: CreateVirtualMachineRestoreRequest$inboundSchema
|
|
80773
81052
|
};
|
|
80774
81053
|
tool$virtualMachineRestoresCreateForVirtualMachineBackup = {
|
|
@@ -80777,9 +81056,9 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
|
80777
81056
|
|
|
80778
81057
|
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.
|
|
80779
81058
|
`,
|
|
80780
|
-
args:
|
|
80781
|
-
tool: async (client,
|
|
80782
|
-
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client,
|
|
81059
|
+
args: args119,
|
|
81060
|
+
tool: async (client, args120, ctx) => {
|
|
81061
|
+
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80783
81062
|
if (!result.ok) {
|
|
80784
81063
|
return {
|
|
80785
81064
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80878,20 +81157,20 @@ var init_virtualMachineRestoresGet = __esm(() => {
|
|
|
80878
81157
|
});
|
|
80879
81158
|
|
|
80880
81159
|
// src/mcp-server/tools/virtualMachineRestoresGet.ts
|
|
80881
|
-
var
|
|
81160
|
+
var args120, tool$virtualMachineRestoresGet;
|
|
80882
81161
|
var init_virtualMachineRestoresGet2 = __esm(() => {
|
|
80883
81162
|
init_virtualMachineRestoresGet();
|
|
80884
81163
|
init_operations();
|
|
80885
81164
|
init_tools();
|
|
80886
|
-
|
|
81165
|
+
args120 = {
|
|
80887
81166
|
request: GetVirtualMachineRestoreRequest$inboundSchema
|
|
80888
81167
|
};
|
|
80889
81168
|
tool$virtualMachineRestoresGet = {
|
|
80890
81169
|
name: "virtual-machine-restores-get",
|
|
80891
81170
|
description: `Get VM restore`,
|
|
80892
|
-
args:
|
|
80893
|
-
tool: async (client,
|
|
80894
|
-
const [result, apiCall] = await virtualMachineRestoresGet(client,
|
|
81171
|
+
args: args120,
|
|
81172
|
+
tool: async (client, args121, ctx) => {
|
|
81173
|
+
const [result, apiCall] = await virtualMachineRestoresGet(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80895
81174
|
if (!result.ok) {
|
|
80896
81175
|
return {
|
|
80897
81176
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81084,12 +81363,12 @@ var init_virtualMachineRestoresListForBackup = __esm(() => {
|
|
|
81084
81363
|
});
|
|
81085
81364
|
|
|
81086
81365
|
// src/mcp-server/tools/virtualMachineRestoresListForBackup.ts
|
|
81087
|
-
var
|
|
81366
|
+
var args121, tool$virtualMachineRestoresListForBackup;
|
|
81088
81367
|
var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
81089
81368
|
init_virtualMachineRestoresListForBackup();
|
|
81090
81369
|
init_operations();
|
|
81091
81370
|
init_tools();
|
|
81092
|
-
|
|
81371
|
+
args121 = {
|
|
81093
81372
|
request: ListBackupRestoresRequest$inboundSchema
|
|
81094
81373
|
};
|
|
81095
81374
|
tool$virtualMachineRestoresListForBackup = {
|
|
@@ -81098,9 +81377,9 @@ var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
|
81098
81377
|
|
|
81099
81378
|
Lists the restores created from the given backup, reached via the top-level backup path.
|
|
81100
81379
|
`,
|
|
81101
|
-
args:
|
|
81102
|
-
tool: async (client,
|
|
81103
|
-
const [result, apiCall] = await virtualMachineRestoresListForBackup(client,
|
|
81380
|
+
args: args121,
|
|
81381
|
+
tool: async (client, args122, ctx) => {
|
|
81382
|
+
const [result, apiCall] = await virtualMachineRestoresListForBackup(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81104
81383
|
if (!result.ok) {
|
|
81105
81384
|
return {
|
|
81106
81385
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81200,12 +81479,12 @@ var init_virtualMachineRestoresListForVirtualMachineBackup = __esm(() => {
|
|
|
81200
81479
|
});
|
|
81201
81480
|
|
|
81202
81481
|
// src/mcp-server/tools/virtualMachineRestoresListForVirtualMachineBackup.ts
|
|
81203
|
-
var
|
|
81482
|
+
var args122, tool$virtualMachineRestoresListForVirtualMachineBackup;
|
|
81204
81483
|
var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
81205
81484
|
init_virtualMachineRestoresListForVirtualMachineBackup();
|
|
81206
81485
|
init_operations();
|
|
81207
81486
|
init_tools();
|
|
81208
|
-
|
|
81487
|
+
args122 = {
|
|
81209
81488
|
request: ListVirtualMachineScopedRestoresRequest$inboundSchema
|
|
81210
81489
|
};
|
|
81211
81490
|
tool$virtualMachineRestoresListForVirtualMachineBackup = {
|
|
@@ -81214,9 +81493,9 @@ var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
|
81214
81493
|
|
|
81215
81494
|
Lists the restores created from the given backup.
|
|
81216
81495
|
`,
|
|
81217
|
-
args:
|
|
81218
|
-
tool: async (client,
|
|
81219
|
-
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client,
|
|
81496
|
+
args: args122,
|
|
81497
|
+
tool: async (client, args123, ctx) => {
|
|
81498
|
+
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81220
81499
|
if (!result.ok) {
|
|
81221
81500
|
return {
|
|
81222
81501
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81303,12 +81582,12 @@ var init_virtualMachinesCreate = __esm(() => {
|
|
|
81303
81582
|
});
|
|
81304
81583
|
|
|
81305
81584
|
// src/mcp-server/tools/virtualMachinesCreate.ts
|
|
81306
|
-
var
|
|
81585
|
+
var args123, tool$virtualMachinesCreate;
|
|
81307
81586
|
var init_virtualMachinesCreate2 = __esm(() => {
|
|
81308
81587
|
init_virtualMachinesCreate();
|
|
81309
81588
|
init_models();
|
|
81310
81589
|
init_tools();
|
|
81311
|
-
|
|
81590
|
+
args123 = {
|
|
81312
81591
|
request: VirtualMachinePayload$inboundSchema
|
|
81313
81592
|
};
|
|
81314
81593
|
tool$virtualMachinesCreate = {
|
|
@@ -81317,9 +81596,9 @@ var init_virtualMachinesCreate2 = __esm(() => {
|
|
|
81317
81596
|
|
|
81318
81597
|
Creates a new Virtual Machine.
|
|
81319
81598
|
`,
|
|
81320
|
-
args:
|
|
81321
|
-
tool: async (client,
|
|
81322
|
-
const [result, apiCall] = await virtualMachinesCreate(client,
|
|
81599
|
+
args: args123,
|
|
81600
|
+
tool: async (client, args124, ctx) => {
|
|
81601
|
+
const [result, apiCall] = await virtualMachinesCreate(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81323
81602
|
if (!result.ok) {
|
|
81324
81603
|
return {
|
|
81325
81604
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81408,12 +81687,12 @@ var init_virtualMachinesCreateVirtualMachineAction = __esm(() => {
|
|
|
81408
81687
|
});
|
|
81409
81688
|
|
|
81410
81689
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineAction.ts
|
|
81411
|
-
var
|
|
81690
|
+
var args124, tool$virtualMachinesCreateVirtualMachineAction;
|
|
81412
81691
|
var init_virtualMachinesCreateVirtualMachineAction2 = __esm(() => {
|
|
81413
81692
|
init_virtualMachinesCreateVirtualMachineAction();
|
|
81414
81693
|
init_operations();
|
|
81415
81694
|
init_tools();
|
|
81416
|
-
|
|
81695
|
+
args124 = {
|
|
81417
81696
|
request: CreateVirtualMachineActionRequest$inboundSchema
|
|
81418
81697
|
};
|
|
81419
81698
|
tool$virtualMachinesCreateVirtualMachineAction = {
|
|
@@ -81425,9 +81704,9 @@ Performs a power action on a given virtual machine:
|
|
|
81425
81704
|
- \`power_off\` - Stops the virtual machine
|
|
81426
81705
|
- \`reboot\` - Restarts the virtual machine
|
|
81427
81706
|
`,
|
|
81428
|
-
args:
|
|
81429
|
-
tool: async (client,
|
|
81430
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client,
|
|
81707
|
+
args: args124,
|
|
81708
|
+
tool: async (client, args125, ctx) => {
|
|
81709
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81431
81710
|
if (!result.ok) {
|
|
81432
81711
|
return {
|
|
81433
81712
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81514,12 +81793,12 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81514
81793
|
});
|
|
81515
81794
|
|
|
81516
81795
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
81517
|
-
var
|
|
81796
|
+
var args125, tool$virtualMachinesCreateVirtualMachineNetworkAttachment;
|
|
81518
81797
|
var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81519
81798
|
init_virtualMachinesCreateVirtualMachineNetworkAttachment();
|
|
81520
81799
|
init_operations();
|
|
81521
81800
|
init_tools();
|
|
81522
|
-
|
|
81801
|
+
args125 = {
|
|
81523
81802
|
request: CreateVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81524
81803
|
};
|
|
81525
81804
|
tool$virtualMachinesCreateVirtualMachineNetworkAttachment = {
|
|
@@ -81528,9 +81807,9 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81528
81807
|
|
|
81529
81808
|
Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81530
81809
|
`,
|
|
81531
|
-
args:
|
|
81532
|
-
tool: async (client,
|
|
81533
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client,
|
|
81810
|
+
args: args125,
|
|
81811
|
+
tool: async (client, args126, ctx) => {
|
|
81812
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81534
81813
|
if (!result.ok) {
|
|
81535
81814
|
return {
|
|
81536
81815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81618,12 +81897,12 @@ var init_virtualMachinesDelete = __esm(() => {
|
|
|
81618
81897
|
});
|
|
81619
81898
|
|
|
81620
81899
|
// src/mcp-server/tools/virtualMachinesDelete.ts
|
|
81621
|
-
var
|
|
81900
|
+
var args126, tool$virtualMachinesDelete;
|
|
81622
81901
|
var init_virtualMachinesDelete2 = __esm(() => {
|
|
81623
81902
|
init_virtualMachinesDelete();
|
|
81624
81903
|
init_operations();
|
|
81625
81904
|
init_tools();
|
|
81626
|
-
|
|
81905
|
+
args126 = {
|
|
81627
81906
|
request: DestroyVirtualMachineRequest$inboundSchema
|
|
81628
81907
|
};
|
|
81629
81908
|
tool$virtualMachinesDelete = {
|
|
@@ -81632,9 +81911,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
|
|
|
81632
81911
|
|
|
81633
81912
|
Destroys a Virtual Machine.
|
|
81634
81913
|
`,
|
|
81635
|
-
args:
|
|
81636
|
-
tool: async (client,
|
|
81637
|
-
const [result, apiCall] = await virtualMachinesDelete(client,
|
|
81914
|
+
args: args126,
|
|
81915
|
+
tool: async (client, args127, ctx) => {
|
|
81916
|
+
const [result, apiCall] = await virtualMachinesDelete(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81638
81917
|
if (!result.ok) {
|
|
81639
81918
|
return {
|
|
81640
81919
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81724,12 +82003,12 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81724
82003
|
});
|
|
81725
82004
|
|
|
81726
82005
|
// src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
81727
|
-
var
|
|
82006
|
+
var args127, tool$virtualMachinesDestroyVirtualMachineNetworkAttachment;
|
|
81728
82007
|
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81729
82008
|
init_virtualMachinesDestroyVirtualMachineNetworkAttachment();
|
|
81730
82009
|
init_operations();
|
|
81731
82010
|
init_tools();
|
|
81732
|
-
|
|
82011
|
+
args127 = {
|
|
81733
82012
|
request: DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81734
82013
|
};
|
|
81735
82014
|
tool$virtualMachinesDestroyVirtualMachineNetworkAttachment = {
|
|
@@ -81738,9 +82017,9 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81738
82017
|
|
|
81739
82018
|
Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81740
82019
|
`,
|
|
81741
|
-
args:
|
|
81742
|
-
tool: async (client,
|
|
81743
|
-
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client,
|
|
82020
|
+
args: args127,
|
|
82021
|
+
tool: async (client, args128, ctx) => {
|
|
82022
|
+
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81744
82023
|
if (!result.ok) {
|
|
81745
82024
|
return {
|
|
81746
82025
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81834,12 +82113,12 @@ var init_virtualMachinesGet = __esm(() => {
|
|
|
81834
82113
|
});
|
|
81835
82114
|
|
|
81836
82115
|
// src/mcp-server/tools/virtualMachinesGet.ts
|
|
81837
|
-
var
|
|
82116
|
+
var args128, tool$virtualMachinesGet;
|
|
81838
82117
|
var init_virtualMachinesGet2 = __esm(() => {
|
|
81839
82118
|
init_virtualMachinesGet();
|
|
81840
82119
|
init_operations();
|
|
81841
82120
|
init_tools();
|
|
81842
|
-
|
|
82121
|
+
args128 = {
|
|
81843
82122
|
request: ShowVirtualMachineRequest$inboundSchema
|
|
81844
82123
|
};
|
|
81845
82124
|
tool$virtualMachinesGet = {
|
|
@@ -81848,9 +82127,9 @@ var init_virtualMachinesGet2 = __esm(() => {
|
|
|
81848
82127
|
|
|
81849
82128
|
Show a Virtual Machine.
|
|
81850
82129
|
`,
|
|
81851
|
-
args:
|
|
81852
|
-
tool: async (client,
|
|
81853
|
-
const [result, apiCall] = await virtualMachinesGet(client,
|
|
82130
|
+
args: args128,
|
|
82131
|
+
tool: async (client, args129, ctx) => {
|
|
82132
|
+
const [result, apiCall] = await virtualMachinesGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81854
82133
|
if (!result.ok) {
|
|
81855
82134
|
return {
|
|
81856
82135
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81983,12 +82262,12 @@ var init_virtualMachinesList = __esm(() => {
|
|
|
81983
82262
|
});
|
|
81984
82263
|
|
|
81985
82264
|
// src/mcp-server/tools/virtualMachinesList.ts
|
|
81986
|
-
var
|
|
82265
|
+
var args129, tool$virtualMachinesList;
|
|
81987
82266
|
var init_virtualMachinesList2 = __esm(() => {
|
|
81988
82267
|
init_virtualMachinesList();
|
|
81989
82268
|
init_operations();
|
|
81990
82269
|
init_tools();
|
|
81991
|
-
|
|
82270
|
+
args129 = {
|
|
81992
82271
|
request: IndexVirtualMachineRequest$inboundSchema.optional()
|
|
81993
82272
|
};
|
|
81994
82273
|
tool$virtualMachinesList = {
|
|
@@ -81997,9 +82276,9 @@ var init_virtualMachinesList2 = __esm(() => {
|
|
|
81997
82276
|
|
|
81998
82277
|
Show all Team's Virtual Machines.
|
|
81999
82278
|
`,
|
|
82000
|
-
args:
|
|
82001
|
-
tool: async (client,
|
|
82002
|
-
const [result, apiCall] = await virtualMachinesList(client,
|
|
82279
|
+
args: args129,
|
|
82280
|
+
tool: async (client, args130, ctx) => {
|
|
82281
|
+
const [result, apiCall] = await virtualMachinesList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82003
82282
|
if (!result.ok) {
|
|
82004
82283
|
return {
|
|
82005
82284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82089,12 +82368,12 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments = __esm(() => {
|
|
|
82089
82368
|
});
|
|
82090
82369
|
|
|
82091
82370
|
// src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
82092
|
-
var
|
|
82371
|
+
var args130, tool$virtualMachinesListVirtualMachineNetworkAttachments;
|
|
82093
82372
|
var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
82094
82373
|
init_virtualMachinesListVirtualMachineNetworkAttachments();
|
|
82095
82374
|
init_operations();
|
|
82096
82375
|
init_tools();
|
|
82097
|
-
|
|
82376
|
+
args130 = {
|
|
82098
82377
|
request: ListVirtualMachineNetworkAttachmentsRequest$inboundSchema
|
|
82099
82378
|
};
|
|
82100
82379
|
tool$virtualMachinesListVirtualMachineNetworkAttachments = {
|
|
@@ -82103,9 +82382,9 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
|
82103
82382
|
|
|
82104
82383
|
Lists the secondary network attachments currently configured for a Virtual Machine.
|
|
82105
82384
|
`,
|
|
82106
|
-
args:
|
|
82107
|
-
tool: async (client,
|
|
82108
|
-
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client,
|
|
82385
|
+
args: args130,
|
|
82386
|
+
tool: async (client, args131, ctx) => {
|
|
82387
|
+
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82109
82388
|
if (!result.ok) {
|
|
82110
82389
|
return {
|
|
82111
82390
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82201,12 +82480,12 @@ var init_virtualMachinesShowVirtualMachineMetrics = __esm(() => {
|
|
|
82201
82480
|
});
|
|
82202
82481
|
|
|
82203
82482
|
// src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts
|
|
82204
|
-
var
|
|
82483
|
+
var args131, tool$virtualMachinesShowVirtualMachineMetrics;
|
|
82205
82484
|
var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
82206
82485
|
init_virtualMachinesShowVirtualMachineMetrics();
|
|
82207
82486
|
init_operations();
|
|
82208
82487
|
init_tools();
|
|
82209
|
-
|
|
82488
|
+
args131 = {
|
|
82210
82489
|
request: ShowVirtualMachineMetricsRequest$inboundSchema
|
|
82211
82490
|
};
|
|
82212
82491
|
tool$virtualMachinesShowVirtualMachineMetrics = {
|
|
@@ -82214,9 +82493,9 @@ var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
|
82214
82493
|
description: `Retrieve VM metrics
|
|
82215
82494
|
|
|
82216
82495
|
Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
82217
|
-
args:
|
|
82218
|
-
tool: async (client,
|
|
82219
|
-
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client,
|
|
82496
|
+
args: args131,
|
|
82497
|
+
tool: async (client, args132, ctx) => {
|
|
82498
|
+
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82220
82499
|
if (!result.ok) {
|
|
82221
82500
|
return {
|
|
82222
82501
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82309,12 +82588,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
|
|
|
82309
82588
|
});
|
|
82310
82589
|
|
|
82311
82590
|
// src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
|
|
82312
|
-
var
|
|
82591
|
+
var args132, tool$virtualMachinesUpdateVirtualMachine;
|
|
82313
82592
|
var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
82314
82593
|
init_virtualMachinesUpdateVirtualMachine();
|
|
82315
82594
|
init_operations();
|
|
82316
82595
|
init_tools();
|
|
82317
|
-
|
|
82596
|
+
args132 = {
|
|
82318
82597
|
request: UpdateVirtualMachineRequest$inboundSchema
|
|
82319
82598
|
};
|
|
82320
82599
|
tool$virtualMachinesUpdateVirtualMachine = {
|
|
@@ -82323,9 +82602,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
|
82323
82602
|
|
|
82324
82603
|
Updates a Virtual Machine's display name (hostname).
|
|
82325
82604
|
`,
|
|
82326
|
-
args:
|
|
82327
|
-
tool: async (client,
|
|
82328
|
-
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client,
|
|
82605
|
+
args: args132,
|
|
82606
|
+
tool: async (client, args133, ctx) => {
|
|
82607
|
+
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82329
82608
|
if (!result.ok) {
|
|
82330
82609
|
return {
|
|
82331
82610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82416,12 +82695,12 @@ var init_virtualNetworksDelete = __esm(() => {
|
|
|
82416
82695
|
});
|
|
82417
82696
|
|
|
82418
82697
|
// src/mcp-server/tools/virtualNetworksDelete.ts
|
|
82419
|
-
var
|
|
82698
|
+
var args133, tool$virtualNetworksDelete;
|
|
82420
82699
|
var init_virtualNetworksDelete2 = __esm(() => {
|
|
82421
82700
|
init_virtualNetworksDelete();
|
|
82422
82701
|
init_operations();
|
|
82423
82702
|
init_tools();
|
|
82424
|
-
|
|
82703
|
+
args133 = {
|
|
82425
82704
|
request: DestroyVirtualNetworkRequest$inboundSchema
|
|
82426
82705
|
};
|
|
82427
82706
|
tool$virtualNetworksDelete = {
|
|
@@ -82430,9 +82709,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
|
|
|
82430
82709
|
|
|
82431
82710
|
Delete virtual network
|
|
82432
82711
|
`,
|
|
82433
|
-
args:
|
|
82434
|
-
tool: async (client,
|
|
82435
|
-
const [result, apiCall] = await virtualNetworksDelete(client,
|
|
82712
|
+
args: args133,
|
|
82713
|
+
tool: async (client, args134, ctx) => {
|
|
82714
|
+
const [result, apiCall] = await virtualNetworksDelete(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82436
82715
|
if (!result.ok) {
|
|
82437
82716
|
return {
|
|
82438
82717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82519,12 +82798,12 @@ var init_vpnSessionsCreate = __esm(() => {
|
|
|
82519
82798
|
});
|
|
82520
82799
|
|
|
82521
82800
|
// src/mcp-server/tools/vpnSessionsCreate.ts
|
|
82522
|
-
var
|
|
82801
|
+
var args134, tool$vpnSessionsCreate;
|
|
82523
82802
|
var init_vpnSessionsCreate2 = __esm(() => {
|
|
82524
82803
|
init_vpnSessionsCreate();
|
|
82525
82804
|
init_operations();
|
|
82526
82805
|
init_tools();
|
|
82527
|
-
|
|
82806
|
+
args134 = {
|
|
82528
82807
|
request: PostVpnSessionRequest$inboundSchema
|
|
82529
82808
|
};
|
|
82530
82809
|
tool$vpnSessionsCreate = {
|
|
@@ -82534,9 +82813,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
|
|
|
82534
82813
|
Creates a new VPN Session.
|
|
82535
82814
|
\`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
|
|
82536
82815
|
`,
|
|
82537
|
-
args:
|
|
82538
|
-
tool: async (client,
|
|
82539
|
-
const [result, apiCall] = await vpnSessionsCreate(client,
|
|
82816
|
+
args: args134,
|
|
82817
|
+
tool: async (client, args135, ctx) => {
|
|
82818
|
+
const [result, apiCall] = await vpnSessionsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82540
82819
|
if (!result.ok) {
|
|
82541
82820
|
return {
|
|
82542
82821
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82627,12 +82906,12 @@ var init_vpnSessionsDelete = __esm(() => {
|
|
|
82627
82906
|
});
|
|
82628
82907
|
|
|
82629
82908
|
// src/mcp-server/tools/vpnSessionsDelete.ts
|
|
82630
|
-
var
|
|
82909
|
+
var args135, tool$vpnSessionsDelete;
|
|
82631
82910
|
var init_vpnSessionsDelete2 = __esm(() => {
|
|
82632
82911
|
init_vpnSessionsDelete();
|
|
82633
82912
|
init_operations();
|
|
82634
82913
|
init_tools();
|
|
82635
|
-
|
|
82914
|
+
args135 = {
|
|
82636
82915
|
request: DeleteVpnSessionRequest$inboundSchema
|
|
82637
82916
|
};
|
|
82638
82917
|
tool$vpnSessionsDelete = {
|
|
@@ -82641,9 +82920,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
|
|
|
82641
82920
|
|
|
82642
82921
|
Deletes an existing VPN Session.
|
|
82643
82922
|
`,
|
|
82644
|
-
args:
|
|
82645
|
-
tool: async (client,
|
|
82646
|
-
const [result, apiCall] = await vpnSessionsDelete(client,
|
|
82923
|
+
args: args135,
|
|
82924
|
+
tool: async (client, args136, ctx) => {
|
|
82925
|
+
const [result, apiCall] = await vpnSessionsDelete(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82647
82926
|
if (!result.ok) {
|
|
82648
82927
|
return {
|
|
82649
82928
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82732,20 +83011,20 @@ var init_vpnSessionsList = __esm(() => {
|
|
|
82732
83011
|
});
|
|
82733
83012
|
|
|
82734
83013
|
// src/mcp-server/tools/vpnSessionsList.ts
|
|
82735
|
-
var
|
|
83014
|
+
var args136, tool$vpnSessionsList;
|
|
82736
83015
|
var init_vpnSessionsList2 = __esm(() => {
|
|
82737
83016
|
init_vpnSessionsList();
|
|
82738
83017
|
init_operations();
|
|
82739
83018
|
init_tools();
|
|
82740
|
-
|
|
83019
|
+
args136 = {
|
|
82741
83020
|
request: GetVpnSessionsRequest$inboundSchema.optional()
|
|
82742
83021
|
};
|
|
82743
83022
|
tool$vpnSessionsList = {
|
|
82744
83023
|
name: "vpn-sessions-list",
|
|
82745
83024
|
description: `List VPN sessions`,
|
|
82746
|
-
args:
|
|
82747
|
-
tool: async (client,
|
|
82748
|
-
const [result, apiCall] = await vpnSessionsList(client,
|
|
83025
|
+
args: args136,
|
|
83026
|
+
tool: async (client, args137, ctx) => {
|
|
83027
|
+
const [result, apiCall] = await vpnSessionsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82749
83028
|
if (!result.ok) {
|
|
82750
83029
|
return {
|
|
82751
83030
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82838,12 +83117,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
|
|
|
82838
83117
|
});
|
|
82839
83118
|
|
|
82840
83119
|
// src/mcp-server/tools/vpnSessionsRefreshPassword.ts
|
|
82841
|
-
var
|
|
83120
|
+
var args137, tool$vpnSessionsRefreshPassword;
|
|
82842
83121
|
var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
82843
83122
|
init_vpnSessionsRefreshPassword();
|
|
82844
83123
|
init_operations();
|
|
82845
83124
|
init_tools();
|
|
82846
|
-
|
|
83125
|
+
args137 = {
|
|
82847
83126
|
request: PutVpnSessionRequest$inboundSchema
|
|
82848
83127
|
};
|
|
82849
83128
|
tool$vpnSessionsRefreshPassword = {
|
|
@@ -82852,9 +83131,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
|
82852
83131
|
|
|
82853
83132
|
Refreshing an existing VPN Session will create new credentials for that session
|
|
82854
83133
|
`,
|
|
82855
|
-
args:
|
|
82856
|
-
tool: async (client,
|
|
82857
|
-
const [result, apiCall] = await vpnSessionsRefreshPassword(client,
|
|
83134
|
+
args: args137,
|
|
83135
|
+
tool: async (client, args138, ctx) => {
|
|
83136
|
+
const [result, apiCall] = await vpnSessionsRefreshPassword(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82858
83137
|
if (!result.ok) {
|
|
82859
83138
|
return {
|
|
82860
83139
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82871,7 +83150,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
82871
83150
|
function createMCPServer(deps) {
|
|
82872
83151
|
const server2 = new McpServer({
|
|
82873
83152
|
name: "Latitudesh",
|
|
82874
|
-
version: "0.8.
|
|
83153
|
+
version: "0.8.4"
|
|
82875
83154
|
});
|
|
82876
83155
|
const client = new LatitudeshCore({
|
|
82877
83156
|
bearer: deps.bearer,
|
|
@@ -84388,7 +84667,7 @@ var routes = ln({
|
|
|
84388
84667
|
var app = _e(routes, {
|
|
84389
84668
|
name: "mcp",
|
|
84390
84669
|
versionInfo: {
|
|
84391
|
-
currentVersion: "0.8.
|
|
84670
|
+
currentVersion: "0.8.4"
|
|
84392
84671
|
}
|
|
84393
84672
|
});
|
|
84394
84673
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84396,5 +84675,5 @@ export {
|
|
|
84396
84675
|
app
|
|
84397
84676
|
};
|
|
84398
84677
|
|
|
84399
|
-
//# debugId=
|
|
84678
|
+
//# debugId=2B6B896B5B7E4BD364756E2164756E21
|
|
84400
84679
|
//# sourceMappingURL=mcp-server.js.map
|