@smartspace/api-client 0.1.0-dev.b4fc785 → 0.1.0-dev.bb13a07

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 (53) hide show
  1. package/dist/generated/chat/api.msw.js +2 -2
  2. package/dist/generated/chat/models/enumsNotificationType.d.ts +1 -0
  3. package/dist/generated/chat/models/enumsNotificationType.js +1 -0
  4. package/dist/generated/chat/models/flowsFlowConstant.d.ts +1 -0
  5. package/dist/generated/chat/zod.d.ts +3 -0
  6. package/dist/generated/chat/zod.js +3 -1
  7. package/dist/generated/config/api.d.ts +11 -1
  8. package/dist/generated/config/api.js +45 -1
  9. package/dist/generated/config/api.msw.d.ts +10 -1
  10. package/dist/generated/config/api.msw.js +80 -12
  11. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.d.ts +9 -0
  12. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.js +8 -0
  13. package/dist/generated/config/models/containerItem.d.ts +27 -0
  14. package/dist/generated/config/models/containerItem.js +8 -0
  15. package/dist/generated/config/models/dataSetsGetIngestionRunsParams.d.ts +15 -0
  16. package/dist/generated/config/models/dataSetsGetIngestionRunsParams.js +8 -0
  17. package/dist/generated/config/models/enumsNotificationType.d.ts +1 -0
  18. package/dist/generated/config/models/enumsNotificationType.js +1 -0
  19. package/dist/generated/config/models/flowsFlowConstant.d.ts +1 -0
  20. package/dist/generated/config/models/index.d.ts +13 -0
  21. package/dist/generated/config/models/index.js +13 -0
  22. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRun.d.ts +2 -1
  23. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +57 -0
  24. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.js +2 -0
  25. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRunTrigger.d.ts +11 -0
  26. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRunTrigger.js +8 -0
  27. package/dist/generated/config/models/pagedDataCollectionContainerItem.d.ts +11 -0
  28. package/dist/generated/config/models/pagedDataCollectionContainerItem.js +2 -0
  29. package/dist/generated/config/models/pagedDataCollectionSyncsSync.d.ts +11 -0
  30. package/dist/generated/config/models/pagedDataCollectionSyncsSync.js +2 -0
  31. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.d.ts +11 -0
  32. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.js +2 -0
  33. package/dist/generated/config/models/syncsGetItemsParams.d.ts +10 -0
  34. package/dist/generated/config/models/syncsGetItemsParams.js +8 -0
  35. package/dist/generated/config/models/syncsGetParams.d.ts +18 -0
  36. package/dist/generated/config/models/syncsGetParams.js +8 -0
  37. package/dist/generated/config/models/syncsSync.d.ts +33 -0
  38. package/dist/generated/config/models/syncsSync.js +2 -0
  39. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +14 -0
  40. package/dist/generated/config/models/syncsSyncDataSourceInfo.js +2 -0
  41. package/dist/generated/config/models/syncsSyncRunInfo.d.ts +14 -0
  42. package/dist/generated/config/models/syncsSyncRunInfo.js +8 -0
  43. package/dist/generated/config/zod.d.ts +218 -1
  44. package/dist/generated/config/zod.js +205 -13
  45. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.d.ts +22 -0
  46. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.js +2 -0
  47. package/dist/generated/signalr/SmartSpace.App.Core.Enums.d.ts +7 -0
  48. package/dist/generated/signalr/SmartSpace.App.Core.Enums.js +14 -0
  49. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +11 -0
  50. package/dist/generated/signalr/TypedSignalR.Client/index.js +6 -0
  51. package/dist/signalr.d.ts +2 -0
  52. package/dist/signalr.js +3 -0
  53. package/package.json +2 -2
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiContainerItemFlowRunError } from './integrationsSmartSpaceAiContainerItemFlowRunError';
8
+ import type { IntegrationsSmartSpaceAiIngestionRunTrigger } from './integrationsSmartSpaceAiIngestionRunTrigger';
9
+ export interface IntegrationsSmartSpaceAiIngestionRun {
10
+ /**
11
+ * @nullable
12
+ * @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}$
13
+ */
14
+ causedBy?: string | null;
15
+ /**
16
+ * @nullable
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
+ */
19
+ containerId?: string | null;
20
+ /** @nullable */
21
+ createdAt?: string | null;
22
+ /**
23
+ * @nullable
24
+ * @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}$
25
+ */
26
+ dataSetId?: string | null;
27
+ /**
28
+ * @nullable
29
+ * @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}$
30
+ */
31
+ dataSetVersion?: string | null;
32
+ errors: IntegrationsSmartSpaceAiContainerItemFlowRunError[];
33
+ /** @nullable */
34
+ finishedAt?: string | null;
35
+ /** @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}$ */
36
+ flowRunId: string;
37
+ /**
38
+ * @nullable
39
+ * @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}$
40
+ */
41
+ itemId?: string | null;
42
+ /** @nullable */
43
+ itemName?: string | null;
44
+ /** @nullable */
45
+ itemPath?: string | null;
46
+ /** @nullable */
47
+ itemVersion?: string | null;
48
+ /**
49
+ * @nullable
50
+ * @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}$
51
+ */
52
+ retryOf?: string | null;
53
+ /** @nullable */
54
+ runAt?: string | null;
55
+ status: string;
56
+ trigger: IntegrationsSmartSpaceAiIngestionRunTrigger;
57
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
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 IntegrationsSmartSpaceAiIngestionRunTrigger {
8
+ kind: string;
9
+ /** @nullable */
10
+ principal?: string | null;
11
+ }
@@ -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,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { ContainerItem } from './containerItem';
8
+ export interface PagedDataCollectionContainerItem {
9
+ data: ContainerItem[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { SyncsSync } from './syncsSync';
8
+ export interface PagedDataCollectionSyncsSync {
9
+ data: SyncsSync[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiIngestionRun } from './integrationsSmartSpaceAiIngestionRun';
8
+ export interface PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun {
9
+ data: IntegrationsSmartSpaceAiIngestionRun[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 type SyncsGetItemsParams = {
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 });
@@ -0,0 +1,18 @@
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 SyncsGetParams = {
8
+ take?: number;
9
+ skip?: number;
10
+ search?: string;
11
+ /**
12
+ * @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}$
13
+ */
14
+ dataSourceId?: string;
15
+ status?: string;
16
+ sortBy?: string;
17
+ sortDirection?: string;
18
+ };
@@ -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,33 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { ContainerDataSet } from './containerDataSet';
8
+ import type { SyncsSyncDataSourceInfo } from './syncsSyncDataSourceInfo';
9
+ import type { SyncsSyncRunInfo } from './syncsSyncRunInfo';
10
+ export interface SyncsSync {
11
+ dataSets: ContainerDataSet[];
12
+ dataSource: SyncsSyncDataSourceInfo;
13
+ /** @nullable */
14
+ filters?: string | null;
15
+ /** @nullable */
16
+ highwaterMark?: string | null;
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
+ id: string;
19
+ /** @nullable */
20
+ latestSyncAt?: string | null;
21
+ /** @nullable */
22
+ latestSyncItemCount?: number | null;
23
+ /** @nullable */
24
+ latestSyncMessage?: string | null;
25
+ /** @nullable */
26
+ latestSyncStatus?: string | null;
27
+ name: string;
28
+ path: string;
29
+ /** @nullable */
30
+ recentSyncs?: SyncsSyncRunInfo[] | null;
31
+ /** @nullable */
32
+ statusMessage?: string | null;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { EnumsDataSourceCredentialType } from './enumsDataSourceCredentialType';
8
+ export interface SyncsSyncDataSourceInfo {
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
+ id: string;
11
+ isSyncing: boolean;
12
+ name: string;
13
+ sourceType: EnumsDataSourceCredentialType;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
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 SyncsSyncRunInfo {
8
+ end: string;
9
+ itemCount: number;
10
+ /** @nullable */
11
+ message?: string | null;
12
+ start: string;
13
+ status: string;
14
+ }
@@ -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 });
@@ -695,6 +695,7 @@ export declare const containersPostResponseItem: zod.ZodObject<{
695
695
  }, zod.core.$strip>;
696
696
  }, zod.core.$strip>>>>;
697
697
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
698
+ secret: zod.ZodBoolean;
698
699
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
699
700
  }, zod.core.$strip>>>>;
700
701
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -808,6 +809,7 @@ export declare const containersPostResponse: zod.ZodArray<zod.ZodObject<{
808
809
  }, zod.core.$strip>;
809
810
  }, zod.core.$strip>>>>;
810
811
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
812
+ secret: zod.ZodBoolean;
811
813
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
812
814
  }, zod.core.$strip>>>>;
813
815
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -1057,7 +1059,7 @@ export declare const dataSetsGetContainerItemsRunHistoryResponse: zod.ZodObject<
1057
1059
  }, zod.core.$strip>>;
1058
1060
  finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1059
1061
  flowRunId: zod.ZodString;
1060
- runAt: zod.ZodISODateTime;
1062
+ runAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1061
1063
  status: zod.ZodString;
1062
1064
  }, zod.core.$strip>>;
1063
1065
  id: zod.ZodString;
@@ -1223,6 +1225,60 @@ export declare const dataSetsDeleteDataSetPropertyParams: zod.ZodObject<{
1223
1225
  id: zod.ZodString;
1224
1226
  name: zod.ZodString;
1225
1227
  }, zod.core.$strict>;
1228
+ /**
1229
+ * @summary Run-centric ingestion history for the dataset (newest first), from the
1230
+ AI API's provenance-stamped run store. `trigger` filters by cause
1231
+ (sync / sweep / manual / reset / unknown); `itemId` narrows to one
1232
+ container item, including runs superseded by later re-ingests.
1233
+ */
1234
+ export declare const dataSetsGetIngestionRunsPathIdRegExp: RegExp;
1235
+ export declare const dataSetsGetIngestionRunsParams: zod.ZodObject<{
1236
+ id: zod.ZodString;
1237
+ }, zod.core.$strict>;
1238
+ export declare const dataSetsGetIngestionRunsQuerySkipDefault = 0;
1239
+ export declare const dataSetsGetIngestionRunsQueryTakeDefault = 50;
1240
+ export declare const dataSetsGetIngestionRunsQueryItemIdRegExp: RegExp;
1241
+ export declare const dataSetsGetIngestionRunsQueryParams: zod.ZodObject<{
1242
+ skip: zod.ZodOptional<zod.ZodNumber>;
1243
+ take: zod.ZodDefault<zod.ZodNumber>;
1244
+ trigger: zod.ZodOptional<zod.ZodString>;
1245
+ itemId: zod.ZodOptional<zod.ZodString>;
1246
+ }, zod.core.$strict>;
1247
+ export declare const dataSetsGetIngestionRunsResponseDataItemCausedByRegExp: RegExp;
1248
+ export declare const dataSetsGetIngestionRunsResponseDataItemContainerIdRegExp: RegExp;
1249
+ export declare const dataSetsGetIngestionRunsResponseDataItemDataSetIdRegExp: RegExp;
1250
+ export declare const dataSetsGetIngestionRunsResponseDataItemDataSetVersionRegExp: RegExp;
1251
+ export declare const dataSetsGetIngestionRunsResponseDataItemFlowRunIdRegExp: RegExp;
1252
+ export declare const dataSetsGetIngestionRunsResponseDataItemItemIdRegExp: RegExp;
1253
+ export declare const dataSetsGetIngestionRunsResponseDataItemRetryOfRegExp: RegExp;
1254
+ export declare const dataSetsGetIngestionRunsResponse: zod.ZodObject<{
1255
+ data: zod.ZodArray<zod.ZodObject<{
1256
+ causedBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1257
+ containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1258
+ createdAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1259
+ dataSetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1260
+ dataSetVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1261
+ errors: zod.ZodArray<zod.ZodObject<{
1262
+ blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1263
+ code: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1264
+ message: zod.ZodString;
1265
+ }, zod.core.$strip>>;
1266
+ finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1267
+ flowRunId: zod.ZodString;
1268
+ itemId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1269
+ itemName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1270
+ itemPath: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1271
+ itemVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1272
+ retryOf: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1273
+ runAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1274
+ status: zod.ZodString;
1275
+ trigger: zod.ZodObject<{
1276
+ kind: zod.ZodString;
1277
+ principal: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1278
+ }, zod.core.$strip>;
1279
+ }, zod.core.$strip>>;
1280
+ total: zod.ZodNumber;
1281
+ }, zod.core.$strip>;
1226
1282
  /**
1227
1283
  * @summary Set the per-document scoping config (mode + subject path) on a dataset.
1228
1284
  */
@@ -1530,6 +1586,15 @@ export declare const dataSourcesUpdateCredentialsParams: zod.ZodObject<{
1530
1586
  export declare const dataSourcesUpdateCredentialsBody: zod.ZodObject<{
1531
1587
  credentials: zod.ZodRecord<zod.ZodString, zod.ZodNullable<zod.ZodString>>;
1532
1588
  }, zod.core.$strict>;
1589
+ /**
1590
+ * @summary Requests an on-demand sync of a data source. The request is queued;
1591
+ the sync service picks it up within ~30 seconds. Repeated requests
1592
+ are safe — concurrent syncs of the same source collapse to one run.
1593
+ */
1594
+ export declare const dataSourcesRequestSyncPathDataSourceIdRegExp: RegExp;
1595
+ export declare const dataSourcesRequestSyncParams: zod.ZodObject<{
1596
+ dataSourceId: zod.ZodString;
1597
+ }, zod.core.$strict>;
1533
1598
  export declare const dataSourcesGetAdminUsersPathIdRegExp: RegExp;
1534
1599
  export declare const dataSourcesGetAdminUsersParams: zod.ZodObject<{
1535
1600
  id: zod.ZodString;
@@ -2405,6 +2470,7 @@ export declare const flowsSetActiveFlowDefinitionBody: zod.ZodObject<{
2405
2470
  }, zod.core.$strict>;
2406
2471
  }, zod.core.$strict>>>>;
2407
2472
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
2473
+ secret: zod.ZodBoolean;
2408
2474
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2409
2475
  }, zod.core.$strict>>>>;
2410
2476
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -2821,6 +2887,7 @@ export declare const notificationGetResponse: zod.ZodObject<{
2821
2887
  WorkSpaceUpdated: "WorkSpaceUpdated";
2822
2888
  MessageThreadUpdated: "MessageThreadUpdated";
2823
2889
  CommentUpdated: "CommentUpdated";
2890
+ AddedToThread: "AddedToThread";
2824
2891
  }>;
2825
2892
  threadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2826
2893
  workSpaceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
@@ -2906,6 +2973,152 @@ export declare const reportingGetTokensResponse: zod.ZodObject<{
2906
2973
  name: zod.ZodString;
2907
2974
  }, zod.core.$strip>>;
2908
2975
  }, zod.core.$strip>;
2976
+ /**
2977
+ * @summary List configured syncs. status matches the data
2978
+ source's latest completed sync (e.g. Success / Failure), or "never"
2979
+ for sources with no recorded sync. sortBy:
2980
+ name | connector | lastSync (default: path).
2981
+ */
2982
+ export declare const syncsGetQueryTakeDefault = 50;
2983
+ export declare const syncsGetQuerySkipDefault = 0;
2984
+ export declare const syncsGetQueryDataSourceIdRegExp: RegExp;
2985
+ export declare const syncsGetQueryParams: zod.ZodObject<{
2986
+ take: zod.ZodDefault<zod.ZodNumber>;
2987
+ skip: zod.ZodOptional<zod.ZodNumber>;
2988
+ search: zod.ZodOptional<zod.ZodString>;
2989
+ dataSourceId: zod.ZodOptional<zod.ZodString>;
2990
+ status: zod.ZodOptional<zod.ZodString>;
2991
+ sortBy: zod.ZodOptional<zod.ZodString>;
2992
+ sortDirection: zod.ZodOptional<zod.ZodString>;
2993
+ }, zod.core.$strict>;
2994
+ export declare const syncsGetResponseDataItemDataSetsItemIdRegExp: RegExp;
2995
+ export declare const syncsGetResponseDataItemDataSetsItemVersionRegExp: RegExp;
2996
+ export declare const syncsGetResponseDataItemDataSourceIdRegExp: RegExp;
2997
+ export declare const syncsGetResponseDataItemIdRegExp: RegExp;
2998
+ export declare const syncsGetResponse: zod.ZodObject<{
2999
+ data: zod.ZodArray<zod.ZodObject<{
3000
+ dataSets: zod.ZodArray<zod.ZodObject<{
3001
+ id: zod.ZodString;
3002
+ name: zod.ZodString;
3003
+ version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3004
+ }, zod.core.$strip>>;
3005
+ dataSource: zod.ZodObject<{
3006
+ id: zod.ZodString;
3007
+ isSyncing: zod.ZodBoolean;
3008
+ name: zod.ZodString;
3009
+ sourceType: zod.ZodEnum<{
3010
+ BlobStorage: "BlobStorage";
3011
+ SqlServer: "SqlServer";
3012
+ AzureSql: "AzureSql";
3013
+ Cosmos: "Cosmos";
3014
+ GoogleDrive: "GoogleDrive";
3015
+ SharePoint: "SharePoint";
3016
+ SharePointSite: "SharePointSite";
3017
+ HubSpot: "HubSpot";
3018
+ AzureStorage: "AzureStorage";
3019
+ File: "File";
3020
+ Sitemap: "Sitemap";
3021
+ }>;
3022
+ }, zod.core.$strip>;
3023
+ filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3024
+ highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3025
+ id: zod.ZodString;
3026
+ latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3027
+ latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3028
+ latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3029
+ latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3030
+ name: zod.ZodString;
3031
+ path: zod.ZodString;
3032
+ recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3033
+ end: zod.ZodISODateTime;
3034
+ itemCount: zod.ZodNumber;
3035
+ message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3036
+ start: zod.ZodISODateTime;
3037
+ status: zod.ZodString;
3038
+ }, zod.core.$strip>>>>;
3039
+ statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3040
+ }, zod.core.$strip>>;
3041
+ total: zod.ZodNumber;
3042
+ }, zod.core.$strip>;
3043
+ export declare const syncsGetByIdPathContainerIdRegExp: RegExp;
3044
+ export declare const syncsGetByIdParams: zod.ZodObject<{
3045
+ containerId: zod.ZodString;
3046
+ }, zod.core.$strict>;
3047
+ export declare const syncsGetByIdResponseDataSetsItemIdRegExp: RegExp;
3048
+ export declare const syncsGetByIdResponseDataSetsItemVersionRegExp: RegExp;
3049
+ export declare const syncsGetByIdResponseDataSourceIdRegExp: RegExp;
3050
+ export declare const syncsGetByIdResponseIdRegExp: RegExp;
3051
+ export declare const syncsGetByIdResponse: zod.ZodObject<{
3052
+ dataSets: zod.ZodArray<zod.ZodObject<{
3053
+ id: zod.ZodString;
3054
+ name: zod.ZodString;
3055
+ version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3056
+ }, zod.core.$strip>>;
3057
+ dataSource: zod.ZodObject<{
3058
+ id: zod.ZodString;
3059
+ isSyncing: zod.ZodBoolean;
3060
+ name: zod.ZodString;
3061
+ sourceType: zod.ZodEnum<{
3062
+ BlobStorage: "BlobStorage";
3063
+ SqlServer: "SqlServer";
3064
+ AzureSql: "AzureSql";
3065
+ Cosmos: "Cosmos";
3066
+ GoogleDrive: "GoogleDrive";
3067
+ SharePoint: "SharePoint";
3068
+ SharePointSite: "SharePointSite";
3069
+ HubSpot: "HubSpot";
3070
+ AzureStorage: "AzureStorage";
3071
+ File: "File";
3072
+ Sitemap: "Sitemap";
3073
+ }>;
3074
+ }, zod.core.$strip>;
3075
+ filters: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3076
+ highwaterMark: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3077
+ id: zod.ZodString;
3078
+ latestSyncAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
3079
+ latestSyncItemCount: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3080
+ latestSyncMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3081
+ latestSyncStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3082
+ name: zod.ZodString;
3083
+ path: zod.ZodString;
3084
+ recentSyncs: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3085
+ end: zod.ZodISODateTime;
3086
+ itemCount: zod.ZodNumber;
3087
+ message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3088
+ start: zod.ZodISODateTime;
3089
+ status: zod.ZodString;
3090
+ }, zod.core.$strip>>>>;
3091
+ statusMessage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3092
+ }, zod.core.$strip>;
3093
+ /**
3094
+ * @summary The sync's landed items (read-only metadata), proxied from the AI API's
3095
+ container-items endpoint.
3096
+ */
3097
+ export declare const syncsGetItemsPathContainerIdRegExp: RegExp;
3098
+ export declare const syncsGetItemsParams: zod.ZodObject<{
3099
+ containerId: zod.ZodString;
3100
+ }, zod.core.$strict>;
3101
+ export declare const syncsGetItemsQuerySkipDefault = 0;
3102
+ export declare const syncsGetItemsQueryTakeDefault = 50;
3103
+ export declare const syncsGetItemsQueryParams: zod.ZodObject<{
3104
+ skip: zod.ZodOptional<zod.ZodNumber>;
3105
+ take: zod.ZodDefault<zod.ZodNumber>;
3106
+ }, zod.core.$strict>;
3107
+ export declare const syncsGetItemsResponseDataItemContainerIdRegExp: RegExp;
3108
+ export declare const syncsGetItemsResponseDataItemIdRegExp: RegExp;
3109
+ export declare const syncsGetItemsResponse: zod.ZodObject<{
3110
+ data: zod.ZodArray<zod.ZodObject<{
3111
+ blobUri: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3112
+ bytes: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3113
+ containerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3114
+ id: zod.ZodString;
3115
+ isJson: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3116
+ name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3117
+ path: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3118
+ pending: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3119
+ }, zod.core.$strip>>;
3120
+ total: zod.ZodNumber;
3121
+ }, zod.core.$strip>;
2909
3122
  /**
2910
3123
  * @summary Gets Tenant Id
2911
3124
  */
@@ -3243,6 +3456,7 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
3243
3456
  }, zod.core.$strip>;
3244
3457
  }, zod.core.$strip>>>>;
3245
3458
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
3459
+ secret: zod.ZodBoolean;
3246
3460
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
3247
3461
  }, zod.core.$strip>>>>;
3248
3462
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -3532,6 +3746,7 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
3532
3746
  }, zod.core.$strip>;
3533
3747
  }, zod.core.$strip>>>>;
3534
3748
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
3749
+ secret: zod.ZodBoolean;
3535
3750
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
3536
3751
  }, zod.core.$strip>>>>;
3537
3752
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -4010,6 +4225,7 @@ export declare const workSpacesGetActiveFlowResponse: zod.ZodObject<{
4010
4225
  }, zod.core.$strip>;
4011
4226
  }, zod.core.$strip>>>>;
4012
4227
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
4228
+ secret: zod.ZodBoolean;
4013
4229
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
4014
4230
  }, zod.core.$strip>>>>;
4015
4231
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -4071,6 +4287,7 @@ export declare const workSpacesSetActiveFlowBody: zod.ZodObject<{
4071
4287
  }, zod.core.$strict>;
4072
4288
  }, zod.core.$strict>>>>;
4073
4289
  constants: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
4290
+ secret: zod.ZodBoolean;
4074
4291
  value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
4075
4292
  }, zod.core.$strict>>>>;
4076
4293
  inputs: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodObject<{