@daocloud-proto/skoala 0.52.0 → 0.52.1-12
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.
|
@@ -264,7 +264,10 @@ export type AIGateway = {
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
export type VersionInfo = {
|
|
267
|
-
|
|
267
|
+
skoalaVersion?: string
|
|
268
|
+
higressVersion?: string
|
|
269
|
+
metaSkoalaVersion?: string
|
|
270
|
+
skoalaInitVersion?: string
|
|
268
271
|
}
|
|
269
272
|
|
|
270
273
|
export type DashboardURL = {
|
|
@@ -332,4 +335,16 @@ export type GetAIGatewayMenusResMenuItem = {
|
|
|
332
335
|
|
|
333
336
|
export type GetAIGatewayMenusRes = {
|
|
334
337
|
items?: GetAIGatewayMenusResMenuItem[]
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type RefreshAIGatewayHelmStatusReq = {
|
|
341
|
+
workspaceId?: string
|
|
342
|
+
clusterName?: string
|
|
343
|
+
namespaceName?: string
|
|
344
|
+
gatewayName?: string
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type RefreshAIGatewayHelmStatusRes = {
|
|
348
|
+
gateway?: AIGateway
|
|
349
|
+
refreshedAt?: string
|
|
335
350
|
}
|
|
@@ -31,6 +31,9 @@ export class AIGateway {
|
|
|
31
31
|
static GetAIGatewayMenus(req: SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusRes> {
|
|
32
32
|
return fm.fetchReq<SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusReq, SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusRes>(`/apis/sesame.skoala.io/v1alpha3/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/aigateways/${req["gatewayName"]}/menus?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
33
33
|
}
|
|
34
|
+
static RefreshAIGatewayHelmStatus(req: SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusRes> {
|
|
35
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusReq, SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusRes>(`/apis/sesame.skoala.io/v1alpha3/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/aigateways/${req["gatewayName"]}/refresh-gateway-status`, {...initReq, method: "POST"})
|
|
36
|
+
}
|
|
34
37
|
}
|
|
35
38
|
export class Skoala {
|
|
36
39
|
static ListGatewayNamespaces(req: SkoalaApiHostedV1alpha3Skoala.ListNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Skoala.ListNamespaceRes> {
|