@sixb/server 0.1.19 → 0.1.21

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.
Files changed (103) hide show
  1. package/README.md +13 -22
  2. package/dist/artifacts/frame.d.ts +13 -0
  3. package/dist/artifacts/frame.d.ts.map +1 -0
  4. package/dist/auth/browser-origin.d.ts +9 -26
  5. package/dist/auth/browser-origin.d.ts.map +1 -1
  6. package/dist/auth/experience.d.ts +0 -3
  7. package/dist/auth/experience.d.ts.map +1 -1
  8. package/dist/auth/guard.d.ts +1 -1
  9. package/dist/auth/guard.d.ts.map +1 -1
  10. package/dist/auth/public-routes.d.ts +0 -5
  11. package/dist/auth/public-routes.d.ts.map +1 -1
  12. package/dist/auth/responses.d.ts +0 -2
  13. package/dist/auth/responses.d.ts.map +1 -1
  14. package/dist/auth/session-cookies.d.ts.map +1 -1
  15. package/dist/files/content.d.ts +2 -3
  16. package/dist/files/content.d.ts.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +3241 -2445
  20. package/dist/index.js.map +31 -26
  21. package/dist/openapi/tags.d.ts +10 -2
  22. package/dist/openapi/tags.d.ts.map +1 -1
  23. package/dist/registerRoutes.d.ts +3 -0
  24. package/dist/registerRoutes.d.ts.map +1 -1
  25. package/dist/routes/action-runs.d.ts +0 -2
  26. package/dist/routes/action-runs.d.ts.map +1 -1
  27. package/dist/routes/activity.d.ts +35 -0
  28. package/dist/routes/activity.d.ts.map +1 -0
  29. package/dist/routes/agents.d.ts +18 -29
  30. package/dist/routes/agents.d.ts.map +1 -1
  31. package/dist/routes/artifact-frames.d.ts +98 -0
  32. package/dist/routes/artifact-frames.d.ts.map +1 -0
  33. package/dist/routes/artifacts.d.ts +852 -0
  34. package/dist/routes/artifacts.d.ts.map +1 -0
  35. package/dist/routes/auth.d.ts +9 -18
  36. package/dist/routes/auth.d.ts.map +1 -1
  37. package/dist/routes/connector-connection-runs.d.ts +59 -59
  38. package/dist/routes/connector-connections.d.ts +2 -2
  39. package/dist/routes/datasets.d.ts +7 -7
  40. package/dist/routes/events.d.ts +1 -1
  41. package/dist/routes/objects.d.ts +0 -2
  42. package/dist/routes/objects.d.ts.map +1 -1
  43. package/dist/routes/pipelines.d.ts +31 -31
  44. package/dist/routes/projections.d.ts +10 -10
  45. package/dist/routes/share-grants.d.ts +5 -5
  46. package/dist/routes/syncs.d.ts +38 -38
  47. package/dist/routes/workflows.d.ts +30 -34
  48. package/dist/routes/workflows.d.ts.map +1 -1
  49. package/dist/routes/ws/events.d.ts.map +1 -1
  50. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  51. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  52. package/dist/schemas/activity.d.ts +1278 -0
  53. package/dist/schemas/activity.d.ts.map +1 -0
  54. package/dist/schemas/agents.d.ts +96 -144
  55. package/dist/schemas/agents.d.ts.map +1 -1
  56. package/dist/schemas/ai-accounting.d.ts +24 -24
  57. package/dist/schemas/ai-limits.d.ts +26 -26
  58. package/dist/schemas/artifacts.d.ts +1305 -0
  59. package/dist/schemas/artifacts.d.ts.map +1 -0
  60. package/dist/schemas/auth.d.ts +34 -69
  61. package/dist/schemas/auth.d.ts.map +1 -1
  62. package/dist/schemas/connectors.d.ts +30 -30
  63. package/dist/schemas/datasets.d.ts +10 -10
  64. package/dist/schemas/events.d.ts +6 -6
  65. package/dist/schemas/files.d.ts +0 -3
  66. package/dist/schemas/files.d.ts.map +1 -1
  67. package/dist/schemas/pipelines.d.ts +35 -35
  68. package/dist/schemas/projections.d.ts +40 -40
  69. package/dist/schemas/share-grants.d.ts +16 -16
  70. package/dist/schemas/syncs.d.ts +36 -36
  71. package/dist/schemas/workflows.d.ts +84 -84
  72. package/dist/server.d.ts +1 -2
  73. package/dist/server.d.ts.map +1 -1
  74. package/package.json +6 -6
  75. package/src/artifacts/frame.ts +46 -0
  76. package/src/auth/browser-origin.ts +40 -240
  77. package/src/auth/experience.ts +1 -4
  78. package/src/auth/guard.ts +4 -32
  79. package/src/auth/public-routes.ts +11 -10
  80. package/src/auth/responses.ts +0 -5
  81. package/src/auth/session-cookies.ts +1 -3
  82. package/src/auth/shared-access.ts +1 -1
  83. package/src/files/content.ts +9 -13
  84. package/src/index.ts +1 -1
  85. package/src/openapi/tags.ts +8 -0
  86. package/src/registerRoutes.ts +9 -0
  87. package/src/routes/activity.ts +327 -0
  88. package/src/routes/agents.ts +1 -1
  89. package/src/routes/artifact-frames.ts +138 -0
  90. package/src/routes/artifacts.ts +442 -0
  91. package/src/routes/auth.ts +32 -111
  92. package/src/routes/file-downloads.ts +1 -3
  93. package/src/routes/ws/events.ts +3 -2
  94. package/src/routes/ws/subscription-hub.ts +53 -20
  95. package/src/schemas/activity.ts +285 -0
  96. package/src/schemas/agents.ts +1 -2
  97. package/src/schemas/artifacts.ts +158 -0
  98. package/src/schemas/auth.ts +2 -15
  99. package/src/schemas/files.ts +0 -6
  100. package/src/server.ts +27 -24
  101. package/dist/auth/application-access.d.ts +0 -4
  102. package/dist/auth/application-access.d.ts.map +0 -1
  103. package/src/auth/application-access.ts +0 -15
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/schemas/artifacts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmEvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;EAAyC,CAAA;AAElF,eAAO,MAAM,2BAA2B;;;;;;;;;EAOtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;EAOtC,CAAA"}
@@ -1194,16 +1194,6 @@ export declare const AuthCreateInvitationCapabilitySchema: z.ZodUnion<[z.ZodObje
1194
1194
  reason: "missing_membership_policy" | "invitation_delivery_not_supported";
1195
1195
  state: "disabled";
1196
1196
  }>]>;
1197
- export declare const AuthInvitationDestinationSchema: z.ZodObject<{
1198
- id: z.ZodEnum<["atlas", "app"]>;
1199
- label: z.ZodString;
1200
- }, "strip", z.ZodTypeAny, {
1201
- id: "atlas" | "app";
1202
- label: string;
1203
- }, {
1204
- id: "atlas" | "app";
1205
- label: string;
1206
- }>;
1207
1197
  export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
1208
1198
  groups: z.ZodArray<z.ZodObject<{
1209
1199
  id: z.ZodString;
@@ -1218,17 +1208,6 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
1218
1208
  description?: string | undefined;
1219
1209
  label?: string | undefined;
1220
1210
  }>, "many">;
1221
- destinations: z.ZodArray<z.ZodObject<{
1222
- id: z.ZodEnum<["atlas", "app"]>;
1223
- label: z.ZodString;
1224
- }, "strip", z.ZodTypeAny, {
1225
- id: "atlas" | "app";
1226
- label: string;
1227
- }, {
1228
- id: "atlas" | "app";
1229
- label: string;
1230
- }>, "many">;
1231
- defaultDestinationId: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
1232
1211
  canInviteWithoutGroups: z.ZodBoolean;
1233
1212
  capabilities: z.ZodObject<{
1234
1213
  createInvitation: z.ZodUnion<[z.ZodObject<{
@@ -1276,12 +1255,7 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
1276
1255
  description?: string | undefined;
1277
1256
  label?: string | undefined;
1278
1257
  }[];
1279
- destinations: {
1280
- id: "atlas" | "app";
1281
- label: string;
1282
- }[];
1283
1258
  canInviteWithoutGroups: boolean;
1284
- defaultDestinationId?: "atlas" | "app" | undefined;
1285
1259
  }, {
1286
1260
  capabilities: {
1287
1261
  createInvitation: {
@@ -1296,12 +1270,7 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
1296
1270
  description?: string | undefined;
1297
1271
  label?: string | undefined;
1298
1272
  }[];
1299
- destinations: {
1300
- id: "atlas" | "app";
1301
- label: string;
1302
- }[];
1303
1273
  canInviteWithoutGroups: boolean;
1304
- defaultDestinationId?: "atlas" | "app" | undefined;
1305
1274
  }>;
1306
1275
  export declare const GetAuthMembershipOptionsResponseSchema: z.ZodObject<{
1307
1276
  groups: z.ZodArray<z.ZodObject<{
@@ -1317,21 +1286,38 @@ export declare const GetAuthMembershipOptionsResponseSchema: z.ZodObject<{
1317
1286
  description?: string | undefined;
1318
1287
  label?: string | undefined;
1319
1288
  }>, "many">;
1289
+ serviceAccountGroups: z.ZodArray<z.ZodObject<{
1290
+ id: z.ZodString;
1291
+ label: z.ZodOptional<z.ZodString>;
1292
+ description: z.ZodOptional<z.ZodString>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ id: string;
1295
+ description?: string | undefined;
1296
+ label?: string | undefined;
1297
+ }, {
1298
+ id: string;
1299
+ description?: string | undefined;
1300
+ label?: string | undefined;
1301
+ }>, "many">;
1320
1302
  capabilities: z.ZodObject<{
1321
1303
  invite: z.ZodBoolean;
1322
1304
  assignGroups: z.ZodBoolean;
1323
1305
  suspend: z.ZodBoolean;
1306
+ serviceAccounts: z.ZodBoolean;
1324
1307
  }, "strip", z.ZodTypeAny, {
1308
+ serviceAccounts: boolean;
1325
1309
  assignGroups: boolean;
1326
1310
  suspend: boolean;
1327
1311
  invite: boolean;
1328
1312
  }, {
1313
+ serviceAccounts: boolean;
1329
1314
  assignGroups: boolean;
1330
1315
  suspend: boolean;
1331
1316
  invite: boolean;
1332
1317
  }>;
1333
1318
  }, "strip", z.ZodTypeAny, {
1334
1319
  capabilities: {
1320
+ serviceAccounts: boolean;
1335
1321
  assignGroups: boolean;
1336
1322
  suspend: boolean;
1337
1323
  invite: boolean;
@@ -1341,8 +1327,14 @@ export declare const GetAuthMembershipOptionsResponseSchema: z.ZodObject<{
1341
1327
  description?: string | undefined;
1342
1328
  label?: string | undefined;
1343
1329
  }[];
1330
+ serviceAccountGroups: {
1331
+ id: string;
1332
+ description?: string | undefined;
1333
+ label?: string | undefined;
1334
+ }[];
1344
1335
  }, {
1345
1336
  capabilities: {
1337
+ serviceAccounts: boolean;
1346
1338
  assignGroups: boolean;
1347
1339
  suspend: boolean;
1348
1340
  invite: boolean;
@@ -1352,6 +1344,11 @@ export declare const GetAuthMembershipOptionsResponseSchema: z.ZodObject<{
1352
1344
  description?: string | undefined;
1353
1345
  label?: string | undefined;
1354
1346
  }[];
1347
+ serviceAccountGroups: {
1348
+ id: string;
1349
+ description?: string | undefined;
1350
+ label?: string | undefined;
1351
+ }[];
1355
1352
  }>;
1356
1353
  export declare const ListAuthMembersQuerySchema: z.ZodObject<{
1357
1354
  limit: z.ZodOptional<z.ZodString>;
@@ -1759,7 +1756,6 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1759
1756
  export declare const CreateAuthInvitationBodySchema: z.ZodObject<{
1760
1757
  email: z.ZodString;
1761
1758
  groupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1762
- destinationId: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
1763
1759
  expiresAt: z.ZodOptional<z.ZodString>;
1764
1760
  returnTo: z.ZodOptional<z.ZodString>;
1765
1761
  revealLink: z.ZodOptional<z.ZodBoolean>;
@@ -1768,14 +1764,12 @@ export declare const CreateAuthInvitationBodySchema: z.ZodObject<{
1768
1764
  returnTo?: string | undefined;
1769
1765
  expiresAt?: string | undefined;
1770
1766
  groupIds?: string[] | undefined;
1771
- destinationId?: "atlas" | "app" | undefined;
1772
1767
  revealLink?: boolean | undefined;
1773
1768
  }, {
1774
1769
  email: string;
1775
1770
  returnTo?: string | undefined;
1776
1771
  expiresAt?: string | undefined;
1777
1772
  groupIds?: string[] | undefined;
1778
- destinationId?: "atlas" | "app" | undefined;
1779
1773
  revealLink?: boolean | undefined;
1780
1774
  }>;
1781
1775
  export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
@@ -2037,17 +2031,6 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2037
2031
  authenticated: z.ZodLiteral<true>;
2038
2032
  /** Browser sessions only: send it back in `x-sixb-csrf` on mutations. */
2039
2033
  csrfToken: z.ZodOptional<z.ZodString>;
2040
- /** Whether the user may open a web app: the browser session's own, or Atlas for a native client. */
2041
- applicationAccess: z.ZodObject<{
2042
- allowed: z.ZodBoolean;
2043
- audience: z.ZodEnum<["atlas", "app"]>;
2044
- }, "strip", z.ZodTypeAny, {
2045
- audience: "atlas" | "app";
2046
- allowed: boolean;
2047
- }, {
2048
- audience: "atlas" | "app";
2049
- allowed: boolean;
2050
- }>;
2051
2034
  user: z.ZodObject<{
2052
2035
  id: z.ZodString;
2053
2036
  email: z.ZodString;
@@ -2090,10 +2073,6 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2090
2073
  avatarUrl?: string | undefined;
2091
2074
  };
2092
2075
  authenticated: true;
2093
- applicationAccess: {
2094
- audience: "atlas" | "app";
2095
- allowed: boolean;
2096
- };
2097
2076
  csrfToken?: string | undefined;
2098
2077
  }, {
2099
2078
  session: {
@@ -2108,10 +2087,6 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2108
2087
  avatarUrl?: string | undefined;
2109
2088
  };
2110
2089
  authenticated: true;
2111
- applicationAccess: {
2112
- audience: "atlas" | "app";
2113
- allowed: boolean;
2114
- };
2115
2090
  csrfToken?: string | undefined;
2116
2091
  }>]>;
2117
2092
  export declare const AuthSignOutResponseSchema: z.ZodObject<{
@@ -2231,8 +2206,6 @@ export declare const DeviceAuthorizationDecisionBodySchema: z.ZodObject<{
2231
2206
  }>;
2232
2207
  export declare const AuthSessionSummarySchema: z.ZodObject<{
2233
2208
  id: z.ZodString;
2234
- /** The web app a browser session belongs to. Native clients' sessions have none. */
2235
- audience: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
2236
2209
  current: z.ZodBoolean;
2237
2210
  createdAt: z.ZodString;
2238
2211
  expiresAt: z.ZodString;
@@ -2246,9 +2219,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2246
2219
  expiresAt: string;
2247
2220
  createdAt: string;
2248
2221
  current: boolean;
2249
- audience?: "atlas" | "app" | undefined;
2250
- clientName?: string | undefined;
2251
2222
  lastSeenAt?: string | undefined;
2223
+ clientName?: string | undefined;
2252
2224
  userAgent?: string | undefined;
2253
2225
  ipAddress?: string | undefined;
2254
2226
  }, {
@@ -2256,17 +2228,14 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2256
2228
  expiresAt: string;
2257
2229
  createdAt: string;
2258
2230
  current: boolean;
2259
- audience?: "atlas" | "app" | undefined;
2260
- clientName?: string | undefined;
2261
2231
  lastSeenAt?: string | undefined;
2232
+ clientName?: string | undefined;
2262
2233
  userAgent?: string | undefined;
2263
2234
  ipAddress?: string | undefined;
2264
2235
  }>;
2265
2236
  export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2266
2237
  sessions: z.ZodArray<z.ZodObject<{
2267
2238
  id: z.ZodString;
2268
- /** The web app a browser session belongs to. Native clients' sessions have none. */
2269
- audience: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
2270
2239
  current: z.ZodBoolean;
2271
2240
  createdAt: z.ZodString;
2272
2241
  expiresAt: z.ZodString;
@@ -2280,9 +2249,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2280
2249
  expiresAt: string;
2281
2250
  createdAt: string;
2282
2251
  current: boolean;
2283
- audience?: "atlas" | "app" | undefined;
2284
- clientName?: string | undefined;
2285
2252
  lastSeenAt?: string | undefined;
2253
+ clientName?: string | undefined;
2286
2254
  userAgent?: string | undefined;
2287
2255
  ipAddress?: string | undefined;
2288
2256
  }, {
@@ -2290,9 +2258,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2290
2258
  expiresAt: string;
2291
2259
  createdAt: string;
2292
2260
  current: boolean;
2293
- audience?: "atlas" | "app" | undefined;
2294
- clientName?: string | undefined;
2295
2261
  lastSeenAt?: string | undefined;
2262
+ clientName?: string | undefined;
2296
2263
  userAgent?: string | undefined;
2297
2264
  ipAddress?: string | undefined;
2298
2265
  }>, "many">;
@@ -2302,9 +2269,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2302
2269
  expiresAt: string;
2303
2270
  createdAt: string;
2304
2271
  current: boolean;
2305
- audience?: "atlas" | "app" | undefined;
2306
- clientName?: string | undefined;
2307
2272
  lastSeenAt?: string | undefined;
2273
+ clientName?: string | undefined;
2308
2274
  userAgent?: string | undefined;
2309
2275
  ipAddress?: string | undefined;
2310
2276
  }[];
@@ -2314,9 +2280,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2314
2280
  expiresAt: string;
2315
2281
  createdAt: string;
2316
2282
  current: boolean;
2317
- audience?: "atlas" | "app" | undefined;
2318
- clientName?: string | undefined;
2319
2283
  lastSeenAt?: string | undefined;
2284
+ clientName?: string | undefined;
2320
2285
  userAgent?: string | undefined;
2321
2286
  ipAddress?: string | undefined;
2322
2287
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/schemas/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7C,CAAA;AAEF,eAAO,MAAM,yBAAyB;;IAGlC;;;OAGG;;;;;;;;;;IAKH,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAc3E,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;EAEpC,CAAA;AAEF,eAAO,MAAM,mCAAmC;IAC9C,8FAA8F;;;;;;EAE9F,CAAA;AAEF,yGAAyG;AACzG,eAAO,MAAM,yBAAyB;;;IAGpC,8CAA8C;;;;;;;;;;EAE9C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;EAOlD,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;EAEhD,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;IArBpD,8CAA8C;;;;;;;;;;;;;;IA0B9C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAIhD,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;IAQnC,+CAA+C;;;;;;;;;;;;;;;;;;;;EAE/C,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;QAJzC,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/C,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAA"}
@@ -230,10 +230,10 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
230
230
  }, "strip", z.ZodTypeAny, {
231
231
  status: "connected" | "needs_reauthorization" | "disconnected";
232
232
  id: string;
233
- connectorId: string;
234
233
  owner: {
235
234
  type: "project";
236
235
  };
236
+ connectorId: string;
237
237
  slot: string;
238
238
  account: {
239
239
  id: string;
@@ -244,10 +244,10 @@ export declare const ConnectorConnectionSchema: z.ZodObject<{
244
244
  }, {
245
245
  status: "connected" | "needs_reauthorization" | "disconnected";
246
246
  id: string;
247
- connectorId: string;
248
247
  owner: {
249
248
  type: "project";
250
249
  };
250
+ connectorId: string;
251
251
  slot: string;
252
252
  account: {
253
253
  id: string;
@@ -281,10 +281,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
281
281
  expiresAt: string;
282
282
  createdAt: string;
283
283
  updatedAt: string;
284
- connectorId: string;
285
284
  owner: {
286
285
  type: "project";
287
286
  };
287
+ connectorId: string;
288
288
  slot: string;
289
289
  waitingFor: "provider_authorization";
290
290
  }, {
@@ -294,10 +294,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
294
294
  expiresAt: string;
295
295
  createdAt: string;
296
296
  updatedAt: string;
297
- connectorId: string;
298
297
  owner: {
299
298
  type: "project";
300
299
  };
300
+ connectorId: string;
301
301
  slot: string;
302
302
  waitingFor: "provider_authorization";
303
303
  }>, z.ZodObject<{
@@ -322,10 +322,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
322
322
  kind: "connect" | "reauthorize";
323
323
  createdAt: string;
324
324
  updatedAt: string;
325
- connectorId: string;
326
325
  owner: {
327
326
  type: "project";
328
327
  };
328
+ connectorId: string;
329
329
  slot: string;
330
330
  }, {
331
331
  status: "running";
@@ -333,10 +333,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
333
333
  kind: "connect" | "reauthorize";
334
334
  createdAt: string;
335
335
  updatedAt: string;
336
- connectorId: string;
337
336
  owner: {
338
337
  type: "project";
339
338
  };
339
+ connectorId: string;
340
340
  slot: string;
341
341
  }>, z.ZodObject<{
342
342
  id: z.ZodString;
@@ -377,10 +377,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
377
377
  kind: "connect" | "reauthorize";
378
378
  createdAt: string;
379
379
  updatedAt: string;
380
- connectorId: string;
381
380
  owner: {
382
381
  type: "project";
383
382
  };
383
+ connectorId: string;
384
384
  slot: string;
385
385
  waitingFor: "account_selection";
386
386
  accounts: {
@@ -395,10 +395,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
395
395
  kind: "connect" | "reauthorize";
396
396
  createdAt: string;
397
397
  updatedAt: string;
398
- connectorId: string;
399
398
  owner: {
400
399
  type: "project";
401
400
  };
401
+ connectorId: string;
402
402
  slot: string;
403
403
  waitingFor: "account_selection";
404
404
  accounts: {
@@ -454,10 +454,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
454
454
  }, "strip", z.ZodTypeAny, {
455
455
  status: "connected" | "needs_reauthorization" | "disconnected";
456
456
  id: string;
457
- connectorId: string;
458
457
  owner: {
459
458
  type: "project";
460
459
  };
460
+ connectorId: string;
461
461
  slot: string;
462
462
  account: {
463
463
  id: string;
@@ -468,10 +468,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
468
468
  }, {
469
469
  status: "connected" | "needs_reauthorization" | "disconnected";
470
470
  id: string;
471
- connectorId: string;
472
471
  owner: {
473
472
  type: "project";
474
473
  };
474
+ connectorId: string;
475
475
  slot: string;
476
476
  account: {
477
477
  id: string;
@@ -488,18 +488,13 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
488
488
  finishedAt: string;
489
489
  createdAt: string;
490
490
  updatedAt: string;
491
- connectorId: string;
492
- owner: {
493
- type: "project";
494
- };
495
- slot: string;
496
491
  connections: {
497
492
  status: "connected" | "needs_reauthorization" | "disconnected";
498
493
  id: string;
499
- connectorId: string;
500
494
  owner: {
501
495
  type: "project";
502
496
  };
497
+ connectorId: string;
503
498
  slot: string;
504
499
  account: {
505
500
  id: string;
@@ -508,6 +503,11 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
508
503
  avatarUrl?: string | undefined;
509
504
  };
510
505
  }[];
506
+ owner: {
507
+ type: "project";
508
+ };
509
+ connectorId: string;
510
+ slot: string;
511
511
  }, {
512
512
  status: "succeeded";
513
513
  id: string;
@@ -515,18 +515,13 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
515
515
  finishedAt: string;
516
516
  createdAt: string;
517
517
  updatedAt: string;
518
- connectorId: string;
519
- owner: {
520
- type: "project";
521
- };
522
- slot: string;
523
518
  connections: {
524
519
  status: "connected" | "needs_reauthorization" | "disconnected";
525
520
  id: string;
526
- connectorId: string;
527
521
  owner: {
528
522
  type: "project";
529
523
  };
524
+ connectorId: string;
530
525
  slot: string;
531
526
  account: {
532
527
  id: string;
@@ -535,6 +530,11 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
535
530
  avatarUrl?: string | undefined;
536
531
  };
537
532
  }[];
533
+ owner: {
534
+ type: "project";
535
+ };
536
+ connectorId: string;
537
+ slot: string;
538
538
  }>, z.ZodObject<{
539
539
  id: z.ZodString;
540
540
  connectorId: z.ZodString;
@@ -561,10 +561,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
561
561
  finishedAt: string;
562
562
  createdAt: string;
563
563
  updatedAt: string;
564
- connectorId: string;
565
564
  owner: {
566
565
  type: "project";
567
566
  };
567
+ connectorId: string;
568
568
  slot: string;
569
569
  }, {
570
570
  error: ConnectorConnectionRunFailure;
@@ -574,10 +574,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
574
574
  finishedAt: string;
575
575
  createdAt: string;
576
576
  updatedAt: string;
577
- connectorId: string;
578
577
  owner: {
579
578
  type: "project";
580
579
  };
580
+ connectorId: string;
581
581
  slot: string;
582
582
  }>, z.ZodObject<{
583
583
  id: z.ZodString;
@@ -603,10 +603,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
603
603
  finishedAt: string;
604
604
  createdAt: string;
605
605
  updatedAt: string;
606
- connectorId: string;
607
606
  owner: {
608
607
  type: "project";
609
608
  };
609
+ connectorId: string;
610
610
  slot: string;
611
611
  }, {
612
612
  status: "expired" | "cancelled";
@@ -615,10 +615,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
615
615
  finishedAt: string;
616
616
  createdAt: string;
617
617
  updatedAt: string;
618
- connectorId: string;
619
618
  owner: {
620
619
  type: "project";
621
620
  };
621
+ connectorId: string;
622
622
  slot: string;
623
623
  }>]>;
624
624
  export declare const StartConnectorConnectionRunBodySchema: z.ZodObject<{
@@ -679,10 +679,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
679
679
  }, "strip", z.ZodTypeAny, {
680
680
  status: "connected" | "needs_reauthorization" | "disconnected";
681
681
  id: string;
682
- connectorId: string;
683
682
  owner: {
684
683
  type: "project";
685
684
  };
685
+ connectorId: string;
686
686
  slot: string;
687
687
  account: {
688
688
  id: string;
@@ -693,10 +693,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
693
693
  }, {
694
694
  status: "connected" | "needs_reauthorization" | "disconnected";
695
695
  id: string;
696
- connectorId: string;
697
696
  owner: {
698
697
  type: "project";
699
698
  };
699
+ connectorId: string;
700
700
  slot: string;
701
701
  account: {
702
702
  id: string;
@@ -711,10 +711,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
711
711
  affectedConnections: {
712
712
  status: "connected" | "needs_reauthorization" | "disconnected";
713
713
  id: string;
714
- connectorId: string;
715
714
  owner: {
716
715
  type: "project";
717
716
  };
717
+ connectorId: string;
718
718
  slot: string;
719
719
  account: {
720
720
  id: string;
@@ -729,10 +729,10 @@ export declare const StartConnectorConnectionRunResponseSchema: z.ZodObject<{
729
729
  affectedConnections: {
730
730
  status: "connected" | "needs_reauthorization" | "disconnected";
731
731
  id: string;
732
- connectorId: string;
733
732
  owner: {
734
733
  type: "project";
735
734
  };
735
+ connectorId: string;
736
736
  slot: string;
737
737
  account: {
738
738
  id: string;
@@ -32,13 +32,13 @@ export declare const DatasetRowsQuerySchema: z.ZodObject<{
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  limit?: string | undefined;
34
34
  offset?: string | undefined;
35
- versionId?: string | undefined;
36
35
  columns?: string[] | undefined;
36
+ versionId?: string | undefined;
37
37
  }, {
38
38
  limit?: string | undefined;
39
39
  offset?: string | undefined;
40
- versionId?: string | undefined;
41
40
  columns?: unknown;
41
+ versionId?: string | undefined;
42
42
  }>;
43
43
  export declare const DatasetColumnSchema: z.ZodObject<{
44
44
  name: z.ZodString;
@@ -358,8 +358,6 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
358
358
  nullable?: boolean | undefined;
359
359
  }[];
360
360
  };
361
- syncIds: string[];
362
- materialized: boolean;
363
361
  latestVersion: {
364
362
  mode: "append" | "schema" | "merge" | "snapshot";
365
363
  createdAt: string;
@@ -367,6 +365,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
367
365
  versionId: string;
368
366
  rowCount?: number | undefined;
369
367
  } | null;
368
+ syncIds: string[];
369
+ materialized: boolean;
370
370
  sourcePipelineIds: string[];
371
371
  targetPipelineIds: string[];
372
372
  projectionIds: string[];
@@ -384,8 +384,6 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
384
384
  nullable?: boolean | undefined;
385
385
  }[];
386
386
  };
387
- syncIds: string[];
388
- materialized: boolean;
389
387
  latestVersion: {
390
388
  mode: "append" | "schema" | "merge" | "snapshot";
391
389
  createdAt: string;
@@ -393,6 +391,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
393
391
  versionId: string;
394
392
  rowCount?: number | undefined;
395
393
  } | null;
394
+ syncIds: string[];
395
+ materialized: boolean;
396
396
  sourcePipelineIds: string[];
397
397
  targetPipelineIds: string[];
398
398
  projectionIds: string[];
@@ -721,10 +721,10 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
721
721
  limit: number;
722
722
  offset: number;
723
723
  hasMore: boolean;
724
+ rows: Record<string, unknown>[];
725
+ columns: string[];
724
726
  datasetId: string;
725
727
  versionId: string;
726
- columns: string[];
727
- rows: Record<string, unknown>[];
728
728
  total?: number | undefined;
729
729
  redactions?: Record<string, {
730
730
  reason: "missing_clearance";
@@ -759,10 +759,10 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
759
759
  limit: number;
760
760
  offset: number;
761
761
  hasMore: boolean;
762
+ rows: Record<string, unknown>[];
763
+ columns: string[];
762
764
  datasetId: string;
763
765
  versionId: string;
764
- columns: string[];
765
- rows: Record<string, unknown>[];
766
766
  total?: number | undefined;
767
767
  redactions?: Record<string, {
768
768
  reason: "missing_clearance";