@smartspace/api-client 0.1.0-dev.47c65be → 0.1.0-dev.4962bb3

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 (86) hide show
  1. package/dist/generated/chat/api.d.ts +5 -1
  2. package/dist/generated/chat/api.js +60 -42
  3. package/dist/generated/chat/api.msw.d.ts +5 -1
  4. package/dist/generated/chat/api.msw.js +100 -115
  5. package/dist/generated/chat/models/aiModel.d.ts +1 -0
  6. package/dist/generated/chat/models/aiModelSummary.d.ts +1 -0
  7. package/dist/generated/chat/models/flowsFlowTrigger.d.ts +1 -0
  8. package/dist/generated/chat/models/index.d.ts +2 -0
  9. package/dist/generated/chat/models/index.js +2 -0
  10. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  11. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  12. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  13. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
  14. package/dist/generated/chat/models/pagedDataCollectionAccessAccess.d.ts +2 -0
  15. package/dist/generated/chat/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
  16. package/dist/generated/chat/models/pagedDataCollectionCommentCommentSummary.d.ts +2 -0
  17. package/dist/generated/chat/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
  18. package/dist/generated/chat/models/pagedDataCollectionMessagesMessage.d.ts +2 -0
  19. package/dist/generated/chat/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
  20. package/dist/generated/chat/zod.d.ts +32 -0
  21. package/dist/generated/chat/zod.js +35 -3
  22. package/dist/generated/config/api.d.ts +25 -1
  23. package/dist/generated/config/api.js +329 -184
  24. package/dist/generated/config/api.msw.d.ts +19 -1
  25. package/dist/generated/config/api.msw.js +428 -461
  26. package/dist/generated/config/models/aiModel.d.ts +1 -0
  27. package/dist/generated/config/models/aiModelSummary.d.ts +1 -0
  28. package/dist/generated/config/models/blocksBlockSet.d.ts +3 -2
  29. package/dist/generated/config/models/{blocksUsedInWorkspaceRef.d.ts → blocksUsedInRef.d.ts} +1 -1
  30. package/dist/generated/config/models/containerItem.d.ts +5 -0
  31. package/dist/generated/config/models/containerItem.js +0 -6
  32. package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
  33. package/dist/generated/config/models/containerItemIngestion.js +8 -0
  34. package/dist/generated/config/models/containersPostParams.d.ts +4 -0
  35. package/dist/generated/config/models/dataSetsDataSet.d.ts +2 -0
  36. package/dist/generated/config/models/dataSetsGetParams.d.ts +2 -0
  37. package/dist/generated/config/models/dataSetsSetDataSetSourceDeletes.d.ts +11 -0
  38. package/dist/generated/config/models/dataSetsSetDataSetSourceDeletes.js +8 -0
  39. package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +2 -0
  40. package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +19 -0
  41. package/dist/generated/config/models/flowValueModel.d.ts +4 -0
  42. package/dist/generated/config/models/flowsFlowTrigger.d.ts +1 -0
  43. package/dist/generated/config/models/functionExecutionDebugModel.d.ts +4 -0
  44. package/dist/generated/config/models/index.d.ts +6 -1
  45. package/dist/generated/config/models/index.js +6 -1
  46. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  47. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  48. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  49. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
  50. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +6 -0
  51. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueModel.d.ts +4 -0
  52. package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecutionDebugModel.d.ts +4 -0
  53. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
  54. package/dist/generated/config/models/pagedDataCollectionAccessAccess.d.ts +2 -0
  55. package/dist/generated/config/models/pagedDataCollectionAccessAccessWorkSpace.d.ts +2 -0
  56. package/dist/generated/config/models/pagedDataCollectionActivitiesActivityWorkSpace.d.ts +2 -0
  57. package/dist/generated/config/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
  58. package/dist/generated/config/models/pagedDataCollectionAzureADGroup.d.ts +2 -0
  59. package/dist/generated/config/models/pagedDataCollectionContainerItem.d.ts +2 -0
  60. package/dist/generated/config/models/pagedDataCollectionDataSetsDataSet.d.ts +2 -0
  61. package/dist/generated/config/models/pagedDataCollectionDataSourcesDataSource.d.ts +2 -0
  62. package/dist/generated/config/models/pagedDataCollectionDataSpacesDataSpace.d.ts +2 -0
  63. package/dist/generated/config/models/pagedDataCollectionFilesIngestedBlob.d.ts +2 -0
  64. package/dist/generated/config/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
  65. package/dist/generated/config/models/pagedDataCollectionSyncsSync.d.ts +2 -0
  66. package/dist/generated/config/models/pagedDataCollectionUsersAppAccessUser.d.ts +2 -0
  67. package/dist/generated/config/models/pagedDataCollectionUsersAppUserDetail.d.ts +2 -0
  68. package/dist/generated/config/models/pagedDataCollectionUsersAppUserSearchResult.d.ts +2 -0
  69. package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.d.ts +2 -0
  70. package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalSearchResult.d.ts +2 -0
  71. package/dist/generated/config/models/pagedDataCollectionWorkSpaceTemplatesTemplate.d.ts +2 -0
  72. package/dist/generated/config/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
  73. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionDataSetItem.d.ts +2 -0
  74. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory.d.ts +2 -0
  75. package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.d.ts +2 -0
  76. package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
  77. package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
  78. package/dist/generated/config/models/syncsSync.d.ts +9 -4
  79. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +1 -0
  80. package/dist/generated/config/zod.d.ts +469 -5
  81. package/dist/generated/config/zod.js +450 -35
  82. package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +7 -0
  83. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +9 -9
  84. package/dist/signalr.d.ts +1 -1
  85. package/package.json +1 -1
  86. /package/dist/generated/config/models/{blocksUsedInWorkspaceRef.js → blocksUsedInRef.js} +0 -0
@@ -7,7 +7,7 @@ const getSmartSpaceAdminAPI = () => {
7
7
  * @summary Retrieve access details with optional filtering by workspace, access type, principal type, and search.
8
8
  */
9
9
  const accessGetAccesses = (params) => {
10
- return (0, instance_1.customInstance)({ url: `/Access`, method: 'GET',
10
+ return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'GET',
11
11
  params
12
12
  });
13
13
  };
@@ -15,7 +15,7 @@ const getSmartSpaceAdminAPI = () => {
15
15
  * @summary Add a new access grant for a principal or group to a workspace.
16
16
  */
17
17
  const accessAddAccess = (accessCreateAccess) => {
18
- return (0, instance_1.customInstance)({ url: `/Access`, method: 'PUT',
18
+ return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'PUT',
19
19
  headers: { 'Content-Type': 'application/*+json', },
20
20
  data: accessCreateAccess
21
21
  });
@@ -24,7 +24,7 @@ const getSmartSpaceAdminAPI = () => {
24
24
  * @summary List groups from Azure AD.
25
25
  */
26
26
  const accessGetGroups = (params) => {
27
- return (0, instance_1.customInstance)({ url: `/Access/groups`, method: 'GET',
27
+ return (0, instance_1.customInstance)({ url: `/v1/Access/groups`, method: 'GET',
28
28
  params
29
29
  });
30
30
  };
@@ -32,14 +32,14 @@ const getSmartSpaceAdminAPI = () => {
32
32
  * @summary Fetch a list of all roles defined within SmartSpace, providing an overview of role-based access control.
33
33
  */
34
34
  const accessGetAppRoles = () => {
35
- return (0, instance_1.customInstance)({ url: `/Access/roles`, method: 'GET'
35
+ return (0, instance_1.customInstance)({ url: `/v1/Access/roles`, method: 'GET'
36
36
  });
37
37
  };
38
38
  /**
39
39
  * @summary List users assigned to a specific role in SmartSpace by providing the role's ID.
40
40
  */
41
41
  const accessGetUsersInRoleRolesRoleIdUsers = (roleId, params) => {
42
- return (0, instance_1.customInstance)({ url: `/Access/roles/${roleId}/users`, method: 'GET',
42
+ return (0, instance_1.customInstance)({ url: `/v1/Access/roles/${roleId}/users`, method: 'GET',
43
43
  params
44
44
  });
45
45
  };
@@ -47,7 +47,7 @@ const getSmartSpaceAdminAPI = () => {
47
47
  * @summary Search Azure AD groups for access assignment.
48
48
  */
49
49
  const accessSearchGroups = (params) => {
50
- return (0, instance_1.customInstance)({ url: `/Access/search/groups`, method: 'GET',
50
+ return (0, instance_1.customInstance)({ url: `/v1/Access/search/groups`, method: 'GET',
51
51
  params
52
52
  });
53
53
  };
@@ -55,7 +55,7 @@ const getSmartSpaceAdminAPI = () => {
55
55
  * @summary Search Azure AD service principals for access assignment.
56
56
  */
57
57
  const accessSearchServicePrincipals = (params) => {
58
- return (0, instance_1.customInstance)({ url: `/Access/search/serviceprincipals`, method: 'GET',
58
+ return (0, instance_1.customInstance)({ url: `/v1/Access/search/serviceprincipals`, method: 'GET',
59
59
  params
60
60
  });
61
61
  };
@@ -63,7 +63,7 @@ const getSmartSpaceAdminAPI = () => {
63
63
  * @summary Search Azure AD users for access assignment.
64
64
  */
65
65
  const accessSearchUsers = (params) => {
66
- return (0, instance_1.customInstance)({ url: `/Access/search/users`, method: 'GET',
66
+ return (0, instance_1.customInstance)({ url: `/v1/Access/search/users`, method: 'GET',
67
67
  params
68
68
  });
69
69
  };
@@ -71,7 +71,7 @@ const getSmartSpaceAdminAPI = () => {
71
71
  * @summary Retrieve users associated with a specified role in SmartSpace, enabling role-based user management.
72
72
  */
73
73
  const accessGetUsersInRoleUsers = (params) => {
74
- return (0, instance_1.customInstance)({ url: `/Access/users`, method: 'GET',
74
+ return (0, instance_1.customInstance)({ url: `/v1/Access/users`, method: 'GET',
75
75
  params
76
76
  });
77
77
  };
@@ -79,14 +79,14 @@ const getSmartSpaceAdminAPI = () => {
79
79
  * @summary Remove a specific access entity in SmartSpace by using its ID.
80
80
  */
81
81
  const accessDeleteAccess = (id) => {
82
- return (0, instance_1.customInstance)({ url: `/Access/${id}`, method: 'DELETE'
82
+ return (0, instance_1.customInstance)({ url: `/v1/Access/${id}`, method: 'DELETE'
83
83
  });
84
84
  };
85
85
  /**
86
86
  * @summary Export workspace activity log as a CSV file.
87
87
  */
88
88
  const activityExportLoggings = (params) => {
89
- return (0, instance_1.customInstance)({ url: `/Activity/csv/workspace`, method: 'GET',
89
+ return (0, instance_1.customInstance)({ url: `/v1/Activity/csv/workspace`, method: 'GET',
90
90
  params
91
91
  });
92
92
  };
@@ -94,7 +94,7 @@ const getSmartSpaceAdminAPI = () => {
94
94
  * @summary Retrieve workspace activity log entries with optional filtering and pagination.
95
95
  */
96
96
  const activityGetLogging = (params) => {
97
- return (0, instance_1.customInstance)({ url: `/Activity/workspace`, method: 'GET',
97
+ return (0, instance_1.customInstance)({ url: `/v1/Activity/workspace`, method: 'GET',
98
98
  params
99
99
  });
100
100
  };
@@ -102,14 +102,14 @@ const getSmartSpaceAdminAPI = () => {
102
102
  * @summary Gets the state of an update that was triggered by ApplyLatestAvailableVersion.
103
103
  */
104
104
  const applicationUpdateGetLatestDeployment = () => {
105
- return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/deployments/latest`, method: 'GET'
105
+ return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/deployments/latest`, method: 'GET'
106
106
  });
107
107
  };
108
108
  /**
109
109
  * @summary Returns the current version of the application.
110
110
  */
111
111
  const applicationUpdateGetCurrentVersion = () => {
112
- return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/current`, method: 'GET'
112
+ return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current`, method: 'GET'
113
113
  });
114
114
  };
115
115
  /**
@@ -117,7 +117,7 @@ const getSmartSpaceAdminAPI = () => {
117
117
  Returns 202 to indicate the operation has been triggered.
118
118
  */
119
119
  const applicationUpdateReapplyCurrentVersion = () => {
120
- return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
120
+ return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
121
121
  });
122
122
  };
123
123
  /**
@@ -126,7 +126,7 @@ const getSmartSpaceAdminAPI = () => {
126
126
  Returns 204 if no new version available.
127
127
  */
128
128
  const applicationUpdateGetLatestAvailableVersion = () => {
129
- return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/latest-available`, method: 'GET'
129
+ return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'GET'
130
130
  });
131
131
  };
132
132
  /**
@@ -135,14 +135,14 @@ const getSmartSpaceAdminAPI = () => {
135
135
  Returns 409 if the application is already in the process of updating.
136
136
  */
137
137
  const applicationUpdateApplyLatestAvailableVersion = () => {
138
- return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/latest-available`, method: 'PUT'
138
+ return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'PUT'
139
139
  });
140
140
  };
141
141
  /**
142
142
  * @summary Get a list of all block sets visible to the current principal.
143
143
  */
144
144
  const blockSetsGetBlockSets = (params) => {
145
- return (0, instance_1.customInstance)({ url: `/BlockSets`, method: 'GET',
145
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets`, method: 'GET',
146
146
  params
147
147
  });
148
148
  };
@@ -150,21 +150,21 @@ const getSmartSpaceAdminAPI = () => {
150
150
  * @summary Get the saved Python source code for a deployed custom block set.
151
151
  */
152
152
  const blockSetsGetDeployedBlockCode = (blockSetName) => {
153
- return (0, instance_1.customInstance)({ url: `/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
153
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
154
154
  });
155
155
  };
156
156
  /**
157
157
  * @summary Get the raw zip file for a deployed custom block set.
158
158
  */
159
159
  const blockSetsGetDeployedBlockFiles = (blockSetName) => {
160
- return (0, instance_1.customInstance)({ url: `/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
160
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
161
161
  });
162
162
  };
163
163
  /**
164
164
  * @summary Deletes an existing custom block set.
165
165
  */
166
166
  const blockSetsDeleteBlockSet = (name) => {
167
- return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'DELETE'
167
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'DELETE'
168
168
  });
169
169
  };
170
170
  /**
@@ -174,7 +174,7 @@ const getSmartSpaceAdminAPI = () => {
174
174
  Admin policy handler ignores class-level `[AuthorizeAdmin]`).
175
175
  */
176
176
  const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest) => {
177
- return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'PATCH',
177
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'PATCH',
178
178
  headers: { 'Content-Type': 'application/*+json', },
179
179
  data: blocksRenameBlockSetRequest
180
180
  });
@@ -187,7 +187,7 @@ const getSmartSpaceAdminAPI = () => {
187
187
  if (blockSetsAddBlockSetBody.file !== undefined) {
188
188
  formData.append(`file`, blockSetsAddBlockSetBody.file);
189
189
  }
190
- return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'POST',
190
+ return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'POST',
191
191
  headers: { 'Content-Type': 'multipart/form-data', },
192
192
  data: formData
193
193
  });
@@ -196,7 +196,7 @@ const getSmartSpaceAdminAPI = () => {
196
196
  * @summary Get a list of all block interfaces
197
197
  */
198
198
  const blocksGetBlocks = (params) => {
199
- return (0, instance_1.customInstance)({ url: `/Blocks`, method: 'GET',
199
+ return (0, instance_1.customInstance)({ url: `/v1/Blocks`, method: 'GET',
200
200
  params
201
201
  });
202
202
  };
@@ -207,7 +207,7 @@ const getSmartSpaceAdminAPI = () => {
207
207
  policy handler ignores class-level `[AuthorizeAdmin]`).
208
208
  */
209
209
  const blocksGetSdkBlocks = () => {
210
- return (0, instance_1.customInstance)({ url: `/Blocks/sdk`, method: 'GET'
210
+ return (0, instance_1.customInstance)({ url: `/v1/Blocks/sdk`, method: 'GET'
211
211
  });
212
212
  };
213
213
  /**
@@ -217,43 +217,43 @@ const getSmartSpaceAdminAPI = () => {
217
217
  class-level `[AuthorizeAdmin]`).
218
218
  */
219
219
  const blocksGetBlockSource = (name, version) => {
220
- return (0, instance_1.customInstance)({ url: `/Blocks/${name}/${version}/source`, method: 'GET'
220
+ return (0, instance_1.customInstance)({ url: `/v1/Blocks/${name}/${version}/source`, method: 'GET'
221
221
  });
222
222
  };
223
223
  /**
224
224
  * @summary Manually trigger reingestion of a specific container item.
225
225
  */
226
226
  const containersReingestContainerItem = (containerItemId) => {
227
- return (0, instance_1.customInstance)({ url: `/Containers/items/${containerItemId}/reingest`, method: 'POST'
227
+ return (0, instance_1.customInstance)({ url: `/v1/Containers/items/${containerItemId}/reingest`, method: 'POST'
228
228
  });
229
229
  };
230
230
  const containersPost = (containerId, params) => {
231
- return (0, instance_1.customInstance)({ url: `/Containers/${containerId}/startflows`, method: 'POST',
231
+ return (0, instance_1.customInstance)({ url: `/v1/Containers/${containerId}/startflows`, method: 'POST',
232
232
  params
233
233
  });
234
234
  };
235
235
  const dataSetsGet = (params) => {
236
- return (0, instance_1.customInstance)({ url: `/DataSets`, method: 'GET',
236
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets`, method: 'GET',
237
237
  params
238
238
  });
239
239
  };
240
240
  const dataSetsGetItem = (dataSetId, id) => {
241
- return (0, instance_1.customInstance)({ url: `/DataSets/${dataSetId}/items/${id}`, method: 'GET'
241
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${dataSetId}/items/${id}`, method: 'GET'
242
242
  });
243
243
  };
244
244
  const dataSetsDelete = (id) => {
245
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'DELETE'
245
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'DELETE'
246
246
  });
247
247
  };
248
248
  const dataSetsGetById = (id) => {
249
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'GET'
249
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'GET'
250
250
  });
251
251
  };
252
252
  /**
253
253
  * @summary Update an existing dataset (name, description, container bindings).
254
254
  */
255
255
  const dataSetsPut = (id, dataSetsUpdateDataSet) => {
256
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'PUT',
256
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'PUT',
257
257
  headers: { 'Content-Type': 'application/*+json', },
258
258
  data: dataSetsUpdateDataSet
259
259
  });
@@ -262,17 +262,17 @@ const getSmartSpaceAdminAPI = () => {
262
262
  * @summary Update just the basic-info fields (name + description) on a dataset.
263
263
  */
264
264
  const dataSetsPutBasicInfo = (id, dataSetsUpdateDataSetBasicInfo) => {
265
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/basicInfo`, method: 'PUT',
265
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/basicInfo`, method: 'PUT',
266
266
  headers: { 'Content-Type': 'application/*+json', },
267
267
  data: dataSetsUpdateDataSetBasicInfo
268
268
  });
269
269
  };
270
270
  const dataSetsClear = (id) => {
271
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/clear`, method: 'POST'
271
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/clear`, method: 'POST'
272
272
  });
273
273
  };
274
274
  const dataSetsGetContainerItemsRunHistory = (id, params) => {
275
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/containerItems/runHistory`, method: 'GET',
275
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/containerItems/runHistory`, method: 'GET',
276
276
  params
277
277
  });
278
278
  };
@@ -280,34 +280,34 @@ const getSmartSpaceAdminAPI = () => {
280
280
  * @summary Move a dataset to a different dataspace.
281
281
  */
282
282
  const dataSetsSetDataspace = (id, dataSetsSetDataspaceBody) => {
283
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/dataspace`, method: 'PUT',
283
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/dataspace`, method: 'PUT',
284
284
  headers: { 'Content-Type': 'application/*+json', },
285
285
  data: dataSetsSetDataspaceBody
286
286
  });
287
287
  };
288
288
  const dataSetsExport = (id) => {
289
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/export`, method: 'GET'
289
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/export`, method: 'GET'
290
290
  });
291
291
  };
292
292
  const dataSetsGetItems = (id, params) => {
293
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items`, method: 'GET',
293
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'GET',
294
294
  params
295
295
  });
296
296
  };
297
297
  const dataSetsAddItem = (id, dataSetItemCreateRequest) => {
298
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items`, method: 'POST',
298
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'POST',
299
299
  headers: { 'Content-Type': 'application/*+json', },
300
300
  data: dataSetItemCreateRequest
301
301
  });
302
302
  };
303
303
  const dataSetsSearchItems = (id, dataSetSearchRequest) => {
304
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items/search`, method: 'POST',
304
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/search`, method: 'POST',
305
305
  headers: { 'Content-Type': 'application/*+json', },
306
306
  data: dataSetSearchRequest
307
307
  });
308
308
  };
309
309
  const dataSetsDeleteItem = (id, itemId) => {
310
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items/${itemId}`, method: 'DELETE'
310
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/${itemId}`, method: 'DELETE'
311
311
  });
312
312
  };
313
313
  /**
@@ -319,13 +319,13 @@ const getSmartSpaceAdminAPI = () => {
319
319
  * @summary Upsert a single property on a dataset.
320
320
  */
321
321
  const dataSetsAddDataSetProperty = (id, dataSetsUpsertDataSetProperty) => {
322
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/properties`, method: 'POST',
322
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties`, method: 'POST',
323
323
  headers: { 'Content-Type': 'application/*+json', },
324
324
  data: dataSetsUpsertDataSetProperty
325
325
  });
326
326
  };
327
327
  const dataSetsDeleteDataSetProperty = (id, name) => {
328
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/properties/${name}`, method: 'DELETE'
328
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties/${name}`, method: 'DELETE'
329
329
  });
330
330
  };
331
331
  /**
@@ -335,7 +335,7 @@ const getSmartSpaceAdminAPI = () => {
335
335
  container item, including runs superseded by later re-ingests.
336
336
  */
337
337
  const dataSetsGetIngestionRuns = (id, params) => {
338
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/runs`, method: 'GET',
338
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/runs`, method: 'GET',
339
339
  params
340
340
  });
341
341
  };
@@ -343,23 +343,48 @@ const getSmartSpaceAdminAPI = () => {
343
343
  * @summary Set the per-document scoping config (mode + subject path) on a dataset.
344
344
  */
345
345
  const dataSetsPutScoping = (id, dataSetsSetDataSetScoping) => {
346
- return (0, instance_1.customInstance)({ url: `/DataSets/${id}/scoping`, method: 'PUT',
346
+ return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/scoping`, method: 'PUT',
347
347
  headers: { 'Content-Type': 'application/*+json', },
348
348
  data: dataSetsSetDataSetScoping
349
349
  });
350
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: `/v1/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: `/v1/DataSets/${id}/syncs`, method: 'GET'
374
+ });
375
+ };
351
376
  /**
352
377
  * @summary Fetch a list of all available data source types in SmartSpace.
353
378
  */
354
379
  const dataSourceTypesGet = () => {
355
- return (0, instance_1.customInstance)({ url: `/DataSourceTypes`, method: 'GET'
380
+ return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes`, method: 'GET'
356
381
  });
357
382
  };
358
383
  /**
359
384
  * @summary Check for available containers for a specific data source type in SmartSpace.
360
385
  */
361
386
  const dataSourceTypesGetAvailableContainers = (dataSourcesTestDataSourceConnection) => {
362
- return (0, instance_1.customInstance)({ url: `/DataSourceTypes/AvailableContainers`, method: 'POST',
387
+ return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/AvailableContainers`, method: 'POST',
363
388
  headers: { 'Content-Type': 'application/*+json', },
364
389
  data: dataSourcesTestDataSourceConnection
365
390
  });
@@ -368,7 +393,7 @@ const getSmartSpaceAdminAPI = () => {
368
393
  * @summary Test the connection for a data source type in SmartSpace, verifying credentials and connectivity.
369
394
  */
370
395
  const dataSourceTypesTestConnection = (dataSourcesTestDataSourceConnection) => {
371
- return (0, instance_1.customInstance)({ url: `/DataSourceTypes/TestConnection`, method: 'POST',
396
+ return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/TestConnection`, method: 'POST',
372
397
  headers: { 'Content-Type': 'application/*+json', },
373
398
  data: dataSourcesTestDataSourceConnection
374
399
  });
@@ -377,7 +402,7 @@ const getSmartSpaceAdminAPI = () => {
377
402
  * @summary Retrieves a collection of data sources.
378
403
  */
379
404
  const dataSourcesGet = (params) => {
380
- return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'GET',
405
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'GET',
381
406
  params
382
407
  });
383
408
  };
@@ -385,7 +410,7 @@ const getSmartSpaceAdminAPI = () => {
385
410
  * @summary Create a new data source in SmartSpace, defining its properties and credentials for integration.
386
411
  */
387
412
  const dataSourcesPost = (dataSourcesCreateDataSource) => {
388
- return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'POST',
413
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'POST',
389
414
  headers: { 'Content-Type': 'application/*+json', },
390
415
  data: dataSourcesCreateDataSource
391
416
  });
@@ -394,14 +419,14 @@ const getSmartSpaceAdminAPI = () => {
394
419
  * @summary Remove a specific data source from SmartSpace using its unique ID.
395
420
  */
396
421
  const dataSourcesDelete = (dataSourceId) => {
397
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'DELETE'
422
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'DELETE'
398
423
  });
399
424
  };
400
425
  /**
401
426
  * @summary Update the configuration of an existing data source in SmartSpace by specifying its ID.
402
427
  */
403
428
  const dataSourcesPut = (dataSourceId, dataSourcesUpdateDataSource) => {
404
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'PUT',
429
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'PUT',
405
430
  headers: { 'Content-Type': 'application/*+json', },
406
431
  data: dataSourcesUpdateDataSource
407
432
  });
@@ -410,7 +435,7 @@ const getSmartSpaceAdminAPI = () => {
410
435
  * @summary Retrieve container information associated with a specific data source in SmartSpace, using it's ID.
411
436
  */
412
437
  const dataSourcesContainers = (dataSourceId, params) => {
413
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers`, method: 'GET',
438
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers`, method: 'GET',
414
439
  params
415
440
  });
416
441
  };
@@ -419,18 +444,19 @@ const getSmartSpaceAdminAPI = () => {
419
444
  a total record count without persisting any state.
420
445
  */
421
446
  const dataSourcesPreviewContainer = (dataSourceId, dataSourcesPreviewContainerRequest) => {
422
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
447
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
423
448
  headers: { 'Content-Type': 'application/*+json', },
424
449
  data: dataSourcesPreviewContainerRequest
425
450
  });
426
451
  };
427
452
  /**
428
453
  * @summary Returns a JSON Schema object for the container's properties, used to drive the filter editor UI.
429
- 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).
430
456
  containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
431
457
  */
432
458
  const dataSourcesContainerSchema = (dataSourceId, params) => {
433
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
459
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
434
460
  params
435
461
  });
436
462
  };
@@ -438,7 +464,7 @@ const getSmartSpaceAdminAPI = () => {
438
464
  * @summary Update the credentials for an existing data source in SmartSpace by specifying its ID.
439
465
  */
440
466
  const dataSourcesUpdateCredentials = (dataSourceId, dataSourcesUpdateDataSourceCredentials) => {
441
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/credentials`, method: 'PUT',
467
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/credentials`, method: 'PUT',
442
468
  headers: { 'Content-Type': 'application/*+json', },
443
469
  data: dataSourcesUpdateDataSourceCredentials
444
470
  });
@@ -449,23 +475,23 @@ const getSmartSpaceAdminAPI = () => {
449
475
  are safe — concurrent syncs of the same source collapse to one run.
450
476
  */
451
477
  const dataSourcesRequestSync = (dataSourceId) => {
452
- return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/sync`, method: 'POST'
478
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/sync`, method: 'POST'
453
479
  });
454
480
  };
455
481
  const dataSourcesGetAdminUsers = (id) => {
456
- return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins`, method: 'GET'
482
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins`, method: 'GET'
457
483
  });
458
484
  };
459
485
  const dataSourcesDeleteAdmin = (id, userId) => {
460
- return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'DELETE'
486
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'DELETE'
461
487
  });
462
488
  };
463
489
  const dataSourcesAddAdmin = (id, userId) => {
464
- return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'PUT'
490
+ return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'PUT'
465
491
  });
466
492
  };
467
493
  const dataSpacesGet = (params) => {
468
- return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'GET',
494
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'GET',
469
495
  params
470
496
  });
471
497
  };
@@ -473,42 +499,42 @@ const getSmartSpaceAdminAPI = () => {
473
499
  * @summary Create a new dataspace.
474
500
  */
475
501
  const dataSpacesPost = (dataSpacesCreateDataSpace) => {
476
- return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'POST',
502
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'POST',
477
503
  headers: { 'Content-Type': 'application/*+json', },
478
504
  data: dataSpacesCreateDataSpace
479
505
  });
480
506
  };
481
507
  const dataSpacesDelete = (id) => {
482
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'DELETE'
508
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'DELETE'
483
509
  });
484
510
  };
485
511
  const dataSpacesGetById = (id) => {
486
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'GET'
512
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'GET'
487
513
  });
488
514
  };
489
515
  /**
490
516
  * @summary Update an existing dataspace.
491
517
  */
492
518
  const dataSpacesPut = (id, dataSpacesUpdateDataSpace) => {
493
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'PUT',
519
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'PUT',
494
520
  headers: { 'Content-Type': 'application/*+json', },
495
521
  data: dataSpacesUpdateDataSpace
496
522
  });
497
523
  };
498
524
  const dataSpacesGetAdminUsers = (id) => {
499
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins`, method: 'GET'
525
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins`, method: 'GET'
500
526
  });
501
527
  };
502
528
  const dataSpacesDeleteAdmin = (id, userId) => {
503
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
529
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
504
530
  });
505
531
  };
506
532
  const dataSpacesAddAdmin = (id, userId) => {
507
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
533
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
508
534
  });
509
535
  };
510
536
  const dataSpacesGetDataSets = (id, params) => {
511
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'GET',
537
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'GET',
512
538
  params
513
539
  });
514
540
  };
@@ -516,17 +542,26 @@ const getSmartSpaceAdminAPI = () => {
516
542
  * @summary Create a new dataset inside this dataspace.
517
543
  */
518
544
  const dataSpacesPostDataset = (id, dataSetsCreateDataSet) => {
519
- return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'POST',
545
+ return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'POST',
520
546
  headers: { 'Content-Type': 'application/*+json', },
521
547
  data: dataSetsCreateDataSet
522
548
  });
523
549
  };
524
550
  const debugInvoke = (connectionId, method, debugInvokeBody) => {
525
- return (0, instance_1.customInstance)({ url: `/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
551
+ return (0, instance_1.customInstance)({ url: `/v1/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
526
552
  headers: { 'Content-Type': 'application/*+json', },
527
553
  data: debugInvokeBody
528
554
  });
529
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: `/v1/Diagnostics/ingest-queue`, method: 'GET'
563
+ });
564
+ };
530
565
  /**
531
566
  * @summary Mongo index health for the flow-runs store: planned-vs-existing
532
567
  indexes per collection, the latest index-ensure outcome per index
@@ -534,28 +569,28 @@ const getSmartSpaceAdminAPI = () => {
534
569
  transformations with their progress (currentOp).
535
570
  */
536
571
  const diagnosticsGetMongoIndexes = () => {
537
- return (0, instance_1.customInstance)({ url: `/Diagnostics/mongo-indexes`, method: 'GET'
572
+ return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/mongo-indexes`, method: 'GET'
538
573
  });
539
574
  };
540
575
  /**
541
576
  * @summary List the current user's drafts (without parsed interfaces — load detail to get those).
542
577
  */
543
578
  const draftsListDrafts = () => {
544
- return (0, instance_1.customInstance)({ url: `/Drafts`, method: 'GET'
579
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts`, method: 'GET'
545
580
  });
546
581
  };
547
582
  /**
548
583
  * @summary Delete a draft (row + blob). Does not touch any published Custom of the same name.
549
584
  */
550
585
  const draftsDeleteDraft = (name) => {
551
- return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'DELETE'
586
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'DELETE'
552
587
  });
553
588
  };
554
589
  /**
555
590
  * @summary Fetch a specific draft (source text, parsed interfaces, RowVersion, IsActive).
556
591
  */
557
592
  const draftsGetDraft = (name) => {
558
- return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'GET'
593
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'GET'
559
594
  });
560
595
  };
561
596
  /**
@@ -563,7 +598,7 @@ const getSmartSpaceAdminAPI = () => {
563
598
  overrides the published Custom at the same `(name, version)` for them only.
564
599
  */
565
600
  const draftsToggleDraft = (name, draftsToggleDraftRequest) => {
566
- return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'PATCH',
601
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'PATCH',
567
602
  headers: { 'Content-Type': 'application/*+json', },
568
603
  data: draftsToggleDraftRequest
569
604
  });
@@ -574,7 +609,7 @@ const getSmartSpaceAdminAPI = () => {
574
609
  current `RowVersion` if another session has saved in the interim.
575
610
  */
576
611
  const draftsSaveDraft = (name, draftsSaveDraftRequest) => {
577
- return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'POST',
612
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'POST',
578
613
  headers: { 'Content-Type': 'application/*+json', },
579
614
  data: draftsSaveDraftRequest
580
615
  });
@@ -586,7 +621,7 @@ const getSmartSpaceAdminAPI = () => {
586
621
  replace it (a new row supersedes the old per newest-wins resolution).
587
622
  */
588
623
  const draftsPublishDraft = (name, draftsPublishDraftRequest) => {
589
- return (0, instance_1.customInstance)({ url: `/Drafts/${name}/publish`, method: 'POST',
624
+ return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}/publish`, method: 'POST',
590
625
  headers: { 'Content-Type': 'application/*+json', },
591
626
  data: draftsPublishDraftRequest
592
627
  });
@@ -617,7 +652,7 @@ const getSmartSpaceAdminAPI = () => {
617
652
  if (filesUploadFilesBody.workspaceId !== undefined) {
618
653
  formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
619
654
  }
620
- return (0, instance_1.customInstance)({ url: `/Files`, method: 'POST',
655
+ return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
621
656
  headers: { 'Content-Type': 'multipart/form-data', },
622
657
  data: formData
623
658
  });
@@ -626,7 +661,7 @@ const getSmartSpaceAdminAPI = () => {
626
661
  * @summary Get details for a file previously uploaded.
627
662
  */
628
663
  const filesGetFileInfo = (id, params) => {
629
- return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
664
+ return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
630
665
  params
631
666
  });
632
667
  };
@@ -634,7 +669,7 @@ const getSmartSpaceAdminAPI = () => {
634
669
  * @summary Download a previously uploaded file.
635
670
  */
636
671
  const filesDownloadFile = (id, params) => {
637
- return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
672
+ return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
638
673
  params
639
674
  });
640
675
  };
@@ -642,7 +677,7 @@ const getSmartSpaceAdminAPI = () => {
642
677
  * @summary Get URI of a previously uploaded file.
643
678
  */
644
679
  const filesGetUri = (id, params) => {
645
- return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
680
+ return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
646
681
  params
647
682
  });
648
683
  };
@@ -650,7 +685,7 @@ const getSmartSpaceAdminAPI = () => {
650
685
  * @summary Creates a new flow run with the specified parameters
651
686
  */
652
687
  const flowRunsCreateFlowRun = (configApiRunFlowRequest, params) => {
653
- return (0, instance_1.customInstance)({ url: `/FlowRuns`, method: 'POST',
688
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns`, method: 'POST',
654
689
  headers: { 'Content-Type': 'application/*+json', },
655
690
  data: configApiRunFlowRequest,
656
691
  params
@@ -660,7 +695,7 @@ const getSmartSpaceAdminAPI = () => {
660
695
  * @summary Searches for flow runs based on search term
661
696
  */
662
697
  const flowRunsSearchFlowRuns = (params) => {
663
- return (0, instance_1.customInstance)({ url: `/FlowRuns/search`, method: 'GET',
698
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/search`, method: 'GET',
664
699
  params
665
700
  });
666
701
  };
@@ -668,14 +703,14 @@ const getSmartSpaceAdminAPI = () => {
668
703
  * @summary Gets a singile file if it was used as an input to the flow run
669
704
  */
670
705
  const flowRunsGetFileFromFlowRunId = (flowRunId) => {
671
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${flowRunId}/file`, method: 'GET'
706
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${flowRunId}/file`, method: 'GET'
672
707
  });
673
708
  };
674
709
  /**
675
710
  * @summary Gets a flow run including its context
676
711
  */
677
712
  const flowRunsGetFlowRun = (id) => {
678
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}`, method: 'GET'
713
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}`, method: 'GET'
679
714
  });
680
715
  };
681
716
  /**
@@ -685,7 +720,42 @@ const getSmartSpaceAdminAPI = () => {
685
720
  seconds. Cancelled runs carry cancelledAt in their basic info.
686
721
  */
687
722
  const flowRunsCancelFlowRun = (id) => {
688
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
723
+ return (0, instance_1.customInstance)({ url: `/v1/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: `/v1/FlowRuns/${id}/events/stream`, method: 'GET'
689
759
  });
690
760
  };
691
761
  const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
@@ -693,38 +763,63 @@ const getSmartSpaceAdminAPI = () => {
693
763
  if (flowRunsAddFileIdFilesBody.file !== undefined) {
694
764
  formData.append(`file`, flowRunsAddFileIdFilesBody.file);
695
765
  }
696
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files`, method: 'POST',
766
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files`, method: 'POST',
697
767
  headers: { 'Content-Type': 'multipart/form-data', },
698
768
  data: formData
699
769
  });
700
770
  };
701
771
  const flowRunsAddFileIdFilesExisting = (id, filesAddMessageFileFromBlobUri) => {
702
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files/existing`, method: 'POST',
772
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files/existing`, method: 'POST',
703
773
  headers: { 'Content-Type': 'application/*+json', },
704
774
  data: filesAddMessageFileFromBlobUri
705
775
  });
706
776
  };
777
+ /**
778
+ * @summary Lists a run's function executions, newest first.
779
+ */
707
780
  const flowRunsGetStepExecutions = (id, params) => {
708
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions`, method: 'GET',
781
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions`, method: 'GET',
709
782
  params
710
783
  });
711
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: `/v1/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: `/v1/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
805
+ });
806
+ };
712
807
  const flowRunsGetVariables = (id) => {
713
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
808
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
714
809
  });
715
810
  };
716
811
  const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
717
- return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
812
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
718
813
  headers: { 'Content-Type': 'application/*+json', },
719
814
  data: flowRunsSetVariableBody
720
815
  });
721
816
  };
722
817
  const flowsGet = (id) => {
723
- return (0, instance_1.customInstance)({ url: `/Flows/${id}`, method: 'GET'
818
+ return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}`, method: 'GET'
724
819
  });
725
820
  };
726
821
  const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition) => {
727
- return (0, instance_1.customInstance)({ url: `/Flows/${id}/active`, method: 'PUT',
822
+ return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}/active`, method: 'PUT',
728
823
  headers: { 'Content-Type': 'application/*+json', },
729
824
  data: flowsFlowDefinition
730
825
  });
@@ -733,7 +828,7 @@ const getSmartSpaceAdminAPI = () => {
733
828
  * @summary Retrieves a list of model deployment providers.
734
829
  */
735
830
  const modelProvidersGetProviders = (params) => {
736
- return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'GET',
831
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'GET',
737
832
  params
738
833
  });
739
834
  };
@@ -741,7 +836,7 @@ const getSmartSpaceAdminAPI = () => {
741
836
  * @summary Creates a new model deployment provider.
742
837
  */
743
838
  const modelProvidersCreateProvider = (aiCreateModelDeploymentProvider) => {
744
- return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'POST',
839
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'POST',
745
840
  headers: { 'Content-Type': 'application/*+json', },
746
841
  data: aiCreateModelDeploymentProvider
747
842
  });
@@ -750,25 +845,25 @@ const getSmartSpaceAdminAPI = () => {
750
845
  * @summary Retrieves the deployable models for a model provider
751
846
  */
752
847
  const modelProvidersGetModelProviderTypes = () => {
753
- return (0, instance_1.customInstance)({ url: `/ModelProviders/types`, method: 'GET'
848
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types`, method: 'GET'
754
849
  });
755
850
  };
756
851
  /**
757
852
  * @summary Retrieves the deployable models for a model provider
758
853
  */
759
854
  const modelProvidersGetModelProviderTypeDeployableModels = (providerType) => {
760
- return (0, instance_1.customInstance)({ url: `/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
855
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
761
856
  });
762
857
  };
763
858
  const modelProvidersGetProvider = (id) => {
764
- return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'GET'
859
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'GET'
765
860
  });
766
861
  };
767
862
  /**
768
863
  * @summary Updates or inserts a model deployment provider.
769
864
  */
770
865
  const modelProvidersUpsertProvider = (id, aiCreateModelDeploymentProvider) => {
771
- return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'PUT',
866
+ return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'PUT',
772
867
  headers: { 'Content-Type': 'application/*+json', },
773
868
  data: aiCreateModelDeploymentProvider
774
869
  });
@@ -777,7 +872,7 @@ const getSmartSpaceAdminAPI = () => {
777
872
  * @summary Retrieves a list of models.
778
873
  */
779
874
  const modelsGetModels = (params) => {
780
- return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
875
+ return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
781
876
  params
782
877
  });
783
878
  };
@@ -785,13 +880,20 @@ const getSmartSpaceAdminAPI = () => {
785
880
  * @summary Creates a new model.
786
881
  */
787
882
  const modelsCreateModel = (aiCreateModel) => {
788
- return (0, instance_1.customInstance)({ url: `/Models`, method: 'POST',
883
+ return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'POST',
789
884
  headers: { 'Content-Type': 'application/*+json', },
790
885
  data: aiCreateModel
791
886
  });
792
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: `/v1/Models/default`, method: 'GET'
893
+ });
894
+ };
793
895
  const modelsGetDefaultDockerFile = (params) => {
794
- return (0, instance_1.customInstance)({ url: `/Models/defaultdockerfile`, method: 'GET',
896
+ return (0, instance_1.customInstance)({ url: `/v1/Models/defaultdockerfile`, method: 'GET',
795
897
  params
796
898
  });
797
899
  };
@@ -799,44 +901,58 @@ const getSmartSpaceAdminAPI = () => {
799
901
  * @summary Deletes a model with the specified ID.
800
902
  */
801
903
  const modelsDeleteModel = (id) => {
802
- return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'DELETE'
904
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'DELETE'
803
905
  });
804
906
  };
805
907
  /**
806
908
  * @summary Retrieves a model by its ID.
807
909
  */
808
910
  const modelsGetModel = (id) => {
809
- return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
911
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
810
912
  });
811
913
  };
812
914
  /**
813
915
  * @summary Updates or inserts a model with the specified ID.
814
916
  */
815
917
  const modelsUpsertModel = (id, aiCreateModel) => {
816
- return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'PUT',
918
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'PUT',
817
919
  headers: { 'Content-Type': 'application/*+json', },
818
920
  data: aiCreateModel
819
921
  });
820
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: `/v1/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: `/v1/Models/${id}/default`, method: 'PUT'
935
+ });
936
+ };
821
937
  /**
822
938
  * @summary Retrieves the Docker logs for a specific deployment of a model.
823
939
  */
824
940
  const modelsGetDeploymentDockerLogs = (id) => {
825
- return (0, instance_1.customInstance)({ url: `/Models/${id}/deployment/docker-logs`, method: 'GET'
941
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment/docker-logs`, method: 'GET'
826
942
  });
827
943
  };
828
944
  /**
829
945
  * @summary Retrieves the health status of a model.
830
946
  */
831
947
  const modelsGetModelHealth = (id) => {
832
- return (0, instance_1.customInstance)({ url: `/Models/${id}/health`, method: 'GET'
948
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/health`, method: 'GET'
833
949
  });
834
950
  };
835
951
  /**
836
952
  * @summary Retrieve notifications for user login.
837
953
  */
838
954
  const notificationGet = (params) => {
839
- return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
955
+ return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
840
956
  params
841
957
  });
842
958
  };
@@ -844,7 +960,7 @@ const getSmartSpaceAdminAPI = () => {
844
960
  * @summary Update: mark read notifications.
845
961
  */
846
962
  const notificationPutUpdate = (notificationPutUpdateBody) => {
847
- return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
963
+ return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
848
964
  headers: { 'Content-Type': 'application/*+json', },
849
965
  data: notificationPutUpdateBody
850
966
  });
@@ -853,21 +969,21 @@ const getSmartSpaceAdminAPI = () => {
853
969
  * @summary Update: mark read all notifications.
854
970
  */
855
971
  const notificationPutUpdateall = () => {
856
- return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
972
+ return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
857
973
  });
858
974
  };
859
975
  /**
860
976
  * @summary Gets the current SmartSpace plan
861
977
  */
862
978
  const planGetSmartSpacePlan = () => {
863
- return (0, instance_1.customInstance)({ url: `/Plan`, method: 'GET'
979
+ return (0, instance_1.customInstance)({ url: `/v1/Plan`, method: 'GET'
864
980
  });
865
981
  };
866
982
  /**
867
983
  * @summary Update the upgrade component of the smartspace plan
868
984
  */
869
985
  const planUpdateSmartSpaceUpgrade = (coreManagementSmartSpaceUpgradeUpdate) => {
870
- return (0, instance_1.customInstance)({ url: `/Plan/upgrade`, method: 'PUT',
986
+ return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade`, method: 'PUT',
871
987
  headers: { 'Content-Type': 'application/*+json', },
872
988
  data: coreManagementSmartSpaceUpgradeUpdate
873
989
  });
@@ -876,7 +992,7 @@ const getSmartSpaceAdminAPI = () => {
876
992
  * @summary Calculate the cost of an upgrade change
877
993
  */
878
994
  const planCalculateSmartSpaceUpgradeCost = (coreManagementSmartSpaceUpgradeUpdate) => {
879
- return (0, instance_1.customInstance)({ url: `/Plan/upgrade/calculate`, method: 'POST',
995
+ return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade/calculate`, method: 'POST',
880
996
  headers: { 'Content-Type': 'application/*+json', },
881
997
  data: coreManagementSmartSpaceUpgradeUpdate
882
998
  });
@@ -885,14 +1001,14 @@ const getSmartSpaceAdminAPI = () => {
885
1001
  * @summary Gets usage information of the current SmartSpace plan
886
1002
  */
887
1003
  const planGetSmartSpacePlanUsage = () => {
888
- return (0, instance_1.customInstance)({ url: `/Plan/usage`, method: 'GET'
1004
+ return (0, instance_1.customInstance)({ url: `/v1/Plan/usage`, method: 'GET'
889
1005
  });
890
1006
  };
891
1007
  /**
892
1008
  * @summary Gets the number of requests by a specified duration
893
1009
  */
894
1010
  const reportingGetRequests = (duration, params) => {
895
- return (0, instance_1.customInstance)({ url: `/Reporting/Requests/by/${duration}`, method: 'GET',
1011
+ return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
896
1012
  params
897
1013
  });
898
1014
  };
@@ -900,7 +1016,7 @@ const getSmartSpaceAdminAPI = () => {
900
1016
  * @summary Gets the number of tokens by a specified duration
901
1017
  */
902
1018
  const reportingGetTokens = (duration, params) => {
903
- return (0, instance_1.customInstance)({ url: `/Reporting/Tokens/by/${duration}`, method: 'GET',
1019
+ return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
904
1020
  params
905
1021
  });
906
1022
  };
@@ -909,10 +1025,28 @@ const getSmartSpaceAdminAPI = () => {
909
1025
  role, with their permission flags and last recorded activity.
910
1026
  */
911
1027
  const servicePrincipalsGetServicePrincipals = (params) => {
912
- return (0, instance_1.customInstance)({ url: `/ServicePrincipals`, method: 'GET',
1028
+ return (0, instance_1.customInstance)({ url: `/v1/ServicePrincipals`, method: 'GET',
913
1029
  params
914
1030
  });
915
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: `/v1/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: `/v1/Speech/token`, method: 'GET'
1048
+ });
1049
+ };
916
1050
  /**
917
1051
  * @summary List configured syncs. status matches the data
918
1052
  source's latest completed sync (e.g. Success / Failure), or "never"
@@ -920,7 +1054,7 @@ const getSmartSpaceAdminAPI = () => {
920
1054
  name | connector | lastSync (default: path).
921
1055
  */
922
1056
  const syncsGet = (params) => {
923
- return (0, instance_1.customInstance)({ url: `/Syncs`, method: 'GET',
1057
+ return (0, instance_1.customInstance)({ url: `/v1/Syncs`, method: 'GET',
924
1058
  params
925
1059
  });
926
1060
  };
@@ -931,7 +1065,7 @@ const getSmartSpaceAdminAPI = () => {
931
1065
  isSyncing flag. Literal route wins over the {containerId} template.
932
1066
  */
933
1067
  const syncsGetQueue = () => {
934
- return (0, instance_1.customInstance)({ url: `/Syncs/queue`, method: 'GET'
1068
+ return (0, instance_1.customInstance)({ url: `/v1/Syncs/queue`, method: 'GET'
935
1069
  });
936
1070
  };
937
1071
  /**
@@ -942,11 +1076,11 @@ const getSmartSpaceAdminAPI = () => {
942
1076
  blobs are not cleaned up here.
943
1077
  */
944
1078
  const syncsDelete = (containerId) => {
945
- return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'DELETE'
1079
+ return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'DELETE'
946
1080
  });
947
1081
  };
948
1082
  const syncsGetById = (containerId) => {
949
- return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'GET'
1083
+ return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'GET'
950
1084
  });
951
1085
  };
952
1086
  /**
@@ -954,7 +1088,18 @@ const getSmartSpaceAdminAPI = () => {
954
1088
  container-items endpoint.
955
1089
  */
956
1090
  const syncsGetItems = (containerId, params) => {
957
- return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}/items`, method: 'GET',
1091
+ return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/items`, method: 'GET',
1092
+ params
1093
+ });
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: `/v1/Syncs/${containerId}/poisoned`, method: 'GET',
958
1103
  params
959
1104
  });
960
1105
  };
@@ -962,7 +1107,7 @@ const getSmartSpaceAdminAPI = () => {
962
1107
  * @summary Gets Tenant Id
963
1108
  */
964
1109
  const tenantIdGetResult = () => {
965
- return (0, instance_1.customInstance)({ url: `/TenantId`, method: 'GET'
1110
+ return (0, instance_1.customInstance)({ url: `/v1/TenantId`, method: 'GET'
966
1111
  });
967
1112
  };
968
1113
  /**
@@ -970,23 +1115,23 @@ const getSmartSpaceAdminAPI = () => {
970
1115
  with optional search and pagination controls take and skip.
971
1116
  */
972
1117
  const usersGetUsers = (params) => {
973
- return (0, instance_1.customInstance)({ url: `/Users`, method: 'GET',
1118
+ return (0, instance_1.customInstance)({ url: `/v1/Users`, method: 'GET',
974
1119
  params
975
1120
  });
976
1121
  };
977
1122
  const usersGetUsersByFilter = (permissions) => {
978
- return (0, instance_1.customInstance)({ url: `/Users/[permissions=${permissions}]`, method: 'GET'
1123
+ return (0, instance_1.customInstance)({ url: `/v1/Users/[permissions=${permissions}]`, method: 'GET'
979
1124
  });
980
1125
  };
981
1126
  const usersGetMyPermissions = () => {
982
- return (0, instance_1.customInstance)({ url: `/Users/me/permissions`, method: 'GET'
1127
+ return (0, instance_1.customInstance)({ url: `/v1/Users/me/permissions`, method: 'GET'
983
1128
  });
984
1129
  };
985
1130
  /**
986
1131
  * @summary Disable user (Remove all assigned WorkSpaces by UserId)
987
1132
  */
988
1133
  const usersRemoveUserFromAllWorkSpaces = (params) => {
989
- return (0, instance_1.customInstance)({ url: `/Users/remove-assigned-workspace`, method: 'DELETE',
1134
+ return (0, instance_1.customInstance)({ url: `/v1/Users/remove-assigned-workspace`, method: 'DELETE',
990
1135
  params
991
1136
  });
992
1137
  };
@@ -994,7 +1139,7 @@ const getSmartSpaceAdminAPI = () => {
994
1139
  * @summary Search users by name for autocomplete/navigation. Returns lightweight results (id, name, email only).
995
1140
  */
996
1141
  const usersSearchUsers = (params) => {
997
- return (0, instance_1.customInstance)({ url: `/Users/search`, method: 'GET',
1142
+ return (0, instance_1.customInstance)({ url: `/v1/Users/search`, method: 'GET',
998
1143
  params
999
1144
  });
1000
1145
  };
@@ -1002,7 +1147,7 @@ const getSmartSpaceAdminAPI = () => {
1002
1147
  * @summary Retrieve user detail in SmartSpace
1003
1148
  */
1004
1149
  const usersGetUserDetail = (id) => {
1005
- return (0, instance_1.customInstance)({ url: `/Users/${id}`, method: 'GET'
1150
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${id}`, method: 'GET'
1006
1151
  });
1007
1152
  };
1008
1153
  /**
@@ -1010,7 +1155,7 @@ const getSmartSpaceAdminAPI = () => {
1010
1155
  so browsers can cache the image via standard img src usage.
1011
1156
  */
1012
1157
  const usersGetUserPhoto = (id) => {
1013
- return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
1158
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
1014
1159
  responseType: 'blob'
1015
1160
  });
1016
1161
  };
@@ -1018,44 +1163,44 @@ const getSmartSpaceAdminAPI = () => {
1018
1163
  * @summary Adds Admin for a access for a user
1019
1164
  */
1020
1165
  const usersGetAccessWorkSpaces = (id, params) => {
1021
- return (0, instance_1.customInstance)({ url: `/Users/${id}/workspaces`, method: 'GET',
1166
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/workspaces`, method: 'GET',
1022
1167
  params
1023
1168
  });
1024
1169
  };
1025
1170
  const usersAdminPermission = (userId, params) => {
1026
- return (0, instance_1.customInstance)({ url: `/Users/${userId}/admin`, method: 'PUT',
1171
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/admin`, method: 'PUT',
1027
1172
  params
1028
1173
  });
1029
1174
  };
1030
1175
  const usersAddUserPermission = (userId, enumsPermissions) => {
1031
- return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions`, method: 'PUT',
1176
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'PUT',
1032
1177
  headers: { 'Content-Type': 'application/*+json', },
1033
1178
  data: enumsPermissions
1034
1179
  });
1035
1180
  };
1036
1181
  const usersRemoveUserPermission = (userId, permission) => {
1037
- return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions/${permission}`, method: 'DELETE'
1182
+ return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions/${permission}`, method: 'DELETE'
1038
1183
  });
1039
1184
  };
1040
1185
  /**
1041
1186
  * @summary Returns a list of available Azure locations for deploying virtual machines
1042
1187
  */
1043
1188
  const virtualMachinesGetVirtualMachineLocations = () => {
1044
- return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations`, method: 'GET'
1189
+ return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations`, method: 'GET'
1045
1190
  });
1046
1191
  };
1047
1192
  /**
1048
1193
  * @summary Returns a list of virtual machines sizes available in the specified location
1049
1194
  */
1050
1195
  const virtualMachinesGetVirtualMachineSize = (location) => {
1051
- return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations/${location}/sizes`, method: 'GET'
1196
+ return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations/${location}/sizes`, method: 'GET'
1052
1197
  });
1053
1198
  };
1054
1199
  /**
1055
1200
  * @summary Obtain a list of all templates in SmartSpace, with pagination options take and skip.
1056
1201
  */
1057
1202
  const workSpaceTemplatesGet = (params) => {
1058
- return (0, instance_1.customInstance)({ url: `/WorkSpaceTemplates`, method: 'GET',
1203
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaceTemplates`, method: 'GET',
1059
1204
  params
1060
1205
  });
1061
1206
  };
@@ -1063,7 +1208,7 @@ const getSmartSpaceAdminAPI = () => {
1063
1208
  * @summary Retrieves a collection of workspaces.
1064
1209
  */
1065
1210
  const workSpacesGetGet = (params) => {
1066
- return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
1211
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
1067
1212
  params
1068
1213
  });
1069
1214
  };
@@ -1071,7 +1216,7 @@ const getSmartSpaceAdminAPI = () => {
1071
1216
  * @summary Creates a new workspace.
1072
1217
  */
1073
1218
  const workSpacesPost = (workSpacesCreateWorkSpace) => {
1074
- return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'POST',
1219
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'POST',
1075
1220
  headers: { 'Content-Type': 'application/*+json', },
1076
1221
  data: workSpacesCreateWorkSpace
1077
1222
  });
@@ -1080,33 +1225,33 @@ const getSmartSpaceAdminAPI = () => {
1080
1225
  * @summary Deletes a workspace by its ID.
1081
1226
  */
1082
1227
  const workSpacesDelete = (id) => {
1083
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'DELETE'
1228
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'DELETE'
1084
1229
  });
1085
1230
  };
1086
1231
  /**
1087
1232
  * @summary Retrieves a workspace by its ID.
1088
1233
  */
1089
1234
  const workSpacesGetId = (id) => {
1090
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
1235
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
1091
1236
  });
1092
1237
  };
1093
1238
  const workSpacesGetWorkspaceAdmins = (id) => {
1094
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins`, method: 'GET'
1239
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins`, method: 'GET'
1095
1240
  });
1096
1241
  };
1097
1242
  const workSpacesDeleteAdmin = (id, userId) => {
1098
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
1243
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
1099
1244
  });
1100
1245
  };
1101
1246
  const workSpacesAddWorkspaceAdmin = (id, userId) => {
1102
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
1247
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
1103
1248
  });
1104
1249
  };
1105
1250
  /**
1106
1251
  * @summary Updates the basic information of a workspace.
1107
1252
  */
1108
1253
  const workSpacesPut = (id, workSpacesUpdateWorkSpaceBasicInfo) => {
1109
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/basicinfo`, method: 'PUT',
1254
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/basicinfo`, method: 'PUT',
1110
1255
  headers: { 'Content-Type': 'application/*+json', },
1111
1256
  data: workSpacesUpdateWorkSpaceBasicInfo
1112
1257
  });
@@ -1115,7 +1260,7 @@ const getSmartSpaceAdminAPI = () => {
1115
1260
  * @summary Marks a workspace as favorited or not for the active user.
1116
1261
  */
1117
1262
  const workSpacesSetFavorited = (id, boolean) => {
1118
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/favorited`, method: 'PUT',
1263
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/favorited`, method: 'PUT',
1119
1264
  headers: { 'Content-Type': 'application/*+json', },
1120
1265
  data: boolean
1121
1266
  });
@@ -1124,7 +1269,7 @@ const getSmartSpaceAdminAPI = () => {
1124
1269
  * @summary Retrieves message threads for a workspace.
1125
1270
  */
1126
1271
  const workSpacesGetThreads = (id, params) => {
1127
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
1272
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
1128
1273
  params
1129
1274
  });
1130
1275
  };
@@ -1132,14 +1277,14 @@ const getSmartSpaceAdminAPI = () => {
1132
1277
  * @summary Deletes the model configuration for a specific workspace and role.
1133
1278
  */
1134
1279
  const workSpacesDeleteModelConfiguration = (id, role) => {
1135
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'DELETE'
1280
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'DELETE'
1136
1281
  });
1137
1282
  };
1138
1283
  /**
1139
1284
  * @summary Updates the model configuration for a specific workspace and role.
1140
1285
  */
1141
1286
  const workSpacesPutModelConfiguration = (id, role, createModelConfiguration) => {
1142
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'PUT',
1287
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'PUT',
1143
1288
  headers: { 'Content-Type': 'application/*+json', },
1144
1289
  data: createModelConfiguration
1145
1290
  });
@@ -1149,7 +1294,7 @@ const getSmartSpaceAdminAPI = () => {
1149
1294
  fail at resolve time rather than silently keeping access.
1150
1295
  */
1151
1296
  const workSpacesRemoveConnector = (workspaceId, connectorId) => {
1152
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
1297
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
1153
1298
  });
1154
1299
  };
1155
1300
  /**
@@ -1159,28 +1304,28 @@ const getSmartSpaceAdminAPI = () => {
1159
1304
  the same attachment at call time.
1160
1305
  */
1161
1306
  const workSpacesAddConnector = (workspaceId, connectorId) => {
1162
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
1307
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
1163
1308
  });
1164
1309
  };
1165
1310
  /**
1166
1311
  * @summary Removes a data space from a workspace.
1167
1312
  */
1168
1313
  const workSpacesRemoveDataSpace = (workspaceId, dataspaceId) => {
1169
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
1314
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
1170
1315
  });
1171
1316
  };
1172
1317
  /**
1173
1318
  * @summary Adds a data space to a workspace.
1174
1319
  */
1175
1320
  const workSpacesAddDataSpace = (workspaceId, dataspaceId) => {
1176
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
1321
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
1177
1322
  });
1178
1323
  };
1179
1324
  /**
1180
1325
  * @summary Gets a list of all the files that are uploaded directly to the workspace.
1181
1326
  */
1182
1327
  const workSpacesGetWorkspaceFiles = (workspaceId, params) => {
1183
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'GET',
1328
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'GET',
1184
1329
  params
1185
1330
  });
1186
1331
  };
@@ -1192,7 +1337,7 @@ const getSmartSpaceAdminAPI = () => {
1192
1337
  if (workSpacesWorkspaceFilesBody.files !== undefined) {
1193
1338
  workSpacesWorkspaceFilesBody.files.forEach(value => formData.append(`files`, value));
1194
1339
  }
1195
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'POST',
1340
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'POST',
1196
1341
  headers: { 'Content-Type': 'multipart/form-data', },
1197
1342
  data: formData
1198
1343
  });
@@ -1201,18 +1346,18 @@ const getSmartSpaceAdminAPI = () => {
1201
1346
  * @summary Removes a file from the workspace and the ingested content.
1202
1347
  */
1203
1348
  const workSpacesDeleteWorkspaceFile = (workspaceId, fileId) => {
1204
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
1349
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
1205
1350
  });
1206
1351
  };
1207
1352
  const workSpacesGetActiveFlow = (workspaceId) => {
1208
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
1353
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
1209
1354
  });
1210
1355
  };
1211
1356
  /**
1212
1357
  * @summary Sets the active flow definition for a workspace.
1213
1358
  */
1214
1359
  const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition) => {
1215
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
1360
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
1216
1361
  headers: { 'Content-Type': 'application/*+json', },
1217
1362
  data: flowsFlowDefinition
1218
1363
  });
@@ -1221,7 +1366,7 @@ const getSmartSpaceAdminAPI = () => {
1221
1366
  * @summary Updates the layout of blocks for the active flow definition.
1222
1367
  */
1223
1368
  const workSpacesSetActiveFlowLayout = (workspaceId, workSpacesSetActiveFlowLayoutBody) => {
1224
- return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
1369
+ return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
1225
1370
  headers: { 'Content-Type': 'application/*+json', },
1226
1371
  data: workSpacesSetActiveFlowLayoutBody
1227
1372
  });
@@ -1230,7 +1375,7 @@ const getSmartSpaceAdminAPI = () => {
1230
1375
  * @summary Lists connectors with their auth settings — never a credential.
1231
1376
  */
1232
1377
  const connectorsGetConnectors = (params) => {
1233
- return (0, instance_1.customInstance)({ url: `/connectors`, method: 'GET',
1378
+ return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'GET',
1234
1379
  params
1235
1380
  });
1236
1381
  };
@@ -1239,7 +1384,7 @@ const getSmartSpaceAdminAPI = () => {
1239
1384
  goes to Key Vault, the row stores only the reference.
1240
1385
  */
1241
1386
  const connectorsCreateConnector = (connectorsCreateConnector) => {
1242
- return (0, instance_1.customInstance)({ url: `/connectors`, method: 'POST',
1387
+ return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'POST',
1243
1388
  headers: { 'Content-Type': 'application/*+json', },
1244
1389
  data: connectorsCreateConnector
1245
1390
  });
@@ -1251,16 +1396,16 @@ const getSmartSpaceAdminAPI = () => {
1251
1396
  choose one. Admins pass this gate via the role bypass.
1252
1397
  */
1253
1398
  const connectorsGetConnectorSummaries = (params) => {
1254
- return (0, instance_1.customInstance)({ url: `/connectors/summaries`, method: 'GET',
1399
+ return (0, instance_1.customInstance)({ url: `/v1/connectors/summaries`, method: 'GET',
1255
1400
  params
1256
1401
  });
1257
1402
  };
1258
1403
  const connectorsDeleteConnector = (id) => {
1259
- return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'DELETE'
1404
+ return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'DELETE'
1260
1405
  });
1261
1406
  };
1262
1407
  const connectorsGetConnector = (id) => {
1263
- return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'GET'
1408
+ return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'GET'
1264
1409
  });
1265
1410
  };
1266
1411
  /**
@@ -1268,7 +1413,7 @@ const getSmartSpaceAdminAPI = () => {
1268
1413
  untouched; supply one to rotate it.
1269
1414
  */
1270
1415
  const connectorsUpdateConnector = (id, connectorsUpdateConnector) => {
1271
- return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'PUT',
1416
+ return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'PUT',
1272
1417
  headers: { 'Content-Type': 'application/*+json', },
1273
1418
  data: connectorsUpdateConnector
1274
1419
  });
@@ -1277,7 +1422,7 @@ const getSmartSpaceAdminAPI = () => {
1277
1422
  * @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
1278
1423
  */
1279
1424
  const documentsGetDocumentSas = (dataSpaceId, params) => {
1280
- return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
1425
+ return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
1281
1426
  params
1282
1427
  });
1283
1428
  };
@@ -1285,7 +1430,7 @@ const getSmartSpaceAdminAPI = () => {
1285
1430
  * @summary Lists all managed secrets — names and audit metadata only, never values.
1286
1431
  */
1287
1432
  const managedSecretsGetManagedSecrets = () => {
1288
- return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'GET'
1433
+ return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'GET'
1289
1434
  });
1290
1435
  };
1291
1436
  /**
@@ -1293,7 +1438,7 @@ const getSmartSpaceAdminAPI = () => {
1293
1438
  the vault reference.
1294
1439
  */
1295
1440
  const managedSecretsCreateManagedSecret = (managedSecretsCreateManagedSecret) => {
1296
- return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'POST',
1441
+ return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'POST',
1297
1442
  headers: { 'Content-Type': 'application/*+json', },
1298
1443
  data: managedSecretsCreateManagedSecret
1299
1444
  });
@@ -1302,7 +1447,7 @@ const getSmartSpaceAdminAPI = () => {
1302
1447
  * @summary Deletes a secret: removes the Key Vault secret and hard-deletes the row.
1303
1448
  */
1304
1449
  const managedSecretsDeleteManagedSecret = (name) => {
1305
- return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}`, method: 'DELETE'
1450
+ return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'DELETE'
1306
1451
  });
1307
1452
  };
1308
1453
  /**
@@ -1311,18 +1456,18 @@ const getSmartSpaceAdminAPI = () => {
1311
1456
  audit metadata.
1312
1457
  */
1313
1458
  const managedSecretsOverwriteManagedSecretValue = (name, managedSecretsUpdateManagedSecretValue) => {
1314
- return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}/value`, method: 'PUT',
1459
+ return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/value`, method: 'PUT',
1315
1460
  headers: { 'Content-Type': 'application/*+json', },
1316
1461
  data: managedSecretsUpdateManagedSecretValue
1317
1462
  });
1318
1463
  };
1319
1464
  const messageThreadsGetWorkspaceExecutions = (workSpaceId, params) => {
1320
- return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
1465
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
1321
1466
  params
1322
1467
  });
1323
1468
  };
1324
1469
  const messageThreadsGetStepExecutions = (workSpaceId, messageThreadId, params) => {
1325
- return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
1470
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
1326
1471
  params
1327
1472
  });
1328
1473
  };
@@ -1331,7 +1476,7 @@ const getSmartSpaceAdminAPI = () => {
1331
1476
  runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
1332
1477
  */
1333
1478
  const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
1334
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/runs`, method: 'GET',
1479
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
1335
1480
  params
1336
1481
  });
1337
1482
  };
@@ -1339,28 +1484,28 @@ const getSmartSpaceAdminAPI = () => {
1339
1484
  * @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
1340
1485
  */
1341
1486
  const sandBoxGetSandboxThread = (workspaceId) => {
1342
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox`, method: 'GET'
1487
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox`, method: 'GET'
1343
1488
  });
1344
1489
  };
1345
1490
  /**
1346
1491
  * @summary Retrieve message creators profile images from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
1347
1492
  */
1348
1493
  const sandBoxThreadMessageCreateByUsersProfileImages = (workspaceId) => {
1349
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
1494
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
1350
1495
  });
1351
1496
  };
1352
1497
  /**
1353
1498
  * @summary Remove messages from the sandbox environment of a specific workspace in SmartSpace, identified by workspaceId.
1354
1499
  */
1355
1500
  const sandBoxClearSandboxMessages = (workspaceId) => {
1356
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
1501
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
1357
1502
  });
1358
1503
  };
1359
1504
  /**
1360
1505
  * @summary Retrieve messages from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
1361
1506
  */
1362
1507
  const sandBoxGetThreadMessages = (workspaceId, params) => {
1363
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
1508
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
1364
1509
  params
1365
1510
  });
1366
1511
  };
@@ -1373,7 +1518,7 @@ const getSmartSpaceAdminAPI = () => {
1373
1518
  should subscribe to the SSE endpoint for live token-by-token updates.
1374
1519
  */
1375
1520
  const sandBoxThreadMessages = (workspaceId, messagesSandBoxMessageRequest) => {
1376
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
1521
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
1377
1522
  headers: { 'Content-Type': 'application/*+json', },
1378
1523
  data: messagesSandBoxMessageRequest
1379
1524
  });
@@ -1388,7 +1533,7 @@ const getSmartSpaceAdminAPI = () => {
1388
1533
  `GET /messagethreads/{id}/messages/stream`.
1389
1534
  */
1390
1535
  const sandBoxStreamSandboxMessages = (workspaceId) => {
1391
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
1536
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
1392
1537
  });
1393
1538
  };
1394
1539
  /**
@@ -1400,11 +1545,11 @@ const getSmartSpaceAdminAPI = () => {
1400
1545
  message. Mirrors the chat-api `POST /messages/{id}/values`.
1401
1546
  */
1402
1547
  const sandBoxAddValueToMessage = (workspaceId, id, messagesCreateMessageInput) => {
1403
- return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
1548
+ return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
1404
1549
  headers: { 'Content-Type': 'application/*+json', },
1405
1550
  data: messagesCreateMessageInput
1406
1551
  });
1407
1552
  };
1408
- 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, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, diagnosticsGetMongoIndexes, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, 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, servicePrincipalsGetServicePrincipals, syncsGet, syncsGetQueue, syncsDelete, 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, 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 };
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 };
1409
1554
  };
1410
1555
  exports.getSmartSpaceAdminAPI = getSmartSpaceAdminAPI;