@smartspace/api-client 0.1.0-dev.523a211 → 0.1.0-dev.54653e9

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.
@@ -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: `/v1/Access`, method: 'GET',
10
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access`, method: 'PUT',
18
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/groups`, method: 'GET',
27
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/roles`, method: 'GET'
35
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/roles/${roleId}/users`, method: 'GET',
42
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/search/groups`, method: 'GET',
50
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/search/serviceprincipals`, method: 'GET',
58
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/search/users`, method: 'GET',
66
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/users`, method: 'GET',
74
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Access/${id}`, method: 'DELETE'
82
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Activity/csv/workspace`, method: 'GET',
89
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Activity/workspace`, method: 'GET',
97
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/ApplicationUpdate/deployments/latest`, method: 'GET'
105
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/ApplicationUpdate/versions/current`, method: 'GET'
112
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
120
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/ApplicationUpdate/versions/latest-available`, method: 'GET'
129
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/ApplicationUpdate/versions/latest-available`, method: 'PUT'
138
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets`, method: 'GET',
145
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
153
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
160
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets/${name}`, method: 'DELETE'
167
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets/${name}`, method: 'PATCH',
177
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/BlockSets/${name}`, method: 'POST',
190
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Blocks`, method: 'GET',
199
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Blocks/sdk`, method: 'GET'
210
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Blocks/${name}/${version}/source`, method: 'GET'
220
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/Containers/items/${containerItemId}/reingest`, method: 'POST'
227
+ return (0, instance_1.customInstance)({ url: `/Containers/items/${containerItemId}/reingest`, method: 'POST'
228
228
  });
229
229
  };
230
230
  const containersPost = (containerId, params) => {
231
- return (0, instance_1.customInstance)({ url: `/v1/Containers/${containerId}/startflows`, method: 'POST',
231
+ return (0, instance_1.customInstance)({ url: `/Containers/${containerId}/startflows`, method: 'POST',
232
232
  params
233
233
  });
234
234
  };
235
235
  const dataSetsGet = (params) => {
236
- return (0, instance_1.customInstance)({ url: `/v1/DataSets`, method: 'GET',
236
+ return (0, instance_1.customInstance)({ url: `/DataSets`, method: 'GET',
237
237
  params
238
238
  });
239
239
  };
240
240
  const dataSetsGetItem = (dataSetId, id) => {
241
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${dataSetId}/items/${id}`, method: 'GET'
241
+ return (0, instance_1.customInstance)({ url: `/DataSets/${dataSetId}/items/${id}`, method: 'GET'
242
242
  });
243
243
  };
244
244
  const dataSetsDelete = (id) => {
245
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'DELETE'
245
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'DELETE'
246
246
  });
247
247
  };
248
248
  const dataSetsGetById = (id) => {
249
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'GET'
249
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}`, method: 'PUT',
256
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/basicInfo`, method: 'PUT',
265
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/clear`, method: 'POST'
271
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/clear`, method: 'POST'
272
272
  });
273
273
  };
274
274
  const dataSetsGetContainerItemsRunHistory = (id, params) => {
275
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/containerItems/runHistory`, method: 'GET',
275
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/dataspace`, method: 'PUT',
283
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/export`, method: 'GET'
289
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/export`, method: 'GET'
290
290
  });
291
291
  };
292
292
  const dataSetsGetItems = (id, params) => {
293
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'GET',
293
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/items`, method: 'POST',
298
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/items/search`, method: 'POST',
304
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/items/${itemId}`, method: 'DELETE'
310
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/properties`, method: 'POST',
322
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/properties/${name}`, method: 'DELETE'
328
+ return (0, instance_1.customInstance)({ url: `/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: `/v1/DataSets/${id}/runs`, method: 'GET',
338
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/runs`, method: 'GET',
339
339
  params
340
340
  });
341
341
  };
@@ -343,7 +343,7 @@ 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: `/v1/DataSets/${id}/scoping`, method: 'PUT',
346
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/scoping`, method: 'PUT',
347
347
  headers: { 'Content-Type': 'application/*+json', },
348
348
  data: dataSetsSetDataSetScoping
349
349
  });
@@ -356,7 +356,7 @@ const getSmartSpaceAdminAPI = () => {
356
356
  marked row is returned. Nothing here deletes anything.
357
357
  */
358
358
  const dataSetsPutSourceDeletes = (id, dataSetsSetDataSetSourceDeletes) => {
359
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/sourceDeletes`, method: 'PUT',
359
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/sourceDeletes`, method: 'PUT',
360
360
  headers: { 'Content-Type': 'application/*+json', },
361
361
  data: dataSetsSetDataSetSourceDeletes
362
362
  });
@@ -370,21 +370,21 @@ const getSmartSpaceAdminAPI = () => {
370
370
  ingest into it, including any it shares with other datasets.
371
371
  */
372
372
  const dataSetsGetSyncs = (id) => {
373
- return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/syncs`, method: 'GET'
373
+ return (0, instance_1.customInstance)({ url: `/DataSets/${id}/syncs`, method: 'GET'
374
374
  });
375
375
  };
376
376
  /**
377
377
  * @summary Fetch a list of all available data source types in SmartSpace.
378
378
  */
379
379
  const dataSourceTypesGet = () => {
380
- return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes`, method: 'GET'
380
+ return (0, instance_1.customInstance)({ url: `/DataSourceTypes`, method: 'GET'
381
381
  });
382
382
  };
383
383
  /**
384
384
  * @summary Check for available containers for a specific data source type in SmartSpace.
385
385
  */
386
386
  const dataSourceTypesGetAvailableContainers = (dataSourcesTestDataSourceConnection) => {
387
- return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/AvailableContainers`, method: 'POST',
387
+ return (0, instance_1.customInstance)({ url: `/DataSourceTypes/AvailableContainers`, method: 'POST',
388
388
  headers: { 'Content-Type': 'application/*+json', },
389
389
  data: dataSourcesTestDataSourceConnection
390
390
  });
@@ -393,7 +393,7 @@ const getSmartSpaceAdminAPI = () => {
393
393
  * @summary Test the connection for a data source type in SmartSpace, verifying credentials and connectivity.
394
394
  */
395
395
  const dataSourceTypesTestConnection = (dataSourcesTestDataSourceConnection) => {
396
- return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/TestConnection`, method: 'POST',
396
+ return (0, instance_1.customInstance)({ url: `/DataSourceTypes/TestConnection`, method: 'POST',
397
397
  headers: { 'Content-Type': 'application/*+json', },
398
398
  data: dataSourcesTestDataSourceConnection
399
399
  });
@@ -402,7 +402,7 @@ const getSmartSpaceAdminAPI = () => {
402
402
  * @summary Retrieves a collection of data sources.
403
403
  */
404
404
  const dataSourcesGet = (params) => {
405
- return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'GET',
405
+ return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'GET',
406
406
  params
407
407
  });
408
408
  };
@@ -410,7 +410,7 @@ const getSmartSpaceAdminAPI = () => {
410
410
  * @summary Create a new data source in SmartSpace, defining its properties and credentials for integration.
411
411
  */
412
412
  const dataSourcesPost = (dataSourcesCreateDataSource) => {
413
- return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'POST',
413
+ return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'POST',
414
414
  headers: { 'Content-Type': 'application/*+json', },
415
415
  data: dataSourcesCreateDataSource
416
416
  });
@@ -419,14 +419,14 @@ const getSmartSpaceAdminAPI = () => {
419
419
  * @summary Remove a specific data source from SmartSpace using its unique ID.
420
420
  */
421
421
  const dataSourcesDelete = (dataSourceId) => {
422
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'DELETE'
422
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'DELETE'
423
423
  });
424
424
  };
425
425
  /**
426
426
  * @summary Update the configuration of an existing data source in SmartSpace by specifying its ID.
427
427
  */
428
428
  const dataSourcesPut = (dataSourceId, dataSourcesUpdateDataSource) => {
429
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'PUT',
429
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'PUT',
430
430
  headers: { 'Content-Type': 'application/*+json', },
431
431
  data: dataSourcesUpdateDataSource
432
432
  });
@@ -435,7 +435,7 @@ const getSmartSpaceAdminAPI = () => {
435
435
  * @summary Retrieve container information associated with a specific data source in SmartSpace, using it's ID.
436
436
  */
437
437
  const dataSourcesContainers = (dataSourceId, params) => {
438
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers`, method: 'GET',
438
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers`, method: 'GET',
439
439
  params
440
440
  });
441
441
  };
@@ -444,7 +444,7 @@ const getSmartSpaceAdminAPI = () => {
444
444
  a total record count without persisting any state.
445
445
  */
446
446
  const dataSourcesPreviewContainer = (dataSourceId, dataSourcesPreviewContainerRequest) => {
447
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
447
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
448
448
  headers: { 'Content-Type': 'application/*+json', },
449
449
  data: dataSourcesPreviewContainerRequest
450
450
  });
@@ -456,7 +456,7 @@ const getSmartSpaceAdminAPI = () => {
456
456
  containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
457
457
  */
458
458
  const dataSourcesContainerSchema = (dataSourceId, params) => {
459
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
459
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
460
460
  params
461
461
  });
462
462
  };
@@ -464,7 +464,7 @@ const getSmartSpaceAdminAPI = () => {
464
464
  * @summary Update the credentials for an existing data source in SmartSpace by specifying its ID.
465
465
  */
466
466
  const dataSourcesUpdateCredentials = (dataSourceId, dataSourcesUpdateDataSourceCredentials) => {
467
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/credentials`, method: 'PUT',
467
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/credentials`, method: 'PUT',
468
468
  headers: { 'Content-Type': 'application/*+json', },
469
469
  data: dataSourcesUpdateDataSourceCredentials
470
470
  });
@@ -475,23 +475,23 @@ const getSmartSpaceAdminAPI = () => {
475
475
  are safe — concurrent syncs of the same source collapse to one run.
476
476
  */
477
477
  const dataSourcesRequestSync = (dataSourceId) => {
478
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/sync`, method: 'POST'
478
+ return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/sync`, method: 'POST'
479
479
  });
480
480
  };
481
481
  const dataSourcesGetAdminUsers = (id) => {
482
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins`, method: 'GET'
482
+ return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins`, method: 'GET'
483
483
  });
484
484
  };
485
485
  const dataSourcesDeleteAdmin = (id, userId) => {
486
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'DELETE'
486
+ return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'DELETE'
487
487
  });
488
488
  };
489
489
  const dataSourcesAddAdmin = (id, userId) => {
490
- return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'PUT'
490
+ return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'PUT'
491
491
  });
492
492
  };
493
493
  const dataSpacesGet = (params) => {
494
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'GET',
494
+ return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'GET',
495
495
  params
496
496
  });
497
497
  };
@@ -499,42 +499,42 @@ const getSmartSpaceAdminAPI = () => {
499
499
  * @summary Create a new dataspace.
500
500
  */
501
501
  const dataSpacesPost = (dataSpacesCreateDataSpace) => {
502
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'POST',
502
+ return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'POST',
503
503
  headers: { 'Content-Type': 'application/*+json', },
504
504
  data: dataSpacesCreateDataSpace
505
505
  });
506
506
  };
507
507
  const dataSpacesDelete = (id) => {
508
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'DELETE'
508
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'DELETE'
509
509
  });
510
510
  };
511
511
  const dataSpacesGetById = (id) => {
512
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'GET'
512
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'GET'
513
513
  });
514
514
  };
515
515
  /**
516
516
  * @summary Update an existing dataspace.
517
517
  */
518
518
  const dataSpacesPut = (id, dataSpacesUpdateDataSpace) => {
519
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'PUT',
519
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'PUT',
520
520
  headers: { 'Content-Type': 'application/*+json', },
521
521
  data: dataSpacesUpdateDataSpace
522
522
  });
523
523
  };
524
524
  const dataSpacesGetAdminUsers = (id) => {
525
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins`, method: 'GET'
525
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins`, method: 'GET'
526
526
  });
527
527
  };
528
528
  const dataSpacesDeleteAdmin = (id, userId) => {
529
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
529
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
530
530
  });
531
531
  };
532
532
  const dataSpacesAddAdmin = (id, userId) => {
533
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
533
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
534
534
  });
535
535
  };
536
536
  const dataSpacesGetDataSets = (id, params) => {
537
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'GET',
537
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'GET',
538
538
  params
539
539
  });
540
540
  };
@@ -542,13 +542,13 @@ const getSmartSpaceAdminAPI = () => {
542
542
  * @summary Create a new dataset inside this dataspace.
543
543
  */
544
544
  const dataSpacesPostDataset = (id, dataSetsCreateDataSet) => {
545
- return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'POST',
545
+ return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'POST',
546
546
  headers: { 'Content-Type': 'application/*+json', },
547
547
  data: dataSetsCreateDataSet
548
548
  });
549
549
  };
550
550
  const debugInvoke = (connectionId, method, debugInvokeBody) => {
551
- return (0, instance_1.customInstance)({ url: `/v1/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
551
+ return (0, instance_1.customInstance)({ url: `/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
552
552
  headers: { 'Content-Type': 'application/*+json', },
553
553
  data: debugInvokeBody
554
554
  });
@@ -559,7 +559,7 @@ const getSmartSpaceAdminAPI = () => {
559
559
  heartbeat. Nothing reads a message body.
560
560
  */
561
561
  const diagnosticsGetIngestQueue = () => {
562
- return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/ingest-queue`, method: 'GET'
562
+ return (0, instance_1.customInstance)({ url: `/Diagnostics/ingest-queue`, method: 'GET'
563
563
  });
564
564
  };
565
565
  /**
@@ -569,28 +569,28 @@ const getSmartSpaceAdminAPI = () => {
569
569
  transformations with their progress (currentOp).
570
570
  */
571
571
  const diagnosticsGetMongoIndexes = () => {
572
- return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/mongo-indexes`, method: 'GET'
572
+ return (0, instance_1.customInstance)({ url: `/Diagnostics/mongo-indexes`, method: 'GET'
573
573
  });
574
574
  };
575
575
  /**
576
576
  * @summary List the current user's drafts (without parsed interfaces — load detail to get those).
577
577
  */
578
578
  const draftsListDrafts = () => {
579
- return (0, instance_1.customInstance)({ url: `/v1/Drafts`, method: 'GET'
579
+ return (0, instance_1.customInstance)({ url: `/Drafts`, method: 'GET'
580
580
  });
581
581
  };
582
582
  /**
583
583
  * @summary Delete a draft (row + blob). Does not touch any published Custom of the same name.
584
584
  */
585
585
  const draftsDeleteDraft = (name) => {
586
- return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'DELETE'
586
+ return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'DELETE'
587
587
  });
588
588
  };
589
589
  /**
590
590
  * @summary Fetch a specific draft (source text, parsed interfaces, RowVersion, IsActive).
591
591
  */
592
592
  const draftsGetDraft = (name) => {
593
- return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'GET'
593
+ return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'GET'
594
594
  });
595
595
  };
596
596
  /**
@@ -598,7 +598,7 @@ const getSmartSpaceAdminAPI = () => {
598
598
  overrides the published Custom at the same `(name, version)` for them only.
599
599
  */
600
600
  const draftsToggleDraft = (name, draftsToggleDraftRequest) => {
601
- return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'PATCH',
601
+ return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'PATCH',
602
602
  headers: { 'Content-Type': 'application/*+json', },
603
603
  data: draftsToggleDraftRequest
604
604
  });
@@ -609,7 +609,7 @@ const getSmartSpaceAdminAPI = () => {
609
609
  current `RowVersion` if another session has saved in the interim.
610
610
  */
611
611
  const draftsSaveDraft = (name, draftsSaveDraftRequest) => {
612
- return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'POST',
612
+ return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'POST',
613
613
  headers: { 'Content-Type': 'application/*+json', },
614
614
  data: draftsSaveDraftRequest
615
615
  });
@@ -621,7 +621,7 @@ const getSmartSpaceAdminAPI = () => {
621
621
  replace it (a new row supersedes the old per newest-wins resolution).
622
622
  */
623
623
  const draftsPublishDraft = (name, draftsPublishDraftRequest) => {
624
- return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}/publish`, method: 'POST',
624
+ return (0, instance_1.customInstance)({ url: `/Drafts/${name}/publish`, method: 'POST',
625
625
  headers: { 'Content-Type': 'application/*+json', },
626
626
  data: draftsPublishDraftRequest
627
627
  });
@@ -652,7 +652,7 @@ const getSmartSpaceAdminAPI = () => {
652
652
  if (filesUploadFilesBody.workspaceId !== undefined) {
653
653
  formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
654
654
  }
655
- return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
655
+ return (0, instance_1.customInstance)({ url: `/Files`, method: 'POST',
656
656
  headers: { 'Content-Type': 'multipart/form-data', },
657
657
  data: formData
658
658
  });
@@ -661,7 +661,7 @@ const getSmartSpaceAdminAPI = () => {
661
661
  * @summary Get details for a file previously uploaded.
662
662
  */
663
663
  const filesGetFileInfo = (id, params) => {
664
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
664
+ return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
665
665
  params
666
666
  });
667
667
  };
@@ -669,7 +669,7 @@ const getSmartSpaceAdminAPI = () => {
669
669
  * @summary Download a previously uploaded file.
670
670
  */
671
671
  const filesDownloadFile = (id, params) => {
672
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
672
+ return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
673
673
  params
674
674
  });
675
675
  };
@@ -677,7 +677,7 @@ const getSmartSpaceAdminAPI = () => {
677
677
  * @summary Get URI of a previously uploaded file.
678
678
  */
679
679
  const filesGetUri = (id, params) => {
680
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
680
+ return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
681
681
  params
682
682
  });
683
683
  };
@@ -685,7 +685,7 @@ const getSmartSpaceAdminAPI = () => {
685
685
  * @summary Creates a new flow run with the specified parameters
686
686
  */
687
687
  const flowRunsCreateFlowRun = (configApiRunFlowRequest, params) => {
688
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns`, method: 'POST',
688
+ return (0, instance_1.customInstance)({ url: `/FlowRuns`, method: 'POST',
689
689
  headers: { 'Content-Type': 'application/*+json', },
690
690
  data: configApiRunFlowRequest,
691
691
  params
@@ -695,7 +695,7 @@ const getSmartSpaceAdminAPI = () => {
695
695
  * @summary Searches for flow runs based on search term
696
696
  */
697
697
  const flowRunsSearchFlowRuns = (params) => {
698
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/search`, method: 'GET',
698
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/search`, method: 'GET',
699
699
  params
700
700
  });
701
701
  };
@@ -703,14 +703,14 @@ const getSmartSpaceAdminAPI = () => {
703
703
  * @summary Gets a singile file if it was used as an input to the flow run
704
704
  */
705
705
  const flowRunsGetFileFromFlowRunId = (flowRunId) => {
706
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${flowRunId}/file`, method: 'GET'
706
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${flowRunId}/file`, method: 'GET'
707
707
  });
708
708
  };
709
709
  /**
710
710
  * @summary Gets a flow run including its context
711
711
  */
712
712
  const flowRunsGetFlowRun = (id) => {
713
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}`, method: 'GET'
713
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}`, method: 'GET'
714
714
  });
715
715
  };
716
716
  /**
@@ -720,7 +720,7 @@ const getSmartSpaceAdminAPI = () => {
720
720
  seconds. Cancelled runs carry cancelledAt in their basic info.
721
721
  */
722
722
  const flowRunsCancelFlowRun = (id) => {
723
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
723
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
724
724
  });
725
725
  };
726
726
  /**
@@ -755,7 +755,7 @@ const getSmartSpaceAdminAPI = () => {
755
755
  on one connection.
756
756
  */
757
757
  const flowRunsStreamRunEvents = (id) => {
758
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/events/stream`, method: 'GET'
758
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/events/stream`, method: 'GET'
759
759
  });
760
760
  };
761
761
  const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
@@ -763,13 +763,13 @@ const getSmartSpaceAdminAPI = () => {
763
763
  if (flowRunsAddFileIdFilesBody.file !== undefined) {
764
764
  formData.append(`file`, flowRunsAddFileIdFilesBody.file);
765
765
  }
766
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files`, method: 'POST',
766
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files`, method: 'POST',
767
767
  headers: { 'Content-Type': 'multipart/form-data', },
768
768
  data: formData
769
769
  });
770
770
  };
771
771
  const flowRunsAddFileIdFilesExisting = (id, filesAddMessageFileFromBlobUri) => {
772
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files/existing`, method: 'POST',
772
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files/existing`, method: 'POST',
773
773
  headers: { 'Content-Type': 'application/*+json', },
774
774
  data: filesAddMessageFileFromBlobUri
775
775
  });
@@ -778,7 +778,7 @@ const getSmartSpaceAdminAPI = () => {
778
778
  * @summary Lists a run's function executions, newest first.
779
779
  */
780
780
  const flowRunsGetStepExecutions = (id, params) => {
781
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions`, method: 'GET',
781
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions`, method: 'GET',
782
782
  params
783
783
  });
784
784
  };
@@ -791,7 +791,7 @@ const getSmartSpaceAdminAPI = () => {
791
791
  behind `functionexecutions?includeValues=false`.
792
792
  */
793
793
  const flowRunsGetStepExecution = (id, executionId) => {
794
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
794
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
795
795
  });
796
796
  };
797
797
  /**
@@ -801,25 +801,25 @@ const getSmartSpaceAdminAPI = () => {
801
801
  * @summary Downloads a blob-spilled value's payload.
802
802
  */
803
803
  const flowRunsGetFlowValueDownload = (id, valueId) => {
804
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
804
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
805
805
  });
806
806
  };
807
807
  const flowRunsGetVariables = (id) => {
808
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
808
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
809
809
  });
810
810
  };
811
811
  const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
812
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
812
+ return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
813
813
  headers: { 'Content-Type': 'application/*+json', },
814
814
  data: flowRunsSetVariableBody
815
815
  });
816
816
  };
817
817
  const flowsGet = (id) => {
818
- return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}`, method: 'GET'
818
+ return (0, instance_1.customInstance)({ url: `/Flows/${id}`, method: 'GET'
819
819
  });
820
820
  };
821
821
  const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition) => {
822
- return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}/active`, method: 'PUT',
822
+ return (0, instance_1.customInstance)({ url: `/Flows/${id}/active`, method: 'PUT',
823
823
  headers: { 'Content-Type': 'application/*+json', },
824
824
  data: flowsFlowDefinition
825
825
  });
@@ -828,7 +828,7 @@ const getSmartSpaceAdminAPI = () => {
828
828
  * @summary Retrieves a list of model deployment providers.
829
829
  */
830
830
  const modelProvidersGetProviders = (params) => {
831
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'GET',
831
+ return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'GET',
832
832
  params
833
833
  });
834
834
  };
@@ -836,7 +836,7 @@ const getSmartSpaceAdminAPI = () => {
836
836
  * @summary Creates a new model deployment provider.
837
837
  */
838
838
  const modelProvidersCreateProvider = (aiCreateModelDeploymentProvider) => {
839
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'POST',
839
+ return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'POST',
840
840
  headers: { 'Content-Type': 'application/*+json', },
841
841
  data: aiCreateModelDeploymentProvider
842
842
  });
@@ -845,25 +845,25 @@ const getSmartSpaceAdminAPI = () => {
845
845
  * @summary Retrieves the deployable models for a model provider
846
846
  */
847
847
  const modelProvidersGetModelProviderTypes = () => {
848
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types`, method: 'GET'
848
+ return (0, instance_1.customInstance)({ url: `/ModelProviders/types`, method: 'GET'
849
849
  });
850
850
  };
851
851
  /**
852
852
  * @summary Retrieves the deployable models for a model provider
853
853
  */
854
854
  const modelProvidersGetModelProviderTypeDeployableModels = (providerType) => {
855
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
855
+ return (0, instance_1.customInstance)({ url: `/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
856
856
  });
857
857
  };
858
858
  const modelProvidersGetProvider = (id) => {
859
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'GET'
859
+ return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'GET'
860
860
  });
861
861
  };
862
862
  /**
863
863
  * @summary Updates or inserts a model deployment provider.
864
864
  */
865
865
  const modelProvidersUpsertProvider = (id, aiCreateModelDeploymentProvider) => {
866
- return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'PUT',
866
+ return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'PUT',
867
867
  headers: { 'Content-Type': 'application/*+json', },
868
868
  data: aiCreateModelDeploymentProvider
869
869
  });
@@ -872,7 +872,7 @@ const getSmartSpaceAdminAPI = () => {
872
872
  * @summary Retrieves a list of models.
873
873
  */
874
874
  const modelsGetModels = (params) => {
875
- return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
875
+ return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
876
876
  params
877
877
  });
878
878
  };
@@ -880,7 +880,7 @@ const getSmartSpaceAdminAPI = () => {
880
880
  * @summary Creates a new model.
881
881
  */
882
882
  const modelsCreateModel = (aiCreateModel) => {
883
- return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'POST',
883
+ return (0, instance_1.customInstance)({ url: `/Models`, method: 'POST',
884
884
  headers: { 'Content-Type': 'application/*+json', },
885
885
  data: aiCreateModel
886
886
  });
@@ -889,11 +889,11 @@ const getSmartSpaceAdminAPI = () => {
889
889
  * @summary Retrieves the instance-wide default model — the one pre-selected on new LLM blocks and the default workspace flow.
890
890
  */
891
891
  const modelsGetDefaultModel = () => {
892
- return (0, instance_1.customInstance)({ url: `/v1/Models/default`, method: 'GET'
892
+ return (0, instance_1.customInstance)({ url: `/Models/default`, method: 'GET'
893
893
  });
894
894
  };
895
895
  const modelsGetDefaultDockerFile = (params) => {
896
- return (0, instance_1.customInstance)({ url: `/v1/Models/defaultdockerfile`, method: 'GET',
896
+ return (0, instance_1.customInstance)({ url: `/Models/defaultdockerfile`, method: 'GET',
897
897
  params
898
898
  });
899
899
  };
@@ -901,21 +901,21 @@ const getSmartSpaceAdminAPI = () => {
901
901
  * @summary Deletes a model with the specified ID.
902
902
  */
903
903
  const modelsDeleteModel = (id) => {
904
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'DELETE'
904
+ return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'DELETE'
905
905
  });
906
906
  };
907
907
  /**
908
908
  * @summary Retrieves a model by its ID.
909
909
  */
910
910
  const modelsGetModel = (id) => {
911
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
911
+ return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
912
912
  });
913
913
  };
914
914
  /**
915
915
  * @summary Updates or inserts a model with the specified ID.
916
916
  */
917
917
  const modelsUpsertModel = (id, aiCreateModel) => {
918
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'PUT',
918
+ return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'PUT',
919
919
  headers: { 'Content-Type': 'application/*+json', },
920
920
  data: aiCreateModel
921
921
  });
@@ -924,35 +924,35 @@ const getSmartSpaceAdminAPI = () => {
924
924
  * @summary Clears the default flag from the specified model, leaving the instance with no default.
925
925
  */
926
926
  const modelsClearDefaultModel = (id) => {
927
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'DELETE'
927
+ return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'DELETE'
928
928
  });
929
929
  };
930
930
  /**
931
931
  * @summary Makes the specified model the instance-wide default, replacing any previous default.
932
932
  */
933
933
  const modelsSetDefaultModel = (id) => {
934
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'PUT'
934
+ return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'PUT'
935
935
  });
936
936
  };
937
937
  /**
938
938
  * @summary Retrieves the Docker logs for a specific deployment of a model.
939
939
  */
940
940
  const modelsGetDeploymentDockerLogs = (id) => {
941
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment/docker-logs`, method: 'GET'
941
+ return (0, instance_1.customInstance)({ url: `/Models/${id}/deployment/docker-logs`, method: 'GET'
942
942
  });
943
943
  };
944
944
  /**
945
945
  * @summary Retrieves the health status of a model.
946
946
  */
947
947
  const modelsGetModelHealth = (id) => {
948
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/health`, method: 'GET'
948
+ return (0, instance_1.customInstance)({ url: `/Models/${id}/health`, method: 'GET'
949
949
  });
950
950
  };
951
951
  /**
952
952
  * @summary Retrieve notifications for user login.
953
953
  */
954
954
  const notificationGet = (params) => {
955
- return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
955
+ return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
956
956
  params
957
957
  });
958
958
  };
@@ -960,7 +960,7 @@ const getSmartSpaceAdminAPI = () => {
960
960
  * @summary Update: mark read notifications.
961
961
  */
962
962
  const notificationPutUpdate = (notificationPutUpdateBody) => {
963
- return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
963
+ return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
964
964
  headers: { 'Content-Type': 'application/*+json', },
965
965
  data: notificationPutUpdateBody
966
966
  });
@@ -969,21 +969,21 @@ const getSmartSpaceAdminAPI = () => {
969
969
  * @summary Update: mark read all notifications.
970
970
  */
971
971
  const notificationPutUpdateall = () => {
972
- return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
972
+ return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
973
973
  });
974
974
  };
975
975
  /**
976
976
  * @summary Gets the current SmartSpace plan
977
977
  */
978
978
  const planGetSmartSpacePlan = () => {
979
- return (0, instance_1.customInstance)({ url: `/v1/Plan`, method: 'GET'
979
+ return (0, instance_1.customInstance)({ url: `/Plan`, method: 'GET'
980
980
  });
981
981
  };
982
982
  /**
983
983
  * @summary Update the upgrade component of the smartspace plan
984
984
  */
985
985
  const planUpdateSmartSpaceUpgrade = (coreManagementSmartSpaceUpgradeUpdate) => {
986
- return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade`, method: 'PUT',
986
+ return (0, instance_1.customInstance)({ url: `/Plan/upgrade`, method: 'PUT',
987
987
  headers: { 'Content-Type': 'application/*+json', },
988
988
  data: coreManagementSmartSpaceUpgradeUpdate
989
989
  });
@@ -992,7 +992,7 @@ const getSmartSpaceAdminAPI = () => {
992
992
  * @summary Calculate the cost of an upgrade change
993
993
  */
994
994
  const planCalculateSmartSpaceUpgradeCost = (coreManagementSmartSpaceUpgradeUpdate) => {
995
- return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade/calculate`, method: 'POST',
995
+ return (0, instance_1.customInstance)({ url: `/Plan/upgrade/calculate`, method: 'POST',
996
996
  headers: { 'Content-Type': 'application/*+json', },
997
997
  data: coreManagementSmartSpaceUpgradeUpdate
998
998
  });
@@ -1001,14 +1001,14 @@ const getSmartSpaceAdminAPI = () => {
1001
1001
  * @summary Gets usage information of the current SmartSpace plan
1002
1002
  */
1003
1003
  const planGetSmartSpacePlanUsage = () => {
1004
- return (0, instance_1.customInstance)({ url: `/v1/Plan/usage`, method: 'GET'
1004
+ return (0, instance_1.customInstance)({ url: `/Plan/usage`, method: 'GET'
1005
1005
  });
1006
1006
  };
1007
1007
  /**
1008
1008
  * @summary Gets the number of requests by a specified duration
1009
1009
  */
1010
1010
  const reportingGetRequests = (duration, params) => {
1011
- return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
1011
+ return (0, instance_1.customInstance)({ url: `/Reporting/Requests/by/${duration}`, method: 'GET',
1012
1012
  params
1013
1013
  });
1014
1014
  };
@@ -1016,7 +1016,7 @@ const getSmartSpaceAdminAPI = () => {
1016
1016
  * @summary Gets the number of tokens by a specified duration
1017
1017
  */
1018
1018
  const reportingGetTokens = (duration, params) => {
1019
- return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
1019
+ return (0, instance_1.customInstance)({ url: `/Reporting/Tokens/by/${duration}`, method: 'GET',
1020
1020
  params
1021
1021
  });
1022
1022
  };
@@ -1025,7 +1025,7 @@ const getSmartSpaceAdminAPI = () => {
1025
1025
  role, with their permission flags and last recorded activity.
1026
1026
  */
1027
1027
  const servicePrincipalsGetServicePrincipals = (params) => {
1028
- return (0, instance_1.customInstance)({ url: `/v1/ServicePrincipals`, method: 'GET',
1028
+ return (0, instance_1.customInstance)({ url: `/ServicePrincipals`, method: 'GET',
1029
1029
  params
1030
1030
  });
1031
1031
  };
@@ -1035,7 +1035,7 @@ const getSmartSpaceAdminAPI = () => {
1035
1035
  the install rather than failing: an install without speech reports enabled = false.
1036
1036
  */
1037
1037
  const speechGetConfig = () => {
1038
- return (0, instance_1.customInstance)({ url: `/v1/Speech/config`, method: 'GET'
1038
+ return (0, instance_1.customInstance)({ url: `/Speech/config`, method: 'GET'
1039
1039
  });
1040
1040
  };
1041
1041
  /**
@@ -1044,7 +1044,7 @@ const getSmartSpaceAdminAPI = () => {
1044
1044
  recognition on this one resource in one region.
1045
1045
  */
1046
1046
  const speechGetToken = () => {
1047
- return (0, instance_1.customInstance)({ url: `/v1/Speech/token`, method: 'GET'
1047
+ return (0, instance_1.customInstance)({ url: `/Speech/token`, method: 'GET'
1048
1048
  });
1049
1049
  };
1050
1050
  /**
@@ -1054,7 +1054,7 @@ const getSmartSpaceAdminAPI = () => {
1054
1054
  name | connector | lastSync (default: path).
1055
1055
  */
1056
1056
  const syncsGet = (params) => {
1057
- return (0, instance_1.customInstance)({ url: `/v1/Syncs`, method: 'GET',
1057
+ return (0, instance_1.customInstance)({ url: `/Syncs`, method: 'GET',
1058
1058
  params
1059
1059
  });
1060
1060
  };
@@ -1065,7 +1065,7 @@ const getSmartSpaceAdminAPI = () => {
1065
1065
  isSyncing flag. Literal route wins over the {containerId} template.
1066
1066
  */
1067
1067
  const syncsGetQueue = () => {
1068
- return (0, instance_1.customInstance)({ url: `/v1/Syncs/queue`, method: 'GET'
1068
+ return (0, instance_1.customInstance)({ url: `/Syncs/queue`, method: 'GET'
1069
1069
  });
1070
1070
  };
1071
1071
  /**
@@ -1076,11 +1076,11 @@ const getSmartSpaceAdminAPI = () => {
1076
1076
  blobs are not cleaned up here.
1077
1077
  */
1078
1078
  const syncsDelete = (containerId) => {
1079
- return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'DELETE'
1079
+ return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'DELETE'
1080
1080
  });
1081
1081
  };
1082
1082
  const syncsGetById = (containerId) => {
1083
- return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'GET'
1083
+ return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'GET'
1084
1084
  });
1085
1085
  };
1086
1086
  /**
@@ -1088,7 +1088,7 @@ const getSmartSpaceAdminAPI = () => {
1088
1088
  container-items endpoint.
1089
1089
  */
1090
1090
  const syncsGetItems = (containerId, params) => {
1091
- return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/items`, method: 'GET',
1091
+ return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}/items`, method: 'GET',
1092
1092
  params
1093
1093
  });
1094
1094
  };
@@ -1099,7 +1099,7 @@ const getSmartSpaceAdminAPI = () => {
1099
1099
  API predates the route, rather than an opaque 500.
1100
1100
  */
1101
1101
  const syncsGetPoisoned = (containerId, params) => {
1102
- return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/poisoned`, method: 'GET',
1102
+ return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}/poisoned`, method: 'GET',
1103
1103
  params
1104
1104
  });
1105
1105
  };
@@ -1107,7 +1107,7 @@ const getSmartSpaceAdminAPI = () => {
1107
1107
  * @summary Gets Tenant Id
1108
1108
  */
1109
1109
  const tenantIdGetResult = () => {
1110
- return (0, instance_1.customInstance)({ url: `/v1/TenantId`, method: 'GET'
1110
+ return (0, instance_1.customInstance)({ url: `/TenantId`, method: 'GET'
1111
1111
  });
1112
1112
  };
1113
1113
  /**
@@ -1115,23 +1115,23 @@ const getSmartSpaceAdminAPI = () => {
1115
1115
  with optional search and pagination controls take and skip.
1116
1116
  */
1117
1117
  const usersGetUsers = (params) => {
1118
- return (0, instance_1.customInstance)({ url: `/v1/Users`, method: 'GET',
1118
+ return (0, instance_1.customInstance)({ url: `/Users`, method: 'GET',
1119
1119
  params
1120
1120
  });
1121
1121
  };
1122
1122
  const usersGetUsersByFilter = (permissions) => {
1123
- return (0, instance_1.customInstance)({ url: `/v1/Users/[permissions=${permissions}]`, method: 'GET'
1123
+ return (0, instance_1.customInstance)({ url: `/Users/[permissions=${permissions}]`, method: 'GET'
1124
1124
  });
1125
1125
  };
1126
1126
  const usersGetMyPermissions = () => {
1127
- return (0, instance_1.customInstance)({ url: `/v1/Users/me/permissions`, method: 'GET'
1127
+ return (0, instance_1.customInstance)({ url: `/Users/me/permissions`, method: 'GET'
1128
1128
  });
1129
1129
  };
1130
1130
  /**
1131
1131
  * @summary Disable user (Remove all assigned WorkSpaces by UserId)
1132
1132
  */
1133
1133
  const usersRemoveUserFromAllWorkSpaces = (params) => {
1134
- return (0, instance_1.customInstance)({ url: `/v1/Users/remove-assigned-workspace`, method: 'DELETE',
1134
+ return (0, instance_1.customInstance)({ url: `/Users/remove-assigned-workspace`, method: 'DELETE',
1135
1135
  params
1136
1136
  });
1137
1137
  };
@@ -1139,7 +1139,7 @@ const getSmartSpaceAdminAPI = () => {
1139
1139
  * @summary Search users by name for autocomplete/navigation. Returns lightweight results (id, name, email only).
1140
1140
  */
1141
1141
  const usersSearchUsers = (params) => {
1142
- return (0, instance_1.customInstance)({ url: `/v1/Users/search`, method: 'GET',
1142
+ return (0, instance_1.customInstance)({ url: `/Users/search`, method: 'GET',
1143
1143
  params
1144
1144
  });
1145
1145
  };
@@ -1147,7 +1147,7 @@ const getSmartSpaceAdminAPI = () => {
1147
1147
  * @summary Retrieve user detail in SmartSpace
1148
1148
  */
1149
1149
  const usersGetUserDetail = (id) => {
1150
- return (0, instance_1.customInstance)({ url: `/v1/Users/${id}`, method: 'GET'
1150
+ return (0, instance_1.customInstance)({ url: `/Users/${id}`, method: 'GET'
1151
1151
  });
1152
1152
  };
1153
1153
  /**
@@ -1155,7 +1155,7 @@ const getSmartSpaceAdminAPI = () => {
1155
1155
  so browsers can cache the image via standard img src usage.
1156
1156
  */
1157
1157
  const usersGetUserPhoto = (id) => {
1158
- return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
1158
+ return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
1159
1159
  responseType: 'blob'
1160
1160
  });
1161
1161
  };
@@ -1163,44 +1163,44 @@ const getSmartSpaceAdminAPI = () => {
1163
1163
  * @summary Adds Admin for a access for a user
1164
1164
  */
1165
1165
  const usersGetAccessWorkSpaces = (id, params) => {
1166
- return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/workspaces`, method: 'GET',
1166
+ return (0, instance_1.customInstance)({ url: `/Users/${id}/workspaces`, method: 'GET',
1167
1167
  params
1168
1168
  });
1169
1169
  };
1170
1170
  const usersAdminPermission = (userId, params) => {
1171
- return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/admin`, method: 'PUT',
1171
+ return (0, instance_1.customInstance)({ url: `/Users/${userId}/admin`, method: 'PUT',
1172
1172
  params
1173
1173
  });
1174
1174
  };
1175
1175
  const usersAddUserPermission = (userId, enumsPermissions) => {
1176
- return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'PUT',
1176
+ return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions`, method: 'PUT',
1177
1177
  headers: { 'Content-Type': 'application/*+json', },
1178
1178
  data: enumsPermissions
1179
1179
  });
1180
1180
  };
1181
1181
  const usersRemoveUserPermission = (userId, permission) => {
1182
- return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions/${permission}`, method: 'DELETE'
1182
+ return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions/${permission}`, method: 'DELETE'
1183
1183
  });
1184
1184
  };
1185
1185
  /**
1186
1186
  * @summary Returns a list of available Azure locations for deploying virtual machines
1187
1187
  */
1188
1188
  const virtualMachinesGetVirtualMachineLocations = () => {
1189
- return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations`, method: 'GET'
1189
+ return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations`, method: 'GET'
1190
1190
  });
1191
1191
  };
1192
1192
  /**
1193
1193
  * @summary Returns a list of virtual machines sizes available in the specified location
1194
1194
  */
1195
1195
  const virtualMachinesGetVirtualMachineSize = (location) => {
1196
- return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations/${location}/sizes`, method: 'GET'
1196
+ return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations/${location}/sizes`, method: 'GET'
1197
1197
  });
1198
1198
  };
1199
1199
  /**
1200
1200
  * @summary Obtain a list of all templates in SmartSpace, with pagination options take and skip.
1201
1201
  */
1202
1202
  const workSpaceTemplatesGet = (params) => {
1203
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaceTemplates`, method: 'GET',
1203
+ return (0, instance_1.customInstance)({ url: `/WorkSpaceTemplates`, method: 'GET',
1204
1204
  params
1205
1205
  });
1206
1206
  };
@@ -1208,7 +1208,7 @@ const getSmartSpaceAdminAPI = () => {
1208
1208
  * @summary Retrieves a collection of workspaces.
1209
1209
  */
1210
1210
  const workSpacesGetGet = (params) => {
1211
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
1211
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
1212
1212
  params
1213
1213
  });
1214
1214
  };
@@ -1216,7 +1216,7 @@ const getSmartSpaceAdminAPI = () => {
1216
1216
  * @summary Creates a new workspace.
1217
1217
  */
1218
1218
  const workSpacesPost = (workSpacesCreateWorkSpace) => {
1219
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'POST',
1219
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'POST',
1220
1220
  headers: { 'Content-Type': 'application/*+json', },
1221
1221
  data: workSpacesCreateWorkSpace
1222
1222
  });
@@ -1225,33 +1225,33 @@ const getSmartSpaceAdminAPI = () => {
1225
1225
  * @summary Deletes a workspace by its ID.
1226
1226
  */
1227
1227
  const workSpacesDelete = (id) => {
1228
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'DELETE'
1228
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'DELETE'
1229
1229
  });
1230
1230
  };
1231
1231
  /**
1232
1232
  * @summary Retrieves a workspace by its ID.
1233
1233
  */
1234
1234
  const workSpacesGetId = (id) => {
1235
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
1235
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
1236
1236
  });
1237
1237
  };
1238
1238
  const workSpacesGetWorkspaceAdmins = (id) => {
1239
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins`, method: 'GET'
1239
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins`, method: 'GET'
1240
1240
  });
1241
1241
  };
1242
1242
  const workSpacesDeleteAdmin = (id, userId) => {
1243
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
1243
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
1244
1244
  });
1245
1245
  };
1246
1246
  const workSpacesAddWorkspaceAdmin = (id, userId) => {
1247
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
1247
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
1248
1248
  });
1249
1249
  };
1250
1250
  /**
1251
1251
  * @summary Updates the basic information of a workspace.
1252
1252
  */
1253
1253
  const workSpacesPut = (id, workSpacesUpdateWorkSpaceBasicInfo) => {
1254
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/basicinfo`, method: 'PUT',
1254
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/basicinfo`, method: 'PUT',
1255
1255
  headers: { 'Content-Type': 'application/*+json', },
1256
1256
  data: workSpacesUpdateWorkSpaceBasicInfo
1257
1257
  });
@@ -1260,7 +1260,7 @@ const getSmartSpaceAdminAPI = () => {
1260
1260
  * @summary Marks a workspace as favorited or not for the active user.
1261
1261
  */
1262
1262
  const workSpacesSetFavorited = (id, boolean) => {
1263
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/favorited`, method: 'PUT',
1263
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/favorited`, method: 'PUT',
1264
1264
  headers: { 'Content-Type': 'application/*+json', },
1265
1265
  data: boolean
1266
1266
  });
@@ -1269,7 +1269,7 @@ const getSmartSpaceAdminAPI = () => {
1269
1269
  * @summary Retrieves message threads for a workspace.
1270
1270
  */
1271
1271
  const workSpacesGetThreads = (id, params) => {
1272
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
1272
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
1273
1273
  params
1274
1274
  });
1275
1275
  };
@@ -1277,14 +1277,14 @@ const getSmartSpaceAdminAPI = () => {
1277
1277
  * @summary Deletes the model configuration for a specific workspace and role.
1278
1278
  */
1279
1279
  const workSpacesDeleteModelConfiguration = (id, role) => {
1280
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'DELETE'
1280
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'DELETE'
1281
1281
  });
1282
1282
  };
1283
1283
  /**
1284
1284
  * @summary Updates the model configuration for a specific workspace and role.
1285
1285
  */
1286
1286
  const workSpacesPutModelConfiguration = (id, role, createModelConfiguration) => {
1287
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'PUT',
1287
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'PUT',
1288
1288
  headers: { 'Content-Type': 'application/*+json', },
1289
1289
  data: createModelConfiguration
1290
1290
  });
@@ -1294,7 +1294,7 @@ const getSmartSpaceAdminAPI = () => {
1294
1294
  fail at resolve time rather than silently keeping access.
1295
1295
  */
1296
1296
  const workSpacesRemoveConnector = (workspaceId, connectorId) => {
1297
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
1297
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
1298
1298
  });
1299
1299
  };
1300
1300
  /**
@@ -1304,28 +1304,28 @@ const getSmartSpaceAdminAPI = () => {
1304
1304
  the same attachment at call time.
1305
1305
  */
1306
1306
  const workSpacesAddConnector = (workspaceId, connectorId) => {
1307
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
1307
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
1308
1308
  });
1309
1309
  };
1310
1310
  /**
1311
1311
  * @summary Removes a data space from a workspace.
1312
1312
  */
1313
1313
  const workSpacesRemoveDataSpace = (workspaceId, dataspaceId) => {
1314
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
1314
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
1315
1315
  });
1316
1316
  };
1317
1317
  /**
1318
1318
  * @summary Adds a data space to a workspace.
1319
1319
  */
1320
1320
  const workSpacesAddDataSpace = (workspaceId, dataspaceId) => {
1321
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
1321
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
1322
1322
  });
1323
1323
  };
1324
1324
  /**
1325
1325
  * @summary Gets a list of all the files that are uploaded directly to the workspace.
1326
1326
  */
1327
1327
  const workSpacesGetWorkspaceFiles = (workspaceId, params) => {
1328
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'GET',
1328
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'GET',
1329
1329
  params
1330
1330
  });
1331
1331
  };
@@ -1337,7 +1337,7 @@ const getSmartSpaceAdminAPI = () => {
1337
1337
  if (workSpacesWorkspaceFilesBody.files !== undefined) {
1338
1338
  workSpacesWorkspaceFilesBody.files.forEach(value => formData.append(`files`, value));
1339
1339
  }
1340
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'POST',
1340
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'POST',
1341
1341
  headers: { 'Content-Type': 'multipart/form-data', },
1342
1342
  data: formData
1343
1343
  });
@@ -1346,18 +1346,18 @@ const getSmartSpaceAdminAPI = () => {
1346
1346
  * @summary Removes a file from the workspace and the ingested content.
1347
1347
  */
1348
1348
  const workSpacesDeleteWorkspaceFile = (workspaceId, fileId) => {
1349
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
1349
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
1350
1350
  });
1351
1351
  };
1352
1352
  const workSpacesGetActiveFlow = (workspaceId) => {
1353
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
1353
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
1354
1354
  });
1355
1355
  };
1356
1356
  /**
1357
1357
  * @summary Sets the active flow definition for a workspace.
1358
1358
  */
1359
1359
  const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition) => {
1360
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
1360
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
1361
1361
  headers: { 'Content-Type': 'application/*+json', },
1362
1362
  data: flowsFlowDefinition
1363
1363
  });
@@ -1366,7 +1366,7 @@ const getSmartSpaceAdminAPI = () => {
1366
1366
  * @summary Updates the layout of blocks for the active flow definition.
1367
1367
  */
1368
1368
  const workSpacesSetActiveFlowLayout = (workspaceId, workSpacesSetActiveFlowLayoutBody) => {
1369
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
1369
+ return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
1370
1370
  headers: { 'Content-Type': 'application/*+json', },
1371
1371
  data: workSpacesSetActiveFlowLayoutBody
1372
1372
  });
@@ -1375,7 +1375,7 @@ const getSmartSpaceAdminAPI = () => {
1375
1375
  * @summary Lists connectors with their auth settings — never a credential.
1376
1376
  */
1377
1377
  const connectorsGetConnectors = (params) => {
1378
- return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'GET',
1378
+ return (0, instance_1.customInstance)({ url: `/connectors`, method: 'GET',
1379
1379
  params
1380
1380
  });
1381
1381
  };
@@ -1384,7 +1384,7 @@ const getSmartSpaceAdminAPI = () => {
1384
1384
  goes to Key Vault, the row stores only the reference.
1385
1385
  */
1386
1386
  const connectorsCreateConnector = (connectorsCreateConnector) => {
1387
- return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'POST',
1387
+ return (0, instance_1.customInstance)({ url: `/connectors`, method: 'POST',
1388
1388
  headers: { 'Content-Type': 'application/*+json', },
1389
1389
  data: connectorsCreateConnector
1390
1390
  });
@@ -1396,16 +1396,16 @@ const getSmartSpaceAdminAPI = () => {
1396
1396
  choose one. Admins pass this gate via the role bypass.
1397
1397
  */
1398
1398
  const connectorsGetConnectorSummaries = (params) => {
1399
- return (0, instance_1.customInstance)({ url: `/v1/connectors/summaries`, method: 'GET',
1399
+ return (0, instance_1.customInstance)({ url: `/connectors/summaries`, method: 'GET',
1400
1400
  params
1401
1401
  });
1402
1402
  };
1403
1403
  const connectorsDeleteConnector = (id) => {
1404
- return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'DELETE'
1404
+ return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'DELETE'
1405
1405
  });
1406
1406
  };
1407
1407
  const connectorsGetConnector = (id) => {
1408
- return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'GET'
1408
+ return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'GET'
1409
1409
  });
1410
1410
  };
1411
1411
  /**
@@ -1413,7 +1413,7 @@ const getSmartSpaceAdminAPI = () => {
1413
1413
  untouched; supply one to rotate it.
1414
1414
  */
1415
1415
  const connectorsUpdateConnector = (id, connectorsUpdateConnector) => {
1416
- return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'PUT',
1416
+ return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'PUT',
1417
1417
  headers: { 'Content-Type': 'application/*+json', },
1418
1418
  data: connectorsUpdateConnector
1419
1419
  });
@@ -1422,7 +1422,7 @@ const getSmartSpaceAdminAPI = () => {
1422
1422
  * @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
1423
1423
  */
1424
1424
  const documentsGetDocumentSas = (dataSpaceId, params) => {
1425
- return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
1425
+ return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
1426
1426
  params
1427
1427
  });
1428
1428
  };
@@ -1430,7 +1430,7 @@ const getSmartSpaceAdminAPI = () => {
1430
1430
  * @summary Lists all managed secrets — names and audit metadata only, never values.
1431
1431
  */
1432
1432
  const managedSecretsGetManagedSecrets = () => {
1433
- return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'GET'
1433
+ return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'GET'
1434
1434
  });
1435
1435
  };
1436
1436
  /**
@@ -1438,7 +1438,7 @@ const getSmartSpaceAdminAPI = () => {
1438
1438
  the vault reference.
1439
1439
  */
1440
1440
  const managedSecretsCreateManagedSecret = (managedSecretsCreateManagedSecret) => {
1441
- return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'POST',
1441
+ return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'POST',
1442
1442
  headers: { 'Content-Type': 'application/*+json', },
1443
1443
  data: managedSecretsCreateManagedSecret
1444
1444
  });
@@ -1447,7 +1447,7 @@ const getSmartSpaceAdminAPI = () => {
1447
1447
  * @summary Deletes a secret: removes the Key Vault secret and hard-deletes the row.
1448
1448
  */
1449
1449
  const managedSecretsDeleteManagedSecret = (name) => {
1450
- return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'DELETE'
1450
+ return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}`, method: 'DELETE'
1451
1451
  });
1452
1452
  };
1453
1453
  /**
@@ -1456,18 +1456,18 @@ const getSmartSpaceAdminAPI = () => {
1456
1456
  audit metadata.
1457
1457
  */
1458
1458
  const managedSecretsOverwriteManagedSecretValue = (name, managedSecretsUpdateManagedSecretValue) => {
1459
- return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/value`, method: 'PUT',
1459
+ return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}/value`, method: 'PUT',
1460
1460
  headers: { 'Content-Type': 'application/*+json', },
1461
1461
  data: managedSecretsUpdateManagedSecretValue
1462
1462
  });
1463
1463
  };
1464
1464
  const messageThreadsGetWorkspaceExecutions = (workSpaceId, params) => {
1465
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
1465
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
1466
1466
  params
1467
1467
  });
1468
1468
  };
1469
1469
  const messageThreadsGetStepExecutions = (workSpaceId, messageThreadId, params) => {
1470
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
1470
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
1471
1471
  params
1472
1472
  });
1473
1473
  };
@@ -1476,7 +1476,7 @@ const getSmartSpaceAdminAPI = () => {
1476
1476
  runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
1477
1477
  */
1478
1478
  const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
1479
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
1479
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/runs`, method: 'GET',
1480
1480
  params
1481
1481
  });
1482
1482
  };
@@ -1484,28 +1484,28 @@ const getSmartSpaceAdminAPI = () => {
1484
1484
  * @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
1485
1485
  */
1486
1486
  const sandBoxGetSandboxThread = (workspaceId) => {
1487
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox`, method: 'GET'
1487
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox`, method: 'GET'
1488
1488
  });
1489
1489
  };
1490
1490
  /**
1491
1491
  * @summary Retrieve message creators profile images from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
1492
1492
  */
1493
1493
  const sandBoxThreadMessageCreateByUsersProfileImages = (workspaceId) => {
1494
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
1494
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
1495
1495
  });
1496
1496
  };
1497
1497
  /**
1498
1498
  * @summary Remove messages from the sandbox environment of a specific workspace in SmartSpace, identified by workspaceId.
1499
1499
  */
1500
1500
  const sandBoxClearSandboxMessages = (workspaceId) => {
1501
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
1501
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
1502
1502
  });
1503
1503
  };
1504
1504
  /**
1505
1505
  * @summary Retrieve messages from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
1506
1506
  */
1507
1507
  const sandBoxGetThreadMessages = (workspaceId, params) => {
1508
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
1508
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
1509
1509
  params
1510
1510
  });
1511
1511
  };
@@ -1518,7 +1518,7 @@ const getSmartSpaceAdminAPI = () => {
1518
1518
  should subscribe to the SSE endpoint for live token-by-token updates.
1519
1519
  */
1520
1520
  const sandBoxThreadMessages = (workspaceId, messagesSandBoxMessageRequest) => {
1521
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
1521
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
1522
1522
  headers: { 'Content-Type': 'application/*+json', },
1523
1523
  data: messagesSandBoxMessageRequest
1524
1524
  });
@@ -1533,7 +1533,7 @@ const getSmartSpaceAdminAPI = () => {
1533
1533
  `GET /messagethreads/{id}/messages/stream`.
1534
1534
  */
1535
1535
  const sandBoxStreamSandboxMessages = (workspaceId) => {
1536
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
1536
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
1537
1537
  });
1538
1538
  };
1539
1539
  /**
@@ -1545,7 +1545,7 @@ const getSmartSpaceAdminAPI = () => {
1545
1545
  message. Mirrors the chat-api `POST /messages/{id}/values`.
1546
1546
  */
1547
1547
  const sandBoxAddValueToMessage = (workspaceId, id, messagesCreateMessageInput) => {
1548
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
1548
+ return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
1549
1549
  headers: { 'Content-Type': 'application/*+json', },
1550
1550
  data: messagesCreateMessageInput
1551
1551
  });