latitudesh-typescript-sdk 0.8.3 → 0.8.4
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 +134 -64
- package/bin/mcp-server.js.map +18 -18
- 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/models/billingusage.d.ts +2 -2
- package/dist/commonjs/models/billingusage.d.ts.map +1 -1
- package/dist/commonjs/models/billingusage.js +2 -2
- package/dist/commonjs/models/billingusage.js.map +1 -1
- package/dist/commonjs/models/ipmisession.d.ts +5 -0
- package/dist/commonjs/models/ipmisession.d.ts.map +1 -1
- package/dist/commonjs/models/ipmisession.js +4 -0
- package/dist/commonjs/models/ipmisession.js.map +1 -1
- package/dist/commonjs/models/kubernetesclusterdata.d.ts +32 -28
- package/dist/commonjs/models/kubernetesclusterdata.d.ts.map +1 -1
- package/dist/commonjs/models/kubernetesclusterdata.js +20 -15
- package/dist/commonjs/models/kubernetesclusterdata.js.map +1 -1
- package/dist/commonjs/models/kubernetesclustersummarydata.d.ts +9 -7
- package/dist/commonjs/models/kubernetesclustersummarydata.d.ts.map +1 -1
- package/dist/commonjs/models/kubernetesclustersummarydata.js +6 -3
- package/dist/commonjs/models/kubernetesclustersummarydata.js.map +1 -1
- package/dist/commonjs/models/objectstoragedata.d.ts +5 -0
- package/dist/commonjs/models/objectstoragedata.d.ts.map +1 -1
- package/dist/commonjs/models/objectstoragedata.js +2 -0
- package/dist/commonjs/models/objectstoragedata.js.map +1 -1
- package/dist/commonjs/models/operatingsystemdata.d.ts +6 -0
- package/dist/commonjs/models/operatingsystemdata.d.ts.map +1 -1
- package/dist/commonjs/models/operatingsystemdata.js +6 -0
- package/dist/commonjs/models/operatingsystemdata.js.map +1 -1
- package/dist/commonjs/models/operations/patchuserprofile.d.ts +11 -0
- package/dist/commonjs/models/operations/patchuserprofile.d.ts.map +1 -1
- package/dist/commonjs/models/operations/patchuserprofile.js +15 -1
- package/dist/commonjs/models/operations/patchuserprofile.js.map +1 -1
- package/dist/commonjs/models/serverdata.d.ts +25 -2
- package/dist/commonjs/models/serverdata.d.ts.map +1 -1
- package/dist/commonjs/models/serverdata.js +29 -3
- package/dist/commonjs/models/serverdata.js.map +1 -1
- package/dist/commonjs/models/user.d.ts +15 -0
- package/dist/commonjs/models/user.d.ts.map +1 -1
- package/dist/commonjs/models/user.js +19 -1
- package/dist/commonjs/models/user.js.map +1 -1
- package/dist/commonjs/models/userupdate.d.ts +17 -2
- package/dist/commonjs/models/userupdate.d.ts.map +1 -1
- package/dist/commonjs/models/userupdate.js +20 -3
- package/dist/commonjs/models/userupdate.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/models/billingusage.d.ts +2 -2
- package/dist/esm/models/billingusage.d.ts.map +1 -1
- package/dist/esm/models/billingusage.js +2 -2
- package/dist/esm/models/billingusage.js.map +1 -1
- package/dist/esm/models/ipmisession.d.ts +5 -0
- package/dist/esm/models/ipmisession.d.ts.map +1 -1
- package/dist/esm/models/ipmisession.js +4 -0
- package/dist/esm/models/ipmisession.js.map +1 -1
- package/dist/esm/models/kubernetesclusterdata.d.ts +32 -28
- package/dist/esm/models/kubernetesclusterdata.d.ts.map +1 -1
- package/dist/esm/models/kubernetesclusterdata.js +20 -15
- package/dist/esm/models/kubernetesclusterdata.js.map +1 -1
- package/dist/esm/models/kubernetesclustersummarydata.d.ts +9 -7
- package/dist/esm/models/kubernetesclustersummarydata.d.ts.map +1 -1
- package/dist/esm/models/kubernetesclustersummarydata.js +6 -3
- package/dist/esm/models/kubernetesclustersummarydata.js.map +1 -1
- package/dist/esm/models/objectstoragedata.d.ts +5 -0
- package/dist/esm/models/objectstoragedata.d.ts.map +1 -1
- package/dist/esm/models/objectstoragedata.js +2 -0
- package/dist/esm/models/objectstoragedata.js.map +1 -1
- package/dist/esm/models/operatingsystemdata.d.ts +6 -0
- package/dist/esm/models/operatingsystemdata.d.ts.map +1 -1
- package/dist/esm/models/operatingsystemdata.js +6 -0
- package/dist/esm/models/operatingsystemdata.js.map +1 -1
- package/dist/esm/models/operations/patchuserprofile.d.ts +11 -0
- package/dist/esm/models/operations/patchuserprofile.d.ts.map +1 -1
- package/dist/esm/models/operations/patchuserprofile.js +12 -0
- package/dist/esm/models/operations/patchuserprofile.js.map +1 -1
- package/dist/esm/models/serverdata.d.ts +25 -2
- package/dist/esm/models/serverdata.d.ts.map +1 -1
- package/dist/esm/models/serverdata.js +26 -2
- package/dist/esm/models/serverdata.js.map +1 -1
- package/dist/esm/models/user.d.ts +15 -0
- package/dist/esm/models/user.d.ts.map +1 -1
- package/dist/esm/models/user.js +18 -0
- package/dist/esm/models/user.js.map +1 -1
- package/dist/esm/models/userupdate.d.ts +17 -2
- package/dist/esm/models/userupdate.d.ts.map +1 -1
- package/dist/esm/models/userupdate.js +19 -2
- package/dist/esm/models/userupdate.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- 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/models/billingusage.ts +4 -4
- package/src/models/ipmisession.ts +9 -0
- package/src/models/kubernetesclusterdata.ts +63 -44
- package/src/models/kubernetesclustersummarydata.ts +18 -11
- package/src/models/objectstoragedata.ts +7 -0
- package/src/models/operatingsystemdata.ts +12 -0
- package/src/models/operations/patchuserprofile.ts +39 -0
- package/src/models/serverdata.ts +63 -4
- package/src/models/user.ts +29 -0
- package/src/models/userupdate.ts +35 -4
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.
|
|
53153
|
-
genVersion: "2.918.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
53152
|
+
sdkVersion: "0.8.4",
|
|
53153
|
+
genVersion: "2.918.4",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.8.4 2.918.4 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
@@ -55041,13 +55041,13 @@ var init_billingusage = __esm(() => {
|
|
|
55041
55041
|
BillingUsageServer$inboundSchema = objectType({
|
|
55042
55042
|
id: stringType().optional(),
|
|
55043
55043
|
hostname: stringType().optional(),
|
|
55044
|
-
plan: stringType().optional(),
|
|
55044
|
+
plan: nullableType(stringType()).optional(),
|
|
55045
55045
|
tags: arrayType(stringType()).optional()
|
|
55046
55046
|
});
|
|
55047
55047
|
BillingUsageServer$outboundSchema = objectType({
|
|
55048
55048
|
id: stringType().optional(),
|
|
55049
55049
|
hostname: stringType().optional(),
|
|
55050
|
-
plan: stringType().optional(),
|
|
55050
|
+
plan: nullableType(stringType()).optional(),
|
|
55051
55051
|
tags: arrayType(stringType()).optional()
|
|
55052
55052
|
});
|
|
55053
55053
|
Bucket$inboundSchema = objectType({
|
|
@@ -56478,22 +56478,26 @@ var init_ipmisession = __esm(() => {
|
|
|
56478
56478
|
IpmiSessionType$outboundSchema = IpmiSessionType$inboundSchema;
|
|
56479
56479
|
IpmiSessionAttributes$inboundSchema = objectType({
|
|
56480
56480
|
ipmi_address: stringType().optional(),
|
|
56481
|
+
ipmi_url: nullableType(stringType()).optional(),
|
|
56481
56482
|
ipmi_username: stringType().optional(),
|
|
56482
56483
|
ipmi_password: stringType().optional()
|
|
56483
56484
|
}).transform((v2) => {
|
|
56484
56485
|
return remap(v2, {
|
|
56485
56486
|
ipmi_address: "ipmiAddress",
|
|
56487
|
+
ipmi_url: "ipmiUrl",
|
|
56486
56488
|
ipmi_username: "ipmiUsername",
|
|
56487
56489
|
ipmi_password: "ipmiPassword"
|
|
56488
56490
|
});
|
|
56489
56491
|
});
|
|
56490
56492
|
IpmiSessionAttributes$outboundSchema = objectType({
|
|
56491
56493
|
ipmiAddress: stringType().optional(),
|
|
56494
|
+
ipmiUrl: nullableType(stringType()).optional(),
|
|
56492
56495
|
ipmiUsername: stringType().optional(),
|
|
56493
56496
|
ipmiPassword: stringType().optional()
|
|
56494
56497
|
}).transform((v2) => {
|
|
56495
56498
|
return remap(v2, {
|
|
56496
56499
|
ipmiAddress: "ipmi_address",
|
|
56500
|
+
ipmiUrl: "ipmi_url",
|
|
56497
56501
|
ipmiUsername: "ipmi_username",
|
|
56498
56502
|
ipmiPassword: "ipmi_password"
|
|
56499
56503
|
});
|
|
@@ -56536,17 +56540,44 @@ var init_kubernetesavailableversions = __esm(() => {
|
|
|
56536
56540
|
});
|
|
56537
56541
|
});
|
|
56538
56542
|
|
|
56543
|
+
// src/types/unrecognized.ts
|
|
56544
|
+
function unrecognized(value) {
|
|
56545
|
+
globalCount++;
|
|
56546
|
+
return value;
|
|
56547
|
+
}
|
|
56548
|
+
var globalCount = 0;
|
|
56549
|
+
var init_unrecognized = () => {};
|
|
56550
|
+
|
|
56551
|
+
// src/types/enums.ts
|
|
56552
|
+
function inboundSchema(enumObj) {
|
|
56553
|
+
const options = Object.values(enumObj);
|
|
56554
|
+
return unionType([
|
|
56555
|
+
...options.map((x) => literalType(x)),
|
|
56556
|
+
stringType().transform((x) => unrecognized(x))
|
|
56557
|
+
]);
|
|
56558
|
+
}
|
|
56559
|
+
function outboundSchema(_2) {
|
|
56560
|
+
return stringType();
|
|
56561
|
+
}
|
|
56562
|
+
var init_enums = __esm(() => {
|
|
56563
|
+
init_v3();
|
|
56564
|
+
init_unrecognized();
|
|
56565
|
+
});
|
|
56566
|
+
|
|
56539
56567
|
// src/models/kubernetesclusterdata.ts
|
|
56540
56568
|
var KubernetesClusterDataPhase, VersionStatus, WorkerStatus, ControlPlaneStatus, KubernetesClusterDataName, KubernetesClusterDataStepStatus, KubernetesClusterDataType, NodeStatus, KubernetesClusterDataPhase$inboundSchema, KubernetesClusterDataPhase$outboundSchema, VersionStatus$inboundSchema, VersionStatus$outboundSchema, ControlPlane$inboundSchema, ControlPlane$outboundSchema, Workers$inboundSchema, Workers$outboundSchema, WorkerStatus$inboundSchema, WorkerStatus$outboundSchema, ControlPlaneStatus$inboundSchema, ControlPlaneStatus$outboundSchema, KubernetesClusterDataName$inboundSchema, KubernetesClusterDataName$outboundSchema, KubernetesClusterDataStepStatus$inboundSchema, KubernetesClusterDataStepStatus$outboundSchema, KubernetesClusterDataStep$inboundSchema, KubernetesClusterDataStep$outboundSchema, KubernetesClusterDataType$inboundSchema, KubernetesClusterDataType$outboundSchema, NodeStatus$inboundSchema, NodeStatus$outboundSchema, Node$inboundSchema, Node$outboundSchema, KubernetesClusterDataProject$inboundSchema, KubernetesClusterDataProject$outboundSchema, KubernetesClusterDataAttributes$inboundSchema, KubernetesClusterDataAttributes$outboundSchema, KubernetesClusterData$inboundSchema, KubernetesClusterData$outboundSchema;
|
|
56541
56569
|
var init_kubernetesclusterdata = __esm(() => {
|
|
56542
56570
|
init_v3();
|
|
56543
56571
|
init_primitives();
|
|
56572
|
+
init_enums();
|
|
56544
56573
|
KubernetesClusterDataPhase = {
|
|
56545
56574
|
Pending: "Pending",
|
|
56546
56575
|
Provisioning: "Provisioning",
|
|
56547
56576
|
Provisioned: "Provisioned",
|
|
56577
|
+
Upgrading: "Upgrading",
|
|
56548
56578
|
Deleting: "Deleting",
|
|
56549
|
-
Failed: "Failed"
|
|
56579
|
+
Failed: "Failed",
|
|
56580
|
+
Unknown: "Unknown"
|
|
56550
56581
|
};
|
|
56551
56582
|
VersionStatus = {
|
|
56552
56583
|
UpToDate: "up_to_date",
|
|
@@ -56558,11 +56589,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56558
56589
|
Idle: "idle",
|
|
56559
56590
|
Ready: "ready",
|
|
56560
56591
|
Scaling: "scaling",
|
|
56592
|
+
Upgrading: "upgrading",
|
|
56561
56593
|
Error: "error"
|
|
56562
56594
|
};
|
|
56563
56595
|
ControlPlaneStatus = {
|
|
56564
56596
|
Ready: "ready",
|
|
56565
56597
|
Scaling: "scaling",
|
|
56598
|
+
Upgrading: "upgrading",
|
|
56566
56599
|
Error: "error"
|
|
56567
56600
|
};
|
|
56568
56601
|
KubernetesClusterDataName = {
|
|
@@ -56585,8 +56618,8 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56585
56618
|
Failed: "failed",
|
|
56586
56619
|
Deleting: "deleting"
|
|
56587
56620
|
};
|
|
56588
|
-
KubernetesClusterDataPhase$inboundSchema =
|
|
56589
|
-
KubernetesClusterDataPhase$outboundSchema = KubernetesClusterDataPhase
|
|
56621
|
+
KubernetesClusterDataPhase$inboundSchema = inboundSchema(KubernetesClusterDataPhase);
|
|
56622
|
+
KubernetesClusterDataPhase$outboundSchema = outboundSchema(KubernetesClusterDataPhase);
|
|
56590
56623
|
VersionStatus$inboundSchema = nativeEnumType(VersionStatus);
|
|
56591
56624
|
VersionStatus$outboundSchema = VersionStatus$inboundSchema;
|
|
56592
56625
|
ControlPlane$inboundSchema = objectType({
|
|
@@ -56627,10 +56660,10 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56627
56660
|
availableReplicas: "available_replicas"
|
|
56628
56661
|
});
|
|
56629
56662
|
});
|
|
56630
|
-
WorkerStatus$inboundSchema =
|
|
56631
|
-
WorkerStatus$outboundSchema = WorkerStatus
|
|
56632
|
-
ControlPlaneStatus$inboundSchema =
|
|
56633
|
-
ControlPlaneStatus$outboundSchema = ControlPlaneStatus
|
|
56663
|
+
WorkerStatus$inboundSchema = inboundSchema(WorkerStatus);
|
|
56664
|
+
WorkerStatus$outboundSchema = outboundSchema(WorkerStatus);
|
|
56665
|
+
ControlPlaneStatus$inboundSchema = inboundSchema(ControlPlaneStatus);
|
|
56666
|
+
ControlPlaneStatus$outboundSchema = outboundSchema(ControlPlaneStatus);
|
|
56634
56667
|
KubernetesClusterDataName$inboundSchema = nativeEnumType(KubernetesClusterDataName);
|
|
56635
56668
|
KubernetesClusterDataName$outboundSchema = KubernetesClusterDataName$inboundSchema;
|
|
56636
56669
|
KubernetesClusterDataStepStatus$inboundSchema = nativeEnumType(KubernetesClusterDataStepStatus);
|
|
@@ -56697,13 +56730,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56697
56730
|
ready: booleanType().optional(),
|
|
56698
56731
|
control_plane_endpoint: nullableType(stringType()).optional(),
|
|
56699
56732
|
kubeconfig_url: nullableType(stringType()).optional(),
|
|
56700
|
-
location: stringType().optional(),
|
|
56733
|
+
location: nullableType(stringType()).optional(),
|
|
56701
56734
|
load_balancer_ips: arrayType(stringType()).optional(),
|
|
56702
|
-
kubernetes_version: stringType().optional(),
|
|
56735
|
+
kubernetes_version: nullableType(stringType()).optional(),
|
|
56703
56736
|
version_status: VersionStatus$inboundSchema.optional(),
|
|
56704
56737
|
available_upgrade: nullableType(stringType()).optional(),
|
|
56705
56738
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56706
|
-
plan: stringType().optional(),
|
|
56739
|
+
plan: nullableType(stringType()).optional(),
|
|
56707
56740
|
worker_plan: nullableType(stringType()).optional(),
|
|
56708
56741
|
control_plane_count: numberType().int().optional(),
|
|
56709
56742
|
worker_count: numberType().int().optional(),
|
|
@@ -56748,13 +56781,13 @@ var init_kubernetesclusterdata = __esm(() => {
|
|
|
56748
56781
|
ready: booleanType().optional(),
|
|
56749
56782
|
controlPlaneEndpoint: nullableType(stringType()).optional(),
|
|
56750
56783
|
kubeconfigUrl: nullableType(stringType()).optional(),
|
|
56751
|
-
location: stringType().optional(),
|
|
56784
|
+
location: nullableType(stringType()).optional(),
|
|
56752
56785
|
loadBalancerIps: arrayType(stringType()).optional(),
|
|
56753
|
-
kubernetesVersion: stringType().optional(),
|
|
56786
|
+
kubernetesVersion: nullableType(stringType()).optional(),
|
|
56754
56787
|
versionStatus: VersionStatus$outboundSchema.optional(),
|
|
56755
56788
|
availableUpgrade: nullableType(stringType()).optional(),
|
|
56756
56789
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56757
|
-
plan: stringType().optional(),
|
|
56790
|
+
plan: nullableType(stringType()).optional(),
|
|
56758
56791
|
workerPlan: nullableType(stringType()).optional(),
|
|
56759
56792
|
controlPlaneCount: numberType().int().optional(),
|
|
56760
56793
|
workerCount: numberType().int().optional(),
|
|
@@ -56903,12 +56936,15 @@ var KubernetesClusterSummaryDataPhase, KubernetesClusterSummaryDataName, Kuberne
|
|
|
56903
56936
|
var init_kubernetesclustersummarydata = __esm(() => {
|
|
56904
56937
|
init_v3();
|
|
56905
56938
|
init_primitives();
|
|
56939
|
+
init_enums();
|
|
56906
56940
|
KubernetesClusterSummaryDataPhase = {
|
|
56907
56941
|
Pending: "Pending",
|
|
56908
56942
|
Provisioning: "Provisioning",
|
|
56909
56943
|
Provisioned: "Provisioned",
|
|
56944
|
+
Upgrading: "Upgrading",
|
|
56910
56945
|
Deleting: "Deleting",
|
|
56911
|
-
Failed: "Failed"
|
|
56946
|
+
Failed: "Failed",
|
|
56947
|
+
Unknown: "Unknown"
|
|
56912
56948
|
};
|
|
56913
56949
|
KubernetesClusterSummaryDataName = {
|
|
56914
56950
|
Infrastructure: "infrastructure",
|
|
@@ -56920,8 +56956,8 @@ var init_kubernetesclustersummarydata = __esm(() => {
|
|
|
56920
56956
|
InProgress: "in_progress",
|
|
56921
56957
|
Completed: "completed"
|
|
56922
56958
|
};
|
|
56923
|
-
KubernetesClusterSummaryDataPhase$inboundSchema =
|
|
56924
|
-
KubernetesClusterSummaryDataPhase$outboundSchema = KubernetesClusterSummaryDataPhase
|
|
56959
|
+
KubernetesClusterSummaryDataPhase$inboundSchema = inboundSchema(KubernetesClusterSummaryDataPhase);
|
|
56960
|
+
KubernetesClusterSummaryDataPhase$outboundSchema = outboundSchema(KubernetesClusterSummaryDataPhase);
|
|
56925
56961
|
KubernetesClusterSummaryDataName$inboundSchema = nativeEnumType(KubernetesClusterSummaryDataName);
|
|
56926
56962
|
KubernetesClusterSummaryDataName$outboundSchema = KubernetesClusterSummaryDataName$inboundSchema;
|
|
56927
56963
|
KubernetesClusterSummaryDataStatus$inboundSchema = nativeEnumType(KubernetesClusterSummaryDataStatus);
|
|
@@ -57269,6 +57305,7 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57269
57305
|
locking: nullableType(booleanType()).optional(),
|
|
57270
57306
|
retention_mode: nullableType(RetentionMode$inboundSchema).optional(),
|
|
57271
57307
|
retention_period: nullableType(numberType().int()).optional(),
|
|
57308
|
+
source: stringType().optional(),
|
|
57272
57309
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$inboundSchema)).optional(),
|
|
57273
57310
|
project: ProjectInclude$inboundSchema.optional(),
|
|
57274
57311
|
team: TeamInclude$inboundSchema.optional()
|
|
@@ -57297,6 +57334,7 @@ var init_objectstoragedata = __esm(() => {
|
|
|
57297
57334
|
locking: nullableType(booleanType()).optional(),
|
|
57298
57335
|
retentionMode: nullableType(RetentionMode$outboundSchema).optional(),
|
|
57299
57336
|
retentionPeriod: nullableType(numberType().int()).optional(),
|
|
57337
|
+
source: stringType().optional(),
|
|
57300
57338
|
region: nullableType(lazyType(() => ObjectStorageDataRegion$outboundSchema)).optional(),
|
|
57301
57339
|
project: ProjectInclude$outboundSchema.optional(),
|
|
57302
57340
|
team: TeamInclude$outboundSchema.optional()
|
|
@@ -57350,7 +57388,10 @@ var init_operatingsystemdata = __esm(() => {
|
|
|
57350
57388
|
OperatingSystemDataFeatures$inboundSchema = objectType({
|
|
57351
57389
|
raid: booleanType().optional(),
|
|
57352
57390
|
ssh_keys: booleanType().optional(),
|
|
57353
|
-
user_data: booleanType().optional()
|
|
57391
|
+
user_data: booleanType().optional(),
|
|
57392
|
+
accelerate: booleanType().optional(),
|
|
57393
|
+
rescue: booleanType().optional(),
|
|
57394
|
+
workflow: booleanType().optional()
|
|
57354
57395
|
}).transform((v2) => {
|
|
57355
57396
|
return remap(v2, {
|
|
57356
57397
|
ssh_keys: "sshKeys",
|
|
@@ -57360,7 +57401,10 @@ var init_operatingsystemdata = __esm(() => {
|
|
|
57360
57401
|
OperatingSystemDataFeatures$outboundSchema = objectType({
|
|
57361
57402
|
raid: booleanType().optional(),
|
|
57362
57403
|
sshKeys: booleanType().optional(),
|
|
57363
|
-
userData: booleanType().optional()
|
|
57404
|
+
userData: booleanType().optional(),
|
|
57405
|
+
accelerate: booleanType().optional(),
|
|
57406
|
+
rescue: booleanType().optional(),
|
|
57407
|
+
workflow: booleanType().optional()
|
|
57364
57408
|
}).transform((v2) => {
|
|
57365
57409
|
return remap(v2, {
|
|
57366
57410
|
sshKeys: "ssh_keys",
|
|
@@ -57716,30 +57760,6 @@ var init_plan = __esm(() => {
|
|
|
57716
57760
|
});
|
|
57717
57761
|
});
|
|
57718
57762
|
|
|
57719
|
-
// src/types/unrecognized.ts
|
|
57720
|
-
function unrecognized(value) {
|
|
57721
|
-
globalCount++;
|
|
57722
|
-
return value;
|
|
57723
|
-
}
|
|
57724
|
-
var globalCount = 0;
|
|
57725
|
-
var init_unrecognized = () => {};
|
|
57726
|
-
|
|
57727
|
-
// src/types/enums.ts
|
|
57728
|
-
function inboundSchema(enumObj) {
|
|
57729
|
-
const options = Object.values(enumObj);
|
|
57730
|
-
return unionType([
|
|
57731
|
-
...options.map((x) => literalType(x)),
|
|
57732
|
-
stringType().transform((x) => unrecognized(x))
|
|
57733
|
-
]);
|
|
57734
|
-
}
|
|
57735
|
-
function outboundSchema(_2) {
|
|
57736
|
-
return stringType();
|
|
57737
|
-
}
|
|
57738
|
-
var init_enums = __esm(() => {
|
|
57739
|
-
init_v3();
|
|
57740
|
-
init_unrecognized();
|
|
57741
|
-
});
|
|
57742
|
-
|
|
57743
57763
|
// src/models/project.ts
|
|
57744
57764
|
var ProjectType, BillingType, BillingMethod, Environment, ProjectType$inboundSchema, ProjectType$outboundSchema, ProjectTag$inboundSchema, ProjectTag$outboundSchema, BillingType$inboundSchema, BillingType$outboundSchema, BillingMethod$inboundSchema, BillingMethod$outboundSchema, Environment$inboundSchema, Environment$outboundSchema, ProjectStats$inboundSchema, ProjectStats$outboundSchema, ProjectBilling$inboundSchema, ProjectBilling$outboundSchema, ProjectAttributes$inboundSchema, ProjectAttributes$outboundSchema, Project$inboundSchema, Project$outboundSchema;
|
|
57745
57765
|
var init_project = __esm(() => {
|
|
@@ -58114,7 +58134,7 @@ var init_serverregionresourcedata = __esm(() => {
|
|
|
58114
58134
|
});
|
|
58115
58135
|
|
|
58116
58136
|
// src/models/serverdata.ts
|
|
58117
|
-
var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, ServerDataDistro$inboundSchema, ServerDataDistro$outboundSchema, ServerDataOperatingSystem$inboundSchema, ServerDataOperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
|
|
58137
|
+
var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataTag$inboundSchema, ServerDataTag$outboundSchema, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, ServerDataDistro$inboundSchema, ServerDataDistro$outboundSchema, ServerDataOperatingSystem$inboundSchema, ServerDataOperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
|
|
58118
58138
|
var init_serverdata = __esm(() => {
|
|
58119
58139
|
init_v3();
|
|
58120
58140
|
init_primitives();
|
|
@@ -58141,6 +58161,18 @@ var init_serverdata = __esm(() => {
|
|
|
58141
58161
|
Ipmi: "ipmi",
|
|
58142
58162
|
Unknown: "unknown"
|
|
58143
58163
|
};
|
|
58164
|
+
ServerDataTag$inboundSchema = objectType({
|
|
58165
|
+
id: stringType().optional(),
|
|
58166
|
+
name: stringType().optional(),
|
|
58167
|
+
description: nullableType(stringType()).optional(),
|
|
58168
|
+
color: nullableType(stringType()).optional()
|
|
58169
|
+
});
|
|
58170
|
+
ServerDataTag$outboundSchema = objectType({
|
|
58171
|
+
id: stringType().optional(),
|
|
58172
|
+
name: stringType().optional(),
|
|
58173
|
+
description: nullableType(stringType()).optional(),
|
|
58174
|
+
color: nullableType(stringType()).optional()
|
|
58175
|
+
});
|
|
58144
58176
|
ServerDataStatus$inboundSchema = nativeEnumType(ServerDataStatus);
|
|
58145
58177
|
ServerDataStatus$outboundSchema = ServerDataStatus$inboundSchema;
|
|
58146
58178
|
IpmiStatus$inboundSchema = nativeEnumType(IpmiStatus);
|
|
@@ -58238,10 +58270,12 @@ var init_serverdata = __esm(() => {
|
|
|
58238
58270
|
});
|
|
58239
58271
|
});
|
|
58240
58272
|
ServerDataAttributes$inboundSchema = objectType({
|
|
58273
|
+
tags: arrayType(lazyType(() => ServerDataTag$inboundSchema)).optional(),
|
|
58241
58274
|
hostname: stringType().optional(),
|
|
58242
58275
|
label: stringType().optional(),
|
|
58276
|
+
price: nullableType(numberType()).optional(),
|
|
58243
58277
|
status: ServerDataStatus$inboundSchema.optional(),
|
|
58244
|
-
ipmi_status: IpmiStatus$inboundSchema.optional(),
|
|
58278
|
+
ipmi_status: nullableType(IpmiStatus$inboundSchema).optional(),
|
|
58245
58279
|
role: stringType().optional(),
|
|
58246
58280
|
site: stringType().optional(),
|
|
58247
58281
|
locked: booleanType().optional(),
|
|
@@ -58269,10 +58303,12 @@ var init_serverdata = __esm(() => {
|
|
|
58269
58303
|
});
|
|
58270
58304
|
});
|
|
58271
58305
|
ServerDataAttributes$outboundSchema = objectType({
|
|
58306
|
+
tags: arrayType(lazyType(() => ServerDataTag$outboundSchema)).optional(),
|
|
58272
58307
|
hostname: stringType().optional(),
|
|
58273
58308
|
label: stringType().optional(),
|
|
58309
|
+
price: nullableType(numberType()).optional(),
|
|
58274
58310
|
status: ServerDataStatus$outboundSchema.optional(),
|
|
58275
|
-
ipmiStatus: IpmiStatus$outboundSchema.optional(),
|
|
58311
|
+
ipmiStatus: nullableType(IpmiStatus$outboundSchema).optional(),
|
|
58276
58312
|
role: stringType().optional(),
|
|
58277
58313
|
site: stringType().optional(),
|
|
58278
58314
|
locked: booleanType().optional(),
|
|
@@ -59294,11 +59330,16 @@ var init_updatekubernetescluster = __esm(() => {
|
|
|
59294
59330
|
});
|
|
59295
59331
|
|
|
59296
59332
|
// src/models/user.ts
|
|
59297
|
-
var UserRole$inboundSchema, UserRole$outboundSchema, UserAttributes$inboundSchema, UserAttributes$outboundSchema, User$inboundSchema, User$outboundSchema;
|
|
59333
|
+
var UserType, UserType$inboundSchema, UserType$outboundSchema, UserRole$inboundSchema, UserRole$outboundSchema, UserAttributes$inboundSchema, UserAttributes$outboundSchema, User$inboundSchema, User$outboundSchema;
|
|
59298
59334
|
var init_user = __esm(() => {
|
|
59299
59335
|
init_v3();
|
|
59300
59336
|
init_primitives();
|
|
59301
59337
|
init_teaminclude();
|
|
59338
|
+
UserType = {
|
|
59339
|
+
Users: "users"
|
|
59340
|
+
};
|
|
59341
|
+
UserType$inboundSchema = nativeEnumType(UserType);
|
|
59342
|
+
UserType$outboundSchema = UserType$inboundSchema;
|
|
59302
59343
|
UserRole$inboundSchema = objectType({
|
|
59303
59344
|
id: stringType().optional(),
|
|
59304
59345
|
name: stringType().optional(),
|
|
@@ -59326,13 +59367,17 @@ var init_user = __esm(() => {
|
|
|
59326
59367
|
last_name: stringType().optional(),
|
|
59327
59368
|
email: stringType().optional(),
|
|
59328
59369
|
authentication_factor_id: stringType().optional(),
|
|
59370
|
+
created_at: stringType().optional(),
|
|
59371
|
+
updated_at: stringType().optional(),
|
|
59329
59372
|
role: lazyType(() => UserRole$inboundSchema).optional(),
|
|
59330
59373
|
teams: arrayType(TeamInclude$inboundSchema).optional()
|
|
59331
59374
|
}).transform((v2) => {
|
|
59332
59375
|
return remap(v2, {
|
|
59333
59376
|
first_name: "firstName",
|
|
59334
59377
|
last_name: "lastName",
|
|
59335
|
-
authentication_factor_id: "authenticationFactorId"
|
|
59378
|
+
authentication_factor_id: "authenticationFactorId",
|
|
59379
|
+
created_at: "createdAt",
|
|
59380
|
+
updated_at: "updatedAt"
|
|
59336
59381
|
});
|
|
59337
59382
|
});
|
|
59338
59383
|
UserAttributes$outboundSchema = objectType({
|
|
@@ -59340,21 +59385,27 @@ var init_user = __esm(() => {
|
|
|
59340
59385
|
lastName: stringType().optional(),
|
|
59341
59386
|
email: stringType().optional(),
|
|
59342
59387
|
authenticationFactorId: stringType().optional(),
|
|
59388
|
+
createdAt: stringType().optional(),
|
|
59389
|
+
updatedAt: stringType().optional(),
|
|
59343
59390
|
role: lazyType(() => UserRole$outboundSchema).optional(),
|
|
59344
59391
|
teams: arrayType(TeamInclude$outboundSchema).optional()
|
|
59345
59392
|
}).transform((v2) => {
|
|
59346
59393
|
return remap(v2, {
|
|
59347
59394
|
firstName: "first_name",
|
|
59348
59395
|
lastName: "last_name",
|
|
59349
|
-
authenticationFactorId: "authentication_factor_id"
|
|
59396
|
+
authenticationFactorId: "authentication_factor_id",
|
|
59397
|
+
createdAt: "created_at",
|
|
59398
|
+
updatedAt: "updated_at"
|
|
59350
59399
|
});
|
|
59351
59400
|
});
|
|
59352
59401
|
User$inboundSchema = objectType({
|
|
59353
59402
|
id: stringType().optional(),
|
|
59403
|
+
type: UserType$inboundSchema.optional(),
|
|
59354
59404
|
attributes: lazyType(() => UserAttributes$inboundSchema).optional()
|
|
59355
59405
|
});
|
|
59356
59406
|
User$outboundSchema = objectType({
|
|
59357
59407
|
id: stringType().optional(),
|
|
59408
|
+
type: UserType$outboundSchema.optional(),
|
|
59358
59409
|
attributes: lazyType(() => UserAttributes$outboundSchema).optional()
|
|
59359
59410
|
});
|
|
59360
59411
|
});
|
|
@@ -59591,21 +59642,30 @@ var init_userteams = __esm(() => {
|
|
|
59591
59642
|
});
|
|
59592
59643
|
|
|
59593
59644
|
// src/models/userupdate.ts
|
|
59594
|
-
var UserUpdateAttributes$inboundSchema, UserUpdateAttributes$outboundSchema, UserUpdate$inboundSchema, UserUpdate$outboundSchema;
|
|
59645
|
+
var UserUpdateType, UserUpdateType$inboundSchema, UserUpdateType$outboundSchema, UserUpdateAttributes$inboundSchema, UserUpdateAttributes$outboundSchema, UserUpdate$inboundSchema, UserUpdate$outboundSchema;
|
|
59595
59646
|
var init_userupdate = __esm(() => {
|
|
59596
59647
|
init_v3();
|
|
59597
59648
|
init_primitives();
|
|
59649
|
+
UserUpdateType = {
|
|
59650
|
+
Users: "users"
|
|
59651
|
+
};
|
|
59652
|
+
UserUpdateType$inboundSchema = nativeEnumType(UserUpdateType);
|
|
59653
|
+
UserUpdateType$outboundSchema = UserUpdateType$inboundSchema;
|
|
59598
59654
|
UserUpdateAttributes$inboundSchema = objectType({
|
|
59599
59655
|
first_name: stringType().optional(),
|
|
59600
59656
|
last_name: stringType().optional(),
|
|
59601
59657
|
email: stringType().optional(),
|
|
59602
59658
|
authentication_factor_id: nullableType(stringType()).optional(),
|
|
59603
|
-
role: stringType().optional()
|
|
59659
|
+
role: nullableType(stringType()).optional(),
|
|
59660
|
+
created_at: stringType().optional(),
|
|
59661
|
+
updated_at: stringType().optional()
|
|
59604
59662
|
}).transform((v2) => {
|
|
59605
59663
|
return remap(v2, {
|
|
59606
59664
|
first_name: "firstName",
|
|
59607
59665
|
last_name: "lastName",
|
|
59608
|
-
authentication_factor_id: "authenticationFactorId"
|
|
59666
|
+
authentication_factor_id: "authenticationFactorId",
|
|
59667
|
+
created_at: "createdAt",
|
|
59668
|
+
updated_at: "updatedAt"
|
|
59609
59669
|
});
|
|
59610
59670
|
});
|
|
59611
59671
|
UserUpdateAttributes$outboundSchema = objectType({
|
|
@@ -59613,20 +59673,26 @@ var init_userupdate = __esm(() => {
|
|
|
59613
59673
|
lastName: stringType().optional(),
|
|
59614
59674
|
email: stringType().optional(),
|
|
59615
59675
|
authenticationFactorId: nullableType(stringType()).optional(),
|
|
59616
|
-
role: stringType().optional()
|
|
59676
|
+
role: nullableType(stringType()).optional(),
|
|
59677
|
+
createdAt: stringType().optional(),
|
|
59678
|
+
updatedAt: stringType().optional()
|
|
59617
59679
|
}).transform((v2) => {
|
|
59618
59680
|
return remap(v2, {
|
|
59619
59681
|
firstName: "first_name",
|
|
59620
59682
|
lastName: "last_name",
|
|
59621
|
-
authenticationFactorId: "authentication_factor_id"
|
|
59683
|
+
authenticationFactorId: "authentication_factor_id",
|
|
59684
|
+
createdAt: "created_at",
|
|
59685
|
+
updatedAt: "updated_at"
|
|
59622
59686
|
});
|
|
59623
59687
|
});
|
|
59624
59688
|
UserUpdate$inboundSchema = objectType({
|
|
59625
59689
|
id: stringType().optional(),
|
|
59690
|
+
type: UserUpdateType$inboundSchema.optional(),
|
|
59626
59691
|
attributes: lazyType(() => UserUpdateAttributes$inboundSchema).optional()
|
|
59627
59692
|
});
|
|
59628
59693
|
UserUpdate$outboundSchema = objectType({
|
|
59629
59694
|
id: stringType().optional(),
|
|
59695
|
+
type: UserUpdateType$outboundSchema.optional(),
|
|
59630
59696
|
attributes: lazyType(() => UserUpdateAttributes$outboundSchema).optional()
|
|
59631
59697
|
});
|
|
59632
59698
|
});
|
|
@@ -64707,7 +64773,7 @@ var init_patchuserdata = __esm(() => {
|
|
|
64707
64773
|
});
|
|
64708
64774
|
|
|
64709
64775
|
// src/models/operations/patchuserprofile.ts
|
|
64710
|
-
var PatchUserProfileType2, PatchUserProfileRole2, PatchUserProfileType2$inboundSchema, PatchUserProfileType2$outboundSchema, PatchUserProfileRole2$inboundSchema, PatchUserProfileRole2$outboundSchema, PatchUserProfileAttributes2$inboundSchema, PatchUserProfileAttributes2$outboundSchema, PatchUserProfileData2$inboundSchema, PatchUserProfileData2$outboundSchema, PatchUserProfileRequestBody2$inboundSchema, PatchUserProfileRequestBody2$outboundSchema, PatchUserProfileRequest$inboundSchema, PatchUserProfileRequest$outboundSchema, PatchUserProfileResponse$inboundSchema, PatchUserProfileResponse$outboundSchema;
|
|
64776
|
+
var PatchUserProfileType2, PatchUserProfileRole2, PatchUserProfileType2$inboundSchema, PatchUserProfileType2$outboundSchema, PatchUserProfileRole2$inboundSchema, PatchUserProfileRole2$outboundSchema, PatchUserProfileAttributes2$inboundSchema, PatchUserProfileAttributes2$outboundSchema, PatchUserProfileData2$inboundSchema, PatchUserProfileData2$outboundSchema, PatchUserProfileRequestBody2$inboundSchema, PatchUserProfileRequestBody2$outboundSchema, PatchUserProfileRequest$inboundSchema, PatchUserProfileRequest$outboundSchema, PatchUserProfileMeta$inboundSchema, PatchUserProfileMeta$outboundSchema, PatchUserProfileResponse$inboundSchema, PatchUserProfileResponse$outboundSchema;
|
|
64711
64777
|
var init_patchuserprofile = __esm(() => {
|
|
64712
64778
|
init_v3();
|
|
64713
64779
|
init_primitives();
|
|
@@ -64777,11 +64843,15 @@ var init_patchuserprofile = __esm(() => {
|
|
|
64777
64843
|
requestBody: "RequestBody"
|
|
64778
64844
|
});
|
|
64779
64845
|
});
|
|
64846
|
+
PatchUserProfileMeta$inboundSchema = objectType({});
|
|
64847
|
+
PatchUserProfileMeta$outboundSchema = objectType({});
|
|
64780
64848
|
PatchUserProfileResponse$inboundSchema = objectType({
|
|
64781
|
-
data: UserUpdate$inboundSchema.optional()
|
|
64849
|
+
data: UserUpdate$inboundSchema.optional(),
|
|
64850
|
+
meta: lazyType(() => PatchUserProfileMeta$inboundSchema).optional()
|
|
64782
64851
|
});
|
|
64783
64852
|
PatchUserProfileResponse$outboundSchema = objectType({
|
|
64784
|
-
data: UserUpdate$outboundSchema.optional()
|
|
64853
|
+
data: UserUpdate$outboundSchema.optional(),
|
|
64854
|
+
meta: lazyType(() => PatchUserProfileMeta$outboundSchema).optional()
|
|
64785
64855
|
});
|
|
64786
64856
|
});
|
|
64787
64857
|
|
|
@@ -83080,7 +83150,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
83080
83150
|
function createMCPServer(deps) {
|
|
83081
83151
|
const server2 = new McpServer({
|
|
83082
83152
|
name: "Latitudesh",
|
|
83083
|
-
version: "0.8.
|
|
83153
|
+
version: "0.8.4"
|
|
83084
83154
|
});
|
|
83085
83155
|
const client = new LatitudeshCore({
|
|
83086
83156
|
bearer: deps.bearer,
|
|
@@ -84597,7 +84667,7 @@ var routes = ln({
|
|
|
84597
84667
|
var app = _e(routes, {
|
|
84598
84668
|
name: "mcp",
|
|
84599
84669
|
versionInfo: {
|
|
84600
|
-
currentVersion: "0.8.
|
|
84670
|
+
currentVersion: "0.8.4"
|
|
84601
84671
|
}
|
|
84602
84672
|
});
|
|
84603
84673
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84605,5 +84675,5 @@ export {
|
|
|
84605
84675
|
app
|
|
84606
84676
|
};
|
|
84607
84677
|
|
|
84608
|
-
//# debugId=
|
|
84678
|
+
//# debugId=2B6B896B5B7E4BD364756E2164756E21
|
|
84609
84679
|
//# sourceMappingURL=mcp-server.js.map
|