latitudesh-typescript-sdk 0.6.1 → 0.6.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 +244 -117
- package/bin/mcp-server.js.map +17 -16
- package/dist/commonjs/funcs/filesystemStorageListFilesystems.d.ts +2 -1
- package/dist/commonjs/funcs/filesystemStorageListFilesystems.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesystemStorageListFilesystems.js +5 -3
- package/dist/commonjs/funcs/filesystemStorageListFilesystems.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/filesystemStorageListFilesystems.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/filesystemStorageListFilesystems.js +2 -1
- package/dist/commonjs/mcp-server/tools/filesystemStorageListFilesystems.js.map +1 -1
- package/dist/commonjs/models/filesystemdata.d.ts +14 -16
- package/dist/commonjs/models/filesystemdata.d.ts.map +1 -1
- package/dist/commonjs/models/filesystemdata.js +18 -21
- package/dist/commonjs/models/filesystemdata.js.map +1 -1
- package/dist/commonjs/models/filesystems.d.ts +29 -0
- package/dist/commonjs/models/filesystems.d.ts.map +1 -0
- package/dist/commonjs/models/filesystems.js +73 -0
- package/dist/commonjs/models/filesystems.js.map +1 -0
- package/dist/commonjs/models/firewallassignmentdata.d.ts +17 -0
- package/dist/commonjs/models/firewallassignmentdata.d.ts.map +1 -1
- package/dist/commonjs/models/firewallassignmentdata.js +23 -1
- package/dist/commonjs/models/firewallassignmentdata.js.map +1 -1
- package/dist/commonjs/models/firewalldata.d.ts +5 -0
- package/dist/commonjs/models/firewalldata.d.ts.map +1 -1
- package/dist/commonjs/models/firewalldata.js +2 -0
- package/dist/commonjs/models/firewalldata.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/team.d.ts +31 -0
- package/dist/commonjs/models/team.d.ts.map +1 -1
- package/dist/commonjs/models/team.js +55 -1
- package/dist/commonjs/models/team.js.map +1 -1
- package/dist/commonjs/models/teaminclude.d.ts +31 -0
- package/dist/commonjs/models/teaminclude.d.ts.map +1 -1
- package/dist/commonjs/models/teaminclude.js +55 -1
- package/dist/commonjs/models/teaminclude.js.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.d.ts +5 -0
- package/dist/commonjs/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.js +2 -0
- package/dist/commonjs/models/virtualmachinepayload.js.map +1 -1
- package/dist/commonjs/sdk/filesystemstorage.d.ts +2 -1
- package/dist/commonjs/sdk/filesystemstorage.d.ts.map +1 -1
- package/dist/commonjs/sdk/filesystemstorage.js.map +1 -1
- package/dist/esm/funcs/filesystemStorageListFilesystems.d.ts +2 -1
- package/dist/esm/funcs/filesystemStorageListFilesystems.d.ts.map +1 -1
- package/dist/esm/funcs/filesystemStorageListFilesystems.js +5 -3
- package/dist/esm/funcs/filesystemStorageListFilesystems.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/filesystemStorageListFilesystems.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/filesystemStorageListFilesystems.js +2 -1
- package/dist/esm/mcp-server/tools/filesystemStorageListFilesystems.js.map +1 -1
- package/dist/esm/models/filesystemdata.d.ts +14 -16
- package/dist/esm/models/filesystemdata.d.ts.map +1 -1
- package/dist/esm/models/filesystemdata.js +17 -18
- package/dist/esm/models/filesystemdata.js.map +1 -1
- package/dist/esm/models/filesystems.d.ts +29 -0
- package/dist/esm/models/filesystems.d.ts.map +1 -0
- package/dist/esm/models/filesystems.js +33 -0
- package/dist/esm/models/filesystems.js.map +1 -0
- package/dist/esm/models/firewallassignmentdata.d.ts +17 -0
- package/dist/esm/models/firewallassignmentdata.d.ts.map +1 -1
- package/dist/esm/models/firewallassignmentdata.js +20 -0
- package/dist/esm/models/firewallassignmentdata.js.map +1 -1
- package/dist/esm/models/firewalldata.d.ts +5 -0
- package/dist/esm/models/firewalldata.d.ts.map +1 -1
- package/dist/esm/models/firewalldata.js +2 -0
- package/dist/esm/models/firewalldata.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/team.d.ts +31 -0
- package/dist/esm/models/team.d.ts.map +1 -1
- package/dist/esm/models/team.js +52 -0
- package/dist/esm/models/team.js.map +1 -1
- package/dist/esm/models/teaminclude.d.ts +31 -0
- package/dist/esm/models/teaminclude.d.ts.map +1 -1
- package/dist/esm/models/teaminclude.js +52 -0
- package/dist/esm/models/teaminclude.js.map +1 -1
- package/dist/esm/models/virtualmachinepayload.d.ts +5 -0
- package/dist/esm/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachinepayload.js +2 -0
- package/dist/esm/models/virtualmachinepayload.js.map +1 -1
- package/dist/esm/sdk/filesystemstorage.d.ts +2 -1
- package/dist/esm/sdk/filesystemstorage.d.ts.map +1 -1
- package/dist/esm/sdk/filesystemstorage.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/filesystemStorageListFilesystems.ts +8 -6
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/filesystemStorageListFilesystems.ts +3 -1
- package/src/models/filesystemdata.ts +38 -51
- package/src/models/filesystems.ts +90 -0
- package/src/models/firewallassignmentdata.ts +55 -0
- package/src/models/firewalldata.ts +7 -0
- package/src/models/index.ts +1 -0
- package/src/models/team.ts +95 -0
- package/src/models/teaminclude.ts +99 -0
- package/src/models/virtualmachinepayload.ts +7 -0
- package/src/sdk/filesystemstorage.ts +2 -1
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.6.
|
|
53153
|
-
genVersion: "2.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.6.
|
|
53152
|
+
sdkVersion: "0.6.3",
|
|
53153
|
+
genVersion: "2.914.0",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.6.3 2.914.0 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -55269,12 +55269,54 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55269
55269
|
});
|
|
55270
55270
|
|
|
55271
55271
|
// src/models/teaminclude.ts
|
|
55272
|
-
var Currency$inboundSchema, Currency$outboundSchema, TeamInclude$inboundSchema, TeamInclude$outboundSchema;
|
|
55272
|
+
var Currency$inboundSchema, Currency$outboundSchema, TeamIncludeLimits$inboundSchema, TeamIncludeLimits$outboundSchema, TeamInclude$inboundSchema, TeamInclude$outboundSchema;
|
|
55273
55273
|
var init_teaminclude = __esm(() => {
|
|
55274
55274
|
init_v3();
|
|
55275
55275
|
init_primitives();
|
|
55276
55276
|
Currency$inboundSchema = objectType({});
|
|
55277
55277
|
Currency$outboundSchema = objectType({});
|
|
55278
|
+
TeamIncludeLimits$inboundSchema = objectType({
|
|
55279
|
+
bare_metal: nullableType(numberType().int()).optional(),
|
|
55280
|
+
bare_metal_gpu: nullableType(numberType().int()).optional(),
|
|
55281
|
+
virtual_machine: nullableType(numberType().int()).optional(),
|
|
55282
|
+
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
55283
|
+
elastic_ip: nullableType(numberType().int()).optional(),
|
|
55284
|
+
virtual_network: nullableType(numberType().int()).optional(),
|
|
55285
|
+
database: nullableType(numberType().int()).optional(),
|
|
55286
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
55287
|
+
block_storage: nullableType(numberType().int()).optional()
|
|
55288
|
+
}).transform((v2) => {
|
|
55289
|
+
return remap(v2, {
|
|
55290
|
+
bare_metal: "bareMetal",
|
|
55291
|
+
bare_metal_gpu: "bareMetalGpu",
|
|
55292
|
+
virtual_machine: "virtualMachine",
|
|
55293
|
+
virtual_machine_gpu: "virtualMachineGpu",
|
|
55294
|
+
elastic_ip: "elasticIp",
|
|
55295
|
+
virtual_network: "virtualNetwork",
|
|
55296
|
+
block_storage: "blockStorage"
|
|
55297
|
+
});
|
|
55298
|
+
});
|
|
55299
|
+
TeamIncludeLimits$outboundSchema = objectType({
|
|
55300
|
+
bareMetal: nullableType(numberType().int()).optional(),
|
|
55301
|
+
bareMetalGpu: nullableType(numberType().int()).optional(),
|
|
55302
|
+
virtualMachine: nullableType(numberType().int()).optional(),
|
|
55303
|
+
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
55304
|
+
elasticIp: nullableType(numberType().int()).optional(),
|
|
55305
|
+
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
55306
|
+
database: nullableType(numberType().int()).optional(),
|
|
55307
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
55308
|
+
blockStorage: nullableType(numberType().int()).optional()
|
|
55309
|
+
}).transform((v2) => {
|
|
55310
|
+
return remap(v2, {
|
|
55311
|
+
bareMetal: "bare_metal",
|
|
55312
|
+
bareMetalGpu: "bare_metal_gpu",
|
|
55313
|
+
virtualMachine: "virtual_machine",
|
|
55314
|
+
virtualMachineGpu: "virtual_machine_gpu",
|
|
55315
|
+
elasticIp: "elastic_ip",
|
|
55316
|
+
virtualNetwork: "virtual_network",
|
|
55317
|
+
blockStorage: "block_storage"
|
|
55318
|
+
});
|
|
55319
|
+
});
|
|
55278
55320
|
TeamInclude$inboundSchema = objectType({
|
|
55279
55321
|
id: stringType().optional(),
|
|
55280
55322
|
name: stringType().optional(),
|
|
@@ -55283,7 +55325,8 @@ var init_teaminclude = __esm(() => {
|
|
|
55283
55325
|
address: stringType().optional(),
|
|
55284
55326
|
currency: lazyType(() => Currency$inboundSchema).optional(),
|
|
55285
55327
|
status: stringType().optional(),
|
|
55286
|
-
feature_flags: arrayType(stringType()).optional()
|
|
55328
|
+
feature_flags: arrayType(stringType()).optional(),
|
|
55329
|
+
limits: lazyType(() => TeamIncludeLimits$inboundSchema).optional()
|
|
55287
55330
|
}).transform((v2) => {
|
|
55288
55331
|
return remap(v2, {
|
|
55289
55332
|
feature_flags: "featureFlags"
|
|
@@ -55297,7 +55340,8 @@ var init_teaminclude = __esm(() => {
|
|
|
55297
55340
|
address: stringType().optional(),
|
|
55298
55341
|
currency: lazyType(() => Currency$outboundSchema).optional(),
|
|
55299
55342
|
status: stringType().optional(),
|
|
55300
|
-
featureFlags: arrayType(stringType()).optional()
|
|
55343
|
+
featureFlags: arrayType(stringType()).optional(),
|
|
55344
|
+
limits: lazyType(() => TeamIncludeLimits$outboundSchema).optional()
|
|
55301
55345
|
}).transform((v2) => {
|
|
55302
55346
|
return remap(v2, {
|
|
55303
55347
|
featureFlags: "feature_flags"
|
|
@@ -55785,45 +55829,134 @@ var init_events = __esm(() => {
|
|
|
55785
55829
|
});
|
|
55786
55830
|
});
|
|
55787
55831
|
|
|
55832
|
+
// src/models/projectinclude.ts
|
|
55833
|
+
var ProjectIncludeBilling$inboundSchema, ProjectIncludeBilling$outboundSchema, ProjectIncludeStats$inboundSchema, ProjectIncludeStats$outboundSchema, ProjectInclude$inboundSchema, ProjectInclude$outboundSchema;
|
|
55834
|
+
var init_projectinclude = __esm(() => {
|
|
55835
|
+
init_v3();
|
|
55836
|
+
init_primitives();
|
|
55837
|
+
ProjectIncludeBilling$inboundSchema = objectType({
|
|
55838
|
+
subscription_id: nullableType(stringType()).optional(),
|
|
55839
|
+
type: stringType().optional(),
|
|
55840
|
+
method: stringType().optional()
|
|
55841
|
+
}).transform((v2) => {
|
|
55842
|
+
return remap(v2, {
|
|
55843
|
+
subscription_id: "subscriptionId"
|
|
55844
|
+
});
|
|
55845
|
+
});
|
|
55846
|
+
ProjectIncludeBilling$outboundSchema = objectType({
|
|
55847
|
+
subscriptionId: nullableType(stringType()).optional(),
|
|
55848
|
+
type: stringType().optional(),
|
|
55849
|
+
method: stringType().optional()
|
|
55850
|
+
}).transform((v2) => {
|
|
55851
|
+
return remap(v2, {
|
|
55852
|
+
subscriptionId: "subscription_id"
|
|
55853
|
+
});
|
|
55854
|
+
});
|
|
55855
|
+
ProjectIncludeStats$inboundSchema = objectType({
|
|
55856
|
+
ip_addresses: numberType().int().optional(),
|
|
55857
|
+
prefixes: numberType().int().optional(),
|
|
55858
|
+
servers: numberType().int().optional(),
|
|
55859
|
+
vlans: numberType().int().optional()
|
|
55860
|
+
}).transform((v2) => {
|
|
55861
|
+
return remap(v2, {
|
|
55862
|
+
ip_addresses: "ipAddresses"
|
|
55863
|
+
});
|
|
55864
|
+
});
|
|
55865
|
+
ProjectIncludeStats$outboundSchema = objectType({
|
|
55866
|
+
ipAddresses: numberType().int().optional(),
|
|
55867
|
+
prefixes: numberType().int().optional(),
|
|
55868
|
+
servers: numberType().int().optional(),
|
|
55869
|
+
vlans: numberType().int().optional()
|
|
55870
|
+
}).transform((v2) => {
|
|
55871
|
+
return remap(v2, {
|
|
55872
|
+
ipAddresses: "ip_addresses"
|
|
55873
|
+
});
|
|
55874
|
+
});
|
|
55875
|
+
ProjectInclude$inboundSchema = objectType({
|
|
55876
|
+
id: stringType().optional(),
|
|
55877
|
+
name: stringType().optional(),
|
|
55878
|
+
slug: stringType().optional(),
|
|
55879
|
+
description: nullableType(stringType()).optional(),
|
|
55880
|
+
billing_type: nullableType(stringType()).optional(),
|
|
55881
|
+
provisioning_type: nullableType(stringType()).optional(),
|
|
55882
|
+
billing_method: nullableType(stringType()).optional(),
|
|
55883
|
+
bandwidth_alert: booleanType().optional(),
|
|
55884
|
+
environment: nullableType(stringType()).optional(),
|
|
55885
|
+
billing: lazyType(() => ProjectIncludeBilling$inboundSchema).optional(),
|
|
55886
|
+
stats: lazyType(() => ProjectIncludeStats$inboundSchema).optional()
|
|
55887
|
+
}).transform((v2) => {
|
|
55888
|
+
return remap(v2, {
|
|
55889
|
+
billing_type: "billingType",
|
|
55890
|
+
provisioning_type: "provisioningType",
|
|
55891
|
+
billing_method: "billingMethod",
|
|
55892
|
+
bandwidth_alert: "bandwidthAlert"
|
|
55893
|
+
});
|
|
55894
|
+
});
|
|
55895
|
+
ProjectInclude$outboundSchema = objectType({
|
|
55896
|
+
id: stringType().optional(),
|
|
55897
|
+
name: stringType().optional(),
|
|
55898
|
+
slug: stringType().optional(),
|
|
55899
|
+
description: nullableType(stringType()).optional(),
|
|
55900
|
+
billingType: nullableType(stringType()).optional(),
|
|
55901
|
+
provisioningType: nullableType(stringType()).optional(),
|
|
55902
|
+
billingMethod: nullableType(stringType()).optional(),
|
|
55903
|
+
bandwidthAlert: booleanType().optional(),
|
|
55904
|
+
environment: nullableType(stringType()).optional(),
|
|
55905
|
+
billing: lazyType(() => ProjectIncludeBilling$outboundSchema).optional(),
|
|
55906
|
+
stats: lazyType(() => ProjectIncludeStats$outboundSchema).optional()
|
|
55907
|
+
}).transform((v2) => {
|
|
55908
|
+
return remap(v2, {
|
|
55909
|
+
billingType: "billing_type",
|
|
55910
|
+
provisioningType: "provisioning_type",
|
|
55911
|
+
billingMethod: "billing_method",
|
|
55912
|
+
bandwidthAlert: "bandwidth_alert"
|
|
55913
|
+
});
|
|
55914
|
+
});
|
|
55915
|
+
});
|
|
55916
|
+
|
|
55788
55917
|
// src/models/filesystemdata.ts
|
|
55789
|
-
var FilesystemDataType, FilesystemDataType$inboundSchema, FilesystemDataType$outboundSchema,
|
|
55918
|
+
var FilesystemDataType, FilesystemStorageClass, FilesystemDataType$inboundSchema, FilesystemDataType$outboundSchema, FilesystemStorageClass$inboundSchema, FilesystemStorageClass$outboundSchema, FilesystemDataAttributes$inboundSchema, FilesystemDataAttributes$outboundSchema, FilesystemData$inboundSchema, FilesystemData$outboundSchema;
|
|
55790
55919
|
var init_filesystemdata = __esm(() => {
|
|
55791
55920
|
init_v3();
|
|
55792
55921
|
init_primitives();
|
|
55922
|
+
init_projectinclude();
|
|
55923
|
+
init_teaminclude();
|
|
55793
55924
|
FilesystemDataType = {
|
|
55794
55925
|
Filesystems: "filesystems"
|
|
55795
55926
|
};
|
|
55927
|
+
FilesystemStorageClass = {
|
|
55928
|
+
Standard: "standard",
|
|
55929
|
+
HighPerformance: "high_performance"
|
|
55930
|
+
};
|
|
55796
55931
|
FilesystemDataType$inboundSchema = nativeEnumType(FilesystemDataType);
|
|
55797
55932
|
FilesystemDataType$outboundSchema = FilesystemDataType$inboundSchema;
|
|
55798
|
-
|
|
55799
|
-
|
|
55800
|
-
name: stringType().optional(),
|
|
55801
|
-
slug: stringType().optional()
|
|
55802
|
-
});
|
|
55803
|
-
FilesystemDataProject$outboundSchema = objectType({
|
|
55804
|
-
id: stringType().optional(),
|
|
55805
|
-
name: stringType().optional(),
|
|
55806
|
-
slug: stringType().optional()
|
|
55807
|
-
});
|
|
55933
|
+
FilesystemStorageClass$inboundSchema = nativeEnumType(FilesystemStorageClass);
|
|
55934
|
+
FilesystemStorageClass$outboundSchema = FilesystemStorageClass$inboundSchema;
|
|
55808
55935
|
FilesystemDataAttributes$inboundSchema = objectType({
|
|
55809
55936
|
name: stringType().optional(),
|
|
55810
55937
|
size_in_gb: numberType().int().optional(),
|
|
55938
|
+
storage_class: nullableType(FilesystemStorageClass$inboundSchema).optional(),
|
|
55811
55939
|
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
55812
|
-
project:
|
|
55940
|
+
project: ProjectInclude$inboundSchema.optional(),
|
|
55941
|
+
team: TeamInclude$inboundSchema.optional()
|
|
55813
55942
|
}).transform((v2) => {
|
|
55814
55943
|
return remap(v2, {
|
|
55815
55944
|
size_in_gb: "sizeInGb",
|
|
55945
|
+
storage_class: "filesystemStorageClass",
|
|
55816
55946
|
created_at: "createdAt"
|
|
55817
55947
|
});
|
|
55818
55948
|
});
|
|
55819
55949
|
FilesystemDataAttributes$outboundSchema = objectType({
|
|
55820
55950
|
name: stringType().optional(),
|
|
55821
55951
|
sizeInGb: numberType().int().optional(),
|
|
55952
|
+
filesystemStorageClass: nullableType(FilesystemStorageClass$outboundSchema).optional(),
|
|
55822
55953
|
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
55823
|
-
project:
|
|
55954
|
+
project: ProjectInclude$outboundSchema.optional(),
|
|
55955
|
+
team: TeamInclude$outboundSchema.optional()
|
|
55824
55956
|
}).transform((v2) => {
|
|
55825
55957
|
return remap(v2, {
|
|
55826
55958
|
sizeInGb: "size_in_gb",
|
|
55959
|
+
filesystemStorageClass: "storage_class",
|
|
55827
55960
|
createdAt: "created_at"
|
|
55828
55961
|
});
|
|
55829
55962
|
});
|
|
@@ -55839,6 +55972,23 @@ var init_filesystemdata = __esm(() => {
|
|
|
55839
55972
|
});
|
|
55840
55973
|
});
|
|
55841
55974
|
|
|
55975
|
+
// src/models/filesystems.ts
|
|
55976
|
+
var FilesystemsMeta$inboundSchema, FilesystemsMeta$outboundSchema, Filesystems$inboundSchema, Filesystems$outboundSchema;
|
|
55977
|
+
var init_filesystems = __esm(() => {
|
|
55978
|
+
init_v3();
|
|
55979
|
+
init_filesystemdata();
|
|
55980
|
+
FilesystemsMeta$inboundSchema = objectType({});
|
|
55981
|
+
FilesystemsMeta$outboundSchema = objectType({});
|
|
55982
|
+
Filesystems$inboundSchema = objectType({
|
|
55983
|
+
data: arrayType(FilesystemData$inboundSchema).optional(),
|
|
55984
|
+
meta: lazyType(() => FilesystemsMeta$inboundSchema).optional()
|
|
55985
|
+
});
|
|
55986
|
+
Filesystems$outboundSchema = objectType({
|
|
55987
|
+
data: arrayType(FilesystemData$outboundSchema).optional(),
|
|
55988
|
+
meta: lazyType(() => FilesystemsMeta$outboundSchema).optional()
|
|
55989
|
+
});
|
|
55990
|
+
});
|
|
55991
|
+
|
|
55842
55992
|
// src/models/firewalldata.ts
|
|
55843
55993
|
var FirewallDataType, FirewallDataType$inboundSchema, FirewallDataType$outboundSchema, Rule$inboundSchema, Rule$outboundSchema, FirewallDataProject$inboundSchema, FirewallDataProject$outboundSchema, FirewallDataAttributes$inboundSchema, FirewallDataAttributes$outboundSchema, FirewallData$inboundSchema, FirewallData$outboundSchema;
|
|
55844
55994
|
var init_firewalldata = __esm(() => {
|
|
@@ -55853,6 +56003,7 @@ var init_firewalldata = __esm(() => {
|
|
|
55853
56003
|
to: stringType().optional(),
|
|
55854
56004
|
port: stringType().optional(),
|
|
55855
56005
|
protocol: stringType().optional(),
|
|
56006
|
+
default: booleanType().optional(),
|
|
55856
56007
|
description: nullableType(stringType()).optional()
|
|
55857
56008
|
});
|
|
55858
56009
|
Rule$outboundSchema = objectType({
|
|
@@ -55860,6 +56011,7 @@ var init_firewalldata = __esm(() => {
|
|
|
55860
56011
|
to: stringType().optional(),
|
|
55861
56012
|
port: stringType().optional(),
|
|
55862
56013
|
protocol: stringType().optional(),
|
|
56014
|
+
default: booleanType().optional(),
|
|
55863
56015
|
description: nullableType(stringType()).optional()
|
|
55864
56016
|
});
|
|
55865
56017
|
FirewallDataProject$inboundSchema = objectType({
|
|
@@ -55912,7 +56064,7 @@ var init_firewall = __esm(() => {
|
|
|
55912
56064
|
});
|
|
55913
56065
|
|
|
55914
56066
|
// src/models/firewallassignmentdata.ts
|
|
55915
|
-
var FirewallAssignmentDataType, FirewallAssignmentDataType$inboundSchema, FirewallAssignmentDataType$outboundSchema, FirewallAssignmentDataServer$inboundSchema, FirewallAssignmentDataServer$outboundSchema, FirewallAssignmentDataAttributes$inboundSchema, FirewallAssignmentDataAttributes$outboundSchema, FirewallAssignmentData$inboundSchema, FirewallAssignmentData$outboundSchema;
|
|
56067
|
+
var FirewallAssignmentDataType, FirewallAssignmentDataType$inboundSchema, FirewallAssignmentDataType$outboundSchema, FirewallAssignmentDataServer$inboundSchema, FirewallAssignmentDataServer$outboundSchema, FirewallAssignmentDataFirewall$inboundSchema, FirewallAssignmentDataFirewall$outboundSchema, FirewallAssignmentDataAttributes$inboundSchema, FirewallAssignmentDataAttributes$outboundSchema, FirewallAssignmentData$inboundSchema, FirewallAssignmentData$outboundSchema;
|
|
55916
56068
|
var init_firewallassignmentdata = __esm(() => {
|
|
55917
56069
|
init_v3();
|
|
55918
56070
|
init_primitives();
|
|
@@ -55939,8 +56091,17 @@ var init_firewallassignmentdata = __esm(() => {
|
|
|
55939
56091
|
primaryIpv4: "primary_ipv4"
|
|
55940
56092
|
});
|
|
55941
56093
|
});
|
|
56094
|
+
FirewallAssignmentDataFirewall$inboundSchema = objectType({
|
|
56095
|
+
id: stringType().optional(),
|
|
56096
|
+
name: stringType().optional()
|
|
56097
|
+
});
|
|
56098
|
+
FirewallAssignmentDataFirewall$outboundSchema = objectType({
|
|
56099
|
+
id: stringType().optional(),
|
|
56100
|
+
name: stringType().optional()
|
|
56101
|
+
});
|
|
55942
56102
|
FirewallAssignmentDataAttributes$inboundSchema = objectType({
|
|
55943
56103
|
server: lazyType(() => FirewallAssignmentDataServer$inboundSchema).optional(),
|
|
56104
|
+
firewall: lazyType(() => FirewallAssignmentDataFirewall$inboundSchema).optional(),
|
|
55944
56105
|
firewall_id: stringType().optional()
|
|
55945
56106
|
}).transform((v2) => {
|
|
55946
56107
|
return remap(v2, {
|
|
@@ -55949,6 +56110,7 @@ var init_firewallassignmentdata = __esm(() => {
|
|
|
55949
56110
|
});
|
|
55950
56111
|
FirewallAssignmentDataAttributes$outboundSchema = objectType({
|
|
55951
56112
|
server: lazyType(() => FirewallAssignmentDataServer$outboundSchema).optional(),
|
|
56113
|
+
firewall: lazyType(() => FirewallAssignmentDataFirewall$outboundSchema).optional(),
|
|
55952
56114
|
firewallId: stringType().optional()
|
|
55953
56115
|
}).transform((v2) => {
|
|
55954
56116
|
return remap(v2, {
|
|
@@ -56867,91 +57029,6 @@ var init_membership = __esm(() => {
|
|
|
56867
57029
|
});
|
|
56868
57030
|
});
|
|
56869
57031
|
|
|
56870
|
-
// src/models/projectinclude.ts
|
|
56871
|
-
var ProjectIncludeBilling$inboundSchema, ProjectIncludeBilling$outboundSchema, ProjectIncludeStats$inboundSchema, ProjectIncludeStats$outboundSchema, ProjectInclude$inboundSchema, ProjectInclude$outboundSchema;
|
|
56872
|
-
var init_projectinclude = __esm(() => {
|
|
56873
|
-
init_v3();
|
|
56874
|
-
init_primitives();
|
|
56875
|
-
ProjectIncludeBilling$inboundSchema = objectType({
|
|
56876
|
-
subscription_id: nullableType(stringType()).optional(),
|
|
56877
|
-
type: stringType().optional(),
|
|
56878
|
-
method: stringType().optional()
|
|
56879
|
-
}).transform((v2) => {
|
|
56880
|
-
return remap(v2, {
|
|
56881
|
-
subscription_id: "subscriptionId"
|
|
56882
|
-
});
|
|
56883
|
-
});
|
|
56884
|
-
ProjectIncludeBilling$outboundSchema = objectType({
|
|
56885
|
-
subscriptionId: nullableType(stringType()).optional(),
|
|
56886
|
-
type: stringType().optional(),
|
|
56887
|
-
method: stringType().optional()
|
|
56888
|
-
}).transform((v2) => {
|
|
56889
|
-
return remap(v2, {
|
|
56890
|
-
subscriptionId: "subscription_id"
|
|
56891
|
-
});
|
|
56892
|
-
});
|
|
56893
|
-
ProjectIncludeStats$inboundSchema = objectType({
|
|
56894
|
-
ip_addresses: numberType().int().optional(),
|
|
56895
|
-
prefixes: numberType().int().optional(),
|
|
56896
|
-
servers: numberType().int().optional(),
|
|
56897
|
-
vlans: numberType().int().optional()
|
|
56898
|
-
}).transform((v2) => {
|
|
56899
|
-
return remap(v2, {
|
|
56900
|
-
ip_addresses: "ipAddresses"
|
|
56901
|
-
});
|
|
56902
|
-
});
|
|
56903
|
-
ProjectIncludeStats$outboundSchema = objectType({
|
|
56904
|
-
ipAddresses: numberType().int().optional(),
|
|
56905
|
-
prefixes: numberType().int().optional(),
|
|
56906
|
-
servers: numberType().int().optional(),
|
|
56907
|
-
vlans: numberType().int().optional()
|
|
56908
|
-
}).transform((v2) => {
|
|
56909
|
-
return remap(v2, {
|
|
56910
|
-
ipAddresses: "ip_addresses"
|
|
56911
|
-
});
|
|
56912
|
-
});
|
|
56913
|
-
ProjectInclude$inboundSchema = objectType({
|
|
56914
|
-
id: stringType().optional(),
|
|
56915
|
-
name: stringType().optional(),
|
|
56916
|
-
slug: stringType().optional(),
|
|
56917
|
-
description: nullableType(stringType()).optional(),
|
|
56918
|
-
billing_type: nullableType(stringType()).optional(),
|
|
56919
|
-
provisioning_type: nullableType(stringType()).optional(),
|
|
56920
|
-
billing_method: nullableType(stringType()).optional(),
|
|
56921
|
-
bandwidth_alert: booleanType().optional(),
|
|
56922
|
-
environment: nullableType(stringType()).optional(),
|
|
56923
|
-
billing: lazyType(() => ProjectIncludeBilling$inboundSchema).optional(),
|
|
56924
|
-
stats: lazyType(() => ProjectIncludeStats$inboundSchema).optional()
|
|
56925
|
-
}).transform((v2) => {
|
|
56926
|
-
return remap(v2, {
|
|
56927
|
-
billing_type: "billingType",
|
|
56928
|
-
provisioning_type: "provisioningType",
|
|
56929
|
-
billing_method: "billingMethod",
|
|
56930
|
-
bandwidth_alert: "bandwidthAlert"
|
|
56931
|
-
});
|
|
56932
|
-
});
|
|
56933
|
-
ProjectInclude$outboundSchema = objectType({
|
|
56934
|
-
id: stringType().optional(),
|
|
56935
|
-
name: stringType().optional(),
|
|
56936
|
-
slug: stringType().optional(),
|
|
56937
|
-
description: nullableType(stringType()).optional(),
|
|
56938
|
-
billingType: nullableType(stringType()).optional(),
|
|
56939
|
-
provisioningType: nullableType(stringType()).optional(),
|
|
56940
|
-
billingMethod: nullableType(stringType()).optional(),
|
|
56941
|
-
bandwidthAlert: booleanType().optional(),
|
|
56942
|
-
environment: nullableType(stringType()).optional(),
|
|
56943
|
-
billing: lazyType(() => ProjectIncludeBilling$outboundSchema).optional(),
|
|
56944
|
-
stats: lazyType(() => ProjectIncludeStats$outboundSchema).optional()
|
|
56945
|
-
}).transform((v2) => {
|
|
56946
|
-
return remap(v2, {
|
|
56947
|
-
billingType: "billing_type",
|
|
56948
|
-
provisioningType: "provisioning_type",
|
|
56949
|
-
billingMethod: "billing_method",
|
|
56950
|
-
bandwidthAlert: "bandwidth_alert"
|
|
56951
|
-
});
|
|
56952
|
-
});
|
|
56953
|
-
});
|
|
56954
|
-
|
|
56955
57032
|
// src/models/objectstoragedata.ts
|
|
56956
57033
|
var ObjectStorageDataType, StorageClass, RetentionMode, ObjectStorageDataType$inboundSchema, ObjectStorageDataType$outboundSchema, StorageClass$inboundSchema, StorageClass$outboundSchema, RetentionMode$inboundSchema, RetentionMode$outboundSchema, ObjectStorageDataRegion$inboundSchema, ObjectStorageDataRegion$outboundSchema, ObjectStorageDataAttributes$inboundSchema, ObjectStorageDataAttributes$outboundSchema, ObjectStorageData$inboundSchema, ObjectStorageData$outboundSchema;
|
|
56957
57034
|
var init_objectstoragedata = __esm(() => {
|
|
@@ -58346,7 +58423,7 @@ var init_storageplans = __esm(() => {
|
|
|
58346
58423
|
});
|
|
58347
58424
|
|
|
58348
58425
|
// src/models/team.ts
|
|
58349
|
-
var TeamBilling$inboundSchema, TeamBilling$outboundSchema, TeamAttributes$inboundSchema, TeamAttributes$outboundSchema, Team$inboundSchema, Team$outboundSchema;
|
|
58426
|
+
var TeamBilling$inboundSchema, TeamBilling$outboundSchema, TeamLimits$inboundSchema, TeamLimits$outboundSchema, TeamAttributes$inboundSchema, TeamAttributes$outboundSchema, Team$inboundSchema, Team$outboundSchema;
|
|
58350
58427
|
var init_team = __esm(() => {
|
|
58351
58428
|
init_v3();
|
|
58352
58429
|
init_primitives();
|
|
@@ -58368,6 +58445,48 @@ var init_team = __esm(() => {
|
|
|
58368
58445
|
customerBillingId: "customer_billing_id"
|
|
58369
58446
|
});
|
|
58370
58447
|
});
|
|
58448
|
+
TeamLimits$inboundSchema = objectType({
|
|
58449
|
+
bare_metal: nullableType(numberType().int()).optional(),
|
|
58450
|
+
bare_metal_gpu: nullableType(numberType().int()).optional(),
|
|
58451
|
+
virtual_machine: nullableType(numberType().int()).optional(),
|
|
58452
|
+
virtual_machine_gpu: nullableType(numberType().int()).optional(),
|
|
58453
|
+
elastic_ip: nullableType(numberType().int()).optional(),
|
|
58454
|
+
virtual_network: nullableType(numberType().int()).optional(),
|
|
58455
|
+
database: nullableType(numberType().int()).optional(),
|
|
58456
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
58457
|
+
block_storage: nullableType(numberType().int()).optional()
|
|
58458
|
+
}).transform((v2) => {
|
|
58459
|
+
return remap(v2, {
|
|
58460
|
+
bare_metal: "bareMetal",
|
|
58461
|
+
bare_metal_gpu: "bareMetalGpu",
|
|
58462
|
+
virtual_machine: "virtualMachine",
|
|
58463
|
+
virtual_machine_gpu: "virtualMachineGpu",
|
|
58464
|
+
elastic_ip: "elasticIp",
|
|
58465
|
+
virtual_network: "virtualNetwork",
|
|
58466
|
+
block_storage: "blockStorage"
|
|
58467
|
+
});
|
|
58468
|
+
});
|
|
58469
|
+
TeamLimits$outboundSchema = objectType({
|
|
58470
|
+
bareMetal: nullableType(numberType().int()).optional(),
|
|
58471
|
+
bareMetalGpu: nullableType(numberType().int()).optional(),
|
|
58472
|
+
virtualMachine: nullableType(numberType().int()).optional(),
|
|
58473
|
+
virtualMachineGpu: nullableType(numberType().int()).optional(),
|
|
58474
|
+
elasticIp: nullableType(numberType().int()).optional(),
|
|
58475
|
+
virtualNetwork: nullableType(numberType().int()).optional(),
|
|
58476
|
+
database: nullableType(numberType().int()).optional(),
|
|
58477
|
+
filesystem: nullableType(numberType().int()).optional(),
|
|
58478
|
+
blockStorage: nullableType(numberType().int()).optional()
|
|
58479
|
+
}).transform((v2) => {
|
|
58480
|
+
return remap(v2, {
|
|
58481
|
+
bareMetal: "bare_metal",
|
|
58482
|
+
bareMetalGpu: "bare_metal_gpu",
|
|
58483
|
+
virtualMachine: "virtual_machine",
|
|
58484
|
+
virtualMachineGpu: "virtual_machine_gpu",
|
|
58485
|
+
elasticIp: "elastic_ip",
|
|
58486
|
+
virtualNetwork: "virtual_network",
|
|
58487
|
+
blockStorage: "block_storage"
|
|
58488
|
+
});
|
|
58489
|
+
});
|
|
58371
58490
|
TeamAttributes$inboundSchema = objectType({
|
|
58372
58491
|
name: stringType().optional(),
|
|
58373
58492
|
slug: stringType().optional(),
|
|
@@ -58381,7 +58500,8 @@ var init_team = __esm(() => {
|
|
|
58381
58500
|
projects: arrayType(ProjectInclude$inboundSchema).optional(),
|
|
58382
58501
|
owner: UserInclude$inboundSchema.optional(),
|
|
58383
58502
|
billing: lazyType(() => TeamBilling$inboundSchema).optional(),
|
|
58384
|
-
feature_flags: arrayType(stringType()).optional()
|
|
58503
|
+
feature_flags: arrayType(stringType()).optional(),
|
|
58504
|
+
limits: lazyType(() => TeamLimits$inboundSchema).optional()
|
|
58385
58505
|
}).transform((v2) => {
|
|
58386
58506
|
return remap(v2, {
|
|
58387
58507
|
created_at: "createdAt",
|
|
@@ -58403,7 +58523,8 @@ var init_team = __esm(() => {
|
|
|
58403
58523
|
projects: arrayType(ProjectInclude$outboundSchema).optional(),
|
|
58404
58524
|
owner: UserInclude$outboundSchema.optional(),
|
|
58405
58525
|
billing: lazyType(() => TeamBilling$outboundSchema).optional(),
|
|
58406
|
-
featureFlags: arrayType(stringType()).optional()
|
|
58526
|
+
featureFlags: arrayType(stringType()).optional(),
|
|
58527
|
+
limits: lazyType(() => TeamLimits$outboundSchema).optional()
|
|
58407
58528
|
}).transform((v2) => {
|
|
58408
58529
|
return remap(v2, {
|
|
58409
58530
|
createdAt: "created_at",
|
|
@@ -59527,7 +59648,8 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
59527
59648
|
project: stringType().default("my-project"),
|
|
59528
59649
|
operating_system: nullableType(stringType()).optional(),
|
|
59529
59650
|
user_data: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59530
|
-
tags: nullableType(arrayType(stringType())).optional()
|
|
59651
|
+
tags: nullableType(arrayType(stringType())).optional(),
|
|
59652
|
+
site: nullableType(stringType().default("DAL"))
|
|
59531
59653
|
}).transform((v2) => {
|
|
59532
59654
|
return remap(v2, {
|
|
59533
59655
|
ssh_keys: "sshKeys",
|
|
@@ -59542,7 +59664,8 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
59542
59664
|
project: stringType().default("my-project"),
|
|
59543
59665
|
operatingSystem: nullableType(stringType()).optional(),
|
|
59544
59666
|
userData: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59545
|
-
tags: nullableType(arrayType(stringType())).optional()
|
|
59667
|
+
tags: nullableType(arrayType(stringType())).optional(),
|
|
59668
|
+
site: nullableType(stringType().default("DAL"))
|
|
59546
59669
|
}).transform((v2) => {
|
|
59547
59670
|
return remap(v2, {
|
|
59548
59671
|
sshKeys: "ssh_keys",
|
|
@@ -60204,6 +60327,7 @@ var init_models = __esm(() => {
|
|
|
60204
60327
|
init_eventdata();
|
|
60205
60328
|
init_events();
|
|
60206
60329
|
init_filesystemdata();
|
|
60330
|
+
init_filesystems();
|
|
60207
60331
|
init_firewall();
|
|
60208
60332
|
init_firewallassignmentdata();
|
|
60209
60333
|
init_firewallassignments();
|
|
@@ -67769,7 +67893,7 @@ async function $do20(client, request, options) {
|
|
|
67769
67893
|
"filter[project]": payload?.["filter[project]"]
|
|
67770
67894
|
});
|
|
67771
67895
|
const headers = new Headers(compactMap({
|
|
67772
|
-
Accept: "
|
|
67896
|
+
Accept: "application/vnd.api+json"
|
|
67773
67897
|
}));
|
|
67774
67898
|
const secConfig = await extractSecurity(client._options.bearer);
|
|
67775
67899
|
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
@@ -67809,14 +67933,15 @@ async function $do20(client, request, options) {
|
|
|
67809
67933
|
return [doResult, { status: "request-error", request: req }];
|
|
67810
67934
|
}
|
|
67811
67935
|
const response = doResult.value;
|
|
67812
|
-
const [result] = await match(
|
|
67936
|
+
const [result] = await match(json(200, Filesystems$inboundSchema, {
|
|
67937
|
+
ctype: "application/vnd.api+json"
|
|
67938
|
+
}), fail("4XX"), fail("5XX"))(response, req);
|
|
67813
67939
|
if (!result.ok) {
|
|
67814
67940
|
return [result, { status: "complete", request: req, response }];
|
|
67815
67941
|
}
|
|
67816
67942
|
return [result, { status: "complete", request: req, response }];
|
|
67817
67943
|
}
|
|
67818
67944
|
var init_filesystemStorageListFilesystems = __esm(() => {
|
|
67819
|
-
init_v3();
|
|
67820
67945
|
init_encodings();
|
|
67821
67946
|
init_http();
|
|
67822
67947
|
init_matchers();
|
|
@@ -67824,6 +67949,7 @@ var init_filesystemStorageListFilesystems = __esm(() => {
|
|
|
67824
67949
|
init_schemas4();
|
|
67825
67950
|
init_security();
|
|
67826
67951
|
init_url();
|
|
67952
|
+
init_models();
|
|
67827
67953
|
init_operations();
|
|
67828
67954
|
init_async();
|
|
67829
67955
|
});
|
|
@@ -67851,7 +67977,8 @@ Lists all the filesystems from a team.`,
|
|
|
67851
67977
|
isError: true
|
|
67852
67978
|
};
|
|
67853
67979
|
}
|
|
67854
|
-
|
|
67980
|
+
const value = result.value;
|
|
67981
|
+
return formatResult(value, apiCall);
|
|
67855
67982
|
}
|
|
67856
67983
|
};
|
|
67857
67984
|
});
|
|
@@ -80491,7 +80618,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
80491
80618
|
function createMCPServer(deps) {
|
|
80492
80619
|
const server2 = new McpServer({
|
|
80493
80620
|
name: "Latitudesh",
|
|
80494
|
-
version: "0.6.
|
|
80621
|
+
version: "0.6.3"
|
|
80495
80622
|
});
|
|
80496
80623
|
const client = new LatitudeshCore({
|
|
80497
80624
|
bearer: deps.bearer,
|
|
@@ -81982,7 +82109,7 @@ var routes = ln({
|
|
|
81982
82109
|
var app = _e(routes, {
|
|
81983
82110
|
name: "mcp",
|
|
81984
82111
|
versionInfo: {
|
|
81985
|
-
currentVersion: "0.6.
|
|
82112
|
+
currentVersion: "0.6.3"
|
|
81986
82113
|
}
|
|
81987
82114
|
});
|
|
81988
82115
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -81990,5 +82117,5 @@ export {
|
|
|
81990
82117
|
app
|
|
81991
82118
|
};
|
|
81992
82119
|
|
|
81993
|
-
//# debugId=
|
|
82120
|
+
//# debugId=FF1C85F11C06E53C64756E2164756E21
|
|
81994
82121
|
//# sourceMappingURL=mcp-server.js.map
|