@smartspace/api-client 0.1.0-dev.16af746 → 0.1.0-dev.187ccbe

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 +60 -32
  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 +13 -1
  14. package/dist/generated/config/api.js +88 -2
  15. package/dist/generated/config/api.msw.d.ts +11 -1
  16. package/dist/generated/config/api.msw.js +171 -90
  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/index.d.ts +4 -0
  23. package/dist/generated/config/models/index.js +4 -0
  24. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  25. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  26. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  27. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
  28. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +4 -0
  29. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
  30. package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
  31. package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
  32. package/dist/generated/config/models/syncsSync.d.ts +9 -4
  33. package/dist/generated/config/zod.d.ts +226 -5
  34. package/dist/generated/config/zod.js +234 -25
  35. package/package.json +1 -1
@@ -4,6 +4,7 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ import type { ContainerItemIngestion } from './containerItemIngestion';
7
8
  export interface ContainerItem {
8
9
  /** @nullable */
9
10
  blobUri?: string | null;
@@ -19,6 +20,8 @@ export interface ContainerItem {
19
20
  /** @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}$ */
20
21
  id: string;
21
22
  /** @nullable */
23
+ ingestion?: ContainerItemIngestion[] | null;
24
+ /** @nullable */
22
25
  isJson?: boolean | null;
23
26
  /** @nullable */
24
27
  name?: string | null;
@@ -1,8 +1,2 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
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 interface ContainerItemIngestion {
8
+ /** @nullable */
9
+ attempt?: number | null;
10
+ /** @nullable */
11
+ contentVersion?: string | null;
12
+ /** @nullable */
13
+ createdAt?: string | null;
14
+ /**
15
+ * @nullable
16
+ * @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}$
17
+ */
18
+ dataSetId?: string | null;
19
+ /**
20
+ * @nullable
21
+ * @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}$
22
+ */
23
+ dataSetVersion?: string | null;
24
+ /** @nullable */
25
+ reason?: string | null;
26
+ /** @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}$ */
27
+ recordId: string;
28
+ /** @nullable */
29
+ status?: string | null;
30
+ statusFromFlowRun: boolean;
31
+ trigger: string;
32
+ /** @nullable */
33
+ updatedAt?: string | null;
34
+ }
@@ -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 });
@@ -9,4 +9,8 @@ export type ContainersPostParams = {
9
9
  * @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}$
10
10
  */
11
11
  dataSetId?: string;
12
+ /**
13
+ * @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}$
14
+ */
15
+ runId?: string;
12
16
  };
@@ -74,6 +74,7 @@ export * from './connectorsResolvedConnectorHeaders';
74
74
  export * from './connectorsUpdateConnector';
75
75
  export * from './containerDataSet';
76
76
  export * from './containerItem';
77
+ export * from './containerItemIngestion';
77
78
  export * from './containersPostParams';
78
79
  export * from './coreDeploymentEnumsDeploymentStatus';
79
80
  export * from './coreManagementInstallParameterDefinitionModel';
@@ -224,6 +225,8 @@ export * from './flowsFlowWorkSpace';
224
225
  export * from './functionExecutionDebugModel';
225
226
  export * from './integrationsAzureArmAzureLocation';
226
227
  export * from './integrationsAzureArmVirtualMachineSize';
228
+ export * from './integrationsAzureSpeechSpeechConfig';
229
+ export * from './integrationsAzureSpeechSpeechToken';
227
230
  export * from './integrationsAzureStorageSasToken';
228
231
  export * from './integrationsSmartSpaceAiBlockInputModel';
229
232
  export * from './integrationsSmartSpaceAiBlockSourceResponse';
@@ -306,6 +309,7 @@ export * from './sandBoxGetThreadMessagesParams';
306
309
  export * from './servicePrincipalsGetServicePrincipalsParams';
307
310
  export * from './syncsGetItemsParams';
308
311
  export * from './syncsGetParams';
312
+ export * from './syncsGetPoisonedParams';
309
313
  export * from './syncsSync';
310
314
  export * from './syncsSyncDataSourceInfo';
311
315
  export * from './syncsSyncQueueState';
@@ -90,6 +90,7 @@ __exportStar(require("./connectorsResolvedConnectorHeaders"), exports);
90
90
  __exportStar(require("./connectorsUpdateConnector"), exports);
91
91
  __exportStar(require("./containerDataSet"), exports);
92
92
  __exportStar(require("./containerItem"), exports);
93
+ __exportStar(require("./containerItemIngestion"), exports);
93
94
  __exportStar(require("./containersPostParams"), exports);
94
95
  __exportStar(require("./coreDeploymentEnumsDeploymentStatus"), exports);
95
96
  __exportStar(require("./coreManagementInstallParameterDefinitionModel"), exports);
@@ -240,6 +241,8 @@ __exportStar(require("./flowsFlowWorkSpace"), exports);
240
241
  __exportStar(require("./functionExecutionDebugModel"), exports);
241
242
  __exportStar(require("./integrationsAzureArmAzureLocation"), exports);
242
243
  __exportStar(require("./integrationsAzureArmVirtualMachineSize"), exports);
244
+ __exportStar(require("./integrationsAzureSpeechSpeechConfig"), exports);
245
+ __exportStar(require("./integrationsAzureSpeechSpeechToken"), exports);
243
246
  __exportStar(require("./integrationsAzureStorageSasToken"), exports);
244
247
  __exportStar(require("./integrationsSmartSpaceAiBlockInputModel"), exports);
245
248
  __exportStar(require("./integrationsSmartSpaceAiBlockSourceResponse"), exports);
@@ -322,6 +325,7 @@ __exportStar(require("./sandBoxGetThreadMessagesParams"), exports);
322
325
  __exportStar(require("./servicePrincipalsGetServicePrincipalsParams"), exports);
323
326
  __exportStar(require("./syncsGetItemsParams"), exports);
324
327
  __exportStar(require("./syncsGetParams"), exports);
328
+ __exportStar(require("./syncsGetPoisonedParams"), exports);
325
329
  __exportStar(require("./syncsSync"), exports);
326
330
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
327
331
  __exportStar(require("./syncsSyncQueueState"), exports);
@@ -0,0 +1,12 @@
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 interface IntegrationsAzureSpeechSpeechConfig {
8
+ defaultLocale: string;
9
+ enabled: boolean;
10
+ /** @nullable */
11
+ region?: string | null;
12
+ }
@@ -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 });
@@ -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 interface IntegrationsAzureSpeechSpeechToken {
8
+ expiresOn: string;
9
+ token: string;
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 });
@@ -14,7 +14,11 @@ export interface IntegrationsSmartSpaceAiContainerItemRunHistory {
14
14
  flowRuns: IntegrationsSmartSpaceAiContainerItemFlowRun[];
15
15
  /** @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}$ */
16
16
  id: string;
17
+ /** @nullable */
18
+ lastRunAt?: string | null;
17
19
  name: string;
18
20
  path: string;
21
+ /** @nullable */
22
+ runCount?: number | null;
19
23
  status: string;
20
24
  }
@@ -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;
@@ -3253,6 +3374,25 @@ export declare const servicePrincipalsGetServicePrincipalsResponse: zod.ZodObjec
3253
3374
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3254
3375
  total: zod.ZodNumber;
3255
3376
  }, zod.core.$strip>;
3377
+ /**
3378
+ * @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
3379
+ should connect. The UI decides whether to render the microphone from this, so it answers for
3380
+ the install rather than failing: an install without speech reports enabled = false.
3381
+ */
3382
+ export declare const speechGetConfigResponse: zod.ZodObject<{
3383
+ defaultLocale: zod.ZodString;
3384
+ enabled: zod.ZodBoolean;
3385
+ region: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3386
+ }, zod.core.$strip>;
3387
+ /**
3388
+ * @summary A token from this install's Speech account token service, which the browser passes straight
3389
+ to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
3390
+ recognition on this one resource in one region.
3391
+ */
3392
+ export declare const speechGetTokenResponse: zod.ZodObject<{
3393
+ expiresOn: zod.ZodISODateTime;
3394
+ token: zod.ZodString;
3395
+ }, zod.core.$strip>;
3256
3396
  /**
3257
3397
  * @summary List configured syncs. status matches the data
3258
3398
  source's latest completed sync (e.g. Success / Failure), or "never"
@@ -3303,13 +3443,17 @@ export declare const syncsGetResponse: zod.ZodObject<{
3303
3443
  supportsDeleteDetection: zod.ZodBoolean;
3304
3444
  syncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3305
3445
  }, zod.core.$strip>;
3446
+ deletedItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3306
3447
  filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3307
- highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3308
3448
  id: zod.ZodString;
3449
+ latestSyncAcceptedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3309
3450
  latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3451
+ latestSyncIsForThisSync: zod.ZodBoolean;
3310
3452
  latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3311
3453
  latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3454
+ latestSyncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3312
3455
  latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3456
+ latestSyncUnaccountedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3313
3457
  name: zod.ZodString;
3314
3458
  path: zod.ZodString;
3315
3459
  recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
@@ -3319,7 +3463,6 @@ export declare const syncsGetResponse: zod.ZodObject<{
3319
3463
  start: zod.ZodISODateTime;
3320
3464
  status: zod.ZodString;
3321
3465
  }, zod.core.$strip>>>>;
3322
- statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3323
3466
  }, zod.core.$strip>>;
3324
3467
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3325
3468
  total: zod.ZodNumber;
@@ -3381,13 +3524,17 @@ export declare const syncsGetByIdResponse: zod.ZodObject<{
3381
3524
  supportsDeleteDetection: zod.ZodBoolean;
3382
3525
  syncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3383
3526
  }, zod.core.$strip>;
3527
+ deletedItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3384
3528
  filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3385
- highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3386
3529
  id: zod.ZodString;
3530
+ latestSyncAcceptedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3387
3531
  latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3532
+ latestSyncIsForThisSync: zod.ZodBoolean;
3388
3533
  latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3389
3534
  latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3535
+ latestSyncStartedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3390
3536
  latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3537
+ latestSyncUnaccountedCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3391
3538
  name: zod.ZodString;
3392
3539
  path: zod.ZodString;
3393
3540
  recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
@@ -3397,7 +3544,6 @@ export declare const syncsGetByIdResponse: zod.ZodObject<{
3397
3544
  start: zod.ZodISODateTime;
3398
3545
  status: zod.ZodString;
3399
3546
  }, zod.core.$strip>>>>;
3400
- statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3401
3547
  }, zod.core.$strip>;
3402
3548
  /**
3403
3549
  * @summary The sync's landed items (read-only metadata), proxied from the AI API's
@@ -3415,6 +3561,9 @@ export declare const syncsGetItemsQueryParams: zod.ZodObject<{
3415
3561
  }, zod.core.$strict>;
3416
3562
  export declare const syncsGetItemsResponseDataItemContainerIdRegExp: RegExp;
3417
3563
  export declare const syncsGetItemsResponseDataItemIdRegExp: RegExp;
3564
+ export declare const syncsGetItemsResponseDataItemIngestionItemDataSetIdRegExp: RegExp;
3565
+ export declare const syncsGetItemsResponseDataItemIngestionItemDataSetVersionRegExp: RegExp;
3566
+ export declare const syncsGetItemsResponseDataItemIngestionItemRecordIdRegExp: RegExp;
3418
3567
  export declare const syncsGetItemsResponse: zod.ZodObject<{
3419
3568
  data: zod.ZodArray<zod.ZodObject<{
3420
3569
  blobUri: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -3422,6 +3571,19 @@ export declare const syncsGetItemsResponse: zod.ZodObject<{
3422
3571
  containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3423
3572
  deletedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3424
3573
  id: zod.ZodString;
3574
+ ingestion: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3575
+ attempt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3576
+ contentVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3577
+ createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3578
+ dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3579
+ dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3580
+ reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3581
+ recordId: zod.ZodString;
3582
+ status: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3583
+ statusFromFlowRun: zod.ZodBoolean;
3584
+ trigger: zod.ZodString;
3585
+ updatedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3586
+ }, zod.core.$strip>>>>;
3425
3587
  isJson: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3426
3588
  name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3427
3589
  path: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -3430,6 +3592,65 @@ export declare const syncsGetItemsResponse: zod.ZodObject<{
3430
3592
  scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3431
3593
  total: zod.ZodNumber;
3432
3594
  }, zod.core.$strip>;
3595
+ /**
3596
+ * @summary The sync's dead-letter list: the ingestion run records the AI API's
3597
+ consumer gave up on, newest first, each with the reason. The poison queue
3598
+ holds the replay copies and is not read here. 502 when the install's AI
3599
+ API predates the route, rather than an opaque 500.
3600
+ */
3601
+ export declare const syncsGetPoisonedPathContainerIdRegExp: RegExp;
3602
+ export declare const syncsGetPoisonedParams: zod.ZodObject<{
3603
+ containerId: zod.ZodString;
3604
+ }, zod.core.$strict>;
3605
+ export declare const syncsGetPoisonedQuerySkipDefault = 0;
3606
+ export declare const syncsGetPoisonedQueryTakeDefault = 50;
3607
+ export declare const syncsGetPoisonedQueryParams: zod.ZodObject<{
3608
+ skip: zod.ZodOptional<zod.ZodNumber>;
3609
+ take: zod.ZodDefault<zod.ZodNumber>;
3610
+ }, zod.core.$strict>;
3611
+ export declare const syncsGetPoisonedResponseDataItemCausedByRegExp: RegExp;
3612
+ export declare const syncsGetPoisonedResponseDataItemContainerIdRegExp: RegExp;
3613
+ export declare const syncsGetPoisonedResponseDataItemDataSetIdRegExp: RegExp;
3614
+ export declare const syncsGetPoisonedResponseDataItemDataSetVersionRegExp: RegExp;
3615
+ export declare const syncsGetPoisonedResponseDataItemFlowRunIdRegExp: RegExp;
3616
+ export declare const syncsGetPoisonedResponseDataItemItemIdRegExp: RegExp;
3617
+ export declare const syncsGetPoisonedResponseDataItemRecordIdRegExp: RegExp;
3618
+ export declare const syncsGetPoisonedResponseDataItemRetryOfRegExp: RegExp;
3619
+ export declare const syncsGetPoisonedResponse: zod.ZodObject<{
3620
+ data: zod.ZodArray<zod.ZodObject<{
3621
+ attempt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3622
+ causedBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3623
+ containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3624
+ contentVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3625
+ createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3626
+ dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3627
+ dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3628
+ errors: zod.ZodArray<zod.ZodObject<{
3629
+ blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3630
+ code: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3631
+ message: zod.ZodString;
3632
+ }, zod.core.$strip>>;
3633
+ finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3634
+ flowRunId: zod.ZodString;
3635
+ itemId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3636
+ itemName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3637
+ itemPath: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3638
+ itemVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3639
+ reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3640
+ recordId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3641
+ recordStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3642
+ retryOf: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3643
+ runAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3644
+ status: zod.ZodString;
3645
+ trigger: zod.ZodObject<{
3646
+ kind: zod.ZodString;
3647
+ principal: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3648
+ }, zod.core.$strip>;
3649
+ updatedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3650
+ }, zod.core.$strip>>;
3651
+ scoped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3652
+ total: zod.ZodNumber;
3653
+ }, zod.core.$strip>;
3433
3654
  /**
3434
3655
  * @summary Gets Tenant Id
3435
3656
  */