latitudesh-typescript-sdk 0.3.0 → 0.3.2
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 +7 -7
- package/bin/mcp-server.js +220 -203
- package/bin/mcp-server.js.map +27 -25
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +3 -3
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsDeleteElasticIp.d.ts → commonjs/funcs/elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +3 -3
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsGetElasticIp.d.ts → commonjs/funcs/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +3 -3
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsListElasticIps.d.ts → commonjs/funcs/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsUpdateElasticIp.d.ts → commonjs/funcs/elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/{esm/funcs/elasticIPsUpdateElasticIp.d.ts.map → commonjs/funcs/elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +1 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -2
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +11 -11
- package/dist/commonjs/mcp-server/shared.js +1 -1
- package/dist/commonjs/mcp-server/shared.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +7 -7
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts → elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/{esm/mcp-server/tools/elasticIPsDeleteElasticIp.d.ts.map → commonjs/mcp-server/tools/elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{esm/mcp-server/tools/elasticIPsGetElasticIp.d.ts → commonjs/mcp-server/tools/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{esm/mcp-server/tools/elasticIPsListElasticIps.d.ts → commonjs/mcp-server/tools/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts → elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/commonjs/models/createkubernetescluster.d.ts +6 -6
- package/dist/commonjs/models/createkubernetescluster.d.ts.map +1 -1
- package/dist/commonjs/models/createkubernetescluster.js +6 -6
- package/dist/commonjs/models/createkubernetescluster.js.map +1 -1
- package/dist/commonjs/models/elasticipdata.d.ts +41 -11
- package/dist/commonjs/models/elasticipdata.d.ts.map +1 -1
- package/dist/commonjs/models/elasticipdata.js +25 -14
- package/dist/commonjs/models/elasticipdata.js.map +1 -1
- package/dist/commonjs/models/ipaddress.d.ts +8 -8
- package/dist/commonjs/models/ipaddress.d.ts.map +1 -1
- package/dist/commonjs/models/ipaddress.js +11 -11
- package/dist/commonjs/models/ipaddress.js.map +1 -1
- package/dist/commonjs/models/operations/listelasticips.d.ts +2 -1
- package/dist/commonjs/models/operations/listelasticips.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listelasticips.js +2 -1
- package/dist/commonjs/models/operations/listelasticips.js.map +1 -1
- package/dist/commonjs/sdk/elasticips.d.ts +2 -2
- package/dist/commonjs/sdk/elasticips.js +14 -14
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.js +2 -2
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +3 -3
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +3 -3
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsDeleteElasticIp.d.ts → esm/funcs/elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +2 -2
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsGetElasticIp.d.ts → esm/funcs/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +2 -2
- package/dist/esm/funcs/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsListElasticIps.d.ts → esm/funcs/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +3 -3
- package/dist/esm/funcs/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsUpdateElasticIp.d.ts → esm/funcs/elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/{commonjs/funcs/elasticIPsUpdateElasticIp.d.ts.map → esm/funcs/elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +3 -3
- package/dist/esm/funcs/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +1 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -2
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +11 -11
- package/dist/esm/mcp-server/shared.js +1 -1
- package/dist/esm/mcp-server/shared.js.map +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +6 -6
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts → elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/{commonjs/mcp-server/tools/elasticIPsUpdateElasticIp.d.ts.map → esm/mcp-server/tools/elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{commonjs/mcp-server/tools/elasticIPsGetElasticIp.d.ts → esm/mcp-server/tools/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{commonjs/mcp-server/tools/elasticIPsListElasticIps.d.ts → esm/mcp-server/tools/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts → elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts.map → elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/esm/models/createkubernetescluster.d.ts +6 -6
- package/dist/esm/models/createkubernetescluster.d.ts.map +1 -1
- package/dist/esm/models/createkubernetescluster.js +6 -6
- package/dist/esm/models/createkubernetescluster.js.map +1 -1
- package/dist/esm/models/elasticipdata.d.ts +41 -11
- package/dist/esm/models/elasticipdata.d.ts.map +1 -1
- package/dist/esm/models/elasticipdata.js +22 -11
- package/dist/esm/models/elasticipdata.js.map +1 -1
- package/dist/esm/models/ipaddress.d.ts +8 -8
- package/dist/esm/models/ipaddress.d.ts.map +1 -1
- package/dist/esm/models/ipaddress.js +8 -8
- package/dist/esm/models/ipaddress.js.map +1 -1
- package/dist/esm/models/operations/listelasticips.d.ts +2 -1
- package/dist/esm/models/operations/listelasticips.d.ts.map +1 -1
- package/dist/esm/models/operations/listelasticips.js +2 -1
- package/dist/esm/models/operations/listelasticips.js.map +1 -1
- package/dist/esm/sdk/elasticips.d.ts +2 -2
- package/dist/esm/sdk/elasticips.js +12 -12
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.js +3 -3
- package/jsr.json +1 -1
- package/package.json +4 -4
- package/src/funcs/{elasticIPsCreateElasticIp.ts → elasticIpsCreateElasticIp.ts} +2 -2
- package/src/funcs/{elasticIPsDeleteElasticIp.ts → elasticIpsDeleteElasticIp.ts} +1 -1
- package/src/funcs/{elasticIPsGetElasticIp.ts → elasticIpsGetElasticIp.ts} +1 -1
- package/src/funcs/{elasticIPsListElasticIps.ts → elasticIpsListElasticIps.ts} +2 -2
- package/src/funcs/{elasticIPsUpdateElasticIp.ts → elasticIpsUpdateElasticIp.ts} +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/cli/start/impl.ts +4 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -11
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/{elasticIPsCreateElasticIp.ts → elasticIpsCreateElasticIp.ts} +5 -5
- package/src/mcp-server/tools/{elasticIPsDeleteElasticIp.ts → elasticIpsDeleteElasticIp.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsGetElasticIp.ts → elasticIpsGetElasticIp.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsListElasticIps.ts → elasticIpsListElasticIps.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsUpdateElasticIp.ts → elasticIpsUpdateElasticIp.ts} +4 -4
- package/src/models/createkubernetescluster.ts +12 -12
- package/src/models/elasticipdata.ts +63 -23
- package/src/models/ipaddress.ts +21 -17
- package/src/models/operations/listelasticips.ts +2 -1
- package/src/sdk/elasticips.ts +12 -12
- package/src/sdk/sdk.ts +4 -4
package/bin/mcp-server.js
CHANGED
|
@@ -5,53 +5,30 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
function __accessProp(key) {
|
|
9
|
-
return this[key];
|
|
10
|
-
}
|
|
11
|
-
var __toESMCache_node;
|
|
12
|
-
var __toESMCache_esm;
|
|
13
8
|
var __toESM = (mod, isNodeMode, target) => {
|
|
14
|
-
var canCache = mod != null && typeof mod === "object";
|
|
15
|
-
if (canCache) {
|
|
16
|
-
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
17
|
-
var cached = cache.get(mod);
|
|
18
|
-
if (cached)
|
|
19
|
-
return cached;
|
|
20
|
-
}
|
|
21
9
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
22
10
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
23
11
|
for (let key of __getOwnPropNames(mod))
|
|
24
12
|
if (!__hasOwnProp.call(to, key))
|
|
25
13
|
__defProp(to, key, {
|
|
26
|
-
get:
|
|
14
|
+
get: () => mod[key],
|
|
27
15
|
enumerable: true
|
|
28
16
|
});
|
|
29
|
-
if (canCache)
|
|
30
|
-
cache.set(mod, to);
|
|
31
17
|
return to;
|
|
32
18
|
};
|
|
33
19
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
34
|
-
var __returnValue = (v) => v;
|
|
35
|
-
function __exportSetter(name, newValue) {
|
|
36
|
-
this[name] = __returnValue.bind(null, newValue);
|
|
37
|
-
}
|
|
38
20
|
var __export = (target, all) => {
|
|
39
21
|
for (var name in all)
|
|
40
22
|
__defProp(target, name, {
|
|
41
23
|
get: all[name],
|
|
42
24
|
enumerable: true,
|
|
43
25
|
configurable: true,
|
|
44
|
-
set:
|
|
26
|
+
set: (newValue) => all[name] = () => newValue
|
|
45
27
|
});
|
|
46
28
|
};
|
|
47
29
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
48
30
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
49
31
|
|
|
50
|
-
// src/mcp-server/cli.ts
|
|
51
|
-
function buildContext(process2) {
|
|
52
|
-
return { process: process2 };
|
|
53
|
-
}
|
|
54
|
-
|
|
55
32
|
// node_modules/zod/v3/helpers/util.js
|
|
56
33
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
57
34
|
const t = typeof data;
|
|
@@ -7779,20 +7756,20 @@ var init_json_schema = () => {};
|
|
|
7779
7756
|
|
|
7780
7757
|
// node_modules/zod/v4/core/index.js
|
|
7781
7758
|
var init_core2 = __esm(() => {
|
|
7782
|
-
init_util2();
|
|
7783
|
-
init_regexes();
|
|
7784
|
-
init_locales();
|
|
7785
|
-
init_json_schema();
|
|
7786
7759
|
init_core();
|
|
7787
7760
|
init_parse();
|
|
7788
7761
|
init_errors2();
|
|
7789
7762
|
init_schemas();
|
|
7790
7763
|
init_checks();
|
|
7791
7764
|
init_versions();
|
|
7765
|
+
init_util2();
|
|
7766
|
+
init_regexes();
|
|
7767
|
+
init_locales();
|
|
7792
7768
|
init_registries();
|
|
7793
7769
|
init_function();
|
|
7794
7770
|
init_api();
|
|
7795
7771
|
init_to_json_schema();
|
|
7772
|
+
init_json_schema();
|
|
7796
7773
|
});
|
|
7797
7774
|
|
|
7798
7775
|
// node_modules/zod/v4/classic/checks.js
|
|
@@ -8513,16 +8490,16 @@ var init_coerce = () => {};
|
|
|
8513
8490
|
// node_modules/zod/v4/classic/external.js
|
|
8514
8491
|
var init_external2 = __esm(() => {
|
|
8515
8492
|
init_core2();
|
|
8516
|
-
init_core2();
|
|
8517
|
-
init_en2();
|
|
8518
|
-
init_locales();
|
|
8519
|
-
init_iso();
|
|
8520
|
-
init_coerce();
|
|
8521
8493
|
init_schemas2();
|
|
8522
8494
|
init_checks2();
|
|
8523
8495
|
init_errors3();
|
|
8524
8496
|
init_parse2();
|
|
8525
8497
|
init_compat();
|
|
8498
|
+
init_core2();
|
|
8499
|
+
init_en2();
|
|
8500
|
+
init_locales();
|
|
8501
|
+
init_iso();
|
|
8502
|
+
init_coerce();
|
|
8526
8503
|
config(en_default2());
|
|
8527
8504
|
});
|
|
8528
8505
|
|
|
@@ -27586,6 +27563,17 @@ var require_db = __commonJS((exports, module) => {
|
|
|
27586
27563
|
};
|
|
27587
27564
|
});
|
|
27588
27565
|
|
|
27566
|
+
// node_modules/mime-db/index.js
|
|
27567
|
+
var require_mime_db = __commonJS((exports, module) => {
|
|
27568
|
+
/*!
|
|
27569
|
+
* mime-db
|
|
27570
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
27571
|
+
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
27572
|
+
* MIT Licensed
|
|
27573
|
+
*/
|
|
27574
|
+
module.exports = require_db();
|
|
27575
|
+
});
|
|
27576
|
+
|
|
27589
27577
|
// node_modules/mime-types/index.js
|
|
27590
27578
|
var require_mime_types = __commonJS((exports) => {
|
|
27591
27579
|
/*!
|
|
@@ -27594,7 +27582,7 @@ var require_mime_types = __commonJS((exports) => {
|
|
|
27594
27582
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
27595
27583
|
* MIT Licensed
|
|
27596
27584
|
*/
|
|
27597
|
-
var db =
|
|
27585
|
+
var db = require_mime_db();
|
|
27598
27586
|
var extname = __require("path").extname;
|
|
27599
27587
|
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
|
|
27600
27588
|
var TEXT_TYPE_REGEXP = /^text\//i;
|
|
@@ -28736,7 +28724,7 @@ var require_round = __commonJS((exports, module) => {
|
|
|
28736
28724
|
|
|
28737
28725
|
// node_modules/math-intrinsics/isNaN.js
|
|
28738
28726
|
var require_isNaN = __commonJS((exports, module) => {
|
|
28739
|
-
module.exports = Number.isNaN || function
|
|
28727
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
28740
28728
|
return a !== a;
|
|
28741
28729
|
};
|
|
28742
28730
|
});
|
|
@@ -28870,7 +28858,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
28870
28858
|
var toStr = Object.prototype.toString;
|
|
28871
28859
|
var max = Math.max;
|
|
28872
28860
|
var funcType = "[object Function]";
|
|
28873
|
-
var concatty = function
|
|
28861
|
+
var concatty = function concatty(a, b) {
|
|
28874
28862
|
var arr = [];
|
|
28875
28863
|
for (var i = 0;i < a.length; i += 1) {
|
|
28876
28864
|
arr[i] = a[i];
|
|
@@ -28880,7 +28868,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
28880
28868
|
}
|
|
28881
28869
|
return arr;
|
|
28882
28870
|
};
|
|
28883
|
-
var slicy = function
|
|
28871
|
+
var slicy = function slicy(arrLike, offset) {
|
|
28884
28872
|
var arr = [];
|
|
28885
28873
|
for (var i = offset || 0, j2 = 0;i < arrLike.length; i += 1, j2 += 1) {
|
|
28886
28874
|
arr[j2] = arrLike[i];
|
|
@@ -28921,7 +28909,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
28921
28909
|
}
|
|
28922
28910
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
28923
28911
|
if (target.prototype) {
|
|
28924
|
-
var Empty = function
|
|
28912
|
+
var Empty = function Empty() {};
|
|
28925
28913
|
Empty.prototype = target.prototype;
|
|
28926
28914
|
bound.prototype = new Empty;
|
|
28927
28915
|
Empty.prototype = null;
|
|
@@ -29160,7 +29148,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29160
29148
|
}
|
|
29161
29149
|
}
|
|
29162
29150
|
var errorProto;
|
|
29163
|
-
var doEval = function
|
|
29151
|
+
var doEval = function doEval(name) {
|
|
29164
29152
|
var value;
|
|
29165
29153
|
if (name === "%AsyncFunction%") {
|
|
29166
29154
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -29169,12 +29157,12 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29169
29157
|
} else if (name === "%AsyncGeneratorFunction%") {
|
|
29170
29158
|
value = getEvalledConstructor("async function* () {}");
|
|
29171
29159
|
} else if (name === "%AsyncGenerator%") {
|
|
29172
|
-
var fn =
|
|
29160
|
+
var fn = doEval("%AsyncGeneratorFunction%");
|
|
29173
29161
|
if (fn) {
|
|
29174
29162
|
value = fn.prototype;
|
|
29175
29163
|
}
|
|
29176
29164
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
29177
|
-
var gen =
|
|
29165
|
+
var gen = doEval("%AsyncGenerator%");
|
|
29178
29166
|
if (gen && getProto) {
|
|
29179
29167
|
value = getProto(gen.prototype);
|
|
29180
29168
|
}
|
|
@@ -29245,7 +29233,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29245
29233
|
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
29246
29234
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
29247
29235
|
var reEscapeChar = /\\(\\)?/g;
|
|
29248
|
-
var stringToPath = function
|
|
29236
|
+
var stringToPath = function stringToPath(string3) {
|
|
29249
29237
|
var first = $strSlice(string3, 0, 1);
|
|
29250
29238
|
var last = $strSlice(string3, -1);
|
|
29251
29239
|
if (first === "%" && last !== "%") {
|
|
@@ -29259,7 +29247,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29259
29247
|
});
|
|
29260
29248
|
return result;
|
|
29261
29249
|
};
|
|
29262
|
-
var getBaseIntrinsic = function
|
|
29250
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
29263
29251
|
var intrinsicName = name;
|
|
29264
29252
|
var alias;
|
|
29265
29253
|
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -29549,7 +29537,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29549
29537
|
}
|
|
29550
29538
|
return array2;
|
|
29551
29539
|
}();
|
|
29552
|
-
var compactQueue = function
|
|
29540
|
+
var compactQueue = function compactQueue(queue) {
|
|
29553
29541
|
while (queue.length > 1) {
|
|
29554
29542
|
var item = queue.pop();
|
|
29555
29543
|
var obj = item.obj[item.prop];
|
|
@@ -29564,7 +29552,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29564
29552
|
}
|
|
29565
29553
|
}
|
|
29566
29554
|
};
|
|
29567
|
-
var arrayToObject = function
|
|
29555
|
+
var arrayToObject = function arrayToObject(source, options) {
|
|
29568
29556
|
var obj = options && options.plainObjects ? Object.create(null) : {};
|
|
29569
29557
|
for (var i = 0;i < source.length; ++i) {
|
|
29570
29558
|
if (typeof source[i] !== "undefined") {
|
|
@@ -29573,7 +29561,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29573
29561
|
}
|
|
29574
29562
|
return obj;
|
|
29575
29563
|
};
|
|
29576
|
-
var merge2 = function
|
|
29564
|
+
var merge2 = function merge(target, source, options) {
|
|
29577
29565
|
if (!source) {
|
|
29578
29566
|
return target;
|
|
29579
29567
|
}
|
|
@@ -29601,7 +29589,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29601
29589
|
if (has.call(target, i)) {
|
|
29602
29590
|
var targetItem = target[i];
|
|
29603
29591
|
if (targetItem && typeof targetItem === "object" && item && typeof item === "object") {
|
|
29604
|
-
target[i] =
|
|
29592
|
+
target[i] = merge(targetItem, item, options);
|
|
29605
29593
|
} else {
|
|
29606
29594
|
target.push(item);
|
|
29607
29595
|
}
|
|
@@ -29614,7 +29602,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29614
29602
|
return Object.keys(source).reduce(function(acc, key) {
|
|
29615
29603
|
var value = source[key];
|
|
29616
29604
|
if (has.call(acc, key)) {
|
|
29617
|
-
acc[key] =
|
|
29605
|
+
acc[key] = merge(acc[key], value, options);
|
|
29618
29606
|
} else {
|
|
29619
29607
|
acc[key] = value;
|
|
29620
29608
|
}
|
|
@@ -29639,7 +29627,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29639
29627
|
}
|
|
29640
29628
|
};
|
|
29641
29629
|
var limit = 1024;
|
|
29642
|
-
var encode = function
|
|
29630
|
+
var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
|
29643
29631
|
if (str.length === 0) {
|
|
29644
29632
|
return str;
|
|
29645
29633
|
}
|
|
@@ -29684,7 +29672,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29684
29672
|
}
|
|
29685
29673
|
return out;
|
|
29686
29674
|
};
|
|
29687
|
-
var compact = function
|
|
29675
|
+
var compact = function compact(value) {
|
|
29688
29676
|
var queue = [{ obj: { o: value }, prop: "o" }];
|
|
29689
29677
|
var refs = [];
|
|
29690
29678
|
for (var i = 0;i < queue.length; ++i) {
|
|
@@ -29703,19 +29691,19 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
29703
29691
|
compactQueue(queue);
|
|
29704
29692
|
return value;
|
|
29705
29693
|
};
|
|
29706
|
-
var isRegExp = function
|
|
29694
|
+
var isRegExp = function isRegExp(obj) {
|
|
29707
29695
|
return Object.prototype.toString.call(obj) === "[object RegExp]";
|
|
29708
29696
|
};
|
|
29709
|
-
var isBuffer = function
|
|
29697
|
+
var isBuffer = function isBuffer(obj) {
|
|
29710
29698
|
if (!obj || typeof obj !== "object") {
|
|
29711
29699
|
return false;
|
|
29712
29700
|
}
|
|
29713
29701
|
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
|
29714
29702
|
};
|
|
29715
|
-
var combine = function
|
|
29703
|
+
var combine = function combine(a, b) {
|
|
29716
29704
|
return [].concat(a, b);
|
|
29717
29705
|
};
|
|
29718
|
-
var maybeMap = function
|
|
29706
|
+
var maybeMap = function maybeMap(val, fn) {
|
|
29719
29707
|
if (isArray(val)) {
|
|
29720
29708
|
var mapped = [];
|
|
29721
29709
|
for (var i = 0;i < val.length; i += 1) {
|
|
@@ -29785,11 +29773,11 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
29785
29773
|
skipNulls: false,
|
|
29786
29774
|
strictNullHandling: false
|
|
29787
29775
|
};
|
|
29788
|
-
var isNonNullishPrimitive = function
|
|
29776
|
+
var isNonNullishPrimitive = function isNonNullishPrimitive(v2) {
|
|
29789
29777
|
return typeof v2 === "string" || typeof v2 === "number" || typeof v2 === "boolean" || typeof v2 === "symbol" || typeof v2 === "bigint";
|
|
29790
29778
|
};
|
|
29791
29779
|
var sentinel = {};
|
|
29792
|
-
var stringify = function
|
|
29780
|
+
var stringify = function stringify(object2, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
29793
29781
|
var obj = object2;
|
|
29794
29782
|
var tmpSc = sideChannel;
|
|
29795
29783
|
var step = 0;
|
|
@@ -29865,11 +29853,11 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
29865
29853
|
sideChannel.set(object2, step);
|
|
29866
29854
|
var valueSideChannel = getSideChannel();
|
|
29867
29855
|
valueSideChannel.set(sentinel, sideChannel);
|
|
29868
|
-
pushToArray(values,
|
|
29856
|
+
pushToArray(values, stringify(value, keyPrefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, generateArrayPrefix === "comma" && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, valueSideChannel));
|
|
29869
29857
|
}
|
|
29870
29858
|
return values;
|
|
29871
29859
|
};
|
|
29872
|
-
var normalizeStringifyOptions = function
|
|
29860
|
+
var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
29873
29861
|
if (!opts) {
|
|
29874
29862
|
return defaults;
|
|
29875
29863
|
}
|
|
@@ -30132,7 +30120,7 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
30132
30120
|
}
|
|
30133
30121
|
return parseObject(keys, val, options, valuesParsed);
|
|
30134
30122
|
};
|
|
30135
|
-
var normalizeParseOptions = function
|
|
30123
|
+
var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
30136
30124
|
if (!opts) {
|
|
30137
30125
|
return defaults;
|
|
30138
30126
|
}
|
|
@@ -30428,7 +30416,7 @@ var require_body_parser = __commonJS((exports, module) => {
|
|
|
30428
30416
|
});
|
|
30429
30417
|
var _urlencoded = exports.urlencoded(opts);
|
|
30430
30418
|
var _json = exports.json(opts);
|
|
30431
|
-
return function
|
|
30419
|
+
return function bodyParser(req, res, next) {
|
|
30432
30420
|
_json(req, res, function(err) {
|
|
30433
30421
|
if (err)
|
|
30434
30422
|
return next(err);
|
|
@@ -31823,7 +31811,7 @@ var require_layer = __commonJS((exports, module) => {
|
|
|
31823
31811
|
}
|
|
31824
31812
|
};
|
|
31825
31813
|
Layer.prototype.match = function match(path) {
|
|
31826
|
-
var
|
|
31814
|
+
var match;
|
|
31827
31815
|
if (path != null) {
|
|
31828
31816
|
if (this.regexp.fast_slash) {
|
|
31829
31817
|
this.params = {};
|
|
@@ -31835,21 +31823,21 @@ var require_layer = __commonJS((exports, module) => {
|
|
|
31835
31823
|
this.path = path;
|
|
31836
31824
|
return true;
|
|
31837
31825
|
}
|
|
31838
|
-
|
|
31826
|
+
match = this.regexp.exec(path);
|
|
31839
31827
|
}
|
|
31840
|
-
if (!
|
|
31828
|
+
if (!match) {
|
|
31841
31829
|
this.params = undefined;
|
|
31842
31830
|
this.path = undefined;
|
|
31843
31831
|
return false;
|
|
31844
31832
|
}
|
|
31845
31833
|
this.params = {};
|
|
31846
|
-
this.path =
|
|
31834
|
+
this.path = match[0];
|
|
31847
31835
|
var keys = this.keys;
|
|
31848
31836
|
var params = this.params;
|
|
31849
|
-
for (var i = 1;i <
|
|
31837
|
+
for (var i = 1;i < match.length; i++) {
|
|
31850
31838
|
var key = keys[i - 1];
|
|
31851
31839
|
var prop = key.name;
|
|
31852
|
-
var val = decode_param(
|
|
31840
|
+
var val = decode_param(match[i]);
|
|
31853
31841
|
if (val !== undefined || !hasOwnProperty.call(params, prop)) {
|
|
31854
31842
|
params[prop] = val;
|
|
31855
31843
|
}
|
|
@@ -32323,15 +32311,15 @@ var require_router = __commonJS((exports, module) => {
|
|
|
32323
32311
|
return this;
|
|
32324
32312
|
};
|
|
32325
32313
|
proto.route = function route(path) {
|
|
32326
|
-
var
|
|
32314
|
+
var route = new Route(path);
|
|
32327
32315
|
var layer = new Layer(path, {
|
|
32328
32316
|
sensitive: this.caseSensitive,
|
|
32329
32317
|
strict: this.strict,
|
|
32330
32318
|
end: true
|
|
32331
|
-
},
|
|
32332
|
-
layer.route =
|
|
32319
|
+
}, route.dispatch.bind(route));
|
|
32320
|
+
layer.route = route;
|
|
32333
32321
|
this.stack.push(layer);
|
|
32334
|
-
return
|
|
32322
|
+
return route;
|
|
32335
32323
|
};
|
|
32336
32324
|
methods.concat("all").forEach(function(method) {
|
|
32337
32325
|
proto[method] = function(path) {
|
|
@@ -32484,7 +32472,7 @@ var require_query = __commonJS((exports, module) => {
|
|
|
32484
32472
|
if (opts !== undefined && opts.allowPrototypes === undefined) {
|
|
32485
32473
|
opts.allowPrototypes = true;
|
|
32486
32474
|
}
|
|
32487
|
-
return function
|
|
32475
|
+
return function query(req, res, next) {
|
|
32488
32476
|
if (!req.query) {
|
|
32489
32477
|
var val = parseUrl(req).query;
|
|
32490
32478
|
req.query = queryparse(val, opts);
|
|
@@ -32555,7 +32543,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
32555
32543
|
debug('render "%s"', this.path);
|
|
32556
32544
|
this.engine(this.path, options, callback);
|
|
32557
32545
|
};
|
|
32558
|
-
View.prototype.resolve = function
|
|
32546
|
+
View.prototype.resolve = function resolve(dir, file) {
|
|
32559
32547
|
var ext = this.ext;
|
|
32560
32548
|
var path2 = join(dir, file);
|
|
32561
32549
|
var stat = tryStat(path2);
|
|
@@ -33674,7 +33662,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33674
33662
|
}
|
|
33675
33663
|
}
|
|
33676
33664
|
util3.inherits(SendStream, Stream);
|
|
33677
|
-
SendStream.prototype.etag = deprecate.function(function
|
|
33665
|
+
SendStream.prototype.etag = deprecate.function(function etag(val) {
|
|
33678
33666
|
this._etag = Boolean(val);
|
|
33679
33667
|
debug("etag %s", this._etag);
|
|
33680
33668
|
return this;
|
|
@@ -33686,9 +33674,9 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33686
33674
|
return this;
|
|
33687
33675
|
}, "send.hidden: use dotfiles option");
|
|
33688
33676
|
SendStream.prototype.index = deprecate.function(function index(paths) {
|
|
33689
|
-
var
|
|
33677
|
+
var index = !paths ? [] : normalizeList(paths, "paths argument");
|
|
33690
33678
|
debug("index %o", paths);
|
|
33691
|
-
this._index =
|
|
33679
|
+
this._index = index;
|
|
33692
33680
|
return this;
|
|
33693
33681
|
}, "send.index: pass index as option");
|
|
33694
33682
|
SendStream.prototype.root = function root(path2) {
|
|
@@ -33704,7 +33692,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33704
33692
|
debug("max-age %d", this._maxage);
|
|
33705
33693
|
return this;
|
|
33706
33694
|
}, "send.maxage: pass maxAge as option");
|
|
33707
|
-
SendStream.prototype.error = function
|
|
33695
|
+
SendStream.prototype.error = function error(status, err) {
|
|
33708
33696
|
if (hasListeners(this, "error")) {
|
|
33709
33697
|
return this.emit("error", createHttpError(status, err));
|
|
33710
33698
|
}
|
|
@@ -33819,7 +33807,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33819
33807
|
res.setHeader("Location", loc);
|
|
33820
33808
|
res.end(doc2);
|
|
33821
33809
|
};
|
|
33822
|
-
SendStream.prototype.pipe = function
|
|
33810
|
+
SendStream.prototype.pipe = function pipe(res) {
|
|
33823
33811
|
var root = this._root;
|
|
33824
33812
|
this.res = res;
|
|
33825
33813
|
var path2 = decode(this.path);
|
|
@@ -33877,7 +33865,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33877
33865
|
this.sendFile(path2);
|
|
33878
33866
|
return res;
|
|
33879
33867
|
};
|
|
33880
|
-
SendStream.prototype.send = function
|
|
33868
|
+
SendStream.prototype.send = function send(path2, stat) {
|
|
33881
33869
|
var len = stat.size;
|
|
33882
33870
|
var options = this.options;
|
|
33883
33871
|
var opts = {};
|
|
@@ -33999,18 +33987,18 @@ var require_send = __commonJS((exports, module) => {
|
|
|
33999
33987
|
SendStream.prototype.stream = function stream(path2, options) {
|
|
34000
33988
|
var self = this;
|
|
34001
33989
|
var res = this.res;
|
|
34002
|
-
var
|
|
34003
|
-
this.emit("stream",
|
|
34004
|
-
|
|
33990
|
+
var stream = fs.createReadStream(path2, options);
|
|
33991
|
+
this.emit("stream", stream);
|
|
33992
|
+
stream.pipe(res);
|
|
34005
33993
|
function cleanup() {
|
|
34006
|
-
destroy(
|
|
33994
|
+
destroy(stream, true);
|
|
34007
33995
|
}
|
|
34008
33996
|
onFinished(res, cleanup);
|
|
34009
|
-
|
|
33997
|
+
stream.on("error", function onerror(err) {
|
|
34010
33998
|
cleanup();
|
|
34011
33999
|
self.onStatError(err);
|
|
34012
34000
|
});
|
|
34013
|
-
|
|
34001
|
+
stream.on("end", function onend() {
|
|
34014
34002
|
self.emit("end");
|
|
34015
34003
|
});
|
|
34016
34004
|
};
|
|
@@ -34018,14 +34006,14 @@ var require_send = __commonJS((exports, module) => {
|
|
|
34018
34006
|
var res = this.res;
|
|
34019
34007
|
if (res.getHeader("Content-Type"))
|
|
34020
34008
|
return;
|
|
34021
|
-
var
|
|
34022
|
-
if (!
|
|
34009
|
+
var type = mime.lookup(path2);
|
|
34010
|
+
if (!type) {
|
|
34023
34011
|
debug("no content-type");
|
|
34024
34012
|
return;
|
|
34025
34013
|
}
|
|
34026
|
-
var charset = mime.charsets.lookup(
|
|
34027
|
-
debug("content-type %s",
|
|
34028
|
-
res.setHeader("Content-Type",
|
|
34014
|
+
var charset = mime.charsets.lookup(type);
|
|
34015
|
+
debug("content-type %s", type);
|
|
34016
|
+
res.setHeader("Content-Type", type + (charset ? "; charset=" + charset : ""));
|
|
34029
34017
|
};
|
|
34030
34018
|
SendStream.prototype.setHeader = function setHeader(path2, stat) {
|
|
34031
34019
|
var res = this.res;
|
|
@@ -36053,10 +36041,10 @@ var require_request = __commonJS((exports, module) => {
|
|
|
36053
36041
|
};
|
|
36054
36042
|
req.acceptsLanguage = deprecate.function(req.acceptsLanguages, "req.acceptsLanguage: Use acceptsLanguages instead");
|
|
36055
36043
|
req.range = function range(size, options) {
|
|
36056
|
-
var
|
|
36057
|
-
if (!
|
|
36044
|
+
var range = this.get("Range");
|
|
36045
|
+
if (!range)
|
|
36058
36046
|
return;
|
|
36059
|
-
return parseRange(size,
|
|
36047
|
+
return parseRange(size, range, options);
|
|
36060
36048
|
};
|
|
36061
36049
|
req.param = function param(name, defaultValue) {
|
|
36062
36050
|
var params = this.params || {};
|
|
@@ -36110,13 +36098,13 @@ var require_request = __commonJS((exports, module) => {
|
|
|
36110
36098
|
if (!hostname2)
|
|
36111
36099
|
return [];
|
|
36112
36100
|
var offset = this.app.get("subdomain offset");
|
|
36113
|
-
var
|
|
36114
|
-
return
|
|
36101
|
+
var subdomains = !isIP(hostname2) ? hostname2.split(".").reverse() : [hostname2];
|
|
36102
|
+
return subdomains.slice(offset);
|
|
36115
36103
|
});
|
|
36116
36104
|
defineGetter(req, "path", function path() {
|
|
36117
36105
|
return parse5(this).pathname;
|
|
36118
36106
|
});
|
|
36119
|
-
defineGetter(req, "hostname", function
|
|
36107
|
+
defineGetter(req, "hostname", function hostname() {
|
|
36120
36108
|
var trust = this.app.get("trust proxy fn");
|
|
36121
36109
|
var host = this.get("X-Forwarded-Host");
|
|
36122
36110
|
if (!host || !trust(this.connection.remoteAddress, 0)) {
|
|
@@ -36482,7 +36470,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
36482
36470
|
return "<" + links[rel] + '>; rel="' + rel + '"';
|
|
36483
36471
|
}).join(", "));
|
|
36484
36472
|
};
|
|
36485
|
-
res.send = function
|
|
36473
|
+
res.send = function send(body) {
|
|
36486
36474
|
var chunk = body;
|
|
36487
36475
|
var encoding;
|
|
36488
36476
|
var req = this.req;
|
|
@@ -36726,7 +36714,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
36726
36714
|
var fullPath = !opts.root ? resolve(path2) : path2;
|
|
36727
36715
|
return this.sendFile(fullPath, opts, done);
|
|
36728
36716
|
};
|
|
36729
|
-
res.contentType = res.type = function
|
|
36717
|
+
res.contentType = res.type = function contentType(type) {
|
|
36730
36718
|
var ct = type.indexOf("/") === -1 ? mime.lookup(type) : type;
|
|
36731
36719
|
return this.set("Content-Type", ct);
|
|
36732
36720
|
};
|
|
@@ -37024,7 +37012,7 @@ var require_serve_static = __commonJS((exports, module) => {
|
|
|
37024
37012
|
opts.maxage = opts.maxage || opts.maxAge || 0;
|
|
37025
37013
|
opts.root = resolve(root);
|
|
37026
37014
|
var onDirectory = redirect ? createRedirectDirectoryListener() : createNotFoundDirectoryListener();
|
|
37027
|
-
return function
|
|
37015
|
+
return function serveStatic(req, res, next) {
|
|
37028
37016
|
if (req.method !== "GET" && req.method !== "HEAD") {
|
|
37029
37017
|
if (fallthrough) {
|
|
37030
37018
|
return next();
|
|
@@ -37051,7 +37039,7 @@ var require_serve_static = __commonJS((exports, module) => {
|
|
|
37051
37039
|
forwardError = true;
|
|
37052
37040
|
});
|
|
37053
37041
|
}
|
|
37054
|
-
stream.on("error", function
|
|
37042
|
+
stream.on("error", function error(err) {
|
|
37055
37043
|
if (forwardError || !(err.statusCode < 500)) {
|
|
37056
37044
|
next(err);
|
|
37057
37045
|
return;
|
|
@@ -37182,6 +37170,18 @@ var require_express = __commonJS((exports, module) => {
|
|
|
37182
37170
|
});
|
|
37183
37171
|
});
|
|
37184
37172
|
|
|
37173
|
+
// node_modules/express/index.js
|
|
37174
|
+
var require_express2 = __commonJS((exports, module) => {
|
|
37175
|
+
/*!
|
|
37176
|
+
* express
|
|
37177
|
+
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
37178
|
+
* Copyright(c) 2013 Roman Shtylman
|
|
37179
|
+
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
37180
|
+
* MIT Licensed
|
|
37181
|
+
*/
|
|
37182
|
+
module.exports = require_express();
|
|
37183
|
+
});
|
|
37184
|
+
|
|
37185
37185
|
// node_modules/zod/v4/mini/parse.js
|
|
37186
37186
|
var init_parse3 = __esm(() => {
|
|
37187
37187
|
init_core2();
|
|
@@ -37248,13 +37248,13 @@ var init_coerce2 = () => {};
|
|
|
37248
37248
|
// node_modules/zod/v4/mini/external.js
|
|
37249
37249
|
var init_external3 = __esm(() => {
|
|
37250
37250
|
init_core2();
|
|
37251
|
+
init_parse3();
|
|
37252
|
+
init_schemas3();
|
|
37253
|
+
init_checks3();
|
|
37251
37254
|
init_core2();
|
|
37252
37255
|
init_locales();
|
|
37253
37256
|
init_iso2();
|
|
37254
37257
|
init_coerce2();
|
|
37255
|
-
init_parse3();
|
|
37256
|
-
init_schemas3();
|
|
37257
|
-
init_checks3();
|
|
37258
37258
|
});
|
|
37259
37259
|
|
|
37260
37260
|
// node_modules/zod/v4/mini/index.js
|
|
@@ -38785,7 +38785,6 @@ var init_zodToJsonSchema = __esm(() => {
|
|
|
38785
38785
|
|
|
38786
38786
|
// node_modules/zod-to-json-schema/dist/esm/index.js
|
|
38787
38787
|
var init_esm = __esm(() => {
|
|
38788
|
-
init_zodToJsonSchema();
|
|
38789
38788
|
init_Options();
|
|
38790
38789
|
init_Refs();
|
|
38791
38790
|
init_parseDef();
|
|
@@ -38817,6 +38816,7 @@ var init_esm = __esm(() => {
|
|
|
38817
38816
|
init_unknown();
|
|
38818
38817
|
init_selectParser();
|
|
38819
38818
|
init_zodToJsonSchema();
|
|
38819
|
+
init_zodToJsonSchema();
|
|
38820
38820
|
});
|
|
38821
38821
|
|
|
38822
38822
|
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
@@ -45955,7 +45955,7 @@ var require_formats2 = __commonJS((exports) => {
|
|
|
45955
45955
|
}
|
|
45956
45956
|
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
45957
45957
|
function getTime(strictTimeZone) {
|
|
45958
|
-
return function
|
|
45958
|
+
return function time(str) {
|
|
45959
45959
|
const matches = TIME.exec(str);
|
|
45960
45960
|
if (!matches)
|
|
45961
45961
|
return false;
|
|
@@ -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.3.
|
|
53153
|
-
genVersion: "2.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.3.
|
|
53152
|
+
sdkVersion: "0.3.2",
|
|
53153
|
+
genVersion: "2.856.1",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.3.2 2.856.1 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -54004,7 +54004,7 @@ async function consumeStream(stream) {
|
|
|
54004
54004
|
while (true) {
|
|
54005
54005
|
const { done, value } = await reader.read();
|
|
54006
54006
|
if (value != null)
|
|
54007
|
-
chunks.push(value);
|
|
54007
|
+
chunks.push(new Uint8Array(value).buffer);
|
|
54008
54008
|
if (done)
|
|
54009
54009
|
break;
|
|
54010
54010
|
}
|
|
@@ -54579,7 +54579,7 @@ function resolveSecurity(...options) {
|
|
|
54579
54579
|
applyBearer(state, spec);
|
|
54580
54580
|
break;
|
|
54581
54581
|
default:
|
|
54582
|
-
throw SecurityError.unrecognizedType(type);
|
|
54582
|
+
throw SecurityError.unrecognizedType((spec, type));
|
|
54583
54583
|
}
|
|
54584
54584
|
});
|
|
54585
54585
|
return state;
|
|
@@ -55116,11 +55116,11 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55116
55116
|
CreateKubernetesClusterType$inboundSchema = nativeEnumType(CreateKubernetesClusterType);
|
|
55117
55117
|
CreateKubernetesClusterType$outboundSchema = CreateKubernetesClusterType$inboundSchema;
|
|
55118
55118
|
CreateKubernetesClusterAttributes$inboundSchema = objectType({
|
|
55119
|
-
name: stringType(),
|
|
55119
|
+
name: nullableType(stringType()).optional(),
|
|
55120
55120
|
project_id: stringType(),
|
|
55121
55121
|
site: stringType(),
|
|
55122
55122
|
plan: stringType(),
|
|
55123
|
-
|
|
55123
|
+
ssh_keys: nullableType(arrayType(stringType())).optional(),
|
|
55124
55124
|
worker_plan: nullableType(stringType()).optional(),
|
|
55125
55125
|
kubernetes_version: nullableType(stringType()).optional(),
|
|
55126
55126
|
control_plane_count: nullableType(numberType().int()).optional(),
|
|
@@ -55129,7 +55129,7 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55129
55129
|
}).transform((v2) => {
|
|
55130
55130
|
return remap(v2, {
|
|
55131
55131
|
project_id: "projectId",
|
|
55132
|
-
|
|
55132
|
+
ssh_keys: "sshKeys",
|
|
55133
55133
|
worker_plan: "workerPlan",
|
|
55134
55134
|
kubernetes_version: "kubernetesVersion",
|
|
55135
55135
|
control_plane_count: "controlPlaneCount",
|
|
@@ -55138,11 +55138,11 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55138
55138
|
});
|
|
55139
55139
|
});
|
|
55140
55140
|
CreateKubernetesClusterAttributes$outboundSchema = objectType({
|
|
55141
|
-
name: stringType(),
|
|
55141
|
+
name: nullableType(stringType()).optional(),
|
|
55142
55142
|
projectId: stringType(),
|
|
55143
55143
|
site: stringType(),
|
|
55144
55144
|
plan: stringType(),
|
|
55145
|
-
|
|
55145
|
+
sshKeys: nullableType(arrayType(stringType())).optional(),
|
|
55146
55146
|
workerPlan: nullableType(stringType()).optional(),
|
|
55147
55147
|
kubernetesVersion: nullableType(stringType()).optional(),
|
|
55148
55148
|
controlPlaneCount: nullableType(numberType().int()).optional(),
|
|
@@ -55151,7 +55151,7 @@ var init_createkubernetescluster = __esm(() => {
|
|
|
55151
55151
|
}).transform((v2) => {
|
|
55152
55152
|
return remap(v2, {
|
|
55153
55153
|
projectId: "project_id",
|
|
55154
|
-
|
|
55154
|
+
sshKeys: "ssh_keys",
|
|
55155
55155
|
workerPlan: "worker_plan",
|
|
55156
55156
|
kubernetesVersion: "kubernetes_version",
|
|
55157
55157
|
controlPlaneCount: "control_plane_count",
|
|
@@ -55352,7 +55352,7 @@ var init_deployconfig = __esm(() => {
|
|
|
55352
55352
|
});
|
|
55353
55353
|
|
|
55354
55354
|
// src/models/elasticipdata.ts
|
|
55355
|
-
var ElasticIpDataType, ElasticIpDataFamily, Mode, ElasticIpDataStatus, ElasticIpDataType$inboundSchema, ElasticIpDataType$outboundSchema, ElasticIpDataFamily$inboundSchema, ElasticIpDataFamily$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, ElasticIpDataStatus$inboundSchema, ElasticIpDataStatus$outboundSchema, ElasticIpDataServer$inboundSchema, ElasticIpDataServer$outboundSchema, ElasticIpDataProject$inboundSchema, ElasticIpDataProject$outboundSchema,
|
|
55355
|
+
var ElasticIpDataType, ElasticIpDataFamily, Mode, ElasticIpDataStatus, ElasticIpDataType$inboundSchema, ElasticIpDataType$outboundSchema, ElasticIpDataFamily$inboundSchema, ElasticIpDataFamily$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, ElasticIpDataStatus$inboundSchema, ElasticIpDataStatus$outboundSchema, ElasticIpDataServer$inboundSchema, ElasticIpDataServer$outboundSchema, ElasticIpDataProject$inboundSchema, ElasticIpDataProject$outboundSchema, ElasticIpDataLocation$inboundSchema, ElasticIpDataLocation$outboundSchema, ElasticIpDataRegion$inboundSchema, ElasticIpDataRegion$outboundSchema, ElasticIpDataAttributes$inboundSchema, ElasticIpDataAttributes$outboundSchema, ElasticIpData$inboundSchema, ElasticIpData$outboundSchema;
|
|
55356
55356
|
var init_elasticipdata = __esm(() => {
|
|
55357
55357
|
init_v3();
|
|
55358
55358
|
init_primitives();
|
|
@@ -55366,8 +55366,9 @@ var init_elasticipdata = __esm(() => {
|
|
|
55366
55366
|
Routed: "routed"
|
|
55367
55367
|
};
|
|
55368
55368
|
ElasticIpDataStatus = {
|
|
55369
|
-
|
|
55369
|
+
Configuring: "configuring",
|
|
55370
55370
|
Active: "active",
|
|
55371
|
+
Moving: "moving",
|
|
55371
55372
|
Releasing: "releasing",
|
|
55372
55373
|
Error: "error"
|
|
55373
55374
|
};
|
|
@@ -55382,19 +55383,23 @@ var init_elasticipdata = __esm(() => {
|
|
|
55382
55383
|
ElasticIpDataServer$inboundSchema = objectType({
|
|
55383
55384
|
id: stringType().optional(),
|
|
55384
55385
|
hostname: stringType().optional(),
|
|
55385
|
-
primary_ipv4: stringType().optional()
|
|
55386
|
+
primary_ipv4: stringType().optional(),
|
|
55387
|
+
operating_system: nullableType(stringType()).optional()
|
|
55386
55388
|
}).transform((v2) => {
|
|
55387
55389
|
return remap(v2, {
|
|
55388
|
-
primary_ipv4: "primaryIpv4"
|
|
55390
|
+
primary_ipv4: "primaryIpv4",
|
|
55391
|
+
operating_system: "operatingSystem"
|
|
55389
55392
|
});
|
|
55390
55393
|
});
|
|
55391
55394
|
ElasticIpDataServer$outboundSchema = objectType({
|
|
55392
55395
|
id: stringType().optional(),
|
|
55393
55396
|
hostname: stringType().optional(),
|
|
55394
|
-
primaryIpv4: stringType().optional()
|
|
55397
|
+
primaryIpv4: stringType().optional(),
|
|
55398
|
+
operatingSystem: nullableType(stringType()).optional()
|
|
55395
55399
|
}).transform((v2) => {
|
|
55396
55400
|
return remap(v2, {
|
|
55397
|
-
primaryIpv4: "primary_ipv4"
|
|
55401
|
+
primaryIpv4: "primary_ipv4",
|
|
55402
|
+
operatingSystem: "operating_system"
|
|
55398
55403
|
});
|
|
55399
55404
|
});
|
|
55400
55405
|
ElasticIpDataProject$inboundSchema = objectType({
|
|
@@ -55407,19 +55412,25 @@ var init_elasticipdata = __esm(() => {
|
|
|
55407
55412
|
name: stringType().optional(),
|
|
55408
55413
|
slug: stringType().optional()
|
|
55409
55414
|
});
|
|
55410
|
-
|
|
55415
|
+
ElasticIpDataLocation$inboundSchema = objectType({
|
|
55416
|
+
id: stringType().optional(),
|
|
55417
|
+
name: stringType().optional(),
|
|
55411
55418
|
slug: stringType().optional()
|
|
55412
55419
|
});
|
|
55413
|
-
|
|
55420
|
+
ElasticIpDataLocation$outboundSchema = objectType({
|
|
55421
|
+
id: stringType().optional(),
|
|
55422
|
+
name: stringType().optional(),
|
|
55414
55423
|
slug: stringType().optional()
|
|
55415
55424
|
});
|
|
55416
55425
|
ElasticIpDataRegion$inboundSchema = objectType({
|
|
55417
|
-
|
|
55418
|
-
|
|
55426
|
+
id: stringType().optional(),
|
|
55427
|
+
name: stringType().optional(),
|
|
55428
|
+
location: lazyType(() => ElasticIpDataLocation$inboundSchema).optional()
|
|
55419
55429
|
});
|
|
55420
55430
|
ElasticIpDataRegion$outboundSchema = objectType({
|
|
55421
|
-
|
|
55422
|
-
|
|
55431
|
+
id: stringType().optional(),
|
|
55432
|
+
name: stringType().optional(),
|
|
55433
|
+
location: lazyType(() => ElasticIpDataLocation$outboundSchema).optional()
|
|
55423
55434
|
});
|
|
55424
55435
|
ElasticIpDataAttributes$inboundSchema = objectType({
|
|
55425
55436
|
address: stringType().optional(),
|
|
@@ -55889,7 +55900,7 @@ var init_firewallserver = __esm(() => {
|
|
|
55889
55900
|
});
|
|
55890
55901
|
|
|
55891
55902
|
// src/models/ipaddress.ts
|
|
55892
|
-
var IpAddressFamily, IpAddressType, IpAddressFamily$inboundSchema, IpAddressFamily$outboundSchema, IpAddressType$inboundSchema, IpAddressType$outboundSchema, IpAddressProject$inboundSchema, IpAddressProject$outboundSchema,
|
|
55903
|
+
var IpAddressFamily, IpAddressType, IpAddressFamily$inboundSchema, IpAddressFamily$outboundSchema, IpAddressType$inboundSchema, IpAddressType$outboundSchema, IpAddressProject$inboundSchema, IpAddressProject$outboundSchema, IpAddressLocation$inboundSchema, IpAddressLocation$outboundSchema, IpAddressRegion$inboundSchema, IpAddressRegion$outboundSchema, Assignment$inboundSchema, Assignment$outboundSchema, IpAddressAttributes$inboundSchema, IpAddressAttributes$outboundSchema, IpAddress$inboundSchema, IpAddress$outboundSchema;
|
|
55893
55904
|
var init_ipaddress = __esm(() => {
|
|
55894
55905
|
init_v3();
|
|
55895
55906
|
init_primitives();
|
|
@@ -55913,12 +55924,12 @@ var init_ipaddress = __esm(() => {
|
|
|
55913
55924
|
id: stringType().optional(),
|
|
55914
55925
|
name: stringType().optional()
|
|
55915
55926
|
});
|
|
55916
|
-
|
|
55927
|
+
IpAddressLocation$inboundSchema = objectType({
|
|
55917
55928
|
id: stringType().optional(),
|
|
55918
55929
|
name: stringType().optional(),
|
|
55919
55930
|
slug: stringType().optional()
|
|
55920
55931
|
});
|
|
55921
|
-
|
|
55932
|
+
IpAddressLocation$outboundSchema = objectType({
|
|
55922
55933
|
id: stringType().optional(),
|
|
55923
55934
|
name: stringType().optional(),
|
|
55924
55935
|
slug: stringType().optional()
|
|
@@ -55926,12 +55937,12 @@ var init_ipaddress = __esm(() => {
|
|
|
55926
55937
|
IpAddressRegion$inboundSchema = objectType({
|
|
55927
55938
|
id: stringType().optional(),
|
|
55928
55939
|
name: stringType().optional(),
|
|
55929
|
-
location: lazyType(() =>
|
|
55940
|
+
location: lazyType(() => IpAddressLocation$inboundSchema).optional()
|
|
55930
55941
|
});
|
|
55931
55942
|
IpAddressRegion$outboundSchema = objectType({
|
|
55932
55943
|
id: stringType().optional(),
|
|
55933
55944
|
name: stringType().optional(),
|
|
55934
|
-
location: lazyType(() =>
|
|
55945
|
+
location: lazyType(() => IpAddressLocation$outboundSchema).optional()
|
|
55935
55946
|
});
|
|
55936
55947
|
Assignment$inboundSchema = objectType({
|
|
55937
55948
|
server_id: stringType().optional(),
|
|
@@ -62154,8 +62165,9 @@ var init_listelasticips = __esm(() => {
|
|
|
62154
62165
|
init_primitives();
|
|
62155
62166
|
init_models();
|
|
62156
62167
|
FilterStatus = {
|
|
62157
|
-
|
|
62168
|
+
Configuring: "configuring",
|
|
62158
62169
|
Active: "active",
|
|
62170
|
+
Moving: "moving",
|
|
62159
62171
|
Releasing: "releasing",
|
|
62160
62172
|
Error: "error"
|
|
62161
62173
|
};
|
|
@@ -64865,8 +64877,8 @@ var init_errors4 = __esm(() => {
|
|
|
64865
64877
|
init_sdkvalidationerror();
|
|
64866
64878
|
});
|
|
64867
64879
|
|
|
64868
|
-
// src/funcs/
|
|
64869
|
-
function
|
|
64880
|
+
// src/funcs/elasticIpsCreateElasticIp.ts
|
|
64881
|
+
function elasticIpsCreateElasticIp(client, request, options) {
|
|
64870
64882
|
return new APIPromise($do7(client, request, options));
|
|
64871
64883
|
}
|
|
64872
64884
|
async function $do7(client, request, options) {
|
|
@@ -64931,7 +64943,7 @@ async function $do7(client, request, options) {
|
|
|
64931
64943
|
}
|
|
64932
64944
|
return [result, { status: "complete", request: req, response }];
|
|
64933
64945
|
}
|
|
64934
|
-
var
|
|
64946
|
+
var init_elasticIpsCreateElasticIp = __esm(() => {
|
|
64935
64947
|
init_encodings();
|
|
64936
64948
|
init_matchers();
|
|
64937
64949
|
init_primitives();
|
|
@@ -64943,26 +64955,26 @@ var init_elasticIPsCreateElasticIp = __esm(() => {
|
|
|
64943
64955
|
init_async();
|
|
64944
64956
|
});
|
|
64945
64957
|
|
|
64946
|
-
// src/mcp-server/tools/
|
|
64947
|
-
var args6, tool$
|
|
64948
|
-
var
|
|
64949
|
-
|
|
64958
|
+
// src/mcp-server/tools/elasticIpsCreateElasticIp.ts
|
|
64959
|
+
var args6, tool$elasticIpsCreateElasticIp;
|
|
64960
|
+
var init_elasticIpsCreateElasticIp2 = __esm(() => {
|
|
64961
|
+
init_elasticIpsCreateElasticIp();
|
|
64950
64962
|
init_models();
|
|
64951
64963
|
init_tools();
|
|
64952
64964
|
args6 = {
|
|
64953
64965
|
request: CreateElasticIp$inboundSchema
|
|
64954
64966
|
};
|
|
64955
|
-
tool$
|
|
64956
|
-
name: "elastic-
|
|
64967
|
+
tool$elasticIpsCreateElasticIp = {
|
|
64968
|
+
name: "elastic-ips-create-elastic-ip",
|
|
64957
64969
|
description: `Create an Elastic IP
|
|
64958
64970
|
|
|
64959
|
-
Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status \`
|
|
64971
|
+
Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status \`configuring\` and the \`id\` will be \`null\` until provisioning completes.
|
|
64960
64972
|
|
|
64961
64973
|
**Note:** This feature requires the \`elastic_ips\` feature flag to be enabled for your team. Currently only IPv4 /32 addresses in routed mode are supported.
|
|
64962
64974
|
`,
|
|
64963
64975
|
args: args6,
|
|
64964
64976
|
tool: async (client, args7, ctx) => {
|
|
64965
|
-
const [result, apiCall] = await
|
|
64977
|
+
const [result, apiCall] = await elasticIpsCreateElasticIp(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64966
64978
|
if (!result.ok) {
|
|
64967
64979
|
return {
|
|
64968
64980
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64975,8 +64987,8 @@ Creates a new Elastic IP and assigns it to the specified server. The IP is provi
|
|
|
64975
64987
|
};
|
|
64976
64988
|
});
|
|
64977
64989
|
|
|
64978
|
-
// src/funcs/
|
|
64979
|
-
function
|
|
64990
|
+
// src/funcs/elasticIpsDeleteElasticIp.ts
|
|
64991
|
+
function elasticIpsDeleteElasticIp(client, request, options) {
|
|
64980
64992
|
return new APIPromise($do8(client, request, options));
|
|
64981
64993
|
}
|
|
64982
64994
|
async function $do8(client, request, options) {
|
|
@@ -65044,7 +65056,7 @@ async function $do8(client, request, options) {
|
|
|
65044
65056
|
}
|
|
65045
65057
|
return [result, { status: "complete", request: req, response }];
|
|
65046
65058
|
}
|
|
65047
|
-
var
|
|
65059
|
+
var init_elasticIpsDeleteElasticIp = __esm(() => {
|
|
65048
65060
|
init_v3();
|
|
65049
65061
|
init_encodings();
|
|
65050
65062
|
init_matchers();
|
|
@@ -65057,17 +65069,17 @@ var init_elasticIPsDeleteElasticIp = __esm(() => {
|
|
|
65057
65069
|
init_async();
|
|
65058
65070
|
});
|
|
65059
65071
|
|
|
65060
|
-
// src/mcp-server/tools/
|
|
65061
|
-
var args7, tool$
|
|
65062
|
-
var
|
|
65063
|
-
|
|
65072
|
+
// src/mcp-server/tools/elasticIpsDeleteElasticIp.ts
|
|
65073
|
+
var args7, tool$elasticIpsDeleteElasticIp;
|
|
65074
|
+
var init_elasticIpsDeleteElasticIp2 = __esm(() => {
|
|
65075
|
+
init_elasticIpsDeleteElasticIp();
|
|
65064
65076
|
init_operations();
|
|
65065
65077
|
init_tools();
|
|
65066
65078
|
args7 = {
|
|
65067
65079
|
request: DeleteElasticIpRequest$inboundSchema
|
|
65068
65080
|
};
|
|
65069
|
-
tool$
|
|
65070
|
-
name: "elastic-
|
|
65081
|
+
tool$elasticIpsDeleteElasticIp = {
|
|
65082
|
+
name: "elastic-ips-delete-elastic-ip",
|
|
65071
65083
|
description: `Release an Elastic IP
|
|
65072
65084
|
|
|
65073
65085
|
Releases an Elastic IP, returning it to the available pool. The IP will transition to \`releasing\` status before being fully removed.
|
|
@@ -65076,7 +65088,7 @@ Releases an Elastic IP, returning it to the available pool. The IP will transiti
|
|
|
65076
65088
|
`,
|
|
65077
65089
|
args: args7,
|
|
65078
65090
|
tool: async (client, args8, ctx) => {
|
|
65079
|
-
const [result, apiCall] = await
|
|
65091
|
+
const [result, apiCall] = await elasticIpsDeleteElasticIp(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65080
65092
|
if (!result.ok) {
|
|
65081
65093
|
return {
|
|
65082
65094
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65088,8 +65100,8 @@ Releases an Elastic IP, returning it to the available pool. The IP will transiti
|
|
|
65088
65100
|
};
|
|
65089
65101
|
});
|
|
65090
65102
|
|
|
65091
|
-
// src/funcs/
|
|
65092
|
-
function
|
|
65103
|
+
// src/funcs/elasticIpsGetElasticIp.ts
|
|
65104
|
+
function elasticIpsGetElasticIp(client, request, options) {
|
|
65093
65105
|
return new APIPromise($do9(client, request, options));
|
|
65094
65106
|
}
|
|
65095
65107
|
async function $do9(client, request, options) {
|
|
@@ -65159,7 +65171,7 @@ async function $do9(client, request, options) {
|
|
|
65159
65171
|
}
|
|
65160
65172
|
return [result, { status: "complete", request: req, response }];
|
|
65161
65173
|
}
|
|
65162
|
-
var
|
|
65174
|
+
var init_elasticIpsGetElasticIp = __esm(() => {
|
|
65163
65175
|
init_encodings();
|
|
65164
65176
|
init_matchers();
|
|
65165
65177
|
init_primitives();
|
|
@@ -65172,17 +65184,17 @@ var init_elasticIPsGetElasticIp = __esm(() => {
|
|
|
65172
65184
|
init_async();
|
|
65173
65185
|
});
|
|
65174
65186
|
|
|
65175
|
-
// src/mcp-server/tools/
|
|
65176
|
-
var args8, tool$
|
|
65177
|
-
var
|
|
65178
|
-
|
|
65187
|
+
// src/mcp-server/tools/elasticIpsGetElasticIp.ts
|
|
65188
|
+
var args8, tool$elasticIpsGetElasticIp;
|
|
65189
|
+
var init_elasticIpsGetElasticIp2 = __esm(() => {
|
|
65190
|
+
init_elasticIpsGetElasticIp();
|
|
65179
65191
|
init_operations();
|
|
65180
65192
|
init_tools();
|
|
65181
65193
|
args8 = {
|
|
65182
65194
|
request: GetElasticIpRequest$inboundSchema
|
|
65183
65195
|
};
|
|
65184
|
-
tool$
|
|
65185
|
-
name: "elastic-
|
|
65196
|
+
tool$elasticIpsGetElasticIp = {
|
|
65197
|
+
name: "elastic-ips-get-elastic-ip",
|
|
65186
65198
|
description: `Retrieve an Elastic IP
|
|
65187
65199
|
|
|
65188
65200
|
Returns a single Elastic IP by its ID.
|
|
@@ -65191,7 +65203,7 @@ Returns a single Elastic IP by its ID.
|
|
|
65191
65203
|
`,
|
|
65192
65204
|
args: args8,
|
|
65193
65205
|
tool: async (client, args9, ctx) => {
|
|
65194
|
-
const [result, apiCall] = await
|
|
65206
|
+
const [result, apiCall] = await elasticIpsGetElasticIp(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65195
65207
|
if (!result.ok) {
|
|
65196
65208
|
return {
|
|
65197
65209
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65236,8 +65248,8 @@ var init_operations2 = __esm(() => {
|
|
|
65236
65248
|
URL_OVERRIDE = Symbol("URL_OVERRIDE");
|
|
65237
65249
|
});
|
|
65238
65250
|
|
|
65239
|
-
// src/funcs/
|
|
65240
|
-
function
|
|
65251
|
+
// src/funcs/elasticIpsListElasticIps.ts
|
|
65252
|
+
function elasticIpsListElasticIps(client, request, options) {
|
|
65241
65253
|
return new APIPromise($do10(client, request, options));
|
|
65242
65254
|
}
|
|
65243
65255
|
async function $do10(client, request, options) {
|
|
@@ -65324,7 +65336,7 @@ async function $do10(client, request, options) {
|
|
|
65324
65336
|
if (results.length < limit) {
|
|
65325
65337
|
return { next: () => null };
|
|
65326
65338
|
}
|
|
65327
|
-
const nextVal = () =>
|
|
65339
|
+
const nextVal = () => elasticIpsListElasticIps(client, {
|
|
65328
65340
|
...request,
|
|
65329
65341
|
pageNumber: nextPage
|
|
65330
65342
|
}, options);
|
|
@@ -65337,7 +65349,7 @@ async function $do10(client, request, options) {
|
|
|
65337
65349
|
response
|
|
65338
65350
|
}];
|
|
65339
65351
|
}
|
|
65340
|
-
var
|
|
65352
|
+
var init_elasticIpsListElasticIps = __esm(() => {
|
|
65341
65353
|
init_encodings();
|
|
65342
65354
|
init_matchers();
|
|
65343
65355
|
init_primitives();
|
|
@@ -65349,17 +65361,17 @@ var init_elasticIPsListElasticIps = __esm(() => {
|
|
|
65349
65361
|
init_operations2();
|
|
65350
65362
|
});
|
|
65351
65363
|
|
|
65352
|
-
// src/mcp-server/tools/
|
|
65353
|
-
var args9, tool$
|
|
65354
|
-
var
|
|
65355
|
-
|
|
65364
|
+
// src/mcp-server/tools/elasticIpsListElasticIps.ts
|
|
65365
|
+
var args9, tool$elasticIpsListElasticIps;
|
|
65366
|
+
var init_elasticIpsListElasticIps2 = __esm(() => {
|
|
65367
|
+
init_elasticIpsListElasticIps();
|
|
65356
65368
|
init_operations();
|
|
65357
65369
|
init_tools();
|
|
65358
65370
|
args9 = {
|
|
65359
65371
|
request: ListElasticIpsRequest$inboundSchema.optional()
|
|
65360
65372
|
};
|
|
65361
|
-
tool$
|
|
65362
|
-
name: "elastic-
|
|
65373
|
+
tool$elasticIpsListElasticIps = {
|
|
65374
|
+
name: "elastic-ips-list-elastic-ips",
|
|
65363
65375
|
description: `List Elastic IPs
|
|
65364
65376
|
|
|
65365
65377
|
List all Elastic IPs for the authenticated team. Elastic IPs are static public IP addresses that can be assigned to servers and moved between servers within the same project.
|
|
@@ -65368,7 +65380,7 @@ List all Elastic IPs for the authenticated team. Elastic IPs are static public I
|
|
|
65368
65380
|
`,
|
|
65369
65381
|
args: args9,
|
|
65370
65382
|
tool: async (client, args10, ctx) => {
|
|
65371
|
-
const [result, apiCall] = await
|
|
65383
|
+
const [result, apiCall] = await elasticIpsListElasticIps(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65372
65384
|
if (!result.ok) {
|
|
65373
65385
|
return {
|
|
65374
65386
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65381,8 +65393,8 @@ List all Elastic IPs for the authenticated team. Elastic IPs are static public I
|
|
|
65381
65393
|
};
|
|
65382
65394
|
});
|
|
65383
65395
|
|
|
65384
|
-
// src/funcs/
|
|
65385
|
-
function
|
|
65396
|
+
// src/funcs/elasticIpsUpdateElasticIp.ts
|
|
65397
|
+
function elasticIpsUpdateElasticIp(client, request, options) {
|
|
65386
65398
|
return new APIPromise($do11(client, request, options));
|
|
65387
65399
|
}
|
|
65388
65400
|
async function $do11(client, request, options) {
|
|
@@ -65443,7 +65455,7 @@ async function $do11(client, request, options) {
|
|
|
65443
65455
|
const responseFields = {
|
|
65444
65456
|
HttpMeta: { Response: response, Request: req }
|
|
65445
65457
|
};
|
|
65446
|
-
const [result] = await match(json(
|
|
65458
|
+
const [result] = await match(json(202, ElasticIp$inboundSchema, {
|
|
65447
65459
|
ctype: "application/vnd.api+json"
|
|
65448
65460
|
}), jsonErr([403, 404, 422], ErrorObject$inboundSchema, {
|
|
65449
65461
|
ctype: "application/vnd.api+json"
|
|
@@ -65453,7 +65465,7 @@ async function $do11(client, request, options) {
|
|
|
65453
65465
|
}
|
|
65454
65466
|
return [result, { status: "complete", request: req, response }];
|
|
65455
65467
|
}
|
|
65456
|
-
var
|
|
65468
|
+
var init_elasticIpsUpdateElasticIp = __esm(() => {
|
|
65457
65469
|
init_encodings();
|
|
65458
65470
|
init_matchers();
|
|
65459
65471
|
init_primitives();
|
|
@@ -65466,17 +65478,17 @@ var init_elasticIPsUpdateElasticIp = __esm(() => {
|
|
|
65466
65478
|
init_async();
|
|
65467
65479
|
});
|
|
65468
65480
|
|
|
65469
|
-
// src/mcp-server/tools/
|
|
65470
|
-
var args10, tool$
|
|
65471
|
-
var
|
|
65472
|
-
|
|
65481
|
+
// src/mcp-server/tools/elasticIpsUpdateElasticIp.ts
|
|
65482
|
+
var args10, tool$elasticIpsUpdateElasticIp;
|
|
65483
|
+
var init_elasticIpsUpdateElasticIp2 = __esm(() => {
|
|
65484
|
+
init_elasticIpsUpdateElasticIp();
|
|
65473
65485
|
init_operations();
|
|
65474
65486
|
init_tools();
|
|
65475
65487
|
args10 = {
|
|
65476
65488
|
request: UpdateElasticIpRequest$inboundSchema
|
|
65477
65489
|
};
|
|
65478
|
-
tool$
|
|
65479
|
-
name: "elastic-
|
|
65490
|
+
tool$elasticIpsUpdateElasticIp = {
|
|
65491
|
+
name: "elastic-ips-update-elastic-ip",
|
|
65480
65492
|
description: `Move an Elastic IP
|
|
65481
65493
|
|
|
65482
65494
|
Moves an Elastic IP to a different server within the same project. The reassignment is performed asynchronously.
|
|
@@ -65485,7 +65497,7 @@ Moves an Elastic IP to a different server within the same project. The reassignm
|
|
|
65485
65497
|
`,
|
|
65486
65498
|
args: args10,
|
|
65487
65499
|
tool: async (client, args11, ctx) => {
|
|
65488
|
-
const [result, apiCall] = await
|
|
65500
|
+
const [result, apiCall] = await elasticIpsUpdateElasticIp(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65489
65501
|
if (!result.ok) {
|
|
65490
65502
|
return {
|
|
65491
65503
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77828,7 +77840,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
77828
77840
|
function createMCPServer(deps) {
|
|
77829
77841
|
const server2 = new McpServer({
|
|
77830
77842
|
name: "Latitudesh",
|
|
77831
|
-
version: "0.3.
|
|
77843
|
+
version: "0.3.2"
|
|
77832
77844
|
});
|
|
77833
77845
|
const client = new LatitudeshCore({
|
|
77834
77846
|
bearer: deps.bearer,
|
|
@@ -77858,11 +77870,11 @@ function createMCPServer(deps) {
|
|
|
77858
77870
|
tool(tool$firewallsDelete);
|
|
77859
77871
|
tool(tool$firewallsListAssignments);
|
|
77860
77872
|
tool(tool$firewallsDeleteAssignment);
|
|
77861
|
-
tool(tool$
|
|
77862
|
-
tool(tool$
|
|
77863
|
-
tool(tool$
|
|
77864
|
-
tool(tool$
|
|
77865
|
-
tool(tool$
|
|
77873
|
+
tool(tool$elasticIpsListElasticIps);
|
|
77874
|
+
tool(tool$elasticIpsCreateElasticIp);
|
|
77875
|
+
tool(tool$elasticIpsGetElasticIp);
|
|
77876
|
+
tool(tool$elasticIpsDeleteElasticIp);
|
|
77877
|
+
tool(tool$elasticIpsUpdateElasticIp);
|
|
77866
77878
|
tool(tool$ipAddressesList);
|
|
77867
77879
|
tool(tool$ipAddressesGet);
|
|
77868
77880
|
tool(tool$teamsGet);
|
|
@@ -77979,11 +77991,11 @@ var init_server4 = __esm(() => {
|
|
|
77979
77991
|
init_apiKeysUpdate2();
|
|
77980
77992
|
init_apiKeysUpdateApiKey2();
|
|
77981
77993
|
init_billingListUsage2();
|
|
77982
|
-
|
|
77983
|
-
|
|
77984
|
-
|
|
77985
|
-
|
|
77986
|
-
|
|
77994
|
+
init_elasticIpsCreateElasticIp2();
|
|
77995
|
+
init_elasticIpsDeleteElasticIp2();
|
|
77996
|
+
init_elasticIpsGetElasticIp2();
|
|
77997
|
+
init_elasticIpsListElasticIps2();
|
|
77998
|
+
init_elasticIpsUpdateElasticIp2();
|
|
77987
77999
|
init_eventsList2();
|
|
77988
78000
|
init_firewallsAssignmentsCreate2();
|
|
77989
78001
|
init_firewallsCreate2();
|
|
@@ -78124,7 +78136,7 @@ async function startStdio(flags) {
|
|
|
78124
78136
|
const server2 = createMCPServer({
|
|
78125
78137
|
logger,
|
|
78126
78138
|
allowedTools: flags.tool,
|
|
78127
|
-
|
|
78139
|
+
bearer: flags.bearer ?? "",
|
|
78128
78140
|
serverURL: flags["server-url"],
|
|
78129
78141
|
serverIdx: flags["server-index"],
|
|
78130
78142
|
latitudeApiKey: flags["latitude-api-key"]
|
|
@@ -78143,7 +78155,7 @@ async function startSSE(flags) {
|
|
|
78143
78155
|
const mcpServer = createMCPServer({
|
|
78144
78156
|
logger,
|
|
78145
78157
|
allowedTools: flags.tool,
|
|
78146
|
-
|
|
78158
|
+
bearer: flags.bearer ?? "",
|
|
78147
78159
|
serverURL: flags["server-url"],
|
|
78148
78160
|
serverIdx: flags["server-index"],
|
|
78149
78161
|
latitudeApiKey: flags["latitude-api-key"]
|
|
@@ -78196,9 +78208,9 @@ var import_express;
|
|
|
78196
78208
|
var init_impl = __esm(() => {
|
|
78197
78209
|
init_sse();
|
|
78198
78210
|
init_stdio2();
|
|
78211
|
+
import_express = __toESM(require_express2(), 1);
|
|
78199
78212
|
init_console_logger();
|
|
78200
78213
|
init_server4();
|
|
78201
|
-
import_express = __toESM(require_express(), 1);
|
|
78202
78214
|
});
|
|
78203
78215
|
|
|
78204
78216
|
// node_modules/@stricli/core/dist/index.js
|
|
@@ -79190,6 +79202,11 @@ async function Yt(e, t, n) {
|
|
|
79190
79202
|
// src/mcp-server/mcp-server.ts
|
|
79191
79203
|
import process3 from "node:process";
|
|
79192
79204
|
|
|
79205
|
+
// src/mcp-server/cli.ts
|
|
79206
|
+
function buildContext(process2) {
|
|
79207
|
+
return { process: process2 };
|
|
79208
|
+
}
|
|
79209
|
+
|
|
79193
79210
|
// src/mcp-server/cli/start/command.ts
|
|
79194
79211
|
init_v3();
|
|
79195
79212
|
init_console_logger();
|
|
@@ -79294,7 +79311,7 @@ var routes = ln({
|
|
|
79294
79311
|
var app = _e(routes, {
|
|
79295
79312
|
name: "mcp",
|
|
79296
79313
|
versionInfo: {
|
|
79297
|
-
currentVersion: "0.3.
|
|
79314
|
+
currentVersion: "0.3.2"
|
|
79298
79315
|
}
|
|
79299
79316
|
});
|
|
79300
79317
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -79302,5 +79319,5 @@ export {
|
|
|
79302
79319
|
app
|
|
79303
79320
|
};
|
|
79304
79321
|
|
|
79305
|
-
//# debugId=
|
|
79322
|
+
//# debugId=BA47B7D738BEBE9264756E2164756E21
|
|
79306
79323
|
//# sourceMappingURL=mcp-server.js.map
|