@smartspace/api-client 0.1.0-dev.dc7bf57 → 0.1.0-dev.ddedda9
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.
- package/dist/generated/chat/api.d.ts +7 -1
- package/dist/generated/chat/api.js +28 -1
- package/dist/generated/chat/api.msw.d.ts +6 -1
- package/dist/generated/chat/api.msw.js +70 -73
- package/dist/generated/chat/models/aiModel.d.ts +1 -0
- package/dist/generated/chat/models/aiModelSummary.d.ts +1 -0
- package/dist/generated/chat/models/connectorsConnectorSummary.d.ts +12 -0
- package/dist/generated/chat/models/connectorsConnectorSummary.js +8 -0
- package/dist/generated/chat/models/dataSourceContainer.d.ts +2 -0
- package/dist/generated/chat/models/enumsNotificationType.d.ts +1 -0
- package/dist/generated/chat/models/enumsNotificationType.js +1 -0
- package/dist/generated/chat/models/flowsFlowTrigger.d.ts +1 -0
- package/dist/generated/chat/models/index.d.ts +3 -0
- package/dist/generated/chat/models/index.js +3 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/chat/models/pagedDataCollectionAccessAccess.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionCommentCommentSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionMessagesMessage.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/chat/zod.d.ts +56 -0
- package/dist/generated/chat/zod.js +61 -6
- package/dist/generated/config/api.d.ts +55 -1
- package/dist/generated/config/api.js +293 -3
- package/dist/generated/config/api.msw.d.ts +42 -1
- package/dist/generated/config/api.msw.js +422 -259
- package/dist/generated/config/models/aiModel.d.ts +1 -0
- package/dist/generated/config/models/aiModelSummary.d.ts +1 -0
- package/dist/generated/config/models/blocksBlockSet.d.ts +3 -2
- package/dist/generated/config/models/{blocksUsedInWorkspaceRef.d.ts → blocksUsedInRef.d.ts} +1 -1
- package/dist/generated/config/models/connectorsConnector.d.ts +23 -0
- package/dist/generated/config/models/connectorsConnectorSummary.d.ts +12 -0
- package/dist/generated/config/models/connectorsConnectorSummary.js +8 -0
- package/dist/generated/config/models/connectorsCreateConnector.d.ts +18 -0
- package/dist/generated/config/models/connectorsCreateConnector.js +8 -0
- package/dist/generated/config/models/connectorsGetConnectorSummariesParams.d.ts +9 -0
- package/dist/generated/config/models/connectorsGetConnectorSummariesParams.js +8 -0
- package/dist/generated/config/models/connectorsGetConnectorsParams.d.ts +9 -0
- package/dist/generated/config/models/connectorsGetConnectorsParams.js +8 -0
- package/dist/generated/config/models/connectorsResolvedConnector.d.ts +11 -0
- package/dist/generated/config/models/connectorsResolvedConnector.js +2 -0
- package/dist/generated/config/models/connectorsResolvedConnectorHeaders.d.ts +9 -0
- package/dist/generated/config/models/connectorsResolvedConnectorHeaders.js +8 -0
- package/dist/generated/config/models/connectorsUpdateConnector.d.ts +17 -0
- package/dist/generated/config/models/connectorsUpdateConnector.js +8 -0
- package/dist/generated/config/models/containerItem.d.ts +5 -0
- package/dist/generated/config/models/containerItem.js +0 -6
- package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
- package/dist/generated/config/models/containerItemIngestion.js +8 -0
- package/dist/generated/config/models/containersPostParams.d.ts +4 -0
- package/dist/generated/config/models/dataSetsCreateDataSetContainer.d.ts +2 -0
- package/dist/generated/config/models/dataSetsDataSet.d.ts +2 -0
- package/dist/generated/config/models/dataSetsGetParams.d.ts +2 -0
- package/dist/generated/config/models/dataSetsSetDataSetSourceDeletes.d.ts +11 -0
- package/dist/generated/config/models/dataSetsSetDataSetSourceDeletes.js +8 -0
- package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +5 -1
- package/dist/generated/config/models/dataSourceContainer.d.ts +2 -0
- package/dist/generated/config/models/dataSourcesDataSourceContainer.d.ts +2 -0
- package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +2 -0
- package/dist/generated/config/models/enumsNotificationType.d.ts +1 -0
- package/dist/generated/config/models/enumsNotificationType.js +1 -0
- package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +19 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
- package/dist/generated/config/models/flowValueModel.d.ts +4 -0
- package/dist/generated/config/models/flowsFlowTrigger.d.ts +1 -0
- package/dist/generated/config/models/functionExecutionDebugModel.d.ts +4 -0
- package/dist/generated/config/models/index.d.ts +22 -2
- package/dist/generated/config/models/index.js +22 -2
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/config/models/{integrationsAzureActiveDirectoryServicePrincipal.d.ts → integrationsAzureSpeechSpeechToken.d.ts} +3 -3
- package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +6 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueModel.d.ts +4 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecutionDebugModel.d.ts +4 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
- package/dist/generated/config/models/pagedDataCollectionAccessAccess.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAccessAccessWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionActivitiesActivityWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAzureADGroup.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionContainerItem.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSetsDataSet.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSourcesDataSource.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSpacesDataSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionFilesIngestedBlob.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionSyncsSync.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppAccessUser.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppUserDetail.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppUserSearchResult.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.d.ts +13 -0
- package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.js +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalSearchResult.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionWorkSpaceTemplatesTemplate.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionDataSetItem.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.d.ts +2 -0
- package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +11 -0
- package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.js +8 -0
- package/dist/generated/config/models/syncsGetParams.d.ts +7 -0
- package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
- package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
- package/dist/generated/config/models/syncsSync.d.ts +19 -3
- package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +4 -0
- package/dist/generated/config/models/syncsSyncQueueState.d.ts +10 -0
- package/dist/generated/config/models/syncsSyncQueueState.js +8 -0
- package/dist/generated/config/models/syncsSyncRunInfo.d.ts +14 -0
- package/dist/generated/config/models/syncsSyncRunInfo.js +8 -0
- package/dist/generated/config/models/usersServicePrincipalDetail.d.ts +14 -0
- package/dist/generated/config/models/usersServicePrincipalDetail.js +2 -0
- package/dist/generated/config/models/workSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/config/zod.d.ts +790 -7
- package/dist/generated/config/zod.js +742 -38
- package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +7 -0
- package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.d.ts +22 -0
- package/dist/generated/signalr/SmartSpace.App.Business.Models.Notifications.js +2 -0
- package/dist/generated/signalr/SmartSpace.App.Core.Enums.d.ts +7 -0
- package/dist/generated/signalr/SmartSpace.App.Core.Enums.js +14 -0
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +20 -9
- package/dist/generated/signalr/TypedSignalR.Client/index.js +6 -0
- package/dist/signalr.d.ts +3 -1
- package/dist/signalr.js +3 -0
- package/package.json +2 -2
- /package/dist/generated/config/models/{blocksUsedInWorkspaceRef.js → blocksUsedInRef.js} +0 -0
- /package/dist/generated/config/models/{integrationsAzureActiveDirectoryServicePrincipal.js → connectorsConnector.js} +0 -0
|
@@ -311,6 +311,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
311
311
|
});
|
|
312
312
|
};
|
|
313
313
|
/**
|
|
314
|
+
* The `isVector` field is deprecated: the platform no longer uses it,
|
|
315
|
+
and it has no effect on ingestion or querying. It remains available as an
|
|
316
|
+
optional field for backward compatibility with existing integrations —
|
|
317
|
+
new integrations should omit it. When omitted, the stored value is
|
|
318
|
+
preserved on update and defaults to `false` on create.
|
|
314
319
|
* @summary Upsert a single property on a dataset.
|
|
315
320
|
*/
|
|
316
321
|
const dataSetsAddDataSetProperty = (id, dataSetsUpsertDataSetProperty) => {
|
|
@@ -343,6 +348,31 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
343
348
|
data: dataSetsSetDataSetScoping
|
|
344
349
|
});
|
|
345
350
|
};
|
|
351
|
+
/**
|
|
352
|
+
* @summary Whether this dataset hides items whose source file was deleted in the given
|
|
353
|
+
container. Per container, because the setting belongs to that subscription.
|
|
354
|
+
Off is the default and does not disable detection — deletions are always
|
|
355
|
+
recorded and always marked on the affected rows; this only decides whether a
|
|
356
|
+
marked row is returned. Nothing here deletes anything.
|
|
357
|
+
*/
|
|
358
|
+
const dataSetsPutSourceDeletes = (id, dataSetsSetDataSetSourceDeletes) => {
|
|
359
|
+
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/sourceDeletes`, method: 'PUT',
|
|
360
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
361
|
+
data: dataSetsSetDataSetSourceDeletes
|
|
362
|
+
});
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Answered from the dataset, so it does not depend on whether the caller also
|
|
366
|
+
administers the connectors behind those syncs. Unpaged — the set is bounded by
|
|
367
|
+
the dataset's own triggers — but `scoped` is true when connector visibility
|
|
368
|
+
hid some of them, so an empty list is never presented as "nothing feeds this".
|
|
369
|
+
* @summary The syncs feeding this dataset — the connector selections whose landed items
|
|
370
|
+
ingest into it, including any it shares with other datasets.
|
|
371
|
+
*/
|
|
372
|
+
const dataSetsGetSyncs = (id) => {
|
|
373
|
+
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/syncs`, method: 'GET'
|
|
374
|
+
});
|
|
375
|
+
};
|
|
346
376
|
/**
|
|
347
377
|
* @summary Fetch a list of all available data source types in SmartSpace.
|
|
348
378
|
*/
|
|
@@ -421,7 +451,8 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
421
451
|
};
|
|
422
452
|
/**
|
|
423
453
|
* @summary Returns a JSON Schema object for the container's properties, used to drive the filter editor UI.
|
|
424
|
-
Schema shape: { type: "object", properties: { [name]: { type, title, enum? } } }
|
|
454
|
+
Schema shape: { type: "object", properties: { [name]: { type, title, enum?, format? } } }
|
|
455
|
+
format "date"/"date-time" marks date-valued properties (their filter values remain epoch-millisecond strings).
|
|
425
456
|
containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
|
|
426
457
|
*/
|
|
427
458
|
const dataSourcesContainerSchema = (dataSourceId, params) => {
|
|
@@ -438,6 +469,15 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
438
469
|
data: dataSourcesUpdateDataSourceCredentials
|
|
439
470
|
});
|
|
440
471
|
};
|
|
472
|
+
/**
|
|
473
|
+
* @summary Requests an on-demand sync of a data source. The request is queued;
|
|
474
|
+
the sync service picks it up within ~30 seconds. Repeated requests
|
|
475
|
+
are safe — concurrent syncs of the same source collapse to one run.
|
|
476
|
+
*/
|
|
477
|
+
const dataSourcesRequestSync = (dataSourceId) => {
|
|
478
|
+
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/sync`, method: 'POST'
|
|
479
|
+
});
|
|
480
|
+
};
|
|
441
481
|
const dataSourcesGetAdminUsers = (id) => {
|
|
442
482
|
return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins`, method: 'GET'
|
|
443
483
|
});
|
|
@@ -513,6 +553,25 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
513
553
|
data: debugInvokeBody
|
|
514
554
|
});
|
|
515
555
|
};
|
|
556
|
+
/**
|
|
557
|
+
* @summary The ingest pipeline, install-wide: depth and oldest-message age of the
|
|
558
|
+
ingest and poison queues, and how many consumer replicas have a live
|
|
559
|
+
heartbeat. Nothing reads a message body.
|
|
560
|
+
*/
|
|
561
|
+
const diagnosticsGetIngestQueue = () => {
|
|
562
|
+
return (0, instance_1.customInstance)({ url: `/Diagnostics/ingest-queue`, method: 'GET'
|
|
563
|
+
});
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* @summary Mongo index health for the flow-runs store: planned-vs-existing
|
|
567
|
+
indexes per collection, the latest index-ensure outcome per index
|
|
568
|
+
(including repeated failures), and any in-flight index
|
|
569
|
+
transformations with their progress (currentOp).
|
|
570
|
+
*/
|
|
571
|
+
const diagnosticsGetMongoIndexes = () => {
|
|
572
|
+
return (0, instance_1.customInstance)({ url: `/Diagnostics/mongo-indexes`, method: 'GET'
|
|
573
|
+
});
|
|
574
|
+
};
|
|
516
575
|
/**
|
|
517
576
|
* @summary List the current user's drafts (without parsed interfaces — load detail to get those).
|
|
518
577
|
*/
|
|
@@ -654,6 +713,51 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
654
713
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}`, method: 'GET'
|
|
655
714
|
});
|
|
656
715
|
};
|
|
716
|
+
/**
|
|
717
|
+
* @summary Requests cancellation of a queued or running flow run. Cancellation
|
|
718
|
+
is cooperative: a queued run is stamped cancelled before it starts;
|
|
719
|
+
a running flow stops between block executions, typically within
|
|
720
|
+
seconds. Cancelled runs carry cancelledAt in their basic info.
|
|
721
|
+
*/
|
|
722
|
+
const flowRunsCancelFlowRun = (id) => {
|
|
723
|
+
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
|
|
724
|
+
});
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Frames are unnamed SSE `data:` events, each carrying a `kind`:
|
|
728
|
+
`snapshot` (rows + total; the AI side sends it first), `events`
|
|
729
|
+
(rows that just changed, same shape), `lagged` and `gap` (both
|
|
730
|
+
mean re-read; the stream stays attached), and `unavailable` (the
|
|
731
|
+
feature is not enabled on the install; sent once, then the stream ends —
|
|
732
|
+
do not retry).
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
The client tracks no offset. The AI side attaches to its change stream
|
|
736
|
+
before it reads the log, so rows written between the two arrive twice
|
|
737
|
+
rather than not at all, and where it could not, or lost rows later, it
|
|
738
|
+
sends `gap` or `lagged`. A reconnect simply starts with a fresh
|
|
739
|
+
snapshot. This API relays that contract; it does not enforce it.
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
The AI side sends rows with structure and timings and with value payloads
|
|
743
|
+
left out — expand a step through M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetStepExecution(System.Guid,System.Guid) for those —
|
|
744
|
+
and sends only persisted state, which does not include LLM token deltas.
|
|
745
|
+
Nothing here strips a payload: a row is relayed as it arrives.
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
This endpoint does not return 501. The AI side answers 501 when the
|
|
749
|
+
feature is off, and that arrives here as the `unavailable` frame on a
|
|
750
|
+
200. Surfacing it as an exception instead would reach the caller as a
|
|
751
|
+
generic 500, which loses the one thing it needs to know: that retrying
|
|
752
|
+
will never help.
|
|
753
|
+
|
|
754
|
+
* @summary Live run events for a run: a snapshot of the run so far, then the tail,
|
|
755
|
+
on one connection.
|
|
756
|
+
*/
|
|
757
|
+
const flowRunsStreamRunEvents = (id) => {
|
|
758
|
+
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/events/stream`, method: 'GET'
|
|
759
|
+
});
|
|
760
|
+
};
|
|
657
761
|
const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
|
|
658
762
|
const formData = new FormData();
|
|
659
763
|
if (flowRunsAddFileIdFilesBody.file !== undefined) {
|
|
@@ -670,11 +774,36 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
670
774
|
data: filesAddMessageFileFromBlobUri
|
|
671
775
|
});
|
|
672
776
|
};
|
|
777
|
+
/**
|
|
778
|
+
* @summary Lists a run's function executions, newest first.
|
|
779
|
+
*/
|
|
673
780
|
const flowRunsGetStepExecutions = (id, params) => {
|
|
674
781
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions`, method: 'GET',
|
|
675
782
|
params
|
|
676
783
|
});
|
|
677
784
|
};
|
|
785
|
+
/**
|
|
786
|
+
* Inline values are returned as stored. Values spilled to blob storage come
|
|
787
|
+
back by reference (`isBlob`, `sizeBytes`, `data` null) and are
|
|
788
|
+
fetched with M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetFlowValueDownload(System.Guid,System.Guid); they are never downloaded on
|
|
789
|
+
this read, so expanding a large step costs the same as a small one.
|
|
790
|
+
* @summary Gets one execution of a run with its input/output values — the detail read
|
|
791
|
+
behind `functionexecutions?includeValues=false`.
|
|
792
|
+
*/
|
|
793
|
+
const flowRunsGetStepExecution = (id, executionId) => {
|
|
794
|
+
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
|
|
795
|
+
});
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* Redirects to short-lived direct-from-storage link, so the payload never
|
|
799
|
+
transits this service — the same pattern as file downloads. Only values the
|
|
800
|
+
per-execution read returned by reference resolve here.
|
|
801
|
+
* @summary Downloads a blob-spilled value's payload.
|
|
802
|
+
*/
|
|
803
|
+
const flowRunsGetFlowValueDownload = (id, valueId) => {
|
|
804
|
+
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
|
|
805
|
+
});
|
|
806
|
+
};
|
|
678
807
|
const flowRunsGetVariables = (id) => {
|
|
679
808
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
|
|
680
809
|
});
|
|
@@ -756,6 +885,13 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
756
885
|
data: aiCreateModel
|
|
757
886
|
});
|
|
758
887
|
};
|
|
888
|
+
/**
|
|
889
|
+
* @summary Retrieves the instance-wide default model — the one pre-selected on new LLM blocks and the default workspace flow.
|
|
890
|
+
*/
|
|
891
|
+
const modelsGetDefaultModel = () => {
|
|
892
|
+
return (0, instance_1.customInstance)({ url: `/Models/default`, method: 'GET'
|
|
893
|
+
});
|
|
894
|
+
};
|
|
759
895
|
const modelsGetDefaultDockerFile = (params) => {
|
|
760
896
|
return (0, instance_1.customInstance)({ url: `/Models/defaultdockerfile`, method: 'GET',
|
|
761
897
|
params
|
|
@@ -784,6 +920,20 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
784
920
|
data: aiCreateModel
|
|
785
921
|
});
|
|
786
922
|
};
|
|
923
|
+
/**
|
|
924
|
+
* @summary Clears the default flag from the specified model, leaving the instance with no default.
|
|
925
|
+
*/
|
|
926
|
+
const modelsClearDefaultModel = (id) => {
|
|
927
|
+
return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'DELETE'
|
|
928
|
+
});
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* @summary Makes the specified model the instance-wide default, replacing any previous default.
|
|
932
|
+
*/
|
|
933
|
+
const modelsSetDefaultModel = (id) => {
|
|
934
|
+
return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'PUT'
|
|
935
|
+
});
|
|
936
|
+
};
|
|
787
937
|
/**
|
|
788
938
|
* @summary Retrieves the Docker logs for a specific deployment of a model.
|
|
789
939
|
*/
|
|
@@ -870,11 +1020,65 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
870
1020
|
params
|
|
871
1021
|
});
|
|
872
1022
|
};
|
|
1023
|
+
/**
|
|
1024
|
+
* @summary List API accounts: service principals holding the SmartSpace integration
|
|
1025
|
+
role, with their permission flags and last recorded activity.
|
|
1026
|
+
*/
|
|
1027
|
+
const servicePrincipalsGetServicePrincipals = (params) => {
|
|
1028
|
+
return (0, instance_1.customInstance)({ url: `/ServicePrincipals`, method: 'GET',
|
|
1029
|
+
params
|
|
1030
|
+
});
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
|
|
1034
|
+
should connect. The UI decides whether to render the microphone from this, so it answers for
|
|
1035
|
+
the install rather than failing: an install without speech reports enabled = false.
|
|
1036
|
+
*/
|
|
1037
|
+
const speechGetConfig = () => {
|
|
1038
|
+
return (0, instance_1.customInstance)({ url: `/Speech/config`, method: 'GET'
|
|
1039
|
+
});
|
|
1040
|
+
};
|
|
1041
|
+
/**
|
|
1042
|
+
* @summary A token from this install's Speech account token service, which the browser passes straight
|
|
1043
|
+
to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
|
|
1044
|
+
recognition on this one resource in one region.
|
|
1045
|
+
*/
|
|
1046
|
+
const speechGetToken = () => {
|
|
1047
|
+
return (0, instance_1.customInstance)({ url: `/Speech/token`, method: 'GET'
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* @summary List configured syncs. status matches the data
|
|
1052
|
+
source's latest completed sync (e.g. Success / Failure), or "never"
|
|
1053
|
+
for sources with no recorded sync. sortBy:
|
|
1054
|
+
name | connector | lastSync (default: path).
|
|
1055
|
+
*/
|
|
873
1056
|
const syncsGet = (params) => {
|
|
874
1057
|
return (0, instance_1.customInstance)({ url: `/Syncs`, method: 'GET',
|
|
875
1058
|
params
|
|
876
1059
|
});
|
|
877
1060
|
};
|
|
1061
|
+
/**
|
|
1062
|
+
* @summary The sync-requests queue right now: approximate depth and which data
|
|
1063
|
+
sources have a request WAITING. In-flight requests are invisible to
|
|
1064
|
+
peek (visibility timeout) — that state is each data source's
|
|
1065
|
+
isSyncing flag. Literal route wins over the {containerId} template.
|
|
1066
|
+
*/
|
|
1067
|
+
const syncsGetQueue = () => {
|
|
1068
|
+
return (0, instance_1.customInstance)({ url: `/Syncs/queue`, method: 'GET'
|
|
1069
|
+
});
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* @summary Removes the sync: deletes its data source container config record, so
|
|
1073
|
+
the source selection stops being mirrored from the next sync cycle.
|
|
1074
|
+
Refused (DSC400) while any live dataset still subscribes to it via a
|
|
1075
|
+
container flow trigger. Config-only — already-landed items and copied
|
|
1076
|
+
blobs are not cleaned up here.
|
|
1077
|
+
*/
|
|
1078
|
+
const syncsDelete = (containerId) => {
|
|
1079
|
+
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'DELETE'
|
|
1080
|
+
});
|
|
1081
|
+
};
|
|
878
1082
|
const syncsGetById = (containerId) => {
|
|
879
1083
|
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'GET'
|
|
880
1084
|
});
|
|
@@ -888,6 +1092,17 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
888
1092
|
params
|
|
889
1093
|
});
|
|
890
1094
|
};
|
|
1095
|
+
/**
|
|
1096
|
+
* @summary The sync's dead-letter list: the ingestion run records the AI API's
|
|
1097
|
+
consumer gave up on, newest first, each with the reason. The poison queue
|
|
1098
|
+
holds the replay copies and is not read here. 502 when the install's AI
|
|
1099
|
+
API predates the route, rather than an opaque 500.
|
|
1100
|
+
*/
|
|
1101
|
+
const syncsGetPoisoned = (containerId, params) => {
|
|
1102
|
+
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}/poisoned`, method: 'GET',
|
|
1103
|
+
params
|
|
1104
|
+
});
|
|
1105
|
+
};
|
|
891
1106
|
/**
|
|
892
1107
|
* @summary Gets Tenant Id
|
|
893
1108
|
*/
|
|
@@ -896,7 +1111,8 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
896
1111
|
});
|
|
897
1112
|
};
|
|
898
1113
|
/**
|
|
899
|
-
* @summary Retrieve
|
|
1114
|
+
* @summary Retrieve users assigned to the SmartSpace application (directly or via a group),
|
|
1115
|
+
with optional search and pagination controls take and skip.
|
|
900
1116
|
*/
|
|
901
1117
|
const usersGetUsers = (params) => {
|
|
902
1118
|
return (0, instance_1.customInstance)({ url: `/Users`, method: 'GET',
|
|
@@ -1073,6 +1289,24 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1073
1289
|
data: createModelConfiguration
|
|
1074
1290
|
});
|
|
1075
1291
|
};
|
|
1292
|
+
/**
|
|
1293
|
+
* @summary Detaches a connector from a workspace. Flows still referencing it
|
|
1294
|
+
fail at resolve time rather than silently keeping access.
|
|
1295
|
+
*/
|
|
1296
|
+
const workSpacesRemoveConnector = (workspaceId, connectorId) => {
|
|
1297
|
+
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
|
|
1298
|
+
});
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* @summary Attaches a connector to a workspace — the access model for external
|
|
1302
|
+
connectors, mirroring dataspaces. Only after this can a flow in the
|
|
1303
|
+
workspace reference the connector, and the resolve endpoint checks
|
|
1304
|
+
the same attachment at call time.
|
|
1305
|
+
*/
|
|
1306
|
+
const workSpacesAddConnector = (workspaceId, connectorId) => {
|
|
1307
|
+
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
|
|
1308
|
+
});
|
|
1309
|
+
};
|
|
1076
1310
|
/**
|
|
1077
1311
|
* @summary Removes a data space from a workspace.
|
|
1078
1312
|
*/
|
|
@@ -1137,6 +1371,53 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1137
1371
|
data: workSpacesSetActiveFlowLayoutBody
|
|
1138
1372
|
});
|
|
1139
1373
|
};
|
|
1374
|
+
/**
|
|
1375
|
+
* @summary Lists connectors with their auth settings — never a credential.
|
|
1376
|
+
*/
|
|
1377
|
+
const connectorsGetConnectors = (params) => {
|
|
1378
|
+
return (0, instance_1.customInstance)({ url: `/connectors`, method: 'GET',
|
|
1379
|
+
params
|
|
1380
|
+
});
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* @summary Creates a connector and its shared credential in one call: the value
|
|
1384
|
+
goes to Key Vault, the row stores only the reference.
|
|
1385
|
+
*/
|
|
1386
|
+
const connectorsCreateConnector = (connectorsCreateConnector) => {
|
|
1387
|
+
return (0, instance_1.customInstance)({ url: `/connectors`, method: 'POST',
|
|
1388
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
1389
|
+
data: connectorsCreateConnector
|
|
1390
|
+
});
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* @summary Picker list for workspace editors: id, name and kind only. Gated on
|
|
1394
|
+
WorkspaceEdit rather than Admin because attaching a connector to a
|
|
1395
|
+
workspace is a workspace-editor action, and the picker is how they
|
|
1396
|
+
choose one. Admins pass this gate via the role bypass.
|
|
1397
|
+
*/
|
|
1398
|
+
const connectorsGetConnectorSummaries = (params) => {
|
|
1399
|
+
return (0, instance_1.customInstance)({ url: `/connectors/summaries`, method: 'GET',
|
|
1400
|
+
params
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1403
|
+
const connectorsDeleteConnector = (id) => {
|
|
1404
|
+
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'DELETE'
|
|
1405
|
+
});
|
|
1406
|
+
};
|
|
1407
|
+
const connectorsGetConnector = (id) => {
|
|
1408
|
+
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'GET'
|
|
1409
|
+
});
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* @summary Updates a connector. Omit `Secret` to leave the credential
|
|
1413
|
+
untouched; supply one to rotate it.
|
|
1414
|
+
*/
|
|
1415
|
+
const connectorsUpdateConnector = (id, connectorsUpdateConnector) => {
|
|
1416
|
+
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'PUT',
|
|
1417
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
1418
|
+
data: connectorsUpdateConnector
|
|
1419
|
+
});
|
|
1420
|
+
};
|
|
1140
1421
|
/**
|
|
1141
1422
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
|
|
1142
1423
|
*/
|
|
@@ -1190,6 +1471,15 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1190
1471
|
params
|
|
1191
1472
|
});
|
|
1192
1473
|
};
|
|
1474
|
+
/**
|
|
1475
|
+
* @summary Lists a workspace's flow runs, newest first (chat threads, designer
|
|
1476
|
+
runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
|
|
1477
|
+
*/
|
|
1478
|
+
const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
|
|
1479
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/runs`, method: 'GET',
|
|
1480
|
+
params
|
|
1481
|
+
});
|
|
1482
|
+
};
|
|
1193
1483
|
/**
|
|
1194
1484
|
* @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
|
|
1195
1485
|
*/
|
|
@@ -1260,6 +1550,6 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1260
1550
|
data: messagesCreateMessageInput
|
|
1261
1551
|
});
|
|
1262
1552
|
};
|
|
1263
|
-
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, syncsGet, syncsGetById, syncsGetItems, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersAddUserPermission, usersRemoveUserPermission, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesDeleteModelConfiguration, workSpacesPutModelConfiguration, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, documentsGetDocumentSas, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1553
|
+
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSetsPutSourceDeletes, dataSetsGetSyncs, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, diagnosticsGetIngestQueue, diagnosticsGetMongoIndexes, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, flowRunsStreamRunEvents, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetStepExecution, flowRunsGetFlowValueDownload, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsClearDefaultModel, modelsSetDefaultModel, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, servicePrincipalsGetServicePrincipals, speechGetConfig, speechGetToken, syncsGet, syncsGetQueue, syncsDelete, syncsGetById, syncsGetItems, syncsGetPoisoned, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersAddUserPermission, usersRemoveUserPermission, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesDeleteModelConfiguration, workSpacesPutModelConfiguration, workSpacesRemoveConnector, workSpacesAddConnector, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, connectorsGetConnectors, connectorsCreateConnector, connectorsGetConnectorSummaries, connectorsDeleteConnector, connectorsGetConnector, connectorsUpdateConnector, documentsGetDocumentSas, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1264
1554
|
};
|
|
1265
1555
|
exports.getSmartSpaceAdminAPI = getSmartSpaceAdminAPI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
2
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import type { AccessAccess, AiModel, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiSdkBlockRef, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingReportDefinitionSystemDateTime, SyncsSync, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser } from './models';
|
|
3
|
+
import type { AccessAccess, AiModel, AiModelSummary, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, ConnectorsConnector, ConnectorsConnectorSummary, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiFunctionExecutionDebugModel, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalDetail, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingReportDefinitionSystemDateTime, SyncsSync, SyncsSyncQueueState, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser } from './models';
|
|
4
4
|
import type { BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two } from './models';
|
|
5
5
|
export declare const getAccessGetAccessesResponseMock: (overrideResponse?: Partial<PagedDataCollectionAccessAccess>) => PagedDataCollectionAccessAccess;
|
|
6
6
|
export declare const getAccessAddAccessResponseMock: (overrideResponse?: Partial<AccessAccess>) => AccessAccess;
|
|
@@ -34,6 +34,7 @@ export declare const getDataSetsGetItemsResponseMock: (overrideResponse?: Partia
|
|
|
34
34
|
export declare const getDataSetsSearchItemsResponseMock: (overrideResponse?: Partial<PagedDataSystemCollectionsGenericICollectionDataSetItem>) => PagedDataSystemCollectionsGenericICollectionDataSetItem;
|
|
35
35
|
export declare const getDataSetsAddDataSetPropertyResponseMock: (overrideResponse?: Partial<DataSetsDataSetProperty>) => DataSetsDataSetProperty;
|
|
36
36
|
export declare const getDataSetsGetIngestionRunsResponseMock: (overrideResponse?: Partial<PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun>) => PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun;
|
|
37
|
+
export declare const getDataSetsGetSyncsResponseMock: (overrideResponse?: Partial<PagedDataCollectionSyncsSync>) => PagedDataCollectionSyncsSync;
|
|
37
38
|
export declare const getDataSourceTypesGetResponseMock: () => DataSourcesDataSourceType[];
|
|
38
39
|
export declare const getDataSourceTypesGetAvailableContainersResponseMock: () => DataSourcesDataSourceContainer[];
|
|
39
40
|
export declare const getDataSourceTypesTestConnectionResponseMock: (overrideResponse?: Partial<DataSourcesTestConnectionResult>) => DataSourcesTestConnectionResult;
|
|
@@ -58,8 +59,10 @@ export declare const getFilesGetFileInfoResponseMock: (overrideResponse?: Partia
|
|
|
58
59
|
export declare const getFilesGetUriResponseMock: (overrideResponse?: Partial<FilesFileUriResponse>) => FilesFileUriResponse;
|
|
59
60
|
export declare const getFlowRunsGetFileFromFlowRunIdResponseMock: (overrideResponse?: Partial<FilesFile>) => FilesFile;
|
|
60
61
|
export declare const getFlowRunsGetStepExecutionsResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiDebugLogsResponse>) => IntegrationsSmartSpaceAiDebugLogsResponse;
|
|
62
|
+
export declare const getFlowRunsGetStepExecutionResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiFunctionExecutionDebugModel>) => IntegrationsSmartSpaceAiFunctionExecutionDebugModel;
|
|
61
63
|
export declare const getFlowRunsGetVariablesResponseMock: () => FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three;
|
|
62
64
|
export declare const getModelsGetModelsResponseMock: (overrideResponse?: Partial<PagedDataCollectionAiModelSummary>) => PagedDataCollectionAiModelSummary;
|
|
65
|
+
export declare const getModelsGetDefaultModelResponseMock: (overrideResponse?: Partial<AiModelSummary | void>) => AiModelSummary | void;
|
|
63
66
|
export declare const getModelsGetDefaultDockerFileResponseMock: () => string;
|
|
64
67
|
export declare const getModelsGetModelResponseMock: (overrideResponse?: Partial<AiModel>) => AiModel;
|
|
65
68
|
export declare const getModelsGetDeploymentDockerLogsResponseMock: () => string;
|
|
@@ -67,9 +70,14 @@ export declare const getModelsGetModelHealthResponseMock: () => MicrosoftExtensi
|
|
|
67
70
|
export declare const getNotificationGetResponseMock: (overrideResponse?: Partial<NotificationsPagedNotifications>) => NotificationsPagedNotifications;
|
|
68
71
|
export declare const getReportingGetRequestsResponseMock: (overrideResponse?: Partial<ReportingReportDefinitionSystemDateTime>) => ReportingReportDefinitionSystemDateTime;
|
|
69
72
|
export declare const getReportingGetTokensResponseMock: (overrideResponse?: Partial<ReportingReportDefinitionSystemDateTime>) => ReportingReportDefinitionSystemDateTime;
|
|
73
|
+
export declare const getServicePrincipalsGetServicePrincipalsResponseMock: (overrideResponse?: Partial<PagedDataCollectionUsersServicePrincipalDetail>) => PagedDataCollectionUsersServicePrincipalDetail;
|
|
74
|
+
export declare const getSpeechGetConfigResponseMock: (overrideResponse?: Partial<IntegrationsAzureSpeechSpeechConfig>) => IntegrationsAzureSpeechSpeechConfig;
|
|
75
|
+
export declare const getSpeechGetTokenResponseMock: (overrideResponse?: Partial<IntegrationsAzureSpeechSpeechToken>) => IntegrationsAzureSpeechSpeechToken;
|
|
70
76
|
export declare const getSyncsGetResponseMock: (overrideResponse?: Partial<PagedDataCollectionSyncsSync>) => PagedDataCollectionSyncsSync;
|
|
77
|
+
export declare const getSyncsGetQueueResponseMock: (overrideResponse?: Partial<SyncsSyncQueueState>) => SyncsSyncQueueState;
|
|
71
78
|
export declare const getSyncsGetByIdResponseMock: (overrideResponse?: Partial<SyncsSync>) => SyncsSync;
|
|
72
79
|
export declare const getSyncsGetItemsResponseMock: (overrideResponse?: Partial<PagedDataCollectionContainerItem>) => PagedDataCollectionContainerItem;
|
|
80
|
+
export declare const getSyncsGetPoisonedResponseMock: (overrideResponse?: Partial<PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun>) => PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun;
|
|
73
81
|
export declare const getTenantIdGetResultResponseMock: () => string;
|
|
74
82
|
export declare const getUsersGetUsersResponseMock: (overrideResponse?: Partial<PagedDataCollectionUsersAppUserDetail>) => PagedDataCollectionUsersAppUserDetail;
|
|
75
83
|
export declare const getUsersGetMyPermissionsResponseMock: () => EnumsPermissions;
|
|
@@ -88,12 +96,18 @@ export declare const getWorkSpacesGetThreadsResponseMock: (overrideResponse?: Pa
|
|
|
88
96
|
export declare const getWorkSpacesGetWorkspaceFilesResponseMock: (overrideResponse?: Partial<PagedDataCollectionFilesIngestedBlob>) => PagedDataCollectionFilesIngestedBlob;
|
|
89
97
|
export declare const getWorkSpacesWorkspaceFilesResponseMock: () => FilesIngestedBlob[];
|
|
90
98
|
export declare const getWorkSpacesGetActiveFlowResponseMock: (overrideResponse?: Partial<FlowsFlowDefinition>) => FlowsFlowDefinition;
|
|
99
|
+
export declare const getConnectorsGetConnectorsResponseMock: () => ConnectorsConnector[];
|
|
100
|
+
export declare const getConnectorsCreateConnectorResponseMock: (overrideResponse?: Partial<ConnectorsConnector>) => ConnectorsConnector;
|
|
101
|
+
export declare const getConnectorsGetConnectorSummariesResponseMock: () => ConnectorsConnectorSummary[];
|
|
102
|
+
export declare const getConnectorsGetConnectorResponseMock: (overrideResponse?: Partial<ConnectorsConnector>) => ConnectorsConnector;
|
|
103
|
+
export declare const getConnectorsUpdateConnectorResponseMock: (overrideResponse?: Partial<ConnectorsConnector>) => ConnectorsConnector;
|
|
91
104
|
export declare const getDocumentsGetDocumentSasResponseMock: (overrideResponse?: Partial<IntegrationsAzureStorageSasToken>) => IntegrationsAzureStorageSasToken;
|
|
92
105
|
export declare const getManagedSecretsGetManagedSecretsResponseMock: () => ManagedSecretsManagedSecret[];
|
|
93
106
|
export declare const getManagedSecretsCreateManagedSecretResponseMock: (overrideResponse?: Partial<ManagedSecretsManagedSecret>) => ManagedSecretsManagedSecret;
|
|
94
107
|
export declare const getManagedSecretsOverwriteManagedSecretValueResponseMock: (overrideResponse?: Partial<ManagedSecretsManagedSecret>) => ManagedSecretsManagedSecret;
|
|
95
108
|
export declare const getMessageThreadsGetWorkspaceExecutionsResponseMock: (overrideResponse?: Partial<DebugLogsResponse>) => DebugLogsResponse;
|
|
96
109
|
export declare const getMessageThreadsGetStepExecutionsResponseMock: (overrideResponse?: Partial<DebugLogsResponse>) => DebugLogsResponse;
|
|
110
|
+
export declare const getFlowRunsGetWorkspaceRunsResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun>) => IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun;
|
|
97
111
|
export declare const getSandBoxGetSandboxThreadResponseMock: (overrideResponse?: Partial<MessageThreadMessageThreadSummary>) => MessageThreadMessageThreadSummary;
|
|
98
112
|
export declare const getSandBoxThreadMessageCreateByUsersProfileImagesResponseMock: () => MessagesMessageCreatorProfileImage[];
|
|
99
113
|
export declare const getSandBoxGetThreadMessagesResponseMock: () => MessagesMessage[];
|
|
@@ -145,6 +159,8 @@ export declare const getDataSetsAddDataSetPropertyMockHandler: (overrideResponse
|
|
|
145
159
|
export declare const getDataSetsDeleteDataSetPropertyMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
146
160
|
export declare const getDataSetsGetIngestionRunsMockHandler: (overrideResponse?: PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun> | PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
147
161
|
export declare const getDataSetsPutScopingMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
162
|
+
export declare const getDataSetsPutSourceDeletesMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
163
|
+
export declare const getDataSetsGetSyncsMockHandler: (overrideResponse?: PagedDataCollectionSyncsSync | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionSyncsSync> | PagedDataCollectionSyncsSync), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
148
164
|
export declare const getDataSourceTypesGetMockHandler: (overrideResponse?: DataSourcesDataSourceType[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DataSourcesDataSourceType[]> | DataSourcesDataSourceType[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
149
165
|
export declare const getDataSourceTypesGetAvailableContainersMockHandler: (overrideResponse?: DataSourcesDataSourceContainer[] | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DataSourcesDataSourceContainer[]> | DataSourcesDataSourceContainer[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
150
166
|
export declare const getDataSourceTypesTestConnectionMockHandler: (overrideResponse?: DataSourcesTestConnectionResult | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DataSourcesTestConnectionResult> | DataSourcesTestConnectionResult), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -156,6 +172,7 @@ export declare const getDataSourcesContainersMockHandler: (overrideResponse?: Da
|
|
|
156
172
|
export declare const getDataSourcesPreviewContainerMockHandler: (overrideResponse?: DataSourcesContainerPreviewResultModel | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DataSourcesContainerPreviewResultModel> | DataSourcesContainerPreviewResultModel), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
157
173
|
export declare const getDataSourcesContainerSchemaMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
158
174
|
export declare const getDataSourcesUpdateCredentialsMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
175
|
+
export declare const getDataSourcesRequestSyncMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
159
176
|
export declare const getDataSourcesGetAdminUsersMockHandler: (overrideResponse?: DataSourcesDataSourceAdminUser[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DataSourcesDataSourceAdminUser[]> | DataSourcesDataSourceAdminUser[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
160
177
|
export declare const getDataSourcesDeleteAdminMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
161
178
|
export declare const getDataSourcesAddAdminMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -170,6 +187,8 @@ export declare const getDataSpacesAddAdminMockHandler: (overrideResponse?: void
|
|
|
170
187
|
export declare const getDataSpacesGetDataSetsMockHandler: (overrideResponse?: PagedDataCollectionDataSetsDataSet | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionDataSetsDataSet> | PagedDataCollectionDataSetsDataSet), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
171
188
|
export declare const getDataSpacesPostDatasetMockHandler: (overrideResponse?: DataSetsDataSet | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DataSetsDataSet> | DataSetsDataSet), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
172
189
|
export declare const getDebugInvokeMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
190
|
+
export declare const getDiagnosticsGetIngestQueueMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
191
|
+
export declare const getDiagnosticsGetMongoIndexesMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
173
192
|
export declare const getDraftsListDraftsMockHandler: (overrideResponse?: DraftsDraft[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DraftsDraft[]> | DraftsDraft[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
174
193
|
export declare const getDraftsDeleteDraftMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
175
194
|
export declare const getDraftsGetDraftMockHandler: (overrideResponse?: DraftsDraft | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DraftsDraft> | DraftsDraft), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -184,9 +203,13 @@ export declare const getFlowRunsCreateFlowRunMockHandler: (overrideResponse?: vo
|
|
|
184
203
|
export declare const getFlowRunsSearchFlowRunsMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
185
204
|
export declare const getFlowRunsGetFileFromFlowRunIdMockHandler: (overrideResponse?: FilesFile | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FilesFile> | FilesFile), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
186
205
|
export declare const getFlowRunsGetFlowRunMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
206
|
+
export declare const getFlowRunsCancelFlowRunMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
207
|
+
export declare const getFlowRunsStreamRunEventsMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
187
208
|
export declare const getFlowRunsAddFileIdFilesMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
188
209
|
export declare const getFlowRunsAddFileIdFilesExistingMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
189
210
|
export declare const getFlowRunsGetStepExecutionsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiDebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiDebugLogsResponse> | IntegrationsSmartSpaceAiDebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
211
|
+
export declare const getFlowRunsGetStepExecutionMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiFunctionExecutionDebugModel | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiFunctionExecutionDebugModel> | IntegrationsSmartSpaceAiFunctionExecutionDebugModel), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
212
|
+
export declare const getFlowRunsGetFlowValueDownloadMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
190
213
|
export declare const getFlowRunsGetVariablesMockHandler: (overrideResponse?: FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three> | FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
191
214
|
export declare const getFlowRunsSetVariableMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
192
215
|
export declare const getFlowsGetMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -199,10 +222,13 @@ export declare const getModelProvidersGetProviderMockHandler: (overrideResponse?
|
|
|
199
222
|
export declare const getModelProvidersUpsertProviderMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
200
223
|
export declare const getModelsGetModelsMockHandler: (overrideResponse?: PagedDataCollectionAiModelSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionAiModelSummary> | PagedDataCollectionAiModelSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
201
224
|
export declare const getModelsCreateModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
225
|
+
export declare const getModelsGetDefaultModelMockHandler: (overrideResponse?: void | AiModelSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AiModelSummary | void> | AiModelSummary | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
202
226
|
export declare const getModelsGetDefaultDockerFileMockHandler: (overrideResponse?: string | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<string> | string), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
203
227
|
export declare const getModelsDeleteModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
204
228
|
export declare const getModelsGetModelMockHandler: (overrideResponse?: AiModel | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AiModel> | AiModel), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
205
229
|
export declare const getModelsUpsertModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
230
|
+
export declare const getModelsClearDefaultModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
231
|
+
export declare const getModelsSetDefaultModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
206
232
|
export declare const getModelsGetDeploymentDockerLogsMockHandler: (overrideResponse?: string | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<string> | string), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
207
233
|
export declare const getModelsGetModelHealthMockHandler: (overrideResponse?: MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus> | MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
208
234
|
export declare const getNotificationGetMockHandler: (overrideResponse?: NotificationsPagedNotifications | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<NotificationsPagedNotifications> | NotificationsPagedNotifications), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -214,9 +240,15 @@ export declare const getPlanCalculateSmartSpaceUpgradeCostMockHandler: (override
|
|
|
214
240
|
export declare const getPlanGetSmartSpacePlanUsageMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
215
241
|
export declare const getReportingGetRequestsMockHandler: (overrideResponse?: ReportingReportDefinitionSystemDateTime | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ReportingReportDefinitionSystemDateTime> | ReportingReportDefinitionSystemDateTime), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
216
242
|
export declare const getReportingGetTokensMockHandler: (overrideResponse?: ReportingReportDefinitionSystemDateTime | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ReportingReportDefinitionSystemDateTime> | ReportingReportDefinitionSystemDateTime), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
243
|
+
export declare const getServicePrincipalsGetServicePrincipalsMockHandler: (overrideResponse?: PagedDataCollectionUsersServicePrincipalDetail | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionUsersServicePrincipalDetail> | PagedDataCollectionUsersServicePrincipalDetail), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
244
|
+
export declare const getSpeechGetConfigMockHandler: (overrideResponse?: IntegrationsAzureSpeechSpeechConfig | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsAzureSpeechSpeechConfig> | IntegrationsAzureSpeechSpeechConfig), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
245
|
+
export declare const getSpeechGetTokenMockHandler: (overrideResponse?: IntegrationsAzureSpeechSpeechToken | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsAzureSpeechSpeechToken> | IntegrationsAzureSpeechSpeechToken), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
217
246
|
export declare const getSyncsGetMockHandler: (overrideResponse?: PagedDataCollectionSyncsSync | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionSyncsSync> | PagedDataCollectionSyncsSync), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
247
|
+
export declare const getSyncsGetQueueMockHandler: (overrideResponse?: SyncsSyncQueueState | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SyncsSyncQueueState> | SyncsSyncQueueState), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
248
|
+
export declare const getSyncsDeleteMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
218
249
|
export declare const getSyncsGetByIdMockHandler: (overrideResponse?: SyncsSync | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SyncsSync> | SyncsSync), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
219
250
|
export declare const getSyncsGetItemsMockHandler: (overrideResponse?: PagedDataCollectionContainerItem | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionContainerItem> | PagedDataCollectionContainerItem), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
251
|
+
export declare const getSyncsGetPoisonedMockHandler: (overrideResponse?: PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun> | PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
220
252
|
export declare const getTenantIdGetResultMockHandler: (overrideResponse?: string | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<string> | string), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
221
253
|
export declare const getUsersGetUsersMockHandler: (overrideResponse?: PagedDataCollectionUsersAppUserDetail | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionUsersAppUserDetail> | PagedDataCollectionUsersAppUserDetail), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
222
254
|
export declare const getUsersGetUsersByFilterMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -244,6 +276,8 @@ export declare const getWorkSpacesSetFavoritedMockHandler: (overrideResponse?: v
|
|
|
244
276
|
export declare const getWorkSpacesGetThreadsMockHandler: (overrideResponse?: PagedDataCollectionMessageThreadMessageThreadSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionMessageThreadMessageThreadSummary> | PagedDataCollectionMessageThreadMessageThreadSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
245
277
|
export declare const getWorkSpacesDeleteModelConfigurationMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
246
278
|
export declare const getWorkSpacesPutModelConfigurationMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
279
|
+
export declare const getWorkSpacesRemoveConnectorMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
280
|
+
export declare const getWorkSpacesAddConnectorMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
247
281
|
export declare const getWorkSpacesRemoveDataSpaceMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
248
282
|
export declare const getWorkSpacesAddDataSpaceMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
249
283
|
export declare const getWorkSpacesGetWorkspaceFilesMockHandler: (overrideResponse?: PagedDataCollectionFilesIngestedBlob | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionFilesIngestedBlob> | PagedDataCollectionFilesIngestedBlob), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -252,6 +286,12 @@ export declare const getWorkSpacesDeleteWorkspaceFileMockHandler: (overrideRespo
|
|
|
252
286
|
export declare const getWorkSpacesGetActiveFlowMockHandler: (overrideResponse?: FlowsFlowDefinition | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FlowsFlowDefinition> | FlowsFlowDefinition), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
253
287
|
export declare const getWorkSpacesSetActiveFlowMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
254
288
|
export declare const getWorkSpacesSetActiveFlowLayoutMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
289
|
+
export declare const getConnectorsGetConnectorsMockHandler: (overrideResponse?: ConnectorsConnector[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ConnectorsConnector[]> | ConnectorsConnector[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
290
|
+
export declare const getConnectorsCreateConnectorMockHandler: (overrideResponse?: ConnectorsConnector | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ConnectorsConnector> | ConnectorsConnector), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
291
|
+
export declare const getConnectorsGetConnectorSummariesMockHandler: (overrideResponse?: ConnectorsConnectorSummary[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ConnectorsConnectorSummary[]> | ConnectorsConnectorSummary[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
292
|
+
export declare const getConnectorsDeleteConnectorMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
293
|
+
export declare const getConnectorsGetConnectorMockHandler: (overrideResponse?: ConnectorsConnector | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ConnectorsConnector> | ConnectorsConnector), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
294
|
+
export declare const getConnectorsUpdateConnectorMockHandler: (overrideResponse?: ConnectorsConnector | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ConnectorsConnector> | ConnectorsConnector), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
255
295
|
export declare const getDocumentsGetDocumentSasMockHandler: (overrideResponse?: IntegrationsAzureStorageSasToken | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsAzureStorageSasToken> | IntegrationsAzureStorageSasToken), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
256
296
|
export declare const getManagedSecretsGetManagedSecretsMockHandler: (overrideResponse?: ManagedSecretsManagedSecret[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ManagedSecretsManagedSecret[]> | ManagedSecretsManagedSecret[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
257
297
|
export declare const getManagedSecretsCreateManagedSecretMockHandler: (overrideResponse?: ManagedSecretsManagedSecret | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ManagedSecretsManagedSecret> | ManagedSecretsManagedSecret), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -259,6 +299,7 @@ export declare const getManagedSecretsDeleteManagedSecretMockHandler: (overrideR
|
|
|
259
299
|
export declare const getManagedSecretsOverwriteManagedSecretValueMockHandler: (overrideResponse?: ManagedSecretsManagedSecret | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ManagedSecretsManagedSecret> | ManagedSecretsManagedSecret), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
260
300
|
export declare const getMessageThreadsGetWorkspaceExecutionsMockHandler: (overrideResponse?: DebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DebugLogsResponse> | DebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
261
301
|
export declare const getMessageThreadsGetStepExecutionsMockHandler: (overrideResponse?: DebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DebugLogsResponse> | DebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
302
|
+
export declare const getFlowRunsGetWorkspaceRunsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun> | IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
262
303
|
export declare const getSandBoxGetSandboxThreadMockHandler: (overrideResponse?: MessageThreadMessageThreadSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessageThreadMessageThreadSummary> | MessageThreadMessageThreadSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
263
304
|
export declare const getSandBoxThreadMessageCreateByUsersProfileImagesMockHandler: (overrideResponse?: MessagesMessageCreatorProfileImage[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessagesMessageCreatorProfileImage[]> | MessagesMessageCreatorProfileImage[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
264
305
|
export declare const getSandBoxClearSandboxMessagesMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|