latitudesh-typescript-sdk 0.6.2 → 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 +150 -111
- package/bin/mcp-server.js.map +15 -14
- 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/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/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/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
|
|
|
@@ -55829,45 +55829,134 @@ var init_events = __esm(() => {
|
|
|
55829
55829
|
});
|
|
55830
55830
|
});
|
|
55831
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
|
+
|
|
55832
55917
|
// src/models/filesystemdata.ts
|
|
55833
|
-
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;
|
|
55834
55919
|
var init_filesystemdata = __esm(() => {
|
|
55835
55920
|
init_v3();
|
|
55836
55921
|
init_primitives();
|
|
55922
|
+
init_projectinclude();
|
|
55923
|
+
init_teaminclude();
|
|
55837
55924
|
FilesystemDataType = {
|
|
55838
55925
|
Filesystems: "filesystems"
|
|
55839
55926
|
};
|
|
55927
|
+
FilesystemStorageClass = {
|
|
55928
|
+
Standard: "standard",
|
|
55929
|
+
HighPerformance: "high_performance"
|
|
55930
|
+
};
|
|
55840
55931
|
FilesystemDataType$inboundSchema = nativeEnumType(FilesystemDataType);
|
|
55841
55932
|
FilesystemDataType$outboundSchema = FilesystemDataType$inboundSchema;
|
|
55842
|
-
|
|
55843
|
-
|
|
55844
|
-
name: stringType().optional(),
|
|
55845
|
-
slug: stringType().optional()
|
|
55846
|
-
});
|
|
55847
|
-
FilesystemDataProject$outboundSchema = objectType({
|
|
55848
|
-
id: stringType().optional(),
|
|
55849
|
-
name: stringType().optional(),
|
|
55850
|
-
slug: stringType().optional()
|
|
55851
|
-
});
|
|
55933
|
+
FilesystemStorageClass$inboundSchema = nativeEnumType(FilesystemStorageClass);
|
|
55934
|
+
FilesystemStorageClass$outboundSchema = FilesystemStorageClass$inboundSchema;
|
|
55852
55935
|
FilesystemDataAttributes$inboundSchema = objectType({
|
|
55853
55936
|
name: stringType().optional(),
|
|
55854
55937
|
size_in_gb: numberType().int().optional(),
|
|
55938
|
+
storage_class: nullableType(FilesystemStorageClass$inboundSchema).optional(),
|
|
55855
55939
|
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
55856
|
-
project:
|
|
55940
|
+
project: ProjectInclude$inboundSchema.optional(),
|
|
55941
|
+
team: TeamInclude$inboundSchema.optional()
|
|
55857
55942
|
}).transform((v2) => {
|
|
55858
55943
|
return remap(v2, {
|
|
55859
55944
|
size_in_gb: "sizeInGb",
|
|
55945
|
+
storage_class: "filesystemStorageClass",
|
|
55860
55946
|
created_at: "createdAt"
|
|
55861
55947
|
});
|
|
55862
55948
|
});
|
|
55863
55949
|
FilesystemDataAttributes$outboundSchema = objectType({
|
|
55864
55950
|
name: stringType().optional(),
|
|
55865
55951
|
sizeInGb: numberType().int().optional(),
|
|
55952
|
+
filesystemStorageClass: nullableType(FilesystemStorageClass$outboundSchema).optional(),
|
|
55866
55953
|
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
55867
|
-
project:
|
|
55954
|
+
project: ProjectInclude$outboundSchema.optional(),
|
|
55955
|
+
team: TeamInclude$outboundSchema.optional()
|
|
55868
55956
|
}).transform((v2) => {
|
|
55869
55957
|
return remap(v2, {
|
|
55870
55958
|
sizeInGb: "size_in_gb",
|
|
55959
|
+
filesystemStorageClass: "storage_class",
|
|
55871
55960
|
createdAt: "created_at"
|
|
55872
55961
|
});
|
|
55873
55962
|
});
|
|
@@ -55883,6 +55972,23 @@ var init_filesystemdata = __esm(() => {
|
|
|
55883
55972
|
});
|
|
55884
55973
|
});
|
|
55885
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
|
+
|
|
55886
55992
|
// src/models/firewalldata.ts
|
|
55887
55993
|
var FirewallDataType, FirewallDataType$inboundSchema, FirewallDataType$outboundSchema, Rule$inboundSchema, Rule$outboundSchema, FirewallDataProject$inboundSchema, FirewallDataProject$outboundSchema, FirewallDataAttributes$inboundSchema, FirewallDataAttributes$outboundSchema, FirewallData$inboundSchema, FirewallData$outboundSchema;
|
|
55888
55994
|
var init_firewalldata = __esm(() => {
|
|
@@ -55897,6 +56003,7 @@ var init_firewalldata = __esm(() => {
|
|
|
55897
56003
|
to: stringType().optional(),
|
|
55898
56004
|
port: stringType().optional(),
|
|
55899
56005
|
protocol: stringType().optional(),
|
|
56006
|
+
default: booleanType().optional(),
|
|
55900
56007
|
description: nullableType(stringType()).optional()
|
|
55901
56008
|
});
|
|
55902
56009
|
Rule$outboundSchema = objectType({
|
|
@@ -55904,6 +56011,7 @@ var init_firewalldata = __esm(() => {
|
|
|
55904
56011
|
to: stringType().optional(),
|
|
55905
56012
|
port: stringType().optional(),
|
|
55906
56013
|
protocol: stringType().optional(),
|
|
56014
|
+
default: booleanType().optional(),
|
|
55907
56015
|
description: nullableType(stringType()).optional()
|
|
55908
56016
|
});
|
|
55909
56017
|
FirewallDataProject$inboundSchema = objectType({
|
|
@@ -55956,7 +56064,7 @@ var init_firewall = __esm(() => {
|
|
|
55956
56064
|
});
|
|
55957
56065
|
|
|
55958
56066
|
// src/models/firewallassignmentdata.ts
|
|
55959
|
-
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;
|
|
55960
56068
|
var init_firewallassignmentdata = __esm(() => {
|
|
55961
56069
|
init_v3();
|
|
55962
56070
|
init_primitives();
|
|
@@ -55983,8 +56091,17 @@ var init_firewallassignmentdata = __esm(() => {
|
|
|
55983
56091
|
primaryIpv4: "primary_ipv4"
|
|
55984
56092
|
});
|
|
55985
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
|
+
});
|
|
55986
56102
|
FirewallAssignmentDataAttributes$inboundSchema = objectType({
|
|
55987
56103
|
server: lazyType(() => FirewallAssignmentDataServer$inboundSchema).optional(),
|
|
56104
|
+
firewall: lazyType(() => FirewallAssignmentDataFirewall$inboundSchema).optional(),
|
|
55988
56105
|
firewall_id: stringType().optional()
|
|
55989
56106
|
}).transform((v2) => {
|
|
55990
56107
|
return remap(v2, {
|
|
@@ -55993,6 +56110,7 @@ var init_firewallassignmentdata = __esm(() => {
|
|
|
55993
56110
|
});
|
|
55994
56111
|
FirewallAssignmentDataAttributes$outboundSchema = objectType({
|
|
55995
56112
|
server: lazyType(() => FirewallAssignmentDataServer$outboundSchema).optional(),
|
|
56113
|
+
firewall: lazyType(() => FirewallAssignmentDataFirewall$outboundSchema).optional(),
|
|
55996
56114
|
firewallId: stringType().optional()
|
|
55997
56115
|
}).transform((v2) => {
|
|
55998
56116
|
return remap(v2, {
|
|
@@ -56911,91 +57029,6 @@ var init_membership = __esm(() => {
|
|
|
56911
57029
|
});
|
|
56912
57030
|
});
|
|
56913
57031
|
|
|
56914
|
-
// src/models/projectinclude.ts
|
|
56915
|
-
var ProjectIncludeBilling$inboundSchema, ProjectIncludeBilling$outboundSchema, ProjectIncludeStats$inboundSchema, ProjectIncludeStats$outboundSchema, ProjectInclude$inboundSchema, ProjectInclude$outboundSchema;
|
|
56916
|
-
var init_projectinclude = __esm(() => {
|
|
56917
|
-
init_v3();
|
|
56918
|
-
init_primitives();
|
|
56919
|
-
ProjectIncludeBilling$inboundSchema = objectType({
|
|
56920
|
-
subscription_id: nullableType(stringType()).optional(),
|
|
56921
|
-
type: stringType().optional(),
|
|
56922
|
-
method: stringType().optional()
|
|
56923
|
-
}).transform((v2) => {
|
|
56924
|
-
return remap(v2, {
|
|
56925
|
-
subscription_id: "subscriptionId"
|
|
56926
|
-
});
|
|
56927
|
-
});
|
|
56928
|
-
ProjectIncludeBilling$outboundSchema = objectType({
|
|
56929
|
-
subscriptionId: nullableType(stringType()).optional(),
|
|
56930
|
-
type: stringType().optional(),
|
|
56931
|
-
method: stringType().optional()
|
|
56932
|
-
}).transform((v2) => {
|
|
56933
|
-
return remap(v2, {
|
|
56934
|
-
subscriptionId: "subscription_id"
|
|
56935
|
-
});
|
|
56936
|
-
});
|
|
56937
|
-
ProjectIncludeStats$inboundSchema = objectType({
|
|
56938
|
-
ip_addresses: numberType().int().optional(),
|
|
56939
|
-
prefixes: numberType().int().optional(),
|
|
56940
|
-
servers: numberType().int().optional(),
|
|
56941
|
-
vlans: numberType().int().optional()
|
|
56942
|
-
}).transform((v2) => {
|
|
56943
|
-
return remap(v2, {
|
|
56944
|
-
ip_addresses: "ipAddresses"
|
|
56945
|
-
});
|
|
56946
|
-
});
|
|
56947
|
-
ProjectIncludeStats$outboundSchema = objectType({
|
|
56948
|
-
ipAddresses: numberType().int().optional(),
|
|
56949
|
-
prefixes: numberType().int().optional(),
|
|
56950
|
-
servers: numberType().int().optional(),
|
|
56951
|
-
vlans: numberType().int().optional()
|
|
56952
|
-
}).transform((v2) => {
|
|
56953
|
-
return remap(v2, {
|
|
56954
|
-
ipAddresses: "ip_addresses"
|
|
56955
|
-
});
|
|
56956
|
-
});
|
|
56957
|
-
ProjectInclude$inboundSchema = objectType({
|
|
56958
|
-
id: stringType().optional(),
|
|
56959
|
-
name: stringType().optional(),
|
|
56960
|
-
slug: stringType().optional(),
|
|
56961
|
-
description: nullableType(stringType()).optional(),
|
|
56962
|
-
billing_type: nullableType(stringType()).optional(),
|
|
56963
|
-
provisioning_type: nullableType(stringType()).optional(),
|
|
56964
|
-
billing_method: nullableType(stringType()).optional(),
|
|
56965
|
-
bandwidth_alert: booleanType().optional(),
|
|
56966
|
-
environment: nullableType(stringType()).optional(),
|
|
56967
|
-
billing: lazyType(() => ProjectIncludeBilling$inboundSchema).optional(),
|
|
56968
|
-
stats: lazyType(() => ProjectIncludeStats$inboundSchema).optional()
|
|
56969
|
-
}).transform((v2) => {
|
|
56970
|
-
return remap(v2, {
|
|
56971
|
-
billing_type: "billingType",
|
|
56972
|
-
provisioning_type: "provisioningType",
|
|
56973
|
-
billing_method: "billingMethod",
|
|
56974
|
-
bandwidth_alert: "bandwidthAlert"
|
|
56975
|
-
});
|
|
56976
|
-
});
|
|
56977
|
-
ProjectInclude$outboundSchema = objectType({
|
|
56978
|
-
id: stringType().optional(),
|
|
56979
|
-
name: stringType().optional(),
|
|
56980
|
-
slug: stringType().optional(),
|
|
56981
|
-
description: nullableType(stringType()).optional(),
|
|
56982
|
-
billingType: nullableType(stringType()).optional(),
|
|
56983
|
-
provisioningType: nullableType(stringType()).optional(),
|
|
56984
|
-
billingMethod: nullableType(stringType()).optional(),
|
|
56985
|
-
bandwidthAlert: booleanType().optional(),
|
|
56986
|
-
environment: nullableType(stringType()).optional(),
|
|
56987
|
-
billing: lazyType(() => ProjectIncludeBilling$outboundSchema).optional(),
|
|
56988
|
-
stats: lazyType(() => ProjectIncludeStats$outboundSchema).optional()
|
|
56989
|
-
}).transform((v2) => {
|
|
56990
|
-
return remap(v2, {
|
|
56991
|
-
billingType: "billing_type",
|
|
56992
|
-
provisioningType: "provisioning_type",
|
|
56993
|
-
billingMethod: "billing_method",
|
|
56994
|
-
bandwidthAlert: "bandwidth_alert"
|
|
56995
|
-
});
|
|
56996
|
-
});
|
|
56997
|
-
});
|
|
56998
|
-
|
|
56999
57032
|
// src/models/objectstoragedata.ts
|
|
57000
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;
|
|
57001
57034
|
var init_objectstoragedata = __esm(() => {
|
|
@@ -59615,7 +59648,8 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
59615
59648
|
project: stringType().default("my-project"),
|
|
59616
59649
|
operating_system: nullableType(stringType()).optional(),
|
|
59617
59650
|
user_data: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59618
|
-
tags: nullableType(arrayType(stringType())).optional()
|
|
59651
|
+
tags: nullableType(arrayType(stringType())).optional(),
|
|
59652
|
+
site: nullableType(stringType().default("DAL"))
|
|
59619
59653
|
}).transform((v2) => {
|
|
59620
59654
|
return remap(v2, {
|
|
59621
59655
|
ssh_keys: "sshKeys",
|
|
@@ -59630,7 +59664,8 @@ var init_virtualmachinepayload = __esm(() => {
|
|
|
59630
59664
|
project: stringType().default("my-project"),
|
|
59631
59665
|
operatingSystem: nullableType(stringType()).optional(),
|
|
59632
59666
|
userData: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59633
|
-
tags: nullableType(arrayType(stringType())).optional()
|
|
59667
|
+
tags: nullableType(arrayType(stringType())).optional(),
|
|
59668
|
+
site: nullableType(stringType().default("DAL"))
|
|
59634
59669
|
}).transform((v2) => {
|
|
59635
59670
|
return remap(v2, {
|
|
59636
59671
|
sshKeys: "ssh_keys",
|
|
@@ -60292,6 +60327,7 @@ var init_models = __esm(() => {
|
|
|
60292
60327
|
init_eventdata();
|
|
60293
60328
|
init_events();
|
|
60294
60329
|
init_filesystemdata();
|
|
60330
|
+
init_filesystems();
|
|
60295
60331
|
init_firewall();
|
|
60296
60332
|
init_firewallassignmentdata();
|
|
60297
60333
|
init_firewallassignments();
|
|
@@ -67857,7 +67893,7 @@ async function $do20(client, request, options) {
|
|
|
67857
67893
|
"filter[project]": payload?.["filter[project]"]
|
|
67858
67894
|
});
|
|
67859
67895
|
const headers = new Headers(compactMap({
|
|
67860
|
-
Accept: "
|
|
67896
|
+
Accept: "application/vnd.api+json"
|
|
67861
67897
|
}));
|
|
67862
67898
|
const secConfig = await extractSecurity(client._options.bearer);
|
|
67863
67899
|
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
@@ -67897,14 +67933,15 @@ async function $do20(client, request, options) {
|
|
|
67897
67933
|
return [doResult, { status: "request-error", request: req }];
|
|
67898
67934
|
}
|
|
67899
67935
|
const response = doResult.value;
|
|
67900
|
-
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);
|
|
67901
67939
|
if (!result.ok) {
|
|
67902
67940
|
return [result, { status: "complete", request: req, response }];
|
|
67903
67941
|
}
|
|
67904
67942
|
return [result, { status: "complete", request: req, response }];
|
|
67905
67943
|
}
|
|
67906
67944
|
var init_filesystemStorageListFilesystems = __esm(() => {
|
|
67907
|
-
init_v3();
|
|
67908
67945
|
init_encodings();
|
|
67909
67946
|
init_http();
|
|
67910
67947
|
init_matchers();
|
|
@@ -67912,6 +67949,7 @@ var init_filesystemStorageListFilesystems = __esm(() => {
|
|
|
67912
67949
|
init_schemas4();
|
|
67913
67950
|
init_security();
|
|
67914
67951
|
init_url();
|
|
67952
|
+
init_models();
|
|
67915
67953
|
init_operations();
|
|
67916
67954
|
init_async();
|
|
67917
67955
|
});
|
|
@@ -67939,7 +67977,8 @@ Lists all the filesystems from a team.`,
|
|
|
67939
67977
|
isError: true
|
|
67940
67978
|
};
|
|
67941
67979
|
}
|
|
67942
|
-
|
|
67980
|
+
const value = result.value;
|
|
67981
|
+
return formatResult(value, apiCall);
|
|
67943
67982
|
}
|
|
67944
67983
|
};
|
|
67945
67984
|
});
|
|
@@ -80579,7 +80618,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
80579
80618
|
function createMCPServer(deps) {
|
|
80580
80619
|
const server2 = new McpServer({
|
|
80581
80620
|
name: "Latitudesh",
|
|
80582
|
-
version: "0.6.
|
|
80621
|
+
version: "0.6.3"
|
|
80583
80622
|
});
|
|
80584
80623
|
const client = new LatitudeshCore({
|
|
80585
80624
|
bearer: deps.bearer,
|
|
@@ -82070,7 +82109,7 @@ var routes = ln({
|
|
|
82070
82109
|
var app = _e(routes, {
|
|
82071
82110
|
name: "mcp",
|
|
82072
82111
|
versionInfo: {
|
|
82073
|
-
currentVersion: "0.6.
|
|
82112
|
+
currentVersion: "0.6.3"
|
|
82074
82113
|
}
|
|
82075
82114
|
});
|
|
82076
82115
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -82078,5 +82117,5 @@ export {
|
|
|
82078
82117
|
app
|
|
82079
82118
|
};
|
|
82080
82119
|
|
|
82081
|
-
//# debugId=
|
|
82120
|
+
//# debugId=FF1C85F11C06E53C64756E2164756E21
|
|
82082
82121
|
//# sourceMappingURL=mcp-server.js.map
|