@smartspace/api-client 0.1.0-dev.67db961 → 0.1.0-dev.691abdb

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 (148) 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 +18 -6
  5. package/dist/generated/chat/models/accessAccess.d.ts +11 -0
  6. package/dist/generated/chat/models/aiIModelProperty.d.ts +6 -0
  7. package/dist/generated/chat/models/aiModel.d.ts +7 -0
  8. package/dist/generated/chat/models/aiModelSummary.d.ts +5 -0
  9. package/dist/generated/chat/models/commentComment.d.ts +9 -0
  10. package/dist/generated/chat/models/commentCreateComment.d.ts +7 -0
  11. package/dist/generated/chat/models/connectorsConnectorSummary.d.ts +18 -0
  12. package/dist/generated/chat/models/connectorsConnectorSummary.js +8 -0
  13. package/dist/generated/chat/models/enumsNotificationType.d.ts +1 -0
  14. package/dist/generated/chat/models/enumsNotificationType.js +1 -0
  15. package/dist/generated/chat/models/filesFile.d.ts +12 -0
  16. package/dist/generated/chat/models/filesFileUriResponse.d.ts +7 -0
  17. package/dist/generated/chat/models/flowsFlowConstant.d.ts +1 -0
  18. package/dist/generated/chat/models/index.d.ts +1 -0
  19. package/dist/generated/chat/models/index.js +1 -0
  20. package/dist/generated/chat/models/mentionsMention.d.ts +7 -0
  21. package/dist/generated/chat/models/notificationsNotification.d.ts +9 -0
  22. package/dist/generated/chat/models/notificationsPagedNotifications.d.ts +4 -0
  23. package/dist/generated/chat/models/usersAppUser.d.ts +5 -0
  24. package/dist/generated/chat/models/workSpaceInfo.d.ts +6 -0
  25. package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +11 -0
  26. package/dist/generated/chat/zod.d.ts +24 -0
  27. package/dist/generated/chat/zod.js +52 -29
  28. package/dist/generated/config/api.d.ts +33 -1
  29. package/dist/generated/config/api.js +148 -1
  30. package/dist/generated/config/api.msw.d.ts +28 -1
  31. package/dist/generated/config/api.msw.js +229 -15
  32. package/dist/generated/config/models/accessAccess.d.ts +11 -0
  33. package/dist/generated/config/models/accessAccessWorkSpace.d.ts +6 -0
  34. package/dist/generated/config/models/accessCreateAccess.d.ts +4 -0
  35. package/dist/generated/config/models/activitiesActivityWorkSpace.d.ts +8 -0
  36. package/dist/generated/config/models/aiIModelProperty.d.ts +6 -0
  37. package/dist/generated/config/models/aiModel.d.ts +7 -0
  38. package/dist/generated/config/models/aiModelSummary.d.ts +5 -0
  39. package/dist/generated/config/models/blocksBlockInfo.d.ts +6 -0
  40. package/dist/generated/config/models/blocksBlockInterface.d.ts +9 -0
  41. package/dist/generated/config/models/blocksBlockSet.d.ts +7 -0
  42. package/dist/generated/config/models/blocksInputPinInterface.d.ts +6 -0
  43. package/dist/generated/config/models/blocksOutputPinInterface.d.ts +6 -0
  44. package/dist/generated/config/models/blocksPortInterface.d.ts +5 -0
  45. package/dist/generated/config/models/blocksStateInterface.d.ts +4 -0
  46. package/dist/generated/config/models/blocksUsedInWorkspaceRef.d.ts +5 -0
  47. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.d.ts +9 -0
  48. package/dist/generated/config/models/configApiFlowRunIdentityMapRequest.js +8 -0
  49. package/dist/generated/config/models/connectorsConnector.d.ts +30 -0
  50. package/dist/generated/config/models/connectorsConnector.js +8 -0
  51. package/dist/generated/config/models/connectorsConnectorSummary.d.ts +18 -0
  52. package/dist/generated/config/models/connectorsConnectorSummary.js +8 -0
  53. package/dist/generated/config/models/connectorsCreateConnector.d.ts +23 -0
  54. package/dist/generated/config/models/connectorsCreateConnector.js +8 -0
  55. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.d.ts +9 -0
  56. package/dist/generated/config/models/connectorsGetConnectorSummariesParams.js +8 -0
  57. package/dist/generated/config/models/connectorsGetConnectorsParams.d.ts +9 -0
  58. package/dist/generated/config/models/connectorsGetConnectorsParams.js +8 -0
  59. package/dist/generated/config/models/connectorsResolvedConnector.d.ts +20 -0
  60. package/dist/generated/config/models/connectorsResolvedConnector.js +2 -0
  61. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.d.ts +9 -0
  62. package/dist/generated/config/models/connectorsResolvedConnectorHeaders.js +8 -0
  63. package/dist/generated/config/models/connectorsUpdateConnector.d.ts +26 -0
  64. package/dist/generated/config/models/connectorsUpdateConnector.js +8 -0
  65. package/dist/generated/config/models/dataSetsCreateDataSet.d.ts +6 -0
  66. package/dist/generated/config/models/dataSetsCreateDataSetContainer.d.ts +6 -0
  67. package/dist/generated/config/models/dataSetsDataSet.d.ts +14 -0
  68. package/dist/generated/config/models/dataSetsDataSetProperty.d.ts +5 -0
  69. package/dist/generated/config/models/dataSetsGetIngestionRunsParams.d.ts +15 -0
  70. package/dist/generated/config/models/dataSetsGetIngestionRunsParams.js +8 -0
  71. package/dist/generated/config/models/dataSetsSetDataSetScoping.d.ts +6 -0
  72. package/dist/generated/config/models/dataSetsUpdateDataSet.d.ts +6 -0
  73. package/dist/generated/config/models/dataSetsUpdateDataSetBasicInfo.d.ts +4 -0
  74. package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +15 -1
  75. package/dist/generated/config/models/dataSourcesCreateDataSource.d.ts +6 -0
  76. package/dist/generated/config/models/dataSourcesDataSource.d.ts +6 -0
  77. package/dist/generated/config/models/dataSourcesDataSourceAdminUser.d.ts +6 -0
  78. package/dist/generated/config/models/dataSourcesDataSourceCredentialsDefinition.d.ts +5 -0
  79. package/dist/generated/config/models/dataSourcesTestDataSourceConnection.d.ts +7 -0
  80. package/dist/generated/config/models/dataSourcesUpdateDataSourceCredentials.d.ts +6 -0
  81. package/dist/generated/config/models/dataSpacesCreateDataSpace.d.ts +5 -0
  82. package/dist/generated/config/models/dataSpacesDataSpace.d.ts +9 -0
  83. package/dist/generated/config/models/dataSpacesDataSpaceAdmin.d.ts +12 -0
  84. package/dist/generated/config/models/dataSpacesDataSpaceWorkSpaceRef.d.ts +5 -0
  85. package/dist/generated/config/models/dataSpacesUpdateDataSpace.d.ts +6 -0
  86. package/dist/generated/config/models/draftsDraft.d.ts +6 -0
  87. package/dist/generated/config/models/draftsPublishDraftRequest.d.ts +5 -0
  88. package/dist/generated/config/models/draftsSaveDraftRequest.d.ts +5 -0
  89. package/dist/generated/config/models/draftsSaveDraftResponse.d.ts +5 -0
  90. package/dist/generated/config/models/enumsNotificationType.d.ts +1 -0
  91. package/dist/generated/config/models/enumsNotificationType.js +1 -0
  92. package/dist/generated/config/models/filesCreateFileFromBlobUri.d.ts +6 -0
  93. package/dist/generated/config/models/filesFile.d.ts +12 -0
  94. package/dist/generated/config/models/filesFileUriResponse.d.ts +7 -0
  95. package/dist/generated/config/models/filesIngestedBlob.d.ts +7 -0
  96. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
  97. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
  98. package/dist/generated/config/models/flowsFlowConstant.d.ts +1 -0
  99. package/dist/generated/config/models/index.d.ts +20 -0
  100. package/dist/generated/config/models/index.js +20 -0
  101. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRun.d.ts +2 -1
  102. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +57 -0
  103. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.js +2 -0
  104. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRunTrigger.d.ts +11 -0
  105. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRunTrigger.js +8 -0
  106. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
  107. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
  108. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
  109. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
  110. package/dist/generated/config/models/managedSecretsCreateManagedSecret.d.ts +7 -0
  111. package/dist/generated/config/models/managedSecretsManagedSecret.d.ts +8 -0
  112. package/dist/generated/config/models/managedSecretsUpdateManagedSecretValue.d.ts +4 -0
  113. package/dist/generated/config/models/notificationsNotification.d.ts +9 -0
  114. package/dist/generated/config/models/notificationsPagedNotifications.d.ts +4 -0
  115. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.d.ts +11 -0
  116. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.js +2 -0
  117. package/dist/generated/config/models/syncsGetItemsParams.d.ts +10 -0
  118. package/dist/generated/config/models/syncsGetItemsParams.js +8 -0
  119. package/dist/generated/config/models/syncsGetParams.d.ts +18 -0
  120. package/dist/generated/config/models/syncsGetParams.js +8 -0
  121. package/dist/generated/config/models/syncsSync.d.ts +11 -0
  122. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +3 -0
  123. package/dist/generated/config/models/syncsSyncQueueState.d.ts +16 -0
  124. package/dist/generated/config/models/syncsSyncQueueState.js +8 -0
  125. package/dist/generated/config/models/syncsSyncRunInfo.d.ts +19 -0
  126. package/dist/generated/config/models/syncsSyncRunInfo.js +8 -0
  127. package/dist/generated/config/models/usersAppAccessUser.d.ts +5 -0
  128. package/dist/generated/config/models/usersAppRole.d.ts +3 -0
  129. package/dist/generated/config/models/usersAppUserDetail.d.ts +5 -0
  130. package/dist/generated/config/models/usersAppUserSearchResult.d.ts +5 -0
  131. package/dist/generated/config/models/usersAppUserSummary.d.ts +6 -0
  132. package/dist/generated/config/models/usersServicePrincipalSearchResult.d.ts +4 -0
  133. package/dist/generated/config/models/workSpaceInfo.d.ts +6 -0
  134. package/dist/generated/config/models/workSpacesCreateWorkSpace.d.ts +5 -0
  135. package/dist/generated/config/models/workSpacesUpdateWorkSpaceBasicInfo.d.ts +5 -0
  136. package/dist/generated/config/models/workSpacesWorkSpace.d.ts +11 -0
  137. package/dist/generated/config/models/workSpacesWorkSpaceUser.d.ts +6 -0
  138. package/dist/generated/config/zod.d.ts +438 -2
  139. package/dist/generated/config/zod.js +521 -126
  140. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.d.ts +22 -0
  141. package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.js +2 -0
  142. package/dist/generated/signalr/SmartSpace.App.Core.Enums.d.ts +7 -0
  143. package/dist/generated/signalr/SmartSpace.App.Core.Enums.js +14 -0
  144. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +11 -0
  145. package/dist/generated/signalr/TypedSignalR.Client/index.js +6 -0
  146. package/dist/signalr.d.ts +2 -0
  147. package/dist/signalr.js +3 -0
  148. package/package.json +2 -2
@@ -6,6 +6,11 @@
6
6
  */
7
7
  import type { DataSourcesCredentialsCredentialsType } from './dataSourcesCredentialsCredentialsType';
8
8
  import type { DataSourcesDataSourceProperty } from './dataSourcesDataSourceProperty';
9
+ /**
10
+ * Schema metadata describing the *shape* of credentials a connector type
11
+ requires — not credential values. Exempted from
12
+ `ModelFolderSafetyTests` via `LegitimateSchemaExceptions`.
13
+ */
9
14
  export interface DataSourcesDataSourceCredentialsDefinition {
10
15
  credentialsType: DataSourcesCredentialsCredentialsType;
11
16
  properties: DataSourcesDataSourceProperty[];
@@ -5,6 +5,13 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { DataSourcesTestDataSourceConnectionCredentials } from './dataSourcesTestDataSourceConnectionCredentials';
8
+ /**
9
+ * Request shape for the test-connection endpoint and an internal carrier
10
+ for the data-source-type service when probing credentials. Contains an
11
+ inline credentials dictionary — listed under
12
+ `ModelFolderSafetyTests.ExistingDebtToReview`; redesign to a
13
+ KeyVault-ref-only payload is tracked in TODO.md.
14
+ */
8
15
  export interface DataSourcesTestDataSourceConnection {
9
16
  credentials: DataSourcesTestDataSourceConnectionCredentials;
10
17
  dataSourceTypeId: string;
@@ -5,6 +5,12 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { DataSourcesUpdateDataSourceCredentialsCredentials } from './dataSourcesUpdateDataSourceCredentialsCredentials';
8
+ /**
9
+ * Partial-update payload for connector credentials — only non-empty
10
+ values overwrite the existing entries (see
11
+ `DataSourceService.UpdateCredentialsAsync`). Listed under
12
+ `ModelFolderSafetyTests.ExistingDebtToReview`.
13
+ */
8
14
  export interface DataSourcesUpdateDataSourceCredentials {
9
15
  credentials: DataSourcesUpdateDataSourceCredentialsCredentials;
10
16
  }
@@ -4,6 +4,11 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Create-request shape for a DataSpace. `DataSetIds` is an optional
9
+ pre-attachment of existing datasets to the new dataspace; the creating
10
+ principal is implicitly added as the first admin.
11
+ */
7
12
  export interface DataSpacesCreateDataSpace {
8
13
  /** @nullable */
9
14
  dataSetIds?: string[] | null;
@@ -6,6 +6,15 @@
6
6
  */
7
7
  import type { DataSetsDataSet } from './dataSetsDataSet';
8
8
  import type { DataSpacesDataSpaceWorkSpaceRef } from './dataSpacesDataSpaceWorkSpaceRef';
9
+ /**
10
+ * Model for a DataSpace. Collides on the simple name with
11
+ `SmartSpace.App.Data.Entities.DataSpace`; alias
12
+ `DataEntities = SmartSpace.App.Data.Entities` in files that import
13
+ both. The fully-qualified `DataSets.DataSet` below also
14
+ disambiguates from the legacy unmigrated `Business.Models.DataSet`
15
+ — implicit name resolution prefers the ancestor namespace and would
16
+ otherwise pick up the legacy record.
17
+ */
9
18
  export interface DataSpacesDataSpace {
10
19
  createdAt: string;
11
20
  createdByUserId: string;
@@ -4,9 +4,21 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Model for a DataSpace admin junction record. The composite key is
9
+ (UserId, DataSpaceId) — no surrogate id. Junction entities follow the
10
+ delete+create convention, so there is no `UpdateDataSpaceAdmin`.
11
+
12
+ `DisplayName` is filled by the service via `IUserService`
13
+ post-projection — it isn't on the entity and can't be projected, so it
14
+ hangs off the record as an `init`-only property rather than a
15
+ constructor parameter.
16
+ */
7
17
  export interface DataSpacesDataSpaceAdmin {
8
18
  /** @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}$ */
9
19
  dataSpaceId: string;
20
+ /** Display name resolved from `IUserService.GetPrincipalsByIdsAsync`
21
+ after projection. Empty string when the principal lookup misses. */
10
22
  displayName: string;
11
23
  userId: string;
12
24
  }
@@ -4,6 +4,11 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Lightweight reference to a WorkSpace that uses this DataSpace. Avoids
9
+ pulling the full WorkSpace shape (admins, flows, configurations) when a
10
+ caller only needs to surface "what workspaces reference this DataSpace".
11
+ */
7
12
  export interface DataSpacesDataSpaceWorkSpaceRef {
8
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}$ */
9
14
  id: string;
@@ -4,6 +4,12 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Update-request shape for a DataSpace — rename and re-bind the attached
9
+ datasets. The complete `DataSetIds` list is treated as the desired
10
+ state; datasets present today but missing here are unbound, new ones
11
+ are bound in.
12
+ */
7
13
  export interface DataSpacesUpdateDataSpace {
8
14
  dataSetIds: string[];
9
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}$ */
@@ -5,6 +5,12 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { DraftsDraftBlockInterfaces } from './draftsDraftBlockInterfaces';
8
+ /**
9
+ * A browser-authored Draft Custom block — a `BlockSet` row with
10
+ `IsDraft = true`, scoped to one user. See `ADR-0002` for the
11
+ resolution rule that decides when the owner's draft wins over a published
12
+ Custom at the same `(name, version)`.
13
+ */
8
14
  export interface DraftsDraft {
9
15
  blockInterfaces: DraftsDraftBlockInterfaces;
10
16
  isActive: boolean;
@@ -4,6 +4,11 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * `ConfirmOverwrite` must be true to replace an already-published set of
9
+ the same name — the first attempt 409s with the impact details so the user
10
+ opts in deliberately (see the custom-block rework design, Phase 3).
11
+ */
7
12
  export interface DraftsPublishDraftRequest {
8
13
  confirmOverwrite: boolean;
9
14
  /** @nullable */
@@ -4,6 +4,11 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Save a draft's source. `ExpectedRowVersion` is the value the client last saw;
9
+ the server returns 409 if the DB has moved on (eg. another tab). Null is allowed
10
+ only for first-ever creation.
11
+ */
7
12
  export interface DraftsSaveDraftRequest {
8
13
  /** @nullable */
9
14
  expectedRowVersion?: string | null;
@@ -5,6 +5,11 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { DraftsSaveDraftResponseBlockInterfaces } from './draftsSaveDraftResponseBlockInterfaces';
8
+ /**
9
+ * Response after saving a draft. `ParseError` is non-null when the source
10
+ failed to parse — the text is still persisted, but `BlockInterfaces` is
11
+ empty until parse succeeds (matches the editor's live-preview semantics).
12
+ */
8
13
  export interface DraftsSaveDraftResponse {
9
14
  blockInterfaces: DraftsSaveDraftResponseBlockInterfaces;
10
15
  /** @nullable */
@@ -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
  };
@@ -4,6 +4,12 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Request to register an existing blob (already uploaded to storage) as a
9
+ SmartSpace.App.Business.Models.Files.File record bound to an optional flow run. Used by the
10
+ SmartSpace AI ingestion pipeline to call back into the API once it has
11
+ staged a file in blob storage.
12
+ */
7
13
  export interface FilesCreateFileFromBlobUri {
8
14
  blobUri: string;
9
15
  /**
@@ -4,6 +4,18 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Model for a stored file blob. The simple name collides with
9
+ `System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`
10
+ (which is itself named to side-step the BCL collision); the
11
+ `SmartSpace.App.Business.Models.Files` namespace disambiguates. When
12
+ importing both this model and the entity, alias the entity side:
13
+ ```using DataEntities = SmartSpace.App.Data.Entities;```
14
+ `ThreadId` reflects the entity column `MessageThreadId`
15
+ (renamed at the model boundary because the API contract has always called
16
+ it `threadId`). `WorkspaceId` keeps the lower-s spelling that
17
+ matches the entity column and is already on the wire.
18
+ */
7
19
  export interface FilesFile {
8
20
  createdAt: string;
9
21
  createdByUserId: string;
@@ -4,6 +4,13 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Response shape for `GET /files/{id}/uri` on both the chat-api and
9
+ config-api. Frontends call this with whatever URL the server hands them
10
+ (e.g. as the `sourceUri` on a file MessageValue) and expect a JSON
11
+ object — not a bare string — so the wire format stays extensible (we can
12
+ add e.g. an expiry without breaking clients).
13
+ */
7
14
  export interface FilesFileUriResponse {
8
15
  uri: string;
9
16
  }
@@ -6,6 +6,13 @@
6
6
  */
7
7
  import type { FilesFile } from './filesFile';
8
8
  import type { EnumsIngestionStatus } from './enumsIngestionStatus';
9
+ /**
10
+ * Model for an ingested blob — pairs a stored SmartSpace.App.Business.Models.Files.IngestedBlob.File with its
11
+ ingestion lifecycle (status, owning dataset, originating flow run).
12
+ `CreatedByUserName` is filled in by the service post-projection
13
+ (display-name lookup via `IUserService`); it is not part of the EF
14
+ projection because it cannot be expression-tree-translated.
15
+ */
9
16
  export interface FilesIngestedBlob {
10
17
  /** @nullable */
11
18
  createdAt?: string | null;
@@ -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 });
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { FlowsFlowConstantValue } from './flowsFlowConstantValue';
8
8
  export interface FlowsFlowConstant {
9
+ secret: boolean;
9
10
  /** @nullable */
10
11
  value?: FlowsFlowConstantValue;
11
12
  }
@@ -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';
@@ -90,6 +99,7 @@ export * from './dataSetsCreateDataSetContainer';
90
99
  export * from './dataSetsDataSet';
91
100
  export * from './dataSetsDataSetProperty';
92
101
  export * from './dataSetsGetContainerItemsRunHistoryParams';
102
+ export * from './dataSetsGetIngestionRunsParams';
93
103
  export * from './dataSetsGetItemsParams';
94
104
  export * from './dataSetsGetParams';
95
105
  export * from './dataSetsSetDataSetScoping';
@@ -179,6 +189,7 @@ export * from './flowRunsGetStepExecutionsParams';
179
189
  export * from './flowRunsGetVariables200One';
180
190
  export * from './flowRunsGetVariables200Three';
181
191
  export * from './flowRunsGetVariables200Two';
192
+ export * from './flowRunsGetWorkspaceRunsParams';
182
193
  export * from './flowRunsSearchFlowRunsParams';
183
194
  export * from './flowValueModel';
184
195
  export * from './flowValueModelChannels';
@@ -227,7 +238,11 @@ export * from './integrationsSmartSpaceAiFlowPinRef';
227
238
  export * from './integrationsSmartSpaceAiFlowValueModel';
228
239
  export * from './integrationsSmartSpaceAiFlowValueModelChannels';
229
240
  export * from './integrationsSmartSpaceAiFunctionExecutionDebugModel';
241
+ export * from './integrationsSmartSpaceAiIngestionRun';
242
+ export * from './integrationsSmartSpaceAiIngestionRunTrigger';
230
243
  export * from './integrationsSmartSpaceAiSdkBlockRef';
244
+ export * from './integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun';
245
+ export * from './integrationsSmartSpaceAiWorkspaceRun';
231
246
  export * from './managedSecretsCreateManagedSecret';
232
247
  export * from './managedSecretsManagedSecret';
233
248
  export * from './managedSecretsUpdateManagedSecretValue';
@@ -279,6 +294,7 @@ export * from './pagedDataCollectionWorkSpaceTemplatesTemplate';
279
294
  export * from './pagedDataCollectionWorkSpacesWorkSpace';
280
295
  export * from './pagedDataSystemCollectionsGenericICollectionDataSetItem';
281
296
  export * from './pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory';
297
+ export * from './pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun';
282
298
  export * from './reportingDuration';
283
299
  export * from './reportingGetRequestsParams';
284
300
  export * from './reportingGetTokensParams';
@@ -286,8 +302,12 @@ export * from './reportingReportDefinitionSystemDateTime';
286
302
  export * from './reportingReportSeries';
287
303
  export * from './reportingSplit';
288
304
  export * from './sandBoxGetThreadMessagesParams';
305
+ export * from './syncsGetItemsParams';
306
+ export * from './syncsGetParams';
289
307
  export * from './syncsSync';
290
308
  export * from './syncsSyncDataSourceInfo';
309
+ export * from './syncsSyncQueueState';
310
+ export * from './syncsSyncRunInfo';
291
311
  export * from './usersAdminPermissionParams';
292
312
  export * from './usersAppAccessUser';
293
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);
@@ -106,6 +115,7 @@ __exportStar(require("./dataSetsCreateDataSetContainer"), exports);
106
115
  __exportStar(require("./dataSetsDataSet"), exports);
107
116
  __exportStar(require("./dataSetsDataSetProperty"), exports);
108
117
  __exportStar(require("./dataSetsGetContainerItemsRunHistoryParams"), exports);
118
+ __exportStar(require("./dataSetsGetIngestionRunsParams"), exports);
109
119
  __exportStar(require("./dataSetsGetItemsParams"), exports);
110
120
  __exportStar(require("./dataSetsGetParams"), exports);
111
121
  __exportStar(require("./dataSetsSetDataSetScoping"), exports);
@@ -195,6 +205,7 @@ __exportStar(require("./flowRunsGetStepExecutionsParams"), exports);
195
205
  __exportStar(require("./flowRunsGetVariables200One"), exports);
196
206
  __exportStar(require("./flowRunsGetVariables200Three"), exports);
197
207
  __exportStar(require("./flowRunsGetVariables200Two"), exports);
208
+ __exportStar(require("./flowRunsGetWorkspaceRunsParams"), exports);
198
209
  __exportStar(require("./flowRunsSearchFlowRunsParams"), exports);
199
210
  __exportStar(require("./flowValueModel"), exports);
200
211
  __exportStar(require("./flowValueModelChannels"), exports);
@@ -243,7 +254,11 @@ __exportStar(require("./integrationsSmartSpaceAiFlowPinRef"), exports);
243
254
  __exportStar(require("./integrationsSmartSpaceAiFlowValueModel"), exports);
244
255
  __exportStar(require("./integrationsSmartSpaceAiFlowValueModelChannels"), exports);
245
256
  __exportStar(require("./integrationsSmartSpaceAiFunctionExecutionDebugModel"), exports);
257
+ __exportStar(require("./integrationsSmartSpaceAiIngestionRun"), exports);
258
+ __exportStar(require("./integrationsSmartSpaceAiIngestionRunTrigger"), exports);
246
259
  __exportStar(require("./integrationsSmartSpaceAiSdkBlockRef"), exports);
260
+ __exportStar(require("./integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun"), exports);
261
+ __exportStar(require("./integrationsSmartSpaceAiWorkspaceRun"), exports);
247
262
  __exportStar(require("./managedSecretsCreateManagedSecret"), exports);
248
263
  __exportStar(require("./managedSecretsManagedSecret"), exports);
249
264
  __exportStar(require("./managedSecretsUpdateManagedSecretValue"), exports);
@@ -295,6 +310,7 @@ __exportStar(require("./pagedDataCollectionWorkSpaceTemplatesTemplate"), exports
295
310
  __exportStar(require("./pagedDataCollectionWorkSpacesWorkSpace"), exports);
296
311
  __exportStar(require("./pagedDataSystemCollectionsGenericICollectionDataSetItem"), exports);
297
312
  __exportStar(require("./pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory"), exports);
313
+ __exportStar(require("./pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun"), exports);
298
314
  __exportStar(require("./reportingDuration"), exports);
299
315
  __exportStar(require("./reportingGetRequestsParams"), exports);
300
316
  __exportStar(require("./reportingGetTokensParams"), exports);
@@ -302,8 +318,12 @@ __exportStar(require("./reportingReportDefinitionSystemDateTime"), exports);
302
318
  __exportStar(require("./reportingReportSeries"), exports);
303
319
  __exportStar(require("./reportingSplit"), exports);
304
320
  __exportStar(require("./sandBoxGetThreadMessagesParams"), exports);
321
+ __exportStar(require("./syncsGetItemsParams"), exports);
322
+ __exportStar(require("./syncsGetParams"), exports);
305
323
  __exportStar(require("./syncsSync"), exports);
306
324
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
325
+ __exportStar(require("./syncsSyncQueueState"), exports);
326
+ __exportStar(require("./syncsSyncRunInfo"), exports);
307
327
  __exportStar(require("./usersAdminPermissionParams"), exports);
308
328
  __exportStar(require("./usersAppAccessUser"), exports);
309
329
  __exportStar(require("./usersAppRole"), exports);
@@ -11,6 +11,7 @@ export interface IntegrationsSmartSpaceAiContainerItemFlowRun {
11
11
  finishedAt?: string | null;
12
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
13
  flowRunId: string;
14
- runAt: string;
14
+ /** @nullable */
15
+ runAt?: string | null;
15
16
  status: string;
16
17
  }
@@ -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 { 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 });
@@ -4,6 +4,13 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Create request shape. `Name` must match the token-safe pattern so it
9
+ embeds cleanly in flow-definition secret tokens; the same rule is enforced
10
+ as a business rule in `ManagedSecretService` (single source:
11
+ `CreateManagedSecret.Pattern`). `Value` is write-only — it goes to
12
+ Key Vault and is never returned by any admin endpoint.
13
+ */
7
14
  export interface ManagedSecretsCreateManagedSecret {
8
15
  name: string;
9
16
  value: string;
@@ -4,6 +4,14 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Read/list shape for a managed secret. Deliberately carries NO value property
9
+ and NO vault reference — secret values are write-only through the admin
10
+ surface and only ever leave via the machine-only resolve endpoint
11
+ (SmartSpace.App.Business.Models.ManagedSecrets.ResolvedManagedSecret). Collides on the simple name with
12
+ `SmartSpace.App.Data.Entities.ManagedSecret`; alias
13
+ `DataEntities = SmartSpace.App.Data.Entities` in files that import both.
14
+ */
7
15
  export interface ManagedSecretsManagedSecret {
8
16
  createdAt: string;
9
17
  createdByUserId: string;
@@ -4,6 +4,10 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ /**
8
+ * Overwrite-value request shape (rotation). Writes a new version of the same
9
+ Key Vault secret — the row's vault reference is reused, never re-minted.
10
+ */
7
11
  export interface ManagedSecretsUpdateManagedSecretValue {
8
12
  value: string;
9
13
  }
@@ -5,6 +5,15 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { EnumsNotificationType } from './enumsNotificationType';
8
+ /**
9
+ * Model for a Notification. Collides on the simple name with
10
+ `SmartSpace.App.Data.Entities.Notification`; alias
11
+ `DataEntities = SmartSpace.App.Data.Entities` in files that import
12
+ both. `CreatedBy` (display name) sits outside the positional ctor
13
+ because it can't be expression-tree-translated — the service hydrates it
14
+ post-projection via `IUserService.GetPrincipalDisplayNameByIdAsync`
15
+ and emits a `with { CreatedBy = ... }`.
16
+ */
8
17
  export interface NotificationsNotification {
9
18
  createdAt: string;
10
19
  /** @nullable */
@@ -5,6 +5,10 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  import type { NotificationsNotification } from './notificationsNotification';
8
+ /**
9
+ * Notification list response shape. Two counts so callers can render an
10
+ "X unread of Y total" badge without a second round-trip.
11
+ */
8
12
  export interface NotificationsPagedNotifications {
9
13
  data: NotificationsNotification[];
10
14
  total: number;