@sixb/server 0.1.7 → 0.1.8
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/dist/auth/access-token-boundary.d.ts +3 -0
- package/dist/auth/access-token-boundary.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +66 -0
- package/dist/auth/shared-access.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1419 -627
- package/dist/index.js.map +19 -14
- package/dist/openapi/security.d.ts +15 -1
- package/dist/openapi/security.d.ts.map +1 -1
- package/dist/openapi/tags.d.ts +6 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +2 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +5 -5
- package/dist/routes/auth.d.ts +9 -9
- package/dist/routes/connector-connection-runs.d.ts +8 -8
- package/dist/routes/connector-connections.d.ts +4 -4
- package/dist/routes/datasets.d.ts +5 -3
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +1 -1
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/share-grants.d.ts +264 -0
- package/dist/routes/share-grants.d.ts.map +1 -0
- package/dist/routes/shared-access.d.ts +155 -0
- package/dist/routes/shared-access.d.ts.map +1 -0
- package/dist/routes/syncs.d.ts +2 -0
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +1 -1
- package/dist/schemas/agents.d.ts +22 -30
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +40 -40
- package/dist/schemas/datasets.d.ts +28 -22
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +6 -6
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +518 -0
- package/dist/schemas/share-grants.d.ts.map +1 -0
- package/dist/schemas/shared-access.d.ts +42 -0
- package/dist/schemas/shared-access.d.ts.map +1 -0
- package/dist/schemas/syncs.d.ts +7 -0
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +4 -4
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/auth/access-token-boundary.ts +17 -2
- package/src/auth/public-routes.ts +5 -0
- package/src/auth/shared-access.ts +376 -0
- package/src/index.ts +1 -0
- package/src/openapi/security.ts +20 -1
- package/src/openapi/tags.ts +4 -0
- package/src/registerRoutes.ts +6 -0
- package/src/routes/actions.ts +5 -10
- package/src/routes/agent-api-gateway.ts +1 -1
- package/src/routes/share-grants.ts +238 -0
- package/src/routes/shared-access.ts +165 -0
- package/src/schemas/agents.ts +1 -4
- package/src/schemas/datasets.ts +2 -1
- package/src/schemas/share-grants.ts +109 -0
- package/src/schemas/shared-access.ts +31 -0
- package/src/server.ts +91 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const SIXB_CSRF_SECURITY_SCHEME_ID = "sixbCsrf";
|
|
2
2
|
export declare const SIXB_BEARER_SECURITY_SCHEME_ID = "sixbBearer";
|
|
3
|
+
export declare const SIXB_SHARED_GRANT_SECURITY_SCHEME_ID = "sixbSharedGrant";
|
|
3
4
|
export declare const SIXB_CSRF_SECURITY_REQUIREMENT: {
|
|
4
5
|
sixbCsrf: string[];
|
|
5
6
|
}[];
|
|
@@ -11,11 +12,18 @@ export declare const SIXB_CSRF_OR_BEARER_SECURITY_REQUIREMENT: ({
|
|
|
11
12
|
} | {
|
|
12
13
|
sixbBearer: string[];
|
|
13
14
|
})[];
|
|
15
|
+
export declare const SIXB_SHARED_READ_SECURITY_REQUIREMENT: {
|
|
16
|
+
sixbSharedGrant: string[];
|
|
17
|
+
};
|
|
18
|
+
export declare const SIXB_SHARED_MUTATION_SECURITY_REQUIREMENT: {
|
|
19
|
+
sixbSharedGrant: string[];
|
|
20
|
+
sixbCsrf: string[];
|
|
21
|
+
};
|
|
14
22
|
export declare const SIXB_CSRF_SECURITY_SCHEME: {
|
|
15
23
|
readonly type: "apiKey";
|
|
16
24
|
readonly in: "header";
|
|
17
25
|
readonly name: "x-sixb-csrf";
|
|
18
|
-
readonly description: "Required for authenticated mutating requests. Use the csrfToken returned by
|
|
26
|
+
readonly description: "Required for cookie-authenticated mutating requests. Use the csrfToken returned by the corresponding session endpoint.";
|
|
19
27
|
};
|
|
20
28
|
export declare const SIXB_BEARER_SECURITY_SCHEME: {
|
|
21
29
|
readonly type: "http";
|
|
@@ -23,4 +31,10 @@ export declare const SIXB_BEARER_SECURITY_SCHEME: {
|
|
|
23
31
|
readonly bearerFormat: "Sixb access token";
|
|
24
32
|
readonly description: "Use a Sixb personal access token or service-account token. Bearer tokens are accepted only on routes that explicitly document this scheme.";
|
|
25
33
|
};
|
|
34
|
+
export declare const SIXB_SHARED_GRANT_SECURITY_SCHEME: {
|
|
35
|
+
readonly type: "apiKey";
|
|
36
|
+
readonly in: "header";
|
|
37
|
+
readonly name: "x-sixb-share-grant";
|
|
38
|
+
readonly description: "Selects the shared grant whose grant-specific HttpOnly session cookie must authenticate the request.";
|
|
39
|
+
};
|
|
26
40
|
//# sourceMappingURL=security.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/openapi/security.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/openapi/security.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,aAAa,CAAA;AACtD,eAAO,MAAM,8BAA8B,eAAe,CAAA;AAC1D,eAAO,MAAM,oCAAoC,oBAAoB,CAAA;AAErE,eAAO,MAAM,8BAA8B;cAED,MAAM,EAAE;GAEjD,CAAA;AAED,eAAO,MAAM,gCAAgC;gBAED,MAAM,EAAE;GAEnD,CAAA;AAED,eAAO,MAAM,wCAAwC;cAVX,MAAM,EAAE;;gBAMN,MAAM,EAAE;IAOnD,CAAA;AAED,eAAO,MAAM,qCAAqC;qBACF,MAAM,EAAE;CACvD,CAAA;AAED,eAAO,MAAM,yCAAyC;qBACN,MAAM,EAAE;cAChB,MAAM,EAAE;CAC/C,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;CAM5B,CAAA;AAEV,eAAO,MAAM,2BAA2B;;;;;CAM9B,CAAA;AAEV,eAAO,MAAM,iCAAiC;;;;;CAMpC,CAAA"}
|
package/dist/openapi/tags.d.ts
CHANGED
|
@@ -159,9 +159,13 @@ export declare const OPENAPI_TAGS: {
|
|
|
159
159
|
readonly name: "Auth Service Accounts";
|
|
160
160
|
readonly description: "Service accounts and service-account access tokens";
|
|
161
161
|
};
|
|
162
|
+
readonly sharedAccess: {
|
|
163
|
+
readonly name: "Shared Access";
|
|
164
|
+
readonly description: "Scoped shared-access grant lifecycle";
|
|
165
|
+
};
|
|
162
166
|
};
|
|
163
167
|
export declare const OPENAPI_TAG_METADATA: {
|
|
164
|
-
name: "Project" | "Status" | "AI Accounting" | "Ontology" | "Connectors" | "Connector Connections" | "Connector Connection Runs" | "Webhooks" | "Datasets" | "Dataset Versions" | "Dataset Rows" | "Syncs" | "Sync Runs" | "Pipelines" | "Pipeline Runs" | "Workflows" | "Workflow Runs" | "Workflow Interventions" | "Rules" | "Rule States" | "Projections" | "Projection Runs" | "Objects" | "Object Files" | "Actions" | "Action Runs" | "Agents" | "Models" | "Agent Threads" | "Agent Runs" | "Files" | "Links" | "Telemetry" | "Events" | "Logs" | "Auth Sessions" | "Auth Members" | "Auth Invitations" | "Auth Access Tokens" | "Auth Service Accounts";
|
|
165
|
-
description: "Current project metadata" | "Runtime status" | "Project AI token usage, cost analytics, and model-call accounting" | "Object type definitions" | "Connector metadata" | "Connected external accounts" | "Interactive OAuth connection runs" | "Webhook run history" | "Dataset definitions" | "Dataset version history" | "Dataset row previews" | "Sync metadata" | "Sync run history and requests" | "Pipeline metadata" | "Pipeline run history and requests" | "Workflow metadata" | "Workflow run history and requests" | "Workflow intervention tasks" | "Rule definitions" | "Active rule states" | "Projection definitions" | "Projection run history" | "Twin objects and state" | "Object-backed file content" | "Action metadata and requests" | "Action run history" | "Agent catalog" | "Project model catalog" | "Agent conversation threads and messages" | "Agent run state and cancellation" | "File uploads and file references" | "Object relationship links" | "Telemetry history and appends" | "Domain event stream" | "Run log stream" | "Authentication sessions and sign-out" | "User membership administration" | "User invitations" | "Personal access-token management" | "Service accounts and service-account access tokens";
|
|
168
|
+
name: "Project" | "Status" | "AI Accounting" | "Ontology" | "Connectors" | "Connector Connections" | "Connector Connection Runs" | "Webhooks" | "Datasets" | "Dataset Versions" | "Dataset Rows" | "Syncs" | "Sync Runs" | "Pipelines" | "Pipeline Runs" | "Workflows" | "Workflow Runs" | "Workflow Interventions" | "Rules" | "Rule States" | "Projections" | "Projection Runs" | "Objects" | "Object Files" | "Actions" | "Action Runs" | "Agents" | "Models" | "Agent Threads" | "Agent Runs" | "Files" | "Links" | "Telemetry" | "Events" | "Logs" | "Auth Sessions" | "Auth Members" | "Auth Invitations" | "Auth Access Tokens" | "Auth Service Accounts" | "Shared Access";
|
|
169
|
+
description: "Current project metadata" | "Runtime status" | "Project AI token usage, cost analytics, and model-call accounting" | "Object type definitions" | "Connector metadata" | "Connected external accounts" | "Interactive OAuth connection runs" | "Webhook run history" | "Dataset definitions" | "Dataset version history" | "Dataset row previews" | "Sync metadata" | "Sync run history and requests" | "Pipeline metadata" | "Pipeline run history and requests" | "Workflow metadata" | "Workflow run history and requests" | "Workflow intervention tasks" | "Rule definitions" | "Active rule states" | "Projection definitions" | "Projection run history" | "Twin objects and state" | "Object-backed file content" | "Action metadata and requests" | "Action run history" | "Agent catalog" | "Project model catalog" | "Agent conversation threads and messages" | "Agent run state and cancellation" | "File uploads and file references" | "Object relationship links" | "Telemetry history and appends" | "Domain event stream" | "Run log stream" | "Authentication sessions and sign-out" | "User membership administration" | "User invitations" | "Personal access-token management" | "Service accounts and service-account access tokens" | "Scoped shared-access grant lifecycle";
|
|
166
170
|
}[];
|
|
167
171
|
//# sourceMappingURL=tags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/openapi/tags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/openapi/tags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqKf,CAAA;AAEV,eAAO,MAAM,oBAAoB;;;GAG9B,CAAA"}
|
package/dist/registerRoutes.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
+
import type { SharedAccessBoundary } from "./auth/shared-access";
|
|
3
4
|
import { type ConnectorConnectionRouteOptions } from "./routes/connector-connection-runs";
|
|
4
5
|
export interface HttpRouteOptions {
|
|
5
6
|
readonly connectorConnections: ConnectorConnectionRouteOptions;
|
|
7
|
+
readonly sharedAccess: SharedAccessBoundary;
|
|
6
8
|
}
|
|
7
9
|
export declare function registerHttpRoutes(app: Elysia, host: SixbHostView, options: HttpRouteOptions): Elysia<"", {
|
|
8
10
|
decorator: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAMhE,OAAO,EACL,KAAK,+BAA+B,EAErC,MAAM,oCAAoC,CAAA;AAuB3C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,+BAA+B,CAAA;IAC9D,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAA;CAC5C;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8B5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgDpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EnE"}
|
package/dist/routes/agents.d.ts
CHANGED
|
@@ -251,7 +251,6 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
251
251
|
runId: string | null;
|
|
252
252
|
parts: ({
|
|
253
253
|
origin: "ambient" | "explicit";
|
|
254
|
-
type: "context";
|
|
255
254
|
context: {
|
|
256
255
|
kind: "object";
|
|
257
256
|
ref: {
|
|
@@ -265,6 +264,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
265
264
|
value: import("../schemas/common").JsonValue;
|
|
266
265
|
label: string;
|
|
267
266
|
};
|
|
267
|
+
type: "context";
|
|
268
268
|
} | {
|
|
269
269
|
type: "text";
|
|
270
270
|
text: string;
|
|
@@ -452,10 +452,6 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
452
452
|
post: {
|
|
453
453
|
body: {
|
|
454
454
|
text: string;
|
|
455
|
-
model?: {
|
|
456
|
-
provider: string;
|
|
457
|
-
modelId: string;
|
|
458
|
-
} | undefined;
|
|
459
455
|
context?: {
|
|
460
456
|
origin: "ambient" | "explicit";
|
|
461
457
|
context: {
|
|
@@ -472,6 +468,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
472
468
|
label: string;
|
|
473
469
|
};
|
|
474
470
|
}[] | undefined;
|
|
471
|
+
model?: {
|
|
472
|
+
provider: string;
|
|
473
|
+
modelId: string;
|
|
474
|
+
} | undefined;
|
|
475
475
|
attachments?: {
|
|
476
476
|
blobId: string;
|
|
477
477
|
digest: string;
|
package/dist/routes/auth.d.ts
CHANGED
|
@@ -445,8 +445,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
445
445
|
createdAt: string;
|
|
446
446
|
subjectType: "user" | "serviceAccount";
|
|
447
447
|
subjectId: string;
|
|
448
|
-
groupIds?: string[] | undefined;
|
|
449
448
|
revokedAt?: string | undefined;
|
|
449
|
+
groupIds?: string[] | undefined;
|
|
450
450
|
subjectLabel?: string | undefined;
|
|
451
451
|
lastUsedAt?: string | undefined;
|
|
452
452
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -510,8 +510,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
510
510
|
createdAt: string;
|
|
511
511
|
subjectType: "user" | "serviceAccount";
|
|
512
512
|
subjectId: string;
|
|
513
|
-
groupIds?: string[] | undefined;
|
|
514
513
|
revokedAt?: string | undefined;
|
|
514
|
+
groupIds?: string[] | undefined;
|
|
515
515
|
subjectLabel?: string | undefined;
|
|
516
516
|
lastUsedAt?: string | undefined;
|
|
517
517
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -557,8 +557,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
557
557
|
createdAt: string;
|
|
558
558
|
subjectType: "user" | "serviceAccount";
|
|
559
559
|
subjectId: string;
|
|
560
|
-
groupIds?: string[] | undefined;
|
|
561
560
|
revokedAt?: string | undefined;
|
|
561
|
+
groupIds?: string[] | undefined;
|
|
562
562
|
subjectLabel?: string | undefined;
|
|
563
563
|
lastUsedAt?: string | undefined;
|
|
564
564
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -767,8 +767,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
767
767
|
createdAt: string;
|
|
768
768
|
subjectType: "user" | "serviceAccount";
|
|
769
769
|
subjectId: string;
|
|
770
|
-
groupIds?: string[] | undefined;
|
|
771
770
|
revokedAt?: string | undefined;
|
|
771
|
+
groupIds?: string[] | undefined;
|
|
772
772
|
subjectLabel?: string | undefined;
|
|
773
773
|
lastUsedAt?: string | undefined;
|
|
774
774
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -847,8 +847,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
847
847
|
createdAt: string;
|
|
848
848
|
subjectType: "user" | "serviceAccount";
|
|
849
849
|
subjectId: string;
|
|
850
|
-
groupIds?: string[] | undefined;
|
|
851
850
|
revokedAt?: string | undefined;
|
|
851
|
+
groupIds?: string[] | undefined;
|
|
852
852
|
subjectLabel?: string | undefined;
|
|
853
853
|
lastUsedAt?: string | undefined;
|
|
854
854
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -899,8 +899,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
899
899
|
createdAt: string;
|
|
900
900
|
subjectType: "user" | "serviceAccount";
|
|
901
901
|
subjectId: string;
|
|
902
|
-
groupIds?: string[] | undefined;
|
|
903
902
|
revokedAt?: string | undefined;
|
|
903
|
+
groupIds?: string[] | undefined;
|
|
904
904
|
subjectLabel?: string | undefined;
|
|
905
905
|
lastUsedAt?: string | undefined;
|
|
906
906
|
lastUsedUserAgent?: string | undefined;
|
|
@@ -982,8 +982,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
982
982
|
createdAt: string;
|
|
983
983
|
updatedAt: string;
|
|
984
984
|
groupIds: string[];
|
|
985
|
-
acceptedAt?: string | undefined;
|
|
986
985
|
revokedAt?: string | undefined;
|
|
986
|
+
acceptedAt?: string | undefined;
|
|
987
987
|
};
|
|
988
988
|
delivery: {
|
|
989
989
|
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
@@ -1085,8 +1085,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1085
1085
|
createdAt: string;
|
|
1086
1086
|
updatedAt: string;
|
|
1087
1087
|
groupIds: string[];
|
|
1088
|
-
acceptedAt?: string | undefined;
|
|
1089
1088
|
revokedAt?: string | undefined;
|
|
1089
|
+
acceptedAt?: string | undefined;
|
|
1090
1090
|
}[];
|
|
1091
1091
|
};
|
|
1092
1092
|
404: {
|
|
@@ -1141,8 +1141,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1141
1141
|
createdAt: string;
|
|
1142
1142
|
updatedAt: string;
|
|
1143
1143
|
groupIds: string[];
|
|
1144
|
-
acceptedAt?: string | undefined;
|
|
1145
1144
|
revokedAt?: string | undefined;
|
|
1145
|
+
acceptedAt?: string | undefined;
|
|
1146
1146
|
};
|
|
1147
1147
|
};
|
|
1148
1148
|
404: {
|
|
@@ -63,6 +63,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
|
|
|
63
63
|
403: {
|
|
64
64
|
error: string;
|
|
65
65
|
};
|
|
66
|
+
503: {
|
|
67
|
+
error: string;
|
|
68
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
69
|
+
};
|
|
66
70
|
400: {
|
|
67
71
|
error: string;
|
|
68
72
|
code?: "connector.authorization_invalid" | "connector.configuration_invalid" | undefined;
|
|
@@ -75,10 +79,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
|
|
|
75
79
|
error: string;
|
|
76
80
|
code?: "connector.authorization_required" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.replacement_required" | "connector.revocation_pending" | undefined;
|
|
77
81
|
};
|
|
78
|
-
503: {
|
|
79
|
-
error: string;
|
|
80
|
-
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
81
|
-
};
|
|
82
82
|
500: {
|
|
83
83
|
error: string;
|
|
84
84
|
code?: "internal.unexpected" | undefined;
|
|
@@ -704,6 +704,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
|
|
|
704
704
|
403: {
|
|
705
705
|
error: string;
|
|
706
706
|
};
|
|
707
|
+
503: {
|
|
708
|
+
error: string;
|
|
709
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
710
|
+
};
|
|
707
711
|
400: {
|
|
708
712
|
error: string;
|
|
709
713
|
code?: "connector.authorization_invalid" | "connector.configuration_invalid" | undefined;
|
|
@@ -716,10 +720,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
|
|
|
716
720
|
error: string;
|
|
717
721
|
code?: "connector.authorization_required" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.replacement_required" | "connector.revocation_pending" | undefined;
|
|
718
722
|
};
|
|
719
|
-
503: {
|
|
720
|
-
error: string;
|
|
721
|
-
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
722
|
-
};
|
|
723
723
|
500: {
|
|
724
724
|
error: string;
|
|
725
725
|
code?: "internal.unexpected" | undefined;
|
|
@@ -166,6 +166,10 @@ export declare function registerConnectorConnectionRoutes(app: Elysia, host: Six
|
|
|
166
166
|
403: {
|
|
167
167
|
error: string;
|
|
168
168
|
};
|
|
169
|
+
503: {
|
|
170
|
+
error: string;
|
|
171
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
172
|
+
};
|
|
169
173
|
400: {
|
|
170
174
|
error: string;
|
|
171
175
|
code?: "connector.authorization_invalid" | "connector.configuration_invalid" | undefined;
|
|
@@ -178,10 +182,6 @@ export declare function registerConnectorConnectionRoutes(app: Elysia, host: Six
|
|
|
178
182
|
error: string;
|
|
179
183
|
code?: "connector.authorization_required" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.replacement_required" | "connector.revocation_pending" | undefined;
|
|
180
184
|
};
|
|
181
|
-
503: {
|
|
182
|
-
error: string;
|
|
183
|
-
code?: "connector.credentials_unavailable" | "connector.provider_unavailable" | undefined;
|
|
184
|
-
};
|
|
185
185
|
500: {
|
|
186
186
|
error: string;
|
|
187
187
|
code?: "internal.unexpected" | undefined;
|
|
@@ -48,6 +48,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
48
48
|
projectionIds: string[];
|
|
49
49
|
description?: string | undefined;
|
|
50
50
|
primaryKey?: string | string[] | undefined;
|
|
51
|
+
sequenceBy?: string | undefined;
|
|
51
52
|
partitionBy?: string[] | undefined;
|
|
52
53
|
}[];
|
|
53
54
|
400: {
|
|
@@ -102,6 +103,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
102
103
|
projectionIds: string[];
|
|
103
104
|
description?: string | undefined;
|
|
104
105
|
primaryKey?: string | string[] | undefined;
|
|
106
|
+
sequenceBy?: string | undefined;
|
|
105
107
|
partitionBy?: string[] | undefined;
|
|
106
108
|
};
|
|
107
109
|
404: {
|
|
@@ -157,7 +159,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
157
159
|
sizeBytes?: number | undefined;
|
|
158
160
|
parentVersionId?: string | undefined;
|
|
159
161
|
producer?: {
|
|
160
|
-
kind: "sync" | "pipeline";
|
|
162
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
161
163
|
id?: string | undefined;
|
|
162
164
|
runId?: string | undefined;
|
|
163
165
|
} | undefined;
|
|
@@ -220,7 +222,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
220
222
|
sizeBytes?: number | undefined;
|
|
221
223
|
parentVersionId?: string | undefined;
|
|
222
224
|
producer?: {
|
|
223
|
-
kind: "sync" | "pipeline";
|
|
225
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
224
226
|
id?: string | undefined;
|
|
225
227
|
runId?: string | undefined;
|
|
226
228
|
} | undefined;
|
|
@@ -291,7 +293,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
291
293
|
sizeBytes?: number | undefined;
|
|
292
294
|
parentVersionId?: string | undefined;
|
|
293
295
|
producer?: {
|
|
294
|
-
kind: "sync" | "pipeline";
|
|
296
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
295
297
|
id?: string | undefined;
|
|
296
298
|
runId?: string | undefined;
|
|
297
299
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqNpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqNpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsLpE"}
|
package/dist/routes/logs.d.ts
CHANGED
|
@@ -37,7 +37,6 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
|
|
|
37
37
|
hasMore: boolean;
|
|
38
38
|
lines: {
|
|
39
39
|
at: string;
|
|
40
|
-
message: string;
|
|
41
40
|
context: {
|
|
42
41
|
run: {
|
|
43
42
|
id: string;
|
|
@@ -47,6 +46,7 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
|
|
|
47
46
|
attempt?: number | undefined;
|
|
48
47
|
stepId?: string | undefined;
|
|
49
48
|
};
|
|
49
|
+
message: string;
|
|
50
50
|
cursor: string;
|
|
51
51
|
level: "error" | "debug" | "info" | "warn";
|
|
52
52
|
fields?: Record<string, unknown> | undefined;
|
|
@@ -48,6 +48,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
48
48
|
};
|
|
49
49
|
description?: string | undefined;
|
|
50
50
|
primaryKey?: string | string[] | undefined;
|
|
51
|
+
sequenceBy?: string | undefined;
|
|
51
52
|
partitionBy?: string[] | undefined;
|
|
52
53
|
};
|
|
53
54
|
inputs: {
|
|
@@ -63,6 +64,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
63
64
|
};
|
|
64
65
|
description?: string | undefined;
|
|
65
66
|
primaryKey?: string | string[] | undefined;
|
|
67
|
+
sequenceBy?: string | undefined;
|
|
66
68
|
partitionBy?: string[] | undefined;
|
|
67
69
|
};
|
|
68
70
|
}[];
|
|
@@ -139,6 +141,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
139
141
|
};
|
|
140
142
|
description?: string | undefined;
|
|
141
143
|
primaryKey?: string | string[] | undefined;
|
|
144
|
+
sequenceBy?: string | undefined;
|
|
142
145
|
partitionBy?: string[] | undefined;
|
|
143
146
|
};
|
|
144
147
|
inputs: {
|
|
@@ -154,6 +157,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
154
157
|
};
|
|
155
158
|
description?: string | undefined;
|
|
156
159
|
primaryKey?: string | string[] | undefined;
|
|
160
|
+
sequenceBy?: string | undefined;
|
|
157
161
|
partitionBy?: string[] | undefined;
|
|
158
162
|
};
|
|
159
163
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KrE"}
|