@smartspace/api-client 0.1.0-dev.e946a8d → 0.1.0-dev.e9a246f

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 (35) hide show
  1. package/dist/generated/chat/api.d.ts +5 -1
  2. package/dist/generated/chat/api.js +19 -1
  3. package/dist/generated/chat/api.msw.d.ts +5 -1
  4. package/dist/generated/chat/api.msw.js +30 -2
  5. package/dist/generated/chat/models/index.d.ts +2 -0
  6. package/dist/generated/chat/models/index.js +2 -0
  7. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  8. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  9. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  10. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
  11. package/dist/generated/chat/zod.d.ts +19 -0
  12. package/dist/generated/chat/zod.js +22 -3
  13. package/dist/generated/config/api.d.ts +9 -1
  14. package/dist/generated/config/api.js +70 -2
  15. package/dist/generated/config/api.msw.d.ts +6 -0
  16. package/dist/generated/config/api.msw.js +68 -15
  17. package/dist/generated/config/models/containerItem.d.ts +3 -0
  18. package/dist/generated/config/models/containerItem.js +0 -6
  19. package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
  20. package/dist/generated/config/models/containerItemIngestion.js +8 -0
  21. package/dist/generated/config/models/containersPostParams.d.ts +4 -0
  22. package/dist/generated/config/models/flowValueModel.d.ts +4 -0
  23. package/dist/generated/config/models/index.d.ts +2 -0
  24. package/dist/generated/config/models/index.js +2 -0
  25. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +4 -0
  26. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
  27. package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
  28. package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
  29. package/dist/generated/config/models/syncsSync.d.ts +9 -4
  30. package/dist/generated/config/zod.d.ts +215 -5
  31. package/dist/generated/config/zod.js +223 -25
  32. package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +7 -0
  33. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +9 -9
  34. package/dist/signalr.d.ts +1 -1
  35. package/package.json +1 -1
@@ -7,6 +7,8 @@
7
7
  import type { IntegrationsSmartSpaceAiContainerItemFlowRunError } from './integrationsSmartSpaceAiContainerItemFlowRunError';
8
8
  import type { IntegrationsSmartSpaceAiIngestionRunTrigger } from './integrationsSmartSpaceAiIngestionRunTrigger';
9
9
  export interface IntegrationsSmartSpaceAiIngestionRun {
10
+ /** @nullable */
11
+ attempt?: number | null;
10
12
  /**
11
13
  * @nullable
12
14
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
@@ -18,6 +20,8 @@ export interface IntegrationsSmartSpaceAiIngestionRun {
18
20
  */
19
21
  containerId?: string | null;
20
22
  /** @nullable */
23
+ contentVersion?: string | null;
24
+ /** @nullable */
21
25
  createdAt?: string | null;
22
26
  /**
23
27
  * @nullable
@@ -45,6 +49,15 @@ export interface IntegrationsSmartSpaceAiIngestionRun {
45
49
  itemPath?: string | null;
46
50
  /** @nullable */
47
51
  itemVersion?: string | null;
52
+ /** @nullable */
53
+ reason?: string | null;
54
+ /**
55
+ * @nullable
56
+ * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
57
+ */
58
+ recordId?: string | null;
59
+ /** @nullable */
60
+ recordStatus?: string | null;
48
61
  /**
49
62
  * @nullable
50
63
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
@@ -54,4 +67,6 @@ export interface IntegrationsSmartSpaceAiIngestionRun {
54
67
  runAt?: string | null;
55
68
  status: string;
56
69
  trigger: IntegrationsSmartSpaceAiIngestionRunTrigger;
70
+ /** @nullable */
71
+ updatedAt?: string | null;
57
72
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export type SyncsGetPoisonedParams = {
8
+ skip?: number;
9
+ take?: number;
10
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,23 +11,28 @@ export interface SyncsSync {
11
11
  dataSets: ContainerDataSet[];
12
12
  dataSource: SyncsSyncDataSourceInfo;
13
13
  /** @nullable */
14
- filters?: string | null;
14
+ deletedItemCount?: number | null;
15
15
  /** @nullable */
16
- highwaterMark?: string | null;
16
+ filters?: string | null;
17
17
  /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
18
18
  id: string;
19
19
  /** @nullable */
20
+ latestSyncAcceptedCount?: number | null;
21
+ /** @nullable */
20
22
  latestSyncAt?: string | null;
23
+ latestSyncIsForThisSync: boolean;
21
24
  /** @nullable */
22
25
  latestSyncItemCount?: number | null;
23
26
  /** @nullable */
24
27
  latestSyncMessage?: string | null;
25
28
  /** @nullable */
29
+ latestSyncStartedAt?: string | null;
30
+ /** @nullable */
26
31
  latestSyncStatus?: string | null;
32
+ /** @nullable */
33
+ latestSyncUnaccountedCount?: number | null;
27
34
  name: string;
28
35
  path: string;
29
36
  /** @nullable */
30
37
  recentSyncs?: SyncsSyncRunInfo[] | null;
31
- /** @nullable */
32
- statusMessage?: string | null;
33
38
  }
@@ -647,8 +647,10 @@ export declare const containersPostParams: zod.ZodObject<{
647
647
  containerId: zod.ZodString;
648
648
  }, zod.core.$strict>;
649
649
  export declare const containersPostQueryDataSetIdRegExp: RegExp;
650
+ export declare const containersPostQueryRunIdRegExp: RegExp;
650
651
  export declare const containersPostQueryParams: zod.ZodObject<{
651
652
  dataSetId: zod.ZodOptional<zod.ZodString>;
653
+ runId: zod.ZodOptional<zod.ZodString>;
652
654
  }, zod.core.$strict>;
653
655
  export declare const containersPostResponseDataSetIdRegExp: RegExp;
654
656
  export declare const containersPostResponseDataSetVersionRegExp: RegExp;
@@ -1095,8 +1097,10 @@ export declare const dataSetsGetContainerItemsRunHistoryResponse: zod.ZodObject<
1095
1097
  status: zod.ZodString;
1096
1098
  }, zod.core.$strip>>;
1097
1099
  id: zod.ZodString;
1100
+ lastRunAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1098
1101
  name: zod.ZodString;
1099
1102
  path: zod.ZodString;
1103
+ runCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1100
1104
  status: zod.ZodString;
1101
1105
  }, zod.core.$strip>>;
1102
1106
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
@@ -1292,11 +1296,14 @@ export declare const dataSetsGetIngestionRunsResponseDataItemDataSetIdRegExp: Re
1292
1296
  export declare const dataSetsGetIngestionRunsResponseDataItemDataSetVersionRegExp: RegExp;
1293
1297
  export declare const dataSetsGetIngestionRunsResponseDataItemFlowRunIdRegExp: RegExp;
1294
1298
  export declare const dataSetsGetIngestionRunsResponseDataItemItemIdRegExp: RegExp;
1299
+ export declare const dataSetsGetIngestionRunsResponseDataItemRecordIdRegExp: RegExp;
1295
1300
  export declare const dataSetsGetIngestionRunsResponseDataItemRetryOfRegExp: RegExp;
1296
1301
  export declare const dataSetsGetIngestionRunsResponse: zod.ZodObject<{
1297
1302
  data: zod.ZodArray<zod.ZodObject<{
1303
+ attempt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1298
1304
  causedBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1299
1305
  containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1306
+ contentVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1300
1307
  createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1301
1308
  dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1302
1309
  dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -1311,6 +1318,9 @@ export declare const dataSetsGetIngestionRunsResponse: zod.ZodObject<{
1311
1318
  itemName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1312
1319
  itemPath: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1313
1320
  itemVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1321
+ reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1322
+ recordId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1323
+ recordStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1314
1324
  retryOf: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1315
1325
  runAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1316
1326
  status: zod.ZodString;
@@ -1318,6 +1328,7 @@ export declare const dataSetsGetIngestionRunsResponse: zod.ZodObject<{
1318
1328
  kind: zod.ZodString;
1319
1329
  principal: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1320
1330
  }, zod.core.$strip>;
1331
+ updatedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1321
1332
  }, zod.core.$strip>>;
1322
1333
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1323
1334
  total: zod.ZodNumber;
@@ -1352,6 +1363,74 @@ export declare const dataSetsPutSourceDeletesBody: zod.ZodObject<{
1352
1363
  containerId: zod.ZodString;
1353
1364
  honourSourceDeletes: zod.ZodBoolean;
1354
1365
  }, zod.core.$strict>;
1366
+ /**
1367
+ * Answered from the dataset, so it does not depend on whether the caller also
1368
+ administers the connectors behind those syncs. Unpaged — the set is bounded by
1369
+ the dataset's own triggers — but `scoped` is true when connector visibility
1370
+ hid some of them, so an empty list is never presented as "nothing feeds this".
1371
+ * @summary The syncs feeding this dataset — the connector selections whose landed items
1372
+ ingest into it, including any it shares with other datasets.
1373
+ */
1374
+ export declare const dataSetsGetSyncsPathIdRegExp: RegExp;
1375
+ export declare const dataSetsGetSyncsParams: zod.ZodObject<{
1376
+ id: zod.ZodString;
1377
+ }, zod.core.$strict>;
1378
+ export declare const dataSetsGetSyncsResponseDataItemDataSetsItemIdRegExp: RegExp;
1379
+ export declare const dataSetsGetSyncsResponseDataItemDataSetsItemVersionRegExp: RegExp;
1380
+ export declare const dataSetsGetSyncsResponseDataItemDataSourceIdRegExp: RegExp;
1381
+ export declare const dataSetsGetSyncsResponseDataItemIdRegExp: RegExp;
1382
+ export declare const dataSetsGetSyncsResponse: zod.ZodObject<{
1383
+ data: zod.ZodArray<zod.ZodObject<{
1384
+ dataSets: zod.ZodArray<zod.ZodObject<{
1385
+ id: zod.ZodString;
1386
+ name: zod.ZodString;
1387
+ version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1388
+ }, zod.core.$strip>>;
1389
+ dataSource: zod.ZodObject<{
1390
+ id: zod.ZodString;
1391
+ isQueued: zod.ZodBoolean;
1392
+ isSyncing: zod.ZodBoolean;
1393
+ name: zod.ZodString;
1394
+ sourceType: zod.ZodEnum<{
1395
+ BlobStorage: "BlobStorage";
1396
+ SqlServer: "SqlServer";
1397
+ AzureSql: "AzureSql";
1398
+ Cosmos: "Cosmos";
1399
+ GoogleDrive: "GoogleDrive";
1400
+ SharePoint: "SharePoint";
1401
+ SharePointSite: "SharePointSite";
1402
+ HubSpot: "HubSpot";
1403
+ AzureStorage: "AzureStorage";
1404
+ File: "File";
1405
+ Sitemap: "Sitemap";
1406
+ }>;
1407
+ supportsDeleteDetection: zod.ZodBoolean;
1408
+ syncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1409
+ }, zod.core.$strip>;
1410
+ deletedItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1411
+ filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1412
+ id: zod.ZodString;
1413
+ latestSyncAcceptedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1414
+ latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1415
+ latestSyncIsForThisSync: zod.ZodBoolean;
1416
+ latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1417
+ latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1418
+ latestSyncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1419
+ latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1420
+ latestSyncUnaccountedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1421
+ name: zod.ZodString;
1422
+ path: zod.ZodString;
1423
+ recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1424
+ end: zod.ZodISODateTime;
1425
+ itemCount: zod.ZodNumber;
1426
+ message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1427
+ start: zod.ZodISODateTime;
1428
+ status: zod.ZodString;
1429
+ }, zod.core.$strip>>>>;
1430
+ }, zod.core.$strip>>;
1431
+ scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1432
+ total: zod.ZodNumber;
1433
+ }, zod.core.$strip>;
1355
1434
  /**
1356
1435
  * @summary Fetch a list of all available data source types in SmartSpace.
1357
1436
  */
@@ -1632,7 +1711,8 @@ export declare const dataSourcesPreviewContainerResponse: zod.ZodObject<{
1632
1711
  }, zod.core.$strip>;
1633
1712
  /**
1634
1713
  * @summary Returns a JSON Schema object for the container's properties, used to drive the filter editor UI.
1635
- Schema shape: { type: "object", properties: { [name]: { type, title, enum? } } }
1714
+ Schema shape: { type: "object", properties: { [name]: { type, title, enum?, format? } } }
1715
+ format "date"/"date-time" marks date-valued properties (their filter values remain epoch-millisecond strings).
1636
1716
  containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
1637
1717
  */
1638
1718
  export declare const dataSourcesContainerSchemaPathDataSourceIdRegExp: RegExp;
@@ -1956,6 +2036,12 @@ export declare const debugInvokeParams: zod.ZodObject<{
1956
2036
  }, zod.core.$strict>;
1957
2037
  export declare const debugInvokeBodyItem: zod.ZodAny;
1958
2038
  export declare const debugInvokeBody: zod.ZodArray<zod.ZodAny>;
2039
+ /**
2040
+ * @summary The ingest pipeline, install-wide: depth and oldest-message age of the
2041
+ ingest and poison queues, and how many consumer replicas have a live
2042
+ heartbeat. Nothing reads a message body.
2043
+ */
2044
+ export declare const diagnosticsGetIngestQueueResponse: zod.ZodAny;
1959
2045
  /**
1960
2046
  * @summary Mongo index health for the flow-runs store: planned-vs-existing
1961
2047
  indexes per collection, the latest index-ensure outcome per index
@@ -2439,6 +2525,41 @@ export declare const flowRunsCancelFlowRunPathIdRegExpOne: RegExp;
2439
2525
  export declare const flowRunsCancelFlowRunParams: zod.ZodObject<{
2440
2526
  id: zod.ZodString;
2441
2527
  }, zod.core.$strict>;
2528
+ /**
2529
+ * Frames are unnamed SSE `data:` events, each carrying a `kind`:
2530
+ `snapshot` (rows + total; the AI side sends it first), `events`
2531
+ (rows that just changed, same shape), `lagged` and `gap` (both
2532
+ mean re-read; the stream stays attached), and `unavailable` (the
2533
+ feature is not enabled on the install; sent once, then the stream ends —
2534
+ do not retry).
2535
+
2536
+
2537
+ The client tracks no offset. The AI side attaches to its change stream
2538
+ before it reads the log, so rows written between the two arrive twice
2539
+ rather than not at all, and where it could not, or lost rows later, it
2540
+ sends `gap` or `lagged`. A reconnect simply starts with a fresh
2541
+ snapshot. This API relays that contract; it does not enforce it.
2542
+
2543
+
2544
+ The AI side sends rows with structure and timings and with value payloads
2545
+ left out — expand a step through M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetStepExecution(System.Guid,System.Guid) for those —
2546
+ and sends only persisted state, which does not include LLM token deltas.
2547
+ Nothing here strips a payload: a row is relayed as it arrives.
2548
+
2549
+
2550
+ This endpoint does not return 501. The AI side answers 501 when the
2551
+ feature is off, and that arrives here as the `unavailable` frame on a
2552
+ 200. Surfacing it as an exception instead would reach the caller as a
2553
+ generic 500, which loses the one thing it needs to know: that retrying
2554
+ will never help.
2555
+
2556
+ * @summary Live run events for a run: a snapshot of the run so far, then the tail,
2557
+ on one connection.
2558
+ */
2559
+ export declare const flowRunsStreamRunEventsPathIdRegExp: RegExp;
2560
+ export declare const flowRunsStreamRunEventsParams: zod.ZodObject<{
2561
+ id: zod.ZodString;
2562
+ }, zod.core.$strict>;
2442
2563
  export declare const flowRunsAddFileIdFilesPathIdRegExp: RegExp;
2443
2564
  export declare const flowRunsAddFileIdFilesParams: zod.ZodObject<{
2444
2565
  id: zod.ZodString;
@@ -3303,13 +3424,17 @@ export declare const syncsGetResponse: zod.ZodObject<{
3303
3424
  supportsDeleteDetection: zod.ZodBoolean;
3304
3425
  syncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3305
3426
  }, zod.core.$strip>;
3427
+ deletedItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3306
3428
  filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3307
- highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3308
3429
  id: zod.ZodString;
3430
+ latestSyncAcceptedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3309
3431
  latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3432
+ latestSyncIsForThisSync: zod.ZodBoolean;
3310
3433
  latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3311
3434
  latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3435
+ latestSyncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3312
3436
  latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3437
+ latestSyncUnaccountedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3313
3438
  name: zod.ZodString;
3314
3439
  path: zod.ZodString;
3315
3440
  recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
@@ -3319,7 +3444,6 @@ export declare const syncsGetResponse: zod.ZodObject<{
3319
3444
  start: zod.ZodISODateTime;
3320
3445
  status: zod.ZodString;
3321
3446
  }, zod.core.$strip>>>>;
3322
- statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3323
3447
  }, zod.core.$strip>>;
3324
3448
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3325
3449
  total: zod.ZodNumber;
@@ -3381,13 +3505,17 @@ export declare const syncsGetByIdResponse: zod.ZodObject<{
3381
3505
  supportsDeleteDetection: zod.ZodBoolean;
3382
3506
  syncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3383
3507
  }, zod.core.$strip>;
3508
+ deletedItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3384
3509
  filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3385
- highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3386
3510
  id: zod.ZodString;
3511
+ latestSyncAcceptedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3387
3512
  latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3513
+ latestSyncIsForThisSync: zod.ZodBoolean;
3388
3514
  latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3389
3515
  latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3516
+ latestSyncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3390
3517
  latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3518
+ latestSyncUnaccountedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3391
3519
  name: zod.ZodString;
3392
3520
  path: zod.ZodString;
3393
3521
  recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
@@ -3397,7 +3525,6 @@ export declare const syncsGetByIdResponse: zod.ZodObject<{
3397
3525
  start: zod.ZodISODateTime;
3398
3526
  status: zod.ZodString;
3399
3527
  }, zod.core.$strip>>>>;
3400
- statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3401
3528
  }, zod.core.$strip>;
3402
3529
  /**
3403
3530
  * @summary The sync's landed items (read-only metadata), proxied from the AI API's
@@ -3415,6 +3542,9 @@ export declare const syncsGetItemsQueryParams: zod.ZodObject<{
3415
3542
  }, zod.core.$strict>;
3416
3543
  export declare const syncsGetItemsResponseDataItemContainerIdRegExp: RegExp;
3417
3544
  export declare const syncsGetItemsResponseDataItemIdRegExp: RegExp;
3545
+ export declare const syncsGetItemsResponseDataItemIngestionItemDataSetIdRegExp: RegExp;
3546
+ export declare const syncsGetItemsResponseDataItemIngestionItemDataSetVersionRegExp: RegExp;
3547
+ export declare const syncsGetItemsResponseDataItemIngestionItemRecordIdRegExp: RegExp;
3418
3548
  export declare const syncsGetItemsResponse: zod.ZodObject<{
3419
3549
  data: zod.ZodArray<zod.ZodObject<{
3420
3550
  blobUri: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -3422,6 +3552,19 @@ export declare const syncsGetItemsResponse: zod.ZodObject<{
3422
3552
  containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3423
3553
  deletedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3424
3554
  id: zod.ZodString;
3555
+ ingestion: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3556
+ attempt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3557
+ contentVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3558
+ createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3559
+ dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3560
+ dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3561
+ reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3562
+ recordId: zod.ZodString;
3563
+ status: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3564
+ statusFromFlowRun: zod.ZodBoolean;
3565
+ trigger: zod.ZodString;
3566
+ updatedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3567
+ }, zod.core.$strip>>>>;
3425
3568
  isJson: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3426
3569
  name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3427
3570
  path: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -3430,6 +3573,65 @@ export declare const syncsGetItemsResponse: zod.ZodObject<{
3430
3573
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3431
3574
  total: zod.ZodNumber;
3432
3575
  }, zod.core.$strip>;
3576
+ /**
3577
+ * @summary The sync's dead-letter list: the ingestion run records the AI API's
3578
+ consumer gave up on, newest first, each with the reason. The poison queue
3579
+ holds the replay copies and is not read here. 502 when the install's AI
3580
+ API predates the route, rather than an opaque 500.
3581
+ */
3582
+ export declare const syncsGetPoisonedPathContainerIdRegExp: RegExp;
3583
+ export declare const syncsGetPoisonedParams: zod.ZodObject<{
3584
+ containerId: zod.ZodString;
3585
+ }, zod.core.$strict>;
3586
+ export declare const syncsGetPoisonedQuerySkipDefault = 0;
3587
+ export declare const syncsGetPoisonedQueryTakeDefault = 50;
3588
+ export declare const syncsGetPoisonedQueryParams: zod.ZodObject<{
3589
+ skip: zod.ZodOptional<zod.ZodNumber>;
3590
+ take: zod.ZodDefault<zod.ZodNumber>;
3591
+ }, zod.core.$strict>;
3592
+ export declare const syncsGetPoisonedResponseDataItemCausedByRegExp: RegExp;
3593
+ export declare const syncsGetPoisonedResponseDataItemContainerIdRegExp: RegExp;
3594
+ export declare const syncsGetPoisonedResponseDataItemDataSetIdRegExp: RegExp;
3595
+ export declare const syncsGetPoisonedResponseDataItemDataSetVersionRegExp: RegExp;
3596
+ export declare const syncsGetPoisonedResponseDataItemFlowRunIdRegExp: RegExp;
3597
+ export declare const syncsGetPoisonedResponseDataItemItemIdRegExp: RegExp;
3598
+ export declare const syncsGetPoisonedResponseDataItemRecordIdRegExp: RegExp;
3599
+ export declare const syncsGetPoisonedResponseDataItemRetryOfRegExp: RegExp;
3600
+ export declare const syncsGetPoisonedResponse: zod.ZodObject<{
3601
+ data: zod.ZodArray<zod.ZodObject<{
3602
+ attempt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3603
+ causedBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3604
+ containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3605
+ contentVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3606
+ createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3607
+ dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3608
+ dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3609
+ errors: zod.ZodArray<zod.ZodObject<{
3610
+ blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3611
+ code: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3612
+ message: zod.ZodString;
3613
+ }, zod.core.$strip>>;
3614
+ finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3615
+ flowRunId: zod.ZodString;
3616
+ itemId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3617
+ itemName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3618
+ itemPath: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3619
+ itemVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3620
+ reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3621
+ recordId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3622
+ recordStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3623
+ retryOf: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3624
+ runAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3625
+ status: zod.ZodString;
3626
+ trigger: zod.ZodObject<{
3627
+ kind: zod.ZodString;
3628
+ principal: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3629
+ }, zod.core.$strip>;
3630
+ updatedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3631
+ }, zod.core.$strip>>;
3632
+ scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3633
+ total: zod.ZodNumber;
3634
+ }, zod.core.$strip>;
3433
3635
  /**
3434
3636
  * @summary Gets Tenant Id
3435
3637
  */
@@ -4896,6 +5098,8 @@ export declare const messageThreadsGetWorkspaceExecutionsResponse: zod.ZodObject
4896
5098
  createdAt: zod.ZodISODateTime;
4897
5099
  data: zod.ZodAny;
4898
5100
  id: zod.ZodString;
5101
+ isBlob: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
5102
+ sizeBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
4899
5103
  source: zod.ZodObject<{
4900
5104
  node: zod.ZodString;
4901
5105
  pin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -4908,6 +5112,8 @@ export declare const messageThreadsGetWorkspaceExecutionsResponse: zod.ZodObject
4908
5112
  createdAt: zod.ZodISODateTime;
4909
5113
  data: zod.ZodAny;
4910
5114
  id: zod.ZodString;
5115
+ isBlob: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
5116
+ sizeBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
4911
5117
  source: zod.ZodObject<{
4912
5118
  node: zod.ZodString;
4913
5119
  pin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -4957,6 +5163,8 @@ export declare const messageThreadsGetStepExecutionsResponse: zod.ZodObject<{
4957
5163
  createdAt: zod.ZodISODateTime;
4958
5164
  data: zod.ZodAny;
4959
5165
  id: zod.ZodString;
5166
+ isBlob: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
5167
+ sizeBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
4960
5168
  source: zod.ZodObject<{
4961
5169
  node: zod.ZodString;
4962
5170
  pin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -4969,6 +5177,8 @@ export declare const messageThreadsGetStepExecutionsResponse: zod.ZodObject<{
4969
5177
  createdAt: zod.ZodISODateTime;
4970
5178
  data: zod.ZodAny;
4971
5179
  id: zod.ZodString;
5180
+ isBlob: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
5181
+ sizeBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
4972
5182
  source: zod.ZodObject<{
4973
5183
  node: zod.ZodString;
4974
5184
  pin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;