@smartspace/api-client 0.1.0-main.26012be → 0.1.0-main.34c8ec0

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 (64) 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 +110 -1
  16. package/dist/generated/config/api.msw.d.ts +20 -1
  17. package/dist/generated/config/api.msw.js +168 -10
  18. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.d.ts +9 -0
  19. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.js +8 -0
  20. package/dist/generated/config/models/connectorsConnector.d.ts +23 -0
  21. package/dist/generated/config/models/connectorsConnector.js +8 -0
  22. package/dist/generated/config/models/connectorsConnectorSummary.d.ts +12 -0
  23. package/dist/generated/config/models/connectorsConnectorSummary.js +8 -0
  24. package/dist/generated/config/models/connectorsCreateConnector.d.ts +18 -0
  25. package/dist/generated/config/models/connectorsCreateConnector.js +8 -0
  26. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.d.ts +9 -0
  27. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.js +8 -0
  28. package/dist/generated/config/models/connectorsGetConnectorsParams.d.ts +9 -0
  29. package/dist/generated/config/models/connectorsGetConnectorsParams.js +8 -0
  30. package/dist/generated/config/models/connectorsResolvedConnector.d.ts +11 -0
  31. package/dist/generated/config/models/connectorsResolvedConnector.js +2 -0
  32. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.d.ts +9 -0
  33. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.js +8 -0
  34. package/dist/generated/config/models/connectorsUpdateConnector.d.ts +17 -0
  35. package/dist/generated/config/models/connectorsUpdateConnector.js +8 -0
  36. package/dist/generated/config/models/enumsNotificationType.d.ts +1 -0
  37. package/dist/generated/config/models/enumsNotificationType.js +1 -0
  38. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
  39. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
  40. package/dist/generated/config/models/index.d.ts +14 -0
  41. package/dist/generated/config/models/index.js +14 -0
  42. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
  43. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
  44. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
  45. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
  46. package/dist/generated/config/models/syncsGetParams.d.ts +7 -0
  47. package/dist/generated/config/models/syncsSync.d.ts +11 -0
  48. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +3 -0
  49. package/dist/generated/config/models/syncsSyncQueueState.d.ts +10 -0
  50. package/dist/generated/config/models/syncsSyncQueueState.js +8 -0
  51. package/dist/generated/config/models/syncsSyncRunInfo.d.ts +14 -0
  52. package/dist/generated/config/models/syncsSyncRunInfo.js +8 -0
  53. package/dist/generated/config/models/workSpacesWorkSpace.d.ts +2 -0
  54. package/dist/generated/config/zod.d.ts +253 -0
  55. package/dist/generated/config/zod.js +250 -14
  56. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.d.ts +22 -0
  57. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.js +2 -0
  58. package/dist/generated/signalr/SmartSpace.App.Core.Enums.d.ts +7 -0
  59. package/dist/generated/signalr/SmartSpace.App.Core.Enums.js +14 -0
  60. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +11 -0
  61. package/dist/generated/signalr/TypedSignalR.Client/index.js +6 -0
  62. package/dist/signalr.d.ts +2 -0
  63. package/dist/signalr.js +3 -0
  64. package/package.json +2 -2
@@ -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,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 });
@@ -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 });
@@ -62,7 +62,16 @@ export * from './blocksStateInterface';
62
62
  export * from './blocksStateInterfaceDefault';
63
63
  export * from './blocksStateInterfaceMetadata';
64
64
  export * from './blocksUsedInWorkspaceRef';
65
+ export * from './configApiFlowRunIdentityMapRequest';
65
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';
66
75
  export * from './containerDataSet';
67
76
  export * from './containerItem';
68
77
  export * from './containersPostParams';
@@ -180,6 +189,7 @@ export * from './flowRunsGetStepExecutionsParams';
180
189
  export * from './flowRunsGetVariables200One';
181
190
  export * from './flowRunsGetVariables200Three';
182
191
  export * from './flowRunsGetVariables200Two';
192
+ export * from './flowRunsGetWorkspaceRunsParams';
183
193
  export * from './flowRunsSearchFlowRunsParams';
184
194
  export * from './flowValueModel';
185
195
  export * from './flowValueModelChannels';
@@ -231,6 +241,8 @@ export * from './integrationsSmartSpaceAiFunctionExecutionDebugModel';
231
241
  export * from './integrationsSmartSpaceAiIngestionRun';
232
242
  export * from './integrationsSmartSpaceAiIngestionRunTrigger';
233
243
  export * from './integrationsSmartSpaceAiSdkBlockRef';
244
+ export * from './integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun';
245
+ export * from './integrationsSmartSpaceAiWorkspaceRun';
234
246
  export * from './managedSecretsCreateManagedSecret';
235
247
  export * from './managedSecretsManagedSecret';
236
248
  export * from './managedSecretsUpdateManagedSecretValue';
@@ -294,6 +306,8 @@ export * from './syncsGetItemsParams';
294
306
  export * from './syncsGetParams';
295
307
  export * from './syncsSync';
296
308
  export * from './syncsSyncDataSourceInfo';
309
+ export * from './syncsSyncQueueState';
310
+ export * from './syncsSyncRunInfo';
297
311
  export * from './usersAdminPermissionParams';
298
312
  export * from './usersAppAccessUser';
299
313
  export * from './usersAppRole';
@@ -78,7 +78,16 @@ __exportStar(require("./blocksStateInterface"), exports);
78
78
  __exportStar(require("./blocksStateInterfaceDefault"), exports);
79
79
  __exportStar(require("./blocksStateInterfaceMetadata"), exports);
80
80
  __exportStar(require("./blocksUsedInWorkspaceRef"), exports);
81
+ __exportStar(require("./configApiFlowRunIdentityMapRequest"), exports);
81
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);
82
91
  __exportStar(require("./containerDataSet"), exports);
83
92
  __exportStar(require("./containerItem"), exports);
84
93
  __exportStar(require("./containersPostParams"), exports);
@@ -196,6 +205,7 @@ __exportStar(require("./flowRunsGetStepExecutionsParams"), exports);
196
205
  __exportStar(require("./flowRunsGetVariables200One"), exports);
197
206
  __exportStar(require("./flowRunsGetVariables200Three"), exports);
198
207
  __exportStar(require("./flowRunsGetVariables200Two"), exports);
208
+ __exportStar(require("./flowRunsGetWorkspaceRunsParams"), exports);
199
209
  __exportStar(require("./flowRunsSearchFlowRunsParams"), exports);
200
210
  __exportStar(require("./flowValueModel"), exports);
201
211
  __exportStar(require("./flowValueModelChannels"), exports);
@@ -247,6 +257,8 @@ __exportStar(require("./integrationsSmartSpaceAiFunctionExecutionDebugModel"), e
247
257
  __exportStar(require("./integrationsSmartSpaceAiIngestionRun"), exports);
248
258
  __exportStar(require("./integrationsSmartSpaceAiIngestionRunTrigger"), exports);
249
259
  __exportStar(require("./integrationsSmartSpaceAiSdkBlockRef"), exports);
260
+ __exportStar(require("./integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun"), exports);
261
+ __exportStar(require("./integrationsSmartSpaceAiWorkspaceRun"), exports);
250
262
  __exportStar(require("./managedSecretsCreateManagedSecret"), exports);
251
263
  __exportStar(require("./managedSecretsManagedSecret"), exports);
252
264
  __exportStar(require("./managedSecretsUpdateManagedSecretValue"), exports);
@@ -310,6 +322,8 @@ __exportStar(require("./syncsGetItemsParams"), exports);
310
322
  __exportStar(require("./syncsGetParams"), exports);
311
323
  __exportStar(require("./syncsSync"), exports);
312
324
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
325
+ __exportStar(require("./syncsSyncQueueState"), exports);
326
+ __exportStar(require("./syncsSyncRunInfo"), exports);
313
327
  __exportStar(require("./usersAdminPermissionParams"), exports);
314
328
  __exportStar(require("./usersAppAccessUser"), exports);
315
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[];