latitudesh-typescript-sdk 0.8.12 → 0.8.14
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 +38 -18
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/bandwidthpackages.d.ts +33 -7
- package/dist/commonjs/models/bandwidthpackages.d.ts.map +1 -1
- package/dist/commonjs/models/bandwidthpackages.js +39 -7
- package/dist/commonjs/models/bandwidthpackages.js.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.d.ts +4 -0
- package/dist/commonjs/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.js +4 -0
- package/dist/commonjs/models/bandwidthplandata.js.map +1 -1
- 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/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/bandwidthpackages.d.ts +33 -7
- package/dist/esm/models/bandwidthpackages.d.ts.map +1 -1
- package/dist/esm/models/bandwidthpackages.js +34 -6
- package/dist/esm/models/bandwidthpackages.js.map +1 -1
- package/dist/esm/models/bandwidthplandata.d.ts +4 -0
- package/dist/esm/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/esm/models/bandwidthplandata.js +4 -0
- package/dist/esm/models/bandwidthplandata.js.map +1 -1
- 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/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/bandwidthpackages.ts +101 -15
- package/src/models/bandwidthplandata.ts +8 -0
- package/src/models/operations/createserver.ts +9 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53149,9 +53149,9 @@ var init_config = __esm(() => {
|
|
|
53149
53149
|
SDK_METADATA = {
|
|
53150
53150
|
language: "typescript",
|
|
53151
53151
|
openapiDocVersion: "2023-06-01",
|
|
53152
|
-
sdkVersion: "0.8.
|
|
53152
|
+
sdkVersion: "0.8.14",
|
|
53153
53153
|
genVersion: "2.932.9",
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.14 2.932.9 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -54825,7 +54825,7 @@ var init_apikeys = __esm(() => {
|
|
|
54825
54825
|
});
|
|
54826
54826
|
|
|
54827
54827
|
// src/models/bandwidthpackages.ts
|
|
54828
|
-
var BandwidthPackagesType, BandwidthPackagesType$inboundSchema, BandwidthPackagesType$outboundSchema, BandwidthPackagesProject$inboundSchema, BandwidthPackagesProject$outboundSchema, Package$inboundSchema, Package$outboundSchema, BandwidthPackagesAttributes$inboundSchema, BandwidthPackagesAttributes$outboundSchema, BandwidthPackages$inboundSchema, BandwidthPackages$outboundSchema;
|
|
54828
|
+
var BandwidthPackagesType, BandwidthPackagesType$inboundSchema, BandwidthPackagesType$outboundSchema, BandwidthPackagesProject$inboundSchema, BandwidthPackagesProject$outboundSchema, Package$inboundSchema, Package$outboundSchema, BandwidthPackagesAttributes$inboundSchema, BandwidthPackagesAttributes$outboundSchema, BandwidthPackagesData$inboundSchema, BandwidthPackagesData$outboundSchema, BandwidthPackagesMeta$inboundSchema, BandwidthPackagesMeta$outboundSchema, BandwidthPackages$inboundSchema, BandwidthPackages$outboundSchema;
|
|
54829
54829
|
var init_bandwidthpackages = __esm(() => {
|
|
54830
54830
|
init_v3();
|
|
54831
54831
|
init_primitives();
|
|
@@ -54835,19 +54835,19 @@ var init_bandwidthpackages = __esm(() => {
|
|
|
54835
54835
|
BandwidthPackagesType$inboundSchema = nativeEnumType(BandwidthPackagesType);
|
|
54836
54836
|
BandwidthPackagesType$outboundSchema = BandwidthPackagesType$inboundSchema;
|
|
54837
54837
|
BandwidthPackagesProject$inboundSchema = objectType({
|
|
54838
|
-
id:
|
|
54838
|
+
id: stringType().optional(),
|
|
54839
54839
|
name: stringType().optional(),
|
|
54840
54840
|
slug: stringType().optional()
|
|
54841
54841
|
});
|
|
54842
54842
|
BandwidthPackagesProject$outboundSchema = objectType({
|
|
54843
|
-
id:
|
|
54843
|
+
id: stringType().optional(),
|
|
54844
54844
|
name: stringType().optional(),
|
|
54845
54845
|
slug: stringType().optional()
|
|
54846
54846
|
});
|
|
54847
54847
|
Package$inboundSchema = objectType({
|
|
54848
54848
|
region_slug: stringType().optional(),
|
|
54849
54849
|
currency: stringType().optional(),
|
|
54850
|
-
unit_price: numberType().optional(),
|
|
54850
|
+
unit_price: nullableType(numberType()).optional(),
|
|
54851
54851
|
contracted: numberType().int().optional(),
|
|
54852
54852
|
total_price: numberType().optional()
|
|
54853
54853
|
}).transform((v2) => {
|
|
@@ -54860,7 +54860,7 @@ var init_bandwidthpackages = __esm(() => {
|
|
|
54860
54860
|
Package$outboundSchema = objectType({
|
|
54861
54861
|
regionSlug: stringType().optional(),
|
|
54862
54862
|
currency: stringType().optional(),
|
|
54863
|
-
unitPrice: numberType().optional(),
|
|
54863
|
+
unitPrice: nullableType(numberType()).optional(),
|
|
54864
54864
|
contracted: numberType().int().optional(),
|
|
54865
54865
|
totalPrice: numberType().optional()
|
|
54866
54866
|
}).transform((v2) => {
|
|
@@ -54878,14 +54878,26 @@ var init_bandwidthpackages = __esm(() => {
|
|
|
54878
54878
|
project: lazyType(() => BandwidthPackagesProject$outboundSchema).optional(),
|
|
54879
54879
|
packages: arrayType(lazyType(() => Package$outboundSchema)).optional()
|
|
54880
54880
|
});
|
|
54881
|
-
|
|
54881
|
+
BandwidthPackagesData$inboundSchema = objectType({
|
|
54882
|
+
id: stringType().optional(),
|
|
54882
54883
|
type: BandwidthPackagesType$inboundSchema.optional(),
|
|
54883
54884
|
attributes: lazyType(() => BandwidthPackagesAttributes$inboundSchema).optional()
|
|
54884
54885
|
});
|
|
54885
|
-
|
|
54886
|
+
BandwidthPackagesData$outboundSchema = objectType({
|
|
54887
|
+
id: stringType().optional(),
|
|
54886
54888
|
type: BandwidthPackagesType$outboundSchema.optional(),
|
|
54887
54889
|
attributes: lazyType(() => BandwidthPackagesAttributes$outboundSchema).optional()
|
|
54888
54890
|
});
|
|
54891
|
+
BandwidthPackagesMeta$inboundSchema = objectType({});
|
|
54892
|
+
BandwidthPackagesMeta$outboundSchema = objectType({});
|
|
54893
|
+
BandwidthPackages$inboundSchema = objectType({
|
|
54894
|
+
data: lazyType(() => BandwidthPackagesData$inboundSchema).optional(),
|
|
54895
|
+
meta: lazyType(() => BandwidthPackagesMeta$inboundSchema).optional()
|
|
54896
|
+
});
|
|
54897
|
+
BandwidthPackages$outboundSchema = objectType({
|
|
54898
|
+
data: lazyType(() => BandwidthPackagesData$outboundSchema).optional(),
|
|
54899
|
+
meta: lazyType(() => BandwidthPackagesMeta$outboundSchema).optional()
|
|
54900
|
+
});
|
|
54889
54901
|
});
|
|
54890
54902
|
|
|
54891
54903
|
// src/models/bandwidthplandata.ts
|
|
@@ -54899,19 +54911,23 @@ var init_bandwidthplandata = __esm(() => {
|
|
|
54899
54911
|
BandwidthPlanDataType$outboundSchema = BandwidthPlanDataType$inboundSchema;
|
|
54900
54912
|
BandwidthPlanDataUsd$inboundSchema = objectType({
|
|
54901
54913
|
monthly: numberType().int().optional(),
|
|
54902
|
-
hourly: numberType().int().optional()
|
|
54914
|
+
hourly: numberType().int().optional(),
|
|
54915
|
+
yearly: nullableType(numberType().int()).optional()
|
|
54903
54916
|
});
|
|
54904
54917
|
BandwidthPlanDataUsd$outboundSchema = objectType({
|
|
54905
54918
|
monthly: numberType().int().optional(),
|
|
54906
|
-
hourly: numberType().int().optional()
|
|
54919
|
+
hourly: numberType().int().optional(),
|
|
54920
|
+
yearly: nullableType(numberType().int()).optional()
|
|
54907
54921
|
});
|
|
54908
54922
|
BandwidthPlanDataBrl$inboundSchema = objectType({
|
|
54909
54923
|
monthly: numberType().int().optional(),
|
|
54910
|
-
hourly: numberType().int().optional()
|
|
54924
|
+
hourly: numberType().int().optional(),
|
|
54925
|
+
yearly: nullableType(numberType().int()).optional()
|
|
54911
54926
|
});
|
|
54912
54927
|
BandwidthPlanDataBrl$outboundSchema = objectType({
|
|
54913
54928
|
monthly: numberType().int().optional(),
|
|
54914
|
-
hourly: numberType().int().optional()
|
|
54929
|
+
hourly: numberType().int().optional(),
|
|
54930
|
+
yearly: nullableType(numberType().int()).optional()
|
|
54915
54931
|
});
|
|
54916
54932
|
BandwidthPlanDataPricing$inboundSchema = objectType({
|
|
54917
54933
|
usd: lazyType(() => BandwidthPlanDataUsd$inboundSchema).optional(),
|
|
@@ -62578,6 +62594,7 @@ var init_createserver = __esm(() => {
|
|
|
62578
62594
|
disk_layout: nullableType(arrayType(lazyType(() => CreateServerDiskLayout2$inboundSchema))).optional(),
|
|
62579
62595
|
ipxe: nullableType(stringType()).optional(),
|
|
62580
62596
|
persistent_netboot: booleanType().optional(),
|
|
62597
|
+
bgp_ready: nullableType(booleanType()).optional(),
|
|
62581
62598
|
billing: nullableType(CreateServerBilling2$inboundSchema).optional()
|
|
62582
62599
|
}).transform((v2) => {
|
|
62583
62600
|
return remap(v2, {
|
|
@@ -62585,7 +62602,8 @@ var init_createserver = __esm(() => {
|
|
|
62585
62602
|
ssh_keys: "sshKeys",
|
|
62586
62603
|
user_data: "userData",
|
|
62587
62604
|
disk_layout: "diskLayout",
|
|
62588
|
-
persistent_netboot: "persistentNetboot"
|
|
62605
|
+
persistent_netboot: "persistentNetboot",
|
|
62606
|
+
bgp_ready: "bgpReady"
|
|
62589
62607
|
});
|
|
62590
62608
|
});
|
|
62591
62609
|
CreateServerAttributes2$outboundSchema = objectType({
|
|
@@ -62600,6 +62618,7 @@ var init_createserver = __esm(() => {
|
|
|
62600
62618
|
diskLayout: nullableType(arrayType(lazyType(() => CreateServerDiskLayout2$outboundSchema))).optional(),
|
|
62601
62619
|
ipxe: nullableType(stringType()).optional(),
|
|
62602
62620
|
persistentNetboot: booleanType().optional(),
|
|
62621
|
+
bgpReady: nullableType(booleanType()).optional(),
|
|
62603
62622
|
billing: nullableType(CreateServerBilling2$outboundSchema).optional()
|
|
62604
62623
|
}).transform((v2) => {
|
|
62605
62624
|
return remap(v2, {
|
|
@@ -62607,7 +62626,8 @@ var init_createserver = __esm(() => {
|
|
|
62607
62626
|
sshKeys: "ssh_keys",
|
|
62608
62627
|
userData: "user_data",
|
|
62609
62628
|
diskLayout: "disk_layout",
|
|
62610
|
-
persistentNetboot: "persistent_netboot"
|
|
62629
|
+
persistentNetboot: "persistent_netboot",
|
|
62630
|
+
bgpReady: "bgp_ready"
|
|
62611
62631
|
});
|
|
62612
62632
|
});
|
|
62613
62633
|
CreateServerData2$inboundSchema = objectType({
|
|
@@ -87765,7 +87785,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
87765
87785
|
function createMCPServer(deps) {
|
|
87766
87786
|
const server2 = new McpServer({
|
|
87767
87787
|
name: "Latitudesh",
|
|
87768
|
-
version: "0.8.
|
|
87788
|
+
version: "0.8.14"
|
|
87769
87789
|
});
|
|
87770
87790
|
const client = new LatitudeshCore({
|
|
87771
87791
|
bearer: deps.bearer,
|
|
@@ -89330,7 +89350,7 @@ var routes = ln({
|
|
|
89330
89350
|
var app = _e(routes, {
|
|
89331
89351
|
name: "mcp",
|
|
89332
89352
|
versionInfo: {
|
|
89333
|
-
currentVersion: "0.8.
|
|
89353
|
+
currentVersion: "0.8.14"
|
|
89334
89354
|
}
|
|
89335
89355
|
});
|
|
89336
89356
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -89338,5 +89358,5 @@ export {
|
|
|
89338
89358
|
app
|
|
89339
89359
|
};
|
|
89340
89360
|
|
|
89341
|
-
//# debugId=
|
|
89361
|
+
//# debugId=2D7F890309DD3A4264756E2164756E21
|
|
89342
89362
|
//# sourceMappingURL=mcp-server.js.map
|