@smartspace/api-client 0.1.0-dev.dc7bf57 → 0.1.0-dev.de0120b

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 (63) hide show
  1. package/dist/generated/chat/api.d.ts +2 -0
  2. package/dist/generated/chat/api.js +10 -1
  3. package/dist/generated/chat/api.msw.d.ts +1 -0
  4. package/dist/generated/chat/api.msw.js +16 -4
  5. package/dist/generated/chat/models/connectorsConnectorSummary.d.ts +12 -0
  6. package/dist/generated/chat/models/connectorsConnectorSummary.js +8 -0
  7. package/dist/generated/chat/models/enumsNotificationType.d.ts +1 -0
  8. package/dist/generated/chat/models/enumsNotificationType.js +1 -0
  9. package/dist/generated/chat/models/index.d.ts +1 -0
  10. package/dist/generated/chat/models/index.js +1 -0
  11. package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +2 -0
  12. package/dist/generated/chat/zod.d.ts +22 -0
  13. package/dist/generated/chat/zod.js +27 -6
  14. package/dist/generated/config/api.d.ts +25 -1
  15. package/dist/generated/config/api.js +115 -1
  16. package/dist/generated/config/api.msw.d.ts +20 -1
  17. package/dist/generated/config/api.msw.js +170 -12
  18. package/dist/generated/config/models/connectorsConnector.d.ts +23 -0
  19. package/dist/generated/config/models/connectorsConnector.js +8 -0
  20. package/dist/generated/config/models/connectorsConnectorSummary.d.ts +12 -0
  21. package/dist/generated/config/models/connectorsConnectorSummary.js +8 -0
  22. package/dist/generated/config/models/connectorsCreateConnector.d.ts +18 -0
  23. package/dist/generated/config/models/connectorsCreateConnector.js +8 -0
  24. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.d.ts +9 -0
  25. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.js +8 -0
  26. package/dist/generated/config/models/connectorsGetConnectorsParams.d.ts +9 -0
  27. package/dist/generated/config/models/connectorsGetConnectorsParams.js +8 -0
  28. package/dist/generated/config/models/connectorsResolvedConnector.d.ts +11 -0
  29. package/dist/generated/config/models/connectorsResolvedConnector.js +2 -0
  30. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.d.ts +9 -0
  31. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.js +8 -0
  32. package/dist/generated/config/models/connectorsUpdateConnector.d.ts +17 -0
  33. package/dist/generated/config/models/connectorsUpdateConnector.js +8 -0
  34. package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +5 -1
  35. package/dist/generated/config/models/enumsNotificationType.d.ts +1 -0
  36. package/dist/generated/config/models/enumsNotificationType.js +1 -0
  37. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
  38. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
  39. package/dist/generated/config/models/index.d.ts +13 -0
  40. package/dist/generated/config/models/index.js +13 -0
  41. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
  42. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
  43. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
  44. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
  45. package/dist/generated/config/models/syncsGetParams.d.ts +7 -0
  46. package/dist/generated/config/models/syncsSync.d.ts +11 -0
  47. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +3 -0
  48. package/dist/generated/config/models/syncsSyncQueueState.d.ts +10 -0
  49. package/dist/generated/config/models/syncsSyncQueueState.js +8 -0
  50. package/dist/generated/config/models/syncsSyncRunInfo.d.ts +14 -0
  51. package/dist/generated/config/models/syncsSyncRunInfo.js +8 -0
  52. package/dist/generated/config/models/workSpacesWorkSpace.d.ts +2 -0
  53. package/dist/generated/config/zod.d.ts +259 -1
  54. package/dist/generated/config/zod.js +256 -15
  55. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.d.ts +22 -0
  56. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.js +2 -0
  57. package/dist/generated/signalr/SmartSpace.App.Core.Enums.d.ts +7 -0
  58. package/dist/generated/signalr/SmartSpace.App.Core.Enums.js +14 -0
  59. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +11 -0
  60. package/dist/generated/signalr/TypedSignalR.Client/index.js +6 -0
  61. package/dist/signalr.d.ts +2 -0
  62. package/dist/signalr.js +3 -0
  63. package/package.json +2 -2
@@ -0,0 +1,17 @@
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 ConnectorsUpdateConnector {
8
+ /** @nullable */
9
+ authHeaderName?: string | null;
10
+ /** @nullable */
11
+ authScheme?: string | null;
12
+ authType: string;
13
+ name: string;
14
+ /** @nullable */
15
+ secret?: string | null;
16
+ url: string;
17
+ }
@@ -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 });
@@ -7,6 +7,10 @@
7
7
  export interface DataSetsUpsertDataSetProperty {
8
8
  /** @nullable */
9
9
  description?: string | null;
10
- isVector: boolean;
10
+ /**
11
+ * Unused — the platform no longer reads this field and it has no effect on ingestion or querying. It is retained as an optional property purely for backward compatibility; omit it in new integrations. When omitted, the stored value is preserved on update and it defaults to false on create.
12
+ * @nullable
13
+ */
14
+ isVector?: boolean | null;
11
15
  name: string;
12
16
  }
@@ -9,4 +9,5 @@ export declare const EnumsNotificationType: {
9
9
  readonly WorkSpaceUpdated: "WorkSpaceUpdated";
10
10
  readonly MessageThreadUpdated: "MessageThreadUpdated";
11
11
  readonly CommentUpdated: "CommentUpdated";
12
+ readonly AddedToThread: "AddedToThread";
12
13
  };
@@ -12,4 +12,5 @@ exports.EnumsNotificationType = {
12
12
  WorkSpaceUpdated: 'WorkSpaceUpdated',
13
13
  MessageThreadUpdated: 'MessageThreadUpdated',
14
14
  CommentUpdated: 'CommentUpdated',
15
+ AddedToThread: 'AddedToThread',
15
16
  };
@@ -0,0 +1,16 @@
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 FlowRunsGetWorkspaceRunsParams = {
8
+ /**
9
+ * Number of records to skip
10
+ */
11
+ skip?: number;
12
+ /**
13
+ * Number of records to take
14
+ */
15
+ take?: number;
16
+ };
@@ -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 });
@@ -64,6 +64,14 @@ export * from './blocksStateInterfaceMetadata';
64
64
  export * from './blocksUsedInWorkspaceRef';
65
65
  export * from './configApiFlowRunIdentityMapRequest';
66
66
  export * from './configApiRunFlowRequest';
67
+ export * from './connectorsConnector';
68
+ export * from './connectorsConnectorSummary';
69
+ export * from './connectorsCreateConnector';
70
+ export * from './connectorsGetConnectorSummariesParams';
71
+ export * from './connectorsGetConnectorsParams';
72
+ export * from './connectorsResolvedConnector';
73
+ export * from './connectorsResolvedConnectorHeaders';
74
+ export * from './connectorsUpdateConnector';
67
75
  export * from './containerDataSet';
68
76
  export * from './containerItem';
69
77
  export * from './containersPostParams';
@@ -181,6 +189,7 @@ export * from './flowRunsGetStepExecutionsParams';
181
189
  export * from './flowRunsGetVariables200One';
182
190
  export * from './flowRunsGetVariables200Three';
183
191
  export * from './flowRunsGetVariables200Two';
192
+ export * from './flowRunsGetWorkspaceRunsParams';
184
193
  export * from './flowRunsSearchFlowRunsParams';
185
194
  export * from './flowValueModel';
186
195
  export * from './flowValueModelChannels';
@@ -232,6 +241,8 @@ export * from './integrationsSmartSpaceAiFunctionExecutionDebugModel';
232
241
  export * from './integrationsSmartSpaceAiIngestionRun';
233
242
  export * from './integrationsSmartSpaceAiIngestionRunTrigger';
234
243
  export * from './integrationsSmartSpaceAiSdkBlockRef';
244
+ export * from './integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun';
245
+ export * from './integrationsSmartSpaceAiWorkspaceRun';
235
246
  export * from './managedSecretsCreateManagedSecret';
236
247
  export * from './managedSecretsManagedSecret';
237
248
  export * from './managedSecretsUpdateManagedSecretValue';
@@ -295,6 +306,8 @@ export * from './syncsGetItemsParams';
295
306
  export * from './syncsGetParams';
296
307
  export * from './syncsSync';
297
308
  export * from './syncsSyncDataSourceInfo';
309
+ export * from './syncsSyncQueueState';
310
+ export * from './syncsSyncRunInfo';
298
311
  export * from './usersAdminPermissionParams';
299
312
  export * from './usersAppAccessUser';
300
313
  export * from './usersAppRole';
@@ -80,6 +80,14 @@ __exportStar(require("./blocksStateInterfaceMetadata"), exports);
80
80
  __exportStar(require("./blocksUsedInWorkspaceRef"), exports);
81
81
  __exportStar(require("./configApiFlowRunIdentityMapRequest"), exports);
82
82
  __exportStar(require("./configApiRunFlowRequest"), exports);
83
+ __exportStar(require("./connectorsConnector"), exports);
84
+ __exportStar(require("./connectorsConnectorSummary"), exports);
85
+ __exportStar(require("./connectorsCreateConnector"), exports);
86
+ __exportStar(require("./connectorsGetConnectorSummariesParams"), exports);
87
+ __exportStar(require("./connectorsGetConnectorsParams"), exports);
88
+ __exportStar(require("./connectorsResolvedConnector"), exports);
89
+ __exportStar(require("./connectorsResolvedConnectorHeaders"), exports);
90
+ __exportStar(require("./connectorsUpdateConnector"), exports);
83
91
  __exportStar(require("./containerDataSet"), exports);
84
92
  __exportStar(require("./containerItem"), exports);
85
93
  __exportStar(require("./containersPostParams"), exports);
@@ -197,6 +205,7 @@ __exportStar(require("./flowRunsGetStepExecutionsParams"), exports);
197
205
  __exportStar(require("./flowRunsGetVariables200One"), exports);
198
206
  __exportStar(require("./flowRunsGetVariables200Three"), exports);
199
207
  __exportStar(require("./flowRunsGetVariables200Two"), exports);
208
+ __exportStar(require("./flowRunsGetWorkspaceRunsParams"), exports);
200
209
  __exportStar(require("./flowRunsSearchFlowRunsParams"), exports);
201
210
  __exportStar(require("./flowValueModel"), exports);
202
211
  __exportStar(require("./flowValueModelChannels"), exports);
@@ -248,6 +257,8 @@ __exportStar(require("./integrationsSmartSpaceAiFunctionExecutionDebugModel"), e
248
257
  __exportStar(require("./integrationsSmartSpaceAiIngestionRun"), exports);
249
258
  __exportStar(require("./integrationsSmartSpaceAiIngestionRunTrigger"), exports);
250
259
  __exportStar(require("./integrationsSmartSpaceAiSdkBlockRef"), exports);
260
+ __exportStar(require("./integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun"), exports);
261
+ __exportStar(require("./integrationsSmartSpaceAiWorkspaceRun"), exports);
251
262
  __exportStar(require("./managedSecretsCreateManagedSecret"), exports);
252
263
  __exportStar(require("./managedSecretsManagedSecret"), exports);
253
264
  __exportStar(require("./managedSecretsUpdateManagedSecretValue"), exports);
@@ -311,6 +322,8 @@ __exportStar(require("./syncsGetItemsParams"), exports);
311
322
  __exportStar(require("./syncsGetParams"), exports);
312
323
  __exportStar(require("./syncsSync"), exports);
313
324
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
325
+ __exportStar(require("./syncsSyncQueueState"), exports);
326
+ __exportStar(require("./syncsSyncRunInfo"), exports);
314
327
  __exportStar(require("./usersAdminPermissionParams"), exports);
315
328
  __exportStar(require("./usersAppAccessUser"), exports);
316
329
  __exportStar(require("./usersAppRole"), exports);
@@ -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 { IntegrationsSmartSpaceAiWorkspaceRun } from './integrationsSmartSpaceAiWorkspaceRun';
8
+ export interface IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun {
9
+ data: IntegrationsSmartSpaceAiWorkspaceRun[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
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 IntegrationsSmartSpaceAiWorkspaceRun {
8
+ /** @nullable */
9
+ createdAt?: string | null;
10
+ /** @nullable */
11
+ finishedAt?: string | null;
12
+ /**
13
+ * @nullable
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}$
15
+ */
16
+ flowDefinitionId?: string | null;
17
+ /**
18
+ * @nullable
19
+ * @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
+ flowId?: string | null;
22
+ /** @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}$ */
23
+ flowRunId: string;
24
+ /** @nullable */
25
+ runAt?: string | null;
26
+ status: string;
27
+ }
@@ -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 });
@@ -8,4 +8,11 @@ export type SyncsGetParams = {
8
8
  take?: number;
9
9
  skip?: number;
10
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;
11
18
  };
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { ContainerDataSet } from './containerDataSet';
8
8
  import type { SyncsSyncDataSourceInfo } from './syncsSyncDataSourceInfo';
9
+ import type { SyncsSyncRunInfo } from './syncsSyncRunInfo';
9
10
  export interface SyncsSync {
10
11
  dataSets: ContainerDataSet[];
11
12
  dataSource: SyncsSyncDataSourceInfo;
@@ -15,8 +16,18 @@ export interface SyncsSync {
15
16
  highwaterMark?: string | null;
16
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}$ */
17
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;
18
27
  name: string;
19
28
  path: string;
20
29
  /** @nullable */
30
+ recentSyncs?: SyncsSyncRunInfo[] | null;
31
+ /** @nullable */
21
32
  statusMessage?: string | null;
22
33
  }
@@ -8,7 +8,10 @@ import type { EnumsDataSourceCredentialType } from './enumsDataSourceCredentialT
8
8
  export interface SyncsSyncDataSourceInfo {
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
  id: string;
11
+ isQueued: boolean;
11
12
  isSyncing: boolean;
12
13
  name: string;
13
14
  sourceType: EnumsDataSourceCredentialType;
15
+ /** @nullable */
16
+ syncStartedAt?: string | null;
14
17
  }
@@ -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 SyncsSyncQueueState {
8
+ depth: number;
9
+ waitingDataSourceIds: 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 });
@@ -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 });
@@ -4,11 +4,13 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ import type { ConnectorsConnectorSummary } from './connectorsConnectorSummary';
7
8
  import type { DataSpace } from './dataSpace';
8
9
  import type { WorkSpacesWorkSpaceInputs } from './workSpacesWorkSpaceInputs';
9
10
  import type { ModelConfiguration } from './modelConfiguration';
10
11
  import type { WorkSpacesWorkSpaceVariables } from './workSpacesWorkSpaceVariables';
11
12
  export interface WorkSpacesWorkSpace {
13
+ connectors: ConnectorsConnectorSummary[];
12
14
  createdAt: string;
13
15
  createdByUserId: string;
14
16
  dataSpaces: DataSpace[];