latitudesh-typescript-sdk 0.8.2 → 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 +709 -500
- package/bin/mcp-server.js.map +16 -15
- 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 +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- 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/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/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 +2 -2
- package/dist/esm/lib/config.js +2 -2
- 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/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/volumedata.d.ts +15 -0
- package/dist/esm/models/volumedata.d.ts.map +1 -1
- package/dist/esm/models/volumedata.js +10 -0
- package/dist/esm/models/volumedata.js.map +1 -1
- package/dist/esm/sdk/plans.d.ts +1 -1
- package/dist/esm/sdk/plans.d.ts.map +1 -1
- package/dist/esm/sdk/plans.js +2 -2
- package/dist/esm/sdk/plans.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/plansListStorage.ts +25 -0
- package/src/lib/config.ts +2 -2
- 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/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/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.
|
|
53152
|
+
sdkVersion: "0.8.3",
|
|
53153
53153
|
genVersion: "2.918.3",
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.3 2.918.3 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -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"
|
|
@@ -60710,6 +60863,9 @@ var init_volumedata = __esm(() => {
|
|
|
60710
60863
|
namespace_id: nullableType(stringType()).optional(),
|
|
60711
60864
|
connector_id: nullableType(stringType()).optional(),
|
|
60712
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(),
|
|
60713
60869
|
project: ProjectInclude$inboundSchema.optional(),
|
|
60714
60870
|
team: TeamInclude$inboundSchema.optional()
|
|
60715
60871
|
}).transform((v2) => {
|
|
@@ -60717,7 +60873,9 @@ var init_volumedata = __esm(() => {
|
|
|
60717
60873
|
size_in_gb: "sizeInGb",
|
|
60718
60874
|
created_at: "createdAt",
|
|
60719
60875
|
namespace_id: "namespaceId",
|
|
60720
|
-
connector_id: "connectorId"
|
|
60876
|
+
connector_id: "connectorId",
|
|
60877
|
+
cluster_user: "clusterUser",
|
|
60878
|
+
volume_path: "volumePath"
|
|
60721
60879
|
});
|
|
60722
60880
|
});
|
|
60723
60881
|
VolumeDataAttributes$outboundSchema = objectType({
|
|
@@ -60727,6 +60885,9 @@ var init_volumedata = __esm(() => {
|
|
|
60727
60885
|
namespaceId: nullableType(stringType()).optional(),
|
|
60728
60886
|
connectorId: nullableType(stringType()).optional(),
|
|
60729
60887
|
initiators: nullableType(arrayType(lazyType(() => Initiator$outboundSchema))).optional(),
|
|
60888
|
+
keyring: nullableType(stringType()).optional(),
|
|
60889
|
+
clusterUser: nullableType(stringType()).optional(),
|
|
60890
|
+
volumePath: nullableType(stringType()).optional(),
|
|
60730
60891
|
project: ProjectInclude$outboundSchema.optional(),
|
|
60731
60892
|
team: TeamInclude$outboundSchema.optional()
|
|
60732
60893
|
}).transform((v2) => {
|
|
@@ -60734,7 +60895,9 @@ var init_volumedata = __esm(() => {
|
|
|
60734
60895
|
sizeInGb: "size_in_gb",
|
|
60735
60896
|
createdAt: "created_at",
|
|
60736
60897
|
namespaceId: "namespace_id",
|
|
60737
|
-
connectorId: "connector_id"
|
|
60898
|
+
connectorId: "connector_id",
|
|
60899
|
+
clusterUser: "cluster_user",
|
|
60900
|
+
volumePath: "volume_path"
|
|
60738
60901
|
});
|
|
60739
60902
|
});
|
|
60740
60903
|
VolumeData$inboundSchema = objectType({
|
|
@@ -63582,6 +63745,31 @@ var init_getstoragefilesystems = __esm(() => {
|
|
|
63582
63745
|
});
|
|
63583
63746
|
});
|
|
63584
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
|
+
|
|
63585
63773
|
// src/models/operations/getstoragevolume.ts
|
|
63586
63774
|
var GetStorageVolumeRequest$inboundSchema, GetStorageVolumeRequest$outboundSchema, GetStorageVolumeResponse$inboundSchema, GetStorageVolumeResponse$outboundSchema;
|
|
63587
63775
|
var init_getstoragevolume = __esm(() => {
|
|
@@ -65883,10 +66071,10 @@ var init_updateproject = __esm(() => {
|
|
|
65883
66071
|
UpdateProjectEnvironment2$inboundSchema = nativeEnumType(UpdateProjectEnvironment2);
|
|
65884
66072
|
UpdateProjectEnvironment2$outboundSchema = UpdateProjectEnvironment2$inboundSchema;
|
|
65885
66073
|
UpdateProjectAttributes2$inboundSchema = objectType({
|
|
65886
|
-
name: stringType().
|
|
65887
|
-
description: stringType().
|
|
66074
|
+
name: stringType().optional(),
|
|
66075
|
+
description: stringType().optional(),
|
|
65888
66076
|
environment: UpdateProjectEnvironment2$inboundSchema.optional(),
|
|
65889
|
-
bandwidth_alert: booleanType().
|
|
66077
|
+
bandwidth_alert: booleanType().optional(),
|
|
65890
66078
|
tags: arrayType(stringType()).optional()
|
|
65891
66079
|
}).transform((v2) => {
|
|
65892
66080
|
return remap(v2, {
|
|
@@ -65894,10 +66082,10 @@ var init_updateproject = __esm(() => {
|
|
|
65894
66082
|
});
|
|
65895
66083
|
});
|
|
65896
66084
|
UpdateProjectAttributes2$outboundSchema = objectType({
|
|
65897
|
-
name: stringType().
|
|
65898
|
-
description: stringType().
|
|
66085
|
+
name: stringType().optional(),
|
|
66086
|
+
description: stringType().optional(),
|
|
65899
66087
|
environment: UpdateProjectEnvironment2$outboundSchema.optional(),
|
|
65900
|
-
bandwidthAlert: booleanType().
|
|
66088
|
+
bandwidthAlert: booleanType().optional(),
|
|
65901
66089
|
tags: arrayType(stringType()).optional()
|
|
65902
66090
|
}).transform((v2) => {
|
|
65903
66091
|
return remap(v2, {
|
|
@@ -65905,12 +66093,12 @@ var init_updateproject = __esm(() => {
|
|
|
65905
66093
|
});
|
|
65906
66094
|
});
|
|
65907
66095
|
UpdateProjectData2$inboundSchema = objectType({
|
|
65908
|
-
id: stringType()
|
|
66096
|
+
id: stringType(),
|
|
65909
66097
|
type: UpdateProjectType2$inboundSchema,
|
|
65910
66098
|
attributes: lazyType(() => UpdateProjectAttributes2$inboundSchema).optional()
|
|
65911
66099
|
});
|
|
65912
66100
|
UpdateProjectData2$outboundSchema = objectType({
|
|
65913
|
-
id: stringType()
|
|
66101
|
+
id: stringType(),
|
|
65914
66102
|
type: UpdateProjectType2$outboundSchema,
|
|
65915
66103
|
attributes: lazyType(() => UpdateProjectAttributes2$outboundSchema).optional()
|
|
65916
66104
|
});
|
|
@@ -66380,6 +66568,7 @@ var init_operations = __esm(() => {
|
|
|
66380
66568
|
init_getstoragebucket();
|
|
66381
66569
|
init_getstoragebuckets();
|
|
66382
66570
|
init_getstoragefilesystems();
|
|
66571
|
+
init_getstorageplans();
|
|
66383
66572
|
init_getstoragevolume();
|
|
66384
66573
|
init_getstoragevolumes();
|
|
66385
66574
|
init_getteammembers();
|
|
@@ -72064,11 +72253,21 @@ Lists all plans. Availability by region is included in \`attributes.regions.loca
|
|
|
72064
72253
|
});
|
|
72065
72254
|
|
|
72066
72255
|
// src/funcs/plansListStorage.ts
|
|
72067
|
-
function plansListStorage(client, options) {
|
|
72068
|
-
return new APIPromise($do49(client, options));
|
|
72256
|
+
function plansListStorage(client, request, options) {
|
|
72257
|
+
return new APIPromise($do49(client, request, options));
|
|
72069
72258
|
}
|
|
72070
|
-
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;
|
|
72071
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
|
+
});
|
|
72072
72271
|
const headers = new Headers(compactMap({
|
|
72073
72272
|
Accept: "application/vnd.api+json"
|
|
72074
72273
|
}));
|
|
@@ -72091,6 +72290,8 @@ async function $do49(client, options) {
|
|
|
72091
72290
|
baseURL: options?.serverURL,
|
|
72092
72291
|
path,
|
|
72093
72292
|
headers,
|
|
72293
|
+
query,
|
|
72294
|
+
body,
|
|
72094
72295
|
userAgent: client._options.userAgent,
|
|
72095
72296
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72096
72297
|
}, options);
|
|
@@ -72117,25 +72318,33 @@ async function $do49(client, options) {
|
|
|
72117
72318
|
return [result, { status: "complete", request: req, response }];
|
|
72118
72319
|
}
|
|
72119
72320
|
var init_plansListStorage = __esm(() => {
|
|
72321
|
+
init_encodings();
|
|
72120
72322
|
init_http();
|
|
72121
72323
|
init_matchers();
|
|
72122
72324
|
init_primitives();
|
|
72325
|
+
init_schemas4();
|
|
72123
72326
|
init_security();
|
|
72124
72327
|
init_url();
|
|
72125
72328
|
init_models();
|
|
72329
|
+
init_operations();
|
|
72126
72330
|
init_async();
|
|
72127
72331
|
});
|
|
72128
72332
|
|
|
72129
72333
|
// src/mcp-server/tools/plansListStorage.ts
|
|
72130
|
-
var tool$plansListStorage;
|
|
72334
|
+
var args46, tool$plansListStorage;
|
|
72131
72335
|
var init_plansListStorage2 = __esm(() => {
|
|
72132
72336
|
init_plansListStorage();
|
|
72337
|
+
init_operations();
|
|
72133
72338
|
init_tools();
|
|
72339
|
+
args46 = {
|
|
72340
|
+
request: GetStoragePlansRequest$inboundSchema.optional()
|
|
72341
|
+
};
|
|
72134
72342
|
tool$plansListStorage = {
|
|
72135
72343
|
name: "plans-list-storage",
|
|
72136
72344
|
description: `List storage plans`,
|
|
72137
|
-
|
|
72138
|
-
|
|
72345
|
+
args: args46,
|
|
72346
|
+
tool: async (client, args47, ctx) => {
|
|
72347
|
+
const [result, apiCall] = await plansListStorage(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72139
72348
|
if (!result.ok) {
|
|
72140
72349
|
return {
|
|
72141
72350
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72223,12 +72432,12 @@ var init_plansUpdateBandwidth = __esm(() => {
|
|
|
72223
72432
|
});
|
|
72224
72433
|
|
|
72225
72434
|
// src/mcp-server/tools/plansUpdateBandwidth.ts
|
|
72226
|
-
var
|
|
72435
|
+
var args47, tool$plansUpdateBandwidth;
|
|
72227
72436
|
var init_plansUpdateBandwidth2 = __esm(() => {
|
|
72228
72437
|
init_plansUpdateBandwidth();
|
|
72229
72438
|
init_operations();
|
|
72230
72439
|
init_tools();
|
|
72231
|
-
|
|
72440
|
+
args47 = {
|
|
72232
72441
|
request: UpdatePlansBandwidthRequest$inboundSchema
|
|
72233
72442
|
};
|
|
72234
72443
|
tool$plansUpdateBandwidth = {
|
|
@@ -72237,9 +72446,9 @@ var init_plansUpdateBandwidth2 = __esm(() => {
|
|
|
72237
72446
|
|
|
72238
72447
|
Allows to increase or decrease bandwidth packages. Only admins and owners can request.
|
|
72239
72448
|
`,
|
|
72240
|
-
args:
|
|
72241
|
-
tool: async (client,
|
|
72242
|
-
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();
|
|
72243
72452
|
if (!result.ok) {
|
|
72244
72453
|
return {
|
|
72245
72454
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72330,20 +72539,20 @@ var init_plansVmList = __esm(() => {
|
|
|
72330
72539
|
});
|
|
72331
72540
|
|
|
72332
72541
|
// src/mcp-server/tools/plansVmList.ts
|
|
72333
|
-
var
|
|
72542
|
+
var args48, tool$plansVmList;
|
|
72334
72543
|
var init_plansVmList2 = __esm(() => {
|
|
72335
72544
|
init_plansVmList();
|
|
72336
72545
|
init_operations();
|
|
72337
72546
|
init_tools();
|
|
72338
|
-
|
|
72547
|
+
args48 = {
|
|
72339
72548
|
request: GetVmPlansRequest$inboundSchema.optional()
|
|
72340
72549
|
};
|
|
72341
72550
|
tool$plansVmList = {
|
|
72342
72551
|
name: "plans-vm-list",
|
|
72343
72552
|
description: `List VM plans`,
|
|
72344
|
-
args:
|
|
72345
|
-
tool: async (client,
|
|
72346
|
-
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();
|
|
72347
72556
|
if (!result.ok) {
|
|
72348
72557
|
return {
|
|
72349
72558
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72431,20 +72640,20 @@ var init_privateNetworksAssign = __esm(() => {
|
|
|
72431
72640
|
});
|
|
72432
72641
|
|
|
72433
72642
|
// src/mcp-server/tools/privateNetworksAssign.ts
|
|
72434
|
-
var
|
|
72643
|
+
var args49, tool$privateNetworksAssign;
|
|
72435
72644
|
var init_privateNetworksAssign2 = __esm(() => {
|
|
72436
72645
|
init_privateNetworksAssign();
|
|
72437
72646
|
init_operations();
|
|
72438
72647
|
init_tools();
|
|
72439
|
-
|
|
72648
|
+
args49 = {
|
|
72440
72649
|
request: AssignServerVirtualNetworkRequest$inboundSchema
|
|
72441
72650
|
};
|
|
72442
72651
|
tool$privateNetworksAssign = {
|
|
72443
72652
|
name: "private-networks-assign",
|
|
72444
72653
|
description: `Assign VLAN`,
|
|
72445
|
-
args:
|
|
72446
|
-
tool: async (client,
|
|
72447
|
-
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();
|
|
72448
72657
|
if (!result.ok) {
|
|
72449
72658
|
return {
|
|
72450
72659
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72532,12 +72741,12 @@ var init_privateNetworksCreate = __esm(() => {
|
|
|
72532
72741
|
});
|
|
72533
72742
|
|
|
72534
72743
|
// src/mcp-server/tools/privateNetworksCreate.ts
|
|
72535
|
-
var
|
|
72744
|
+
var args50, tool$privateNetworksCreate;
|
|
72536
72745
|
var init_privateNetworksCreate2 = __esm(() => {
|
|
72537
72746
|
init_privateNetworksCreate();
|
|
72538
72747
|
init_operations();
|
|
72539
72748
|
init_tools();
|
|
72540
|
-
|
|
72749
|
+
args50 = {
|
|
72541
72750
|
request: CreateVirtualNetworkRequest$inboundSchema
|
|
72542
72751
|
};
|
|
72543
72752
|
tool$privateNetworksCreate = {
|
|
@@ -72546,9 +72755,9 @@ var init_privateNetworksCreate2 = __esm(() => {
|
|
|
72546
72755
|
|
|
72547
72756
|
Creates a new Virtual Network.
|
|
72548
72757
|
`,
|
|
72549
|
-
args:
|
|
72550
|
-
tool: async (client,
|
|
72551
|
-
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();
|
|
72552
72761
|
if (!result.ok) {
|
|
72553
72762
|
return {
|
|
72554
72763
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72639,12 +72848,12 @@ var init_privateNetworksDeleteAssignment = __esm(() => {
|
|
|
72639
72848
|
});
|
|
72640
72849
|
|
|
72641
72850
|
// src/mcp-server/tools/privateNetworksDeleteAssignment.ts
|
|
72642
|
-
var
|
|
72851
|
+
var args51, tool$privateNetworksDeleteAssignment;
|
|
72643
72852
|
var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
72644
72853
|
init_privateNetworksDeleteAssignment();
|
|
72645
72854
|
init_operations();
|
|
72646
72855
|
init_tools();
|
|
72647
|
-
|
|
72856
|
+
args51 = {
|
|
72648
72857
|
request: DeleteVirtualNetworksAssignmentsRequest$inboundSchema
|
|
72649
72858
|
};
|
|
72650
72859
|
tool$privateNetworksDeleteAssignment = {
|
|
@@ -72653,9 +72862,9 @@ var init_privateNetworksDeleteAssignment2 = __esm(() => {
|
|
|
72653
72862
|
|
|
72654
72863
|
Allow you to remove a Virtual Network assignment.
|
|
72655
72864
|
`,
|
|
72656
|
-
args:
|
|
72657
|
-
tool: async (client,
|
|
72658
|
-
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();
|
|
72659
72868
|
if (!result.ok) {
|
|
72660
72869
|
return {
|
|
72661
72870
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72747,12 +72956,12 @@ var init_privateNetworksGet = __esm(() => {
|
|
|
72747
72956
|
});
|
|
72748
72957
|
|
|
72749
72958
|
// src/mcp-server/tools/privateNetworksGet.ts
|
|
72750
|
-
var
|
|
72959
|
+
var args52, tool$privateNetworksGet;
|
|
72751
72960
|
var init_privateNetworksGet2 = __esm(() => {
|
|
72752
72961
|
init_privateNetworksGet();
|
|
72753
72962
|
init_operations();
|
|
72754
72963
|
init_tools();
|
|
72755
|
-
|
|
72964
|
+
args52 = {
|
|
72756
72965
|
request: GetVirtualNetworkRequest$inboundSchema
|
|
72757
72966
|
};
|
|
72758
72967
|
tool$privateNetworksGet = {
|
|
@@ -72761,9 +72970,9 @@ var init_privateNetworksGet2 = __esm(() => {
|
|
|
72761
72970
|
|
|
72762
72971
|
Retrieve a Virtual Network.
|
|
72763
72972
|
`,
|
|
72764
|
-
args:
|
|
72765
|
-
tool: async (client,
|
|
72766
|
-
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();
|
|
72767
72976
|
if (!result.ok) {
|
|
72768
72977
|
return {
|
|
72769
72978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72892,12 +73101,12 @@ var init_privateNetworksList = __esm(() => {
|
|
|
72892
73101
|
});
|
|
72893
73102
|
|
|
72894
73103
|
// src/mcp-server/tools/privateNetworksList.ts
|
|
72895
|
-
var
|
|
73104
|
+
var args53, tool$privateNetworksList;
|
|
72896
73105
|
var init_privateNetworksList2 = __esm(() => {
|
|
72897
73106
|
init_privateNetworksList();
|
|
72898
73107
|
init_operations();
|
|
72899
73108
|
init_tools();
|
|
72900
|
-
|
|
73109
|
+
args53 = {
|
|
72901
73110
|
request: GetVirtualNetworksRequest$inboundSchema.optional()
|
|
72902
73111
|
};
|
|
72903
73112
|
tool$privateNetworksList = {
|
|
@@ -72906,9 +73115,9 @@ var init_privateNetworksList2 = __esm(() => {
|
|
|
72906
73115
|
|
|
72907
73116
|
Lists virtual networks assigned to a project
|
|
72908
73117
|
`,
|
|
72909
|
-
args:
|
|
72910
|
-
tool: async (client,
|
|
72911
|
-
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();
|
|
72912
73121
|
if (!result.ok) {
|
|
72913
73122
|
return {
|
|
72914
73123
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73034,12 +73243,12 @@ var init_privateNetworksListAssignments = __esm(() => {
|
|
|
73034
73243
|
});
|
|
73035
73244
|
|
|
73036
73245
|
// src/mcp-server/tools/privateNetworksListAssignments.ts
|
|
73037
|
-
var
|
|
73246
|
+
var args54, tool$privateNetworksListAssignments;
|
|
73038
73247
|
var init_privateNetworksListAssignments2 = __esm(() => {
|
|
73039
73248
|
init_privateNetworksListAssignments();
|
|
73040
73249
|
init_operations();
|
|
73041
73250
|
init_tools();
|
|
73042
|
-
|
|
73251
|
+
args54 = {
|
|
73043
73252
|
request: GetVirtualNetworksAssignmentsRequest$inboundSchema.optional()
|
|
73044
73253
|
};
|
|
73045
73254
|
tool$privateNetworksListAssignments = {
|
|
@@ -73048,9 +73257,9 @@ var init_privateNetworksListAssignments2 = __esm(() => {
|
|
|
73048
73257
|
|
|
73049
73258
|
Returns a list of all servers assigned to virtual networks.
|
|
73050
73259
|
`,
|
|
73051
|
-
args:
|
|
73052
|
-
tool: async (client,
|
|
73053
|
-
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();
|
|
73054
73263
|
if (!result.ok) {
|
|
73055
73264
|
return {
|
|
73056
73265
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73144,12 +73353,12 @@ var init_privateNetworksUpdate = __esm(() => {
|
|
|
73144
73353
|
});
|
|
73145
73354
|
|
|
73146
73355
|
// src/mcp-server/tools/privateNetworksUpdate.ts
|
|
73147
|
-
var
|
|
73356
|
+
var args55, tool$privateNetworksUpdate;
|
|
73148
73357
|
var init_privateNetworksUpdate2 = __esm(() => {
|
|
73149
73358
|
init_privateNetworksUpdate();
|
|
73150
73359
|
init_operations();
|
|
73151
73360
|
init_tools();
|
|
73152
|
-
|
|
73361
|
+
args55 = {
|
|
73153
73362
|
request: UpdateVirtualNetworkRequest$inboundSchema
|
|
73154
73363
|
};
|
|
73155
73364
|
tool$privateNetworksUpdate = {
|
|
@@ -73158,9 +73367,9 @@ var init_privateNetworksUpdate2 = __esm(() => {
|
|
|
73158
73367
|
|
|
73159
73368
|
Update a Virtual Network.
|
|
73160
73369
|
`,
|
|
73161
|
-
args:
|
|
73162
|
-
tool: async (client,
|
|
73163
|
-
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();
|
|
73164
73373
|
if (!result.ok) {
|
|
73165
73374
|
return {
|
|
73166
73375
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73247,20 +73456,20 @@ var init_projectsCreate = __esm(() => {
|
|
|
73247
73456
|
});
|
|
73248
73457
|
|
|
73249
73458
|
// src/mcp-server/tools/projectsCreate.ts
|
|
73250
|
-
var
|
|
73459
|
+
var args56, tool$projectsCreate;
|
|
73251
73460
|
var init_projectsCreate2 = __esm(() => {
|
|
73252
73461
|
init_projectsCreate();
|
|
73253
73462
|
init_operations();
|
|
73254
73463
|
init_tools();
|
|
73255
|
-
|
|
73464
|
+
args56 = {
|
|
73256
73465
|
request: CreateProjectRequest$inboundSchema
|
|
73257
73466
|
};
|
|
73258
73467
|
tool$projectsCreate = {
|
|
73259
73468
|
name: "projects-create",
|
|
73260
73469
|
description: `Create project`,
|
|
73261
|
-
args:
|
|
73262
|
-
tool: async (client,
|
|
73263
|
-
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();
|
|
73264
73473
|
if (!result.ok) {
|
|
73265
73474
|
return {
|
|
73266
73475
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73351,12 +73560,12 @@ var init_projectsDelete = __esm(() => {
|
|
|
73351
73560
|
});
|
|
73352
73561
|
|
|
73353
73562
|
// src/mcp-server/tools/projectsDelete.ts
|
|
73354
|
-
var
|
|
73563
|
+
var args57, tool$projectsDelete;
|
|
73355
73564
|
var init_projectsDelete2 = __esm(() => {
|
|
73356
73565
|
init_projectsDelete();
|
|
73357
73566
|
init_operations();
|
|
73358
73567
|
init_tools();
|
|
73359
|
-
|
|
73568
|
+
args57 = {
|
|
73360
73569
|
request: DeleteProjectRequest$inboundSchema
|
|
73361
73570
|
};
|
|
73362
73571
|
tool$projectsDelete = {
|
|
@@ -73364,9 +73573,9 @@ var init_projectsDelete2 = __esm(() => {
|
|
|
73364
73573
|
description: `Delete project
|
|
73365
73574
|
|
|
73366
73575
|
Deletes a project and releases associated resources. Any Elastic IPs assigned to the project are automatically released and returned to the available pool.`,
|
|
73367
|
-
args:
|
|
73368
|
-
tool: async (client,
|
|
73369
|
-
const [result, apiCall] = await projectsDelete(client,
|
|
73576
|
+
args: args57,
|
|
73577
|
+
tool: async (client, args58, ctx) => {
|
|
73578
|
+
const [result, apiCall] = await projectsDelete(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73370
73579
|
if (!result.ok) {
|
|
73371
73580
|
return {
|
|
73372
73581
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73498,12 +73707,12 @@ var init_projectsList = __esm(() => {
|
|
|
73498
73707
|
});
|
|
73499
73708
|
|
|
73500
73709
|
// src/mcp-server/tools/projectsList.ts
|
|
73501
|
-
var
|
|
73710
|
+
var args58, tool$projectsList;
|
|
73502
73711
|
var init_projectsList2 = __esm(() => {
|
|
73503
73712
|
init_projectsList();
|
|
73504
73713
|
init_operations();
|
|
73505
73714
|
init_tools();
|
|
73506
|
-
|
|
73715
|
+
args58 = {
|
|
73507
73716
|
request: GetProjectsRequest$inboundSchema.optional()
|
|
73508
73717
|
};
|
|
73509
73718
|
tool$projectsList = {
|
|
@@ -73512,9 +73721,9 @@ var init_projectsList2 = __esm(() => {
|
|
|
73512
73721
|
|
|
73513
73722
|
Returns a list of all projects for the current team
|
|
73514
73723
|
`,
|
|
73515
|
-
args:
|
|
73516
|
-
tool: async (client,
|
|
73517
|
-
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();
|
|
73518
73727
|
if (!result.ok) {
|
|
73519
73728
|
return {
|
|
73520
73729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73607,12 +73816,12 @@ var init_projectsSshKeysPostProjectSshKey = __esm(() => {
|
|
|
73607
73816
|
});
|
|
73608
73817
|
|
|
73609
73818
|
// src/mcp-server/tools/projectsSshKeysPostProjectSshKey.ts
|
|
73610
|
-
var
|
|
73819
|
+
var args59, tool$projectsSshKeysPostProjectSshKey;
|
|
73611
73820
|
var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
73612
73821
|
init_projectsSshKeysPostProjectSshKey();
|
|
73613
73822
|
init_operations();
|
|
73614
73823
|
init_tools();
|
|
73615
|
-
|
|
73824
|
+
args59 = {
|
|
73616
73825
|
request: PostProjectSshKeyRequest$inboundSchema
|
|
73617
73826
|
};
|
|
73618
73827
|
tool$projectsSshKeysPostProjectSshKey = {
|
|
@@ -73621,9 +73830,9 @@ var init_projectsSshKeysPostProjectSshKey2 = __esm(() => {
|
|
|
73621
73830
|
|
|
73622
73831
|
Allow you create SSH Keys in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
73623
73832
|
`,
|
|
73624
|
-
args:
|
|
73625
|
-
tool: async (client,
|
|
73626
|
-
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();
|
|
73627
73836
|
if (!result.ok) {
|
|
73628
73837
|
return {
|
|
73629
73838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73716,20 +73925,20 @@ var init_projectsUpdate = __esm(() => {
|
|
|
73716
73925
|
});
|
|
73717
73926
|
|
|
73718
73927
|
// src/mcp-server/tools/projectsUpdate.ts
|
|
73719
|
-
var
|
|
73928
|
+
var args60, tool$projectsUpdate;
|
|
73720
73929
|
var init_projectsUpdate2 = __esm(() => {
|
|
73721
73930
|
init_projectsUpdate();
|
|
73722
73931
|
init_operations();
|
|
73723
73932
|
init_tools();
|
|
73724
|
-
|
|
73933
|
+
args60 = {
|
|
73725
73934
|
request: UpdateProjectRequest$inboundSchema
|
|
73726
73935
|
};
|
|
73727
73936
|
tool$projectsUpdate = {
|
|
73728
73937
|
name: "projects-update",
|
|
73729
73938
|
description: `Update project`,
|
|
73730
|
-
args:
|
|
73731
|
-
tool: async (client,
|
|
73732
|
-
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();
|
|
73733
73942
|
if (!result.ok) {
|
|
73734
73943
|
return {
|
|
73735
73944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73822,20 +74031,20 @@ var init_regionsFetch = __esm(() => {
|
|
|
73822
74031
|
});
|
|
73823
74032
|
|
|
73824
74033
|
// src/mcp-server/tools/regionsFetch.ts
|
|
73825
|
-
var
|
|
74034
|
+
var args61, tool$regionsFetch;
|
|
73826
74035
|
var init_regionsFetch2 = __esm(() => {
|
|
73827
74036
|
init_regionsFetch();
|
|
73828
74037
|
init_operations();
|
|
73829
74038
|
init_tools();
|
|
73830
|
-
|
|
74039
|
+
args61 = {
|
|
73831
74040
|
request: GetRegionRequest$inboundSchema
|
|
73832
74041
|
};
|
|
73833
74042
|
tool$regionsFetch = {
|
|
73834
74043
|
name: "regions-fetch",
|
|
73835
74044
|
description: `Retrieve region`,
|
|
73836
|
-
args:
|
|
73837
|
-
tool: async (client,
|
|
73838
|
-
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();
|
|
73839
74048
|
if (!result.ok) {
|
|
73840
74049
|
return {
|
|
73841
74050
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73961,12 +74170,12 @@ var init_regionsGet = __esm(() => {
|
|
|
73961
74170
|
});
|
|
73962
74171
|
|
|
73963
74172
|
// src/mcp-server/tools/regionsGet.ts
|
|
73964
|
-
var
|
|
74173
|
+
var args62, tool$regionsGet;
|
|
73965
74174
|
var init_regionsGet2 = __esm(() => {
|
|
73966
74175
|
init_regionsGet();
|
|
73967
74176
|
init_operations();
|
|
73968
74177
|
init_tools();
|
|
73969
|
-
|
|
74178
|
+
args62 = {
|
|
73970
74179
|
request: GetRegionsRequest$inboundSchema.optional()
|
|
73971
74180
|
};
|
|
73972
74181
|
tool$regionsGet = {
|
|
@@ -73976,9 +74185,9 @@ var init_regionsGet2 = __esm(() => {
|
|
|
73976
74185
|
Lists all [available locations](https://latitude.sh/locations). For server availability by location, please see the [Plans API](/reference/get-plans).
|
|
73977
74186
|
|
|
73978
74187
|
`,
|
|
73979
|
-
args:
|
|
73980
|
-
tool: async (client,
|
|
73981
|
-
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();
|
|
73982
74191
|
if (!result.ok) {
|
|
73983
74192
|
return {
|
|
73984
74193
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74071,20 +74280,20 @@ var init_rolesGet = __esm(() => {
|
|
|
74071
74280
|
});
|
|
74072
74281
|
|
|
74073
74282
|
// src/mcp-server/tools/rolesGet.ts
|
|
74074
|
-
var
|
|
74283
|
+
var args63, tool$rolesGet;
|
|
74075
74284
|
var init_rolesGet2 = __esm(() => {
|
|
74076
74285
|
init_rolesGet();
|
|
74077
74286
|
init_operations();
|
|
74078
74287
|
init_tools();
|
|
74079
|
-
|
|
74288
|
+
args63 = {
|
|
74080
74289
|
request: GetRoleIdRequest$inboundSchema
|
|
74081
74290
|
};
|
|
74082
74291
|
tool$rolesGet = {
|
|
74083
74292
|
name: "roles-get",
|
|
74084
74293
|
description: `Retrieve role`,
|
|
74085
|
-
args:
|
|
74086
|
-
tool: async (client,
|
|
74087
|
-
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();
|
|
74088
74297
|
if (!result.ok) {
|
|
74089
74298
|
return {
|
|
74090
74299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74210,12 +74419,12 @@ var init_rolesList = __esm(() => {
|
|
|
74210
74419
|
});
|
|
74211
74420
|
|
|
74212
74421
|
// src/mcp-server/tools/rolesList.ts
|
|
74213
|
-
var
|
|
74422
|
+
var args64, tool$rolesList;
|
|
74214
74423
|
var init_rolesList2 = __esm(() => {
|
|
74215
74424
|
init_rolesList();
|
|
74216
74425
|
init_operations();
|
|
74217
74426
|
init_tools();
|
|
74218
|
-
|
|
74427
|
+
args64 = {
|
|
74219
74428
|
request: GetRolesRequest$inboundSchema.optional()
|
|
74220
74429
|
};
|
|
74221
74430
|
tool$rolesList = {
|
|
@@ -74224,9 +74433,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
74224
74433
|
|
|
74225
74434
|
Returns a list of all roles that can be assigned to users
|
|
74226
74435
|
`,
|
|
74227
|
-
args:
|
|
74228
|
-
tool: async (client,
|
|
74229
|
-
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();
|
|
74230
74439
|
if (!result.ok) {
|
|
74231
74440
|
return {
|
|
74232
74441
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74314,20 +74523,20 @@ var init_serversCreate = __esm(() => {
|
|
|
74314
74523
|
});
|
|
74315
74524
|
|
|
74316
74525
|
// src/mcp-server/tools/serversCreate.ts
|
|
74317
|
-
var
|
|
74526
|
+
var args65, tool$serversCreate;
|
|
74318
74527
|
var init_serversCreate2 = __esm(() => {
|
|
74319
74528
|
init_serversCreate();
|
|
74320
74529
|
init_operations();
|
|
74321
74530
|
init_tools();
|
|
74322
|
-
|
|
74531
|
+
args65 = {
|
|
74323
74532
|
request: CreateServerRequest$inboundSchema
|
|
74324
74533
|
};
|
|
74325
74534
|
tool$serversCreate = {
|
|
74326
74535
|
name: "servers-create",
|
|
74327
74536
|
description: `Create server`,
|
|
74328
|
-
args:
|
|
74329
|
-
tool: async (client,
|
|
74330
|
-
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();
|
|
74331
74540
|
if (!result.ok) {
|
|
74332
74541
|
return {
|
|
74333
74542
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74420,12 +74629,12 @@ var init_serversCreateIpmiSession = __esm(() => {
|
|
|
74420
74629
|
});
|
|
74421
74630
|
|
|
74422
74631
|
// src/mcp-server/tools/serversCreateIpmiSession.ts
|
|
74423
|
-
var
|
|
74632
|
+
var args66, tool$serversCreateIpmiSession;
|
|
74424
74633
|
var init_serversCreateIpmiSession2 = __esm(() => {
|
|
74425
74634
|
init_serversCreateIpmiSession();
|
|
74426
74635
|
init_operations();
|
|
74427
74636
|
init_tools();
|
|
74428
|
-
|
|
74637
|
+
args66 = {
|
|
74429
74638
|
request: CreateIpmiSessionRequest$inboundSchema
|
|
74430
74639
|
};
|
|
74431
74640
|
tool$serversCreateIpmiSession = {
|
|
@@ -74437,9 +74646,9 @@ You will have to use a VPN client such as https://openvpn.net to connect. See \`
|
|
|
74437
74646
|
|
|
74438
74647
|
Related guide: https://docs.latitude.sh/docs/ipmi
|
|
74439
74648
|
`,
|
|
74440
|
-
args:
|
|
74441
|
-
tool: async (client,
|
|
74442
|
-
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();
|
|
74443
74652
|
if (!result.ok) {
|
|
74444
74653
|
return {
|
|
74445
74654
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74534,20 +74743,20 @@ var init_serversDelete = __esm(() => {
|
|
|
74534
74743
|
});
|
|
74535
74744
|
|
|
74536
74745
|
// src/mcp-server/tools/serversDelete.ts
|
|
74537
|
-
var
|
|
74746
|
+
var args67, tool$serversDelete;
|
|
74538
74747
|
var init_serversDelete2 = __esm(() => {
|
|
74539
74748
|
init_serversDelete();
|
|
74540
74749
|
init_operations();
|
|
74541
74750
|
init_tools();
|
|
74542
|
-
|
|
74751
|
+
args67 = {
|
|
74543
74752
|
request: DestroyServerRequest$inboundSchema
|
|
74544
74753
|
};
|
|
74545
74754
|
tool$serversDelete = {
|
|
74546
74755
|
name: "servers-delete",
|
|
74547
74756
|
description: `Remove server`,
|
|
74548
|
-
args:
|
|
74549
|
-
tool: async (client,
|
|
74550
|
-
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();
|
|
74551
74760
|
if (!result.ok) {
|
|
74552
74761
|
return {
|
|
74553
74762
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74639,12 +74848,12 @@ var init_serversExitRescueMode = __esm(() => {
|
|
|
74639
74848
|
});
|
|
74640
74849
|
|
|
74641
74850
|
// src/mcp-server/tools/serversExitRescueMode.ts
|
|
74642
|
-
var
|
|
74851
|
+
var args68, tool$serversExitRescueMode;
|
|
74643
74852
|
var init_serversExitRescueMode2 = __esm(() => {
|
|
74644
74853
|
init_serversExitRescueMode();
|
|
74645
74854
|
init_operations();
|
|
74646
74855
|
init_tools();
|
|
74647
|
-
|
|
74856
|
+
args68 = {
|
|
74648
74857
|
request: ServerExitRescueModeRequest$inboundSchema
|
|
74649
74858
|
};
|
|
74650
74859
|
tool$serversExitRescueMode = {
|
|
@@ -74652,9 +74861,9 @@ var init_serversExitRescueMode2 = __esm(() => {
|
|
|
74652
74861
|
description: `Exits rescue mode
|
|
74653
74862
|
|
|
74654
74863
|
Exits rescue mode on a given server.`,
|
|
74655
|
-
args:
|
|
74656
|
-
tool: async (client,
|
|
74657
|
-
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();
|
|
74658
74867
|
if (!result.ok) {
|
|
74659
74868
|
return {
|
|
74660
74869
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74751,12 +74960,12 @@ var init_serversGet = __esm(() => {
|
|
|
74751
74960
|
});
|
|
74752
74961
|
|
|
74753
74962
|
// src/mcp-server/tools/serversGet.ts
|
|
74754
|
-
var
|
|
74963
|
+
var args69, tool$serversGet;
|
|
74755
74964
|
var init_serversGet2 = __esm(() => {
|
|
74756
74965
|
init_serversGet();
|
|
74757
74966
|
init_operations();
|
|
74758
74967
|
init_tools();
|
|
74759
|
-
|
|
74968
|
+
args69 = {
|
|
74760
74969
|
request: GetServerRequest$inboundSchema
|
|
74761
74970
|
};
|
|
74762
74971
|
tool$serversGet = {
|
|
@@ -74765,9 +74974,9 @@ var init_serversGet2 = __esm(() => {
|
|
|
74765
74974
|
|
|
74766
74975
|
Returns a server that belongs to the team.
|
|
74767
74976
|
`,
|
|
74768
|
-
args:
|
|
74769
|
-
tool: async (client,
|
|
74770
|
-
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();
|
|
74771
74980
|
if (!result.ok) {
|
|
74772
74981
|
return {
|
|
74773
74982
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74860,20 +75069,20 @@ var init_serversGetDeployConfig = __esm(() => {
|
|
|
74860
75069
|
});
|
|
74861
75070
|
|
|
74862
75071
|
// src/mcp-server/tools/serversGetDeployConfig.ts
|
|
74863
|
-
var
|
|
75072
|
+
var args70, tool$serversGetDeployConfig;
|
|
74864
75073
|
var init_serversGetDeployConfig2 = __esm(() => {
|
|
74865
75074
|
init_serversGetDeployConfig();
|
|
74866
75075
|
init_operations();
|
|
74867
75076
|
init_tools();
|
|
74868
|
-
|
|
75077
|
+
args70 = {
|
|
74869
75078
|
request: GetServerDeployConfigRequest$inboundSchema
|
|
74870
75079
|
};
|
|
74871
75080
|
tool$serversGetDeployConfig = {
|
|
74872
75081
|
name: "servers-get-deploy-config",
|
|
74873
75082
|
description: `Retrieve deploy config`,
|
|
74874
|
-
args:
|
|
74875
|
-
tool: async (client,
|
|
74876
|
-
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();
|
|
74877
75086
|
if (!result.ok) {
|
|
74878
75087
|
return {
|
|
74879
75088
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74966,20 +75175,20 @@ var init_serversGetOutOfBand = __esm(() => {
|
|
|
74966
75175
|
});
|
|
74967
75176
|
|
|
74968
75177
|
// src/mcp-server/tools/serversGetOutOfBand.ts
|
|
74969
|
-
var
|
|
75178
|
+
var args71, tool$serversGetOutOfBand;
|
|
74970
75179
|
var init_serversGetOutOfBand2 = __esm(() => {
|
|
74971
75180
|
init_serversGetOutOfBand();
|
|
74972
75181
|
init_operations();
|
|
74973
75182
|
init_tools();
|
|
74974
|
-
|
|
75183
|
+
args71 = {
|
|
74975
75184
|
request: GetServerOutOfBandRequest$inboundSchema
|
|
74976
75185
|
};
|
|
74977
75186
|
tool$serversGetOutOfBand = {
|
|
74978
75187
|
name: "servers-get-out-of-band",
|
|
74979
75188
|
description: `List out-of-band connections`,
|
|
74980
|
-
args:
|
|
74981
|
-
tool: async (client,
|
|
74982
|
-
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();
|
|
74983
75192
|
if (!result.ok) {
|
|
74984
75193
|
return {
|
|
74985
75194
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75122,12 +75331,12 @@ var init_serversList = __esm(() => {
|
|
|
75122
75331
|
});
|
|
75123
75332
|
|
|
75124
75333
|
// src/mcp-server/tools/serversList.ts
|
|
75125
|
-
var
|
|
75334
|
+
var args72, tool$serversList;
|
|
75126
75335
|
var init_serversList2 = __esm(() => {
|
|
75127
75336
|
init_serversList();
|
|
75128
75337
|
init_operations();
|
|
75129
75338
|
init_tools();
|
|
75130
|
-
|
|
75339
|
+
args72 = {
|
|
75131
75340
|
request: GetServersRequest$inboundSchema.optional()
|
|
75132
75341
|
};
|
|
75133
75342
|
tool$serversList = {
|
|
@@ -75136,9 +75345,9 @@ var init_serversList2 = __esm(() => {
|
|
|
75136
75345
|
|
|
75137
75346
|
Returns a list of all servers belonging to the team.
|
|
75138
75347
|
`,
|
|
75139
|
-
args:
|
|
75140
|
-
tool: async (client,
|
|
75141
|
-
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();
|
|
75142
75351
|
if (!result.ok) {
|
|
75143
75352
|
return {
|
|
75144
75353
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75231,12 +75440,12 @@ var init_serversLock = __esm(() => {
|
|
|
75231
75440
|
});
|
|
75232
75441
|
|
|
75233
75442
|
// src/mcp-server/tools/serversLock.ts
|
|
75234
|
-
var
|
|
75443
|
+
var args73, tool$serversLock;
|
|
75235
75444
|
var init_serversLock2 = __esm(() => {
|
|
75236
75445
|
init_serversLock();
|
|
75237
75446
|
init_operations();
|
|
75238
75447
|
init_tools();
|
|
75239
|
-
|
|
75448
|
+
args73 = {
|
|
75240
75449
|
request: ServerLockRequest$inboundSchema
|
|
75241
75450
|
};
|
|
75242
75451
|
tool$serversLock = {
|
|
@@ -75244,9 +75453,9 @@ var init_serversLock2 = __esm(() => {
|
|
|
75244
75453
|
description: `Lock server
|
|
75245
75454
|
|
|
75246
75455
|
Locks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75247
|
-
args:
|
|
75248
|
-
tool: async (client,
|
|
75249
|
-
const [result, apiCall] = await serversLock(client,
|
|
75456
|
+
args: args73,
|
|
75457
|
+
tool: async (client, args74, ctx) => {
|
|
75458
|
+
const [result, apiCall] = await serversLock(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75250
75459
|
if (!result.ok) {
|
|
75251
75460
|
return {
|
|
75252
75461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75344,20 +75553,20 @@ var init_serversReinstall = __esm(() => {
|
|
|
75344
75553
|
});
|
|
75345
75554
|
|
|
75346
75555
|
// src/mcp-server/tools/serversReinstall.ts
|
|
75347
|
-
var
|
|
75556
|
+
var args74, tool$serversReinstall;
|
|
75348
75557
|
var init_serversReinstall2 = __esm(() => {
|
|
75349
75558
|
init_serversReinstall();
|
|
75350
75559
|
init_operations();
|
|
75351
75560
|
init_tools();
|
|
75352
|
-
|
|
75561
|
+
args74 = {
|
|
75353
75562
|
request: CreateServerReinstallRequest$inboundSchema
|
|
75354
75563
|
};
|
|
75355
75564
|
tool$serversReinstall = {
|
|
75356
75565
|
name: "servers-reinstall",
|
|
75357
75566
|
description: `Run Server Reinstall`,
|
|
75358
|
-
args:
|
|
75359
|
-
tool: async (client,
|
|
75360
|
-
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();
|
|
75361
75570
|
if (!result.ok) {
|
|
75362
75571
|
return {
|
|
75363
75572
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75450,12 +75659,12 @@ var init_serversRunAction = __esm(() => {
|
|
|
75450
75659
|
});
|
|
75451
75660
|
|
|
75452
75661
|
// src/mcp-server/tools/serversRunAction.ts
|
|
75453
|
-
var
|
|
75662
|
+
var args75, tool$serversRunAction;
|
|
75454
75663
|
var init_serversRunAction2 = __esm(() => {
|
|
75455
75664
|
init_serversRunAction();
|
|
75456
75665
|
init_operations();
|
|
75457
75666
|
init_tools();
|
|
75458
|
-
|
|
75667
|
+
args75 = {
|
|
75459
75668
|
request: CreateServerActionRequest$inboundSchema
|
|
75460
75669
|
};
|
|
75461
75670
|
tool$serversRunAction = {
|
|
@@ -75467,9 +75676,9 @@ Performs an action on a given server:
|
|
|
75467
75676
|
- \`power_off\`
|
|
75468
75677
|
- \`reboot\`
|
|
75469
75678
|
`,
|
|
75470
|
-
args:
|
|
75471
|
-
tool: async (client,
|
|
75472
|
-
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();
|
|
75473
75682
|
if (!result.ok) {
|
|
75474
75683
|
return {
|
|
75475
75684
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75562,12 +75771,12 @@ var init_serversScheduleDeletion = __esm(() => {
|
|
|
75562
75771
|
});
|
|
75563
75772
|
|
|
75564
75773
|
// src/mcp-server/tools/serversScheduleDeletion.ts
|
|
75565
|
-
var
|
|
75774
|
+
var args76, tool$serversScheduleDeletion;
|
|
75566
75775
|
var init_serversScheduleDeletion2 = __esm(() => {
|
|
75567
75776
|
init_serversScheduleDeletion();
|
|
75568
75777
|
init_operations();
|
|
75569
75778
|
init_tools();
|
|
75570
|
-
|
|
75779
|
+
args76 = {
|
|
75571
75780
|
request: ServerScheduleDeletionRequest$inboundSchema
|
|
75572
75781
|
};
|
|
75573
75782
|
tool$serversScheduleDeletion = {
|
|
@@ -75575,9 +75784,9 @@ var init_serversScheduleDeletion2 = __esm(() => {
|
|
|
75575
75784
|
description: `Schedule server deletion
|
|
75576
75785
|
|
|
75577
75786
|
Schedules the server to be removed at the end of the billing cycle.`,
|
|
75578
|
-
args:
|
|
75579
|
-
tool: async (client,
|
|
75580
|
-
const [result, apiCall] = await serversScheduleDeletion(client,
|
|
75787
|
+
args: args76,
|
|
75788
|
+
tool: async (client, args77, ctx) => {
|
|
75789
|
+
const [result, apiCall] = await serversScheduleDeletion(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75581
75790
|
if (!result.ok) {
|
|
75582
75791
|
return {
|
|
75583
75792
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75671,20 +75880,20 @@ var init_serversStartOutOfBandConnection = __esm(() => {
|
|
|
75671
75880
|
});
|
|
75672
75881
|
|
|
75673
75882
|
// src/mcp-server/tools/serversStartOutOfBandConnection.ts
|
|
75674
|
-
var
|
|
75883
|
+
var args77, tool$serversStartOutOfBandConnection;
|
|
75675
75884
|
var init_serversStartOutOfBandConnection2 = __esm(() => {
|
|
75676
75885
|
init_serversStartOutOfBandConnection();
|
|
75677
75886
|
init_operations();
|
|
75678
75887
|
init_tools();
|
|
75679
|
-
|
|
75888
|
+
args77 = {
|
|
75680
75889
|
request: CreateServerOutOfBandRequest$inboundSchema
|
|
75681
75890
|
};
|
|
75682
75891
|
tool$serversStartOutOfBandConnection = {
|
|
75683
75892
|
name: "servers-start-out-of-band-connection",
|
|
75684
75893
|
description: `Create out-of-band connection`,
|
|
75685
|
-
args:
|
|
75686
|
-
tool: async (client,
|
|
75687
|
-
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();
|
|
75688
75897
|
if (!result.ok) {
|
|
75689
75898
|
return {
|
|
75690
75899
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75777,12 +75986,12 @@ var init_serversStartRescueMode = __esm(() => {
|
|
|
75777
75986
|
});
|
|
75778
75987
|
|
|
75779
75988
|
// src/mcp-server/tools/serversStartRescueMode.ts
|
|
75780
|
-
var
|
|
75989
|
+
var args78, tool$serversStartRescueMode;
|
|
75781
75990
|
var init_serversStartRescueMode2 = __esm(() => {
|
|
75782
75991
|
init_serversStartRescueMode();
|
|
75783
75992
|
init_operations();
|
|
75784
75993
|
init_tools();
|
|
75785
|
-
|
|
75994
|
+
args78 = {
|
|
75786
75995
|
request: ServerStartRescueModeRequest$inboundSchema
|
|
75787
75996
|
};
|
|
75788
75997
|
tool$serversStartRescueMode = {
|
|
@@ -75790,9 +75999,9 @@ var init_serversStartRescueMode2 = __esm(() => {
|
|
|
75790
75999
|
description: `Put server in rescue mode
|
|
75791
76000
|
|
|
75792
76001
|
Starts rescue mode on a given server.`,
|
|
75793
|
-
args:
|
|
75794
|
-
tool: async (client,
|
|
75795
|
-
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();
|
|
75796
76005
|
if (!result.ok) {
|
|
75797
76006
|
return {
|
|
75798
76007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75885,12 +76094,12 @@ var init_serversUnlock = __esm(() => {
|
|
|
75885
76094
|
});
|
|
75886
76095
|
|
|
75887
76096
|
// src/mcp-server/tools/serversUnlock.ts
|
|
75888
|
-
var
|
|
76097
|
+
var args79, tool$serversUnlock;
|
|
75889
76098
|
var init_serversUnlock2 = __esm(() => {
|
|
75890
76099
|
init_serversUnlock();
|
|
75891
76100
|
init_operations();
|
|
75892
76101
|
init_tools();
|
|
75893
|
-
|
|
76102
|
+
args79 = {
|
|
75894
76103
|
request: ServerUnlockRequest$inboundSchema
|
|
75895
76104
|
};
|
|
75896
76105
|
tool$serversUnlock = {
|
|
@@ -75898,9 +76107,9 @@ var init_serversUnlock2 = __esm(() => {
|
|
|
75898
76107
|
description: `Unlock server
|
|
75899
76108
|
|
|
75900
76109
|
Unlocks the server. A locked server cannot be deleted or modified and no actions can be performed on it.`,
|
|
75901
|
-
args:
|
|
75902
|
-
tool: async (client,
|
|
75903
|
-
const [result, apiCall] = await serversUnlock(client,
|
|
76110
|
+
args: args79,
|
|
76111
|
+
tool: async (client, args80, ctx) => {
|
|
76112
|
+
const [result, apiCall] = await serversUnlock(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75904
76113
|
if (!result.ok) {
|
|
75905
76114
|
return {
|
|
75906
76115
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75991,12 +76200,12 @@ var init_serversUnscheduleDeletion = __esm(() => {
|
|
|
75991
76200
|
});
|
|
75992
76201
|
|
|
75993
76202
|
// src/mcp-server/tools/serversUnscheduleDeletion.ts
|
|
75994
|
-
var
|
|
76203
|
+
var args80, tool$serversUnscheduleDeletion;
|
|
75995
76204
|
var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
75996
76205
|
init_serversUnscheduleDeletion();
|
|
75997
76206
|
init_operations();
|
|
75998
76207
|
init_tools();
|
|
75999
|
-
|
|
76208
|
+
args80 = {
|
|
76000
76209
|
request: ServerUnscheduleDeletionRequest$inboundSchema
|
|
76001
76210
|
};
|
|
76002
76211
|
tool$serversUnscheduleDeletion = {
|
|
@@ -76004,9 +76213,9 @@ var init_serversUnscheduleDeletion2 = __esm(() => {
|
|
|
76004
76213
|
description: `Unschedule server deletion
|
|
76005
76214
|
|
|
76006
76215
|
Unschedules the server removal at the end of the billing cycle.`,
|
|
76007
|
-
args:
|
|
76008
|
-
tool: async (client,
|
|
76009
|
-
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();
|
|
76010
76219
|
if (!result.ok) {
|
|
76011
76220
|
return {
|
|
76012
76221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76099,20 +76308,20 @@ var init_serversUpdate = __esm(() => {
|
|
|
76099
76308
|
});
|
|
76100
76309
|
|
|
76101
76310
|
// src/mcp-server/tools/serversUpdate.ts
|
|
76102
|
-
var
|
|
76311
|
+
var args81, tool$serversUpdate;
|
|
76103
76312
|
var init_serversUpdate2 = __esm(() => {
|
|
76104
76313
|
init_serversUpdate();
|
|
76105
76314
|
init_operations();
|
|
76106
76315
|
init_tools();
|
|
76107
|
-
|
|
76316
|
+
args81 = {
|
|
76108
76317
|
request: UpdateServerRequest$inboundSchema
|
|
76109
76318
|
};
|
|
76110
76319
|
tool$serversUpdate = {
|
|
76111
76320
|
name: "servers-update",
|
|
76112
76321
|
description: `Update server`,
|
|
76113
|
-
args:
|
|
76114
|
-
tool: async (client,
|
|
76115
|
-
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();
|
|
76116
76325
|
if (!result.ok) {
|
|
76117
76326
|
return {
|
|
76118
76327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76206,20 +76415,20 @@ var init_serversUpdateDeployConfig = __esm(() => {
|
|
|
76206
76415
|
});
|
|
76207
76416
|
|
|
76208
76417
|
// src/mcp-server/tools/serversUpdateDeployConfig.ts
|
|
76209
|
-
var
|
|
76418
|
+
var args82, tool$serversUpdateDeployConfig;
|
|
76210
76419
|
var init_serversUpdateDeployConfig2 = __esm(() => {
|
|
76211
76420
|
init_serversUpdateDeployConfig();
|
|
76212
76421
|
init_operations();
|
|
76213
76422
|
init_tools();
|
|
76214
|
-
|
|
76423
|
+
args82 = {
|
|
76215
76424
|
request: UpdateServerDeployConfigRequest$inboundSchema
|
|
76216
76425
|
};
|
|
76217
76426
|
tool$serversUpdateDeployConfig = {
|
|
76218
76427
|
name: "servers-update-deploy-config",
|
|
76219
76428
|
description: `Update deploy config`,
|
|
76220
|
-
args:
|
|
76221
|
-
tool: async (client,
|
|
76222
|
-
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();
|
|
76223
76432
|
if (!result.ok) {
|
|
76224
76433
|
return {
|
|
76225
76434
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76306,12 +76515,12 @@ var init_sshKeysCreate = __esm(() => {
|
|
|
76306
76515
|
});
|
|
76307
76516
|
|
|
76308
76517
|
// src/mcp-server/tools/sshKeysCreate.ts
|
|
76309
|
-
var
|
|
76518
|
+
var args83, tool$sshKeysCreate;
|
|
76310
76519
|
var init_sshKeysCreate2 = __esm(() => {
|
|
76311
76520
|
init_sshKeysCreate();
|
|
76312
76521
|
init_operations();
|
|
76313
76522
|
init_tools();
|
|
76314
|
-
|
|
76523
|
+
args83 = {
|
|
76315
76524
|
request: PostSshKeyRequest$inboundSchema
|
|
76316
76525
|
};
|
|
76317
76526
|
tool$sshKeysCreate = {
|
|
@@ -76320,9 +76529,9 @@ var init_sshKeysCreate2 = __esm(() => {
|
|
|
76320
76529
|
|
|
76321
76530
|
Allows you create SSH Keys. These keys can be used to access servers after deploy and reinstall actions.
|
|
76322
76531
|
`,
|
|
76323
|
-
args:
|
|
76324
|
-
tool: async (client,
|
|
76325
|
-
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();
|
|
76326
76535
|
if (!result.ok) {
|
|
76327
76536
|
return {
|
|
76328
76537
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76413,12 +76622,12 @@ var init_sshKeysDelete = __esm(() => {
|
|
|
76413
76622
|
});
|
|
76414
76623
|
|
|
76415
76624
|
// src/mcp-server/tools/sshKeysDelete.ts
|
|
76416
|
-
var
|
|
76625
|
+
var args84, tool$sshKeysDelete;
|
|
76417
76626
|
var init_sshKeysDelete2 = __esm(() => {
|
|
76418
76627
|
init_sshKeysDelete();
|
|
76419
76628
|
init_operations();
|
|
76420
76629
|
init_tools();
|
|
76421
|
-
|
|
76630
|
+
args84 = {
|
|
76422
76631
|
request: DeleteSshKeyRequest$inboundSchema
|
|
76423
76632
|
};
|
|
76424
76633
|
tool$sshKeysDelete = {
|
|
@@ -76427,9 +76636,9 @@ var init_sshKeysDelete2 = __esm(() => {
|
|
|
76427
76636
|
|
|
76428
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.
|
|
76429
76638
|
`,
|
|
76430
|
-
args:
|
|
76431
|
-
tool: async (client,
|
|
76432
|
-
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();
|
|
76433
76642
|
if (!result.ok) {
|
|
76434
76643
|
return {
|
|
76435
76644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76524,12 +76733,12 @@ var init_sshKeysGet = __esm(() => {
|
|
|
76524
76733
|
});
|
|
76525
76734
|
|
|
76526
76735
|
// src/mcp-server/tools/sshKeysGet.ts
|
|
76527
|
-
var
|
|
76736
|
+
var args85, tool$sshKeysGet;
|
|
76528
76737
|
var init_sshKeysGet2 = __esm(() => {
|
|
76529
76738
|
init_sshKeysGet();
|
|
76530
76739
|
init_operations();
|
|
76531
76740
|
init_tools();
|
|
76532
|
-
|
|
76741
|
+
args85 = {
|
|
76533
76742
|
request: GetProjectSshKeyRequest$inboundSchema
|
|
76534
76743
|
};
|
|
76535
76744
|
tool$sshKeysGet = {
|
|
@@ -76538,9 +76747,9 @@ var init_sshKeysGet2 = __esm(() => {
|
|
|
76538
76747
|
|
|
76539
76748
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76540
76749
|
`,
|
|
76541
|
-
args:
|
|
76542
|
-
tool: async (client,
|
|
76543
|
-
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();
|
|
76544
76753
|
if (!result.ok) {
|
|
76545
76754
|
return {
|
|
76546
76755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76640,12 +76849,12 @@ var init_sshKeysList = __esm(() => {
|
|
|
76640
76849
|
});
|
|
76641
76850
|
|
|
76642
76851
|
// src/mcp-server/tools/sshKeysList.ts
|
|
76643
|
-
var
|
|
76852
|
+
var args86, tool$sshKeysList;
|
|
76644
76853
|
var init_sshKeysList2 = __esm(() => {
|
|
76645
76854
|
init_sshKeysList();
|
|
76646
76855
|
init_operations();
|
|
76647
76856
|
init_tools();
|
|
76648
|
-
|
|
76857
|
+
args86 = {
|
|
76649
76858
|
request: GetProjectSshKeysRequest$inboundSchema
|
|
76650
76859
|
};
|
|
76651
76860
|
tool$sshKeysList = {
|
|
@@ -76654,9 +76863,9 @@ var init_sshKeysList2 = __esm(() => {
|
|
|
76654
76863
|
|
|
76655
76864
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76656
76865
|
`,
|
|
76657
|
-
args:
|
|
76658
|
-
tool: async (client,
|
|
76659
|
-
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();
|
|
76660
76869
|
if (!result.ok) {
|
|
76661
76870
|
return {
|
|
76662
76871
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76752,12 +76961,12 @@ var init_sshKeysListAll = __esm(() => {
|
|
|
76752
76961
|
});
|
|
76753
76962
|
|
|
76754
76963
|
// src/mcp-server/tools/sshKeysListAll.ts
|
|
76755
|
-
var
|
|
76964
|
+
var args87, tool$sshKeysListAll;
|
|
76756
76965
|
var init_sshKeysListAll2 = __esm(() => {
|
|
76757
76966
|
init_sshKeysListAll();
|
|
76758
76967
|
init_operations();
|
|
76759
76968
|
init_tools();
|
|
76760
|
-
|
|
76969
|
+
args87 = {
|
|
76761
76970
|
request: GetSshKeysRequest$inboundSchema.optional()
|
|
76762
76971
|
};
|
|
76763
76972
|
tool$sshKeysListAll = {
|
|
@@ -76766,9 +76975,9 @@ var init_sshKeysListAll2 = __esm(() => {
|
|
|
76766
76975
|
|
|
76767
76976
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76768
76977
|
`,
|
|
76769
|
-
args:
|
|
76770
|
-
tool: async (client,
|
|
76771
|
-
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();
|
|
76772
76981
|
if (!result.ok) {
|
|
76773
76982
|
return {
|
|
76774
76983
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76865,12 +77074,12 @@ var init_sshKeysModifyProjectKey = __esm(() => {
|
|
|
76865
77074
|
});
|
|
76866
77075
|
|
|
76867
77076
|
// src/mcp-server/tools/sshKeysModifyProjectKey.ts
|
|
76868
|
-
var
|
|
77077
|
+
var args88, tool$sshKeysModifyProjectKey;
|
|
76869
77078
|
var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
76870
77079
|
init_sshKeysModifyProjectKey();
|
|
76871
77080
|
init_operations();
|
|
76872
77081
|
init_tools();
|
|
76873
|
-
|
|
77082
|
+
args88 = {
|
|
76874
77083
|
request: PutProjectSshKeyRequest$inboundSchema
|
|
76875
77084
|
};
|
|
76876
77085
|
tool$sshKeysModifyProjectKey = {
|
|
@@ -76879,9 +77088,9 @@ var init_sshKeysModifyProjectKey2 = __esm(() => {
|
|
|
76879
77088
|
|
|
76880
77089
|
Allow you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
76881
77090
|
`,
|
|
76882
|
-
args:
|
|
76883
|
-
tool: async (client,
|
|
76884
|
-
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();
|
|
76885
77094
|
if (!result.ok) {
|
|
76886
77095
|
return {
|
|
76887
77096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76976,12 +77185,12 @@ var init_sshKeysRemoveFromProject = __esm(() => {
|
|
|
76976
77185
|
});
|
|
76977
77186
|
|
|
76978
77187
|
// src/mcp-server/tools/sshKeysRemoveFromProject.ts
|
|
76979
|
-
var
|
|
77188
|
+
var args89, tool$sshKeysRemoveFromProject;
|
|
76980
77189
|
var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
76981
77190
|
init_sshKeysRemoveFromProject();
|
|
76982
77191
|
init_operations();
|
|
76983
77192
|
init_tools();
|
|
76984
|
-
|
|
77193
|
+
args89 = {
|
|
76985
77194
|
request: DeleteProjectSshKeyRequest$inboundSchema
|
|
76986
77195
|
};
|
|
76987
77196
|
tool$sshKeysRemoveFromProject = {
|
|
@@ -76990,9 +77199,9 @@ var init_sshKeysRemoveFromProject2 = __esm(() => {
|
|
|
76990
77199
|
|
|
76991
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.
|
|
76992
77201
|
`,
|
|
76993
|
-
args:
|
|
76994
|
-
tool: async (client,
|
|
76995
|
-
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();
|
|
76996
77205
|
if (!result.ok) {
|
|
76997
77206
|
return {
|
|
76998
77207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77083,12 +77292,12 @@ var init_sshKeysRetrieve = __esm(() => {
|
|
|
77083
77292
|
});
|
|
77084
77293
|
|
|
77085
77294
|
// src/mcp-server/tools/sshKeysRetrieve.ts
|
|
77086
|
-
var
|
|
77295
|
+
var args90, tool$sshKeysRetrieve;
|
|
77087
77296
|
var init_sshKeysRetrieve2 = __esm(() => {
|
|
77088
77297
|
init_sshKeysRetrieve();
|
|
77089
77298
|
init_operations();
|
|
77090
77299
|
init_tools();
|
|
77091
|
-
|
|
77300
|
+
args90 = {
|
|
77092
77301
|
request: GetSshKeyRequest$inboundSchema
|
|
77093
77302
|
};
|
|
77094
77303
|
tool$sshKeysRetrieve = {
|
|
@@ -77097,9 +77306,9 @@ var init_sshKeysRetrieve2 = __esm(() => {
|
|
|
77097
77306
|
|
|
77098
77307
|
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77099
77308
|
`,
|
|
77100
|
-
args:
|
|
77101
|
-
tool: async (client,
|
|
77102
|
-
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();
|
|
77103
77312
|
if (!result.ok) {
|
|
77104
77313
|
return {
|
|
77105
77314
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77192,12 +77401,12 @@ var init_sshKeysUpdate = __esm(() => {
|
|
|
77192
77401
|
});
|
|
77193
77402
|
|
|
77194
77403
|
// src/mcp-server/tools/sshKeysUpdate.ts
|
|
77195
|
-
var
|
|
77404
|
+
var args91, tool$sshKeysUpdate;
|
|
77196
77405
|
var init_sshKeysUpdate2 = __esm(() => {
|
|
77197
77406
|
init_sshKeysUpdate();
|
|
77198
77407
|
init_operations();
|
|
77199
77408
|
init_tools();
|
|
77200
|
-
|
|
77409
|
+
args91 = {
|
|
77201
77410
|
request: PutSshKeyRequest$inboundSchema
|
|
77202
77411
|
};
|
|
77203
77412
|
tool$sshKeysUpdate = {
|
|
@@ -77206,9 +77415,9 @@ var init_sshKeysUpdate2 = __esm(() => {
|
|
|
77206
77415
|
|
|
77207
77416
|
Allows you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.
|
|
77208
77417
|
`,
|
|
77209
|
-
args:
|
|
77210
|
-
tool: async (client,
|
|
77211
|
-
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();
|
|
77212
77421
|
if (!result.ok) {
|
|
77213
77422
|
return {
|
|
77214
77423
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77302,12 +77511,12 @@ var init_tagsCreate = __esm(() => {
|
|
|
77302
77511
|
});
|
|
77303
77512
|
|
|
77304
77513
|
// src/mcp-server/tools/tagsCreate.ts
|
|
77305
|
-
var
|
|
77514
|
+
var args92, tool$tagsCreate;
|
|
77306
77515
|
var init_tagsCreate2 = __esm(() => {
|
|
77307
77516
|
init_tagsCreate();
|
|
77308
77517
|
init_operations();
|
|
77309
77518
|
init_tools();
|
|
77310
|
-
|
|
77519
|
+
args92 = {
|
|
77311
77520
|
request: CreateTagRequest$inboundSchema
|
|
77312
77521
|
};
|
|
77313
77522
|
tool$tagsCreate = {
|
|
@@ -77316,9 +77525,9 @@ var init_tagsCreate2 = __esm(() => {
|
|
|
77316
77525
|
|
|
77317
77526
|
Create a Tag in the team.
|
|
77318
77527
|
`,
|
|
77319
|
-
args:
|
|
77320
|
-
tool: async (client,
|
|
77321
|
-
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();
|
|
77322
77531
|
if (!result.ok) {
|
|
77323
77532
|
return {
|
|
77324
77533
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77409,12 +77618,12 @@ var init_tagsDelete = __esm(() => {
|
|
|
77409
77618
|
});
|
|
77410
77619
|
|
|
77411
77620
|
// src/mcp-server/tools/tagsDelete.ts
|
|
77412
|
-
var
|
|
77621
|
+
var args93, tool$tagsDelete;
|
|
77413
77622
|
var init_tagsDelete2 = __esm(() => {
|
|
77414
77623
|
init_tagsDelete();
|
|
77415
77624
|
init_operations();
|
|
77416
77625
|
init_tools();
|
|
77417
|
-
|
|
77626
|
+
args93 = {
|
|
77418
77627
|
request: DestroyTagRequest$inboundSchema
|
|
77419
77628
|
};
|
|
77420
77629
|
tool$tagsDelete = {
|
|
@@ -77423,9 +77632,9 @@ var init_tagsDelete2 = __esm(() => {
|
|
|
77423
77632
|
|
|
77424
77633
|
Update a Tag in the team.
|
|
77425
77634
|
`,
|
|
77426
|
-
args:
|
|
77427
|
-
tool: async (client,
|
|
77428
|
-
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();
|
|
77429
77638
|
if (!result.ok) {
|
|
77430
77639
|
return {
|
|
77431
77640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77612,12 +77821,12 @@ var init_tagsUpdate = __esm(() => {
|
|
|
77612
77821
|
});
|
|
77613
77822
|
|
|
77614
77823
|
// src/mcp-server/tools/tagsUpdate.ts
|
|
77615
|
-
var
|
|
77824
|
+
var args94, tool$tagsUpdate;
|
|
77616
77825
|
var init_tagsUpdate2 = __esm(() => {
|
|
77617
77826
|
init_tagsUpdate();
|
|
77618
77827
|
init_operations();
|
|
77619
77828
|
init_tools();
|
|
77620
|
-
|
|
77829
|
+
args94 = {
|
|
77621
77830
|
request: UpdateTagRequest$inboundSchema
|
|
77622
77831
|
};
|
|
77623
77832
|
tool$tagsUpdate = {
|
|
@@ -77626,9 +77835,9 @@ var init_tagsUpdate2 = __esm(() => {
|
|
|
77626
77835
|
|
|
77627
77836
|
Update a Tag in the team.
|
|
77628
77837
|
`,
|
|
77629
|
-
args:
|
|
77630
|
-
tool: async (client,
|
|
77631
|
-
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();
|
|
77632
77841
|
if (!result.ok) {
|
|
77633
77842
|
return {
|
|
77634
77843
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77719,20 +77928,20 @@ var init_teamMembersDelete = __esm(() => {
|
|
|
77719
77928
|
});
|
|
77720
77929
|
|
|
77721
77930
|
// src/mcp-server/tools/teamMembersDelete.ts
|
|
77722
|
-
var
|
|
77931
|
+
var args95, tool$teamMembersDelete;
|
|
77723
77932
|
var init_teamMembersDelete2 = __esm(() => {
|
|
77724
77933
|
init_teamMembersDelete();
|
|
77725
77934
|
init_operations();
|
|
77726
77935
|
init_tools();
|
|
77727
|
-
|
|
77936
|
+
args95 = {
|
|
77728
77937
|
request: DestroyTeamMemberRequest$inboundSchema
|
|
77729
77938
|
};
|
|
77730
77939
|
tool$teamMembersDelete = {
|
|
77731
77940
|
name: "team-members-delete",
|
|
77732
77941
|
description: `Remove a member`,
|
|
77733
|
-
args:
|
|
77734
|
-
tool: async (client,
|
|
77735
|
-
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();
|
|
77736
77945
|
if (!result.ok) {
|
|
77737
77946
|
return {
|
|
77738
77947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77819,20 +78028,20 @@ var init_teamMembersPostTeamMembers = __esm(() => {
|
|
|
77819
78028
|
});
|
|
77820
78029
|
|
|
77821
78030
|
// src/mcp-server/tools/teamMembersPostTeamMembers.ts
|
|
77822
|
-
var
|
|
78031
|
+
var args96, tool$teamMembersPostTeamMembers;
|
|
77823
78032
|
var init_teamMembersPostTeamMembers2 = __esm(() => {
|
|
77824
78033
|
init_teamMembersPostTeamMembers();
|
|
77825
78034
|
init_operations();
|
|
77826
78035
|
init_tools();
|
|
77827
|
-
|
|
78036
|
+
args96 = {
|
|
77828
78037
|
request: PostTeamMembersRequest$inboundSchema
|
|
77829
78038
|
};
|
|
77830
78039
|
tool$teamMembersPostTeamMembers = {
|
|
77831
78040
|
name: "team-members-post-team-members",
|
|
77832
78041
|
description: `Create member`,
|
|
77833
|
-
args:
|
|
77834
|
-
tool: async (client,
|
|
77835
|
-
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();
|
|
77836
78045
|
if (!result.ok) {
|
|
77837
78046
|
return {
|
|
77838
78047
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77919,20 +78128,20 @@ var init_teamsCreate = __esm(() => {
|
|
|
77919
78128
|
});
|
|
77920
78129
|
|
|
77921
78130
|
// src/mcp-server/tools/teamsCreate.ts
|
|
77922
|
-
var
|
|
78131
|
+
var args97, tool$teamsCreate;
|
|
77923
78132
|
var init_teamsCreate2 = __esm(() => {
|
|
77924
78133
|
init_teamsCreate();
|
|
77925
78134
|
init_operations();
|
|
77926
78135
|
init_tools();
|
|
77927
|
-
|
|
78136
|
+
args97 = {
|
|
77928
78137
|
request: PostTeamRequest$inboundSchema
|
|
77929
78138
|
};
|
|
77930
78139
|
tool$teamsCreate = {
|
|
77931
78140
|
name: "teams-create",
|
|
77932
78141
|
description: `Create team`,
|
|
77933
|
-
args:
|
|
77934
|
-
tool: async (client,
|
|
77935
|
-
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();
|
|
77936
78145
|
if (!result.ok) {
|
|
77937
78146
|
return {
|
|
77938
78147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78143,20 +78352,20 @@ var init_teamsMembersGetTeamMembers = __esm(() => {
|
|
|
78143
78352
|
});
|
|
78144
78353
|
|
|
78145
78354
|
// src/mcp-server/tools/teamsMembersGetTeamMembers.ts
|
|
78146
|
-
var
|
|
78355
|
+
var args98, tool$teamsMembersGetTeamMembers;
|
|
78147
78356
|
var init_teamsMembersGetTeamMembers2 = __esm(() => {
|
|
78148
78357
|
init_teamsMembersGetTeamMembers();
|
|
78149
78358
|
init_operations();
|
|
78150
78359
|
init_tools();
|
|
78151
|
-
|
|
78360
|
+
args98 = {
|
|
78152
78361
|
request: GetTeamMembersRequest$inboundSchema.optional()
|
|
78153
78362
|
};
|
|
78154
78363
|
tool$teamsMembersGetTeamMembers = {
|
|
78155
78364
|
name: "teams-members-get-team-members",
|
|
78156
78365
|
description: `List members`,
|
|
78157
|
-
args:
|
|
78158
|
-
tool: async (client,
|
|
78159
|
-
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();
|
|
78160
78369
|
if (!result.ok) {
|
|
78161
78370
|
return {
|
|
78162
78371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78249,20 +78458,20 @@ var init_teamsUpdate = __esm(() => {
|
|
|
78249
78458
|
});
|
|
78250
78459
|
|
|
78251
78460
|
// src/mcp-server/tools/teamsUpdate.ts
|
|
78252
|
-
var
|
|
78461
|
+
var args99, tool$teamsUpdate;
|
|
78253
78462
|
var init_teamsUpdate2 = __esm(() => {
|
|
78254
78463
|
init_teamsUpdate();
|
|
78255
78464
|
init_operations();
|
|
78256
78465
|
init_tools();
|
|
78257
|
-
|
|
78466
|
+
args99 = {
|
|
78258
78467
|
request: PatchCurrentTeamRequest$inboundSchema
|
|
78259
78468
|
};
|
|
78260
78469
|
tool$teamsUpdate = {
|
|
78261
78470
|
name: "teams-update",
|
|
78262
78471
|
description: `Update team`,
|
|
78263
|
-
args:
|
|
78264
|
-
tool: async (client,
|
|
78265
|
-
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();
|
|
78266
78475
|
if (!result.ok) {
|
|
78267
78476
|
return {
|
|
78268
78477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78356,20 +78565,20 @@ var init_trafficGet = __esm(() => {
|
|
|
78356
78565
|
});
|
|
78357
78566
|
|
|
78358
78567
|
// src/mcp-server/tools/trafficGet.ts
|
|
78359
|
-
var
|
|
78568
|
+
var args100, tool$trafficGet;
|
|
78360
78569
|
var init_trafficGet2 = __esm(() => {
|
|
78361
78570
|
init_trafficGet();
|
|
78362
78571
|
init_operations();
|
|
78363
78572
|
init_tools();
|
|
78364
|
-
|
|
78573
|
+
args100 = {
|
|
78365
78574
|
request: GetTrafficConsumptionRequest$inboundSchema
|
|
78366
78575
|
};
|
|
78367
78576
|
tool$trafficGet = {
|
|
78368
78577
|
name: "traffic-get",
|
|
78369
78578
|
description: `Retrieve traffic`,
|
|
78370
|
-
args:
|
|
78371
|
-
tool: async (client,
|
|
78372
|
-
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();
|
|
78373
78582
|
if (!result.ok) {
|
|
78374
78583
|
return {
|
|
78375
78584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78460,20 +78669,20 @@ var init_trafficGetQuota = __esm(() => {
|
|
|
78460
78669
|
});
|
|
78461
78670
|
|
|
78462
78671
|
// src/mcp-server/tools/trafficGetQuota.ts
|
|
78463
|
-
var
|
|
78672
|
+
var args101, tool$trafficGetQuota;
|
|
78464
78673
|
var init_trafficGetQuota2 = __esm(() => {
|
|
78465
78674
|
init_trafficGetQuota();
|
|
78466
78675
|
init_operations();
|
|
78467
78676
|
init_tools();
|
|
78468
|
-
|
|
78677
|
+
args101 = {
|
|
78469
78678
|
request: GetTrafficQuotaRequest$inboundSchema.optional()
|
|
78470
78679
|
};
|
|
78471
78680
|
tool$trafficGetQuota = {
|
|
78472
78681
|
name: "traffic-get-quota",
|
|
78473
78682
|
description: `Retrieve traffic quota`,
|
|
78474
|
-
args:
|
|
78475
|
-
tool: async (client,
|
|
78476
|
-
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();
|
|
78477
78686
|
if (!result.ok) {
|
|
78478
78687
|
return {
|
|
78479
78688
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78567,12 +78776,12 @@ var init_userDataCreate = __esm(() => {
|
|
|
78567
78776
|
});
|
|
78568
78777
|
|
|
78569
78778
|
// src/mcp-server/tools/userDataCreate.ts
|
|
78570
|
-
var
|
|
78779
|
+
var args102, tool$userDataCreate;
|
|
78571
78780
|
var init_userDataCreate2 = __esm(() => {
|
|
78572
78781
|
init_userDataCreate();
|
|
78573
78782
|
init_operations();
|
|
78574
78783
|
init_tools();
|
|
78575
|
-
|
|
78784
|
+
args102 = {
|
|
78576
78785
|
request: PostProjectUserDataRequest$inboundSchema
|
|
78577
78786
|
};
|
|
78578
78787
|
tool$userDataCreate = {
|
|
@@ -78581,9 +78790,9 @@ var init_userDataCreate2 = __esm(() => {
|
|
|
78581
78790
|
|
|
78582
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.
|
|
78583
78792
|
`,
|
|
78584
|
-
args:
|
|
78585
|
-
tool: async (client,
|
|
78586
|
-
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();
|
|
78587
78796
|
if (!result.ok) {
|
|
78588
78797
|
return {
|
|
78589
78798
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78671,12 +78880,12 @@ var init_userDataCreateNew = __esm(() => {
|
|
|
78671
78880
|
});
|
|
78672
78881
|
|
|
78673
78882
|
// src/mcp-server/tools/userDataCreateNew.ts
|
|
78674
|
-
var
|
|
78883
|
+
var args103, tool$userDataCreateNew;
|
|
78675
78884
|
var init_userDataCreateNew2 = __esm(() => {
|
|
78676
78885
|
init_userDataCreateNew();
|
|
78677
78886
|
init_operations();
|
|
78678
78887
|
init_tools();
|
|
78679
|
-
|
|
78888
|
+
args103 = {
|
|
78680
78889
|
request: PostUserDataRequest$inboundSchema
|
|
78681
78890
|
};
|
|
78682
78891
|
tool$userDataCreateNew = {
|
|
@@ -78685,9 +78894,9 @@ var init_userDataCreateNew2 = __esm(() => {
|
|
|
78685
78894
|
|
|
78686
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.
|
|
78687
78896
|
`,
|
|
78688
|
-
args:
|
|
78689
|
-
tool: async (client,
|
|
78690
|
-
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();
|
|
78691
78900
|
if (!result.ok) {
|
|
78692
78901
|
return {
|
|
78693
78902
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78778,20 +78987,20 @@ var init_userDataDelete = __esm(() => {
|
|
|
78778
78987
|
});
|
|
78779
78988
|
|
|
78780
78989
|
// src/mcp-server/tools/userDataDelete.ts
|
|
78781
|
-
var
|
|
78990
|
+
var args104, tool$userDataDelete;
|
|
78782
78991
|
var init_userDataDelete2 = __esm(() => {
|
|
78783
78992
|
init_userDataDelete();
|
|
78784
78993
|
init_operations();
|
|
78785
78994
|
init_tools();
|
|
78786
|
-
|
|
78995
|
+
args104 = {
|
|
78787
78996
|
request: DeleteUserDataRequest$inboundSchema
|
|
78788
78997
|
};
|
|
78789
78998
|
tool$userDataDelete = {
|
|
78790
78999
|
name: "user-data-delete",
|
|
78791
79000
|
description: `Delete user data`,
|
|
78792
|
-
args:
|
|
78793
|
-
tool: async (client,
|
|
78794
|
-
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();
|
|
78795
79004
|
if (!result.ok) {
|
|
78796
79005
|
return {
|
|
78797
79006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78885,12 +79094,12 @@ var init_userDataDeleteProjectUserData = __esm(() => {
|
|
|
78885
79094
|
});
|
|
78886
79095
|
|
|
78887
79096
|
// src/mcp-server/tools/userDataDeleteProjectUserData.ts
|
|
78888
|
-
var
|
|
79097
|
+
var args105, tool$userDataDeleteProjectUserData;
|
|
78889
79098
|
var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
78890
79099
|
init_userDataDeleteProjectUserData();
|
|
78891
79100
|
init_operations();
|
|
78892
79101
|
init_tools();
|
|
78893
|
-
|
|
79102
|
+
args105 = {
|
|
78894
79103
|
request: DeleteProjectUserDataRequest$inboundSchema
|
|
78895
79104
|
};
|
|
78896
79105
|
tool$userDataDeleteProjectUserData = {
|
|
@@ -78899,9 +79108,9 @@ var init_userDataDeleteProjectUserData2 = __esm(() => {
|
|
|
78899
79108
|
|
|
78900
79109
|
Allow you remove User Data in a project.
|
|
78901
79110
|
`,
|
|
78902
|
-
args:
|
|
78903
|
-
tool: async (client,
|
|
78904
|
-
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();
|
|
78905
79114
|
if (!result.ok) {
|
|
78906
79115
|
return {
|
|
78907
79116
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79001,12 +79210,12 @@ var init_userDataGetProjectUserData = __esm(() => {
|
|
|
79001
79210
|
});
|
|
79002
79211
|
|
|
79003
79212
|
// src/mcp-server/tools/userDataGetProjectUserData.ts
|
|
79004
|
-
var
|
|
79213
|
+
var args106, tool$userDataGetProjectUserData;
|
|
79005
79214
|
var init_userDataGetProjectUserData2 = __esm(() => {
|
|
79006
79215
|
init_userDataGetProjectUserData();
|
|
79007
79216
|
init_operations();
|
|
79008
79217
|
init_tools();
|
|
79009
|
-
|
|
79218
|
+
args106 = {
|
|
79010
79219
|
request: GetProjectUserDataRequest$inboundSchema
|
|
79011
79220
|
};
|
|
79012
79221
|
tool$userDataGetProjectUserData = {
|
|
@@ -79015,9 +79224,9 @@ var init_userDataGetProjectUserData2 = __esm(() => {
|
|
|
79015
79224
|
|
|
79016
79225
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79017
79226
|
`,
|
|
79018
|
-
args:
|
|
79019
|
-
tool: async (client,
|
|
79020
|
-
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();
|
|
79021
79230
|
if (!result.ok) {
|
|
79022
79231
|
return {
|
|
79023
79232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79114,12 +79323,12 @@ var init_userDataGetProjectUsersData = __esm(() => {
|
|
|
79114
79323
|
});
|
|
79115
79324
|
|
|
79116
79325
|
// src/mcp-server/tools/userDataGetProjectUsersData.ts
|
|
79117
|
-
var
|
|
79326
|
+
var args107, tool$userDataGetProjectUsersData;
|
|
79118
79327
|
var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
79119
79328
|
init_userDataGetProjectUsersData();
|
|
79120
79329
|
init_operations();
|
|
79121
79330
|
init_tools();
|
|
79122
|
-
|
|
79331
|
+
args107 = {
|
|
79123
79332
|
request: GetProjectUsersDataRequest$inboundSchema
|
|
79124
79333
|
};
|
|
79125
79334
|
tool$userDataGetProjectUsersData = {
|
|
@@ -79128,9 +79337,9 @@ var init_userDataGetProjectUsersData2 = __esm(() => {
|
|
|
79128
79337
|
|
|
79129
79338
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79130
79339
|
`,
|
|
79131
|
-
args:
|
|
79132
|
-
tool: async (client,
|
|
79133
|
-
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();
|
|
79134
79343
|
if (!result.ok) {
|
|
79135
79344
|
return {
|
|
79136
79345
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79259,12 +79468,12 @@ var init_userDataList = __esm(() => {
|
|
|
79259
79468
|
});
|
|
79260
79469
|
|
|
79261
79470
|
// src/mcp-server/tools/userDataList.ts
|
|
79262
|
-
var
|
|
79471
|
+
var args108, tool$userDataList;
|
|
79263
79472
|
var init_userDataList2 = __esm(() => {
|
|
79264
79473
|
init_userDataList();
|
|
79265
79474
|
init_operations();
|
|
79266
79475
|
init_tools();
|
|
79267
|
-
|
|
79476
|
+
args108 = {
|
|
79268
79477
|
request: GetUsersDataRequest$inboundSchema.optional()
|
|
79269
79478
|
};
|
|
79270
79479
|
tool$userDataList = {
|
|
@@ -79273,9 +79482,9 @@ var init_userDataList2 = __esm(() => {
|
|
|
79273
79482
|
|
|
79274
79483
|
List all Users Data in the project. These scripts can be used to configure servers with user data.
|
|
79275
79484
|
`,
|
|
79276
|
-
args:
|
|
79277
|
-
tool: async (client,
|
|
79278
|
-
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();
|
|
79279
79488
|
if (!result.ok) {
|
|
79280
79489
|
return {
|
|
79281
79490
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79372,12 +79581,12 @@ var init_userDataRetrieve = __esm(() => {
|
|
|
79372
79581
|
});
|
|
79373
79582
|
|
|
79374
79583
|
// src/mcp-server/tools/userDataRetrieve.ts
|
|
79375
|
-
var
|
|
79584
|
+
var args109, tool$userDataRetrieve;
|
|
79376
79585
|
var init_userDataRetrieve2 = __esm(() => {
|
|
79377
79586
|
init_userDataRetrieve();
|
|
79378
79587
|
init_operations();
|
|
79379
79588
|
init_tools();
|
|
79380
|
-
|
|
79589
|
+
args109 = {
|
|
79381
79590
|
request: GetUserDataRequest$inboundSchema
|
|
79382
79591
|
};
|
|
79383
79592
|
tool$userDataRetrieve = {
|
|
@@ -79386,9 +79595,9 @@ var init_userDataRetrieve2 = __esm(() => {
|
|
|
79386
79595
|
|
|
79387
79596
|
Get User Data in the project. These scripts can be used to configure servers with user data.
|
|
79388
79597
|
`,
|
|
79389
|
-
args:
|
|
79390
|
-
tool: async (client,
|
|
79391
|
-
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();
|
|
79392
79601
|
if (!result.ok) {
|
|
79393
79602
|
return {
|
|
79394
79603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79482,12 +79691,12 @@ var init_userDataUpdate = __esm(() => {
|
|
|
79482
79691
|
});
|
|
79483
79692
|
|
|
79484
79693
|
// src/mcp-server/tools/userDataUpdate.ts
|
|
79485
|
-
var
|
|
79694
|
+
var args110, tool$userDataUpdate;
|
|
79486
79695
|
var init_userDataUpdate2 = __esm(() => {
|
|
79487
79696
|
init_userDataUpdate();
|
|
79488
79697
|
init_operations();
|
|
79489
79698
|
init_tools();
|
|
79490
|
-
|
|
79699
|
+
args110 = {
|
|
79491
79700
|
request: PatchUserDataRequest$inboundSchema
|
|
79492
79701
|
};
|
|
79493
79702
|
tool$userDataUpdate = {
|
|
@@ -79496,9 +79705,9 @@ var init_userDataUpdate2 = __esm(() => {
|
|
|
79496
79705
|
|
|
79497
79706
|
Allow you update User Data in a team.
|
|
79498
79707
|
`,
|
|
79499
|
-
args:
|
|
79500
|
-
tool: async (client,
|
|
79501
|
-
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();
|
|
79502
79711
|
if (!result.ok) {
|
|
79503
79712
|
return {
|
|
79504
79713
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79596,12 +79805,12 @@ var init_userDataUpdateForProject = __esm(() => {
|
|
|
79596
79805
|
});
|
|
79597
79806
|
|
|
79598
79807
|
// src/mcp-server/tools/userDataUpdateForProject.ts
|
|
79599
|
-
var
|
|
79808
|
+
var args111, tool$userDataUpdateForProject;
|
|
79600
79809
|
var init_userDataUpdateForProject2 = __esm(() => {
|
|
79601
79810
|
init_userDataUpdateForProject();
|
|
79602
79811
|
init_operations();
|
|
79603
79812
|
init_tools();
|
|
79604
|
-
|
|
79813
|
+
args111 = {
|
|
79605
79814
|
request: PutProjectUserDataRequest$inboundSchema
|
|
79606
79815
|
};
|
|
79607
79816
|
tool$userDataUpdateForProject = {
|
|
@@ -79610,9 +79819,9 @@ var init_userDataUpdateForProject2 = __esm(() => {
|
|
|
79610
79819
|
|
|
79611
79820
|
Allow you update User Data in a project.
|
|
79612
79821
|
`,
|
|
79613
|
-
args:
|
|
79614
|
-
tool: async (client,
|
|
79615
|
-
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();
|
|
79616
79825
|
if (!result.ok) {
|
|
79617
79826
|
return {
|
|
79618
79827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79881,12 +80090,12 @@ var init_userProfileUpdate = __esm(() => {
|
|
|
79881
80090
|
});
|
|
79882
80091
|
|
|
79883
80092
|
// src/mcp-server/tools/userProfileUpdate.ts
|
|
79884
|
-
var
|
|
80093
|
+
var args112, tool$userProfileUpdate;
|
|
79885
80094
|
var init_userProfileUpdate2 = __esm(() => {
|
|
79886
80095
|
init_userProfileUpdate();
|
|
79887
80096
|
init_operations();
|
|
79888
80097
|
init_tools();
|
|
79889
|
-
|
|
80098
|
+
args112 = {
|
|
79890
80099
|
request: PatchUserProfileRequest$inboundSchema
|
|
79891
80100
|
};
|
|
79892
80101
|
tool$userProfileUpdate = {
|
|
@@ -79895,9 +80104,9 @@ var init_userProfileUpdate2 = __esm(() => {
|
|
|
79895
80104
|
|
|
79896
80105
|
Update the current user profile
|
|
79897
80106
|
`,
|
|
79898
|
-
args:
|
|
79899
|
-
tool: async (client,
|
|
79900
|
-
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();
|
|
79901
80110
|
if (!result.ok) {
|
|
79902
80111
|
return {
|
|
79903
80112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79990,12 +80199,12 @@ var init_virtualMachineBackupsCreate = __esm(() => {
|
|
|
79990
80199
|
});
|
|
79991
80200
|
|
|
79992
80201
|
// src/mcp-server/tools/virtualMachineBackupsCreate.ts
|
|
79993
|
-
var
|
|
80202
|
+
var args113, tool$virtualMachineBackupsCreate;
|
|
79994
80203
|
var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
79995
80204
|
init_virtualMachineBackupsCreate();
|
|
79996
80205
|
init_models();
|
|
79997
80206
|
init_tools();
|
|
79998
|
-
|
|
80207
|
+
args113 = {
|
|
79999
80208
|
request: VirtualMachineBackupPayload$inboundSchema
|
|
80000
80209
|
};
|
|
80001
80210
|
tool$virtualMachineBackupsCreate = {
|
|
@@ -80004,9 +80213,9 @@ var init_virtualMachineBackupsCreate2 = __esm(() => {
|
|
|
80004
80213
|
|
|
80005
80214
|
Triggers a backup of the Virtual Machine referenced in the body.
|
|
80006
80215
|
`,
|
|
80007
|
-
args:
|
|
80008
|
-
tool: async (client,
|
|
80009
|
-
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();
|
|
80010
80219
|
if (!result.ok) {
|
|
80011
80220
|
return {
|
|
80012
80221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80102,12 +80311,12 @@ var init_virtualMachineBackupsCreateForVirtualMachine = __esm(() => {
|
|
|
80102
80311
|
});
|
|
80103
80312
|
|
|
80104
80313
|
// src/mcp-server/tools/virtualMachineBackupsCreateForVirtualMachine.ts
|
|
80105
|
-
var
|
|
80314
|
+
var args114, tool$virtualMachineBackupsCreateForVirtualMachine;
|
|
80106
80315
|
var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
80107
80316
|
init_virtualMachineBackupsCreateForVirtualMachine();
|
|
80108
80317
|
init_operations();
|
|
80109
80318
|
init_tools();
|
|
80110
|
-
|
|
80319
|
+
args114 = {
|
|
80111
80320
|
request: CreateVirtualMachineBackupRequest$inboundSchema
|
|
80112
80321
|
};
|
|
80113
80322
|
tool$virtualMachineBackupsCreateForVirtualMachine = {
|
|
@@ -80116,9 +80325,9 @@ var init_virtualMachineBackupsCreateForVirtualMachine2 = __esm(() => {
|
|
|
80116
80325
|
|
|
80117
80326
|
Triggers a backup of the given Virtual Machine.
|
|
80118
80327
|
`,
|
|
80119
|
-
args:
|
|
80120
|
-
tool: async (client,
|
|
80121
|
-
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();
|
|
80122
80331
|
if (!result.ok) {
|
|
80123
80332
|
return {
|
|
80124
80333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80217,12 +80426,12 @@ var init_virtualMachineBackupsDelete = __esm(() => {
|
|
|
80217
80426
|
});
|
|
80218
80427
|
|
|
80219
80428
|
// src/mcp-server/tools/virtualMachineBackupsDelete.ts
|
|
80220
|
-
var
|
|
80429
|
+
var args115, tool$virtualMachineBackupsDelete;
|
|
80221
80430
|
var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
80222
80431
|
init_virtualMachineBackupsDelete();
|
|
80223
80432
|
init_operations();
|
|
80224
80433
|
init_tools();
|
|
80225
|
-
|
|
80434
|
+
args115 = {
|
|
80226
80435
|
request: DeleteVirtualMachineBackupRequest$inboundSchema
|
|
80227
80436
|
};
|
|
80228
80437
|
tool$virtualMachineBackupsDelete = {
|
|
@@ -80231,9 +80440,9 @@ var init_virtualMachineBackupsDelete2 = __esm(() => {
|
|
|
80231
80440
|
|
|
80232
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.
|
|
80233
80442
|
`,
|
|
80234
|
-
args:
|
|
80235
|
-
tool: async (client,
|
|
80236
|
-
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();
|
|
80237
80446
|
if (!result.ok) {
|
|
80238
80447
|
return {
|
|
80239
80448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80332,20 +80541,20 @@ var init_virtualMachineBackupsGet = __esm(() => {
|
|
|
80332
80541
|
});
|
|
80333
80542
|
|
|
80334
80543
|
// src/mcp-server/tools/virtualMachineBackupsGet.ts
|
|
80335
|
-
var
|
|
80544
|
+
var args116, tool$virtualMachineBackupsGet;
|
|
80336
80545
|
var init_virtualMachineBackupsGet2 = __esm(() => {
|
|
80337
80546
|
init_virtualMachineBackupsGet();
|
|
80338
80547
|
init_operations();
|
|
80339
80548
|
init_tools();
|
|
80340
|
-
|
|
80549
|
+
args116 = {
|
|
80341
80550
|
request: GetVirtualMachineBackupRequest$inboundSchema
|
|
80342
80551
|
};
|
|
80343
80552
|
tool$virtualMachineBackupsGet = {
|
|
80344
80553
|
name: "virtual-machine-backups-get",
|
|
80345
80554
|
description: `Get VM backup`,
|
|
80346
|
-
args:
|
|
80347
|
-
tool: async (client,
|
|
80348
|
-
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();
|
|
80349
80558
|
if (!result.ok) {
|
|
80350
80559
|
return {
|
|
80351
80560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80535,12 +80744,12 @@ var init_virtualMachineBackupsListForVirtualMachine = __esm(() => {
|
|
|
80535
80744
|
});
|
|
80536
80745
|
|
|
80537
80746
|
// src/mcp-server/tools/virtualMachineBackupsListForVirtualMachine.ts
|
|
80538
|
-
var
|
|
80747
|
+
var args117, tool$virtualMachineBackupsListForVirtualMachine;
|
|
80539
80748
|
var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
80540
80749
|
init_virtualMachineBackupsListForVirtualMachine();
|
|
80541
80750
|
init_operations();
|
|
80542
80751
|
init_tools();
|
|
80543
|
-
|
|
80752
|
+
args117 = {
|
|
80544
80753
|
request: ListVirtualMachineScopedBackupsRequest$inboundSchema
|
|
80545
80754
|
};
|
|
80546
80755
|
tool$virtualMachineBackupsListForVirtualMachine = {
|
|
@@ -80549,9 +80758,9 @@ var init_virtualMachineBackupsListForVirtualMachine2 = __esm(() => {
|
|
|
80549
80758
|
|
|
80550
80759
|
Lists the backups of the given Virtual Machine.
|
|
80551
80760
|
`,
|
|
80552
|
-
args:
|
|
80553
|
-
tool: async (client,
|
|
80554
|
-
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();
|
|
80555
80764
|
if (!result.ok) {
|
|
80556
80765
|
return {
|
|
80557
80766
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80644,12 +80853,12 @@ var init_virtualMachineRestoresCreate = __esm(() => {
|
|
|
80644
80853
|
});
|
|
80645
80854
|
|
|
80646
80855
|
// src/mcp-server/tools/virtualMachineRestoresCreate.ts
|
|
80647
|
-
var
|
|
80856
|
+
var args118, tool$virtualMachineRestoresCreate;
|
|
80648
80857
|
var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
80649
80858
|
init_virtualMachineRestoresCreate();
|
|
80650
80859
|
init_models();
|
|
80651
80860
|
init_tools();
|
|
80652
|
-
|
|
80861
|
+
args118 = {
|
|
80653
80862
|
request: VirtualMachineRestorePayload$inboundSchema
|
|
80654
80863
|
};
|
|
80655
80864
|
tool$virtualMachineRestoresCreate = {
|
|
@@ -80658,9 +80867,9 @@ var init_virtualMachineRestoresCreate2 = __esm(() => {
|
|
|
80658
80867
|
|
|
80659
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.
|
|
80660
80869
|
`,
|
|
80661
|
-
args:
|
|
80662
|
-
tool: async (client,
|
|
80663
|
-
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();
|
|
80664
80873
|
if (!result.ok) {
|
|
80665
80874
|
return {
|
|
80666
80875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80763,12 +80972,12 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup = __esm(() => {
|
|
|
80763
80972
|
});
|
|
80764
80973
|
|
|
80765
80974
|
// src/mcp-server/tools/virtualMachineRestoresCreateForVirtualMachineBackup.ts
|
|
80766
|
-
var
|
|
80975
|
+
var args119, tool$virtualMachineRestoresCreateForVirtualMachineBackup;
|
|
80767
80976
|
var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
80768
80977
|
init_virtualMachineRestoresCreateForVirtualMachineBackup();
|
|
80769
80978
|
init_operations();
|
|
80770
80979
|
init_tools();
|
|
80771
|
-
|
|
80980
|
+
args119 = {
|
|
80772
80981
|
request: CreateVirtualMachineRestoreRequest$inboundSchema
|
|
80773
80982
|
};
|
|
80774
80983
|
tool$virtualMachineRestoresCreateForVirtualMachineBackup = {
|
|
@@ -80777,9 +80986,9 @@ var init_virtualMachineRestoresCreateForVirtualMachineBackup2 = __esm(() => {
|
|
|
80777
80986
|
|
|
80778
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.
|
|
80779
80988
|
`,
|
|
80780
|
-
args:
|
|
80781
|
-
tool: async (client,
|
|
80782
|
-
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();
|
|
80783
80992
|
if (!result.ok) {
|
|
80784
80993
|
return {
|
|
80785
80994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80878,20 +81087,20 @@ var init_virtualMachineRestoresGet = __esm(() => {
|
|
|
80878
81087
|
});
|
|
80879
81088
|
|
|
80880
81089
|
// src/mcp-server/tools/virtualMachineRestoresGet.ts
|
|
80881
|
-
var
|
|
81090
|
+
var args120, tool$virtualMachineRestoresGet;
|
|
80882
81091
|
var init_virtualMachineRestoresGet2 = __esm(() => {
|
|
80883
81092
|
init_virtualMachineRestoresGet();
|
|
80884
81093
|
init_operations();
|
|
80885
81094
|
init_tools();
|
|
80886
|
-
|
|
81095
|
+
args120 = {
|
|
80887
81096
|
request: GetVirtualMachineRestoreRequest$inboundSchema
|
|
80888
81097
|
};
|
|
80889
81098
|
tool$virtualMachineRestoresGet = {
|
|
80890
81099
|
name: "virtual-machine-restores-get",
|
|
80891
81100
|
description: `Get VM restore`,
|
|
80892
|
-
args:
|
|
80893
|
-
tool: async (client,
|
|
80894
|
-
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();
|
|
80895
81104
|
if (!result.ok) {
|
|
80896
81105
|
return {
|
|
80897
81106
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81084,12 +81293,12 @@ var init_virtualMachineRestoresListForBackup = __esm(() => {
|
|
|
81084
81293
|
});
|
|
81085
81294
|
|
|
81086
81295
|
// src/mcp-server/tools/virtualMachineRestoresListForBackup.ts
|
|
81087
|
-
var
|
|
81296
|
+
var args121, tool$virtualMachineRestoresListForBackup;
|
|
81088
81297
|
var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
81089
81298
|
init_virtualMachineRestoresListForBackup();
|
|
81090
81299
|
init_operations();
|
|
81091
81300
|
init_tools();
|
|
81092
|
-
|
|
81301
|
+
args121 = {
|
|
81093
81302
|
request: ListBackupRestoresRequest$inboundSchema
|
|
81094
81303
|
};
|
|
81095
81304
|
tool$virtualMachineRestoresListForBackup = {
|
|
@@ -81098,9 +81307,9 @@ var init_virtualMachineRestoresListForBackup2 = __esm(() => {
|
|
|
81098
81307
|
|
|
81099
81308
|
Lists the restores created from the given backup, reached via the top-level backup path.
|
|
81100
81309
|
`,
|
|
81101
|
-
args:
|
|
81102
|
-
tool: async (client,
|
|
81103
|
-
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();
|
|
81104
81313
|
if (!result.ok) {
|
|
81105
81314
|
return {
|
|
81106
81315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81200,12 +81409,12 @@ var init_virtualMachineRestoresListForVirtualMachineBackup = __esm(() => {
|
|
|
81200
81409
|
});
|
|
81201
81410
|
|
|
81202
81411
|
// src/mcp-server/tools/virtualMachineRestoresListForVirtualMachineBackup.ts
|
|
81203
|
-
var
|
|
81412
|
+
var args122, tool$virtualMachineRestoresListForVirtualMachineBackup;
|
|
81204
81413
|
var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
81205
81414
|
init_virtualMachineRestoresListForVirtualMachineBackup();
|
|
81206
81415
|
init_operations();
|
|
81207
81416
|
init_tools();
|
|
81208
|
-
|
|
81417
|
+
args122 = {
|
|
81209
81418
|
request: ListVirtualMachineScopedRestoresRequest$inboundSchema
|
|
81210
81419
|
};
|
|
81211
81420
|
tool$virtualMachineRestoresListForVirtualMachineBackup = {
|
|
@@ -81214,9 +81423,9 @@ var init_virtualMachineRestoresListForVirtualMachineBackup2 = __esm(() => {
|
|
|
81214
81423
|
|
|
81215
81424
|
Lists the restores created from the given backup.
|
|
81216
81425
|
`,
|
|
81217
|
-
args:
|
|
81218
|
-
tool: async (client,
|
|
81219
|
-
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();
|
|
81220
81429
|
if (!result.ok) {
|
|
81221
81430
|
return {
|
|
81222
81431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81303,12 +81512,12 @@ var init_virtualMachinesCreate = __esm(() => {
|
|
|
81303
81512
|
});
|
|
81304
81513
|
|
|
81305
81514
|
// src/mcp-server/tools/virtualMachinesCreate.ts
|
|
81306
|
-
var
|
|
81515
|
+
var args123, tool$virtualMachinesCreate;
|
|
81307
81516
|
var init_virtualMachinesCreate2 = __esm(() => {
|
|
81308
81517
|
init_virtualMachinesCreate();
|
|
81309
81518
|
init_models();
|
|
81310
81519
|
init_tools();
|
|
81311
|
-
|
|
81520
|
+
args123 = {
|
|
81312
81521
|
request: VirtualMachinePayload$inboundSchema
|
|
81313
81522
|
};
|
|
81314
81523
|
tool$virtualMachinesCreate = {
|
|
@@ -81317,9 +81526,9 @@ var init_virtualMachinesCreate2 = __esm(() => {
|
|
|
81317
81526
|
|
|
81318
81527
|
Creates a new Virtual Machine.
|
|
81319
81528
|
`,
|
|
81320
|
-
args:
|
|
81321
|
-
tool: async (client,
|
|
81322
|
-
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();
|
|
81323
81532
|
if (!result.ok) {
|
|
81324
81533
|
return {
|
|
81325
81534
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81408,12 +81617,12 @@ var init_virtualMachinesCreateVirtualMachineAction = __esm(() => {
|
|
|
81408
81617
|
});
|
|
81409
81618
|
|
|
81410
81619
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineAction.ts
|
|
81411
|
-
var
|
|
81620
|
+
var args124, tool$virtualMachinesCreateVirtualMachineAction;
|
|
81412
81621
|
var init_virtualMachinesCreateVirtualMachineAction2 = __esm(() => {
|
|
81413
81622
|
init_virtualMachinesCreateVirtualMachineAction();
|
|
81414
81623
|
init_operations();
|
|
81415
81624
|
init_tools();
|
|
81416
|
-
|
|
81625
|
+
args124 = {
|
|
81417
81626
|
request: CreateVirtualMachineActionRequest$inboundSchema
|
|
81418
81627
|
};
|
|
81419
81628
|
tool$virtualMachinesCreateVirtualMachineAction = {
|
|
@@ -81425,9 +81634,9 @@ Performs a power action on a given virtual machine:
|
|
|
81425
81634
|
- \`power_off\` - Stops the virtual machine
|
|
81426
81635
|
- \`reboot\` - Restarts the virtual machine
|
|
81427
81636
|
`,
|
|
81428
|
-
args:
|
|
81429
|
-
tool: async (client,
|
|
81430
|
-
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();
|
|
81431
81640
|
if (!result.ok) {
|
|
81432
81641
|
return {
|
|
81433
81642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81514,12 +81723,12 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81514
81723
|
});
|
|
81515
81724
|
|
|
81516
81725
|
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
81517
|
-
var
|
|
81726
|
+
var args125, tool$virtualMachinesCreateVirtualMachineNetworkAttachment;
|
|
81518
81727
|
var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81519
81728
|
init_virtualMachinesCreateVirtualMachineNetworkAttachment();
|
|
81520
81729
|
init_operations();
|
|
81521
81730
|
init_tools();
|
|
81522
|
-
|
|
81731
|
+
args125 = {
|
|
81523
81732
|
request: CreateVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81524
81733
|
};
|
|
81525
81734
|
tool$virtualMachinesCreateVirtualMachineNetworkAttachment = {
|
|
@@ -81528,9 +81737,9 @@ var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81528
81737
|
|
|
81529
81738
|
Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81530
81739
|
`,
|
|
81531
|
-
args:
|
|
81532
|
-
tool: async (client,
|
|
81533
|
-
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();
|
|
81534
81743
|
if (!result.ok) {
|
|
81535
81744
|
return {
|
|
81536
81745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81618,12 +81827,12 @@ var init_virtualMachinesDelete = __esm(() => {
|
|
|
81618
81827
|
});
|
|
81619
81828
|
|
|
81620
81829
|
// src/mcp-server/tools/virtualMachinesDelete.ts
|
|
81621
|
-
var
|
|
81830
|
+
var args126, tool$virtualMachinesDelete;
|
|
81622
81831
|
var init_virtualMachinesDelete2 = __esm(() => {
|
|
81623
81832
|
init_virtualMachinesDelete();
|
|
81624
81833
|
init_operations();
|
|
81625
81834
|
init_tools();
|
|
81626
|
-
|
|
81835
|
+
args126 = {
|
|
81627
81836
|
request: DestroyVirtualMachineRequest$inboundSchema
|
|
81628
81837
|
};
|
|
81629
81838
|
tool$virtualMachinesDelete = {
|
|
@@ -81632,9 +81841,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
|
|
|
81632
81841
|
|
|
81633
81842
|
Destroys a Virtual Machine.
|
|
81634
81843
|
`,
|
|
81635
|
-
args:
|
|
81636
|
-
tool: async (client,
|
|
81637
|
-
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();
|
|
81638
81847
|
if (!result.ok) {
|
|
81639
81848
|
return {
|
|
81640
81849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81724,12 +81933,12 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment = __esm(() => {
|
|
|
81724
81933
|
});
|
|
81725
81934
|
|
|
81726
81935
|
// src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
81727
|
-
var
|
|
81936
|
+
var args127, tool$virtualMachinesDestroyVirtualMachineNetworkAttachment;
|
|
81728
81937
|
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
81729
81938
|
init_virtualMachinesDestroyVirtualMachineNetworkAttachment();
|
|
81730
81939
|
init_operations();
|
|
81731
81940
|
init_tools();
|
|
81732
|
-
|
|
81941
|
+
args127 = {
|
|
81733
81942
|
request: DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
81734
81943
|
};
|
|
81735
81944
|
tool$virtualMachinesDestroyVirtualMachineNetworkAttachment = {
|
|
@@ -81738,9 +81947,9 @@ var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
|
81738
81947
|
|
|
81739
81948
|
Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
81740
81949
|
`,
|
|
81741
|
-
args:
|
|
81742
|
-
tool: async (client,
|
|
81743
|
-
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();
|
|
81744
81953
|
if (!result.ok) {
|
|
81745
81954
|
return {
|
|
81746
81955
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81834,12 +82043,12 @@ var init_virtualMachinesGet = __esm(() => {
|
|
|
81834
82043
|
});
|
|
81835
82044
|
|
|
81836
82045
|
// src/mcp-server/tools/virtualMachinesGet.ts
|
|
81837
|
-
var
|
|
82046
|
+
var args128, tool$virtualMachinesGet;
|
|
81838
82047
|
var init_virtualMachinesGet2 = __esm(() => {
|
|
81839
82048
|
init_virtualMachinesGet();
|
|
81840
82049
|
init_operations();
|
|
81841
82050
|
init_tools();
|
|
81842
|
-
|
|
82051
|
+
args128 = {
|
|
81843
82052
|
request: ShowVirtualMachineRequest$inboundSchema
|
|
81844
82053
|
};
|
|
81845
82054
|
tool$virtualMachinesGet = {
|
|
@@ -81848,9 +82057,9 @@ var init_virtualMachinesGet2 = __esm(() => {
|
|
|
81848
82057
|
|
|
81849
82058
|
Show a Virtual Machine.
|
|
81850
82059
|
`,
|
|
81851
|
-
args:
|
|
81852
|
-
tool: async (client,
|
|
81853
|
-
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();
|
|
81854
82063
|
if (!result.ok) {
|
|
81855
82064
|
return {
|
|
81856
82065
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81983,12 +82192,12 @@ var init_virtualMachinesList = __esm(() => {
|
|
|
81983
82192
|
});
|
|
81984
82193
|
|
|
81985
82194
|
// src/mcp-server/tools/virtualMachinesList.ts
|
|
81986
|
-
var
|
|
82195
|
+
var args129, tool$virtualMachinesList;
|
|
81987
82196
|
var init_virtualMachinesList2 = __esm(() => {
|
|
81988
82197
|
init_virtualMachinesList();
|
|
81989
82198
|
init_operations();
|
|
81990
82199
|
init_tools();
|
|
81991
|
-
|
|
82200
|
+
args129 = {
|
|
81992
82201
|
request: IndexVirtualMachineRequest$inboundSchema.optional()
|
|
81993
82202
|
};
|
|
81994
82203
|
tool$virtualMachinesList = {
|
|
@@ -81997,9 +82206,9 @@ var init_virtualMachinesList2 = __esm(() => {
|
|
|
81997
82206
|
|
|
81998
82207
|
Show all Team's Virtual Machines.
|
|
81999
82208
|
`,
|
|
82000
|
-
args:
|
|
82001
|
-
tool: async (client,
|
|
82002
|
-
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();
|
|
82003
82212
|
if (!result.ok) {
|
|
82004
82213
|
return {
|
|
82005
82214
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82089,12 +82298,12 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments = __esm(() => {
|
|
|
82089
82298
|
});
|
|
82090
82299
|
|
|
82091
82300
|
// src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
82092
|
-
var
|
|
82301
|
+
var args130, tool$virtualMachinesListVirtualMachineNetworkAttachments;
|
|
82093
82302
|
var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
82094
82303
|
init_virtualMachinesListVirtualMachineNetworkAttachments();
|
|
82095
82304
|
init_operations();
|
|
82096
82305
|
init_tools();
|
|
82097
|
-
|
|
82306
|
+
args130 = {
|
|
82098
82307
|
request: ListVirtualMachineNetworkAttachmentsRequest$inboundSchema
|
|
82099
82308
|
};
|
|
82100
82309
|
tool$virtualMachinesListVirtualMachineNetworkAttachments = {
|
|
@@ -82103,9 +82312,9 @@ var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
|
82103
82312
|
|
|
82104
82313
|
Lists the secondary network attachments currently configured for a Virtual Machine.
|
|
82105
82314
|
`,
|
|
82106
|
-
args:
|
|
82107
|
-
tool: async (client,
|
|
82108
|
-
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();
|
|
82109
82318
|
if (!result.ok) {
|
|
82110
82319
|
return {
|
|
82111
82320
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82201,12 +82410,12 @@ var init_virtualMachinesShowVirtualMachineMetrics = __esm(() => {
|
|
|
82201
82410
|
});
|
|
82202
82411
|
|
|
82203
82412
|
// src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts
|
|
82204
|
-
var
|
|
82413
|
+
var args131, tool$virtualMachinesShowVirtualMachineMetrics;
|
|
82205
82414
|
var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
82206
82415
|
init_virtualMachinesShowVirtualMachineMetrics();
|
|
82207
82416
|
init_operations();
|
|
82208
82417
|
init_tools();
|
|
82209
|
-
|
|
82418
|
+
args131 = {
|
|
82210
82419
|
request: ShowVirtualMachineMetricsRequest$inboundSchema
|
|
82211
82420
|
};
|
|
82212
82421
|
tool$virtualMachinesShowVirtualMachineMetrics = {
|
|
@@ -82214,9 +82423,9 @@ var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
|
82214
82423
|
description: `Retrieve VM metrics
|
|
82215
82424
|
|
|
82216
82425
|
Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
82217
|
-
args:
|
|
82218
|
-
tool: async (client,
|
|
82219
|
-
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client,
|
|
82426
|
+
args: args131,
|
|
82427
|
+
tool: async (client, args132, ctx) => {
|
|
82428
|
+
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82220
82429
|
if (!result.ok) {
|
|
82221
82430
|
return {
|
|
82222
82431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82309,12 +82518,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
|
|
|
82309
82518
|
});
|
|
82310
82519
|
|
|
82311
82520
|
// src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
|
|
82312
|
-
var
|
|
82521
|
+
var args132, tool$virtualMachinesUpdateVirtualMachine;
|
|
82313
82522
|
var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
82314
82523
|
init_virtualMachinesUpdateVirtualMachine();
|
|
82315
82524
|
init_operations();
|
|
82316
82525
|
init_tools();
|
|
82317
|
-
|
|
82526
|
+
args132 = {
|
|
82318
82527
|
request: UpdateVirtualMachineRequest$inboundSchema
|
|
82319
82528
|
};
|
|
82320
82529
|
tool$virtualMachinesUpdateVirtualMachine = {
|
|
@@ -82323,9 +82532,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
|
82323
82532
|
|
|
82324
82533
|
Updates a Virtual Machine's display name (hostname).
|
|
82325
82534
|
`,
|
|
82326
|
-
args:
|
|
82327
|
-
tool: async (client,
|
|
82328
|
-
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();
|
|
82329
82538
|
if (!result.ok) {
|
|
82330
82539
|
return {
|
|
82331
82540
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82416,12 +82625,12 @@ var init_virtualNetworksDelete = __esm(() => {
|
|
|
82416
82625
|
});
|
|
82417
82626
|
|
|
82418
82627
|
// src/mcp-server/tools/virtualNetworksDelete.ts
|
|
82419
|
-
var
|
|
82628
|
+
var args133, tool$virtualNetworksDelete;
|
|
82420
82629
|
var init_virtualNetworksDelete2 = __esm(() => {
|
|
82421
82630
|
init_virtualNetworksDelete();
|
|
82422
82631
|
init_operations();
|
|
82423
82632
|
init_tools();
|
|
82424
|
-
|
|
82633
|
+
args133 = {
|
|
82425
82634
|
request: DestroyVirtualNetworkRequest$inboundSchema
|
|
82426
82635
|
};
|
|
82427
82636
|
tool$virtualNetworksDelete = {
|
|
@@ -82430,9 +82639,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
|
|
|
82430
82639
|
|
|
82431
82640
|
Delete virtual network
|
|
82432
82641
|
`,
|
|
82433
|
-
args:
|
|
82434
|
-
tool: async (client,
|
|
82435
|
-
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();
|
|
82436
82645
|
if (!result.ok) {
|
|
82437
82646
|
return {
|
|
82438
82647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82519,12 +82728,12 @@ var init_vpnSessionsCreate = __esm(() => {
|
|
|
82519
82728
|
});
|
|
82520
82729
|
|
|
82521
82730
|
// src/mcp-server/tools/vpnSessionsCreate.ts
|
|
82522
|
-
var
|
|
82731
|
+
var args134, tool$vpnSessionsCreate;
|
|
82523
82732
|
var init_vpnSessionsCreate2 = __esm(() => {
|
|
82524
82733
|
init_vpnSessionsCreate();
|
|
82525
82734
|
init_operations();
|
|
82526
82735
|
init_tools();
|
|
82527
|
-
|
|
82736
|
+
args134 = {
|
|
82528
82737
|
request: PostVpnSessionRequest$inboundSchema
|
|
82529
82738
|
};
|
|
82530
82739
|
tool$vpnSessionsCreate = {
|
|
@@ -82534,9 +82743,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
|
|
|
82534
82743
|
Creates a new VPN Session.
|
|
82535
82744
|
\`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
|
|
82536
82745
|
`,
|
|
82537
|
-
args:
|
|
82538
|
-
tool: async (client,
|
|
82539
|
-
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();
|
|
82540
82749
|
if (!result.ok) {
|
|
82541
82750
|
return {
|
|
82542
82751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82627,12 +82836,12 @@ var init_vpnSessionsDelete = __esm(() => {
|
|
|
82627
82836
|
});
|
|
82628
82837
|
|
|
82629
82838
|
// src/mcp-server/tools/vpnSessionsDelete.ts
|
|
82630
|
-
var
|
|
82839
|
+
var args135, tool$vpnSessionsDelete;
|
|
82631
82840
|
var init_vpnSessionsDelete2 = __esm(() => {
|
|
82632
82841
|
init_vpnSessionsDelete();
|
|
82633
82842
|
init_operations();
|
|
82634
82843
|
init_tools();
|
|
82635
|
-
|
|
82844
|
+
args135 = {
|
|
82636
82845
|
request: DeleteVpnSessionRequest$inboundSchema
|
|
82637
82846
|
};
|
|
82638
82847
|
tool$vpnSessionsDelete = {
|
|
@@ -82641,9 +82850,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
|
|
|
82641
82850
|
|
|
82642
82851
|
Deletes an existing VPN Session.
|
|
82643
82852
|
`,
|
|
82644
|
-
args:
|
|
82645
|
-
tool: async (client,
|
|
82646
|
-
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();
|
|
82647
82856
|
if (!result.ok) {
|
|
82648
82857
|
return {
|
|
82649
82858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82732,20 +82941,20 @@ var init_vpnSessionsList = __esm(() => {
|
|
|
82732
82941
|
});
|
|
82733
82942
|
|
|
82734
82943
|
// src/mcp-server/tools/vpnSessionsList.ts
|
|
82735
|
-
var
|
|
82944
|
+
var args136, tool$vpnSessionsList;
|
|
82736
82945
|
var init_vpnSessionsList2 = __esm(() => {
|
|
82737
82946
|
init_vpnSessionsList();
|
|
82738
82947
|
init_operations();
|
|
82739
82948
|
init_tools();
|
|
82740
|
-
|
|
82949
|
+
args136 = {
|
|
82741
82950
|
request: GetVpnSessionsRequest$inboundSchema.optional()
|
|
82742
82951
|
};
|
|
82743
82952
|
tool$vpnSessionsList = {
|
|
82744
82953
|
name: "vpn-sessions-list",
|
|
82745
82954
|
description: `List VPN sessions`,
|
|
82746
|
-
args:
|
|
82747
|
-
tool: async (client,
|
|
82748
|
-
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();
|
|
82749
82958
|
if (!result.ok) {
|
|
82750
82959
|
return {
|
|
82751
82960
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82838,12 +83047,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
|
|
|
82838
83047
|
});
|
|
82839
83048
|
|
|
82840
83049
|
// src/mcp-server/tools/vpnSessionsRefreshPassword.ts
|
|
82841
|
-
var
|
|
83050
|
+
var args137, tool$vpnSessionsRefreshPassword;
|
|
82842
83051
|
var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
82843
83052
|
init_vpnSessionsRefreshPassword();
|
|
82844
83053
|
init_operations();
|
|
82845
83054
|
init_tools();
|
|
82846
|
-
|
|
83055
|
+
args137 = {
|
|
82847
83056
|
request: PutVpnSessionRequest$inboundSchema
|
|
82848
83057
|
};
|
|
82849
83058
|
tool$vpnSessionsRefreshPassword = {
|
|
@@ -82852,9 +83061,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
|
82852
83061
|
|
|
82853
83062
|
Refreshing an existing VPN Session will create new credentials for that session
|
|
82854
83063
|
`,
|
|
82855
|
-
args:
|
|
82856
|
-
tool: async (client,
|
|
82857
|
-
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();
|
|
82858
83067
|
if (!result.ok) {
|
|
82859
83068
|
return {
|
|
82860
83069
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82871,7 +83080,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
82871
83080
|
function createMCPServer(deps) {
|
|
82872
83081
|
const server2 = new McpServer({
|
|
82873
83082
|
name: "Latitudesh",
|
|
82874
|
-
version: "0.8.
|
|
83083
|
+
version: "0.8.3"
|
|
82875
83084
|
});
|
|
82876
83085
|
const client = new LatitudeshCore({
|
|
82877
83086
|
bearer: deps.bearer,
|
|
@@ -84388,7 +84597,7 @@ var routes = ln({
|
|
|
84388
84597
|
var app = _e(routes, {
|
|
84389
84598
|
name: "mcp",
|
|
84390
84599
|
versionInfo: {
|
|
84391
|
-
currentVersion: "0.8.
|
|
84600
|
+
currentVersion: "0.8.3"
|
|
84392
84601
|
}
|
|
84393
84602
|
});
|
|
84394
84603
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84396,5 +84605,5 @@ export {
|
|
|
84396
84605
|
app
|
|
84397
84606
|
};
|
|
84398
84607
|
|
|
84399
|
-
//# debugId=
|
|
84608
|
+
//# debugId=2D2BB3714590CFD264756E2164756E21
|
|
84400
84609
|
//# sourceMappingURL=mcp-server.js.map
|