latitudesh-typescript-sdk 0.8.1 → 0.8.3
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 +728 -510
- package/bin/mcp-server.js.map +19 -18
- 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/eventdata.d.ts +2 -2
- package/dist/commonjs/models/eventdata.d.ts.map +1 -1
- package/dist/commonjs/models/eventdata.js +2 -2
- package/dist/commonjs/models/eventdata.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/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/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/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/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/virtualmachinepayload.d.ts +21 -0
- package/dist/commonjs/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.js +15 -1
- package/dist/commonjs/models/virtualmachinepayload.js.map +1 -1
- package/dist/commonjs/models/virtualmachineupdatepayload.d.ts +5 -5
- package/dist/commonjs/models/virtualmachineupdatepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineupdatepayload.js +6 -7
- package/dist/commonjs/models/virtualmachineupdatepayload.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/eventdata.d.ts +2 -2
- package/dist/esm/models/eventdata.d.ts.map +1 -1
- package/dist/esm/models/eventdata.js +2 -2
- package/dist/esm/models/eventdata.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/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/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/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/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/virtualmachinepayload.d.ts +21 -0
- package/dist/esm/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachinepayload.js +14 -0
- package/dist/esm/models/virtualmachinepayload.js.map +1 -1
- package/dist/esm/models/virtualmachineupdatepayload.d.ts +5 -5
- package/dist/esm/models/virtualmachineupdatepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineupdatepayload.js +5 -6
- package/dist/esm/models/virtualmachineupdatepayload.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 +3 -3
- 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/eventdata.ts +4 -4
- package/src/models/operations/getstorageplans.ts +72 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updateproject.ts +12 -16
- package/src/models/outofbandconnection.ts +28 -21
- package/src/models/storageplandata.ts +211 -10
- package/src/models/userteam.ts +142 -0
- package/src/models/virtualmachineattributes.ts +98 -17
- package/src/models/virtualmachinepayload.ts +31 -0
- package/src/models/virtualmachineupdatepayload.ts +13 -9
- 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.3",
|
|
53153
|
+
genVersion: "2.918.3",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.3 2.918.3 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -55853,11 +55853,11 @@ var init_eventdata = __esm(() => {
|
|
|
55853
55853
|
name: nullableType(stringType()).optional()
|
|
55854
55854
|
});
|
|
55855
55855
|
Target$inboundSchema = objectType({
|
|
55856
|
-
id: stringType().optional(),
|
|
55856
|
+
id: nullableType(stringType()).optional(),
|
|
55857
55857
|
name: stringType().optional()
|
|
55858
55858
|
});
|
|
55859
55859
|
Target$outboundSchema = objectType({
|
|
55860
|
-
id: stringType().optional(),
|
|
55860
|
+
id: nullableType(stringType()).optional(),
|
|
55861
55861
|
name: stringType().optional()
|
|
55862
55862
|
});
|
|
55863
55863
|
Properties$inboundSchema = objectType({});
|
|
@@ -57422,16 +57422,16 @@ var init_operatingsystems = __esm(() => {
|
|
|
57422
57422
|
});
|
|
57423
57423
|
|
|
57424
57424
|
// src/models/outofbandconnection.ts
|
|
57425
|
-
var
|
|
57425
|
+
var OutOfBandConnectionSshKey$inboundSchema, OutOfBandConnectionSshKey$outboundSchema, OutOfBandConnectionCredentials$inboundSchema, OutOfBandConnectionCredentials$outboundSchema, OutOfBandConnectionAttributes$inboundSchema, OutOfBandConnectionAttributes$outboundSchema, OutOfBandConnectionData$inboundSchema, OutOfBandConnectionData$outboundSchema, OutOfBandConnection$inboundSchema, OutOfBandConnection$outboundSchema;
|
|
57426
57426
|
var init_outofbandconnection = __esm(() => {
|
|
57427
57427
|
init_v3();
|
|
57428
57428
|
init_primitives();
|
|
57429
|
-
|
|
57429
|
+
OutOfBandConnectionSshKey$inboundSchema = objectType({
|
|
57430
57430
|
id: stringType().optional(),
|
|
57431
57431
|
description: stringType().optional(),
|
|
57432
57432
|
fingerprint: stringType().optional()
|
|
57433
57433
|
});
|
|
57434
|
-
|
|
57434
|
+
OutOfBandConnectionSshKey$outboundSchema = objectType({
|
|
57435
57435
|
id: stringType().optional(),
|
|
57436
57436
|
description: stringType().optional(),
|
|
57437
57437
|
fingerprint: stringType().optional()
|
|
@@ -57445,7 +57445,7 @@ var init_outofbandconnection = __esm(() => {
|
|
|
57445
57445
|
password: stringType().optional()
|
|
57446
57446
|
});
|
|
57447
57447
|
OutOfBandConnectionAttributes$inboundSchema = objectType({
|
|
57448
|
-
ssh_key: lazyType(() =>
|
|
57448
|
+
ssh_key: lazyType(() => OutOfBandConnectionSshKey$inboundSchema).optional(),
|
|
57449
57449
|
created_at: stringType().optional(),
|
|
57450
57450
|
username: stringType().optional(),
|
|
57451
57451
|
credentials: lazyType(() => OutOfBandConnectionCredentials$inboundSchema).optional(),
|
|
@@ -57462,7 +57462,7 @@ var init_outofbandconnection = __esm(() => {
|
|
|
57462
57462
|
});
|
|
57463
57463
|
});
|
|
57464
57464
|
OutOfBandConnectionAttributes$outboundSchema = objectType({
|
|
57465
|
-
sshKey: lazyType(() =>
|
|
57465
|
+
sshKey: lazyType(() => OutOfBandConnectionSshKey$outboundSchema).optional(),
|
|
57466
57466
|
createdAt: stringType().optional(),
|
|
57467
57467
|
username: stringType().optional(),
|
|
57468
57468
|
credentials: lazyType(() => OutOfBandConnectionCredentials$outboundSchema).optional(),
|
|
@@ -58591,30 +58591,89 @@ var init_sshkeys = __esm(() => {
|
|
|
58591
58591
|
});
|
|
58592
58592
|
|
|
58593
58593
|
// src/models/storageplandata.ts
|
|
58594
|
-
var StoragePlanDataType, StoragePlanDataType$inboundSchema, StoragePlanDataType$outboundSchema, StoragePlanDataPricing$inboundSchema, StoragePlanDataPricing$outboundSchema, StoragePlanDataAttributes$inboundSchema, StoragePlanDataAttributes$outboundSchema, StoragePlanData$inboundSchema, StoragePlanData$outboundSchema;
|
|
58594
|
+
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
58595
|
var init_storageplandata = __esm(() => {
|
|
58596
58596
|
init_v3();
|
|
58597
|
+
init_primitives();
|
|
58597
58598
|
StoragePlanDataType = {
|
|
58598
58599
|
StoragePlans: "storage_plans"
|
|
58599
58600
|
};
|
|
58601
|
+
StoragePlanStorageType = {
|
|
58602
|
+
Filesystem: "filesystem",
|
|
58603
|
+
Object: "object"
|
|
58604
|
+
};
|
|
58605
|
+
StoragePlanStorageClass = {
|
|
58606
|
+
Standard: "standard",
|
|
58607
|
+
HighPerformance: "high_performance"
|
|
58608
|
+
};
|
|
58600
58609
|
StoragePlanDataType$inboundSchema = nativeEnumType(StoragePlanDataType);
|
|
58601
58610
|
StoragePlanDataType$outboundSchema = StoragePlanDataType$inboundSchema;
|
|
58602
|
-
|
|
58611
|
+
StoragePlanStorageType$inboundSchema = nativeEnumType(StoragePlanStorageType);
|
|
58612
|
+
StoragePlanStorageType$outboundSchema = StoragePlanStorageType$inboundSchema;
|
|
58613
|
+
StoragePlanStorageClass$inboundSchema = nativeEnumType(StoragePlanStorageClass);
|
|
58614
|
+
StoragePlanStorageClass$outboundSchema = StoragePlanStorageClass$inboundSchema;
|
|
58615
|
+
StoragePlanDataUSD$inboundSchema = objectType({
|
|
58603
58616
|
month: numberType().optional()
|
|
58604
58617
|
});
|
|
58605
|
-
|
|
58618
|
+
StoragePlanDataUSD$outboundSchema = objectType({
|
|
58606
58619
|
month: numberType().optional()
|
|
58607
58620
|
});
|
|
58608
|
-
|
|
58621
|
+
StoragePlanDataBRL$inboundSchema = objectType({
|
|
58622
|
+
month: numberType().optional()
|
|
58623
|
+
});
|
|
58624
|
+
StoragePlanDataBRL$outboundSchema = objectType({
|
|
58625
|
+
month: numberType().optional()
|
|
58626
|
+
});
|
|
58627
|
+
StoragePlanDataPricing$inboundSchema = objectType({
|
|
58628
|
+
USD: lazyType(() => StoragePlanDataUSD$inboundSchema).optional(),
|
|
58629
|
+
BRL: lazyType(() => StoragePlanDataBRL$inboundSchema).optional()
|
|
58630
|
+
}).transform((v2) => {
|
|
58631
|
+
return remap(v2, {
|
|
58632
|
+
USD: "usd",
|
|
58633
|
+
BRL: "brl"
|
|
58634
|
+
});
|
|
58635
|
+
});
|
|
58636
|
+
StoragePlanDataPricing$outboundSchema = objectType({
|
|
58637
|
+
usd: lazyType(() => StoragePlanDataUSD$outboundSchema).optional(),
|
|
58638
|
+
brl: lazyType(() => StoragePlanDataBRL$outboundSchema).optional()
|
|
58639
|
+
}).transform((v2) => {
|
|
58640
|
+
return remap(v2, {
|
|
58641
|
+
usd: "USD",
|
|
58642
|
+
brl: "BRL"
|
|
58643
|
+
});
|
|
58644
|
+
});
|
|
58645
|
+
StoragePlanDataRegion$inboundSchema = objectType({
|
|
58609
58646
|
name: stringType().optional(),
|
|
58610
58647
|
locations: arrayType(stringType()).optional(),
|
|
58611
58648
|
pricing: lazyType(() => StoragePlanDataPricing$inboundSchema).optional()
|
|
58612
58649
|
});
|
|
58613
|
-
|
|
58650
|
+
StoragePlanDataRegion$outboundSchema = objectType({
|
|
58614
58651
|
name: stringType().optional(),
|
|
58615
58652
|
locations: arrayType(stringType()).optional(),
|
|
58616
58653
|
pricing: lazyType(() => StoragePlanDataPricing$outboundSchema).optional()
|
|
58617
58654
|
});
|
|
58655
|
+
StoragePlanDataAttributes$inboundSchema = objectType({
|
|
58656
|
+
name: stringType().optional(),
|
|
58657
|
+
storage_type: StoragePlanStorageType$inboundSchema.optional(),
|
|
58658
|
+
storage_class: nullableType(StoragePlanStorageClass$inboundSchema).optional(),
|
|
58659
|
+
regions: arrayType(lazyType(() => StoragePlanDataRegion$inboundSchema)).optional()
|
|
58660
|
+
}).transform((v2) => {
|
|
58661
|
+
return remap(v2, {
|
|
58662
|
+
storage_type: "storagePlanStorageType",
|
|
58663
|
+
storage_class: "storagePlanStorageClass"
|
|
58664
|
+
});
|
|
58665
|
+
});
|
|
58666
|
+
StoragePlanDataAttributes$outboundSchema = objectType({
|
|
58667
|
+
name: stringType().optional(),
|
|
58668
|
+
storagePlanStorageType: StoragePlanStorageType$outboundSchema.optional(),
|
|
58669
|
+
storagePlanStorageClass: nullableType(StoragePlanStorageClass$outboundSchema).optional(),
|
|
58670
|
+
regions: arrayType(lazyType(() => StoragePlanDataRegion$outboundSchema)).optional()
|
|
58671
|
+
}).transform((v2) => {
|
|
58672
|
+
return remap(v2, {
|
|
58673
|
+
storagePlanStorageType: "storage_type",
|
|
58674
|
+
storagePlanStorageClass: "storage_class"
|
|
58675
|
+
});
|
|
58676
|
+
});
|
|
58618
58677
|
StoragePlanData$inboundSchema = objectType({
|
|
58619
58678
|
id: stringType().optional(),
|
|
58620
58679
|
type: StoragePlanDataType$inboundSchema.optional(),
|
|
@@ -59385,11 +59444,17 @@ var init_userdataobject = __esm(() => {
|
|
|
59385
59444
|
});
|
|
59386
59445
|
|
|
59387
59446
|
// src/models/userteam.ts
|
|
59388
|
-
var UserTeamBilling$inboundSchema, UserTeamBilling$outboundSchema, UserTeamAttributes$inboundSchema, UserTeamAttributes$outboundSchema, UserTeam$inboundSchema, UserTeam$outboundSchema;
|
|
59447
|
+
var UserTeamType, UserTeamType$inboundSchema, UserTeamType$outboundSchema, UserTeamBilling$inboundSchema, UserTeamBilling$outboundSchema, UserTeamLimits$inboundSchema, UserTeamLimits$outboundSchema, UserTeamAttributes$inboundSchema, UserTeamAttributes$outboundSchema, UserTeam$inboundSchema, UserTeam$outboundSchema;
|
|
59389
59448
|
var init_userteam = __esm(() => {
|
|
59390
59449
|
init_v3();
|
|
59391
59450
|
init_primitives();
|
|
59451
|
+
init_projectinclude();
|
|
59392
59452
|
init_userinclude();
|
|
59453
|
+
UserTeamType = {
|
|
59454
|
+
Teams: "teams"
|
|
59455
|
+
};
|
|
59456
|
+
UserTeamType$inboundSchema = nativeEnumType(UserTeamType);
|
|
59457
|
+
UserTeamType$outboundSchema = UserTeamType$inboundSchema;
|
|
59393
59458
|
UserTeamBilling$inboundSchema = objectType({
|
|
59394
59459
|
id: stringType().optional(),
|
|
59395
59460
|
customer_billing_id: stringType().optional()
|
|
@@ -59406,6 +59471,48 @@ var init_userteam = __esm(() => {
|
|
|
59406
59471
|
customerBillingId: "customer_billing_id"
|
|
59407
59472
|
});
|
|
59408
59473
|
});
|
|
59474
|
+
UserTeamLimits$inboundSchema = objectType({
|
|
59475
|
+
bare_metal: nullableType(numberType().int()).optional(),
|
|
59476
|
+
bare_metal_gpu: nullableType(numberType().int()).optional(),
|
|
59477
|
+
virtual_machine: nullableType(numberType().int()).optional(),
|
|
59478
|
+
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
59479
|
+
elastic_ip: nullableType(numberType().int()).optional(),
|
|
59480
|
+
virtual_network: nullableType(numberType().int()).optional(),
|
|
59481
|
+
database: nullableType(numberType().int()).optional(),
|
|
59482
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
59483
|
+
block_storage: nullableType(numberType().int()).optional()
|
|
59484
|
+
}).transform((v2) => {
|
|
59485
|
+
return remap(v2, {
|
|
59486
|
+
bare_metal: "bareMetal",
|
|
59487
|
+
bare_metal_gpu: "bareMetalGpu",
|
|
59488
|
+
virtual_machine: "virtualMachine",
|
|
59489
|
+
virtual_machine_gpu: "virtualMachineGpu",
|
|
59490
|
+
elastic_ip: "elasticIp",
|
|
59491
|
+
virtual_network: "virtualNetwork",
|
|
59492
|
+
block_storage: "blockStorage"
|
|
59493
|
+
});
|
|
59494
|
+
});
|
|
59495
|
+
UserTeamLimits$outboundSchema = objectType({
|
|
59496
|
+
bareMetal: nullableType(numberType().int()).optional(),
|
|
59497
|
+
bareMetalGpu: nullableType(numberType().int()).optional(),
|
|
59498
|
+
virtualMachine: nullableType(numberType().int()).optional(),
|
|
59499
|
+
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
59500
|
+
elasticIp: nullableType(numberType().int()).optional(),
|
|
59501
|
+
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
59502
|
+
database: nullableType(numberType().int()).optional(),
|
|
59503
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
59504
|
+
blockStorage: nullableType(numberType().int()).optional()
|
|
59505
|
+
}).transform((v2) => {
|
|
59506
|
+
return remap(v2, {
|
|
59507
|
+
bareMetal: "bare_metal",
|
|
59508
|
+
bareMetalGpu: "bare_metal_gpu",
|
|
59509
|
+
virtualMachine: "virtual_machine",
|
|
59510
|
+
virtualMachineGpu: "virtual_machine_gpu",
|
|
59511
|
+
elasticIp: "elastic_ip",
|
|
59512
|
+
virtualNetwork: "virtual_network",
|
|
59513
|
+
blockStorage: "block_storage"
|
|
59514
|
+
});
|
|
59515
|
+
});
|
|
59409
59516
|
UserTeamAttributes$inboundSchema = objectType({
|
|
59410
59517
|
name: stringType().optional(),
|
|
59411
59518
|
slug: stringType().optional(),
|
|
@@ -59414,12 +59521,20 @@ var init_userteam = __esm(() => {
|
|
|
59414
59521
|
currency: stringType().optional(),
|
|
59415
59522
|
created_at: stringType().optional(),
|
|
59416
59523
|
updated_at: stringType().optional(),
|
|
59524
|
+
status: nullableType(stringType()).optional(),
|
|
59525
|
+
enforce_mfa: booleanType().optional(),
|
|
59526
|
+
users: arrayType(UserInclude$inboundSchema).optional(),
|
|
59527
|
+
projects: arrayType(ProjectInclude$inboundSchema).optional(),
|
|
59417
59528
|
owner: UserInclude$inboundSchema.optional(),
|
|
59418
|
-
billing: lazyType(() => UserTeamBilling$inboundSchema).optional()
|
|
59529
|
+
billing: lazyType(() => UserTeamBilling$inboundSchema).optional(),
|
|
59530
|
+
feature_flags: arrayType(stringType()).optional(),
|
|
59531
|
+
limits: lazyType(() => UserTeamLimits$inboundSchema).optional()
|
|
59419
59532
|
}).transform((v2) => {
|
|
59420
59533
|
return remap(v2, {
|
|
59421
59534
|
created_at: "createdAt",
|
|
59422
|
-
updated_at: "updatedAt"
|
|
59535
|
+
updated_at: "updatedAt",
|
|
59536
|
+
enforce_mfa: "enforceMfa",
|
|
59537
|
+
feature_flags: "featureFlags"
|
|
59423
59538
|
});
|
|
59424
59539
|
});
|
|
59425
59540
|
UserTeamAttributes$outboundSchema = objectType({
|
|
@@ -59430,20 +59545,30 @@ var init_userteam = __esm(() => {
|
|
|
59430
59545
|
currency: stringType().optional(),
|
|
59431
59546
|
createdAt: stringType().optional(),
|
|
59432
59547
|
updatedAt: stringType().optional(),
|
|
59548
|
+
status: nullableType(stringType()).optional(),
|
|
59549
|
+
enforceMfa: booleanType().optional(),
|
|
59550
|
+
users: arrayType(UserInclude$outboundSchema).optional(),
|
|
59551
|
+
projects: arrayType(ProjectInclude$outboundSchema).optional(),
|
|
59433
59552
|
owner: UserInclude$outboundSchema.optional(),
|
|
59434
|
-
billing: lazyType(() => UserTeamBilling$outboundSchema).optional()
|
|
59553
|
+
billing: lazyType(() => UserTeamBilling$outboundSchema).optional(),
|
|
59554
|
+
featureFlags: arrayType(stringType()).optional(),
|
|
59555
|
+
limits: lazyType(() => UserTeamLimits$outboundSchema).optional()
|
|
59435
59556
|
}).transform((v2) => {
|
|
59436
59557
|
return remap(v2, {
|
|
59437
59558
|
createdAt: "created_at",
|
|
59438
|
-
updatedAt: "updated_at"
|
|
59559
|
+
updatedAt: "updated_at",
|
|
59560
|
+
enforceMfa: "enforce_mfa",
|
|
59561
|
+
featureFlags: "feature_flags"
|
|
59439
59562
|
});
|
|
59440
59563
|
});
|
|
59441
59564
|
UserTeam$inboundSchema = objectType({
|
|
59442
59565
|
id: stringType().optional(),
|
|
59566
|
+
type: UserTeamType$inboundSchema.optional(),
|
|
59443
59567
|
attributes: lazyType(() => UserTeamAttributes$inboundSchema).optional()
|
|
59444
59568
|
});
|
|
59445
59569
|
UserTeam$outboundSchema = objectType({
|
|
59446
59570
|
id: stringType().optional(),
|
|
59571
|
+
type: UserTeamType$outboundSchema.optional(),
|
|
59447
59572
|
attributes: lazyType(() => UserTeamAttributes$outboundSchema).optional()
|
|
59448
59573
|
});
|
|
59449
59574
|
});
|
|
@@ -59507,7 +59632,7 @@ var init_userupdate = __esm(() => {
|
|
|
59507
59632
|
});
|
|
59508
59633
|
|
|
59509
59634
|
// 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;
|
|
59635
|
+
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
59636
|
var init_virtualmachineattributes = __esm(() => {
|
|
59512
59637
|
init_v3();
|
|
59513
59638
|
init_primitives();
|
|
@@ -59566,21 +59691,49 @@ var init_virtualmachineattributes = __esm(() => {
|
|
|
59566
59691
|
features: lazyType(() => VirtualMachineAttributesFeatures$outboundSchema).optional(),
|
|
59567
59692
|
distro: lazyType(() => VirtualMachineAttributesDistro$outboundSchema).optional()
|
|
59568
59693
|
});
|
|
59694
|
+
VirtualMachineAttributesSshKey$inboundSchema = objectType({
|
|
59695
|
+
id: stringType().optional(),
|
|
59696
|
+
name: stringType().optional(),
|
|
59697
|
+
fingerprint: stringType().optional(),
|
|
59698
|
+
public_key: stringType().optional(),
|
|
59699
|
+
created_at: stringType().optional(),
|
|
59700
|
+
updated_at: stringType().optional()
|
|
59701
|
+
}).transform((v2) => {
|
|
59702
|
+
return remap(v2, {
|
|
59703
|
+
public_key: "publicKey",
|
|
59704
|
+
created_at: "createdAt",
|
|
59705
|
+
updated_at: "updatedAt"
|
|
59706
|
+
});
|
|
59707
|
+
});
|
|
59708
|
+
VirtualMachineAttributesSshKey$outboundSchema = objectType({
|
|
59709
|
+
id: stringType().optional(),
|
|
59710
|
+
name: stringType().optional(),
|
|
59711
|
+
fingerprint: stringType().optional(),
|
|
59712
|
+
publicKey: stringType().optional(),
|
|
59713
|
+
createdAt: stringType().optional(),
|
|
59714
|
+
updatedAt: stringType().optional()
|
|
59715
|
+
}).transform((v2) => {
|
|
59716
|
+
return remap(v2, {
|
|
59717
|
+
publicKey: "public_key",
|
|
59718
|
+
createdAt: "created_at",
|
|
59719
|
+
updatedAt: "updated_at"
|
|
59720
|
+
});
|
|
59721
|
+
});
|
|
59569
59722
|
VirtualMachineAttributesCredentials$inboundSchema = objectType({
|
|
59570
|
-
username: stringType().optional(),
|
|
59571
|
-
host: stringType().optional(),
|
|
59572
|
-
password: stringType().optional(),
|
|
59573
|
-
ssh_keys: arrayType(
|
|
59723
|
+
username: nullableType(stringType()).optional(),
|
|
59724
|
+
host: nullableType(stringType()).optional(),
|
|
59725
|
+
password: nullableType(stringType()).optional(),
|
|
59726
|
+
ssh_keys: nullableType(arrayType(lazyType(() => VirtualMachineAttributesSshKey$inboundSchema))).optional()
|
|
59574
59727
|
}).transform((v2) => {
|
|
59575
59728
|
return remap(v2, {
|
|
59576
59729
|
ssh_keys: "sshKeys"
|
|
59577
59730
|
});
|
|
59578
59731
|
});
|
|
59579
59732
|
VirtualMachineAttributesCredentials$outboundSchema = objectType({
|
|
59580
|
-
username: stringType().optional(),
|
|
59581
|
-
host: stringType().optional(),
|
|
59582
|
-
password: stringType().optional(),
|
|
59583
|
-
sshKeys: arrayType(
|
|
59733
|
+
username: nullableType(stringType()).optional(),
|
|
59734
|
+
host: nullableType(stringType()).optional(),
|
|
59735
|
+
password: nullableType(stringType()).optional(),
|
|
59736
|
+
sshKeys: nullableType(arrayType(lazyType(() => VirtualMachineAttributesSshKey$outboundSchema))).optional()
|
|
59584
59737
|
}).transform((v2) => {
|
|
59585
59738
|
return remap(v2, {
|
|
59586
59739
|
sshKeys: "ssh_keys"
|
|
@@ -59995,19 +60148,27 @@ var init_virtualmachinenetworkattachments = __esm(() => {
|
|
|
59995
60148
|
});
|
|
59996
60149
|
|
|
59997
60150
|
// src/models/virtualmachinepayload.ts
|
|
59998
|
-
var VirtualMachinePayloadType, VirtualMachinePayloadType$inboundSchema, VirtualMachinePayloadType$outboundSchema, UserDataUnion$inboundSchema, UserDataUnion$outboundSchema, VirtualMachinePayloadAttributes$inboundSchema, VirtualMachinePayloadAttributes$outboundSchema, VirtualMachinePayloadData$inboundSchema, VirtualMachinePayloadData$outboundSchema, VirtualMachinePayload$inboundSchema, VirtualMachinePayload$outboundSchema;
|
|
60151
|
+
var VirtualMachinePayloadType, VirtualMachinePayloadBilling, VirtualMachinePayloadType$inboundSchema, VirtualMachinePayloadType$outboundSchema, VirtualMachinePayloadBilling$inboundSchema, VirtualMachinePayloadBilling$outboundSchema, UserDataUnion$inboundSchema, UserDataUnion$outboundSchema, VirtualMachinePayloadAttributes$inboundSchema, VirtualMachinePayloadAttributes$outboundSchema, VirtualMachinePayloadData$inboundSchema, VirtualMachinePayloadData$outboundSchema, VirtualMachinePayload$inboundSchema, VirtualMachinePayload$outboundSchema;
|
|
59999
60152
|
var init_virtualmachinepayload = __esm(() => {
|
|
60000
60153
|
init_v3();
|
|
60001
60154
|
init_primitives();
|
|
60002
60155
|
VirtualMachinePayloadType = {
|
|
60003
60156
|
VirtualMachines: "virtual_machines"
|
|
60004
60157
|
};
|
|
60158
|
+
VirtualMachinePayloadBilling = {
|
|
60159
|
+
Hourly: "hourly",
|
|
60160
|
+
Monthly: "monthly",
|
|
60161
|
+
Yearly: "yearly"
|
|
60162
|
+
};
|
|
60005
60163
|
VirtualMachinePayloadType$inboundSchema = nativeEnumType(VirtualMachinePayloadType);
|
|
60006
60164
|
VirtualMachinePayloadType$outboundSchema = VirtualMachinePayloadType$inboundSchema;
|
|
60165
|
+
VirtualMachinePayloadBilling$inboundSchema = nativeEnumType(VirtualMachinePayloadBilling);
|
|
60166
|
+
VirtualMachinePayloadBilling$outboundSchema = VirtualMachinePayloadBilling$inboundSchema;
|
|
60007
60167
|
UserDataUnion$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
60008
60168
|
UserDataUnion$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
60009
60169
|
VirtualMachinePayloadAttributes$inboundSchema = objectType({
|
|
60010
60170
|
name: stringType().default("my-vm"),
|
|
60171
|
+
billing: VirtualMachinePayloadBilling$inboundSchema.optional(),
|
|
60011
60172
|
plan: nullableType(stringType()).optional(),
|
|
60012
60173
|
ssh_keys: nullableType(arrayType(stringType())).optional(),
|
|
60013
60174
|
project: stringType().default("my-project"),
|
|
@@ -60024,6 +60185,7 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
60024
60185
|
});
|
|
60025
60186
|
VirtualMachinePayloadAttributes$outboundSchema = objectType({
|
|
60026
60187
|
name: stringType().default("my-vm"),
|
|
60188
|
+
billing: VirtualMachinePayloadBilling$outboundSchema.optional(),
|
|
60027
60189
|
plan: nullableType(stringType()).optional(),
|
|
60028
60190
|
sshKeys: nullableType(arrayType(stringType())).optional(),
|
|
60029
60191
|
project: stringType().default("my-project"),
|
|
@@ -60420,31 +60582,31 @@ var init_virtualmachines = __esm(() => {
|
|
|
60420
60582
|
});
|
|
60421
60583
|
|
|
60422
60584
|
// src/models/virtualmachineupdatepayload.ts
|
|
60423
|
-
var VirtualMachineUpdatePayloadType,
|
|
60585
|
+
var VirtualMachineUpdatePayloadType, VirtualMachineUpdatePayloadBilling, VirtualMachineUpdatePayloadType$inboundSchema, VirtualMachineUpdatePayloadType$outboundSchema, VirtualMachineUpdatePayloadBilling$inboundSchema, VirtualMachineUpdatePayloadBilling$outboundSchema, VirtualMachineUpdatePayloadAttributes$inboundSchema, VirtualMachineUpdatePayloadAttributes$outboundSchema, VirtualMachineUpdatePayloadData$inboundSchema, VirtualMachineUpdatePayloadData$outboundSchema, VirtualMachineUpdatePayload$inboundSchema, VirtualMachineUpdatePayload$outboundSchema;
|
|
60424
60586
|
var init_virtualmachineupdatepayload = __esm(() => {
|
|
60425
60587
|
init_v3();
|
|
60426
60588
|
VirtualMachineUpdatePayloadType = {
|
|
60427
60589
|
VirtualMachines: "virtual_machines"
|
|
60428
60590
|
};
|
|
60429
|
-
|
|
60591
|
+
VirtualMachineUpdatePayloadBilling = {
|
|
60430
60592
|
Hourly: "hourly",
|
|
60431
60593
|
Monthly: "monthly",
|
|
60432
60594
|
Yearly: "yearly"
|
|
60433
60595
|
};
|
|
60434
60596
|
VirtualMachineUpdatePayloadType$inboundSchema = nativeEnumType(VirtualMachineUpdatePayloadType);
|
|
60435
60597
|
VirtualMachineUpdatePayloadType$outboundSchema = VirtualMachineUpdatePayloadType$inboundSchema;
|
|
60436
|
-
|
|
60437
|
-
|
|
60598
|
+
VirtualMachineUpdatePayloadBilling$inboundSchema = nativeEnumType(VirtualMachineUpdatePayloadBilling);
|
|
60599
|
+
VirtualMachineUpdatePayloadBilling$outboundSchema = VirtualMachineUpdatePayloadBilling$inboundSchema;
|
|
60438
60600
|
VirtualMachineUpdatePayloadAttributes$inboundSchema = objectType({
|
|
60439
60601
|
name: stringType().optional(),
|
|
60440
60602
|
tags: nullableType(arrayType(stringType())).optional(),
|
|
60441
|
-
billing:
|
|
60603
|
+
billing: VirtualMachineUpdatePayloadBilling$inboundSchema.optional(),
|
|
60442
60604
|
plan: stringType().optional()
|
|
60443
60605
|
});
|
|
60444
60606
|
VirtualMachineUpdatePayloadAttributes$outboundSchema = objectType({
|
|
60445
60607
|
name: stringType().optional(),
|
|
60446
60608
|
tags: nullableType(arrayType(stringType())).optional(),
|
|
60447
|
-
billing:
|
|
60609
|
+
billing: VirtualMachineUpdatePayloadBilling$outboundSchema.optional(),
|
|
60448
60610
|
plan: stringType().optional()
|
|
60449
60611
|
});
|
|
60450
60612
|
VirtualMachineUpdatePayloadData$inboundSchema = objectType({
|
|
@@ -60701,6 +60863,9 @@ var init_volumedata = __esm(() => {
|
|
|
60701
60863
|
namespace_id: nullableType(stringType()).optional(),
|
|
60702
60864
|
connector_id: nullableType(stringType()).optional(),
|
|
60703
60865
|
initiators: nullableType(arrayType(lazyType(() => Initiator$inboundSchema))).optional(),
|
|
60866
|
+
keyring: nullableType(stringType()).optional(),
|
|
60867
|
+
cluster_user: nullableType(stringType()).optional(),
|
|
60868
|
+
volume_path: nullableType(stringType()).optional(),
|
|
60704
60869
|
project: ProjectInclude$inboundSchema.optional(),
|
|
60705
60870
|
team: TeamInclude$inboundSchema.optional()
|
|
60706
60871
|
}).transform((v2) => {
|
|
@@ -60708,7 +60873,9 @@ var init_volumedata = __esm(() => {
|
|
|
60708
60873
|
size_in_gb: "sizeInGb",
|
|
60709
60874
|
created_at: "createdAt",
|
|
60710
60875
|
namespace_id: "namespaceId",
|
|
60711
|
-
connector_id: "connectorId"
|
|
60876
|
+
connector_id: "connectorId",
|
|
60877
|
+
cluster_user: "clusterUser",
|
|
60878
|
+
volume_path: "volumePath"
|
|
60712
60879
|
});
|
|
60713
60880
|
});
|
|
60714
60881
|
VolumeDataAttributes$outboundSchema = objectType({
|
|
@@ -60718,6 +60885,9 @@ var init_volumedata = __esm(() => {
|
|
|
60718
60885
|
namespaceId: nullableType(stringType()).optional(),
|
|
60719
60886
|
connectorId: nullableType(stringType()).optional(),
|
|
60720
60887
|
initiators: nullableType(arrayType(lazyType(() => Initiator$outboundSchema))).optional(),
|
|
60888
|
+
keyring: nullableType(stringType()).optional(),
|
|
60889
|
+
clusterUser: nullableType(stringType()).optional(),
|
|
60890
|
+
volumePath: nullableType(stringType()).optional(),
|
|
60721
60891
|
project: ProjectInclude$outboundSchema.optional(),
|
|
60722
60892
|
team: TeamInclude$outboundSchema.optional()
|
|
60723
60893
|
}).transform((v2) => {
|
|
@@ -60725,7 +60895,9 @@ var init_volumedata = __esm(() => {
|
|
|
60725
60895
|
sizeInGb: "size_in_gb",
|
|
60726
60896
|
createdAt: "created_at",
|
|
60727
60897
|
namespaceId: "namespace_id",
|
|
60728
|
-
connectorId: "connector_id"
|
|
60898
|
+
connectorId: "connector_id",
|
|
60899
|
+
clusterUser: "cluster_user",
|
|
60900
|
+
volumePath: "volume_path"
|
|
60729
60901
|
});
|
|
60730
60902
|
});
|
|
60731
60903
|
VolumeData$inboundSchema = objectType({
|
|
@@ -63573,6 +63745,31 @@ var init_getstoragefilesystems = __esm(() => {
|
|
|
63573
63745
|
});
|
|
63574
63746
|
});
|
|
63575
63747
|
|
|
63748
|
+
// src/models/operations/getstorageplans.ts
|
|
63749
|
+
var GetStoragePlansRequest$inboundSchema, GetStoragePlansRequest$outboundSchema;
|
|
63750
|
+
var init_getstorageplans = __esm(() => {
|
|
63751
|
+
init_v3();
|
|
63752
|
+
init_primitives();
|
|
63753
|
+
GetStoragePlansRequest$inboundSchema = objectType({
|
|
63754
|
+
"filter[storage_type]": stringType().optional(),
|
|
63755
|
+
"filter[storage_class]": stringType().optional()
|
|
63756
|
+
}).transform((v2) => {
|
|
63757
|
+
return remap(v2, {
|
|
63758
|
+
"filter[storage_type]": "filterStorageType",
|
|
63759
|
+
"filter[storage_class]": "filterStorageClass"
|
|
63760
|
+
});
|
|
63761
|
+
});
|
|
63762
|
+
GetStoragePlansRequest$outboundSchema = objectType({
|
|
63763
|
+
filterStorageType: stringType().optional(),
|
|
63764
|
+
filterStorageClass: stringType().optional()
|
|
63765
|
+
}).transform((v2) => {
|
|
63766
|
+
return remap(v2, {
|
|
63767
|
+
filterStorageType: "filter[storage_type]",
|
|
63768
|
+
filterStorageClass: "filter[storage_class]"
|
|
63769
|
+
});
|
|
63770
|
+
});
|
|
63771
|
+
});
|
|
63772
|
+
|
|
63576
63773
|
// src/models/operations/getstoragevolume.ts
|
|
63577
63774
|
var GetStorageVolumeRequest$inboundSchema, GetStorageVolumeRequest$outboundSchema, GetStorageVolumeResponse$inboundSchema, GetStorageVolumeResponse$outboundSchema;
|
|
63578
63775
|
var init_getstoragevolume = __esm(() => {
|
|
@@ -65874,10 +66071,10 @@ var init_updateproject = __esm(() => {
|
|
|
65874
66071
|
UpdateProjectEnvironment2$inboundSchema = nativeEnumType(UpdateProjectEnvironment2);
|
|
65875
66072
|
UpdateProjectEnvironment2$outboundSchema = UpdateProjectEnvironment2$inboundSchema;
|
|
65876
66073
|
UpdateProjectAttributes2$inboundSchema = objectType({
|
|
65877
|
-
name: stringType().
|
|
65878
|
-
description: stringType().
|
|
66074
|
+
name: stringType().optional(),
|
|
66075
|
+
description: stringType().optional(),
|
|
65879
66076
|
environment: UpdateProjectEnvironment2$inboundSchema.optional(),
|
|
65880
|
-
bandwidth_alert: booleanType().
|
|
66077
|
+
bandwidth_alert: booleanType().optional(),
|
|
65881
66078
|
tags: arrayType(stringType()).optional()
|
|
65882
66079
|
}).transform((v2) => {
|
|
65883
66080
|
return remap(v2, {
|
|
@@ -65885,10 +66082,10 @@ var init_updateproject = __esm(() => {
|
|
|
65885
66082
|
});
|
|
65886
66083
|
});
|
|
65887
66084
|
UpdateProjectAttributes2$outboundSchema = objectType({
|
|
65888
|
-
name: stringType().
|
|
65889
|
-
description: stringType().
|
|
66085
|
+
name: stringType().optional(),
|
|
66086
|
+
description: stringType().optional(),
|
|
65890
66087
|
environment: UpdateProjectEnvironment2$outboundSchema.optional(),
|
|
65891
|
-
bandwidthAlert: booleanType().
|
|
66088
|
+
bandwidthAlert: booleanType().optional(),
|
|
65892
66089
|
tags: arrayType(stringType()).optional()
|
|
65893
66090
|
}).transform((v2) => {
|
|
65894
66091
|
return remap(v2, {
|
|
@@ -65896,12 +66093,12 @@ var init_updateproject = __esm(() => {
|
|
|
65896
66093
|
});
|
|
65897
66094
|
});
|
|
65898
66095
|
UpdateProjectData2$inboundSchema = objectType({
|
|
65899
|
-
id: stringType()
|
|
66096
|
+
id: stringType(),
|
|
65900
66097
|
type: UpdateProjectType2$inboundSchema,
|
|
65901
66098
|
attributes: lazyType(() => UpdateProjectAttributes2$inboundSchema).optional()
|
|
65902
66099
|
});
|
|
65903
66100
|
UpdateProjectData2$outboundSchema = objectType({
|
|
65904
|
-
id: stringType()
|
|
66101
|
+
id: stringType(),
|
|
65905
66102
|
type: UpdateProjectType2$outboundSchema,
|
|
65906
66103
|
attributes: lazyType(() => UpdateProjectAttributes2$outboundSchema).optional()
|
|
65907
66104
|
});
|
|
@@ -66371,6 +66568,7 @@ var init_operations = __esm(() => {
|
|
|
66371
66568
|
init_getstoragebucket();
|
|
66372
66569
|
init_getstoragebuckets();
|
|
66373
66570
|
init_getstoragefilesystems();
|
|
66571
|
+
init_getstorageplans();
|
|
66374
66572
|
init_getstoragevolume();
|
|
66375
66573
|
init_getstoragevolumes();
|
|
66376
66574
|
init_getteammembers();
|
|
@@ -72055,11 +72253,21 @@ Lists all plans. Availability by region is included in \`attributes.regions.loca
|
|
|
72055
72253
|
});
|
|
72056
72254
|
|
|
72057
72255
|
// src/funcs/plansListStorage.ts
|
|
72058
|
-
function plansListStorage(client, options) {
|
|
72059
|
-
return new APIPromise($do49(client, options));
|
|
72256
|
+
function plansListStorage(client, request, options) {
|
|
72257
|
+
return new APIPromise($do49(client, request, options));
|
|
72060
72258
|
}
|
|
72061
|
-
async function $do49(client, options) {
|
|
72259
|
+
async function $do49(client, request, options) {
|
|
72260
|
+
const parsed = safeParse4(request, (value) => GetStoragePlansRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72261
|
+
if (!parsed.ok) {
|
|
72262
|
+
return [parsed, { status: "invalid" }];
|
|
72263
|
+
}
|
|
72264
|
+
const payload = parsed.value;
|
|
72265
|
+
const body = null;
|
|
72062
72266
|
const path = pathToFunc("/plans/storage")();
|
|
72267
|
+
const query = encodeFormQuery({
|
|
72268
|
+
"filter[storage_class]": payload?.["filter[storage_class]"],
|
|
72269
|
+
"filter[storage_type]": payload?.["filter[storage_type]"]
|
|
72270
|
+
});
|
|
72063
72271
|
const headers = new Headers(compactMap({
|
|
72064
72272
|
Accept: "application/vnd.api+json"
|
|
72065
72273
|
}));
|
|
@@ -72082,6 +72290,8 @@ async function $do49(client, options) {
|
|
|
72082
72290
|
baseURL: options?.serverURL,
|
|
72083
72291
|
path,
|
|
72084
72292
|
headers,
|
|
72293
|
+
query,
|
|
72294
|
+
body,
|
|
72085
72295
|
userAgent: client._options.userAgent,
|
|
72086
72296
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72087
72297
|
}, options);
|
|
@@ -72108,25 +72318,33 @@ async function $do49(client, options) {
|
|
|
72108
72318
|
return [result, { status: "complete", request: req, response }];
|
|
72109
72319
|
}
|
|
72110
72320
|
var init_plansListStorage = __esm(() => {
|
|
72321
|
+
init_encodings();
|
|
72111
72322
|
init_http();
|
|
72112
72323
|
init_matchers();
|
|
72113
72324
|
init_primitives();
|
|
72325
|
+
init_schemas4();
|
|
72114
72326
|
init_security();
|
|
72115
72327
|
init_url();
|
|
72116
72328
|
init_models();
|
|
72329
|
+
init_operations();
|
|
72117
72330
|
init_async();
|
|
72118
72331
|
});
|
|
72119
72332
|
|
|
72120
72333
|
// src/mcp-server/tools/plansListStorage.ts
|
|
72121
|
-
var tool$plansListStorage;
|
|
72334
|
+
var args46, tool$plansListStorage;
|
|
72122
72335
|
var init_plansListStorage2 = __esm(() => {
|
|
72123
72336
|
init_plansListStorage();
|
|
72337
|
+
init_operations();
|
|
72124
72338
|
init_tools();
|
|
72339
|
+
args46 = {
|
|
72340
|
+
request: GetStoragePlansRequest$inboundSchema.optional()
|
|
72341
|
+
};
|
|
72125
72342
|
tool$plansListStorage = {
|
|
72126
72343
|
name: "plans-list-storage",
|
|
72127
72344
|
description: `List storage plans`,
|
|
72128
|
-
|
|
72129
|
-
|
|
72345
|
+
args: args46,
|
|
72346
|
+
tool: async (client, args47, ctx) => {
|
|
72347
|
+
const [result, apiCall] = await plansListStorage(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72130
72348
|
if (!result.ok) {
|
|
72131
72349
|
return {
|
|
72132
72350
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72214,12 +72432,12 @@ var init_plansUpdateBandwidth = __esm(() => {
|
|
|
72214
72432
|
});
|
|
72215
72433
|
|
|
72216
72434
|
// src/mcp-server/tools/plansUpdateBandwidth.ts
|
|
72217
|
-
var
|
|
72435
|
+
var args47, tool$plansUpdateBandwidth;
|
|
72218
72436
|
var init_plansUpdateBandwidth2 = __esm(() => {
|
|
72219
72437
|
init_plansUpdateBandwidth();
|
|
72220
72438
|
init_operations();
|
|
72221
72439
|
init_tools();
|
|
72222
|
-
|
|
72440
|
+
args47 = {
|
|
72223
72441
|
request: UpdatePlansBandwidthRequest$inboundSchema
|
|
72224
72442
|
};
|
|
72225
72443
|
tool$plansUpdateBandwidth = {
|
|
@@ -72228,9 +72446,9 @@ var init_plansUpdateBandwidth2 = __esm(() => {
|
|
|
72228
72446
|
|
|
72229
72447
|
Allows to increase or decrease bandwidth packages. Only admins and owners can request.
|
|
72230
72448
|
`,
|
|
72231
|
-
args:
|
|
72232
|
-
tool: async (client,
|
|
72233
|
-
const [result, apiCall] = await plansUpdateBandwidth(client,
|
|
72449
|
+
args: args47,
|
|
72450
|
+
tool: async (client, args48, ctx) => {
|
|
72451
|
+
const [result, apiCall] = await plansUpdateBandwidth(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72234
72452
|
if (!result.ok) {
|
|
72235
72453
|
return {
|
|
72236
72454
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72321,20 +72539,20 @@ var init_plansVmList = __esm(() => {
|
|
|
72321
72539
|
});
|
|
72322
72540
|
|
|
72323
72541
|
// src/mcp-server/tools/plansVmList.ts
|
|
72324
|
-
var
|
|
72542
|
+
var args48, tool$plansVmList;
|
|
72325
72543
|
var init_plansVmList2 = __esm(() => {
|
|
72326
72544
|
init_plansVmList();
|
|
72327
72545
|
init_operations();
|
|
72328
72546
|
init_tools();
|
|
72329
|
-
|
|
72547
|
+
args48 = {
|
|
72330
72548
|
request: GetVmPlansRequest$inboundSchema.optional()
|
|
72331
72549
|
};
|
|
72332
72550
|
tool$plansVmList = {
|
|
72333
72551
|
name: "plans-vm-list",
|
|
72334
72552
|
description: `List VM plans`,
|
|
72335
|
-
args:
|
|
72336
|
-
tool: async (client,
|
|
72337
|
-
const [result, apiCall] = await plansVmList(client,
|
|
72553
|
+
args: args48,
|
|
72554
|
+
tool: async (client, args49, ctx) => {
|
|
72555
|
+
const [result, apiCall] = await plansVmList(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72338
72556
|
if (!result.ok) {
|
|
72339
72557
|
return {
|
|
72340
72558
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72422,20 +72640,20 @@ var init_privateNetworksAssign = __esm(() => {
|
|
|
72422
72640
|
});
|
|
72423
72641
|
|
|
72424
72642
|
// src/mcp-server/tools/privateNetworksAssign.ts
|
|
72425
|
-
var
|
|
72643
|
+
var args49, tool$privateNetworksAssign;
|
|
72426
72644
|
var init_privateNetworksAssign2 = __esm(() => {
|
|
72427
72645
|
init_privateNetworksAssign();
|
|
72428
72646
|
init_operations();
|
|
72429
72647
|
init_tools();
|
|
72430
|
-
|
|
72648
|
+
args49 = {
|
|
72431
72649
|
request: AssignServerVirtualNetworkRequest$inboundSchema
|
|
72432
72650
|
};
|
|
72433
72651
|
tool$privateNetworksAssign = {
|
|
72434
72652
|
name: "private-networks-assign",
|
|
72435
72653
|
description: `Assign VLAN`,
|
|
72436
|
-
args:
|
|
72437
|
-
tool: async (client,
|
|
72438
|
-
const [result, apiCall] = await privateNetworksAssign(client,
|
|
72654
|
+
args: args49,
|
|
72655
|
+
tool: async (client, args50, ctx) => {
|
|
72656
|
+
const [result, apiCall] = await privateNetworksAssign(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72439
72657
|
if (!result.ok) {
|
|
72440
72658
|
return {
|
|
72441
72659
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72523,12 +72741,12 @@ var init_privateNetworksCreate = __esm(() => {
|
|
|
72523
72741
|
});
|
|
72524
72742
|
|
|
72525
72743
|
// src/mcp-server/tools/privateNetworksCreate.ts
|
|
72526
|
-
var
|
|
72744
|
+
var args50, tool$privateNetworksCreate;
|
|
72527
72745
|
var init_privateNetworksCreate2 = __esm(() => {
|
|
72528
72746
|
init_privateNetworksCreate();
|
|
72529
72747
|
init_operations();
|
|
72530
72748
|
init_tools();
|
|
72531
|
-
|
|
72749
|
+
args50 = {
|
|
72532
72750
|
request: CreateVirtualNetworkRequest$inboundSchema
|
|
72533
72751
|
};
|
|
72534
72752
|
tool$privateNetworksCreate = {
|
|
@@ -72537,9 +72755,9 @@ var init_privateNetworksCreate2 = __esm(() => {
|
|
|
72537
72755
|
|
|
72538
72756
|
Creates a new Virtual Network.
|
|
72539
72757
|
`,
|
|
72540
|
-
args:
|
|
72541
|
-
tool: async (client,
|
|
72542
|
-
const [result, apiCall] = await privateNetworksCreate(client,
|
|
72758
|
+
args: args50,
|
|
72759
|
+
tool: async (client, args51, ctx) => {
|
|
72760
|
+
const [result, apiCall] = await privateNetworksCreate(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72543
72761
|
if (!result.ok) {
|
|
72544
72762
|
return {
|
|
72545
72763
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72630,12 +72848,12 @@ var init_privateNetworksDeleteAssignment = __esm(() => {
|
|
|
72630
72848
|
});
|
|
72631
72849
|
|
|
72632
72850
|
// src/mcp-server/tools/privateNetworksDeleteAssignment.ts
|
|
72633
|
-
var
|
|
72851
|
+
var args51, tool$privateNetworksDeleteAssignment;
|
|
72634
72852
|
var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
72635
72853
|
init_privateNetworksDeleteAssignment();
|
|
72636
72854
|
init_operations();
|
|
72637
72855
|
init_tools();
|
|
72638
|
-
|
|
72856
|
+
args51 = {
|
|
72639
72857
|
request: DeleteVirtualNetworksAssignmentsRequest$inboundSchema
|
|
72640
72858
|
};
|
|
72641
72859
|
tool$privateNetworksDeleteAssignment = {
|
|
@@ -72644,9 +72862,9 @@ var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
|
72644
72862
|
|
|
72645
72863
|
Allow you to remove a Virtual Network assignment.
|
|
72646
72864
|
`,
|
|
72647
|
-
args:
|
|
72648
|
-
tool: async (client,
|
|
72649
|
-
const [result, apiCall] = await privateNetworksDeleteAssignment(client,
|
|
72865
|
+
args: args51,
|
|
72866
|
+
tool: async (client, args52, ctx) => {
|
|
72867
|
+
const [result, apiCall] = await privateNetworksDeleteAssignment(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72650
72868
|
if (!result.ok) {
|
|
72651
72869
|
return {
|
|
72652
72870
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72738,12 +72956,12 @@ var init_privateNetworksGet = __esm(() => {
|
|
|
72738
72956
|
});
|
|
72739
72957
|
|
|
72740
72958
|
// src/mcp-server/tools/privateNetworksGet.ts
|
|
72741
|
-
var
|
|
72959
|
+
var args52, tool$privateNetworksGet;
|
|
72742
72960
|
var init_privateNetworksGet2 = __esm(() => {
|
|
72743
72961
|
init_privateNetworksGet();
|
|
72744
72962
|
init_operations();
|
|
72745
72963
|
init_tools();
|
|
72746
|
-
|
|
72964
|
+
args52 = {
|
|
72747
72965
|
request: GetVirtualNetworkRequest$inboundSchema
|
|
72748
72966
|
};
|
|
72749
72967
|
tool$privateNetworksGet = {
|
|
@@ -72752,9 +72970,9 @@ var init_privateNetworksGet2 = __esm(() => {
|
|
|
72752
72970
|
|
|
72753
72971
|
Retrieve a Virtual Network.
|
|
72754
72972
|
`,
|
|
72755
|
-
args:
|
|
72756
|
-
tool: async (client,
|
|
72757
|
-
const [result, apiCall] = await privateNetworksGet(client,
|
|
72973
|
+
args: args52,
|
|
72974
|
+
tool: async (client, args53, ctx) => {
|
|
72975
|
+
const [result, apiCall] = await privateNetworksGet(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72758
72976
|
if (!result.ok) {
|
|
72759
72977
|
return {
|
|
72760
72978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72883,12 +73101,12 @@ var init_privateNetworksList = __esm(() => {
|
|
|
72883
73101
|
});
|
|
72884
73102
|
|
|
72885
73103
|
// src/mcp-server/tools/privateNetworksList.ts
|
|
72886
|
-
var
|
|
73104
|
+
var args53, tool$privateNetworksList;
|
|
72887
73105
|
var init_privateNetworksList2 = __esm(() => {
|
|
72888
73106
|
init_privateNetworksList();
|
|
72889
73107
|
init_operations();
|
|
72890
73108
|
init_tools();
|
|
72891
|
-
|
|
73109
|
+
args53 = {
|
|
72892
73110
|
request: GetVirtualNetworksRequest$inboundSchema.optional()
|
|
72893
73111
|
};
|
|
72894
73112
|
tool$privateNetworksList = {
|
|
@@ -72897,9 +73115,9 @@ var init_privateNetworksList2 = __esm(() => {
|
|
|
72897
73115
|
|
|
72898
73116
|
Lists virtual networks assigned to a project
|
|
72899
73117
|
`,
|
|
72900
|
-
args:
|
|
72901
|
-
tool: async (client,
|
|
72902
|
-
const [result, apiCall] = await privateNetworksList(client,
|
|
73118
|
+
args: args53,
|
|
73119
|
+
tool: async (client, args54, ctx) => {
|
|
73120
|
+
const [result, apiCall] = await privateNetworksList(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72903
73121
|
if (!result.ok) {
|
|
72904
73122
|
return {
|
|
72905
73123
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73025,12 +73243,12 @@ var init_privateNetworksListAssignments = __esm(() => {
|
|
|
73025
73243
|
});
|
|
73026
73244
|
|
|
73027
73245
|
// src/mcp-server/tools/privateNetworksListAssignments.ts
|
|
73028
|
-
var
|
|
73246
|
+
var args54, tool$privateNetworksListAssignments;
|
|
73029
73247
|
var init_privateNetworksListAssignments2 = __esm(() => {
|
|
73030
73248
|
init_privateNetworksListAssignments();
|
|
73031
73249
|
init_operations();
|
|
73032
73250
|
init_tools();
|
|
73033
|
-
|
|
73251
|
+
args54 = {
|
|
73034
73252
|
request: GetVirtualNetworksAssignmentsRequest$inboundSchema.optional()
|
|
73035
73253
|
};
|
|
73036
73254
|
tool$privateNetworksListAssignments = {
|
|
@@ -73039,9 +73257,9 @@ var init_privateNetworksListAssignments2 = __esm(() => {
|
|
|
73039
73257
|
|
|
73040
73258
|
Returns a list of all servers assigned to virtual networks.
|
|
73041
73259
|
`,
|
|
73042
|
-
args:
|
|
73043
|
-
tool: async (client,
|
|
73044
|
-
const [result, apiCall] = await privateNetworksListAssignments(client,
|
|
73260
|
+
args: args54,
|
|
73261
|
+
tool: async (client, args55, ctx) => {
|
|
73262
|
+
const [result, apiCall] = await privateNetworksListAssignments(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73045
73263
|
if (!result.ok) {
|
|
73046
73264
|
return {
|
|
73047
73265
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73135,12 +73353,12 @@ var init_privateNetworksUpdate = __esm(() => {
|
|
|
73135
73353
|
});
|
|
73136
73354
|
|
|
73137
73355
|
// src/mcp-server/tools/privateNetworksUpdate.ts
|
|
73138
|
-
var
|
|
73356
|
+
var args55, tool$privateNetworksUpdate;
|
|
73139
73357
|
var init_privateNetworksUpdate2 = __esm(() => {
|
|
73140
73358
|
init_privateNetworksUpdate();
|
|
73141
73359
|
init_operations();
|
|
73142
73360
|
init_tools();
|
|
73143
|
-
|
|
73361
|
+
args55 = {
|
|
73144
73362
|
request: UpdateVirtualNetworkRequest$inboundSchema
|
|
73145
73363
|
};
|
|
73146
73364
|
tool$privateNetworksUpdate = {
|
|
@@ -73149,9 +73367,9 @@ var init_privateNetworksUpdate2 = __esm(() => {
|
|
|
73149
73367
|
|
|
73150
73368
|
Update a Virtual Network.
|
|
73151
73369
|
`,
|
|
73152
|
-
args:
|
|
73153
|
-
tool: async (client,
|
|
73154
|
-
const [result, apiCall] = await privateNetworksUpdate(client,
|
|
73370
|
+
args: args55,
|
|
73371
|
+
tool: async (client, args56, ctx) => {
|
|
73372
|
+
const [result, apiCall] = await privateNetworksUpdate(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73155
73373
|
if (!result.ok) {
|
|
73156
73374
|
return {
|
|
73157
73375
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73238,20 +73456,20 @@ var init_projectsCreate = __esm(() => {
|
|
|
73238
73456
|
});
|
|
73239
73457
|
|
|
73240
73458
|
// src/mcp-server/tools/projectsCreate.ts
|
|
73241
|
-
var
|
|
73459
|
+
var args56, tool$projectsCreate;
|
|
73242
73460
|
var init_projectsCreate2 = __esm(() => {
|
|
73243
73461
|
init_projectsCreate();
|
|
73244
73462
|
init_operations();
|
|
73245
73463
|
init_tools();
|
|
73246
|
-
|
|
73464
|
+
args56 = {
|
|
73247
73465
|
request: CreateProjectRequest$inboundSchema
|
|
73248
73466
|
};
|
|
73249
73467
|
tool$projectsCreate = {
|
|
73250
73468
|
name: "projects-create",
|
|
73251
73469
|
description: `Create project`,
|
|
73252
|
-
args:
|
|
73253
|
-
tool: async (client,
|
|
73254
|
-
const [result, apiCall] = await projectsCreate(client,
|
|
73470
|
+
args: args56,
|
|
73471
|
+
tool: async (client, args57, ctx) => {
|
|
73472
|
+
const [result, apiCall] = await projectsCreate(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73255
73473
|
if (!result.ok) {
|
|
73256
73474
|
return {
|
|
73257
73475
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73342,12 +73560,12 @@ var init_projectsDelete = __esm(() => {
|
|
|
73342
73560
|
});
|
|
73343
73561
|
|
|
73344
73562
|
// src/mcp-server/tools/projectsDelete.ts
|
|
73345
|
-
var
|
|
73563
|
+
var args57, tool$projectsDelete;
|
|
73346
73564
|
var init_projectsDelete2 = __esm(() => {
|
|
73347
73565
|
init_projectsDelete();
|
|
73348
73566
|
init_operations();
|
|
73349
73567
|
init_tools();
|
|
73350
|
-
|
|
73568
|
+
args57 = {
|
|
73351
73569
|
request: DeleteProjectRequest$inboundSchema
|
|
73352
73570
|
};
|
|
73353
73571
|
tool$projectsDelete = {
|
|
@@ -73355,9 +73573,9 @@ var init_projectsDelete2 = __esm(() => {
|
|
|
73355
73573
|
description: `Delete project
|
|
73356
73574
|
|
|
73357
73575
|
Deletes a project and releases associated resources. Any Elastic IPs assigned to the project are automatically released and returned to the available pool.`,
|
|
73358
|
-
args:
|
|
73359
|
-
tool: async (client,
|
|
73360
|
-
const [result, apiCall] = await projectsDelete(client,
|
|
73576
|
+
args: args57,
|
|
73577
|
+
tool: async (client, args58, ctx) => {
|
|
73578
|
+
const [result, apiCall] = await projectsDelete(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73361
73579
|
if (!result.ok) {
|
|
73362
73580
|
return {
|
|
73363
73581
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73489,12 +73707,12 @@ var init_projectsList = __esm(() => {
|
|
|
73489
73707
|
});
|
|
73490
73708
|
|
|
73491
73709
|
// src/mcp-server/tools/projectsList.ts
|
|
73492
|
-
var
|
|
73710
|
+
var args58, tool$projectsList;
|
|
73493
73711
|
var init_projectsList2 = __esm(() => {
|
|
73494
73712
|
init_projectsList();
|
|
73495
73713
|
init_operations();
|
|
73496
73714
|
init_tools();
|
|
73497
|
-
|
|
73715
|
+
args58 = {
|
|
73498
73716
|
request: GetProjectsRequest$inboundSchema.optional()
|
|
73499
73717
|
};
|
|
73500
73718
|
tool$projectsList = {
|
|
@@ -73503,9 +73721,9 @@ var init_projectsList2 = __esm(() => {
|
|
|
73503
73721
|
|
|
73504
73722
|
Returns a list of all projects for the current team
|
|
73505
73723
|
`,
|
|
73506
|
-
args:
|
|
73507
|
-
tool: async (client,
|
|
73508
|
-
const [result, apiCall] = await projectsList(client,
|
|
73724
|
+
args: args58,
|
|
73725
|
+
tool: async (client, args59, ctx) => {
|
|
73726
|
+
const [result, apiCall] = await projectsList(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73509
73727
|
if (!result.ok) {
|
|
73510
73728
|
return {
|
|
73511
73729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73598,12 +73816,12 @@ var init_projectsSshKeysPostProjectSshKey = __esm(() => {
|
|
|
73598
73816
|
});
|
|
73599
73817
|
|
|
73600
73818
|
// src/mcp-server/tools/projectsSshKeysPostProjectSshKey.ts
|
|
73601
|
-
var
|
|
73819
|
+
var args59, tool$projectsSshKeysPostProjectSshKey;
|
|
73602
73820
|
var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
73603
73821
|
init_projectsSshKeysPostProjectSshKey();
|
|
73604
73822
|
init_operations();
|
|
73605
73823
|
init_tools();
|
|
73606
|
-
|
|
73824
|
+
args59 = {
|
|
73607
73825
|
request: PostProjectSshKeyRequest$inboundSchema
|
|
73608
73826
|
};
|
|
73609
73827
|
tool$projectsSshKeysPostProjectSshKey = {
|
|
@@ -73612,9 +73830,9 @@ var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
|
73612
73830
|
|
|
73613
73831
|
Allow you create SSH Keys in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
73614
73832
|
`,
|
|
73615
|
-
args:
|
|
73616
|
-
tool: async (client,
|
|
73617
|
-
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client,
|
|
73833
|
+
args: args59,
|
|
73834
|
+
tool: async (client, args60, ctx) => {
|
|
73835
|
+
const [result, apiCall] = await projectsSshKeysPostProjectSshKey(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73618
73836
|
if (!result.ok) {
|
|
73619
73837
|
return {
|
|
73620
73838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73707,20 +73925,20 @@ var init_projectsUpdate = __esm(() => {
|
|
|
73707
73925
|
});
|
|
73708
73926
|
|
|
73709
73927
|
// src/mcp-server/tools/projectsUpdate.ts
|
|
73710
|
-
var
|
|
73928
|
+
var args60, tool$projectsUpdate;
|
|
73711
73929
|
var init_projectsUpdate2 = __esm(() => {
|
|
73712
73930
|
init_projectsUpdate();
|
|
73713
73931
|
init_operations();
|
|
73714
73932
|
init_tools();
|
|
73715
|
-
|
|
73933
|
+
args60 = {
|
|
73716
73934
|
request: UpdateProjectRequest$inboundSchema
|
|
73717
73935
|
};
|
|
73718
73936
|
tool$projectsUpdate = {
|
|
73719
73937
|
name: "projects-update",
|
|
73720
73938
|
description: `Update project`,
|
|
73721
|
-
args:
|
|
73722
|
-
tool: async (client,
|
|
73723
|
-
const [result, apiCall] = await projectsUpdate(client,
|
|
73939
|
+
args: args60,
|
|
73940
|
+
tool: async (client, args61, ctx) => {
|
|
73941
|
+
const [result, apiCall] = await projectsUpdate(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73724
73942
|
if (!result.ok) {
|
|
73725
73943
|
return {
|
|
73726
73944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73813,20 +74031,20 @@ var init_regionsFetch = __esm(() => {
|
|
|
73813
74031
|
});
|
|
73814
74032
|
|
|
73815
74033
|
// src/mcp-server/tools/regionsFetch.ts
|
|
73816
|
-
var
|
|
74034
|
+
var args61, tool$regionsFetch;
|
|
73817
74035
|
var init_regionsFetch2 = __esm(() => {
|
|
73818
74036
|
init_regionsFetch();
|
|
73819
74037
|
init_operations();
|
|
73820
74038
|
init_tools();
|
|
73821
|
-
|
|
74039
|
+
args61 = {
|
|
73822
74040
|
request: GetRegionRequest$inboundSchema
|
|
73823
74041
|
};
|
|
73824
74042
|
tool$regionsFetch = {
|
|
73825
74043
|
name: "regions-fetch",
|
|
73826
74044
|
description: `Retrieve region`,
|
|
73827
|
-
args:
|
|
73828
|
-
tool: async (client,
|
|
73829
|
-
const [result, apiCall] = await regionsFetch(client,
|
|
74045
|
+
args: args61,
|
|
74046
|
+
tool: async (client, args62, ctx) => {
|
|
74047
|
+
const [result, apiCall] = await regionsFetch(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73830
74048
|
if (!result.ok) {
|
|
73831
74049
|
return {
|
|
73832
74050
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73952,12 +74170,12 @@ var init_regionsGet = __esm(() => {
|
|
|
73952
74170
|
});
|
|
73953
74171
|
|
|
73954
74172
|
// src/mcp-server/tools/regionsGet.ts
|
|
73955
|
-
var
|
|
74173
|
+
var args62, tool$regionsGet;
|
|
73956
74174
|
var init_regionsGet2 = __esm(() => {
|
|
73957
74175
|
init_regionsGet();
|
|
73958
74176
|
init_operations();
|
|
73959
74177
|
init_tools();
|
|
73960
|
-
|
|
74178
|
+
args62 = {
|
|
73961
74179
|
request: GetRegionsRequest$inboundSchema.optional()
|
|
73962
74180
|
};
|
|
73963
74181
|
tool$regionsGet = {
|
|
@@ -73967,9 +74185,9 @@ var init_regionsGet2 = __esm(() => {
|
|
|
73967
74185
|
Lists all [available locations](https://latitude.sh/locations). For server availability by location, please see the [Plans API](/reference/get-plans).
|
|
73968
74186
|
|
|
73969
74187
|
`,
|
|
73970
|
-
args:
|
|
73971
|
-
tool: async (client,
|
|
73972
|
-
const [result, apiCall] = await regionsGet(client,
|
|
74188
|
+
args: args62,
|
|
74189
|
+
tool: async (client, args63, ctx) => {
|
|
74190
|
+
const [result, apiCall] = await regionsGet(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73973
74191
|
if (!result.ok) {
|
|
73974
74192
|
return {
|
|
73975
74193
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74062,20 +74280,20 @@ var init_rolesGet = __esm(() => {
|
|
|
74062
74280
|
});
|
|
74063
74281
|
|
|
74064
74282
|
// src/mcp-server/tools/rolesGet.ts
|
|
74065
|
-
var
|
|
74283
|
+
var args63, tool$rolesGet;
|
|
74066
74284
|
var init_rolesGet2 = __esm(() => {
|
|
74067
74285
|
init_rolesGet();
|
|
74068
74286
|
init_operations();
|
|
74069
74287
|
init_tools();
|
|
74070
|
-
|
|
74288
|
+
args63 = {
|
|
74071
74289
|
request: GetRoleIdRequest$inboundSchema
|
|
74072
74290
|
};
|
|
74073
74291
|
tool$rolesGet = {
|
|
74074
74292
|
name: "roles-get",
|
|
74075
74293
|
description: `Retrieve role`,
|
|
74076
|
-
args:
|
|
74077
|
-
tool: async (client,
|
|
74078
|
-
const [result, apiCall] = await rolesGet(client,
|
|
74294
|
+
args: args63,
|
|
74295
|
+
tool: async (client, args64, ctx) => {
|
|
74296
|
+
const [result, apiCall] = await rolesGet(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74079
74297
|
if (!result.ok) {
|
|
74080
74298
|
return {
|
|
74081
74299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74201,12 +74419,12 @@ var init_rolesList = __esm(() => {
|
|
|
74201
74419
|
});
|
|
74202
74420
|
|
|
74203
74421
|
// src/mcp-server/tools/rolesList.ts
|
|
74204
|
-
var
|
|
74422
|
+
var args64, tool$rolesList;
|
|
74205
74423
|
var init_rolesList2 = __esm(() => {
|
|
74206
74424
|
init_rolesList();
|
|
74207
74425
|
init_operations();
|
|
74208
74426
|
init_tools();
|
|
74209
|
-
|
|
74427
|
+
args64 = {
|
|
74210
74428
|
request: GetRolesRequest$inboundSchema.optional()
|
|
74211
74429
|
};
|
|
74212
74430
|
tool$rolesList = {
|
|
@@ -74215,9 +74433,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
74215
74433
|
|
|
74216
74434
|
Returns a list of all roles that can be assigned to users
|
|
74217
74435
|
`,
|
|
74218
|
-
args:
|
|
74219
|
-
tool: async (client,
|
|
74220
|
-
const [result, apiCall] = await rolesList(client,
|
|
74436
|
+
args: args64,
|
|
74437
|
+
tool: async (client, args65, ctx) => {
|
|
74438
|
+
const [result, apiCall] = await rolesList(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74221
74439
|
if (!result.ok) {
|
|
74222
74440
|
return {
|
|
74223
74441
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74305,20 +74523,20 @@ var init_serversCreate = __esm(() => {
|
|
|
74305
74523
|
});
|
|
74306
74524
|
|
|
74307
74525
|
// src/mcp-server/tools/serversCreate.ts
|
|
74308
|
-
var
|
|
74526
|
+
var args65, tool$serversCreate;
|
|
74309
74527
|
var init_serversCreate2 = __esm(() => {
|
|
74310
74528
|
init_serversCreate();
|
|
74311
74529
|
init_operations();
|
|
74312
74530
|
init_tools();
|
|
74313
|
-
|
|
74531
|
+
args65 = {
|
|
74314
74532
|
request: CreateServerRequest$inboundSchema
|
|
74315
74533
|
};
|
|
74316
74534
|
tool$serversCreate = {
|
|
74317
74535
|
name: "servers-create",
|
|
74318
74536
|
description: `Create server`,
|
|
74319
|
-
args:
|
|
74320
|
-
tool: async (client,
|
|
74321
|
-
const [result, apiCall] = await serversCreate(client,
|
|
74537
|
+
args: args65,
|
|
74538
|
+
tool: async (client, args66, ctx) => {
|
|
74539
|
+
const [result, apiCall] = await serversCreate(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74322
74540
|
if (!result.ok) {
|
|
74323
74541
|
return {
|
|
74324
74542
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74411,12 +74629,12 @@ var init_serversCreateIpmiSession = __esm(() => {
|
|
|
74411
74629
|
});
|
|
74412
74630
|
|
|
74413
74631
|
// src/mcp-server/tools/serversCreateIpmiSession.ts
|
|
74414
|
-
var
|
|
74632
|
+
var args66, tool$serversCreateIpmiSession;
|
|
74415
74633
|
var init_serversCreateIpmiSession2 = __esm(() => {
|
|
74416
74634
|
init_serversCreateIpmiSession();
|
|
74417
74635
|
init_operations();
|
|
74418
74636
|
init_tools();
|
|
74419
|
-
|
|
74637
|
+
args66 = {
|
|
74420
74638
|
request: CreateIpmiSessionRequest$inboundSchema
|
|
74421
74639
|
};
|
|
74422
74640
|
tool$serversCreateIpmiSession = {
|
|
@@ -74428,9 +74646,9 @@ You will have to use a VPN client such as https://openvpn.net to connect. See \`
|
|
|
74428
74646
|
|
|
74429
74647
|
Related guide: https://docs.latitude.sh/docs/ipmi
|
|
74430
74648
|
`,
|
|
74431
|
-
args:
|
|
74432
|
-
tool: async (client,
|
|
74433
|
-
const [result, apiCall] = await serversCreateIpmiSession(client,
|
|
74649
|
+
args: args66,
|
|
74650
|
+
tool: async (client, args67, ctx) => {
|
|
74651
|
+
const [result, apiCall] = await serversCreateIpmiSession(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74434
74652
|
if (!result.ok) {
|
|
74435
74653
|
return {
|
|
74436
74654
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74525,20 +74743,20 @@ var init_serversDelete = __esm(() => {
|
|
|
74525
74743
|
});
|
|
74526
74744
|
|
|
74527
74745
|
// src/mcp-server/tools/serversDelete.ts
|
|
74528
|
-
var
|
|
74746
|
+
var args67, tool$serversDelete;
|
|
74529
74747
|
var init_serversDelete2 = __esm(() => {
|
|
74530
74748
|
init_serversDelete();
|
|
74531
74749
|
init_operations();
|
|
74532
74750
|
init_tools();
|
|
74533
|
-
|
|
74751
|
+
args67 = {
|
|
74534
74752
|
request: DestroyServerRequest$inboundSchema
|
|
74535
74753
|
};
|
|
74536
74754
|
tool$serversDelete = {
|
|
74537
74755
|
name: "servers-delete",
|
|
74538
74756
|
description: `Remove server`,
|
|
74539
|
-
args:
|
|
74540
|
-
tool: async (client,
|
|
74541
|
-
const [result, apiCall] = await serversDelete(client,
|
|
74757
|
+
args: args67,
|
|
74758
|
+
tool: async (client, args68, ctx) => {
|
|
74759
|
+
const [result, apiCall] = await serversDelete(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74542
74760
|
if (!result.ok) {
|
|
74543
74761
|
return {
|
|
74544
74762
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74630,12 +74848,12 @@ var init_serversExitRescueMode = __esm(() => {
|
|
|
74630
74848
|
});
|
|
74631
74849
|
|
|
74632
74850
|
// src/mcp-server/tools/serversExitRescueMode.ts
|
|
74633
|
-
var
|
|
74851
|
+
var args68, tool$serversExitRescueMode;
|
|
74634
74852
|
var init_serversExitRescueMode2 = __esm(() => {
|
|
74635
74853
|
init_serversExitRescueMode();
|
|
74636
74854
|
init_operations();
|
|
74637
74855
|
init_tools();
|
|
74638
|
-
|
|
74856
|
+
args68 = {
|
|
74639
74857
|
request: ServerExitRescueModeRequest$inboundSchema
|
|
74640
74858
|
};
|
|
74641
74859
|
tool$serversExitRescueMode = {
|
|
@@ -74643,9 +74861,9 @@ var init_serversExitRescueMode2 = __esm(() => {
|
|
|
74643
74861
|
description: `Exits rescue mode
|
|
74644
74862
|
|
|
74645
74863
|
Exits rescue mode on a given server.`,
|
|
74646
|
-
args:
|
|
74647
|
-
tool: async (client,
|
|
74648
|
-
const [result, apiCall] = await serversExitRescueMode(client,
|
|
74864
|
+
args: args68,
|
|
74865
|
+
tool: async (client, args69, ctx) => {
|
|
74866
|
+
const [result, apiCall] = await serversExitRescueMode(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74649
74867
|
if (!result.ok) {
|
|
74650
74868
|
return {
|
|
74651
74869
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74742,12 +74960,12 @@ var init_serversGet = __esm(() => {
|
|
|
74742
74960
|
});
|
|
74743
74961
|
|
|
74744
74962
|
// src/mcp-server/tools/serversGet.ts
|
|
74745
|
-
var
|
|
74963
|
+
var args69, tool$serversGet;
|
|
74746
74964
|
var init_serversGet2 = __esm(() => {
|
|
74747
74965
|
init_serversGet();
|
|
74748
74966
|
init_operations();
|
|
74749
74967
|
init_tools();
|
|
74750
|
-
|
|
74968
|
+
args69 = {
|
|
74751
74969
|
request: GetServerRequest$inboundSchema
|
|
74752
74970
|
};
|
|
74753
74971
|
tool$serversGet = {
|
|
@@ -74756,9 +74974,9 @@ var init_serversGet2 = __esm(() => {
|
|
|
74756
74974
|
|
|
74757
74975
|
Returns a server that belongs to the team.
|
|
74758
74976
|
`,
|
|
74759
|
-
args:
|
|
74760
|
-
tool: async (client,
|
|
74761
|
-
const [result, apiCall] = await serversGet(client,
|
|
74977
|
+
args: args69,
|
|
74978
|
+
tool: async (client, args70, ctx) => {
|
|
74979
|
+
const [result, apiCall] = await serversGet(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74762
74980
|
if (!result.ok) {
|
|
74763
74981
|
return {
|
|
74764
74982
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74851,20 +75069,20 @@ var init_serversGetDeployConfig = __esm(() => {
|
|
|
74851
75069
|
});
|
|
74852
75070
|
|
|
74853
75071
|
// src/mcp-server/tools/serversGetDeployConfig.ts
|
|
74854
|
-
var
|
|
75072
|
+
var args70, tool$serversGetDeployConfig;
|
|
74855
75073
|
var init_serversGetDeployConfig2 = __esm(() => {
|
|
74856
75074
|
init_serversGetDeployConfig();
|
|
74857
75075
|
init_operations();
|
|
74858
75076
|
init_tools();
|
|
74859
|
-
|
|
75077
|
+
args70 = {
|
|
74860
75078
|
request: GetServerDeployConfigRequest$inboundSchema
|
|
74861
75079
|
};
|
|
74862
75080
|
tool$serversGetDeployConfig = {
|
|
74863
75081
|
name: "servers-get-deploy-config",
|
|
74864
75082
|
description: `Retrieve deploy config`,
|
|
74865
|
-
args:
|
|
74866
|
-
tool: async (client,
|
|
74867
|
-
const [result, apiCall] = await serversGetDeployConfig(client,
|
|
75083
|
+
args: args70,
|
|
75084
|
+
tool: async (client, args71, ctx) => {
|
|
75085
|
+
const [result, apiCall] = await serversGetDeployConfig(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74868
75086
|
if (!result.ok) {
|
|
74869
75087
|
return {
|
|
74870
75088
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74957,20 +75175,20 @@ var init_serversGetOutOfBand = __esm(() => {
|
|
|
74957
75175
|
});
|
|
74958
75176
|
|
|
74959
75177
|
// src/mcp-server/tools/serversGetOutOfBand.ts
|
|
74960
|
-
var
|
|
75178
|
+
var args71, tool$serversGetOutOfBand;
|
|
74961
75179
|
var init_serversGetOutOfBand2 = __esm(() => {
|
|
74962
75180
|
init_serversGetOutOfBand();
|
|
74963
75181
|
init_operations();
|
|
74964
75182
|
init_tools();
|
|
74965
|
-
|
|
75183
|
+
args71 = {
|
|
74966
75184
|
request: GetServerOutOfBandRequest$inboundSchema
|
|
74967
75185
|
};
|
|
74968
75186
|
tool$serversGetOutOfBand = {
|
|
74969
75187
|
name: "servers-get-out-of-band",
|
|
74970
75188
|
description: `List out-of-band connections`,
|
|
74971
|
-
args:
|
|
74972
|
-
tool: async (client,
|
|
74973
|
-
const [result, apiCall] = await serversGetOutOfBand(client,
|
|
75189
|
+
args: args71,
|
|
75190
|
+
tool: async (client, args72, ctx) => {
|
|
75191
|
+
const [result, apiCall] = await serversGetOutOfBand(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74974
75192
|
if (!result.ok) {
|
|
74975
75193
|
return {
|
|
74976
75194
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75113,12 +75331,12 @@ var init_serversList = __esm(() => {
|
|
|
75113
75331
|
});
|
|
75114
75332
|
|
|
75115
75333
|
// src/mcp-server/tools/serversList.ts
|
|
75116
|
-
var
|
|
75334
|
+
var args72, tool$serversList;
|
|
75117
75335
|
var init_serversList2 = __esm(() => {
|
|
75118
75336
|
init_serversList();
|
|
75119
75337
|
init_operations();
|
|
75120
75338
|
init_tools();
|
|
75121
|
-
|
|
75339
|
+
args72 = {
|
|
75122
75340
|
request: GetServersRequest$inboundSchema.optional()
|
|
75123
75341
|
};
|
|
75124
75342
|
tool$serversList = {
|
|
@@ -75127,9 +75345,9 @@ var init_serversList2 = __esm(() => {
|
|
|
75127
75345
|
|
|
75128
75346
|
Returns a list of all servers belonging to the team.
|
|
75129
75347
|
`,
|
|
75130
|
-
args:
|
|
75131
|
-
tool: async (client,
|
|
75132
|
-
const [result, apiCall] = await serversList(client,
|
|
75348
|
+
args: args72,
|
|
75349
|
+
tool: async (client, args73, ctx) => {
|
|
75350
|
+
const [result, apiCall] = await serversList(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75133
75351
|
if (!result.ok) {
|
|
75134
75352
|
return {
|
|
75135
75353
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75222,12 +75440,12 @@ var init_serversLock = __esm(() => {
|
|
|
75222
75440
|
});
|
|
75223
75441
|
|
|
75224
75442
|
// src/mcp-server/tools/serversLock.ts
|
|
75225
|
-
var
|
|
75443
|
+
var args73, tool$serversLock;
|
|
75226
75444
|
var init_serversLock2 = __esm(() => {
|
|
75227
75445
|
init_serversLock();
|
|
75228
75446
|
init_operations();
|
|
75229
75447
|
init_tools();
|
|
75230
|
-
|
|
75448
|
+
args73 = {
|
|
75231
75449
|
request: ServerLockRequest$inboundSchema
|
|
75232
75450
|
};
|
|
75233
75451
|
tool$serversLock = {
|
|
@@ -75235,9 +75453,9 @@ var init_serversLock2 = __esm(() => {
|
|
|
75235
75453
|
description: `Lock server
|
|
75236
75454
|
|
|
75237
75455
|
Locks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75238
|
-
args:
|
|
75239
|
-
tool: async (client,
|
|
75240
|
-
const [result, apiCall] = await serversLock(client,
|
|
75456
|
+
args: args73,
|
|
75457
|
+
tool: async (client, args74, ctx) => {
|
|
75458
|
+
const [result, apiCall] = await serversLock(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75241
75459
|
if (!result.ok) {
|
|
75242
75460
|
return {
|
|
75243
75461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75335,20 +75553,20 @@ var init_serversReinstall = __esm(() => {
|
|
|
75335
75553
|
});
|
|
75336
75554
|
|
|
75337
75555
|
// src/mcp-server/tools/serversReinstall.ts
|
|
75338
|
-
var
|
|
75556
|
+
var args74, tool$serversReinstall;
|
|
75339
75557
|
var init_serversReinstall2 = __esm(() => {
|
|
75340
75558
|
init_serversReinstall();
|
|
75341
75559
|
init_operations();
|
|
75342
75560
|
init_tools();
|
|
75343
|
-
|
|
75561
|
+
args74 = {
|
|
75344
75562
|
request: CreateServerReinstallRequest$inboundSchema
|
|
75345
75563
|
};
|
|
75346
75564
|
tool$serversReinstall = {
|
|
75347
75565
|
name: "servers-reinstall",
|
|
75348
75566
|
description: `Run Server Reinstall`,
|
|
75349
|
-
args:
|
|
75350
|
-
tool: async (client,
|
|
75351
|
-
const [result, apiCall] = await serversReinstall(client,
|
|
75567
|
+
args: args74,
|
|
75568
|
+
tool: async (client, args75, ctx) => {
|
|
75569
|
+
const [result, apiCall] = await serversReinstall(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75352
75570
|
if (!result.ok) {
|
|
75353
75571
|
return {
|
|
75354
75572
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75441,12 +75659,12 @@ var init_serversRunAction = __esm(() => {
|
|
|
75441
75659
|
});
|
|
75442
75660
|
|
|
75443
75661
|
// src/mcp-server/tools/serversRunAction.ts
|
|
75444
|
-
var
|
|
75662
|
+
var args75, tool$serversRunAction;
|
|
75445
75663
|
var init_serversRunAction2 = __esm(() => {
|
|
75446
75664
|
init_serversRunAction();
|
|
75447
75665
|
init_operations();
|
|
75448
75666
|
init_tools();
|
|
75449
|
-
|
|
75667
|
+
args75 = {
|
|
75450
75668
|
request: CreateServerActionRequest$inboundSchema
|
|
75451
75669
|
};
|
|
75452
75670
|
tool$serversRunAction = {
|
|
@@ -75458,9 +75676,9 @@ Performs an action on a given server:
|
|
|
75458
75676
|
- \`power_off\`
|
|
75459
75677
|
- \`reboot\`
|
|
75460
75678
|
`,
|
|
75461
|
-
args:
|
|
75462
|
-
tool: async (client,
|
|
75463
|
-
const [result, apiCall] = await serversRunAction(client,
|
|
75679
|
+
args: args75,
|
|
75680
|
+
tool: async (client, args76, ctx) => {
|
|
75681
|
+
const [result, apiCall] = await serversRunAction(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75464
75682
|
if (!result.ok) {
|
|
75465
75683
|
return {
|
|
75466
75684
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75553,12 +75771,12 @@ var init_serversScheduleDeletion = __esm(() => {
|
|
|
75553
75771
|
});
|
|
75554
75772
|
|
|
75555
75773
|
// src/mcp-server/tools/serversScheduleDeletion.ts
|
|
75556
|
-
var
|
|
75774
|
+
var args76, tool$serversScheduleDeletion;
|
|
75557
75775
|
var init_serversScheduleDeletion2 = __esm(() => {
|
|
75558
75776
|
init_serversScheduleDeletion();
|
|
75559
75777
|
init_operations();
|
|
75560
75778
|
init_tools();
|
|
75561
|
-
|
|
75779
|
+
args76 = {
|
|
75562
75780
|
request: ServerScheduleDeletionRequest$inboundSchema
|
|
75563
75781
|
};
|
|
75564
75782
|
tool$serversScheduleDeletion = {
|
|
@@ -75566,9 +75784,9 @@ var init_serversScheduleDeletion2 = __esm(() => {
|
|
|
75566
75784
|
description: `Schedule server deletion
|
|
75567
75785
|
|
|
75568
75786
|
Schedules the server to be removed at the end of the billing cycle.`,
|
|
75569
|
-
args:
|
|
75570
|
-
tool: async (client,
|
|
75571
|
-
const [result, apiCall] = await serversScheduleDeletion(client,
|
|
75787
|
+
args: args76,
|
|
75788
|
+
tool: async (client, args77, ctx) => {
|
|
75789
|
+
const [result, apiCall] = await serversScheduleDeletion(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75572
75790
|
if (!result.ok) {
|
|
75573
75791
|
return {
|
|
75574
75792
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75662,20 +75880,20 @@ var init_serversStartOutOfBandConnection = __esm(() => {
|
|
|
75662
75880
|
});
|
|
75663
75881
|
|
|
75664
75882
|
// src/mcp-server/tools/serversStartOutOfBandConnection.ts
|
|
75665
|
-
var
|
|
75883
|
+
var args77, tool$serversStartOutOfBandConnection;
|
|
75666
75884
|
var init_serversStartOutOfBandConnection2 = __esm(() => {
|
|
75667
75885
|
init_serversStartOutOfBandConnection();
|
|
75668
75886
|
init_operations();
|
|
75669
75887
|
init_tools();
|
|
75670
|
-
|
|
75888
|
+
args77 = {
|
|
75671
75889
|
request: CreateServerOutOfBandRequest$inboundSchema
|
|
75672
75890
|
};
|
|
75673
75891
|
tool$serversStartOutOfBandConnection = {
|
|
75674
75892
|
name: "servers-start-out-of-band-connection",
|
|
75675
75893
|
description: `Create out-of-band connection`,
|
|
75676
|
-
args:
|
|
75677
|
-
tool: async (client,
|
|
75678
|
-
const [result, apiCall] = await serversStartOutOfBandConnection(client,
|
|
75894
|
+
args: args77,
|
|
75895
|
+
tool: async (client, args78, ctx) => {
|
|
75896
|
+
const [result, apiCall] = await serversStartOutOfBandConnection(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75679
75897
|
if (!result.ok) {
|
|
75680
75898
|
return {
|
|
75681
75899
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75768,12 +75986,12 @@ var init_serversStartRescueMode = __esm(() => {
|
|
|
75768
75986
|
});
|
|
75769
75987
|
|
|
75770
75988
|
// src/mcp-server/tools/serversStartRescueMode.ts
|
|
75771
|
-
var
|
|
75989
|
+
var args78, tool$serversStartRescueMode;
|
|
75772
75990
|
var init_serversStartRescueMode2 = __esm(() => {
|
|
75773
75991
|
init_serversStartRescueMode();
|
|
75774
75992
|
init_operations();
|
|
75775
75993
|
init_tools();
|
|
75776
|
-
|
|
75994
|
+
args78 = {
|
|
75777
75995
|
request: ServerStartRescueModeRequest$inboundSchema
|
|
75778
75996
|
};
|
|
75779
75997
|
tool$serversStartRescueMode = {
|
|
@@ -75781,9 +75999,9 @@ var init_serversStartRescueMode2 = __esm(() => {
|
|
|
75781
75999
|
description: `Put server in rescue mode
|
|
75782
76000
|
|
|
75783
76001
|
Starts rescue mode on a given server.`,
|
|
75784
|
-
args:
|
|
75785
|
-
tool: async (client,
|
|
75786
|
-
const [result, apiCall] = await serversStartRescueMode(client,
|
|
76002
|
+
args: args78,
|
|
76003
|
+
tool: async (client, args79, ctx) => {
|
|
76004
|
+
const [result, apiCall] = await serversStartRescueMode(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75787
76005
|
if (!result.ok) {
|
|
75788
76006
|
return {
|
|
75789
76007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75876,12 +76094,12 @@ var init_serversUnlock = __esm(() => {
|
|
|
75876
76094
|
});
|
|
75877
76095
|
|
|
75878
76096
|
// src/mcp-server/tools/serversUnlock.ts
|
|
75879
|
-
var
|
|
76097
|
+
var args79, tool$serversUnlock;
|
|
75880
76098
|
var init_serversUnlock2 = __esm(() => {
|
|
75881
76099
|
init_serversUnlock();
|
|
75882
76100
|
init_operations();
|
|
75883
76101
|
init_tools();
|
|
75884
|
-
|
|
76102
|
+
args79 = {
|
|
75885
76103
|
request: ServerUnlockRequest$inboundSchema
|
|
75886
76104
|
};
|
|
75887
76105
|
tool$serversUnlock = {
|
|
@@ -75889,9 +76107,9 @@ var init_serversUnlock2 = __esm(() => {
|
|
|
75889
76107
|
description: `Unlock server
|
|
75890
76108
|
|
|
75891
76109
|
Unlocks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75892
|
-
args:
|
|
75893
|
-
tool: async (client,
|
|
75894
|
-
const [result, apiCall] = await serversUnlock(client,
|
|
76110
|
+
args: args79,
|
|
76111
|
+
tool: async (client, args80, ctx) => {
|
|
76112
|
+
const [result, apiCall] = await serversUnlock(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75895
76113
|
if (!result.ok) {
|
|
75896
76114
|
return {
|
|
75897
76115
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75982,12 +76200,12 @@ var init_serversUnscheduleDeletion = __esm(() => {
|
|
|
75982
76200
|
});
|
|
75983
76201
|
|
|
75984
76202
|
// src/mcp-server/tools/serversUnscheduleDeletion.ts
|
|
75985
|
-
var
|
|
76203
|
+
var args80, tool$serversUnscheduleDeletion;
|
|
75986
76204
|
var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
75987
76205
|
init_serversUnscheduleDeletion();
|
|
75988
76206
|
init_operations();
|
|
75989
76207
|
init_tools();
|
|
75990
|
-
|
|
76208
|
+
args80 = {
|
|
75991
76209
|
request: ServerUnscheduleDeletionRequest$inboundSchema
|
|
75992
76210
|
};
|
|
75993
76211
|
tool$serversUnscheduleDeletion = {
|
|
@@ -75995,9 +76213,9 @@ var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
|
75995
76213
|
description: `Unschedule server deletion
|
|
75996
76214
|
|
|
75997
76215
|
Unschedules the server removal at the end of the billing cycle.`,
|
|
75998
|
-
args:
|
|
75999
|
-
tool: async (client,
|
|
76000
|
-
const [result, apiCall] = await serversUnscheduleDeletion(client,
|
|
76216
|
+
args: args80,
|
|
76217
|
+
tool: async (client, args81, ctx) => {
|
|
76218
|
+
const [result, apiCall] = await serversUnscheduleDeletion(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76001
76219
|
if (!result.ok) {
|
|
76002
76220
|
return {
|
|
76003
76221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76090,20 +76308,20 @@ var init_serversUpdate = __esm(() => {
|
|
|
76090
76308
|
});
|
|
76091
76309
|
|
|
76092
76310
|
// src/mcp-server/tools/serversUpdate.ts
|
|
76093
|
-
var
|
|
76311
|
+
var args81, tool$serversUpdate;
|
|
76094
76312
|
var init_serversUpdate2 = __esm(() => {
|
|
76095
76313
|
init_serversUpdate();
|
|
76096
76314
|
init_operations();
|
|
76097
76315
|
init_tools();
|
|
76098
|
-
|
|
76316
|
+
args81 = {
|
|
76099
76317
|
request: UpdateServerRequest$inboundSchema
|
|
76100
76318
|
};
|
|
76101
76319
|
tool$serversUpdate = {
|
|
76102
76320
|
name: "servers-update",
|
|
76103
76321
|
description: `Update server`,
|
|
76104
|
-
args:
|
|
76105
|
-
tool: async (client,
|
|
76106
|
-
const [result, apiCall] = await serversUpdate(client,
|
|
76322
|
+
args: args81,
|
|
76323
|
+
tool: async (client, args82, ctx) => {
|
|
76324
|
+
const [result, apiCall] = await serversUpdate(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76107
76325
|
if (!result.ok) {
|
|
76108
76326
|
return {
|
|
76109
76327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76197,20 +76415,20 @@ var init_serversUpdateDeployConfig = __esm(() => {
|
|
|
76197
76415
|
});
|
|
76198
76416
|
|
|
76199
76417
|
// src/mcp-server/tools/serversUpdateDeployConfig.ts
|
|
76200
|
-
var
|
|
76418
|
+
var args82, tool$serversUpdateDeployConfig;
|
|
76201
76419
|
var init_serversUpdateDeployConfig2 = __esm(() => {
|
|
76202
76420
|
init_serversUpdateDeployConfig();
|
|
76203
76421
|
init_operations();
|
|
76204
76422
|
init_tools();
|
|
76205
|
-
|
|
76423
|
+
args82 = {
|
|
76206
76424
|
request: UpdateServerDeployConfigRequest$inboundSchema
|
|
76207
76425
|
};
|
|
76208
76426
|
tool$serversUpdateDeployConfig = {
|
|
76209
76427
|
name: "servers-update-deploy-config",
|
|
76210
76428
|
description: `Update deploy config`,
|
|
76211
|
-
args:
|
|
76212
|
-
tool: async (client,
|
|
76213
|
-
const [result, apiCall] = await serversUpdateDeployConfig(client,
|
|
76429
|
+
args: args82,
|
|
76430
|
+
tool: async (client, args83, ctx) => {
|
|
76431
|
+
const [result, apiCall] = await serversUpdateDeployConfig(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76214
76432
|
if (!result.ok) {
|
|
76215
76433
|
return {
|
|
76216
76434
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76297,12 +76515,12 @@ var init_sshKeysCreate = __esm(() => {
|
|
|
76297
76515
|
});
|
|
76298
76516
|
|
|
76299
76517
|
// src/mcp-server/tools/sshKeysCreate.ts
|
|
76300
|
-
var
|
|
76518
|
+
var args83, tool$sshKeysCreate;
|
|
76301
76519
|
var init_sshKeysCreate2 = __esm(() => {
|
|
76302
76520
|
init_sshKeysCreate();
|
|
76303
76521
|
init_operations();
|
|
76304
76522
|
init_tools();
|
|
76305
|
-
|
|
76523
|
+
args83 = {
|
|
76306
76524
|
request: PostSshKeyRequest$inboundSchema
|
|
76307
76525
|
};
|
|
76308
76526
|
tool$sshKeysCreate = {
|
|
@@ -76311,9 +76529,9 @@ var init_sshKeysCreate2 = __esm(() => {
|
|
|
76311
76529
|
|
|
76312
76530
|
Allows you create SSH Keys. These keys can be used to access servers after deploy and reinstall actions.
|
|
76313
76531
|
`,
|
|
76314
|
-
args:
|
|
76315
|
-
tool: async (client,
|
|
76316
|
-
const [result, apiCall] = await sshKeysCreate(client,
|
|
76532
|
+
args: args83,
|
|
76533
|
+
tool: async (client, args84, ctx) => {
|
|
76534
|
+
const [result, apiCall] = await sshKeysCreate(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76317
76535
|
if (!result.ok) {
|
|
76318
76536
|
return {
|
|
76319
76537
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76404,12 +76622,12 @@ var init_sshKeysDelete = __esm(() => {
|
|
|
76404
76622
|
});
|
|
76405
76623
|
|
|
76406
76624
|
// src/mcp-server/tools/sshKeysDelete.ts
|
|
76407
|
-
var
|
|
76625
|
+
var args84, tool$sshKeysDelete;
|
|
76408
76626
|
var init_sshKeysDelete2 = __esm(() => {
|
|
76409
76627
|
init_sshKeysDelete();
|
|
76410
76628
|
init_operations();
|
|
76411
76629
|
init_tools();
|
|
76412
|
-
|
|
76630
|
+
args84 = {
|
|
76413
76631
|
request: DeleteSshKeyRequest$inboundSchema
|
|
76414
76632
|
};
|
|
76415
76633
|
tool$sshKeysDelete = {
|
|
@@ -76418,9 +76636,9 @@ var init_sshKeysDelete2 = __esm(() => {
|
|
|
76418
76636
|
|
|
76419
76637
|
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.
|
|
76420
76638
|
`,
|
|
76421
|
-
args:
|
|
76422
|
-
tool: async (client,
|
|
76423
|
-
const [result, apiCall] = await sshKeysDelete(client,
|
|
76639
|
+
args: args84,
|
|
76640
|
+
tool: async (client, args85, ctx) => {
|
|
76641
|
+
const [result, apiCall] = await sshKeysDelete(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76424
76642
|
if (!result.ok) {
|
|
76425
76643
|
return {
|
|
76426
76644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76515,12 +76733,12 @@ var init_sshKeysGet = __esm(() => {
|
|
|
76515
76733
|
});
|
|
76516
76734
|
|
|
76517
76735
|
// src/mcp-server/tools/sshKeysGet.ts
|
|
76518
|
-
var
|
|
76736
|
+
var args85, tool$sshKeysGet;
|
|
76519
76737
|
var init_sshKeysGet2 = __esm(() => {
|
|
76520
76738
|
init_sshKeysGet();
|
|
76521
76739
|
init_operations();
|
|
76522
76740
|
init_tools();
|
|
76523
|
-
|
|
76741
|
+
args85 = {
|
|
76524
76742
|
request: GetProjectSshKeyRequest$inboundSchema
|
|
76525
76743
|
};
|
|
76526
76744
|
tool$sshKeysGet = {
|
|
@@ -76529,9 +76747,9 @@ var init_sshKeysGet2 = __esm(() => {
|
|
|
76529
76747
|
|
|
76530
76748
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76531
76749
|
`,
|
|
76532
|
-
args:
|
|
76533
|
-
tool: async (client,
|
|
76534
|
-
const [result, apiCall] = await sshKeysGet(client,
|
|
76750
|
+
args: args85,
|
|
76751
|
+
tool: async (client, args86, ctx) => {
|
|
76752
|
+
const [result, apiCall] = await sshKeysGet(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76535
76753
|
if (!result.ok) {
|
|
76536
76754
|
return {
|
|
76537
76755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76631,12 +76849,12 @@ var init_sshKeysList = __esm(() => {
|
|
|
76631
76849
|
});
|
|
76632
76850
|
|
|
76633
76851
|
// src/mcp-server/tools/sshKeysList.ts
|
|
76634
|
-
var
|
|
76852
|
+
var args86, tool$sshKeysList;
|
|
76635
76853
|
var init_sshKeysList2 = __esm(() => {
|
|
76636
76854
|
init_sshKeysList();
|
|
76637
76855
|
init_operations();
|
|
76638
76856
|
init_tools();
|
|
76639
|
-
|
|
76857
|
+
args86 = {
|
|
76640
76858
|
request: GetProjectSshKeysRequest$inboundSchema
|
|
76641
76859
|
};
|
|
76642
76860
|
tool$sshKeysList = {
|
|
@@ -76645,9 +76863,9 @@ var init_sshKeysList2 = __esm(() => {
|
|
|
76645
76863
|
|
|
76646
76864
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76647
76865
|
`,
|
|
76648
|
-
args:
|
|
76649
|
-
tool: async (client,
|
|
76650
|
-
const [result, apiCall] = await sshKeysList(client,
|
|
76866
|
+
args: args86,
|
|
76867
|
+
tool: async (client, args87, ctx) => {
|
|
76868
|
+
const [result, apiCall] = await sshKeysList(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76651
76869
|
if (!result.ok) {
|
|
76652
76870
|
return {
|
|
76653
76871
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76743,12 +76961,12 @@ var init_sshKeysListAll = __esm(() => {
|
|
|
76743
76961
|
});
|
|
76744
76962
|
|
|
76745
76963
|
// src/mcp-server/tools/sshKeysListAll.ts
|
|
76746
|
-
var
|
|
76964
|
+
var args87, tool$sshKeysListAll;
|
|
76747
76965
|
var init_sshKeysListAll2 = __esm(() => {
|
|
76748
76966
|
init_sshKeysListAll();
|
|
76749
76967
|
init_operations();
|
|
76750
76968
|
init_tools();
|
|
76751
|
-
|
|
76969
|
+
args87 = {
|
|
76752
76970
|
request: GetSshKeysRequest$inboundSchema.optional()
|
|
76753
76971
|
};
|
|
76754
76972
|
tool$sshKeysListAll = {
|
|
@@ -76757,9 +76975,9 @@ var init_sshKeysListAll2 = __esm(() => {
|
|
|
76757
76975
|
|
|
76758
76976
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76759
76977
|
`,
|
|
76760
|
-
args:
|
|
76761
|
-
tool: async (client,
|
|
76762
|
-
const [result, apiCall] = await sshKeysListAll(client,
|
|
76978
|
+
args: args87,
|
|
76979
|
+
tool: async (client, args88, ctx) => {
|
|
76980
|
+
const [result, apiCall] = await sshKeysListAll(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76763
76981
|
if (!result.ok) {
|
|
76764
76982
|
return {
|
|
76765
76983
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76856,12 +77074,12 @@ var init_sshKeysModifyProjectKey = __esm(() => {
|
|
|
76856
77074
|
});
|
|
76857
77075
|
|
|
76858
77076
|
// src/mcp-server/tools/sshKeysModifyProjectKey.ts
|
|
76859
|
-
var
|
|
77077
|
+
var args88, tool$sshKeysModifyProjectKey;
|
|
76860
77078
|
var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
76861
77079
|
init_sshKeysModifyProjectKey();
|
|
76862
77080
|
init_operations();
|
|
76863
77081
|
init_tools();
|
|
76864
|
-
|
|
77082
|
+
args88 = {
|
|
76865
77083
|
request: PutProjectSshKeyRequest$inboundSchema
|
|
76866
77084
|
};
|
|
76867
77085
|
tool$sshKeysModifyProjectKey = {
|
|
@@ -76870,9 +77088,9 @@ var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
|
76870
77088
|
|
|
76871
77089
|
Allow you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76872
77090
|
`,
|
|
76873
|
-
args:
|
|
76874
|
-
tool: async (client,
|
|
76875
|
-
const [result, apiCall] = await sshKeysModifyProjectKey(client,
|
|
77091
|
+
args: args88,
|
|
77092
|
+
tool: async (client, args89, ctx) => {
|
|
77093
|
+
const [result, apiCall] = await sshKeysModifyProjectKey(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76876
77094
|
if (!result.ok) {
|
|
76877
77095
|
return {
|
|
76878
77096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76967,12 +77185,12 @@ var init_sshKeysRemoveFromProject = __esm(() => {
|
|
|
76967
77185
|
});
|
|
76968
77186
|
|
|
76969
77187
|
// src/mcp-server/tools/sshKeysRemoveFromProject.ts
|
|
76970
|
-
var
|
|
77188
|
+
var args89, tool$sshKeysRemoveFromProject;
|
|
76971
77189
|
var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
76972
77190
|
init_sshKeysRemoveFromProject();
|
|
76973
77191
|
init_operations();
|
|
76974
77192
|
init_tools();
|
|
76975
|
-
|
|
77193
|
+
args89 = {
|
|
76976
77194
|
request: DeleteProjectSshKeyRequest$inboundSchema
|
|
76977
77195
|
};
|
|
76978
77196
|
tool$sshKeysRemoveFromProject = {
|
|
@@ -76981,9 +77199,9 @@ var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
|
76981
77199
|
|
|
76982
77200
|
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.
|
|
76983
77201
|
`,
|
|
76984
|
-
args:
|
|
76985
|
-
tool: async (client,
|
|
76986
|
-
const [result, apiCall] = await sshKeysRemoveFromProject(client,
|
|
77202
|
+
args: args89,
|
|
77203
|
+
tool: async (client, args90, ctx) => {
|
|
77204
|
+
const [result, apiCall] = await sshKeysRemoveFromProject(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76987
77205
|
if (!result.ok) {
|
|
76988
77206
|
return {
|
|
76989
77207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77074,12 +77292,12 @@ var init_sshKeysRetrieve = __esm(() => {
|
|
|
77074
77292
|
});
|
|
77075
77293
|
|
|
77076
77294
|
// src/mcp-server/tools/sshKeysRetrieve.ts
|
|
77077
|
-
var
|
|
77295
|
+
var args90, tool$sshKeysRetrieve;
|
|
77078
77296
|
var init_sshKeysRetrieve2 = __esm(() => {
|
|
77079
77297
|
init_sshKeysRetrieve();
|
|
77080
77298
|
init_operations();
|
|
77081
77299
|
init_tools();
|
|
77082
|
-
|
|
77300
|
+
args90 = {
|
|
77083
77301
|
request: GetSshKeyRequest$inboundSchema
|
|
77084
77302
|
};
|
|
77085
77303
|
tool$sshKeysRetrieve = {
|
|
@@ -77088,9 +77306,9 @@ var init_sshKeysRetrieve2 = __esm(() => {
|
|
|
77088
77306
|
|
|
77089
77307
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77090
77308
|
`,
|
|
77091
|
-
args:
|
|
77092
|
-
tool: async (client,
|
|
77093
|
-
const [result, apiCall] = await sshKeysRetrieve(client,
|
|
77309
|
+
args: args90,
|
|
77310
|
+
tool: async (client, args91, ctx) => {
|
|
77311
|
+
const [result, apiCall] = await sshKeysRetrieve(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77094
77312
|
if (!result.ok) {
|
|
77095
77313
|
return {
|
|
77096
77314
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77183,12 +77401,12 @@ var init_sshKeysUpdate = __esm(() => {
|
|
|
77183
77401
|
});
|
|
77184
77402
|
|
|
77185
77403
|
// src/mcp-server/tools/sshKeysUpdate.ts
|
|
77186
|
-
var
|
|
77404
|
+
var args91, tool$sshKeysUpdate;
|
|
77187
77405
|
var init_sshKeysUpdate2 = __esm(() => {
|
|
77188
77406
|
init_sshKeysUpdate();
|
|
77189
77407
|
init_operations();
|
|
77190
77408
|
init_tools();
|
|
77191
|
-
|
|
77409
|
+
args91 = {
|
|
77192
77410
|
request: PutSshKeyRequest$inboundSchema
|
|
77193
77411
|
};
|
|
77194
77412
|
tool$sshKeysUpdate = {
|
|
@@ -77197,9 +77415,9 @@ var init_sshKeysUpdate2 = __esm(() => {
|
|
|
77197
77415
|
|
|
77198
77416
|
Allows you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77199
77417
|
`,
|
|
77200
|
-
args:
|
|
77201
|
-
tool: async (client,
|
|
77202
|
-
const [result, apiCall] = await sshKeysUpdate(client,
|
|
77418
|
+
args: args91,
|
|
77419
|
+
tool: async (client, args92, ctx) => {
|
|
77420
|
+
const [result, apiCall] = await sshKeysUpdate(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77203
77421
|
if (!result.ok) {
|
|
77204
77422
|
return {
|
|
77205
77423
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77293,12 +77511,12 @@ var init_tagsCreate = __esm(() => {
|
|
|
77293
77511
|
});
|
|
77294
77512
|
|
|
77295
77513
|
// src/mcp-server/tools/tagsCreate.ts
|
|
77296
|
-
var
|
|
77514
|
+
var args92, tool$tagsCreate;
|
|
77297
77515
|
var init_tagsCreate2 = __esm(() => {
|
|
77298
77516
|
init_tagsCreate();
|
|
77299
77517
|
init_operations();
|
|
77300
77518
|
init_tools();
|
|
77301
|
-
|
|
77519
|
+
args92 = {
|
|
77302
77520
|
request: CreateTagRequest$inboundSchema
|
|
77303
77521
|
};
|
|
77304
77522
|
tool$tagsCreate = {
|
|
@@ -77307,9 +77525,9 @@ var init_tagsCreate2 = __esm(() => {
|
|
|
77307
77525
|
|
|
77308
77526
|
Create a Tag in the team.
|
|
77309
77527
|
`,
|
|
77310
|
-
args:
|
|
77311
|
-
tool: async (client,
|
|
77312
|
-
const [result, apiCall] = await tagsCreate(client,
|
|
77528
|
+
args: args92,
|
|
77529
|
+
tool: async (client, args93, ctx) => {
|
|
77530
|
+
const [result, apiCall] = await tagsCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77313
77531
|
if (!result.ok) {
|
|
77314
77532
|
return {
|
|
77315
77533
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77400,12 +77618,12 @@ var init_tagsDelete = __esm(() => {
|
|
|
77400
77618
|
});
|
|
77401
77619
|
|
|
77402
77620
|
// src/mcp-server/tools/tagsDelete.ts
|
|
77403
|
-
var
|
|
77621
|
+
var args93, tool$tagsDelete;
|
|
77404
77622
|
var init_tagsDelete2 = __esm(() => {
|
|
77405
77623
|
init_tagsDelete();
|
|
77406
77624
|
init_operations();
|
|
77407
77625
|
init_tools();
|
|
77408
|
-
|
|
77626
|
+
args93 = {
|
|
77409
77627
|
request: DestroyTagRequest$inboundSchema
|
|
77410
77628
|
};
|
|
77411
77629
|
tool$tagsDelete = {
|
|
@@ -77414,9 +77632,9 @@ var init_tagsDelete2 = __esm(() => {
|
|
|
77414
77632
|
|
|
77415
77633
|
Update a Tag in the team.
|
|
77416
77634
|
`,
|
|
77417
|
-
args:
|
|
77418
|
-
tool: async (client,
|
|
77419
|
-
const [result, apiCall] = await tagsDelete(client,
|
|
77635
|
+
args: args93,
|
|
77636
|
+
tool: async (client, args94, ctx) => {
|
|
77637
|
+
const [result, apiCall] = await tagsDelete(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77420
77638
|
if (!result.ok) {
|
|
77421
77639
|
return {
|
|
77422
77640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77603,12 +77821,12 @@ var init_tagsUpdate = __esm(() => {
|
|
|
77603
77821
|
});
|
|
77604
77822
|
|
|
77605
77823
|
// src/mcp-server/tools/tagsUpdate.ts
|
|
77606
|
-
var
|
|
77824
|
+
var args94, tool$tagsUpdate;
|
|
77607
77825
|
var init_tagsUpdate2 = __esm(() => {
|
|
77608
77826
|
init_tagsUpdate();
|
|
77609
77827
|
init_operations();
|
|
77610
77828
|
init_tools();
|
|
77611
|
-
|
|
77829
|
+
args94 = {
|
|
77612
77830
|
request: UpdateTagRequest$inboundSchema
|
|
77613
77831
|
};
|
|
77614
77832
|
tool$tagsUpdate = {
|
|
@@ -77617,9 +77835,9 @@ var init_tagsUpdate2 = __esm(() => {
|
|
|
77617
77835
|
|
|
77618
77836
|
Update a Tag in the team.
|
|
77619
77837
|
`,
|
|
77620
|
-
args:
|
|
77621
|
-
tool: async (client,
|
|
77622
|
-
const [result, apiCall] = await tagsUpdate(client,
|
|
77838
|
+
args: args94,
|
|
77839
|
+
tool: async (client, args95, ctx) => {
|
|
77840
|
+
const [result, apiCall] = await tagsUpdate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77623
77841
|
if (!result.ok) {
|
|
77624
77842
|
return {
|
|
77625
77843
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77710,20 +77928,20 @@ var init_teamMembersDelete = __esm(() => {
|
|
|
77710
77928
|
});
|
|
77711
77929
|
|
|
77712
77930
|
// src/mcp-server/tools/teamMembersDelete.ts
|
|
77713
|
-
var
|
|
77931
|
+
var args95, tool$teamMembersDelete;
|
|
77714
77932
|
var init_teamMembersDelete2 = __esm(() => {
|
|
77715
77933
|
init_teamMembersDelete();
|
|
77716
77934
|
init_operations();
|
|
77717
77935
|
init_tools();
|
|
77718
|
-
|
|
77936
|
+
args95 = {
|
|
77719
77937
|
request: DestroyTeamMemberRequest$inboundSchema
|
|
77720
77938
|
};
|
|
77721
77939
|
tool$teamMembersDelete = {
|
|
77722
77940
|
name: "team-members-delete",
|
|
77723
77941
|
description: `Remove a member`,
|
|
77724
|
-
args:
|
|
77725
|
-
tool: async (client,
|
|
77726
|
-
const [result, apiCall] = await teamMembersDelete(client,
|
|
77942
|
+
args: args95,
|
|
77943
|
+
tool: async (client, args96, ctx) => {
|
|
77944
|
+
const [result, apiCall] = await teamMembersDelete(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77727
77945
|
if (!result.ok) {
|
|
77728
77946
|
return {
|
|
77729
77947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77810,20 +78028,20 @@ var init_teamMembersPostTeamMembers = __esm(() => {
|
|
|
77810
78028
|
});
|
|
77811
78029
|
|
|
77812
78030
|
// src/mcp-server/tools/teamMembersPostTeamMembers.ts
|
|
77813
|
-
var
|
|
78031
|
+
var args96, tool$teamMembersPostTeamMembers;
|
|
77814
78032
|
var init_teamMembersPostTeamMembers2 = __esm(() => {
|
|
77815
78033
|
init_teamMembersPostTeamMembers();
|
|
77816
78034
|
init_operations();
|
|
77817
78035
|
init_tools();
|
|
77818
|
-
|
|
78036
|
+
args96 = {
|
|
77819
78037
|
request: PostTeamMembersRequest$inboundSchema
|
|
77820
78038
|
};
|
|
77821
78039
|
tool$teamMembersPostTeamMembers = {
|
|
77822
78040
|
name: "team-members-post-team-members",
|
|
77823
78041
|
description: `Create member`,
|
|
77824
|
-
args:
|
|
77825
|
-
tool: async (client,
|
|
77826
|
-
const [result, apiCall] = await teamMembersPostTeamMembers(client,
|
|
78042
|
+
args: args96,
|
|
78043
|
+
tool: async (client, args97, ctx) => {
|
|
78044
|
+
const [result, apiCall] = await teamMembersPostTeamMembers(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77827
78045
|
if (!result.ok) {
|
|
77828
78046
|
return {
|
|
77829
78047
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77910,20 +78128,20 @@ var init_teamsCreate = __esm(() => {
|
|
|
77910
78128
|
});
|
|
77911
78129
|
|
|
77912
78130
|
// src/mcp-server/tools/teamsCreate.ts
|
|
77913
|
-
var
|
|
78131
|
+
var args97, tool$teamsCreate;
|
|
77914
78132
|
var init_teamsCreate2 = __esm(() => {
|
|
77915
78133
|
init_teamsCreate();
|
|
77916
78134
|
init_operations();
|
|
77917
78135
|
init_tools();
|
|
77918
|
-
|
|
78136
|
+
args97 = {
|
|
77919
78137
|
request: PostTeamRequest$inboundSchema
|
|
77920
78138
|
};
|
|
77921
78139
|
tool$teamsCreate = {
|
|
77922
78140
|
name: "teams-create",
|
|
77923
78141
|
description: `Create team`,
|
|
77924
|
-
args:
|
|
77925
|
-
tool: async (client,
|
|
77926
|
-
const [result, apiCall] = await teamsCreate(client,
|
|
78142
|
+
args: args97,
|
|
78143
|
+
tool: async (client, args98, ctx) => {
|
|
78144
|
+
const [result, apiCall] = await teamsCreate(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77927
78145
|
if (!result.ok) {
|
|
77928
78146
|
return {
|
|
77929
78147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78134,20 +78352,20 @@ var init_teamsMembersGetTeamMembers = __esm(() => {
|
|
|
78134
78352
|
});
|
|
78135
78353
|
|
|
78136
78354
|
// src/mcp-server/tools/teamsMembersGetTeamMembers.ts
|
|
78137
|
-
var
|
|
78355
|
+
var args98, tool$teamsMembersGetTeamMembers;
|
|
78138
78356
|
var init_teamsMembersGetTeamMembers2 = __esm(() => {
|
|
78139
78357
|
init_teamsMembersGetTeamMembers();
|
|
78140
78358
|
init_operations();
|
|
78141
78359
|
init_tools();
|
|
78142
|
-
|
|
78360
|
+
args98 = {
|
|
78143
78361
|
request: GetTeamMembersRequest$inboundSchema.optional()
|
|
78144
78362
|
};
|
|
78145
78363
|
tool$teamsMembersGetTeamMembers = {
|
|
78146
78364
|
name: "teams-members-get-team-members",
|
|
78147
78365
|
description: `List members`,
|
|
78148
|
-
args:
|
|
78149
|
-
tool: async (client,
|
|
78150
|
-
const [result, apiCall] = await teamsMembersGetTeamMembers(client,
|
|
78366
|
+
args: args98,
|
|
78367
|
+
tool: async (client, args99, ctx) => {
|
|
78368
|
+
const [result, apiCall] = await teamsMembersGetTeamMembers(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78151
78369
|
if (!result.ok) {
|
|
78152
78370
|
return {
|
|
78153
78371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78240,20 +78458,20 @@ var init_teamsUpdate = __esm(() => {
|
|
|
78240
78458
|
});
|
|
78241
78459
|
|
|
78242
78460
|
// src/mcp-server/tools/teamsUpdate.ts
|
|
78243
|
-
var
|
|
78461
|
+
var args99, tool$teamsUpdate;
|
|
78244
78462
|
var init_teamsUpdate2 = __esm(() => {
|
|
78245
78463
|
init_teamsUpdate();
|
|
78246
78464
|
init_operations();
|
|
78247
78465
|
init_tools();
|
|
78248
|
-
|
|
78466
|
+
args99 = {
|
|
78249
78467
|
request: PatchCurrentTeamRequest$inboundSchema
|
|
78250
78468
|
};
|
|
78251
78469
|
tool$teamsUpdate = {
|
|
78252
78470
|
name: "teams-update",
|
|
78253
78471
|
description: `Update team`,
|
|
78254
|
-
args:
|
|
78255
|
-
tool: async (client,
|
|
78256
|
-
const [result, apiCall] = await teamsUpdate(client,
|
|
78472
|
+
args: args99,
|
|
78473
|
+
tool: async (client, args100, ctx) => {
|
|
78474
|
+
const [result, apiCall] = await teamsUpdate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78257
78475
|
if (!result.ok) {
|
|
78258
78476
|
return {
|
|
78259
78477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78347,20 +78565,20 @@ var init_trafficGet = __esm(() => {
|
|
|
78347
78565
|
});
|
|
78348
78566
|
|
|
78349
78567
|
// src/mcp-server/tools/trafficGet.ts
|
|
78350
|
-
var
|
|
78568
|
+
var args100, tool$trafficGet;
|
|
78351
78569
|
var init_trafficGet2 = __esm(() => {
|
|
78352
78570
|
init_trafficGet();
|
|
78353
78571
|
init_operations();
|
|
78354
78572
|
init_tools();
|
|
78355
|
-
|
|
78573
|
+
args100 = {
|
|
78356
78574
|
request: GetTrafficConsumptionRequest$inboundSchema
|
|
78357
78575
|
};
|
|
78358
78576
|
tool$trafficGet = {
|
|
78359
78577
|
name: "traffic-get",
|
|
78360
78578
|
description: `Retrieve traffic`,
|
|
78361
|
-
args:
|
|
78362
|
-
tool: async (client,
|
|
78363
|
-
const [result, apiCall] = await trafficGet(client,
|
|
78579
|
+
args: args100,
|
|
78580
|
+
tool: async (client, args101, ctx) => {
|
|
78581
|
+
const [result, apiCall] = await trafficGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78364
78582
|
if (!result.ok) {
|
|
78365
78583
|
return {
|
|
78366
78584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78451,20 +78669,20 @@ var init_trafficGetQuota = __esm(() => {
|
|
|
78451
78669
|
});
|
|
78452
78670
|
|
|
78453
78671
|
// src/mcp-server/tools/trafficGetQuota.ts
|
|
78454
|
-
var
|
|
78672
|
+
var args101, tool$trafficGetQuota;
|
|
78455
78673
|
var init_trafficGetQuota2 = __esm(() => {
|
|
78456
78674
|
init_trafficGetQuota();
|
|
78457
78675
|
init_operations();
|
|
78458
78676
|
init_tools();
|
|
78459
|
-
|
|
78677
|
+
args101 = {
|
|
78460
78678
|
request: GetTrafficQuotaRequest$inboundSchema.optional()
|
|
78461
78679
|
};
|
|
78462
78680
|
tool$trafficGetQuota = {
|
|
78463
78681
|
name: "traffic-get-quota",
|
|
78464
78682
|
description: `Retrieve traffic quota`,
|
|
78465
|
-
args:
|
|
78466
|
-
tool: async (client,
|
|
78467
|
-
const [result, apiCall] = await trafficGetQuota(client,
|
|
78683
|
+
args: args101,
|
|
78684
|
+
tool: async (client, args102, ctx) => {
|
|
78685
|
+
const [result, apiCall] = await trafficGetQuota(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78468
78686
|
if (!result.ok) {
|
|
78469
78687
|
return {
|
|
78470
78688
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78558,12 +78776,12 @@ var init_userDataCreate = __esm(() => {
|
|
|
78558
78776
|
});
|
|
78559
78777
|
|
|
78560
78778
|
// src/mcp-server/tools/userDataCreate.ts
|
|
78561
|
-
var
|
|
78779
|
+
var args102, tool$userDataCreate;
|
|
78562
78780
|
var init_userDataCreate2 = __esm(() => {
|
|
78563
78781
|
init_userDataCreate();
|
|
78564
78782
|
init_operations();
|
|
78565
78783
|
init_tools();
|
|
78566
|
-
|
|
78784
|
+
args102 = {
|
|
78567
78785
|
request: PostProjectUserDataRequest$inboundSchema
|
|
78568
78786
|
};
|
|
78569
78787
|
tool$userDataCreate = {
|
|
@@ -78572,9 +78790,9 @@ var init_userDataCreate2 = __esm(() => {
|
|
|
78572
78790
|
|
|
78573
78791
|
Allows you to create User Data in a project, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
78574
78792
|
`,
|
|
78575
|
-
args:
|
|
78576
|
-
tool: async (client,
|
|
78577
|
-
const [result, apiCall] = await userDataCreate(client,
|
|
78793
|
+
args: args102,
|
|
78794
|
+
tool: async (client, args103, ctx) => {
|
|
78795
|
+
const [result, apiCall] = await userDataCreate(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78578
78796
|
if (!result.ok) {
|
|
78579
78797
|
return {
|
|
78580
78798
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78662,12 +78880,12 @@ var init_userDataCreateNew = __esm(() => {
|
|
|
78662
78880
|
});
|
|
78663
78881
|
|
|
78664
78882
|
// src/mcp-server/tools/userDataCreateNew.ts
|
|
78665
|
-
var
|
|
78883
|
+
var args103, tool$userDataCreateNew;
|
|
78666
78884
|
var init_userDataCreateNew2 = __esm(() => {
|
|
78667
78885
|
init_userDataCreateNew();
|
|
78668
78886
|
init_operations();
|
|
78669
78887
|
init_tools();
|
|
78670
|
-
|
|
78888
|
+
args103 = {
|
|
78671
78889
|
request: PostUserDataRequest$inboundSchema
|
|
78672
78890
|
};
|
|
78673
78891
|
tool$userDataCreateNew = {
|
|
@@ -78676,9 +78894,9 @@ var init_userDataCreateNew2 = __esm(() => {
|
|
|
78676
78894
|
|
|
78677
78895
|
Allows you to create User Data in a team, which can be used to perform custom setup on your servers after deploy and reinstall.
|
|
78678
78896
|
`,
|
|
78679
|
-
args:
|
|
78680
|
-
tool: async (client,
|
|
78681
|
-
const [result, apiCall] = await userDataCreateNew(client,
|
|
78897
|
+
args: args103,
|
|
78898
|
+
tool: async (client, args104, ctx) => {
|
|
78899
|
+
const [result, apiCall] = await userDataCreateNew(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78682
78900
|
if (!result.ok) {
|
|
78683
78901
|
return {
|
|
78684
78902
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78769,20 +78987,20 @@ var init_userDataDelete = __esm(() => {
|
|
|
78769
78987
|
});
|
|
78770
78988
|
|
|
78771
78989
|
// src/mcp-server/tools/userDataDelete.ts
|
|
78772
|
-
var
|
|
78990
|
+
var args104, tool$userDataDelete;
|
|
78773
78991
|
var init_userDataDelete2 = __esm(() => {
|
|
78774
78992
|
init_userDataDelete();
|
|
78775
78993
|
init_operations();
|
|
78776
78994
|
init_tools();
|
|
78777
|
-
|
|
78995
|
+
args104 = {
|
|
78778
78996
|
request: DeleteUserDataRequest$inboundSchema
|
|
78779
78997
|
};
|
|
78780
78998
|
tool$userDataDelete = {
|
|
78781
78999
|
name: "user-data-delete",
|
|
78782
79000
|
description: `Delete user data`,
|
|
78783
|
-
args:
|
|
78784
|
-
tool: async (client,
|
|
78785
|
-
const [result, apiCall] = await userDataDelete(client,
|
|
79001
|
+
args: args104,
|
|
79002
|
+
tool: async (client, args105, ctx) => {
|
|
79003
|
+
const [result, apiCall] = await userDataDelete(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78786
79004
|
if (!result.ok) {
|
|
78787
79005
|
return {
|
|
78788
79006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78876,12 +79094,12 @@ var init_userDataDeleteProjectUserData = __esm(() => {
|
|
|
78876
79094
|
});
|
|
78877
79095
|
|
|
78878
79096
|
// src/mcp-server/tools/userDataDeleteProjectUserData.ts
|
|
78879
|
-
var
|
|
79097
|
+
var args105, tool$userDataDeleteProjectUserData;
|
|
78880
79098
|
var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
78881
79099
|
init_userDataDeleteProjectUserData();
|
|
78882
79100
|
init_operations();
|
|
78883
79101
|
init_tools();
|
|
78884
|
-
|
|
79102
|
+
args105 = {
|
|
78885
79103
|
request: DeleteProjectUserDataRequest$inboundSchema
|
|
78886
79104
|
};
|
|
78887
79105
|
tool$userDataDeleteProjectUserData = {
|
|
@@ -78890,9 +79108,9 @@ var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
|
78890
79108
|
|
|
78891
79109
|
Allow you remove User Data in a project.
|
|
78892
79110
|
`,
|
|
78893
|
-
args:
|
|
78894
|
-
tool: async (client,
|
|
78895
|
-
const [result, apiCall] = await userDataDeleteProjectUserData(client,
|
|
79111
|
+
args: args105,
|
|
79112
|
+
tool: async (client, args106, ctx) => {
|
|
79113
|
+
const [result, apiCall] = await userDataDeleteProjectUserData(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78896
79114
|
if (!result.ok) {
|
|
78897
79115
|
return {
|
|
78898
79116
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78992,12 +79210,12 @@ var init_userDataGetProjectUserData = __esm(() => {
|
|
|
78992
79210
|
});
|
|
78993
79211
|
|
|
78994
79212
|
// src/mcp-server/tools/userDataGetProjectUserData.ts
|
|
78995
|
-
var
|
|
79213
|
+
var args106, tool$userDataGetProjectUserData;
|
|
78996
79214
|
var init_userDataGetProjectUserData2 = __esm(() => {
|
|
78997
79215
|
init_userDataGetProjectUserData();
|
|
78998
79216
|
init_operations();
|
|
78999
79217
|
init_tools();
|
|
79000
|
-
|
|
79218
|
+
args106 = {
|
|
79001
79219
|
request: GetProjectUserDataRequest$inboundSchema
|
|
79002
79220
|
};
|
|
79003
79221
|
tool$userDataGetProjectUserData = {
|
|
@@ -79006,9 +79224,9 @@ var init_userDataGetProjectUserData2 = __esm(() => {
|
|
|
79006
79224
|
|
|
79007
79225
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79008
79226
|
`,
|
|
79009
|
-
args:
|
|
79010
|
-
tool: async (client,
|
|
79011
|
-
const [result, apiCall] = await userDataGetProjectUserData(client,
|
|
79227
|
+
args: args106,
|
|
79228
|
+
tool: async (client, args107, ctx) => {
|
|
79229
|
+
const [result, apiCall] = await userDataGetProjectUserData(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79012
79230
|
if (!result.ok) {
|
|
79013
79231
|
return {
|
|
79014
79232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79105,12 +79323,12 @@ var init_userDataGetProjectUsersData = __esm(() => {
|
|
|
79105
79323
|
});
|
|
79106
79324
|
|
|
79107
79325
|
// src/mcp-server/tools/userDataGetProjectUsersData.ts
|
|
79108
|
-
var
|
|
79326
|
+
var args107, tool$userDataGetProjectUsersData;
|
|
79109
79327
|
var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
79110
79328
|
init_userDataGetProjectUsersData();
|
|
79111
79329
|
init_operations();
|
|
79112
79330
|
init_tools();
|
|
79113
|
-
|
|
79331
|
+
args107 = {
|
|
79114
79332
|
request: GetProjectUsersDataRequest$inboundSchema
|
|
79115
79333
|
};
|
|
79116
79334
|
tool$userDataGetProjectUsersData = {
|
|
@@ -79119,9 +79337,9 @@ var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
|
79119
79337
|
|
|
79120
79338
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79121
79339
|
`,
|
|
79122
|
-
args:
|
|
79123
|
-
tool: async (client,
|
|
79124
|
-
const [result, apiCall] = await userDataGetProjectUsersData(client,
|
|
79340
|
+
args: args107,
|
|
79341
|
+
tool: async (client, args108, ctx) => {
|
|
79342
|
+
const [result, apiCall] = await userDataGetProjectUsersData(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79125
79343
|
if (!result.ok) {
|
|
79126
79344
|
return {
|
|
79127
79345
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79250,12 +79468,12 @@ var init_userDataList = __esm(() => {
|
|
|
79250
79468
|
});
|
|
79251
79469
|
|
|
79252
79470
|
// src/mcp-server/tools/userDataList.ts
|
|
79253
|
-
var
|
|
79471
|
+
var args108, tool$userDataList;
|
|
79254
79472
|
var init_userDataList2 = __esm(() => {
|
|
79255
79473
|
init_userDataList();
|
|
79256
79474
|
init_operations();
|
|
79257
79475
|
init_tools();
|
|
79258
|
-
|
|
79476
|
+
args108 = {
|
|
79259
79477
|
request: GetUsersDataRequest$inboundSchema.optional()
|
|
79260
79478
|
};
|
|
79261
79479
|
tool$userDataList = {
|
|
@@ -79264,9 +79482,9 @@ var init_userDataList2 = __esm(() => {
|
|
|
79264
79482
|
|
|
79265
79483
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79266
79484
|
`,
|
|
79267
|
-
args:
|
|
79268
|
-
tool: async (client,
|
|
79269
|
-
const [result, apiCall] = await userDataList(client,
|
|
79485
|
+
args: args108,
|
|
79486
|
+
tool: async (client, args109, ctx) => {
|
|
79487
|
+
const [result, apiCall] = await userDataList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79270
79488
|
if (!result.ok) {
|
|
79271
79489
|
return {
|
|
79272
79490
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79363,12 +79581,12 @@ var init_userDataRetrieve = __esm(() => {
|
|
|
79363
79581
|
});
|
|
79364
79582
|
|
|
79365
79583
|
// src/mcp-server/tools/userDataRetrieve.ts
|
|
79366
|
-
var
|
|
79584
|
+
var args109, tool$userDataRetrieve;
|
|
79367
79585
|
var init_userDataRetrieve2 = __esm(() => {
|
|
79368
79586
|
init_userDataRetrieve();
|
|
79369
79587
|
init_operations();
|
|
79370
79588
|
init_tools();
|
|
79371
|
-
|
|
79589
|
+
args109 = {
|
|
79372
79590
|
request: GetUserDataRequest$inboundSchema
|
|
79373
79591
|
};
|
|
79374
79592
|
tool$userDataRetrieve = {
|
|
@@ -79377,9 +79595,9 @@ var init_userDataRetrieve2 = __esm(() => {
|
|
|
79377
79595
|
|
|
79378
79596
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79379
79597
|
`,
|
|
79380
|
-
args:
|
|
79381
|
-
tool: async (client,
|
|
79382
|
-
const [result, apiCall] = await userDataRetrieve(client,
|
|
79598
|
+
args: args109,
|
|
79599
|
+
tool: async (client, args110, ctx) => {
|
|
79600
|
+
const [result, apiCall] = await userDataRetrieve(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79383
79601
|
if (!result.ok) {
|
|
79384
79602
|
return {
|
|
79385
79603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79473,12 +79691,12 @@ var init_userDataUpdate = __esm(() => {
|
|
|
79473
79691
|
});
|
|
79474
79692
|
|
|
79475
79693
|
// src/mcp-server/tools/userDataUpdate.ts
|
|
79476
|
-
var
|
|
79694
|
+
var args110, tool$userDataUpdate;
|
|
79477
79695
|
var init_userDataUpdate2 = __esm(() => {
|
|
79478
79696
|
init_userDataUpdate();
|
|
79479
79697
|
init_operations();
|
|
79480
79698
|
init_tools();
|
|
79481
|
-
|
|
79699
|
+
args110 = {
|
|
79482
79700
|
request: PatchUserDataRequest$inboundSchema
|
|
79483
79701
|
};
|
|
79484
79702
|
tool$userDataUpdate = {
|
|
@@ -79487,9 +79705,9 @@ var init_userDataUpdate2 = __esm(() => {
|
|
|
79487
79705
|
|
|
79488
79706
|
Allow you update User Data in a team.
|
|
79489
79707
|
`,
|
|
79490
|
-
args:
|
|
79491
|
-
tool: async (client,
|
|
79492
|
-
const [result, apiCall] = await userDataUpdate(client,
|
|
79708
|
+
args: args110,
|
|
79709
|
+
tool: async (client, args111, ctx) => {
|
|
79710
|
+
const [result, apiCall] = await userDataUpdate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79493
79711
|
if (!result.ok) {
|
|
79494
79712
|
return {
|
|
79495
79713
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79587,12 +79805,12 @@ var init_userDataUpdateForProject = __esm(() => {
|
|
|
79587
79805
|
});
|
|
79588
79806
|
|
|
79589
79807
|
// src/mcp-server/tools/userDataUpdateForProject.ts
|
|
79590
|
-
var
|
|
79808
|
+
var args111, tool$userDataUpdateForProject;
|
|
79591
79809
|
var init_userDataUpdateForProject2 = __esm(() => {
|
|
79592
79810
|
init_userDataUpdateForProject();
|
|
79593
79811
|
init_operations();
|
|
79594
79812
|
init_tools();
|
|
79595
|
-
|
|
79813
|
+
args111 = {
|
|
79596
79814
|
request: PutProjectUserDataRequest$inboundSchema
|
|
79597
79815
|
};
|
|
79598
79816
|
tool$userDataUpdateForProject = {
|
|
@@ -79601,9 +79819,9 @@ var init_userDataUpdateForProject2 = __esm(() => {
|
|
|
79601
79819
|
|
|
79602
79820
|
Allow you update User Data in a project.
|
|
79603
79821
|
`,
|
|
79604
|
-
args:
|
|
79605
|
-
tool: async (client,
|
|
79606
|
-
const [result, apiCall] = await userDataUpdateForProject(client,
|
|
79822
|
+
args: args111,
|
|
79823
|
+
tool: async (client, args112, ctx) => {
|
|
79824
|
+
const [result, apiCall] = await userDataUpdateForProject(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79607
79825
|
if (!result.ok) {
|
|
79608
79826
|
return {
|
|
79609
79827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79872,12 +80090,12 @@ var init_userProfileUpdate = __esm(() => {
|
|
|
79872
80090
|
});
|
|
79873
80091
|
|
|
79874
80092
|
// src/mcp-server/tools/userProfileUpdate.ts
|
|
79875
|
-
var
|
|
80093
|
+
var args112, tool$userProfileUpdate;
|
|
79876
80094
|
var init_userProfileUpdate2 = __esm(() => {
|
|
79877
80095
|
init_userProfileUpdate();
|
|
79878
80096
|
init_operations();
|
|
79879
80097
|
init_tools();
|
|
79880
|
-
|
|
80098
|
+
args112 = {
|
|
79881
80099
|
request: PatchUserProfileRequest$inboundSchema
|
|
79882
80100
|
};
|
|
79883
80101
|
tool$userProfileUpdate = {
|
|
@@ -79886,9 +80104,9 @@ var init_userProfileUpdate2 = __esm(() => {
|
|
|
79886
80104
|
|
|
79887
80105
|
Update the current user profile
|
|
79888
80106
|
`,
|
|
79889
|
-
args:
|
|
79890
|
-
tool: async (client,
|
|
79891
|
-
const [result, apiCall] = await userProfileUpdate(client,
|
|
80107
|
+
args: args112,
|
|
80108
|
+
tool: async (client, args113, ctx) => {
|
|
80109
|
+
const [result, apiCall] = await userProfileUpdate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79892
80110
|
if (!result.ok) {
|
|
79893
80111
|
return {
|
|
79894
80112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79981,12 +80199,12 @@ var init_virtualMachineBackupsCreate = __esm(() => {
|
|
|
79981
80199
|
});
|
|
79982
80200
|
|
|
79983
80201
|
// src/mcp-server/tools/virtualMachineBackupsCreate.ts
|
|
79984
|
-
var
|
|
80202
|
+
var args113, tool$virtualMachineBackupsCreate;
|
|
79985
80203
|
var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
79986
80204
|
init_virtualMachineBackupsCreate();
|
|
79987
80205
|
init_models();
|
|
79988
80206
|
init_tools();
|
|
79989
|
-
|
|
80207
|
+
args113 = {
|
|
79990
80208
|
request: VirtualMachineBackupPayload$inboundSchema
|
|
79991
80209
|
};
|
|
79992
80210
|
tool$virtualMachineBackupsCreate = {
|
|
@@ -79995,9 +80213,9 @@ var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
|
79995
80213
|
|
|
79996
80214
|
Triggers a backup of the Virtual Machine referenced in the body.
|
|
79997
80215
|
`,
|
|
79998
|
-
args:
|
|
79999
|
-
tool: async (client,
|
|
80000
|
-
const [result, apiCall] = await virtualMachineBackupsCreate(client,
|
|
80216
|
+
args: args113,
|
|
80217
|
+
tool: async (client, args114, ctx) => {
|
|
80218
|
+
const [result, apiCall] = await virtualMachineBackupsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80001
80219
|
if (!result.ok) {
|
|
80002
80220
|
return {
|
|
80003
80221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80093,12 +80311,12 @@ var init_virtualMachineBackupsCreateForVirtualMachine = __esm(() => {
|
|
|
80093
80311
|
});
|
|
80094
80312
|
|
|
80095
80313
|
// src/mcp-server/tools/virtualMachineBackupsCreateForVirtualMachine.ts
|
|
80096
|
-
var
|
|
80314
|
+
var args114, tool$virtualMachineBackupsCreateForVirtualMachine;
|
|
80097
80315
|
var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
80098
80316
|
init_virtualMachineBackupsCreateForVirtualMachine();
|
|
80099
80317
|
init_operations();
|
|
80100
80318
|
init_tools();
|
|
80101
|
-
|
|
80319
|
+
args114 = {
|
|
80102
80320
|
request: CreateVirtualMachineBackupRequest$inboundSchema
|
|
80103
80321
|
};
|
|
80104
80322
|
tool$virtualMachineBackupsCreateForVirtualMachine = {
|
|
@@ -80107,9 +80325,9 @@ var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
|
80107
80325
|
|
|
80108
80326
|
Triggers a backup of the given Virtual Machine.
|
|
80109
80327
|
`,
|
|
80110
|
-
args:
|
|
80111
|
-
tool: async (client,
|
|
80112
|
-
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client,
|
|
80328
|
+
args: args114,
|
|
80329
|
+
tool: async (client, args115, ctx) => {
|
|
80330
|
+
const [result, apiCall] = await virtualMachineBackupsCreateForVirtualMachine(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80113
80331
|
if (!result.ok) {
|
|
80114
80332
|
return {
|
|
80115
80333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80208,12 +80426,12 @@ var init_virtualMachineBackupsDelete = __esm(() => {
|
|
|
80208
80426
|
});
|
|
80209
80427
|
|
|
80210
80428
|
// src/mcp-server/tools/virtualMachineBackupsDelete.ts
|
|
80211
|
-
var
|
|
80429
|
+
var args115, tool$virtualMachineBackupsDelete;
|
|
80212
80430
|
var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
80213
80431
|
init_virtualMachineBackupsDelete();
|
|
80214
80432
|
init_operations();
|
|
80215
80433
|
init_tools();
|
|
80216
|
-
|
|
80434
|
+
args115 = {
|
|
80217
80435
|
request: DeleteVirtualMachineBackupRequest$inboundSchema
|
|
80218
80436
|
};
|
|
80219
80437
|
tool$virtualMachineBackupsDelete = {
|
|
@@ -80222,9 +80440,9 @@ var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
|
80222
80440
|
|
|
80223
80441
|
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.
|
|
80224
80442
|
`,
|
|
80225
|
-
args:
|
|
80226
|
-
tool: async (client,
|
|
80227
|
-
const [result, apiCall] = await virtualMachineBackupsDelete(client,
|
|
80443
|
+
args: args115,
|
|
80444
|
+
tool: async (client, args116, ctx) => {
|
|
80445
|
+
const [result, apiCall] = await virtualMachineBackupsDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80228
80446
|
if (!result.ok) {
|
|
80229
80447
|
return {
|
|
80230
80448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80323,20 +80541,20 @@ var init_virtualMachineBackupsGet = __esm(() => {
|
|
|
80323
80541
|
});
|
|
80324
80542
|
|
|
80325
80543
|
// src/mcp-server/tools/virtualMachineBackupsGet.ts
|
|
80326
|
-
var
|
|
80544
|
+
var args116, tool$virtualMachineBackupsGet;
|
|
80327
80545
|
var init_virtualMachineBackupsGet2 = __esm(() => {
|
|
80328
80546
|
init_virtualMachineBackupsGet();
|
|
80329
80547
|
init_operations();
|
|
80330
80548
|
init_tools();
|
|
80331
|
-
|
|
80549
|
+
args116 = {
|
|
80332
80550
|
request: GetVirtualMachineBackupRequest$inboundSchema
|
|
80333
80551
|
};
|
|
80334
80552
|
tool$virtualMachineBackupsGet = {
|
|
80335
80553
|
name: "virtual-machine-backups-get",
|
|
80336
80554
|
description: `Get VM backup`,
|
|
80337
|
-
args:
|
|
80338
|
-
tool: async (client,
|
|
80339
|
-
const [result, apiCall] = await virtualMachineBackupsGet(client,
|
|
80555
|
+
args: args116,
|
|
80556
|
+
tool: async (client, args117, ctx) => {
|
|
80557
|
+
const [result, apiCall] = await virtualMachineBackupsGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80340
80558
|
if (!result.ok) {
|
|
80341
80559
|
return {
|
|
80342
80560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80526,12 +80744,12 @@ var init_virtualMachineBackupsListForVirtualMachine = __esm(() => {
|
|
|
80526
80744
|
});
|
|
80527
80745
|
|
|
80528
80746
|
// src/mcp-server/tools/virtualMachineBackupsListForVirtualMachine.ts
|
|
80529
|
-
var
|
|
80747
|
+
var args117, tool$virtualMachineBackupsListForVirtualMachine;
|
|
80530
80748
|
var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
80531
80749
|
init_virtualMachineBackupsListForVirtualMachine();
|
|
80532
80750
|
init_operations();
|
|
80533
80751
|
init_tools();
|
|
80534
|
-
|
|
80752
|
+
args117 = {
|
|
80535
80753
|
request: ListVirtualMachineScopedBackupsRequest$inboundSchema
|
|
80536
80754
|
};
|
|
80537
80755
|
tool$virtualMachineBackupsListForVirtualMachine = {
|
|
@@ -80540,9 +80758,9 @@ var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
|
80540
80758
|
|
|
80541
80759
|
Lists the backups of the given Virtual Machine.
|
|
80542
80760
|
`,
|
|
80543
|
-
args:
|
|
80544
|
-
tool: async (client,
|
|
80545
|
-
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client,
|
|
80761
|
+
args: args117,
|
|
80762
|
+
tool: async (client, args118, ctx) => {
|
|
80763
|
+
const [result, apiCall] = await virtualMachineBackupsListForVirtualMachine(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80546
80764
|
if (!result.ok) {
|
|
80547
80765
|
return {
|
|
80548
80766
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80635,12 +80853,12 @@ var init_virtualMachineRestoresCreate = __esm(() => {
|
|
|
80635
80853
|
});
|
|
80636
80854
|
|
|
80637
80855
|
// src/mcp-server/tools/virtualMachineRestoresCreate.ts
|
|
80638
|
-
var
|
|
80856
|
+
var args118, tool$virtualMachineRestoresCreate;
|
|
80639
80857
|
var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
80640
80858
|
init_virtualMachineRestoresCreate();
|
|
80641
80859
|
init_models();
|
|
80642
80860
|
init_tools();
|
|
80643
|
-
|
|
80861
|
+
args118 = {
|
|
80644
80862
|
request: VirtualMachineRestorePayload$inboundSchema
|
|
80645
80863
|
};
|
|
80646
80864
|
tool$virtualMachineRestoresCreate = {
|
|
@@ -80649,9 +80867,9 @@ var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
|
80649
80867
|
|
|
80650
80868
|
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.
|
|
80651
80869
|
`,
|
|
80652
|
-
args:
|
|
80653
|
-
tool: async (client,
|
|
80654
|
-
const [result, apiCall] = await virtualMachineRestoresCreate(client,
|
|
80870
|
+
args: args118,
|
|
80871
|
+
tool: async (client, args119, ctx) => {
|
|
80872
|
+
const [result, apiCall] = await virtualMachineRestoresCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80655
80873
|
if (!result.ok) {
|
|
80656
80874
|
return {
|
|
80657
80875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80754,12 +80972,12 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup = __esm(() => {
|
|
|
80754
80972
|
});
|
|
80755
80973
|
|
|
80756
80974
|
// src/mcp-server/tools/virtualMachineRestoresCreateForVirtualMachineBackup.ts
|
|
80757
|
-
var
|
|
80975
|
+
var args119, tool$virtualMachineRestoresCreateForVirtualMachineBackup;
|
|
80758
80976
|
var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
80759
80977
|
init_virtualMachineRestoresCreateForVirtualMachineBackup();
|
|
80760
80978
|
init_operations();
|
|
80761
80979
|
init_tools();
|
|
80762
|
-
|
|
80980
|
+
args119 = {
|
|
80763
80981
|
request: CreateVirtualMachineRestoreRequest$inboundSchema
|
|
80764
80982
|
};
|
|
80765
80983
|
tool$virtualMachineRestoresCreateForVirtualMachineBackup = {
|
|
@@ -80768,9 +80986,9 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
|
80768
80986
|
|
|
80769
80987
|
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.
|
|
80770
80988
|
`,
|
|
80771
|
-
args:
|
|
80772
|
-
tool: async (client,
|
|
80773
|
-
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client,
|
|
80989
|
+
args: args119,
|
|
80990
|
+
tool: async (client, args120, ctx) => {
|
|
80991
|
+
const [result, apiCall] = await virtualMachineRestoresCreateForVirtualMachineBackup(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80774
80992
|
if (!result.ok) {
|
|
80775
80993
|
return {
|
|
80776
80994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80869,20 +81087,20 @@ var init_virtualMachineRestoresGet = __esm(() => {
|
|
|
80869
81087
|
});
|
|
80870
81088
|
|
|
80871
81089
|
// src/mcp-server/tools/virtualMachineRestoresGet.ts
|
|
80872
|
-
var
|
|
81090
|
+
var args120, tool$virtualMachineRestoresGet;
|
|
80873
81091
|
var init_virtualMachineRestoresGet2 = __esm(() => {
|
|
80874
81092
|
init_virtualMachineRestoresGet();
|
|
80875
81093
|
init_operations();
|
|
80876
81094
|
init_tools();
|
|
80877
|
-
|
|
81095
|
+
args120 = {
|
|
80878
81096
|
request: GetVirtualMachineRestoreRequest$inboundSchema
|
|
80879
81097
|
};
|
|
80880
81098
|
tool$virtualMachineRestoresGet = {
|
|
80881
81099
|
name: "virtual-machine-restores-get",
|
|
80882
81100
|
description: `Get VM restore`,
|
|
80883
|
-
args:
|
|
80884
|
-
tool: async (client,
|
|
80885
|
-
const [result, apiCall] = await virtualMachineRestoresGet(client,
|
|
81101
|
+
args: args120,
|
|
81102
|
+
tool: async (client, args121, ctx) => {
|
|
81103
|
+
const [result, apiCall] = await virtualMachineRestoresGet(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80886
81104
|
if (!result.ok) {
|
|
80887
81105
|
return {
|
|
80888
81106
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81075,12 +81293,12 @@ var init_virtualMachineRestoresListForBackup = __esm(() => {
|
|
|
81075
81293
|
});
|
|
81076
81294
|
|
|
81077
81295
|
// src/mcp-server/tools/virtualMachineRestoresListForBackup.ts
|
|
81078
|
-
var
|
|
81296
|
+
var args121, tool$virtualMachineRestoresListForBackup;
|
|
81079
81297
|
var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
81080
81298
|
init_virtualMachineRestoresListForBackup();
|
|
81081
81299
|
init_operations();
|
|
81082
81300
|
init_tools();
|
|
81083
|
-
|
|
81301
|
+
args121 = {
|
|
81084
81302
|
request: ListBackupRestoresRequest$inboundSchema
|
|
81085
81303
|
};
|
|
81086
81304
|
tool$virtualMachineRestoresListForBackup = {
|
|
@@ -81089,9 +81307,9 @@ var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
|
81089
81307
|
|
|
81090
81308
|
Lists the restores created from the given backup, reached via the top-level backup path.
|
|
81091
81309
|
`,
|
|
81092
|
-
args:
|
|
81093
|
-
tool: async (client,
|
|
81094
|
-
const [result, apiCall] = await virtualMachineRestoresListForBackup(client,
|
|
81310
|
+
args: args121,
|
|
81311
|
+
tool: async (client, args122, ctx) => {
|
|
81312
|
+
const [result, apiCall] = await virtualMachineRestoresListForBackup(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81095
81313
|
if (!result.ok) {
|
|
81096
81314
|
return {
|
|
81097
81315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81191,12 +81409,12 @@ var init_virtualMachineRestoresListForVirtualMachineBackup = __esm(() => {
|
|
|
81191
81409
|
});
|
|
81192
81410
|
|
|
81193
81411
|
// src/mcp-server/tools/virtualMachineRestoresListForVirtualMachineBackup.ts
|
|
81194
|
-
var
|
|
81412
|
+
var args122, tool$virtualMachineRestoresListForVirtualMachineBackup;
|
|
81195
81413
|
var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
81196
81414
|
init_virtualMachineRestoresListForVirtualMachineBackup();
|
|
81197
81415
|
init_operations();
|
|
81198
81416
|
init_tools();
|
|
81199
|
-
|
|
81417
|
+
args122 = {
|
|
81200
81418
|
request: ListVirtualMachineScopedRestoresRequest$inboundSchema
|
|
81201
81419
|
};
|
|
81202
81420
|
tool$virtualMachineRestoresListForVirtualMachineBackup = {
|
|
@@ -81205,9 +81423,9 @@ var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
|
81205
81423
|
|
|
81206
81424
|
Lists the restores created from the given backup.
|
|
81207
81425
|
`,
|
|
81208
|
-
args:
|
|
81209
|
-
tool: async (client,
|
|
81210
|
-
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client,
|
|
81426
|
+
args: args122,
|
|
81427
|
+
tool: async (client, args123, ctx) => {
|
|
81428
|
+
const [result, apiCall] = await virtualMachineRestoresListForVirtualMachineBackup(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81211
81429
|
if (!result.ok) {
|
|
81212
81430
|
return {
|
|
81213
81431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81294,12 +81512,12 @@ var init_virtualMachinesCreate = __esm(() => {
|
|
|
81294
81512
|
});
|
|
81295
81513
|
|
|
81296
81514
|
// src/mcp-server/tools/virtualMachinesCreate.ts
|
|
81297
|
-
var
|
|
81515
|
+
var args123, tool$virtualMachinesCreate;
|
|
81298
81516
|
var init_virtualMachinesCreate2 = __esm(() => {
|
|
81299
81517
|
init_virtualMachinesCreate();
|
|
81300
81518
|
init_models();
|
|
81301
81519
|
init_tools();
|
|
81302
|
-
|
|
81520
|
+
args123 = {
|
|
81303
81521
|
request: VirtualMachinePayload$inboundSchema
|
|
81304
81522
|
};
|
|
81305
81523
|
tool$virtualMachinesCreate = {
|
|
@@ -81308,9 +81526,9 @@ var init_virtualMachinesCreate2 = __esm(() => {
|
|
|
81308
81526
|
|
|
81309
81527
|
Creates a new Virtual Machine.
|
|
81310
81528
|
`,
|
|
81311
|
-
args:
|
|
81312
|
-
tool: async (client,
|
|
81313
|
-
const [result, apiCall] = await virtualMachinesCreate(client,
|
|
81529
|
+
args: args123,
|
|
81530
|
+
tool: async (client, args124, ctx) => {
|
|
81531
|
+
const [result, apiCall] = await virtualMachinesCreate(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81314
81532
|
if (!result.ok) {
|
|
81315
81533
|
return {
|
|
81316
81534
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81399,12 +81617,12 @@ var init_virtualMachinesCreateVirtualMachineAction = __esm(() => {
|
|
|
81399
81617
|
});
|
|
81400
81618
|
|
|
81401
81619
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineAction.ts
|
|
81402
|
-
var
|
|
81620
|
+
var args124, tool$virtualMachinesCreateVirtualMachineAction;
|
|
81403
81621
|
var init_virtualMachinesCreateVirtualMachineAction2 = __esm(() => {
|
|
81404
81622
|
init_virtualMachinesCreateVirtualMachineAction();
|
|
81405
81623
|
init_operations();
|
|
81406
81624
|
init_tools();
|
|
81407
|
-
|
|
81625
|
+
args124 = {
|
|
81408
81626
|
request: CreateVirtualMachineActionRequest$inboundSchema
|
|
81409
81627
|
};
|
|
81410
81628
|
tool$virtualMachinesCreateVirtualMachineAction = {
|
|
@@ -81416,9 +81634,9 @@ Performs a power action on a given virtual machine:
|
|
|
81416
81634
|
- \`power_off\` - Stops the virtual machine
|
|
81417
81635
|
- \`reboot\` - Restarts the virtual machine
|
|
81418
81636
|
`,
|
|
81419
|
-
args:
|
|
81420
|
-
tool: async (client,
|
|
81421
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client,
|
|
81637
|
+
args: args124,
|
|
81638
|
+
tool: async (client, args125, ctx) => {
|
|
81639
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81422
81640
|
if (!result.ok) {
|
|
81423
81641
|
return {
|
|
81424
81642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81505,12 +81723,12 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81505
81723
|
});
|
|
81506
81724
|
|
|
81507
81725
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
81508
|
-
var
|
|
81726
|
+
var args125, tool$virtualMachinesCreateVirtualMachineNetworkAttachment;
|
|
81509
81727
|
var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81510
81728
|
init_virtualMachinesCreateVirtualMachineNetworkAttachment();
|
|
81511
81729
|
init_operations();
|
|
81512
81730
|
init_tools();
|
|
81513
|
-
|
|
81731
|
+
args125 = {
|
|
81514
81732
|
request: CreateVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81515
81733
|
};
|
|
81516
81734
|
tool$virtualMachinesCreateVirtualMachineNetworkAttachment = {
|
|
@@ -81519,9 +81737,9 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81519
81737
|
|
|
81520
81738
|
Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81521
81739
|
`,
|
|
81522
|
-
args:
|
|
81523
|
-
tool: async (client,
|
|
81524
|
-
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client,
|
|
81740
|
+
args: args125,
|
|
81741
|
+
tool: async (client, args126, ctx) => {
|
|
81742
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81525
81743
|
if (!result.ok) {
|
|
81526
81744
|
return {
|
|
81527
81745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81609,12 +81827,12 @@ var init_virtualMachinesDelete = __esm(() => {
|
|
|
81609
81827
|
});
|
|
81610
81828
|
|
|
81611
81829
|
// src/mcp-server/tools/virtualMachinesDelete.ts
|
|
81612
|
-
var
|
|
81830
|
+
var args126, tool$virtualMachinesDelete;
|
|
81613
81831
|
var init_virtualMachinesDelete2 = __esm(() => {
|
|
81614
81832
|
init_virtualMachinesDelete();
|
|
81615
81833
|
init_operations();
|
|
81616
81834
|
init_tools();
|
|
81617
|
-
|
|
81835
|
+
args126 = {
|
|
81618
81836
|
request: DestroyVirtualMachineRequest$inboundSchema
|
|
81619
81837
|
};
|
|
81620
81838
|
tool$virtualMachinesDelete = {
|
|
@@ -81623,9 +81841,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
|
|
|
81623
81841
|
|
|
81624
81842
|
Destroys a Virtual Machine.
|
|
81625
81843
|
`,
|
|
81626
|
-
args:
|
|
81627
|
-
tool: async (client,
|
|
81628
|
-
const [result, apiCall] = await virtualMachinesDelete(client,
|
|
81844
|
+
args: args126,
|
|
81845
|
+
tool: async (client, args127, ctx) => {
|
|
81846
|
+
const [result, apiCall] = await virtualMachinesDelete(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81629
81847
|
if (!result.ok) {
|
|
81630
81848
|
return {
|
|
81631
81849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81715,12 +81933,12 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81715
81933
|
});
|
|
81716
81934
|
|
|
81717
81935
|
// src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
81718
|
-
var
|
|
81936
|
+
var args127, tool$virtualMachinesDestroyVirtualMachineNetworkAttachment;
|
|
81719
81937
|
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81720
81938
|
init_virtualMachinesDestroyVirtualMachineNetworkAttachment();
|
|
81721
81939
|
init_operations();
|
|
81722
81940
|
init_tools();
|
|
81723
|
-
|
|
81941
|
+
args127 = {
|
|
81724
81942
|
request: DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81725
81943
|
};
|
|
81726
81944
|
tool$virtualMachinesDestroyVirtualMachineNetworkAttachment = {
|
|
@@ -81729,9 +81947,9 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81729
81947
|
|
|
81730
81948
|
Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81731
81949
|
`,
|
|
81732
|
-
args:
|
|
81733
|
-
tool: async (client,
|
|
81734
|
-
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client,
|
|
81950
|
+
args: args127,
|
|
81951
|
+
tool: async (client, args128, ctx) => {
|
|
81952
|
+
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81735
81953
|
if (!result.ok) {
|
|
81736
81954
|
return {
|
|
81737
81955
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81825,12 +82043,12 @@ var init_virtualMachinesGet = __esm(() => {
|
|
|
81825
82043
|
});
|
|
81826
82044
|
|
|
81827
82045
|
// src/mcp-server/tools/virtualMachinesGet.ts
|
|
81828
|
-
var
|
|
82046
|
+
var args128, tool$virtualMachinesGet;
|
|
81829
82047
|
var init_virtualMachinesGet2 = __esm(() => {
|
|
81830
82048
|
init_virtualMachinesGet();
|
|
81831
82049
|
init_operations();
|
|
81832
82050
|
init_tools();
|
|
81833
|
-
|
|
82051
|
+
args128 = {
|
|
81834
82052
|
request: ShowVirtualMachineRequest$inboundSchema
|
|
81835
82053
|
};
|
|
81836
82054
|
tool$virtualMachinesGet = {
|
|
@@ -81839,9 +82057,9 @@ var init_virtualMachinesGet2 = __esm(() => {
|
|
|
81839
82057
|
|
|
81840
82058
|
Show a Virtual Machine.
|
|
81841
82059
|
`,
|
|
81842
|
-
args:
|
|
81843
|
-
tool: async (client,
|
|
81844
|
-
const [result, apiCall] = await virtualMachinesGet(client,
|
|
82060
|
+
args: args128,
|
|
82061
|
+
tool: async (client, args129, ctx) => {
|
|
82062
|
+
const [result, apiCall] = await virtualMachinesGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81845
82063
|
if (!result.ok) {
|
|
81846
82064
|
return {
|
|
81847
82065
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81974,12 +82192,12 @@ var init_virtualMachinesList = __esm(() => {
|
|
|
81974
82192
|
});
|
|
81975
82193
|
|
|
81976
82194
|
// src/mcp-server/tools/virtualMachinesList.ts
|
|
81977
|
-
var
|
|
82195
|
+
var args129, tool$virtualMachinesList;
|
|
81978
82196
|
var init_virtualMachinesList2 = __esm(() => {
|
|
81979
82197
|
init_virtualMachinesList();
|
|
81980
82198
|
init_operations();
|
|
81981
82199
|
init_tools();
|
|
81982
|
-
|
|
82200
|
+
args129 = {
|
|
81983
82201
|
request: IndexVirtualMachineRequest$inboundSchema.optional()
|
|
81984
82202
|
};
|
|
81985
82203
|
tool$virtualMachinesList = {
|
|
@@ -81988,9 +82206,9 @@ var init_virtualMachinesList2 = __esm(() => {
|
|
|
81988
82206
|
|
|
81989
82207
|
Show all Team's Virtual Machines.
|
|
81990
82208
|
`,
|
|
81991
|
-
args:
|
|
81992
|
-
tool: async (client,
|
|
81993
|
-
const [result, apiCall] = await virtualMachinesList(client,
|
|
82209
|
+
args: args129,
|
|
82210
|
+
tool: async (client, args130, ctx) => {
|
|
82211
|
+
const [result, apiCall] = await virtualMachinesList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81994
82212
|
if (!result.ok) {
|
|
81995
82213
|
return {
|
|
81996
82214
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82080,12 +82298,12 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments = __esm(() => {
|
|
|
82080
82298
|
});
|
|
82081
82299
|
|
|
82082
82300
|
// src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
82083
|
-
var
|
|
82301
|
+
var args130, tool$virtualMachinesListVirtualMachineNetworkAttachments;
|
|
82084
82302
|
var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
82085
82303
|
init_virtualMachinesListVirtualMachineNetworkAttachments();
|
|
82086
82304
|
init_operations();
|
|
82087
82305
|
init_tools();
|
|
82088
|
-
|
|
82306
|
+
args130 = {
|
|
82089
82307
|
request: ListVirtualMachineNetworkAttachmentsRequest$inboundSchema
|
|
82090
82308
|
};
|
|
82091
82309
|
tool$virtualMachinesListVirtualMachineNetworkAttachments = {
|
|
@@ -82094,9 +82312,9 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
|
82094
82312
|
|
|
82095
82313
|
Lists the secondary network attachments currently configured for a Virtual Machine.
|
|
82096
82314
|
`,
|
|
82097
|
-
args:
|
|
82098
|
-
tool: async (client,
|
|
82099
|
-
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client,
|
|
82315
|
+
args: args130,
|
|
82316
|
+
tool: async (client, args131, ctx) => {
|
|
82317
|
+
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82100
82318
|
if (!result.ok) {
|
|
82101
82319
|
return {
|
|
82102
82320
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82192,12 +82410,12 @@ var init_virtualMachinesShowVirtualMachineMetrics = __esm(() => {
|
|
|
82192
82410
|
});
|
|
82193
82411
|
|
|
82194
82412
|
// src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts
|
|
82195
|
-
var
|
|
82413
|
+
var args131, tool$virtualMachinesShowVirtualMachineMetrics;
|
|
82196
82414
|
var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
82197
82415
|
init_virtualMachinesShowVirtualMachineMetrics();
|
|
82198
82416
|
init_operations();
|
|
82199
82417
|
init_tools();
|
|
82200
|
-
|
|
82418
|
+
args131 = {
|
|
82201
82419
|
request: ShowVirtualMachineMetricsRequest$inboundSchema
|
|
82202
82420
|
};
|
|
82203
82421
|
tool$virtualMachinesShowVirtualMachineMetrics = {
|
|
@@ -82205,9 +82423,9 @@ var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
|
82205
82423
|
description: `Retrieve VM metrics
|
|
82206
82424
|
|
|
82207
82425
|
Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
82208
|
-
args:
|
|
82209
|
-
tool: async (client,
|
|
82210
|
-
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client,
|
|
82426
|
+
args: args131,
|
|
82427
|
+
tool: async (client, args132, ctx) => {
|
|
82428
|
+
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82211
82429
|
if (!result.ok) {
|
|
82212
82430
|
return {
|
|
82213
82431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82300,12 +82518,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
|
|
|
82300
82518
|
});
|
|
82301
82519
|
|
|
82302
82520
|
// src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
|
|
82303
|
-
var
|
|
82521
|
+
var args132, tool$virtualMachinesUpdateVirtualMachine;
|
|
82304
82522
|
var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
82305
82523
|
init_virtualMachinesUpdateVirtualMachine();
|
|
82306
82524
|
init_operations();
|
|
82307
82525
|
init_tools();
|
|
82308
|
-
|
|
82526
|
+
args132 = {
|
|
82309
82527
|
request: UpdateVirtualMachineRequest$inboundSchema
|
|
82310
82528
|
};
|
|
82311
82529
|
tool$virtualMachinesUpdateVirtualMachine = {
|
|
@@ -82314,9 +82532,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
|
82314
82532
|
|
|
82315
82533
|
Updates a Virtual Machine's display name (hostname).
|
|
82316
82534
|
`,
|
|
82317
|
-
args:
|
|
82318
|
-
tool: async (client,
|
|
82319
|
-
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client,
|
|
82535
|
+
args: args132,
|
|
82536
|
+
tool: async (client, args133, ctx) => {
|
|
82537
|
+
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82320
82538
|
if (!result.ok) {
|
|
82321
82539
|
return {
|
|
82322
82540
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82407,12 +82625,12 @@ var init_virtualNetworksDelete = __esm(() => {
|
|
|
82407
82625
|
});
|
|
82408
82626
|
|
|
82409
82627
|
// src/mcp-server/tools/virtualNetworksDelete.ts
|
|
82410
|
-
var
|
|
82628
|
+
var args133, tool$virtualNetworksDelete;
|
|
82411
82629
|
var init_virtualNetworksDelete2 = __esm(() => {
|
|
82412
82630
|
init_virtualNetworksDelete();
|
|
82413
82631
|
init_operations();
|
|
82414
82632
|
init_tools();
|
|
82415
|
-
|
|
82633
|
+
args133 = {
|
|
82416
82634
|
request: DestroyVirtualNetworkRequest$inboundSchema
|
|
82417
82635
|
};
|
|
82418
82636
|
tool$virtualNetworksDelete = {
|
|
@@ -82421,9 +82639,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
|
|
|
82421
82639
|
|
|
82422
82640
|
Delete virtual network
|
|
82423
82641
|
`,
|
|
82424
|
-
args:
|
|
82425
|
-
tool: async (client,
|
|
82426
|
-
const [result, apiCall] = await virtualNetworksDelete(client,
|
|
82642
|
+
args: args133,
|
|
82643
|
+
tool: async (client, args134, ctx) => {
|
|
82644
|
+
const [result, apiCall] = await virtualNetworksDelete(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82427
82645
|
if (!result.ok) {
|
|
82428
82646
|
return {
|
|
82429
82647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82510,12 +82728,12 @@ var init_vpnSessionsCreate = __esm(() => {
|
|
|
82510
82728
|
});
|
|
82511
82729
|
|
|
82512
82730
|
// src/mcp-server/tools/vpnSessionsCreate.ts
|
|
82513
|
-
var
|
|
82731
|
+
var args134, tool$vpnSessionsCreate;
|
|
82514
82732
|
var init_vpnSessionsCreate2 = __esm(() => {
|
|
82515
82733
|
init_vpnSessionsCreate();
|
|
82516
82734
|
init_operations();
|
|
82517
82735
|
init_tools();
|
|
82518
|
-
|
|
82736
|
+
args134 = {
|
|
82519
82737
|
request: PostVpnSessionRequest$inboundSchema
|
|
82520
82738
|
};
|
|
82521
82739
|
tool$vpnSessionsCreate = {
|
|
@@ -82525,9 +82743,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
|
|
|
82525
82743
|
Creates a new VPN Session.
|
|
82526
82744
|
\`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
|
|
82527
82745
|
`,
|
|
82528
|
-
args:
|
|
82529
|
-
tool: async (client,
|
|
82530
|
-
const [result, apiCall] = await vpnSessionsCreate(client,
|
|
82746
|
+
args: args134,
|
|
82747
|
+
tool: async (client, args135, ctx) => {
|
|
82748
|
+
const [result, apiCall] = await vpnSessionsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82531
82749
|
if (!result.ok) {
|
|
82532
82750
|
return {
|
|
82533
82751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82618,12 +82836,12 @@ var init_vpnSessionsDelete = __esm(() => {
|
|
|
82618
82836
|
});
|
|
82619
82837
|
|
|
82620
82838
|
// src/mcp-server/tools/vpnSessionsDelete.ts
|
|
82621
|
-
var
|
|
82839
|
+
var args135, tool$vpnSessionsDelete;
|
|
82622
82840
|
var init_vpnSessionsDelete2 = __esm(() => {
|
|
82623
82841
|
init_vpnSessionsDelete();
|
|
82624
82842
|
init_operations();
|
|
82625
82843
|
init_tools();
|
|
82626
|
-
|
|
82844
|
+
args135 = {
|
|
82627
82845
|
request: DeleteVpnSessionRequest$inboundSchema
|
|
82628
82846
|
};
|
|
82629
82847
|
tool$vpnSessionsDelete = {
|
|
@@ -82632,9 +82850,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
|
|
|
82632
82850
|
|
|
82633
82851
|
Deletes an existing VPN Session.
|
|
82634
82852
|
`,
|
|
82635
|
-
args:
|
|
82636
|
-
tool: async (client,
|
|
82637
|
-
const [result, apiCall] = await vpnSessionsDelete(client,
|
|
82853
|
+
args: args135,
|
|
82854
|
+
tool: async (client, args136, ctx) => {
|
|
82855
|
+
const [result, apiCall] = await vpnSessionsDelete(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82638
82856
|
if (!result.ok) {
|
|
82639
82857
|
return {
|
|
82640
82858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82723,20 +82941,20 @@ var init_vpnSessionsList = __esm(() => {
|
|
|
82723
82941
|
});
|
|
82724
82942
|
|
|
82725
82943
|
// src/mcp-server/tools/vpnSessionsList.ts
|
|
82726
|
-
var
|
|
82944
|
+
var args136, tool$vpnSessionsList;
|
|
82727
82945
|
var init_vpnSessionsList2 = __esm(() => {
|
|
82728
82946
|
init_vpnSessionsList();
|
|
82729
82947
|
init_operations();
|
|
82730
82948
|
init_tools();
|
|
82731
|
-
|
|
82949
|
+
args136 = {
|
|
82732
82950
|
request: GetVpnSessionsRequest$inboundSchema.optional()
|
|
82733
82951
|
};
|
|
82734
82952
|
tool$vpnSessionsList = {
|
|
82735
82953
|
name: "vpn-sessions-list",
|
|
82736
82954
|
description: `List VPN sessions`,
|
|
82737
|
-
args:
|
|
82738
|
-
tool: async (client,
|
|
82739
|
-
const [result, apiCall] = await vpnSessionsList(client,
|
|
82955
|
+
args: args136,
|
|
82956
|
+
tool: async (client, args137, ctx) => {
|
|
82957
|
+
const [result, apiCall] = await vpnSessionsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82740
82958
|
if (!result.ok) {
|
|
82741
82959
|
return {
|
|
82742
82960
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82829,12 +83047,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
|
|
|
82829
83047
|
});
|
|
82830
83048
|
|
|
82831
83049
|
// src/mcp-server/tools/vpnSessionsRefreshPassword.ts
|
|
82832
|
-
var
|
|
83050
|
+
var args137, tool$vpnSessionsRefreshPassword;
|
|
82833
83051
|
var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
82834
83052
|
init_vpnSessionsRefreshPassword();
|
|
82835
83053
|
init_operations();
|
|
82836
83054
|
init_tools();
|
|
82837
|
-
|
|
83055
|
+
args137 = {
|
|
82838
83056
|
request: PutVpnSessionRequest$inboundSchema
|
|
82839
83057
|
};
|
|
82840
83058
|
tool$vpnSessionsRefreshPassword = {
|
|
@@ -82843,9 +83061,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
|
82843
83061
|
|
|
82844
83062
|
Refreshing an existing VPN Session will create new credentials for that session
|
|
82845
83063
|
`,
|
|
82846
|
-
args:
|
|
82847
|
-
tool: async (client,
|
|
82848
|
-
const [result, apiCall] = await vpnSessionsRefreshPassword(client,
|
|
83064
|
+
args: args137,
|
|
83065
|
+
tool: async (client, args138, ctx) => {
|
|
83066
|
+
const [result, apiCall] = await vpnSessionsRefreshPassword(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82849
83067
|
if (!result.ok) {
|
|
82850
83068
|
return {
|
|
82851
83069
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82862,7 +83080,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
82862
83080
|
function createMCPServer(deps) {
|
|
82863
83081
|
const server2 = new McpServer({
|
|
82864
83082
|
name: "Latitudesh",
|
|
82865
|
-
version: "0.8.
|
|
83083
|
+
version: "0.8.3"
|
|
82866
83084
|
});
|
|
82867
83085
|
const client = new LatitudeshCore({
|
|
82868
83086
|
bearer: deps.bearer,
|
|
@@ -84379,7 +84597,7 @@ var routes = ln({
|
|
|
84379
84597
|
var app = _e(routes, {
|
|
84380
84598
|
name: "mcp",
|
|
84381
84599
|
versionInfo: {
|
|
84382
|
-
currentVersion: "0.8.
|
|
84600
|
+
currentVersion: "0.8.3"
|
|
84383
84601
|
}
|
|
84384
84602
|
});
|
|
84385
84603
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84387,5 +84605,5 @@ export {
|
|
|
84387
84605
|
app
|
|
84388
84606
|
};
|
|
84389
84607
|
|
|
84390
|
-
//# debugId=
|
|
84608
|
+
//# debugId=2D2BB3714590CFD264756E2164756E21
|
|
84391
84609
|
//# sourceMappingURL=mcp-server.js.map
|