latitudesh-typescript-sdk 0.8.13 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/mcp-server.js +189 -185
- package/bin/mcp-server.js.map +11 -11
- package/dist/commonjs/funcs/{objectStoragePutStorageBucketLifecycleRule.d.ts → objectStoragePatchStorageBucketLifecycleRule.d.ts} +2 -2
- package/dist/commonjs/funcs/objectStoragePatchStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/funcs/{objectStoragePutStorageBucketLifecycleRule.js → objectStoragePatchStorageBucketLifecycleRule.js} +7 -7
- package/dist/commonjs/funcs/objectStoragePatchStorageBucketLifecycleRule.js.map +1 -0
- 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 +3 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{objectStoragePutStorageBucketLifecycleRule.js → objectStoragePatchStorageBucketLifecycleRule.js} +7 -7
- package/dist/commonjs/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/models/operations/createserver.d.ts +5 -0
- package/dist/commonjs/models/operations/createserver.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createserver.js +4 -0
- package/dist/commonjs/models/operations/createserver.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/patchstoragebucketlifecyclerule.d.ts +122 -0
- package/dist/commonjs/models/operations/patchstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/commonjs/models/operations/patchstoragebucketlifecyclerule.js +169 -0
- package/dist/commonjs/models/operations/patchstoragebucketlifecyclerule.js.map +1 -0
- package/dist/commonjs/sdk/objectstorage.d.ts +6 -6
- package/dist/commonjs/sdk/objectstorage.d.ts.map +1 -1
- package/dist/commonjs/sdk/objectstorage.js +9 -9
- package/dist/commonjs/sdk/objectstorage.js.map +1 -1
- package/dist/esm/funcs/{objectStoragePutStorageBucketLifecycleRule.d.ts → objectStoragePatchStorageBucketLifecycleRule.d.ts} +2 -2
- package/dist/esm/funcs/objectStoragePatchStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/funcs/{objectStoragePutStorageBucketLifecycleRule.js → objectStoragePatchStorageBucketLifecycleRule.js} +6 -6
- package/dist/esm/funcs/objectStoragePatchStorageBucketLifecycleRule.js.map +1 -0
- 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 +3 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{objectStoragePutStorageBucketLifecycleRule.js → objectStoragePatchStorageBucketLifecycleRule.js} +6 -6
- package/dist/esm/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/models/operations/createserver.d.ts +5 -0
- package/dist/esm/models/operations/createserver.d.ts.map +1 -1
- package/dist/esm/models/operations/createserver.js +4 -0
- package/dist/esm/models/operations/createserver.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/patchstoragebucketlifecyclerule.d.ts +122 -0
- package/dist/esm/models/operations/patchstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/esm/models/operations/patchstoragebucketlifecyclerule.js +123 -0
- package/dist/esm/models/operations/patchstoragebucketlifecyclerule.js.map +1 -0
- package/dist/esm/sdk/objectstorage.d.ts +6 -6
- package/dist/esm/sdk/objectstorage.d.ts.map +1 -1
- package/dist/esm/sdk/objectstorage.js +9 -9
- package/dist/esm/sdk/objectstorage.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{objectStoragePutStorageBucketLifecycleRule.ts → objectStoragePatchStorageBucketLifecycleRule.ts} +10 -10
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/{objectStoragePutStorageBucketLifecycleRule.ts → objectStoragePatchStorageBucketLifecycleRule.ts} +10 -9
- package/src/models/operations/createserver.ts +9 -0
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/patchstoragebucketlifecyclerule.ts +365 -0
- package/src/sdk/objectstorage.ts +13 -13
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts.map +0 -1
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js.map +0 -1
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.d.ts +0 -122
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.d.ts.map +0 -1
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.js +0 -169
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.js.map +0 -1
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts.map +0 -1
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.js.map +0 -1
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts +0 -8
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js.map +0 -1
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.d.ts +0 -122
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.d.ts.map +0 -1
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.js +0 -123
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.js.map +0 -1
- package/src/models/operations/putstoragebucketlifecyclerule.ts +0 -357
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.15",
|
|
53153
53153
|
genVersion: "2.932.9",
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.15 2.932.9 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -62594,6 +62594,7 @@ var init_createserver = __esm(() => {
|
|
|
62594
62594
|
disk_layout: nullableType(arrayType(lazyType(() => CreateServerDiskLayout2$inboundSchema))).optional(),
|
|
62595
62595
|
ipxe: nullableType(stringType()).optional(),
|
|
62596
62596
|
persistent_netboot: booleanType().optional(),
|
|
62597
|
+
bgp_ready: nullableType(booleanType()).optional(),
|
|
62597
62598
|
billing: nullableType(CreateServerBilling2$inboundSchema).optional()
|
|
62598
62599
|
}).transform((v2) => {
|
|
62599
62600
|
return remap(v2, {
|
|
@@ -62601,7 +62602,8 @@ var init_createserver = __esm(() => {
|
|
|
62601
62602
|
ssh_keys: "sshKeys",
|
|
62602
62603
|
user_data: "userData",
|
|
62603
62604
|
disk_layout: "diskLayout",
|
|
62604
|
-
persistent_netboot: "persistentNetboot"
|
|
62605
|
+
persistent_netboot: "persistentNetboot",
|
|
62606
|
+
bgp_ready: "bgpReady"
|
|
62605
62607
|
});
|
|
62606
62608
|
});
|
|
62607
62609
|
CreateServerAttributes2$outboundSchema = objectType({
|
|
@@ -62616,6 +62618,7 @@ var init_createserver = __esm(() => {
|
|
|
62616
62618
|
diskLayout: nullableType(arrayType(lazyType(() => CreateServerDiskLayout2$outboundSchema))).optional(),
|
|
62617
62619
|
ipxe: nullableType(stringType()).optional(),
|
|
62618
62620
|
persistentNetboot: booleanType().optional(),
|
|
62621
|
+
bgpReady: nullableType(booleanType()).optional(),
|
|
62619
62622
|
billing: nullableType(CreateServerBilling2$outboundSchema).optional()
|
|
62620
62623
|
}).transform((v2) => {
|
|
62621
62624
|
return remap(v2, {
|
|
@@ -62623,7 +62626,8 @@ var init_createserver = __esm(() => {
|
|
|
62623
62626
|
sshKeys: "ssh_keys",
|
|
62624
62627
|
userData: "user_data",
|
|
62625
62628
|
diskLayout: "disk_layout",
|
|
62626
|
-
persistentNetboot: "persistent_netboot"
|
|
62629
|
+
persistentNetboot: "persistent_netboot",
|
|
62630
|
+
bgpReady: "bgp_ready"
|
|
62627
62631
|
});
|
|
62628
62632
|
});
|
|
62629
62633
|
CreateServerData2$inboundSchema = objectType({
|
|
@@ -66248,6 +66252,87 @@ var init_patchcurrentteam = __esm(() => {
|
|
|
66248
66252
|
});
|
|
66249
66253
|
});
|
|
66250
66254
|
|
|
66255
|
+
// src/models/operations/patchstoragebucketlifecyclerule.ts
|
|
66256
|
+
var PatchStorageBucketLifecycleRuleType, PatchStorageBucketLifecycleRuleType$inboundSchema, PatchStorageBucketLifecycleRuleType$outboundSchema, PatchStorageBucketLifecycleRuleAttributes$inboundSchema, PatchStorageBucketLifecycleRuleAttributes$outboundSchema, PatchStorageBucketLifecycleRuleData$inboundSchema, PatchStorageBucketLifecycleRuleData$outboundSchema, PatchStorageBucketLifecycleRuleRequestBody$inboundSchema, PatchStorageBucketLifecycleRuleRequestBody$outboundSchema, PatchStorageBucketLifecycleRuleRequest$inboundSchema, PatchStorageBucketLifecycleRuleRequest$outboundSchema, PatchStorageBucketLifecycleRuleResponse$inboundSchema, PatchStorageBucketLifecycleRuleResponse$outboundSchema;
|
|
66257
|
+
var init_patchstoragebucketlifecyclerule = __esm(() => {
|
|
66258
|
+
init_v3();
|
|
66259
|
+
init_primitives();
|
|
66260
|
+
init_models();
|
|
66261
|
+
PatchStorageBucketLifecycleRuleType = {
|
|
66262
|
+
LifecycleRules: "lifecycle_rules"
|
|
66263
|
+
};
|
|
66264
|
+
PatchStorageBucketLifecycleRuleType$inboundSchema = nativeEnumType(PatchStorageBucketLifecycleRuleType);
|
|
66265
|
+
PatchStorageBucketLifecycleRuleType$outboundSchema = PatchStorageBucketLifecycleRuleType$inboundSchema;
|
|
66266
|
+
PatchStorageBucketLifecycleRuleAttributes$inboundSchema = objectType({
|
|
66267
|
+
name: stringType(),
|
|
66268
|
+
enabled: booleanType().optional(),
|
|
66269
|
+
prefix: nullableType(stringType()).optional(),
|
|
66270
|
+
expiration_days: numberType().int().optional(),
|
|
66271
|
+
noncurrent_days: nullableType(numberType().int()).optional(),
|
|
66272
|
+
abort_mpu_days_after_initiation: nullableType(numberType().int()).optional()
|
|
66273
|
+
}).transform((v2) => {
|
|
66274
|
+
return remap(v2, {
|
|
66275
|
+
expiration_days: "expirationDays",
|
|
66276
|
+
noncurrent_days: "noncurrentDays",
|
|
66277
|
+
abort_mpu_days_after_initiation: "abortMpuDaysAfterInitiation"
|
|
66278
|
+
});
|
|
66279
|
+
});
|
|
66280
|
+
PatchStorageBucketLifecycleRuleAttributes$outboundSchema = objectType({
|
|
66281
|
+
name: stringType(),
|
|
66282
|
+
enabled: booleanType().optional(),
|
|
66283
|
+
prefix: nullableType(stringType()).optional(),
|
|
66284
|
+
expirationDays: numberType().int().optional(),
|
|
66285
|
+
noncurrentDays: nullableType(numberType().int()).optional(),
|
|
66286
|
+
abortMpuDaysAfterInitiation: nullableType(numberType().int()).optional()
|
|
66287
|
+
}).transform((v2) => {
|
|
66288
|
+
return remap(v2, {
|
|
66289
|
+
expirationDays: "expiration_days",
|
|
66290
|
+
noncurrentDays: "noncurrent_days",
|
|
66291
|
+
abortMpuDaysAfterInitiation: "abort_mpu_days_after_initiation"
|
|
66292
|
+
});
|
|
66293
|
+
});
|
|
66294
|
+
PatchStorageBucketLifecycleRuleData$inboundSchema = objectType({
|
|
66295
|
+
type: PatchStorageBucketLifecycleRuleType$inboundSchema,
|
|
66296
|
+
attributes: lazyType(() => PatchStorageBucketLifecycleRuleAttributes$inboundSchema)
|
|
66297
|
+
});
|
|
66298
|
+
PatchStorageBucketLifecycleRuleData$outboundSchema = objectType({
|
|
66299
|
+
type: PatchStorageBucketLifecycleRuleType$outboundSchema,
|
|
66300
|
+
attributes: lazyType(() => PatchStorageBucketLifecycleRuleAttributes$outboundSchema)
|
|
66301
|
+
});
|
|
66302
|
+
PatchStorageBucketLifecycleRuleRequestBody$inboundSchema = objectType({
|
|
66303
|
+
data: lazyType(() => PatchStorageBucketLifecycleRuleData$inboundSchema)
|
|
66304
|
+
});
|
|
66305
|
+
PatchStorageBucketLifecycleRuleRequestBody$outboundSchema = objectType({
|
|
66306
|
+
data: lazyType(() => PatchStorageBucketLifecycleRuleData$outboundSchema)
|
|
66307
|
+
});
|
|
66308
|
+
PatchStorageBucketLifecycleRuleRequest$inboundSchema = objectType({
|
|
66309
|
+
bucket_id: stringType(),
|
|
66310
|
+
id: stringType(),
|
|
66311
|
+
RequestBody: lazyType(() => PatchStorageBucketLifecycleRuleRequestBody$inboundSchema)
|
|
66312
|
+
}).transform((v2) => {
|
|
66313
|
+
return remap(v2, {
|
|
66314
|
+
bucket_id: "bucketId",
|
|
66315
|
+
RequestBody: "requestBody"
|
|
66316
|
+
});
|
|
66317
|
+
});
|
|
66318
|
+
PatchStorageBucketLifecycleRuleRequest$outboundSchema = objectType({
|
|
66319
|
+
bucketId: stringType(),
|
|
66320
|
+
id: stringType(),
|
|
66321
|
+
requestBody: lazyType(() => PatchStorageBucketLifecycleRuleRequestBody$outboundSchema)
|
|
66322
|
+
}).transform((v2) => {
|
|
66323
|
+
return remap(v2, {
|
|
66324
|
+
bucketId: "bucket_id",
|
|
66325
|
+
requestBody: "RequestBody"
|
|
66326
|
+
});
|
|
66327
|
+
});
|
|
66328
|
+
PatchStorageBucketLifecycleRuleResponse$inboundSchema = objectType({
|
|
66329
|
+
data: LifecycleRuleData$inboundSchema.optional()
|
|
66330
|
+
});
|
|
66331
|
+
PatchStorageBucketLifecycleRuleResponse$outboundSchema = objectType({
|
|
66332
|
+
data: LifecycleRuleData$outboundSchema.optional()
|
|
66333
|
+
});
|
|
66334
|
+
});
|
|
66335
|
+
|
|
66251
66336
|
// src/models/operations/patchstoragefilesystems.ts
|
|
66252
66337
|
var PatchStorageFilesystemsType2, PatchStorageFilesystemsType2$inboundSchema, PatchStorageFilesystemsType2$outboundSchema, PatchStorageFilesystemsAttributes2$inboundSchema, PatchStorageFilesystemsAttributes2$outboundSchema, PatchStorageFilesystemsData2$inboundSchema, PatchStorageFilesystemsData2$outboundSchema, PatchStorageFilesystemsRequestBody2$inboundSchema, PatchStorageFilesystemsRequestBody2$outboundSchema, PatchStorageFilesystemsRequest$inboundSchema, PatchStorageFilesystemsRequest$outboundSchema, PatchStorageFilesystemsResponse$inboundSchema, PatchStorageFilesystemsResponse$outboundSchema;
|
|
66253
66338
|
var init_patchstoragefilesystems = __esm(() => {
|
|
@@ -67520,87 +67605,6 @@ var init_putsshkey = __esm(() => {
|
|
|
67520
67605
|
});
|
|
67521
67606
|
});
|
|
67522
67607
|
|
|
67523
|
-
// src/models/operations/putstoragebucketlifecyclerule.ts
|
|
67524
|
-
var PutStorageBucketLifecycleRuleType, PutStorageBucketLifecycleRuleType$inboundSchema, PutStorageBucketLifecycleRuleType$outboundSchema, PutStorageBucketLifecycleRuleAttributes$inboundSchema, PutStorageBucketLifecycleRuleAttributes$outboundSchema, PutStorageBucketLifecycleRuleData$inboundSchema, PutStorageBucketLifecycleRuleData$outboundSchema, PutStorageBucketLifecycleRuleRequestBody$inboundSchema, PutStorageBucketLifecycleRuleRequestBody$outboundSchema, PutStorageBucketLifecycleRuleRequest$inboundSchema, PutStorageBucketLifecycleRuleRequest$outboundSchema, PutStorageBucketLifecycleRuleResponse$inboundSchema, PutStorageBucketLifecycleRuleResponse$outboundSchema;
|
|
67525
|
-
var init_putstoragebucketlifecyclerule = __esm(() => {
|
|
67526
|
-
init_v3();
|
|
67527
|
-
init_primitives();
|
|
67528
|
-
init_models();
|
|
67529
|
-
PutStorageBucketLifecycleRuleType = {
|
|
67530
|
-
LifecycleRules: "lifecycle_rules"
|
|
67531
|
-
};
|
|
67532
|
-
PutStorageBucketLifecycleRuleType$inboundSchema = nativeEnumType(PutStorageBucketLifecycleRuleType);
|
|
67533
|
-
PutStorageBucketLifecycleRuleType$outboundSchema = PutStorageBucketLifecycleRuleType$inboundSchema;
|
|
67534
|
-
PutStorageBucketLifecycleRuleAttributes$inboundSchema = objectType({
|
|
67535
|
-
name: stringType(),
|
|
67536
|
-
enabled: booleanType().optional(),
|
|
67537
|
-
prefix: nullableType(stringType()).optional(),
|
|
67538
|
-
expiration_days: numberType().int().optional(),
|
|
67539
|
-
noncurrent_days: nullableType(numberType().int()).optional(),
|
|
67540
|
-
abort_mpu_days_after_initiation: nullableType(numberType().int()).optional()
|
|
67541
|
-
}).transform((v2) => {
|
|
67542
|
-
return remap(v2, {
|
|
67543
|
-
expiration_days: "expirationDays",
|
|
67544
|
-
noncurrent_days: "noncurrentDays",
|
|
67545
|
-
abort_mpu_days_after_initiation: "abortMpuDaysAfterInitiation"
|
|
67546
|
-
});
|
|
67547
|
-
});
|
|
67548
|
-
PutStorageBucketLifecycleRuleAttributes$outboundSchema = objectType({
|
|
67549
|
-
name: stringType(),
|
|
67550
|
-
enabled: booleanType().optional(),
|
|
67551
|
-
prefix: nullableType(stringType()).optional(),
|
|
67552
|
-
expirationDays: numberType().int().optional(),
|
|
67553
|
-
noncurrentDays: nullableType(numberType().int()).optional(),
|
|
67554
|
-
abortMpuDaysAfterInitiation: nullableType(numberType().int()).optional()
|
|
67555
|
-
}).transform((v2) => {
|
|
67556
|
-
return remap(v2, {
|
|
67557
|
-
expirationDays: "expiration_days",
|
|
67558
|
-
noncurrentDays: "noncurrent_days",
|
|
67559
|
-
abortMpuDaysAfterInitiation: "abort_mpu_days_after_initiation"
|
|
67560
|
-
});
|
|
67561
|
-
});
|
|
67562
|
-
PutStorageBucketLifecycleRuleData$inboundSchema = objectType({
|
|
67563
|
-
type: PutStorageBucketLifecycleRuleType$inboundSchema,
|
|
67564
|
-
attributes: lazyType(() => PutStorageBucketLifecycleRuleAttributes$inboundSchema)
|
|
67565
|
-
});
|
|
67566
|
-
PutStorageBucketLifecycleRuleData$outboundSchema = objectType({
|
|
67567
|
-
type: PutStorageBucketLifecycleRuleType$outboundSchema,
|
|
67568
|
-
attributes: lazyType(() => PutStorageBucketLifecycleRuleAttributes$outboundSchema)
|
|
67569
|
-
});
|
|
67570
|
-
PutStorageBucketLifecycleRuleRequestBody$inboundSchema = objectType({
|
|
67571
|
-
data: lazyType(() => PutStorageBucketLifecycleRuleData$inboundSchema)
|
|
67572
|
-
});
|
|
67573
|
-
PutStorageBucketLifecycleRuleRequestBody$outboundSchema = objectType({
|
|
67574
|
-
data: lazyType(() => PutStorageBucketLifecycleRuleData$outboundSchema)
|
|
67575
|
-
});
|
|
67576
|
-
PutStorageBucketLifecycleRuleRequest$inboundSchema = objectType({
|
|
67577
|
-
bucket_id: stringType(),
|
|
67578
|
-
id: stringType(),
|
|
67579
|
-
RequestBody: lazyType(() => PutStorageBucketLifecycleRuleRequestBody$inboundSchema)
|
|
67580
|
-
}).transform((v2) => {
|
|
67581
|
-
return remap(v2, {
|
|
67582
|
-
bucket_id: "bucketId",
|
|
67583
|
-
RequestBody: "requestBody"
|
|
67584
|
-
});
|
|
67585
|
-
});
|
|
67586
|
-
PutStorageBucketLifecycleRuleRequest$outboundSchema = objectType({
|
|
67587
|
-
bucketId: stringType(),
|
|
67588
|
-
id: stringType(),
|
|
67589
|
-
requestBody: lazyType(() => PutStorageBucketLifecycleRuleRequestBody$outboundSchema)
|
|
67590
|
-
}).transform((v2) => {
|
|
67591
|
-
return remap(v2, {
|
|
67592
|
-
bucketId: "bucket_id",
|
|
67593
|
-
requestBody: "RequestBody"
|
|
67594
|
-
});
|
|
67595
|
-
});
|
|
67596
|
-
PutStorageBucketLifecycleRuleResponse$inboundSchema = objectType({
|
|
67597
|
-
data: LifecycleRuleData$inboundSchema.optional()
|
|
67598
|
-
});
|
|
67599
|
-
PutStorageBucketLifecycleRuleResponse$outboundSchema = objectType({
|
|
67600
|
-
data: LifecycleRuleData$outboundSchema.optional()
|
|
67601
|
-
});
|
|
67602
|
-
});
|
|
67603
|
-
|
|
67604
67608
|
// src/models/operations/putvpnsession.ts
|
|
67605
67609
|
var PutVpnSessionRequest$inboundSchema, PutVpnSessionRequest$outboundSchema;
|
|
67606
67610
|
var init_putvpnsession = __esm(() => {
|
|
@@ -68602,6 +68606,7 @@ var init_operations = __esm(() => {
|
|
|
68602
68606
|
init_listvirtualmachinescopedbackups();
|
|
68603
68607
|
init_listvirtualmachinescopedrestores();
|
|
68604
68608
|
init_patchcurrentteam();
|
|
68609
|
+
init_patchstoragebucketlifecyclerule();
|
|
68605
68610
|
init_patchstoragefilesystems();
|
|
68606
68611
|
init_patchuserdata();
|
|
68607
68612
|
init_patchuserprofile();
|
|
@@ -68622,7 +68627,6 @@ var init_operations = __esm(() => {
|
|
|
68622
68627
|
init_putprojectsshkey();
|
|
68623
68628
|
init_putprojectuserdata();
|
|
68624
68629
|
init_putsshkey();
|
|
68625
|
-
init_putstoragebucketlifecyclerule();
|
|
68626
68630
|
init_putvpnsession();
|
|
68627
68631
|
init_rotateapikey();
|
|
68628
68632
|
init_serverexitrescuemode();
|
|
@@ -75341,18 +75345,28 @@ Returns daily object storage usage for a project. Each row reports the canonical
|
|
|
75341
75345
|
};
|
|
75342
75346
|
});
|
|
75343
75347
|
|
|
75344
|
-
// src/funcs/
|
|
75345
|
-
function
|
|
75348
|
+
// src/funcs/objectStoragePatchStorageBucketLifecycleRule.ts
|
|
75349
|
+
function objectStoragePatchStorageBucketLifecycleRule(client, request, options) {
|
|
75346
75350
|
return new APIPromise($do59(client, request, options));
|
|
75347
75351
|
}
|
|
75348
75352
|
async function $do59(client, request, options) {
|
|
75349
|
-
const parsed = safeParse4(request, (value) =>
|
|
75353
|
+
const parsed = safeParse4(request, (value) => PatchStorageBucketLifecycleRuleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75350
75354
|
if (!parsed.ok) {
|
|
75351
75355
|
return [parsed, { status: "invalid" }];
|
|
75352
75356
|
}
|
|
75353
75357
|
const payload = parsed.value;
|
|
75354
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
75355
|
-
const
|
|
75358
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
75359
|
+
const pathParams = {
|
|
75360
|
+
bucket_id: encodeSimple("bucket_id", payload.bucket_id, {
|
|
75361
|
+
explode: false,
|
|
75362
|
+
charEncoding: "percent"
|
|
75363
|
+
}),
|
|
75364
|
+
id: encodeSimple("id", payload.id, {
|
|
75365
|
+
explode: false,
|
|
75366
|
+
charEncoding: "percent"
|
|
75367
|
+
})
|
|
75368
|
+
};
|
|
75369
|
+
const path = pathToFunc("/storage/buckets/{bucket_id}/lifecycle_rules/{id}")(pathParams);
|
|
75356
75370
|
const headers = new Headers(compactMap({
|
|
75357
75371
|
"Content-Type": "application/vnd.api+json",
|
|
75358
75372
|
Accept: "application/vnd.api+json"
|
|
@@ -75363,7 +75377,7 @@ async function $do59(client, request, options) {
|
|
|
75363
75377
|
const context = {
|
|
75364
75378
|
options: client._options,
|
|
75365
75379
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75366
|
-
operationID: "
|
|
75380
|
+
operationID: "patch-storage-bucket-lifecycle-rule",
|
|
75367
75381
|
oAuth2Scopes: null,
|
|
75368
75382
|
resolvedSecurity: requestSecurity,
|
|
75369
75383
|
securitySource: client._options.bearer,
|
|
@@ -75372,7 +75386,7 @@ async function $do59(client, request, options) {
|
|
|
75372
75386
|
};
|
|
75373
75387
|
const requestRes = client._createRequest(context, {
|
|
75374
75388
|
security: requestSecurity,
|
|
75375
|
-
method: "
|
|
75389
|
+
method: "PATCH",
|
|
75376
75390
|
baseURL: options?.serverURL,
|
|
75377
75391
|
path,
|
|
75378
75392
|
headers,
|
|
@@ -75397,9 +75411,9 @@ async function $do59(client, request, options) {
|
|
|
75397
75411
|
const responseFields = {
|
|
75398
75412
|
HttpMeta: { Response: response, Request: req }
|
|
75399
75413
|
};
|
|
75400
|
-
const [result] = await match(json(
|
|
75414
|
+
const [result] = await match(json(200, PatchStorageBucketLifecycleRuleResponse$inboundSchema, { ctype: "application/vnd.api+json" }), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
75401
75415
|
ctype: "application/vnd.api+json"
|
|
75402
|
-
}), jsonErr(
|
|
75416
|
+
}), jsonErr(500, ErrorObject$inboundSchema, {
|
|
75403
75417
|
ctype: "application/vnd.api+json"
|
|
75404
75418
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
75405
75419
|
if (!result.ok) {
|
|
@@ -75407,7 +75421,7 @@ async function $do59(client, request, options) {
|
|
|
75407
75421
|
}
|
|
75408
75422
|
return [result, { status: "complete", request: req, response }];
|
|
75409
75423
|
}
|
|
75410
|
-
var
|
|
75424
|
+
var init_objectStoragePatchStorageBucketLifecycleRule = __esm(() => {
|
|
75411
75425
|
init_encodings();
|
|
75412
75426
|
init_http();
|
|
75413
75427
|
init_matchers();
|
|
@@ -75420,23 +75434,23 @@ var init_objectStoragePostStorageAccessKeys = __esm(() => {
|
|
|
75420
75434
|
init_async();
|
|
75421
75435
|
});
|
|
75422
75436
|
|
|
75423
|
-
// src/mcp-server/tools/
|
|
75424
|
-
var args56, tool$
|
|
75425
|
-
var
|
|
75426
|
-
|
|
75437
|
+
// src/mcp-server/tools/objectStoragePatchStorageBucketLifecycleRule.ts
|
|
75438
|
+
var args56, tool$objectStoragePatchStorageBucketLifecycleRule;
|
|
75439
|
+
var init_objectStoragePatchStorageBucketLifecycleRule2 = __esm(() => {
|
|
75440
|
+
init_objectStoragePatchStorageBucketLifecycleRule();
|
|
75427
75441
|
init_operations();
|
|
75428
75442
|
init_tools();
|
|
75429
75443
|
args56 = {
|
|
75430
|
-
request:
|
|
75444
|
+
request: PatchStorageBucketLifecycleRuleRequest$inboundSchema
|
|
75431
75445
|
};
|
|
75432
|
-
tool$
|
|
75433
|
-
name: "object-storage-
|
|
75434
|
-
description: `
|
|
75446
|
+
tool$objectStoragePatchStorageBucketLifecycleRule = {
|
|
75447
|
+
name: "object-storage-patch-storage-bucket-lifecycle-rule",
|
|
75448
|
+
description: `Update lifecycle rule
|
|
75435
75449
|
|
|
75436
|
-
|
|
75450
|
+
Updates an existing lifecycle rule for an object storage bucket.`,
|
|
75437
75451
|
args: args56,
|
|
75438
75452
|
tool: async (client, args57, ctx) => {
|
|
75439
|
-
const [result, apiCall] = await
|
|
75453
|
+
const [result, apiCall] = await objectStoragePatchStorageBucketLifecycleRule(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75440
75454
|
if (!result.ok) {
|
|
75441
75455
|
return {
|
|
75442
75456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75449,24 +75463,18 @@ Creates an object storage IAM access key for a project. The secret is returned o
|
|
|
75449
75463
|
};
|
|
75450
75464
|
});
|
|
75451
75465
|
|
|
75452
|
-
// src/funcs/
|
|
75453
|
-
function
|
|
75466
|
+
// src/funcs/objectStoragePostStorageAccessKeys.ts
|
|
75467
|
+
function objectStoragePostStorageAccessKeys(client, request, options) {
|
|
75454
75468
|
return new APIPromise($do60(client, request, options));
|
|
75455
75469
|
}
|
|
75456
75470
|
async function $do60(client, request, options) {
|
|
75457
|
-
const parsed = safeParse4(request, (value) =>
|
|
75471
|
+
const parsed = safeParse4(request, (value) => PostStorageAccessKeysRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75458
75472
|
if (!parsed.ok) {
|
|
75459
75473
|
return [parsed, { status: "invalid" }];
|
|
75460
75474
|
}
|
|
75461
75475
|
const payload = parsed.value;
|
|
75462
|
-
const body = encodeJSON("body", payload
|
|
75463
|
-
const
|
|
75464
|
-
bucket_id: encodeSimple("bucket_id", payload.bucket_id, {
|
|
75465
|
-
explode: false,
|
|
75466
|
-
charEncoding: "percent"
|
|
75467
|
-
})
|
|
75468
|
-
};
|
|
75469
|
-
const path = pathToFunc("/storage/buckets/{bucket_id}/lifecycle_rules")(pathParams);
|
|
75476
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
75477
|
+
const path = pathToFunc("/storage/access_keys")();
|
|
75470
75478
|
const headers = new Headers(compactMap({
|
|
75471
75479
|
"Content-Type": "application/vnd.api+json",
|
|
75472
75480
|
Accept: "application/vnd.api+json"
|
|
@@ -75477,7 +75485,7 @@ async function $do60(client, request, options) {
|
|
|
75477
75485
|
const context = {
|
|
75478
75486
|
options: client._options,
|
|
75479
75487
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75480
|
-
operationID: "post-storage-
|
|
75488
|
+
operationID: "post-storage-access-keys",
|
|
75481
75489
|
oAuth2Scopes: null,
|
|
75482
75490
|
resolvedSecurity: requestSecurity,
|
|
75483
75491
|
securitySource: client._options.bearer,
|
|
@@ -75511,9 +75519,9 @@ async function $do60(client, request, options) {
|
|
|
75511
75519
|
const responseFields = {
|
|
75512
75520
|
HttpMeta: { Response: response, Request: req }
|
|
75513
75521
|
};
|
|
75514
|
-
const [result] = await match(json(201,
|
|
75522
|
+
const [result] = await match(json(201, PostStorageAccessKeysResponse$inboundSchema, {
|
|
75515
75523
|
ctype: "application/vnd.api+json"
|
|
75516
|
-
}), jsonErr(
|
|
75524
|
+
}), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
75517
75525
|
ctype: "application/vnd.api+json"
|
|
75518
75526
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
75519
75527
|
if (!result.ok) {
|
|
@@ -75521,7 +75529,7 @@ async function $do60(client, request, options) {
|
|
|
75521
75529
|
}
|
|
75522
75530
|
return [result, { status: "complete", request: req, response }];
|
|
75523
75531
|
}
|
|
75524
|
-
var
|
|
75532
|
+
var init_objectStoragePostStorageAccessKeys = __esm(() => {
|
|
75525
75533
|
init_encodings();
|
|
75526
75534
|
init_http();
|
|
75527
75535
|
init_matchers();
|
|
@@ -75534,23 +75542,23 @@ var init_objectStoragePostStorageBucketLifecycleRules = __esm(() => {
|
|
|
75534
75542
|
init_async();
|
|
75535
75543
|
});
|
|
75536
75544
|
|
|
75537
|
-
// src/mcp-server/tools/
|
|
75538
|
-
var args57, tool$
|
|
75539
|
-
var
|
|
75540
|
-
|
|
75545
|
+
// src/mcp-server/tools/objectStoragePostStorageAccessKeys.ts
|
|
75546
|
+
var args57, tool$objectStoragePostStorageAccessKeys;
|
|
75547
|
+
var init_objectStoragePostStorageAccessKeys2 = __esm(() => {
|
|
75548
|
+
init_objectStoragePostStorageAccessKeys();
|
|
75541
75549
|
init_operations();
|
|
75542
75550
|
init_tools();
|
|
75543
75551
|
args57 = {
|
|
75544
|
-
request:
|
|
75552
|
+
request: PostStorageAccessKeysRequest$inboundSchema
|
|
75545
75553
|
};
|
|
75546
|
-
tool$
|
|
75547
|
-
name: "object-storage-post-storage-
|
|
75548
|
-
description: `Create
|
|
75554
|
+
tool$objectStoragePostStorageAccessKeys = {
|
|
75555
|
+
name: "object-storage-post-storage-access-keys",
|
|
75556
|
+
description: `Create access key
|
|
75549
75557
|
|
|
75550
|
-
Creates
|
|
75558
|
+
Creates an object storage IAM access key for a project. The secret is returned only once, in this response, and cannot be retrieved again. The provider is selected by \`storage_class\`: \`standard\` provisions the key on Wasabi and \`high_performance\` provisions it on VAST.`,
|
|
75551
75559
|
args: args57,
|
|
75552
75560
|
tool: async (client, args58, ctx) => {
|
|
75553
|
-
const [result, apiCall] = await
|
|
75561
|
+
const [result, apiCall] = await objectStoragePostStorageAccessKeys(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75554
75562
|
if (!result.ok) {
|
|
75555
75563
|
return {
|
|
75556
75564
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75563,18 +75571,24 @@ Creates a new lifecycle rule for an object storage bucket. Lifecycle rules autom
|
|
|
75563
75571
|
};
|
|
75564
75572
|
});
|
|
75565
75573
|
|
|
75566
|
-
// src/funcs/
|
|
75567
|
-
function
|
|
75574
|
+
// src/funcs/objectStoragePostStorageBucketLifecycleRules.ts
|
|
75575
|
+
function objectStoragePostStorageBucketLifecycleRules(client, request, options) {
|
|
75568
75576
|
return new APIPromise($do61(client, request, options));
|
|
75569
75577
|
}
|
|
75570
75578
|
async function $do61(client, request, options) {
|
|
75571
|
-
const parsed = safeParse4(request, (value) =>
|
|
75579
|
+
const parsed = safeParse4(request, (value) => PostStorageBucketLifecycleRulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75572
75580
|
if (!parsed.ok) {
|
|
75573
75581
|
return [parsed, { status: "invalid" }];
|
|
75574
75582
|
}
|
|
75575
75583
|
const payload = parsed.value;
|
|
75576
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
75577
|
-
const
|
|
75584
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
75585
|
+
const pathParams = {
|
|
75586
|
+
bucket_id: encodeSimple("bucket_id", payload.bucket_id, {
|
|
75587
|
+
explode: false,
|
|
75588
|
+
charEncoding: "percent"
|
|
75589
|
+
})
|
|
75590
|
+
};
|
|
75591
|
+
const path = pathToFunc("/storage/buckets/{bucket_id}/lifecycle_rules")(pathParams);
|
|
75578
75592
|
const headers = new Headers(compactMap({
|
|
75579
75593
|
"Content-Type": "application/vnd.api+json",
|
|
75580
75594
|
Accept: "application/vnd.api+json"
|
|
@@ -75585,7 +75599,7 @@ async function $do61(client, request, options) {
|
|
|
75585
75599
|
const context = {
|
|
75586
75600
|
options: client._options,
|
|
75587
75601
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75588
|
-
operationID: "post-storage-
|
|
75602
|
+
operationID: "post-storage-bucket-lifecycle-rules",
|
|
75589
75603
|
oAuth2Scopes: null,
|
|
75590
75604
|
resolvedSecurity: requestSecurity,
|
|
75591
75605
|
securitySource: client._options.bearer,
|
|
@@ -75619,9 +75633,7 @@ async function $do61(client, request, options) {
|
|
|
75619
75633
|
const responseFields = {
|
|
75620
75634
|
HttpMeta: { Response: response, Request: req }
|
|
75621
75635
|
};
|
|
75622
|
-
const [result] = await match(json(201,
|
|
75623
|
-
ctype: "application/vnd.api+json"
|
|
75624
|
-
}), jsonErr([403, 404, 409, 422], ErrorObject$inboundSchema, {
|
|
75636
|
+
const [result] = await match(json(201, PostStorageBucketLifecycleRulesResponse$inboundSchema, { ctype: "application/vnd.api+json" }), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
75625
75637
|
ctype: "application/vnd.api+json"
|
|
75626
75638
|
}), jsonErr(500, ErrorObject$inboundSchema, {
|
|
75627
75639
|
ctype: "application/vnd.api+json"
|
|
@@ -75631,7 +75643,7 @@ async function $do61(client, request, options) {
|
|
|
75631
75643
|
}
|
|
75632
75644
|
return [result, { status: "complete", request: req, response }];
|
|
75633
75645
|
}
|
|
75634
|
-
var
|
|
75646
|
+
var init_objectStoragePostStorageBucketLifecycleRules = __esm(() => {
|
|
75635
75647
|
init_encodings();
|
|
75636
75648
|
init_http();
|
|
75637
75649
|
init_matchers();
|
|
@@ -75644,23 +75656,23 @@ var init_objectStoragePostStorageBuckets = __esm(() => {
|
|
|
75644
75656
|
init_async();
|
|
75645
75657
|
});
|
|
75646
75658
|
|
|
75647
|
-
// src/mcp-server/tools/
|
|
75648
|
-
var args58, tool$
|
|
75649
|
-
var
|
|
75650
|
-
|
|
75659
|
+
// src/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.ts
|
|
75660
|
+
var args58, tool$objectStoragePostStorageBucketLifecycleRules;
|
|
75661
|
+
var init_objectStoragePostStorageBucketLifecycleRules2 = __esm(() => {
|
|
75662
|
+
init_objectStoragePostStorageBucketLifecycleRules();
|
|
75651
75663
|
init_operations();
|
|
75652
75664
|
init_tools();
|
|
75653
75665
|
args58 = {
|
|
75654
|
-
request:
|
|
75666
|
+
request: PostStorageBucketLifecycleRulesRequest$inboundSchema
|
|
75655
75667
|
};
|
|
75656
|
-
tool$
|
|
75657
|
-
name: "object-storage-post-storage-
|
|
75658
|
-
description: `Create
|
|
75668
|
+
tool$objectStoragePostStorageBucketLifecycleRules = {
|
|
75669
|
+
name: "object-storage-post-storage-bucket-lifecycle-rules",
|
|
75670
|
+
description: `Create lifecycle rule
|
|
75659
75671
|
|
|
75660
|
-
Creates a new object storage bucket
|
|
75672
|
+
Creates a new lifecycle rule for an object storage bucket. Lifecycle rules automate object expiration based on age.`,
|
|
75661
75673
|
args: args58,
|
|
75662
75674
|
tool: async (client, args59, ctx) => {
|
|
75663
|
-
const [result, apiCall] = await
|
|
75675
|
+
const [result, apiCall] = await objectStoragePostStorageBucketLifecycleRules(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75664
75676
|
if (!result.ok) {
|
|
75665
75677
|
return {
|
|
75666
75678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75673,28 +75685,18 @@ Creates a new object storage bucket for a project.`,
|
|
|
75673
75685
|
};
|
|
75674
75686
|
});
|
|
75675
75687
|
|
|
75676
|
-
// src/funcs/
|
|
75677
|
-
function
|
|
75688
|
+
// src/funcs/objectStoragePostStorageBuckets.ts
|
|
75689
|
+
function objectStoragePostStorageBuckets(client, request, options) {
|
|
75678
75690
|
return new APIPromise($do62(client, request, options));
|
|
75679
75691
|
}
|
|
75680
75692
|
async function $do62(client, request, options) {
|
|
75681
|
-
const parsed = safeParse4(request, (value) =>
|
|
75693
|
+
const parsed = safeParse4(request, (value) => PostStorageBucketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75682
75694
|
if (!parsed.ok) {
|
|
75683
75695
|
return [parsed, { status: "invalid" }];
|
|
75684
75696
|
}
|
|
75685
75697
|
const payload = parsed.value;
|
|
75686
|
-
const body = encodeJSON("body", payload
|
|
75687
|
-
const
|
|
75688
|
-
bucket_id: encodeSimple("bucket_id", payload.bucket_id, {
|
|
75689
|
-
explode: false,
|
|
75690
|
-
charEncoding: "percent"
|
|
75691
|
-
}),
|
|
75692
|
-
id: encodeSimple("id", payload.id, {
|
|
75693
|
-
explode: false,
|
|
75694
|
-
charEncoding: "percent"
|
|
75695
|
-
})
|
|
75696
|
-
};
|
|
75697
|
-
const path = pathToFunc("/storage/buckets/{bucket_id}/lifecycle_rules/{id}")(pathParams);
|
|
75698
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
75699
|
+
const path = pathToFunc("/storage/buckets")();
|
|
75698
75700
|
const headers = new Headers(compactMap({
|
|
75699
75701
|
"Content-Type": "application/vnd.api+json",
|
|
75700
75702
|
Accept: "application/vnd.api+json"
|
|
@@ -75705,7 +75707,7 @@ async function $do62(client, request, options) {
|
|
|
75705
75707
|
const context = {
|
|
75706
75708
|
options: client._options,
|
|
75707
75709
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75708
|
-
operationID: "
|
|
75710
|
+
operationID: "post-storage-buckets",
|
|
75709
75711
|
oAuth2Scopes: null,
|
|
75710
75712
|
resolvedSecurity: requestSecurity,
|
|
75711
75713
|
securitySource: client._options.bearer,
|
|
@@ -75714,7 +75716,7 @@ async function $do62(client, request, options) {
|
|
|
75714
75716
|
};
|
|
75715
75717
|
const requestRes = client._createRequest(context, {
|
|
75716
75718
|
security: requestSecurity,
|
|
75717
|
-
method: "
|
|
75719
|
+
method: "POST",
|
|
75718
75720
|
baseURL: options?.serverURL,
|
|
75719
75721
|
path,
|
|
75720
75722
|
headers,
|
|
@@ -75739,7 +75741,9 @@ async function $do62(client, request, options) {
|
|
|
75739
75741
|
const responseFields = {
|
|
75740
75742
|
HttpMeta: { Response: response, Request: req }
|
|
75741
75743
|
};
|
|
75742
|
-
const [result] = await match(json(
|
|
75744
|
+
const [result] = await match(json(201, PostStorageBucketsResponse$inboundSchema, {
|
|
75745
|
+
ctype: "application/vnd.api+json"
|
|
75746
|
+
}), jsonErr([403, 404, 409, 422], ErrorObject$inboundSchema, {
|
|
75743
75747
|
ctype: "application/vnd.api+json"
|
|
75744
75748
|
}), jsonErr(500, ErrorObject$inboundSchema, {
|
|
75745
75749
|
ctype: "application/vnd.api+json"
|
|
@@ -75749,7 +75753,7 @@ async function $do62(client, request, options) {
|
|
|
75749
75753
|
}
|
|
75750
75754
|
return [result, { status: "complete", request: req, response }];
|
|
75751
75755
|
}
|
|
75752
|
-
var
|
|
75756
|
+
var init_objectStoragePostStorageBuckets = __esm(() => {
|
|
75753
75757
|
init_encodings();
|
|
75754
75758
|
init_http();
|
|
75755
75759
|
init_matchers();
|
|
@@ -75762,23 +75766,23 @@ var init_objectStoragePutStorageBucketLifecycleRule = __esm(() => {
|
|
|
75762
75766
|
init_async();
|
|
75763
75767
|
});
|
|
75764
75768
|
|
|
75765
|
-
// src/mcp-server/tools/
|
|
75766
|
-
var args59, tool$
|
|
75767
|
-
var
|
|
75768
|
-
|
|
75769
|
+
// src/mcp-server/tools/objectStoragePostStorageBuckets.ts
|
|
75770
|
+
var args59, tool$objectStoragePostStorageBuckets;
|
|
75771
|
+
var init_objectStoragePostStorageBuckets2 = __esm(() => {
|
|
75772
|
+
init_objectStoragePostStorageBuckets();
|
|
75769
75773
|
init_operations();
|
|
75770
75774
|
init_tools();
|
|
75771
75775
|
args59 = {
|
|
75772
|
-
request:
|
|
75776
|
+
request: PostStorageBucketsRequest$inboundSchema
|
|
75773
75777
|
};
|
|
75774
|
-
tool$
|
|
75775
|
-
name: "object-storage-
|
|
75776
|
-
description: `
|
|
75778
|
+
tool$objectStoragePostStorageBuckets = {
|
|
75779
|
+
name: "object-storage-post-storage-buckets",
|
|
75780
|
+
description: `Create bucket
|
|
75777
75781
|
|
|
75778
|
-
|
|
75782
|
+
Creates a new object storage bucket for a project.`,
|
|
75779
75783
|
args: args59,
|
|
75780
75784
|
tool: async (client, args60, ctx) => {
|
|
75781
|
-
const [result, apiCall] = await
|
|
75785
|
+
const [result, apiCall] = await objectStoragePostStorageBuckets(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75782
75786
|
if (!result.ok) {
|
|
75783
75787
|
return {
|
|
75784
75788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87781,7 +87785,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
87781
87785
|
function createMCPServer(deps) {
|
|
87782
87786
|
const server2 = new McpServer({
|
|
87783
87787
|
name: "Latitudesh",
|
|
87784
|
-
version: "0.8.
|
|
87788
|
+
version: "0.8.15"
|
|
87785
87789
|
});
|
|
87786
87790
|
const client = new LatitudeshCore({
|
|
87787
87791
|
bearer: deps.bearer,
|
|
@@ -87875,8 +87879,8 @@ function createMCPServer(deps) {
|
|
|
87875
87879
|
tool(tool$objectStorageGetStorageBucketLifecycleRules);
|
|
87876
87880
|
tool(tool$objectStoragePostStorageBucketLifecycleRules);
|
|
87877
87881
|
tool(tool$objectStorageGetStorageBucketLifecycleRule);
|
|
87878
|
-
tool(tool$objectStoragePutStorageBucketLifecycleRule);
|
|
87879
87882
|
tool(tool$objectStorageDeleteStorageBucketLifecycleRule);
|
|
87883
|
+
tool(tool$objectStoragePatchStorageBucketLifecycleRule);
|
|
87880
87884
|
tool(tool$objectStorageGetStorageBucketMetrics);
|
|
87881
87885
|
tool(tool$userDataGetProjectUsersData);
|
|
87882
87886
|
tool(tool$userDataGetProjectUserData);
|
|
@@ -88031,10 +88035,10 @@ var init_server4 = __esm(() => {
|
|
|
88031
88035
|
init_objectStorageGetStorageBucketMetrics2();
|
|
88032
88036
|
init_objectStorageGetStorageBuckets2();
|
|
88033
88037
|
init_objectStorageGetStorageUsage2();
|
|
88038
|
+
init_objectStoragePatchStorageBucketLifecycleRule2();
|
|
88034
88039
|
init_objectStoragePostStorageAccessKeys2();
|
|
88035
88040
|
init_objectStoragePostStorageBucketLifecycleRules2();
|
|
88036
88041
|
init_objectStoragePostStorageBuckets2();
|
|
88037
|
-
init_objectStoragePutStorageBucketLifecycleRule2();
|
|
88038
88042
|
init_operatingSystemsListPlans2();
|
|
88039
88043
|
init_plansGet2();
|
|
88040
88044
|
init_plansGetBandwidth2();
|
|
@@ -89346,7 +89350,7 @@ var routes = ln({
|
|
|
89346
89350
|
var app = _e(routes, {
|
|
89347
89351
|
name: "mcp",
|
|
89348
89352
|
versionInfo: {
|
|
89349
|
-
currentVersion: "0.8.
|
|
89353
|
+
currentVersion: "0.8.15"
|
|
89350
89354
|
}
|
|
89351
89355
|
});
|
|
89352
89356
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -89354,5 +89358,5 @@ export {
|
|
|
89354
89358
|
app
|
|
89355
89359
|
};
|
|
89356
89360
|
|
|
89357
|
-
//# debugId=
|
|
89361
|
+
//# debugId=803C35A6B9DFDAD964756E2164756E21
|
|
89358
89362
|
//# sourceMappingURL=mcp-server.js.map
|