@smartspace/api-client 0.1.0-pr.1364.b893a9f → 0.1.0-pr.1365.7093162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/chat/api.d.ts +49 -46
- package/dist/generated/chat/api.js +92 -92
- package/dist/generated/config/api.d.ts +213 -211
- package/dist/generated/config/api.js +422 -422
- package/dist/instance.d.ts +1 -1
- package/dist/instance.js +10 -2
- package/package.json +3 -3
|
@@ -3,190 +3,190 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getSmartSpaceAdminAPI = void 0;
|
|
4
4
|
const instance_1 = require("../../instance");
|
|
5
5
|
const getSmartSpaceAdminAPI = () => {
|
|
6
|
-
const authDiscoveryGet = () => {
|
|
6
|
+
const authDiscoveryGet = (options) => {
|
|
7
7
|
return (0, instance_1.customInstance)({ url: `/v1/.well-known/smartspace-auth`, method: 'GET'
|
|
8
|
-
});
|
|
8
|
+
}, options);
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* @summary Retrieve access details with optional filtering by workspace, access type, principal type, and search.
|
|
12
12
|
*/
|
|
13
|
-
const accessGetAccesses = (params) => {
|
|
13
|
+
const accessGetAccesses = (params, options) => {
|
|
14
14
|
return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'GET',
|
|
15
15
|
params
|
|
16
|
-
});
|
|
16
|
+
}, options);
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* @summary Add a new access grant for a principal or group to a workspace.
|
|
20
20
|
*/
|
|
21
|
-
const accessAddAccess = (accessCreateAccess) => {
|
|
21
|
+
const accessAddAccess = (accessCreateAccess, options) => {
|
|
22
22
|
return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'PUT',
|
|
23
23
|
headers: { 'Content-Type': 'application/*+json', },
|
|
24
24
|
data: accessCreateAccess
|
|
25
|
-
});
|
|
25
|
+
}, options);
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @summary List groups from Azure AD.
|
|
29
29
|
*/
|
|
30
|
-
const accessGetGroups = (params) => {
|
|
30
|
+
const accessGetGroups = (params, options) => {
|
|
31
31
|
return (0, instance_1.customInstance)({ url: `/v1/Access/groups`, method: 'GET',
|
|
32
32
|
params
|
|
33
|
-
});
|
|
33
|
+
}, options);
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* @summary Fetch a list of all roles defined within SmartSpace, providing an overview of role-based access control.
|
|
37
37
|
*/
|
|
38
|
-
const accessGetAppRoles = () => {
|
|
38
|
+
const accessGetAppRoles = (options) => {
|
|
39
39
|
return (0, instance_1.customInstance)({ url: `/v1/Access/roles`, method: 'GET'
|
|
40
|
-
});
|
|
40
|
+
}, options);
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* @summary List users assigned to a specific role in SmartSpace by providing the role's ID.
|
|
44
44
|
*/
|
|
45
|
-
const accessGetUsersInRoleRolesRoleIdUsers = (roleId, params) => {
|
|
45
|
+
const accessGetUsersInRoleRolesRoleIdUsers = (roleId, params, options) => {
|
|
46
46
|
return (0, instance_1.customInstance)({ url: `/v1/Access/roles/${roleId}/users`, method: 'GET',
|
|
47
47
|
params
|
|
48
|
-
});
|
|
48
|
+
}, options);
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* @summary Search Azure AD groups for access assignment.
|
|
52
52
|
*/
|
|
53
|
-
const accessSearchGroups = (params) => {
|
|
53
|
+
const accessSearchGroups = (params, options) => {
|
|
54
54
|
return (0, instance_1.customInstance)({ url: `/v1/Access/search/groups`, method: 'GET',
|
|
55
55
|
params
|
|
56
|
-
});
|
|
56
|
+
}, options);
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* @summary Search Azure AD service principals for access assignment.
|
|
60
60
|
*/
|
|
61
|
-
const accessSearchServicePrincipals = (params) => {
|
|
61
|
+
const accessSearchServicePrincipals = (params, options) => {
|
|
62
62
|
return (0, instance_1.customInstance)({ url: `/v1/Access/search/serviceprincipals`, method: 'GET',
|
|
63
63
|
params
|
|
64
|
-
});
|
|
64
|
+
}, options);
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
67
|
* @summary Search Azure AD users for access assignment.
|
|
68
68
|
*/
|
|
69
|
-
const accessSearchUsers = (params) => {
|
|
69
|
+
const accessSearchUsers = (params, options) => {
|
|
70
70
|
return (0, instance_1.customInstance)({ url: `/v1/Access/search/users`, method: 'GET',
|
|
71
71
|
params
|
|
72
|
-
});
|
|
72
|
+
}, options);
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* @summary Retrieve users associated with a specified role in SmartSpace, enabling role-based user management.
|
|
76
76
|
*/
|
|
77
|
-
const accessGetUsersInRoleUsers = (params) => {
|
|
77
|
+
const accessGetUsersInRoleUsers = (params, options) => {
|
|
78
78
|
return (0, instance_1.customInstance)({ url: `/v1/Access/users`, method: 'GET',
|
|
79
79
|
params
|
|
80
|
-
});
|
|
80
|
+
}, options);
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* @summary Remove a specific access entity in SmartSpace by using its ID.
|
|
84
84
|
*/
|
|
85
|
-
const accessDeleteAccess = (id) => {
|
|
85
|
+
const accessDeleteAccess = (id, options) => {
|
|
86
86
|
return (0, instance_1.customInstance)({ url: `/v1/Access/${id}`, method: 'DELETE'
|
|
87
|
-
});
|
|
87
|
+
}, options);
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
90
|
* @summary Export workspace activity log as a CSV file.
|
|
91
91
|
*/
|
|
92
|
-
const activityExportLoggings = (params) => {
|
|
92
|
+
const activityExportLoggings = (params, options) => {
|
|
93
93
|
return (0, instance_1.customInstance)({ url: `/v1/Activity/csv/workspace`, method: 'GET',
|
|
94
94
|
params,
|
|
95
95
|
responseType: 'blob'
|
|
96
|
-
});
|
|
96
|
+
}, options);
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
99
|
* @summary Retrieve workspace activity log entries with optional filtering and pagination.
|
|
100
100
|
*/
|
|
101
|
-
const activityGetLogging = (params) => {
|
|
101
|
+
const activityGetLogging = (params, options) => {
|
|
102
102
|
return (0, instance_1.customInstance)({ url: `/v1/Activity/workspace`, method: 'GET',
|
|
103
103
|
params
|
|
104
|
-
});
|
|
104
|
+
}, options);
|
|
105
105
|
};
|
|
106
106
|
/**
|
|
107
107
|
* @summary Gets the state of an update that was triggered by ApplyLatestAvailableVersion.
|
|
108
108
|
*/
|
|
109
|
-
const applicationUpdateGetLatestDeployment = () => {
|
|
109
|
+
const applicationUpdateGetLatestDeployment = (options) => {
|
|
110
110
|
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/deployments/latest`, method: 'GET'
|
|
111
|
-
});
|
|
111
|
+
}, options);
|
|
112
112
|
};
|
|
113
113
|
/**
|
|
114
114
|
* @summary Returns the current version of the application.
|
|
115
115
|
*/
|
|
116
|
-
const applicationUpdateGetCurrentVersion = () => {
|
|
116
|
+
const applicationUpdateGetCurrentVersion = (options) => {
|
|
117
117
|
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current`, method: 'GET'
|
|
118
|
-
});
|
|
118
|
+
}, options);
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
121
|
* @summary Triggers a redeploy of the current version.
|
|
122
122
|
Returns 202 to indicate the operation has been triggered.
|
|
123
123
|
*/
|
|
124
|
-
const applicationUpdateReapplyCurrentVersion = () => {
|
|
124
|
+
const applicationUpdateReapplyCurrentVersion = (options) => {
|
|
125
125
|
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
|
|
126
|
-
});
|
|
126
|
+
}, options);
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
129
129
|
* @summary Not necessarily the latest version, but the latest version that is available for the application at its current version.
|
|
130
130
|
For instance, if app is currently on version 1.0, it might need to first be updated to 1.1 before it can be updated to 1.2.
|
|
131
131
|
Returns 204 if no new version available.
|
|
132
132
|
*/
|
|
133
|
-
const applicationUpdateGetLatestAvailableVersion = () => {
|
|
133
|
+
const applicationUpdateGetLatestAvailableVersion = (options) => {
|
|
134
134
|
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'GET'
|
|
135
|
-
});
|
|
135
|
+
}, options);
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
138
|
* @summary Returns 202 to indicate the version update has been triggered.
|
|
139
139
|
Returns 204 if no new version available to apply.
|
|
140
140
|
Returns 409 if the application is already in the process of updating.
|
|
141
141
|
*/
|
|
142
|
-
const applicationUpdateApplyLatestAvailableVersion = () => {
|
|
142
|
+
const applicationUpdateApplyLatestAvailableVersion = (options) => {
|
|
143
143
|
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'PUT'
|
|
144
|
-
});
|
|
144
|
+
}, options);
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
147
147
|
* @summary Get a list of all block sets visible to the current principal.
|
|
148
148
|
*/
|
|
149
|
-
const blockSetsGetBlockSets = (params) => {
|
|
149
|
+
const blockSetsGetBlockSets = (params, options) => {
|
|
150
150
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets`, method: 'GET',
|
|
151
151
|
params
|
|
152
|
-
});
|
|
152
|
+
}, options);
|
|
153
153
|
};
|
|
154
154
|
/**
|
|
155
155
|
* @summary Get the saved Python source code for a deployed custom block set.
|
|
156
156
|
*/
|
|
157
|
-
const blockSetsGetDeployedBlockCode = (blockSetName) => {
|
|
157
|
+
const blockSetsGetDeployedBlockCode = (blockSetName, options) => {
|
|
158
158
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
|
|
159
|
-
});
|
|
159
|
+
}, options);
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
162
162
|
* @summary Get the raw zip file for a deployed custom block set.
|
|
163
163
|
*/
|
|
164
|
-
const blockSetsGetDeployedBlockFiles = (blockSetName) => {
|
|
164
|
+
const blockSetsGetDeployedBlockFiles = (blockSetName, options) => {
|
|
165
165
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
|
|
166
|
-
});
|
|
166
|
+
}, options);
|
|
167
167
|
};
|
|
168
168
|
/**
|
|
169
169
|
* @summary Deletes an existing custom block set.
|
|
170
170
|
*/
|
|
171
|
-
const blockSetsDeleteBlockSet = (name) => {
|
|
171
|
+
const blockSetsDeleteBlockSet = (name, options) => {
|
|
172
172
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'DELETE'
|
|
173
|
-
});
|
|
173
|
+
}, options);
|
|
174
174
|
};
|
|
175
175
|
/**
|
|
176
176
|
* @summary Rename a published custom block set (all versions). Set names are
|
|
177
177
|
organizational — flows bind to block (class) names, so renaming never
|
|
178
178
|
breaks a flow. Admin-only, as the class already says.
|
|
179
179
|
*/
|
|
180
|
-
const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest) => {
|
|
180
|
+
const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest, options) => {
|
|
181
181
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'PATCH',
|
|
182
182
|
headers: { 'Content-Type': 'application/*+json', },
|
|
183
183
|
data: blocksRenameBlockSetRequest
|
|
184
|
-
});
|
|
184
|
+
}, options);
|
|
185
185
|
};
|
|
186
186
|
/**
|
|
187
187
|
* @summary Adds a new custom block set.
|
|
188
188
|
*/
|
|
189
|
-
const blockSetsAddBlockSet = (name, blockSetsAddBlockSetBody) => {
|
|
189
|
+
const blockSetsAddBlockSet = (name, blockSetsAddBlockSetBody, options) => {
|
|
190
190
|
const formData = new FormData();
|
|
191
191
|
if (blockSetsAddBlockSetBody.file !== undefined) {
|
|
192
192
|
formData.append(`file`, blockSetsAddBlockSetBody.file);
|
|
@@ -194,123 +194,123 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
194
194
|
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'POST',
|
|
195
195
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
196
196
|
data: formData
|
|
197
|
-
});
|
|
197
|
+
}, options);
|
|
198
198
|
};
|
|
199
199
|
/**
|
|
200
200
|
* @summary Get a list of all block interfaces
|
|
201
201
|
*/
|
|
202
|
-
const blocksGetBlocks = (params) => {
|
|
202
|
+
const blocksGetBlocks = (params, options) => {
|
|
203
203
|
return (0, instance_1.customInstance)({ url: `/v1/Blocks`, method: 'GET',
|
|
204
204
|
params
|
|
205
|
-
});
|
|
205
|
+
}, options);
|
|
206
206
|
};
|
|
207
207
|
/**
|
|
208
208
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
209
209
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
210
210
|
excluded upstream. Admin-only, above the editor floor the class carries.
|
|
211
211
|
*/
|
|
212
|
-
const blocksGetSdkBlocks = () => {
|
|
212
|
+
const blocksGetSdkBlocks = (options) => {
|
|
213
213
|
return (0, instance_1.customInstance)({ url: `/v1/Blocks/sdk`, method: 'GET'
|
|
214
|
-
});
|
|
214
|
+
}, options);
|
|
215
215
|
};
|
|
216
216
|
/**
|
|
217
217
|
* @summary Get the Python source of a native/SDK block — used by the custom-blocks
|
|
218
218
|
page as a starting scaffold when creating a draft. Admin-only, above the
|
|
219
219
|
editor floor the class carries.
|
|
220
220
|
*/
|
|
221
|
-
const blocksGetBlockSource = (name, version) => {
|
|
221
|
+
const blocksGetBlockSource = (name, version, options) => {
|
|
222
222
|
return (0, instance_1.customInstance)({ url: `/v1/Blocks/${name}/${version}/source`, method: 'GET'
|
|
223
|
-
});
|
|
223
|
+
}, options);
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
226
|
* @summary Manually trigger reingestion of a specific container item.
|
|
227
227
|
*/
|
|
228
|
-
const containersReingestContainerItem = (containerItemId) => {
|
|
228
|
+
const containersReingestContainerItem = (containerItemId, options) => {
|
|
229
229
|
return (0, instance_1.customInstance)({ url: `/v1/Containers/items/${containerItemId}/reingest`, method: 'POST'
|
|
230
|
-
});
|
|
230
|
+
}, options);
|
|
231
231
|
};
|
|
232
|
-
const containersPost = (containerId, params) => {
|
|
232
|
+
const containersPost = (containerId, params, options) => {
|
|
233
233
|
return (0, instance_1.customInstance)({ url: `/v1/Containers/${containerId}/startflows`, method: 'POST',
|
|
234
234
|
params
|
|
235
|
-
});
|
|
235
|
+
}, options);
|
|
236
236
|
};
|
|
237
|
-
const dataSetsGet = (params) => {
|
|
237
|
+
const dataSetsGet = (params, options) => {
|
|
238
238
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets`, method: 'GET',
|
|
239
239
|
params
|
|
240
|
-
});
|
|
240
|
+
}, options);
|
|
241
241
|
};
|
|
242
|
-
const dataSetsGetItem = (dataSetId, id) => {
|
|
242
|
+
const dataSetsGetItem = (dataSetId, id, options) => {
|
|
243
243
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${dataSetId}/items/${id}`, method: 'GET'
|
|
244
|
-
});
|
|
244
|
+
}, options);
|
|
245
245
|
};
|
|
246
|
-
const dataSetsDelete = (id) => {
|
|
246
|
+
const dataSetsDelete = (id, options) => {
|
|
247
247
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'DELETE'
|
|
248
|
-
});
|
|
248
|
+
}, options);
|
|
249
249
|
};
|
|
250
|
-
const dataSetsGetById = (id) => {
|
|
250
|
+
const dataSetsGetById = (id, options) => {
|
|
251
251
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'GET'
|
|
252
|
-
});
|
|
252
|
+
}, options);
|
|
253
253
|
};
|
|
254
254
|
/**
|
|
255
255
|
* @summary Update an existing dataset (name, description, container bindings).
|
|
256
256
|
*/
|
|
257
|
-
const dataSetsPut = (id, dataSetsUpdateDataSet) => {
|
|
257
|
+
const dataSetsPut = (id, dataSetsUpdateDataSet, options) => {
|
|
258
258
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'PUT',
|
|
259
259
|
headers: { 'Content-Type': 'application/*+json', },
|
|
260
260
|
data: dataSetsUpdateDataSet
|
|
261
|
-
});
|
|
261
|
+
}, options);
|
|
262
262
|
};
|
|
263
263
|
/**
|
|
264
264
|
* @summary Update just the basic-info fields (name + description) on a dataset.
|
|
265
265
|
*/
|
|
266
|
-
const dataSetsPutBasicInfo = (id, dataSetsUpdateDataSetBasicInfo) => {
|
|
266
|
+
const dataSetsPutBasicInfo = (id, dataSetsUpdateDataSetBasicInfo, options) => {
|
|
267
267
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/basicInfo`, method: 'PUT',
|
|
268
268
|
headers: { 'Content-Type': 'application/*+json', },
|
|
269
269
|
data: dataSetsUpdateDataSetBasicInfo
|
|
270
|
-
});
|
|
270
|
+
}, options);
|
|
271
271
|
};
|
|
272
|
-
const dataSetsClear = (id) => {
|
|
272
|
+
const dataSetsClear = (id, options) => {
|
|
273
273
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/clear`, method: 'POST'
|
|
274
|
-
});
|
|
274
|
+
}, options);
|
|
275
275
|
};
|
|
276
|
-
const dataSetsGetContainerItemsRunHistory = (id, params) => {
|
|
276
|
+
const dataSetsGetContainerItemsRunHistory = (id, params, options) => {
|
|
277
277
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/containerItems/runHistory`, method: 'GET',
|
|
278
278
|
params
|
|
279
|
-
});
|
|
279
|
+
}, options);
|
|
280
280
|
};
|
|
281
281
|
/**
|
|
282
282
|
* @summary Move a dataset to a different dataspace.
|
|
283
283
|
*/
|
|
284
|
-
const dataSetsSetDataspace = (id, dataSetsSetDataspaceBody) => {
|
|
284
|
+
const dataSetsSetDataspace = (id, dataSetsSetDataspaceBody, options) => {
|
|
285
285
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/dataspace`, method: 'PUT',
|
|
286
286
|
headers: { 'Content-Type': 'application/*+json', },
|
|
287
287
|
data: dataSetsSetDataspaceBody
|
|
288
|
-
});
|
|
288
|
+
}, options);
|
|
289
289
|
};
|
|
290
|
-
const dataSetsExport = (id) => {
|
|
290
|
+
const dataSetsExport = (id, options) => {
|
|
291
291
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/export`, method: 'GET'
|
|
292
|
-
});
|
|
292
|
+
}, options);
|
|
293
293
|
};
|
|
294
|
-
const dataSetsGetItems = (id, params) => {
|
|
294
|
+
const dataSetsGetItems = (id, params, options) => {
|
|
295
295
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'GET',
|
|
296
296
|
params
|
|
297
|
-
});
|
|
297
|
+
}, options);
|
|
298
298
|
};
|
|
299
|
-
const dataSetsAddItem = (id, dataSetItemCreateRequest) => {
|
|
299
|
+
const dataSetsAddItem = (id, dataSetItemCreateRequest, options) => {
|
|
300
300
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'POST',
|
|
301
301
|
headers: { 'Content-Type': 'application/*+json', },
|
|
302
302
|
data: dataSetItemCreateRequest
|
|
303
|
-
});
|
|
303
|
+
}, options);
|
|
304
304
|
};
|
|
305
|
-
const dataSetsSearchItems = (id, dataSetSearchRequest) => {
|
|
305
|
+
const dataSetsSearchItems = (id, dataSetSearchRequest, options) => {
|
|
306
306
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/search`, method: 'POST',
|
|
307
307
|
headers: { 'Content-Type': 'application/*+json', },
|
|
308
308
|
data: dataSetSearchRequest
|
|
309
|
-
});
|
|
309
|
+
}, options);
|
|
310
310
|
};
|
|
311
|
-
const dataSetsDeleteItem = (id, itemId) => {
|
|
311
|
+
const dataSetsDeleteItem = (id, itemId, options) => {
|
|
312
312
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/${itemId}`, method: 'DELETE'
|
|
313
|
-
});
|
|
313
|
+
}, options);
|
|
314
314
|
};
|
|
315
315
|
/**
|
|
316
316
|
* The `isVector` field is deprecated: the platform no longer uses it,
|
|
@@ -320,15 +320,15 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
320
320
|
preserved on update and defaults to `false` on create.
|
|
321
321
|
* @summary Upsert a single property on a dataset.
|
|
322
322
|
*/
|
|
323
|
-
const dataSetsAddDataSetProperty = (id, dataSetsUpsertDataSetProperty) => {
|
|
323
|
+
const dataSetsAddDataSetProperty = (id, dataSetsUpsertDataSetProperty, options) => {
|
|
324
324
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties`, method: 'POST',
|
|
325
325
|
headers: { 'Content-Type': 'application/*+json', },
|
|
326
326
|
data: dataSetsUpsertDataSetProperty
|
|
327
|
-
});
|
|
327
|
+
}, options);
|
|
328
328
|
};
|
|
329
|
-
const dataSetsDeleteDataSetProperty = (id, name) => {
|
|
329
|
+
const dataSetsDeleteDataSetProperty = (id, name, options) => {
|
|
330
330
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties/${name}`, method: 'DELETE'
|
|
331
|
-
});
|
|
331
|
+
}, options);
|
|
332
332
|
};
|
|
333
333
|
/**
|
|
334
334
|
* @summary Run-centric ingestion history for the dataset (newest first), from the
|
|
@@ -336,19 +336,19 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
336
336
|
(sync / sweep / manual / reset / unknown); `itemId` narrows to one
|
|
337
337
|
container item, including runs superseded by later re-ingests.
|
|
338
338
|
*/
|
|
339
|
-
const dataSetsGetIngestionRuns = (id, params) => {
|
|
339
|
+
const dataSetsGetIngestionRuns = (id, params, options) => {
|
|
340
340
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/runs`, method: 'GET',
|
|
341
341
|
params
|
|
342
|
-
});
|
|
342
|
+
}, options);
|
|
343
343
|
};
|
|
344
344
|
/**
|
|
345
345
|
* @summary Set the per-document scoping config (mode + subject path) on a dataset.
|
|
346
346
|
*/
|
|
347
|
-
const dataSetsPutScoping = (id, dataSetsSetDataSetScoping) => {
|
|
347
|
+
const dataSetsPutScoping = (id, dataSetsSetDataSetScoping, options) => {
|
|
348
348
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/scoping`, method: 'PUT',
|
|
349
349
|
headers: { 'Content-Type': 'application/*+json', },
|
|
350
350
|
data: dataSetsSetDataSetScoping
|
|
351
|
-
});
|
|
351
|
+
}, options);
|
|
352
352
|
};
|
|
353
353
|
/**
|
|
354
354
|
* @summary Whether this dataset hides items whose source file was deleted in the given
|
|
@@ -357,11 +357,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
357
357
|
recorded and always marked on the affected rows; this only decides whether a
|
|
358
358
|
marked row is returned. Nothing here deletes anything.
|
|
359
359
|
*/
|
|
360
|
-
const dataSetsPutSourceDeletes = (id, dataSetsSetDataSetSourceDeletes) => {
|
|
360
|
+
const dataSetsPutSourceDeletes = (id, dataSetsSetDataSetSourceDeletes, options) => {
|
|
361
361
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/sourceDeletes`, method: 'PUT',
|
|
362
362
|
headers: { 'Content-Type': 'application/*+json', },
|
|
363
363
|
data: dataSetsSetDataSetSourceDeletes
|
|
364
|
-
});
|
|
364
|
+
}, options);
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
367
|
* Answered from the dataset, so it does not depend on whether the caller also
|
|
@@ -371,85 +371,85 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
371
371
|
* @summary The syncs feeding this dataset — the connector selections whose landed items
|
|
372
372
|
ingest into it, including any it shares with other datasets.
|
|
373
373
|
*/
|
|
374
|
-
const dataSetsGetSyncs = (id) => {
|
|
374
|
+
const dataSetsGetSyncs = (id, options) => {
|
|
375
375
|
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/syncs`, method: 'GET'
|
|
376
|
-
});
|
|
376
|
+
}, options);
|
|
377
377
|
};
|
|
378
378
|
/**
|
|
379
379
|
* @summary Fetch a list of all available data source types in SmartSpace.
|
|
380
380
|
*/
|
|
381
|
-
const dataSourceTypesGet = () => {
|
|
381
|
+
const dataSourceTypesGet = (options) => {
|
|
382
382
|
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes`, method: 'GET'
|
|
383
|
-
});
|
|
383
|
+
}, options);
|
|
384
384
|
};
|
|
385
385
|
/**
|
|
386
386
|
* @summary Check for available containers for a specific data source type in SmartSpace.
|
|
387
387
|
*/
|
|
388
|
-
const dataSourceTypesGetAvailableContainers = (dataSourcesTestDataSourceConnection) => {
|
|
388
|
+
const dataSourceTypesGetAvailableContainers = (dataSourcesTestDataSourceConnection, options) => {
|
|
389
389
|
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/AvailableContainers`, method: 'POST',
|
|
390
390
|
headers: { 'Content-Type': 'application/*+json', },
|
|
391
391
|
data: dataSourcesTestDataSourceConnection
|
|
392
|
-
});
|
|
392
|
+
}, options);
|
|
393
393
|
};
|
|
394
394
|
/**
|
|
395
395
|
* @summary Test the connection for a data source type in SmartSpace, verifying credentials and connectivity.
|
|
396
396
|
*/
|
|
397
|
-
const dataSourceTypesTestConnection = (dataSourcesTestDataSourceConnection) => {
|
|
397
|
+
const dataSourceTypesTestConnection = (dataSourcesTestDataSourceConnection, options) => {
|
|
398
398
|
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/TestConnection`, method: 'POST',
|
|
399
399
|
headers: { 'Content-Type': 'application/*+json', },
|
|
400
400
|
data: dataSourcesTestDataSourceConnection
|
|
401
|
-
});
|
|
401
|
+
}, options);
|
|
402
402
|
};
|
|
403
403
|
/**
|
|
404
404
|
* @summary Retrieves a collection of data sources.
|
|
405
405
|
*/
|
|
406
|
-
const dataSourcesGet = (params) => {
|
|
406
|
+
const dataSourcesGet = (params, options) => {
|
|
407
407
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'GET',
|
|
408
408
|
params
|
|
409
|
-
});
|
|
409
|
+
}, options);
|
|
410
410
|
};
|
|
411
411
|
/**
|
|
412
412
|
* @summary Create a new data source in SmartSpace, defining its properties and credentials for integration.
|
|
413
413
|
*/
|
|
414
|
-
const dataSourcesPost = (dataSourcesCreateDataSource) => {
|
|
414
|
+
const dataSourcesPost = (dataSourcesCreateDataSource, options) => {
|
|
415
415
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'POST',
|
|
416
416
|
headers: { 'Content-Type': 'application/*+json', },
|
|
417
417
|
data: dataSourcesCreateDataSource
|
|
418
|
-
});
|
|
418
|
+
}, options);
|
|
419
419
|
};
|
|
420
420
|
/**
|
|
421
421
|
* @summary Remove a specific data source from SmartSpace using its unique ID.
|
|
422
422
|
*/
|
|
423
|
-
const dataSourcesDelete = (dataSourceId) => {
|
|
423
|
+
const dataSourcesDelete = (dataSourceId, options) => {
|
|
424
424
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'DELETE'
|
|
425
|
-
});
|
|
425
|
+
}, options);
|
|
426
426
|
};
|
|
427
427
|
/**
|
|
428
428
|
* @summary Update the configuration of an existing data source in SmartSpace by specifying its ID.
|
|
429
429
|
*/
|
|
430
|
-
const dataSourcesPut = (dataSourceId, dataSourcesUpdateDataSource) => {
|
|
430
|
+
const dataSourcesPut = (dataSourceId, dataSourcesUpdateDataSource, options) => {
|
|
431
431
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'PUT',
|
|
432
432
|
headers: { 'Content-Type': 'application/*+json', },
|
|
433
433
|
data: dataSourcesUpdateDataSource
|
|
434
|
-
});
|
|
434
|
+
}, options);
|
|
435
435
|
};
|
|
436
436
|
/**
|
|
437
437
|
* @summary Retrieve container information associated with a specific data source in SmartSpace, using it's ID.
|
|
438
438
|
*/
|
|
439
|
-
const dataSourcesContainers = (dataSourceId, params) => {
|
|
439
|
+
const dataSourcesContainers = (dataSourceId, params, options) => {
|
|
440
440
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers`, method: 'GET',
|
|
441
441
|
params
|
|
442
|
-
});
|
|
442
|
+
}, options);
|
|
443
443
|
};
|
|
444
444
|
/**
|
|
445
445
|
* @summary Runs a preview search against the data source using the supplied filters and returns
|
|
446
446
|
a total record count without persisting any state.
|
|
447
447
|
*/
|
|
448
|
-
const dataSourcesPreviewContainer = (dataSourceId, dataSourcesPreviewContainerRequest) => {
|
|
448
|
+
const dataSourcesPreviewContainer = (dataSourceId, dataSourcesPreviewContainerRequest, options) => {
|
|
449
449
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
|
|
450
450
|
headers: { 'Content-Type': 'application/*+json', },
|
|
451
451
|
data: dataSourcesPreviewContainerRequest
|
|
452
|
-
});
|
|
452
|
+
}, options);
|
|
453
453
|
};
|
|
454
454
|
/**
|
|
455
455
|
* @summary Returns a JSON Schema object for the container's properties, used to drive the filter editor UI.
|
|
@@ -457,112 +457,112 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
457
457
|
format "date"/"date-time" marks date-valued properties (their filter values remain epoch-millisecond strings).
|
|
458
458
|
containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
|
|
459
459
|
*/
|
|
460
|
-
const dataSourcesContainerSchema = (dataSourceId, params) => {
|
|
460
|
+
const dataSourcesContainerSchema = (dataSourceId, params, options) => {
|
|
461
461
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
|
|
462
462
|
params
|
|
463
|
-
});
|
|
463
|
+
}, options);
|
|
464
464
|
};
|
|
465
465
|
/**
|
|
466
466
|
* @summary Update the credentials for an existing data source in SmartSpace by specifying its ID.
|
|
467
467
|
*/
|
|
468
|
-
const dataSourcesUpdateCredentials = (dataSourceId, dataSourcesUpdateDataSourceCredentials) => {
|
|
468
|
+
const dataSourcesUpdateCredentials = (dataSourceId, dataSourcesUpdateDataSourceCredentials, options) => {
|
|
469
469
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/credentials`, method: 'PUT',
|
|
470
470
|
headers: { 'Content-Type': 'application/*+json', },
|
|
471
471
|
data: dataSourcesUpdateDataSourceCredentials
|
|
472
|
-
});
|
|
472
|
+
}, options);
|
|
473
473
|
};
|
|
474
474
|
/**
|
|
475
475
|
* @summary Requests an on-demand sync of a data source. The request is queued;
|
|
476
476
|
the sync service picks it up within ~30 seconds. Repeated requests
|
|
477
477
|
are safe — concurrent syncs of the same source collapse to one run.
|
|
478
478
|
*/
|
|
479
|
-
const dataSourcesRequestSync = (dataSourceId) => {
|
|
479
|
+
const dataSourcesRequestSync = (dataSourceId, options) => {
|
|
480
480
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/sync`, method: 'POST'
|
|
481
|
-
});
|
|
481
|
+
}, options);
|
|
482
482
|
};
|
|
483
|
-
const dataSourcesGetAdminUsers = (id) => {
|
|
483
|
+
const dataSourcesGetAdminUsers = (id, options) => {
|
|
484
484
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins`, method: 'GET'
|
|
485
|
-
});
|
|
485
|
+
}, options);
|
|
486
486
|
};
|
|
487
|
-
const dataSourcesDeleteAdmin = (id, userId) => {
|
|
487
|
+
const dataSourcesDeleteAdmin = (id, userId, options) => {
|
|
488
488
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'DELETE'
|
|
489
|
-
});
|
|
489
|
+
}, options);
|
|
490
490
|
};
|
|
491
|
-
const dataSourcesAddAdmin = (id, userId) => {
|
|
491
|
+
const dataSourcesAddAdmin = (id, userId, options) => {
|
|
492
492
|
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'PUT'
|
|
493
|
-
});
|
|
493
|
+
}, options);
|
|
494
494
|
};
|
|
495
|
-
const dataSpacesGet = (params) => {
|
|
495
|
+
const dataSpacesGet = (params, options) => {
|
|
496
496
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'GET',
|
|
497
497
|
params
|
|
498
|
-
});
|
|
498
|
+
}, options);
|
|
499
499
|
};
|
|
500
500
|
/**
|
|
501
501
|
* @summary Create a new dataspace.
|
|
502
502
|
*/
|
|
503
|
-
const dataSpacesPost = (dataSpacesCreateDataSpace) => {
|
|
503
|
+
const dataSpacesPost = (dataSpacesCreateDataSpace, options) => {
|
|
504
504
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'POST',
|
|
505
505
|
headers: { 'Content-Type': 'application/*+json', },
|
|
506
506
|
data: dataSpacesCreateDataSpace
|
|
507
|
-
});
|
|
507
|
+
}, options);
|
|
508
508
|
};
|
|
509
|
-
const dataSpacesDelete = (id) => {
|
|
509
|
+
const dataSpacesDelete = (id, options) => {
|
|
510
510
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'DELETE'
|
|
511
|
-
});
|
|
511
|
+
}, options);
|
|
512
512
|
};
|
|
513
|
-
const dataSpacesGetById = (id) => {
|
|
513
|
+
const dataSpacesGetById = (id, options) => {
|
|
514
514
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'GET'
|
|
515
|
-
});
|
|
515
|
+
}, options);
|
|
516
516
|
};
|
|
517
517
|
/**
|
|
518
518
|
* @summary Update an existing dataspace.
|
|
519
519
|
*/
|
|
520
|
-
const dataSpacesPut = (id, dataSpacesUpdateDataSpace) => {
|
|
520
|
+
const dataSpacesPut = (id, dataSpacesUpdateDataSpace, options) => {
|
|
521
521
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'PUT',
|
|
522
522
|
headers: { 'Content-Type': 'application/*+json', },
|
|
523
523
|
data: dataSpacesUpdateDataSpace
|
|
524
|
-
});
|
|
524
|
+
}, options);
|
|
525
525
|
};
|
|
526
|
-
const dataSpacesGetAdminUsers = (id) => {
|
|
526
|
+
const dataSpacesGetAdminUsers = (id, options) => {
|
|
527
527
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins`, method: 'GET'
|
|
528
|
-
});
|
|
528
|
+
}, options);
|
|
529
529
|
};
|
|
530
|
-
const dataSpacesDeleteAdmin = (id, userId) => {
|
|
530
|
+
const dataSpacesDeleteAdmin = (id, userId, options) => {
|
|
531
531
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
532
|
-
});
|
|
532
|
+
}, options);
|
|
533
533
|
};
|
|
534
|
-
const dataSpacesAddAdmin = (id, userId) => {
|
|
534
|
+
const dataSpacesAddAdmin = (id, userId, options) => {
|
|
535
535
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
536
|
-
});
|
|
536
|
+
}, options);
|
|
537
537
|
};
|
|
538
|
-
const dataSpacesGetDataSets = (id, params) => {
|
|
538
|
+
const dataSpacesGetDataSets = (id, params, options) => {
|
|
539
539
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'GET',
|
|
540
540
|
params
|
|
541
|
-
});
|
|
541
|
+
}, options);
|
|
542
542
|
};
|
|
543
543
|
/**
|
|
544
544
|
* @summary Create a new dataset inside this dataspace.
|
|
545
545
|
*/
|
|
546
|
-
const dataSpacesPostDataset = (id, dataSetsCreateDataSet) => {
|
|
546
|
+
const dataSpacesPostDataset = (id, dataSetsCreateDataSet, options) => {
|
|
547
547
|
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'POST',
|
|
548
548
|
headers: { 'Content-Type': 'application/*+json', },
|
|
549
549
|
data: dataSetsCreateDataSet
|
|
550
|
-
});
|
|
550
|
+
}, options);
|
|
551
551
|
};
|
|
552
|
-
const debugInvoke = (connectionId, method, debugInvokeBody) => {
|
|
552
|
+
const debugInvoke = (connectionId, method, debugInvokeBody, options) => {
|
|
553
553
|
return (0, instance_1.customInstance)({ url: `/v1/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
|
|
554
554
|
headers: { 'Content-Type': 'application/*+json', },
|
|
555
555
|
data: debugInvokeBody
|
|
556
|
-
});
|
|
556
|
+
}, options);
|
|
557
557
|
};
|
|
558
558
|
/**
|
|
559
559
|
* @summary The ingest pipeline, install-wide: depth and oldest-message age of the
|
|
560
560
|
ingest and poison queues, and how many consumer replicas have a live
|
|
561
561
|
heartbeat. Nothing reads a message body.
|
|
562
562
|
*/
|
|
563
|
-
const diagnosticsGetIngestQueue = () => {
|
|
563
|
+
const diagnosticsGetIngestQueue = (options) => {
|
|
564
564
|
return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/ingest-queue`, method: 'GET'
|
|
565
|
-
});
|
|
565
|
+
}, options);
|
|
566
566
|
};
|
|
567
567
|
/**
|
|
568
568
|
* @summary Mongo index health for the flow-runs store: planned-vs-existing
|
|
@@ -570,51 +570,51 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
570
570
|
(including repeated failures), and any in-flight index
|
|
571
571
|
transformations with their progress (currentOp).
|
|
572
572
|
*/
|
|
573
|
-
const diagnosticsGetMongoIndexes = () => {
|
|
573
|
+
const diagnosticsGetMongoIndexes = (options) => {
|
|
574
574
|
return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/mongo-indexes`, method: 'GET'
|
|
575
|
-
});
|
|
575
|
+
}, options);
|
|
576
576
|
};
|
|
577
577
|
/**
|
|
578
578
|
* @summary List the current user's drafts (without parsed interfaces — load detail to get those).
|
|
579
579
|
*/
|
|
580
|
-
const draftsListDrafts = () => {
|
|
580
|
+
const draftsListDrafts = (options) => {
|
|
581
581
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts`, method: 'GET'
|
|
582
|
-
});
|
|
582
|
+
}, options);
|
|
583
583
|
};
|
|
584
584
|
/**
|
|
585
585
|
* @summary Delete a draft (row + blob). Does not touch any published Custom of the same name.
|
|
586
586
|
*/
|
|
587
|
-
const draftsDeleteDraft = (name) => {
|
|
587
|
+
const draftsDeleteDraft = (name, options) => {
|
|
588
588
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'DELETE'
|
|
589
|
-
});
|
|
589
|
+
}, options);
|
|
590
590
|
};
|
|
591
591
|
/**
|
|
592
592
|
* @summary Fetch a specific draft (source text, parsed interfaces, RowVersion, IsActive).
|
|
593
593
|
*/
|
|
594
|
-
const draftsGetDraft = (name) => {
|
|
594
|
+
const draftsGetDraft = (name, options) => {
|
|
595
595
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'GET'
|
|
596
|
-
});
|
|
596
|
+
}, options);
|
|
597
597
|
};
|
|
598
598
|
/**
|
|
599
599
|
* @summary Toggle the draft's "Start testing" flag. See ADR-0002 — owner's active draft
|
|
600
600
|
overrides the published Custom at the same `(name, version)` for them only.
|
|
601
601
|
*/
|
|
602
|
-
const draftsToggleDraft = (name, draftsToggleDraftRequest) => {
|
|
602
|
+
const draftsToggleDraft = (name, draftsToggleDraftRequest, options) => {
|
|
603
603
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'PATCH',
|
|
604
604
|
headers: { 'Content-Type': 'application/*+json', },
|
|
605
605
|
data: draftsToggleDraftRequest
|
|
606
|
-
});
|
|
606
|
+
}, options);
|
|
607
607
|
};
|
|
608
608
|
/**
|
|
609
609
|
* @summary Create or update a draft. Pass `ExpectedRowVersion` for optimistic
|
|
610
610
|
concurrency on update (null for first-time create). Returns 409 with the
|
|
611
611
|
current `RowVersion` if another session has saved in the interim.
|
|
612
612
|
*/
|
|
613
|
-
const draftsSaveDraft = (name, draftsSaveDraftRequest) => {
|
|
613
|
+
const draftsSaveDraft = (name, draftsSaveDraftRequest, options) => {
|
|
614
614
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'POST',
|
|
615
615
|
headers: { 'Content-Type': 'application/*+json', },
|
|
616
616
|
data: draftsSaveDraftRequest
|
|
617
|
-
});
|
|
617
|
+
}, options);
|
|
618
618
|
};
|
|
619
619
|
/**
|
|
620
620
|
* @summary Publish the draft's saved source as a tenant-visible Custom block set.
|
|
@@ -622,16 +622,16 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
622
622
|
with the impact details; retry with `confirmOverwrite: true` to
|
|
623
623
|
replace it (a new row supersedes the old per newest-wins resolution).
|
|
624
624
|
*/
|
|
625
|
-
const draftsPublishDraft = (name, draftsPublishDraftRequest) => {
|
|
625
|
+
const draftsPublishDraft = (name, draftsPublishDraftRequest, options) => {
|
|
626
626
|
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}/publish`, method: 'POST',
|
|
627
627
|
headers: { 'Content-Type': 'application/*+json', },
|
|
628
628
|
data: draftsPublishDraftRequest
|
|
629
|
-
});
|
|
629
|
+
}, options);
|
|
630
630
|
};
|
|
631
631
|
/**
|
|
632
632
|
* @summary Upload files to be referenced in requests (supports full and chunked uploads).
|
|
633
633
|
*/
|
|
634
|
-
const filesUploadFiles = (filesUploadFilesBody) => {
|
|
634
|
+
const filesUploadFiles = (filesUploadFilesBody, options) => {
|
|
635
635
|
const formData = new FormData();
|
|
636
636
|
if (filesUploadFilesBody.chunkIndex !== undefined) {
|
|
637
637
|
formData.append(`chunkIndex`, filesUploadFilesBody.chunkIndex.toString());
|
|
@@ -657,56 +657,56 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
657
657
|
return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
|
|
658
658
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
659
659
|
data: formData
|
|
660
|
-
});
|
|
660
|
+
}, options);
|
|
661
661
|
};
|
|
662
662
|
/**
|
|
663
663
|
* @summary Get details for a file previously uploaded.
|
|
664
664
|
*/
|
|
665
|
-
const filesGetFileInfo = (id, params) => {
|
|
665
|
+
const filesGetFileInfo = (id, params, options) => {
|
|
666
666
|
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
|
|
667
667
|
params
|
|
668
|
-
});
|
|
668
|
+
}, options);
|
|
669
669
|
};
|
|
670
670
|
/**
|
|
671
671
|
* @summary Download a previously uploaded file.
|
|
672
672
|
*/
|
|
673
|
-
const filesDownloadFile = (id, params) => {
|
|
673
|
+
const filesDownloadFile = (id, params, options) => {
|
|
674
674
|
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
|
|
675
675
|
params
|
|
676
|
-
});
|
|
676
|
+
}, options);
|
|
677
677
|
};
|
|
678
678
|
/**
|
|
679
679
|
* @summary Get URI of a previously uploaded file.
|
|
680
680
|
*/
|
|
681
|
-
const filesGetUri = (id, params) => {
|
|
681
|
+
const filesGetUri = (id, params, options) => {
|
|
682
682
|
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
|
|
683
683
|
params
|
|
684
|
-
});
|
|
684
|
+
}, options);
|
|
685
685
|
};
|
|
686
686
|
/**
|
|
687
687
|
* @summary Creates a new flow run with the specified parameters
|
|
688
688
|
*/
|
|
689
|
-
const flowRunsCreateFlowRun = (configApiRunFlowRequest, params) => {
|
|
689
|
+
const flowRunsCreateFlowRun = (configApiRunFlowRequest, params, options) => {
|
|
690
690
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns`, method: 'POST',
|
|
691
691
|
headers: { 'Content-Type': 'application/*+json', },
|
|
692
692
|
data: configApiRunFlowRequest,
|
|
693
693
|
params
|
|
694
|
-
});
|
|
694
|
+
}, options);
|
|
695
695
|
};
|
|
696
696
|
/**
|
|
697
697
|
* @summary Gets a singile file if it was used as an input to the flow run
|
|
698
698
|
*/
|
|
699
|
-
const flowRunsGetFileFromFlowRunId = (flowRunId) => {
|
|
699
|
+
const flowRunsGetFileFromFlowRunId = (flowRunId, options) => {
|
|
700
700
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${flowRunId}/file`, method: 'GET'
|
|
701
|
-
});
|
|
701
|
+
}, options);
|
|
702
702
|
};
|
|
703
703
|
/**
|
|
704
704
|
* @summary Gets a flow run including its context
|
|
705
705
|
*/
|
|
706
|
-
const flowRunsGetFlowRun = (id, params) => {
|
|
706
|
+
const flowRunsGetFlowRun = (id, params, options) => {
|
|
707
707
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}`, method: 'GET',
|
|
708
708
|
params
|
|
709
|
-
});
|
|
709
|
+
}, options);
|
|
710
710
|
};
|
|
711
711
|
/**
|
|
712
712
|
* @summary Requests cancellation of a queued or running flow run. Cancellation
|
|
@@ -714,9 +714,9 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
714
714
|
a running flow stops between block executions, typically within
|
|
715
715
|
seconds. Cancelled runs carry cancelledAt in their basic info.
|
|
716
716
|
*/
|
|
717
|
-
const flowRunsCancelFlowRun = (id) => {
|
|
717
|
+
const flowRunsCancelFlowRun = (id, options) => {
|
|
718
718
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
|
|
719
|
-
});
|
|
719
|
+
}, options);
|
|
720
720
|
};
|
|
721
721
|
/**
|
|
722
722
|
* Frames are unnamed SSE `data:` events, each carrying a `kind`:
|
|
@@ -749,11 +749,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
749
749
|
* @summary Live run events for a run: a snapshot of the run so far, then the tail,
|
|
750
750
|
on one connection.
|
|
751
751
|
*/
|
|
752
|
-
const flowRunsStreamRunEvents = (id) => {
|
|
752
|
+
const flowRunsStreamRunEvents = (id, options) => {
|
|
753
753
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/events/stream`, method: 'GET'
|
|
754
|
-
});
|
|
754
|
+
}, options);
|
|
755
755
|
};
|
|
756
|
-
const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
|
|
756
|
+
const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody, options) => {
|
|
757
757
|
const formData = new FormData();
|
|
758
758
|
if (flowRunsAddFileIdFilesBody.file !== undefined) {
|
|
759
759
|
formData.append(`file`, flowRunsAddFileIdFilesBody.file);
|
|
@@ -761,21 +761,21 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
761
761
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files`, method: 'POST',
|
|
762
762
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
763
763
|
data: formData
|
|
764
|
-
});
|
|
764
|
+
}, options);
|
|
765
765
|
};
|
|
766
|
-
const flowRunsAddFileIdFilesExisting = (id, filesAddMessageFileFromBlobUri) => {
|
|
766
|
+
const flowRunsAddFileIdFilesExisting = (id, filesAddMessageFileFromBlobUri, options) => {
|
|
767
767
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files/existing`, method: 'POST',
|
|
768
768
|
headers: { 'Content-Type': 'application/*+json', },
|
|
769
769
|
data: filesAddMessageFileFromBlobUri
|
|
770
|
-
});
|
|
770
|
+
}, options);
|
|
771
771
|
};
|
|
772
772
|
/**
|
|
773
773
|
* @summary Lists a run's function executions, newest first.
|
|
774
774
|
*/
|
|
775
|
-
const flowRunsGetStepExecutions = (id, params) => {
|
|
775
|
+
const flowRunsGetStepExecutions = (id, params, options) => {
|
|
776
776
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions`, method: 'GET',
|
|
777
777
|
params
|
|
778
|
-
});
|
|
778
|
+
}, options);
|
|
779
779
|
};
|
|
780
780
|
/**
|
|
781
781
|
* Inline values are returned as stored. Values spilled to blob storage come
|
|
@@ -785,9 +785,9 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
785
785
|
* @summary Gets one execution of a run with its input/output values — the detail read
|
|
786
786
|
behind `functionexecutions?includeValues=false`.
|
|
787
787
|
*/
|
|
788
|
-
const flowRunsGetStepExecution = (id, executionId) => {
|
|
788
|
+
const flowRunsGetStepExecution = (id, executionId, options) => {
|
|
789
789
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
|
|
790
|
-
});
|
|
790
|
+
}, options);
|
|
791
791
|
};
|
|
792
792
|
/**
|
|
793
793
|
* Read from SQL only. Gated like the run read: 404 for a run the caller may not see.
|
|
@@ -795,9 +795,9 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
795
795
|
* @summary A run's invocations, oldest first: on a chat thread one per message, on an
|
|
796
796
|
ingestion run one. Each carries its model calls summed by model and round.
|
|
797
797
|
*/
|
|
798
|
-
const flowRunsGetInvocations = (id) => {
|
|
798
|
+
const flowRunsGetInvocations = (id, options) => {
|
|
799
799
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/invocations`, method: 'GET'
|
|
800
|
-
});
|
|
800
|
+
}, options);
|
|
801
801
|
};
|
|
802
802
|
/**
|
|
803
803
|
* Redirects to short-lived direct-from-storage link, so the payload never
|
|
@@ -805,103 +805,103 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
805
805
|
per-execution read returned by reference resolve here.
|
|
806
806
|
* @summary Downloads a blob-spilled value's payload.
|
|
807
807
|
*/
|
|
808
|
-
const flowRunsGetFlowValueDownload = (id, valueId) => {
|
|
808
|
+
const flowRunsGetFlowValueDownload = (id, valueId, options) => {
|
|
809
809
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
|
|
810
|
-
});
|
|
810
|
+
}, options);
|
|
811
811
|
};
|
|
812
|
-
const flowRunsGetVariables = (id) => {
|
|
812
|
+
const flowRunsGetVariables = (id, options) => {
|
|
813
813
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
|
|
814
|
-
});
|
|
814
|
+
}, options);
|
|
815
815
|
};
|
|
816
|
-
const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
|
|
816
|
+
const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody, options) => {
|
|
817
817
|
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
818
818
|
headers: { 'Content-Type': 'application/*+json', },
|
|
819
819
|
data: flowRunsSetVariableBody
|
|
820
|
-
});
|
|
820
|
+
}, options);
|
|
821
821
|
};
|
|
822
|
-
const flowsGet = (id) => {
|
|
822
|
+
const flowsGet = (id, options) => {
|
|
823
823
|
return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}`, method: 'GET'
|
|
824
|
-
});
|
|
824
|
+
}, options);
|
|
825
825
|
};
|
|
826
|
-
const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition) => {
|
|
826
|
+
const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition, options) => {
|
|
827
827
|
return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}/active`, method: 'PUT',
|
|
828
828
|
headers: { 'Content-Type': 'application/*+json', },
|
|
829
829
|
data: flowsFlowDefinition
|
|
830
|
-
});
|
|
830
|
+
}, options);
|
|
831
831
|
};
|
|
832
832
|
/**
|
|
833
833
|
* @summary Returns one entry per known key, each carrying both the currently-configured value
|
|
834
834
|
(what's set in mgmt-api now) and the active value (what the install last confirmed it
|
|
835
835
|
was running with). The frontend diffs these to show pending changes.
|
|
836
836
|
*/
|
|
837
|
-
const installParametersList = () => {
|
|
837
|
+
const installParametersList = (options) => {
|
|
838
838
|
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters`, method: 'GET'
|
|
839
|
-
});
|
|
839
|
+
}, options);
|
|
840
840
|
};
|
|
841
841
|
/**
|
|
842
842
|
* @summary Returns the closed registry of known install-parameter keys. Each entry describes the
|
|
843
843
|
key's type, default, and human-readable description so the frontend can render a typed
|
|
844
844
|
input per key.
|
|
845
845
|
*/
|
|
846
|
-
const installParametersGetRegistry = () => {
|
|
846
|
+
const installParametersGetRegistry = (options) => {
|
|
847
847
|
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/registry`, method: 'GET'
|
|
848
|
-
});
|
|
848
|
+
}, options);
|
|
849
849
|
};
|
|
850
850
|
/**
|
|
851
851
|
* @summary Clears the override for a parameter so it falls back to the registry's default on the
|
|
852
852
|
next install update. Idempotent — deleting an already-absent key returns 204.
|
|
853
853
|
*/
|
|
854
|
-
const installParametersDelete = (key) => {
|
|
854
|
+
const installParametersDelete = (key, options) => {
|
|
855
855
|
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'DELETE'
|
|
856
|
-
});
|
|
856
|
+
}, options);
|
|
857
857
|
};
|
|
858
858
|
/**
|
|
859
859
|
* @summary Returns a single parameter by key. Returns 404 if the key is known but has no override set.
|
|
860
860
|
*/
|
|
861
|
-
const installParametersGet = (key) => {
|
|
861
|
+
const installParametersGet = (key, options) => {
|
|
862
862
|
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'GET'
|
|
863
|
-
});
|
|
863
|
+
}, options);
|
|
864
864
|
};
|
|
865
865
|
/**
|
|
866
866
|
* @summary Upserts the override value for a parameter. The management API type-checks it against the
|
|
867
867
|
registry (a boolean key requires a JSON boolean value, etc.); this route forwards it unchanged.
|
|
868
868
|
*/
|
|
869
|
-
const installParametersUpsert = (key, coreManagementUpsertInstallParameterModel) => {
|
|
869
|
+
const installParametersUpsert = (key, coreManagementUpsertInstallParameterModel, options) => {
|
|
870
870
|
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'PUT',
|
|
871
871
|
headers: { 'Content-Type': 'application/*+json', },
|
|
872
872
|
data: coreManagementUpsertInstallParameterModel
|
|
873
|
-
});
|
|
873
|
+
}, options);
|
|
874
874
|
};
|
|
875
875
|
/**
|
|
876
876
|
* @summary Retrieves a list of model deployment providers.
|
|
877
877
|
*/
|
|
878
|
-
const modelProvidersGetProviders = (params) => {
|
|
878
|
+
const modelProvidersGetProviders = (params, options) => {
|
|
879
879
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'GET',
|
|
880
880
|
params
|
|
881
|
-
});
|
|
881
|
+
}, options);
|
|
882
882
|
};
|
|
883
883
|
/**
|
|
884
884
|
* @summary Creates a new model deployment provider.
|
|
885
885
|
*/
|
|
886
|
-
const modelProvidersCreateProvider = (aiCreateModelDeploymentProvider) => {
|
|
886
|
+
const modelProvidersCreateProvider = (aiCreateModelDeploymentProvider, options) => {
|
|
887
887
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'POST',
|
|
888
888
|
headers: { 'Content-Type': 'application/*+json', },
|
|
889
889
|
data: aiCreateModelDeploymentProvider
|
|
890
|
-
});
|
|
890
|
+
}, options);
|
|
891
891
|
};
|
|
892
892
|
/**
|
|
893
893
|
* @summary Retrieves the deployable models for a model provider
|
|
894
894
|
*/
|
|
895
|
-
const modelProvidersGetModelProviderTypes = () => {
|
|
895
|
+
const modelProvidersGetModelProviderTypes = (options) => {
|
|
896
896
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types`, method: 'GET'
|
|
897
|
-
});
|
|
897
|
+
}, options);
|
|
898
898
|
};
|
|
899
899
|
/**
|
|
900
900
|
* @summary Retrieves the deployable models for a model provider
|
|
901
901
|
*/
|
|
902
|
-
const modelProvidersGetModelProviderTypeDeployableModels = (providerType) => {
|
|
902
|
+
const modelProvidersGetModelProviderTypeDeployableModels = (providerType, options) => {
|
|
903
903
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
|
|
904
|
-
});
|
|
904
|
+
}, options);
|
|
905
905
|
};
|
|
906
906
|
/**
|
|
907
907
|
* @summary Retrieves the deployable models for a model provider type, further filtered to only the
|
|
@@ -909,229 +909,229 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
909
909
|
in the Admin UI before a provider is saved. Credentials travel in the body rather than
|
|
910
910
|
the query string since they may not be persisted anywhere yet.
|
|
911
911
|
*/
|
|
912
|
-
const modelProvidersLoadProviderModels = (providerType, modelLoadProviderModelsRequest) => {
|
|
912
|
+
const modelProvidersLoadProviderModels = (providerType, modelLoadProviderModelsRequest, options) => {
|
|
913
913
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/loadmodels`, method: 'POST',
|
|
914
914
|
headers: { 'Content-Type': 'application/*+json', },
|
|
915
915
|
data: modelLoadProviderModelsRequest
|
|
916
|
-
});
|
|
916
|
+
}, options);
|
|
917
917
|
};
|
|
918
|
-
const modelProvidersGetProvider = (id) => {
|
|
918
|
+
const modelProvidersGetProvider = (id, options) => {
|
|
919
919
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'GET'
|
|
920
|
-
});
|
|
920
|
+
}, options);
|
|
921
921
|
};
|
|
922
922
|
/**
|
|
923
923
|
* @summary Updates or inserts a model deployment provider.
|
|
924
924
|
*/
|
|
925
|
-
const modelProvidersUpsertProvider = (id, aiCreateModelDeploymentProvider) => {
|
|
925
|
+
const modelProvidersUpsertProvider = (id, aiCreateModelDeploymentProvider, options) => {
|
|
926
926
|
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'PUT',
|
|
927
927
|
headers: { 'Content-Type': 'application/*+json', },
|
|
928
928
|
data: aiCreateModelDeploymentProvider
|
|
929
|
-
});
|
|
929
|
+
}, options);
|
|
930
930
|
};
|
|
931
931
|
/**
|
|
932
932
|
* @summary Retrieves a list of models.
|
|
933
933
|
*/
|
|
934
|
-
const modelsGetModels = (params) => {
|
|
934
|
+
const modelsGetModels = (params, options) => {
|
|
935
935
|
return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
|
|
936
936
|
params
|
|
937
|
-
});
|
|
937
|
+
}, options);
|
|
938
938
|
};
|
|
939
939
|
/**
|
|
940
940
|
* @summary Creates a new model.
|
|
941
941
|
*/
|
|
942
|
-
const modelsCreateModel = (aiCreateModel) => {
|
|
942
|
+
const modelsCreateModel = (aiCreateModel, options) => {
|
|
943
943
|
return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'POST',
|
|
944
944
|
headers: { 'Content-Type': 'application/*+json', },
|
|
945
945
|
data: aiCreateModel
|
|
946
|
-
});
|
|
946
|
+
}, options);
|
|
947
947
|
};
|
|
948
948
|
/**
|
|
949
949
|
* @summary Retrieves the instance-wide default model — the one pre-selected on new LLM blocks and the default workspace flow.
|
|
950
950
|
*/
|
|
951
|
-
const modelsGetDefaultModel = () => {
|
|
951
|
+
const modelsGetDefaultModel = (options) => {
|
|
952
952
|
return (0, instance_1.customInstance)({ url: `/v1/Models/default`, method: 'GET'
|
|
953
|
-
});
|
|
953
|
+
}, options);
|
|
954
954
|
};
|
|
955
|
-
const modelsGetDefaultDockerFile = (params) => {
|
|
955
|
+
const modelsGetDefaultDockerFile = (params, options) => {
|
|
956
956
|
return (0, instance_1.customInstance)({ url: `/v1/Models/defaultdockerfile`, method: 'GET',
|
|
957
957
|
params
|
|
958
|
-
});
|
|
958
|
+
}, options);
|
|
959
959
|
};
|
|
960
960
|
/**
|
|
961
961
|
* @summary Deletes a model with the specified ID.
|
|
962
962
|
*/
|
|
963
|
-
const modelsDeleteModel = (id) => {
|
|
963
|
+
const modelsDeleteModel = (id, options) => {
|
|
964
964
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'DELETE'
|
|
965
|
-
});
|
|
965
|
+
}, options);
|
|
966
966
|
};
|
|
967
967
|
/**
|
|
968
968
|
* @summary Retrieves a model by its ID.
|
|
969
969
|
*/
|
|
970
|
-
const modelsGetModel = (id) => {
|
|
970
|
+
const modelsGetModel = (id, options) => {
|
|
971
971
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
|
|
972
|
-
});
|
|
972
|
+
}, options);
|
|
973
973
|
};
|
|
974
974
|
/**
|
|
975
975
|
* @summary Updates or inserts a model with the specified ID.
|
|
976
976
|
*/
|
|
977
|
-
const modelsUpsertModel = (id, aiCreateModel) => {
|
|
977
|
+
const modelsUpsertModel = (id, aiCreateModel, options) => {
|
|
978
978
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'PUT',
|
|
979
979
|
headers: { 'Content-Type': 'application/*+json', },
|
|
980
980
|
data: aiCreateModel
|
|
981
|
-
});
|
|
981
|
+
}, options);
|
|
982
982
|
};
|
|
983
983
|
/**
|
|
984
984
|
* @summary Clears the default flag from the specified model, leaving the instance with no default.
|
|
985
985
|
*/
|
|
986
|
-
const modelsClearDefaultModel = (id) => {
|
|
986
|
+
const modelsClearDefaultModel = (id, options) => {
|
|
987
987
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'DELETE'
|
|
988
|
-
});
|
|
988
|
+
}, options);
|
|
989
989
|
};
|
|
990
990
|
/**
|
|
991
991
|
* @summary Makes the specified model the instance-wide default, replacing any previous default.
|
|
992
992
|
*/
|
|
993
|
-
const modelsSetDefaultModel = (id) => {
|
|
993
|
+
const modelsSetDefaultModel = (id, options) => {
|
|
994
994
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'PUT'
|
|
995
|
-
});
|
|
995
|
+
}, options);
|
|
996
996
|
};
|
|
997
997
|
/**
|
|
998
998
|
* @summary Retrieves the deployment of a model: VM URL, docker file, provider and steps. Platform admins only; the
|
|
999
999
|
class gate lets editors reach the route and the deployment view refuses them with 403.
|
|
1000
1000
|
*/
|
|
1001
|
-
const modelsGetModelDeployment = (id) => {
|
|
1001
|
+
const modelsGetModelDeployment = (id, options) => {
|
|
1002
1002
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment`, method: 'GET'
|
|
1003
|
-
});
|
|
1003
|
+
}, options);
|
|
1004
1004
|
};
|
|
1005
1005
|
/**
|
|
1006
1006
|
* @summary Retrieves the Docker logs for a specific deployment of a model.
|
|
1007
1007
|
*/
|
|
1008
|
-
const modelsGetDeploymentDockerLogs = (id) => {
|
|
1008
|
+
const modelsGetDeploymentDockerLogs = (id, options) => {
|
|
1009
1009
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment/docker-logs`, method: 'GET'
|
|
1010
|
-
});
|
|
1010
|
+
}, options);
|
|
1011
1011
|
};
|
|
1012
1012
|
/**
|
|
1013
1013
|
* @summary Retrieves the health status of a model.
|
|
1014
1014
|
*/
|
|
1015
|
-
const modelsGetModelHealth = (id) => {
|
|
1015
|
+
const modelsGetModelHealth = (id, options) => {
|
|
1016
1016
|
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/health`, method: 'GET'
|
|
1017
|
-
});
|
|
1017
|
+
}, options);
|
|
1018
1018
|
};
|
|
1019
1019
|
/**
|
|
1020
1020
|
* @summary Retrieve notifications for user login.
|
|
1021
1021
|
*/
|
|
1022
|
-
const notificationGet = (params) => {
|
|
1022
|
+
const notificationGet = (params, options) => {
|
|
1023
1023
|
return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
|
|
1024
1024
|
params
|
|
1025
|
-
});
|
|
1025
|
+
}, options);
|
|
1026
1026
|
};
|
|
1027
1027
|
/**
|
|
1028
1028
|
* @summary Update: mark read notifications.
|
|
1029
1029
|
*/
|
|
1030
|
-
const notificationPutUpdate = (notificationPutUpdateBody) => {
|
|
1030
|
+
const notificationPutUpdate = (notificationPutUpdateBody, options) => {
|
|
1031
1031
|
return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
|
|
1032
1032
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1033
1033
|
data: notificationPutUpdateBody
|
|
1034
|
-
});
|
|
1034
|
+
}, options);
|
|
1035
1035
|
};
|
|
1036
1036
|
/**
|
|
1037
1037
|
* @summary Update: mark read all notifications.
|
|
1038
1038
|
*/
|
|
1039
|
-
const notificationPutUpdateall = () => {
|
|
1039
|
+
const notificationPutUpdateall = (options) => {
|
|
1040
1040
|
return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
|
|
1041
|
-
});
|
|
1041
|
+
}, options);
|
|
1042
1042
|
};
|
|
1043
1043
|
/**
|
|
1044
1044
|
* @summary Gets the current SmartSpace plan
|
|
1045
1045
|
*/
|
|
1046
|
-
const planGetSmartSpacePlan = () => {
|
|
1046
|
+
const planGetSmartSpacePlan = (options) => {
|
|
1047
1047
|
return (0, instance_1.customInstance)({ url: `/v1/Plan`, method: 'GET'
|
|
1048
|
-
});
|
|
1048
|
+
}, options);
|
|
1049
1049
|
};
|
|
1050
1050
|
/**
|
|
1051
1051
|
* @summary Update the upgrade component of the smartspace plan
|
|
1052
1052
|
*/
|
|
1053
|
-
const planUpdateSmartSpaceUpgrade = (coreManagementSmartSpaceUpgradeUpdate) => {
|
|
1053
|
+
const planUpdateSmartSpaceUpgrade = (coreManagementSmartSpaceUpgradeUpdate, options) => {
|
|
1054
1054
|
return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade`, method: 'PUT',
|
|
1055
1055
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1056
1056
|
data: coreManagementSmartSpaceUpgradeUpdate
|
|
1057
|
-
});
|
|
1057
|
+
}, options);
|
|
1058
1058
|
};
|
|
1059
1059
|
/**
|
|
1060
1060
|
* @summary Calculate the cost of an upgrade change
|
|
1061
1061
|
*/
|
|
1062
|
-
const planCalculateSmartSpaceUpgradeCost = (coreManagementSmartSpaceUpgradeUpdate) => {
|
|
1062
|
+
const planCalculateSmartSpaceUpgradeCost = (coreManagementSmartSpaceUpgradeUpdate, options) => {
|
|
1063
1063
|
return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade/calculate`, method: 'POST',
|
|
1064
1064
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1065
1065
|
data: coreManagementSmartSpaceUpgradeUpdate
|
|
1066
|
-
});
|
|
1066
|
+
}, options);
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* @summary Gets usage information of the current SmartSpace plan
|
|
1070
1070
|
*/
|
|
1071
|
-
const planGetSmartSpacePlanUsage = () => {
|
|
1071
|
+
const planGetSmartSpacePlanUsage = (options) => {
|
|
1072
1072
|
return (0, instance_1.customInstance)({ url: `/v1/Plan/usage`, method: 'GET'
|
|
1073
|
-
});
|
|
1073
|
+
}, options);
|
|
1074
1074
|
};
|
|
1075
1075
|
/**
|
|
1076
1076
|
* @summary Gets the number of flow invocations by a specified duration
|
|
1077
1077
|
*/
|
|
1078
|
-
const reportingGetRequests = (duration, params) => {
|
|
1078
|
+
const reportingGetRequests = (duration, params, options) => {
|
|
1079
1079
|
return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
|
|
1080
1080
|
params
|
|
1081
|
-
});
|
|
1081
|
+
}, options);
|
|
1082
1082
|
};
|
|
1083
1083
|
/**
|
|
1084
1084
|
* @summary Gets the tokens used by a specified duration, with cost where the model call was priced and the count of calls that were not
|
|
1085
1085
|
*/
|
|
1086
|
-
const reportingGetTokens = (duration, params) => {
|
|
1086
|
+
const reportingGetTokens = (duration, params, options) => {
|
|
1087
1087
|
return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
|
|
1088
1088
|
params
|
|
1089
|
-
});
|
|
1089
|
+
}, options);
|
|
1090
1090
|
};
|
|
1091
1091
|
/**
|
|
1092
1092
|
* @summary Lists the restore job's runs, newest first.
|
|
1093
1093
|
*/
|
|
1094
|
-
const restoresList = () => {
|
|
1094
|
+
const restoresList = (options) => {
|
|
1095
1095
|
return (0, instance_1.customInstance)({ url: `/v1/Restores`, method: 'GET'
|
|
1096
|
-
});
|
|
1096
|
+
}, options);
|
|
1097
1097
|
};
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @summary Starts a dry run of a restore to a point in time: the restore job checks the time against
|
|
1100
1100
|
each selected store and reports what it would do. Nothing on the install is changed.
|
|
1101
1101
|
Returns 409 while an earlier restore run is still running.
|
|
1102
1102
|
*/
|
|
1103
|
-
const restoresStart = (restoresStartRestore) => {
|
|
1103
|
+
const restoresStart = (restoresStartRestore, options) => {
|
|
1104
1104
|
return (0, instance_1.customInstance)({ url: `/v1/Restores`, method: 'POST',
|
|
1105
1105
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1106
1106
|
data: restoresStartRestore
|
|
1107
|
-
});
|
|
1107
|
+
}, options);
|
|
1108
1108
|
};
|
|
1109
1109
|
/**
|
|
1110
1110
|
* @summary List API accounts: service principals holding the SmartSpace integration
|
|
1111
1111
|
role, with their permission flags and last recorded activity.
|
|
1112
1112
|
*/
|
|
1113
|
-
const servicePrincipalsGetServicePrincipals = (params) => {
|
|
1113
|
+
const servicePrincipalsGetServicePrincipals = (params, options) => {
|
|
1114
1114
|
return (0, instance_1.customInstance)({ url: `/v1/ServicePrincipals`, method: 'GET',
|
|
1115
1115
|
params
|
|
1116
|
-
});
|
|
1116
|
+
}, options);
|
|
1117
1117
|
};
|
|
1118
1118
|
/**
|
|
1119
1119
|
* @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
|
|
1120
1120
|
should connect. The UI decides whether to render the microphone from this, so it answers for
|
|
1121
1121
|
the install rather than failing: an install without speech reports enabled = false.
|
|
1122
1122
|
*/
|
|
1123
|
-
const speechGetConfig = () => {
|
|
1123
|
+
const speechGetConfig = (options) => {
|
|
1124
1124
|
return (0, instance_1.customInstance)({ url: `/v1/Speech/config`, method: 'GET'
|
|
1125
|
-
});
|
|
1125
|
+
}, options);
|
|
1126
1126
|
};
|
|
1127
1127
|
/**
|
|
1128
1128
|
* @summary A token from this install's Speech account token service, which the browser passes straight
|
|
1129
1129
|
to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
|
|
1130
1130
|
recognition on this one resource in one region.
|
|
1131
1131
|
*/
|
|
1132
|
-
const speechGetToken = () => {
|
|
1132
|
+
const speechGetToken = (options) => {
|
|
1133
1133
|
return (0, instance_1.customInstance)({ url: `/v1/Speech/token`, method: 'GET'
|
|
1134
|
-
});
|
|
1134
|
+
}, options);
|
|
1135
1135
|
};
|
|
1136
1136
|
/**
|
|
1137
1137
|
* @summary List configured syncs. status matches the data
|
|
@@ -1139,10 +1139,10 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1139
1139
|
for sources with no recorded sync. sortBy:
|
|
1140
1140
|
name | connector | lastSync (default: path).
|
|
1141
1141
|
*/
|
|
1142
|
-
const syncsGet = (params) => {
|
|
1142
|
+
const syncsGet = (params, options) => {
|
|
1143
1143
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs`, method: 'GET',
|
|
1144
1144
|
params
|
|
1145
|
-
});
|
|
1145
|
+
}, options);
|
|
1146
1146
|
};
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @summary The sync-requests queue right now: approximate depth and which data
|
|
@@ -1150,9 +1150,9 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1150
1150
|
peek (visibility timeout) — that state is each data source's
|
|
1151
1151
|
isSyncing flag. Literal route wins over the {containerId} template.
|
|
1152
1152
|
*/
|
|
1153
|
-
const syncsGetQueue = () => {
|
|
1153
|
+
const syncsGetQueue = (options) => {
|
|
1154
1154
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs/queue`, method: 'GET'
|
|
1155
|
-
});
|
|
1155
|
+
}, options);
|
|
1156
1156
|
};
|
|
1157
1157
|
/**
|
|
1158
1158
|
* @summary Removes the sync: deletes its data source container config record, so
|
|
@@ -1161,22 +1161,22 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1161
1161
|
container flow trigger. Config-only — already-landed items and copied
|
|
1162
1162
|
blobs are not cleaned up here.
|
|
1163
1163
|
*/
|
|
1164
|
-
const syncsDelete = (containerId) => {
|
|
1164
|
+
const syncsDelete = (containerId, options) => {
|
|
1165
1165
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'DELETE'
|
|
1166
|
-
});
|
|
1166
|
+
}, options);
|
|
1167
1167
|
};
|
|
1168
|
-
const syncsGetById = (containerId) => {
|
|
1168
|
+
const syncsGetById = (containerId, options) => {
|
|
1169
1169
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'GET'
|
|
1170
|
-
});
|
|
1170
|
+
}, options);
|
|
1171
1171
|
};
|
|
1172
1172
|
/**
|
|
1173
1173
|
* @summary The sync's landed items (read-only metadata), proxied from the AI API's
|
|
1174
1174
|
container-items endpoint.
|
|
1175
1175
|
*/
|
|
1176
|
-
const syncsGetItems = (containerId, params) => {
|
|
1176
|
+
const syncsGetItems = (containerId, params, options) => {
|
|
1177
1177
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/items`, method: 'GET',
|
|
1178
1178
|
params
|
|
1179
|
-
});
|
|
1179
|
+
}, options);
|
|
1180
1180
|
};
|
|
1181
1181
|
/**
|
|
1182
1182
|
* @summary The sync's dead-letter list: the ingestion run records the AI API's
|
|
@@ -1184,216 +1184,216 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1184
1184
|
holds the replay copies and is not read here. 502 when the install's AI
|
|
1185
1185
|
API predates the route, rather than an opaque 500.
|
|
1186
1186
|
*/
|
|
1187
|
-
const syncsGetPoisoned = (containerId, params) => {
|
|
1187
|
+
const syncsGetPoisoned = (containerId, params, options) => {
|
|
1188
1188
|
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/poisoned`, method: 'GET',
|
|
1189
1189
|
params
|
|
1190
|
-
});
|
|
1190
|
+
}, options);
|
|
1191
1191
|
};
|
|
1192
1192
|
/**
|
|
1193
1193
|
* @summary Gets Tenant Id
|
|
1194
1194
|
*/
|
|
1195
|
-
const tenantIdGetResult = () => {
|
|
1195
|
+
const tenantIdGetResult = (options) => {
|
|
1196
1196
|
return (0, instance_1.customInstance)({ url: `/v1/TenantId`, method: 'GET'
|
|
1197
|
-
});
|
|
1197
|
+
}, options);
|
|
1198
1198
|
};
|
|
1199
1199
|
/**
|
|
1200
1200
|
* @summary Retrieve users assigned to the SmartSpace application (directly or via a group),
|
|
1201
1201
|
with optional search and pagination controls take and skip.
|
|
1202
1202
|
*/
|
|
1203
|
-
const usersGetUsers = (params) => {
|
|
1203
|
+
const usersGetUsers = (params, options) => {
|
|
1204
1204
|
return (0, instance_1.customInstance)({ url: `/v1/Users`, method: 'GET',
|
|
1205
1205
|
params
|
|
1206
|
-
});
|
|
1206
|
+
}, options);
|
|
1207
1207
|
};
|
|
1208
|
-
const usersGetUsersByFilter = (permissions) => {
|
|
1208
|
+
const usersGetUsersByFilter = (permissions, options) => {
|
|
1209
1209
|
return (0, instance_1.customInstance)({ url: `/v1/Users/[permissions=${permissions}]`, method: 'GET'
|
|
1210
|
-
});
|
|
1210
|
+
}, options);
|
|
1211
1211
|
};
|
|
1212
|
-
const usersGetMyPermissions = () => {
|
|
1212
|
+
const usersGetMyPermissions = (options) => {
|
|
1213
1213
|
return (0, instance_1.customInstance)({ url: `/v1/Users/me/permissions`, method: 'GET'
|
|
1214
|
-
});
|
|
1214
|
+
}, options);
|
|
1215
1215
|
};
|
|
1216
1216
|
/**
|
|
1217
1217
|
* @summary Disable user (Remove all assigned WorkSpaces by UserId)
|
|
1218
1218
|
*/
|
|
1219
|
-
const usersRemoveUserFromAllWorkSpaces = (params) => {
|
|
1219
|
+
const usersRemoveUserFromAllWorkSpaces = (params, options) => {
|
|
1220
1220
|
return (0, instance_1.customInstance)({ url: `/v1/Users/remove-assigned-workspace`, method: 'DELETE',
|
|
1221
1221
|
params
|
|
1222
|
-
});
|
|
1222
|
+
}, options);
|
|
1223
1223
|
};
|
|
1224
1224
|
/**
|
|
1225
1225
|
* @summary Search users by name for autocomplete/navigation. Returns lightweight results (id, name, email only).
|
|
1226
1226
|
*/
|
|
1227
|
-
const usersSearchUsers = (params) => {
|
|
1227
|
+
const usersSearchUsers = (params, options) => {
|
|
1228
1228
|
return (0, instance_1.customInstance)({ url: `/v1/Users/search`, method: 'GET',
|
|
1229
1229
|
params
|
|
1230
|
-
});
|
|
1230
|
+
}, options);
|
|
1231
1231
|
};
|
|
1232
1232
|
/**
|
|
1233
1233
|
* @summary Retrieve user detail in SmartSpace
|
|
1234
1234
|
*/
|
|
1235
|
-
const usersGetUserDetail = (id) => {
|
|
1235
|
+
const usersGetUserDetail = (id, options) => {
|
|
1236
1236
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}`, method: 'GET'
|
|
1237
|
-
});
|
|
1237
|
+
}, options);
|
|
1238
1238
|
};
|
|
1239
1239
|
/**
|
|
1240
1240
|
* @summary Retrieves the profile photo for a user. Returns the raw JPEG image with HTTP cache headers
|
|
1241
1241
|
so browsers can cache the image via standard img src usage.
|
|
1242
1242
|
*/
|
|
1243
|
-
const usersGetUserPhoto = (id) => {
|
|
1243
|
+
const usersGetUserPhoto = (id, options) => {
|
|
1244
1244
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
|
|
1245
1245
|
responseType: 'blob'
|
|
1246
|
-
});
|
|
1246
|
+
}, options);
|
|
1247
1247
|
};
|
|
1248
1248
|
/**
|
|
1249
1249
|
* @summary Adds Admin for a access for a user
|
|
1250
1250
|
*/
|
|
1251
|
-
const usersGetAccessWorkSpaces = (id, params) => {
|
|
1251
|
+
const usersGetAccessWorkSpaces = (id, params, options) => {
|
|
1252
1252
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/workspaces`, method: 'GET',
|
|
1253
1253
|
params
|
|
1254
|
-
});
|
|
1254
|
+
}, options);
|
|
1255
1255
|
};
|
|
1256
|
-
const usersAdminPermission = (userId, params) => {
|
|
1256
|
+
const usersAdminPermission = (userId, params, options) => {
|
|
1257
1257
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/admin`, method: 'PUT',
|
|
1258
1258
|
params
|
|
1259
|
-
});
|
|
1259
|
+
}, options);
|
|
1260
1260
|
};
|
|
1261
1261
|
/**
|
|
1262
1262
|
* @summary The data sources (connectors) a user is an admin of. Editing or deleting one also needs the matching flag.
|
|
1263
1263
|
*/
|
|
1264
|
-
const usersGetAdministeredDataSources = (userId) => {
|
|
1264
|
+
const usersGetAdministeredDataSources = (userId, options) => {
|
|
1265
1265
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/datasources`, method: 'GET'
|
|
1266
|
-
});
|
|
1266
|
+
}, options);
|
|
1267
1267
|
};
|
|
1268
1268
|
/**
|
|
1269
1269
|
* @summary The data spaces a user is an admin of. Editing or deleting one also needs the matching flag.
|
|
1270
1270
|
*/
|
|
1271
|
-
const usersGetAdministeredDataSpaces = (userId) => {
|
|
1271
|
+
const usersGetAdministeredDataSpaces = (userId, options) => {
|
|
1272
1272
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/dataspaces`, method: 'GET'
|
|
1273
|
-
});
|
|
1273
|
+
}, options);
|
|
1274
1274
|
};
|
|
1275
1275
|
/**
|
|
1276
1276
|
* @summary A user's permission flags; None when they have no row.
|
|
1277
1277
|
*/
|
|
1278
|
-
const usersGetUserPermissions = (userId) => {
|
|
1278
|
+
const usersGetUserPermissions = (userId, options) => {
|
|
1279
1279
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'GET'
|
|
1280
|
-
});
|
|
1280
|
+
}, options);
|
|
1281
1281
|
};
|
|
1282
|
-
const usersAddUserPermission = (userId, enumsPermissions) => {
|
|
1282
|
+
const usersAddUserPermission = (userId, enumsPermissions, options) => {
|
|
1283
1283
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'PUT',
|
|
1284
1284
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1285
1285
|
data: enumsPermissions
|
|
1286
|
-
});
|
|
1286
|
+
}, options);
|
|
1287
1287
|
};
|
|
1288
|
-
const usersRemoveUserPermission = (userId, permission) => {
|
|
1288
|
+
const usersRemoveUserPermission = (userId, permission, options) => {
|
|
1289
1289
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions/${permission}`, method: 'DELETE'
|
|
1290
|
-
});
|
|
1290
|
+
}, options);
|
|
1291
1291
|
};
|
|
1292
1292
|
/**
|
|
1293
1293
|
* @summary Every per-user secret, with whether this user has set a value and when. Never the value.
|
|
1294
1294
|
*/
|
|
1295
|
-
const usersGetUserSecrets = (userId) => {
|
|
1295
|
+
const usersGetUserSecrets = (userId, options) => {
|
|
1296
1296
|
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/secrets`, method: 'GET'
|
|
1297
|
-
});
|
|
1297
|
+
}, options);
|
|
1298
1298
|
};
|
|
1299
1299
|
/**
|
|
1300
1300
|
* @summary Returns a list of available Azure locations for deploying virtual machines
|
|
1301
1301
|
*/
|
|
1302
|
-
const virtualMachinesGetVirtualMachineLocations = () => {
|
|
1302
|
+
const virtualMachinesGetVirtualMachineLocations = (options) => {
|
|
1303
1303
|
return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations`, method: 'GET'
|
|
1304
|
-
});
|
|
1304
|
+
}, options);
|
|
1305
1305
|
};
|
|
1306
1306
|
/**
|
|
1307
1307
|
* @summary Returns a list of virtual machines sizes available in the specified location
|
|
1308
1308
|
*/
|
|
1309
|
-
const virtualMachinesGetVirtualMachineSize = (location) => {
|
|
1309
|
+
const virtualMachinesGetVirtualMachineSize = (location, options) => {
|
|
1310
1310
|
return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations/${location}/sizes`, method: 'GET'
|
|
1311
|
-
});
|
|
1311
|
+
}, options);
|
|
1312
1312
|
};
|
|
1313
1313
|
/**
|
|
1314
1314
|
* @summary Obtain a list of all templates in SmartSpace, with pagination options take and skip.
|
|
1315
1315
|
*/
|
|
1316
|
-
const workSpaceTemplatesGet = (params) => {
|
|
1316
|
+
const workSpaceTemplatesGet = (params, options) => {
|
|
1317
1317
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaceTemplates`, method: 'GET',
|
|
1318
1318
|
params
|
|
1319
|
-
});
|
|
1319
|
+
}, options);
|
|
1320
1320
|
};
|
|
1321
1321
|
/**
|
|
1322
1322
|
* @summary Retrieves a collection of workspaces.
|
|
1323
1323
|
*/
|
|
1324
|
-
const workSpacesGetGet = (params) => {
|
|
1324
|
+
const workSpacesGetGet = (params, options) => {
|
|
1325
1325
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
|
|
1326
1326
|
params
|
|
1327
|
-
});
|
|
1327
|
+
}, options);
|
|
1328
1328
|
};
|
|
1329
1329
|
/**
|
|
1330
1330
|
* @summary Creates a new workspace.
|
|
1331
1331
|
*/
|
|
1332
|
-
const workSpacesPost = (workSpacesCreateWorkSpace) => {
|
|
1332
|
+
const workSpacesPost = (workSpacesCreateWorkSpace, options) => {
|
|
1333
1333
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'POST',
|
|
1334
1334
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1335
1335
|
data: workSpacesCreateWorkSpace
|
|
1336
|
-
});
|
|
1336
|
+
}, options);
|
|
1337
1337
|
};
|
|
1338
1338
|
/**
|
|
1339
1339
|
* @summary Deletes a workspace by its ID.
|
|
1340
1340
|
*/
|
|
1341
|
-
const workSpacesDelete = (id) => {
|
|
1341
|
+
const workSpacesDelete = (id, options) => {
|
|
1342
1342
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'DELETE'
|
|
1343
|
-
});
|
|
1343
|
+
}, options);
|
|
1344
1344
|
};
|
|
1345
1345
|
/**
|
|
1346
1346
|
* @summary Retrieves a workspace by its ID.
|
|
1347
1347
|
*/
|
|
1348
|
-
const workSpacesGetId = (id) => {
|
|
1348
|
+
const workSpacesGetId = (id, options) => {
|
|
1349
1349
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
|
|
1350
|
-
});
|
|
1350
|
+
}, options);
|
|
1351
1351
|
};
|
|
1352
|
-
const workSpacesGetWorkspaceAdmins = (id) => {
|
|
1352
|
+
const workSpacesGetWorkspaceAdmins = (id, options) => {
|
|
1353
1353
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins`, method: 'GET'
|
|
1354
|
-
});
|
|
1354
|
+
}, options);
|
|
1355
1355
|
};
|
|
1356
|
-
const workSpacesDeleteAdmin = (id, userId) => {
|
|
1356
|
+
const workSpacesDeleteAdmin = (id, userId, options) => {
|
|
1357
1357
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
1358
|
-
});
|
|
1358
|
+
}, options);
|
|
1359
1359
|
};
|
|
1360
|
-
const workSpacesAddWorkspaceAdmin = (id, userId) => {
|
|
1360
|
+
const workSpacesAddWorkspaceAdmin = (id, userId, options) => {
|
|
1361
1361
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
1362
|
-
});
|
|
1362
|
+
}, options);
|
|
1363
1363
|
};
|
|
1364
1364
|
/**
|
|
1365
1365
|
* @summary Updates the basic information of a workspace.
|
|
1366
1366
|
*/
|
|
1367
|
-
const workSpacesPut = (id, workSpacesUpdateWorkSpaceBasicInfo) => {
|
|
1367
|
+
const workSpacesPut = (id, workSpacesUpdateWorkSpaceBasicInfo, options) => {
|
|
1368
1368
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/basicinfo`, method: 'PUT',
|
|
1369
1369
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1370
1370
|
data: workSpacesUpdateWorkSpaceBasicInfo
|
|
1371
|
-
});
|
|
1371
|
+
}, options);
|
|
1372
1372
|
};
|
|
1373
1373
|
/**
|
|
1374
1374
|
* @summary Marks a workspace as favorited or not for the active user.
|
|
1375
1375
|
*/
|
|
1376
|
-
const workSpacesSetFavorited = (id, boolean) => {
|
|
1376
|
+
const workSpacesSetFavorited = (id, boolean, options) => {
|
|
1377
1377
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/favorited`, method: 'PUT',
|
|
1378
1378
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1379
1379
|
data: boolean
|
|
1380
|
-
});
|
|
1380
|
+
}, options);
|
|
1381
1381
|
};
|
|
1382
1382
|
/**
|
|
1383
1383
|
* @summary Retrieves message threads for a workspace.
|
|
1384
1384
|
*/
|
|
1385
|
-
const workSpacesGetThreads = (id, params) => {
|
|
1385
|
+
const workSpacesGetThreads = (id, params, options) => {
|
|
1386
1386
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
1387
1387
|
params
|
|
1388
|
-
});
|
|
1388
|
+
}, options);
|
|
1389
1389
|
};
|
|
1390
1390
|
/**
|
|
1391
1391
|
* @summary Detaches a connector from a workspace. Flows still referencing it
|
|
1392
1392
|
fail at resolve time rather than silently keeping access.
|
|
1393
1393
|
*/
|
|
1394
|
-
const workSpacesRemoveConnector = (workspaceId, connectorId) => {
|
|
1394
|
+
const workSpacesRemoveConnector = (workspaceId, connectorId, options) => {
|
|
1395
1395
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
|
|
1396
|
-
});
|
|
1396
|
+
}, options);
|
|
1397
1397
|
};
|
|
1398
1398
|
/**
|
|
1399
1399
|
* @summary Attaches a connector to a workspace — the access model for external
|
|
@@ -1401,36 +1401,36 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1401
1401
|
workspace reference the connector, and the resolve endpoint checks
|
|
1402
1402
|
the same attachment at call time.
|
|
1403
1403
|
*/
|
|
1404
|
-
const workSpacesAddConnector = (workspaceId, connectorId) => {
|
|
1404
|
+
const workSpacesAddConnector = (workspaceId, connectorId, options) => {
|
|
1405
1405
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
|
|
1406
|
-
});
|
|
1406
|
+
}, options);
|
|
1407
1407
|
};
|
|
1408
1408
|
/**
|
|
1409
1409
|
* @summary Removes a data space from a workspace.
|
|
1410
1410
|
*/
|
|
1411
|
-
const workSpacesRemoveDataSpace = (workspaceId, dataspaceId) => {
|
|
1411
|
+
const workSpacesRemoveDataSpace = (workspaceId, dataspaceId, options) => {
|
|
1412
1412
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
|
|
1413
|
-
});
|
|
1413
|
+
}, options);
|
|
1414
1414
|
};
|
|
1415
1415
|
/**
|
|
1416
1416
|
* @summary Adds a data space to a workspace.
|
|
1417
1417
|
*/
|
|
1418
|
-
const workSpacesAddDataSpace = (workspaceId, dataspaceId) => {
|
|
1418
|
+
const workSpacesAddDataSpace = (workspaceId, dataspaceId, options) => {
|
|
1419
1419
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
|
|
1420
|
-
});
|
|
1420
|
+
}, options);
|
|
1421
1421
|
};
|
|
1422
1422
|
/**
|
|
1423
1423
|
* @summary Gets a list of all the files that are uploaded directly to the workspace.
|
|
1424
1424
|
*/
|
|
1425
|
-
const workSpacesGetWorkspaceFiles = (workspaceId, params) => {
|
|
1425
|
+
const workSpacesGetWorkspaceFiles = (workspaceId, params, options) => {
|
|
1426
1426
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'GET',
|
|
1427
1427
|
params
|
|
1428
|
-
});
|
|
1428
|
+
}, options);
|
|
1429
1429
|
};
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @summary Uploads a list of files directly to the workspace.
|
|
1432
1432
|
*/
|
|
1433
|
-
const workSpacesWorkspaceFiles = (workspaceId, workSpacesWorkspaceFilesBody) => {
|
|
1433
|
+
const workSpacesWorkspaceFiles = (workspaceId, workSpacesWorkspaceFilesBody, options) => {
|
|
1434
1434
|
const formData = new FormData();
|
|
1435
1435
|
if (workSpacesWorkspaceFilesBody.files !== undefined) {
|
|
1436
1436
|
workSpacesWorkspaceFilesBody.files.forEach(value => formData.append(`files`, value));
|
|
@@ -1438,54 +1438,54 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1438
1438
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'POST',
|
|
1439
1439
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
1440
1440
|
data: formData
|
|
1441
|
-
});
|
|
1441
|
+
}, options);
|
|
1442
1442
|
};
|
|
1443
1443
|
/**
|
|
1444
1444
|
* @summary Removes a file from the workspace and the ingested content.
|
|
1445
1445
|
*/
|
|
1446
|
-
const workSpacesDeleteWorkspaceFile = (workspaceId, fileId) => {
|
|
1446
|
+
const workSpacesDeleteWorkspaceFile = (workspaceId, fileId, options) => {
|
|
1447
1447
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
|
|
1448
|
-
});
|
|
1448
|
+
}, options);
|
|
1449
1449
|
};
|
|
1450
|
-
const workSpacesGetActiveFlow = (workspaceId) => {
|
|
1450
|
+
const workSpacesGetActiveFlow = (workspaceId, options) => {
|
|
1451
1451
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
|
|
1452
|
-
});
|
|
1452
|
+
}, options);
|
|
1453
1453
|
};
|
|
1454
1454
|
/**
|
|
1455
1455
|
* @summary Sets the active flow definition for a workspace.
|
|
1456
1456
|
*/
|
|
1457
|
-
const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition) => {
|
|
1457
|
+
const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition, options) => {
|
|
1458
1458
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
|
|
1459
1459
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1460
1460
|
data: flowsFlowDefinition
|
|
1461
|
-
});
|
|
1461
|
+
}, options);
|
|
1462
1462
|
};
|
|
1463
1463
|
/**
|
|
1464
1464
|
* @summary Updates the layout of blocks for the active flow definition.
|
|
1465
1465
|
*/
|
|
1466
|
-
const workSpacesSetActiveFlowLayout = (workspaceId, workSpacesSetActiveFlowLayoutBody) => {
|
|
1466
|
+
const workSpacesSetActiveFlowLayout = (workspaceId, workSpacesSetActiveFlowLayoutBody, options) => {
|
|
1467
1467
|
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
|
|
1468
1468
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1469
1469
|
data: workSpacesSetActiveFlowLayoutBody
|
|
1470
|
-
});
|
|
1470
|
+
}, options);
|
|
1471
1471
|
};
|
|
1472
1472
|
/**
|
|
1473
1473
|
* @summary Lists connectors with their auth settings — never a credential.
|
|
1474
1474
|
*/
|
|
1475
|
-
const connectorsGetConnectors = (params) => {
|
|
1475
|
+
const connectorsGetConnectors = (params, options) => {
|
|
1476
1476
|
return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'GET',
|
|
1477
1477
|
params
|
|
1478
|
-
});
|
|
1478
|
+
}, options);
|
|
1479
1479
|
};
|
|
1480
1480
|
/**
|
|
1481
1481
|
* @summary Creates a connector and its shared credential in one call: the value
|
|
1482
1482
|
goes to Key Vault, the row stores only the reference.
|
|
1483
1483
|
*/
|
|
1484
|
-
const connectorsCreateConnector = (connectorsCreateConnector) => {
|
|
1484
|
+
const connectorsCreateConnector = (connectorsCreateConnector, options) => {
|
|
1485
1485
|
return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'POST',
|
|
1486
1486
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1487
1487
|
data: connectorsCreateConnector
|
|
1488
|
-
});
|
|
1488
|
+
}, options);
|
|
1489
1489
|
};
|
|
1490
1490
|
/**
|
|
1491
1491
|
* @summary Picker list for workspace editors: id, name and kind only. Gated on
|
|
@@ -1493,162 +1493,162 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1493
1493
|
workspace is a workspace-editor action, and the picker is how they
|
|
1494
1494
|
choose one. Admins pass this gate via the role bypass.
|
|
1495
1495
|
*/
|
|
1496
|
-
const connectorsGetConnectorSummaries = (params) => {
|
|
1496
|
+
const connectorsGetConnectorSummaries = (params, options) => {
|
|
1497
1497
|
return (0, instance_1.customInstance)({ url: `/v1/connectors/summaries`, method: 'GET',
|
|
1498
1498
|
params
|
|
1499
|
-
});
|
|
1499
|
+
}, options);
|
|
1500
1500
|
};
|
|
1501
|
-
const connectorsDeleteConnector = (id) => {
|
|
1501
|
+
const connectorsDeleteConnector = (id, options) => {
|
|
1502
1502
|
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'DELETE'
|
|
1503
|
-
});
|
|
1503
|
+
}, options);
|
|
1504
1504
|
};
|
|
1505
|
-
const connectorsGetConnector = (id) => {
|
|
1505
|
+
const connectorsGetConnector = (id, options) => {
|
|
1506
1506
|
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'GET'
|
|
1507
|
-
});
|
|
1507
|
+
}, options);
|
|
1508
1508
|
};
|
|
1509
1509
|
/**
|
|
1510
1510
|
* @summary Updates a connector. Omit `Secret` to leave the credential
|
|
1511
1511
|
untouched; supply one to rotate it.
|
|
1512
1512
|
*/
|
|
1513
|
-
const connectorsUpdateConnector = (id, connectorsUpdateConnector) => {
|
|
1513
|
+
const connectorsUpdateConnector = (id, connectorsUpdateConnector, options) => {
|
|
1514
1514
|
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'PUT',
|
|
1515
1515
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1516
1516
|
data: connectorsUpdateConnector
|
|
1517
|
-
});
|
|
1517
|
+
}, options);
|
|
1518
1518
|
};
|
|
1519
1519
|
/**
|
|
1520
1520
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
|
|
1521
1521
|
*/
|
|
1522
|
-
const documentsGetDocumentSas = (dataSpaceId, params) => {
|
|
1522
|
+
const documentsGetDocumentSas = (dataSpaceId, params, options) => {
|
|
1523
1523
|
return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
1524
1524
|
params
|
|
1525
|
-
});
|
|
1525
|
+
}, options);
|
|
1526
1526
|
};
|
|
1527
1527
|
/**
|
|
1528
1528
|
* @summary Returns a single public parameter by key. Returns 404 if the key is not in the public
|
|
1529
1529
|
allowlist or has no override set.
|
|
1530
1530
|
*/
|
|
1531
|
-
const publicInstallParametersGet = (key) => {
|
|
1531
|
+
const publicInstallParametersGet = (key, options) => {
|
|
1532
1532
|
return (0, instance_1.customInstance)({ url: `/v1/installparameters/public/${key}`, method: 'GET'
|
|
1533
|
-
});
|
|
1533
|
+
}, options);
|
|
1534
1534
|
};
|
|
1535
1535
|
/**
|
|
1536
1536
|
* @summary Lists a page of managed secrets — names, mode and audit metadata only, never values.
|
|
1537
1537
|
`search` matches part of the name; `sortBy` is name, mode, createdAt or
|
|
1538
1538
|
modifiedAt (default name); `sortDirection` is asc or desc.
|
|
1539
1539
|
*/
|
|
1540
|
-
const managedSecretsGetManagedSecrets = (params) => {
|
|
1540
|
+
const managedSecretsGetManagedSecrets = (params, options) => {
|
|
1541
1541
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'GET',
|
|
1542
1542
|
params
|
|
1543
|
-
});
|
|
1543
|
+
}, options);
|
|
1544
1544
|
};
|
|
1545
1545
|
/**
|
|
1546
1546
|
* @summary Creates a named secret. A shared secret stores its value and keeps only the
|
|
1547
1547
|
reference; a per-user secret is created empty.
|
|
1548
1548
|
*/
|
|
1549
|
-
const managedSecretsCreateManagedSecret = (managedSecretsCreateManagedSecret) => {
|
|
1549
|
+
const managedSecretsCreateManagedSecret = (managedSecretsCreateManagedSecret, options) => {
|
|
1550
1550
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'POST',
|
|
1551
1551
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1552
1552
|
data: managedSecretsCreateManagedSecret
|
|
1553
|
-
});
|
|
1553
|
+
}, options);
|
|
1554
1554
|
};
|
|
1555
1555
|
/**
|
|
1556
1556
|
* @summary Deletes a secret: removes every stored value and hard-deletes the rows.
|
|
1557
1557
|
*/
|
|
1558
|
-
const managedSecretsDeleteManagedSecret = (name) => {
|
|
1558
|
+
const managedSecretsDeleteManagedSecret = (name, options) => {
|
|
1559
1559
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'DELETE'
|
|
1560
|
-
});
|
|
1560
|
+
}, options);
|
|
1561
1561
|
};
|
|
1562
1562
|
/**
|
|
1563
1563
|
* @summary One managed secret by name — name, mode and audit metadata only, never a value.
|
|
1564
1564
|
*/
|
|
1565
|
-
const managedSecretsGetManagedSecret = (name) => {
|
|
1565
|
+
const managedSecretsGetManagedSecret = (name, options) => {
|
|
1566
1566
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'GET'
|
|
1567
|
-
});
|
|
1567
|
+
}, options);
|
|
1568
1568
|
};
|
|
1569
1569
|
/**
|
|
1570
1570
|
* @summary Lists a page of the users who have a value on a per-user secret. Ids only, never values.
|
|
1571
1571
|
`sortBy` is modifiedAt (default, newest first) or userId.
|
|
1572
1572
|
*/
|
|
1573
|
-
const managedSecretsGetManagedSecretUserValues = (name, params) => {
|
|
1573
|
+
const managedSecretsGetManagedSecretUserValues = (name, params, options) => {
|
|
1574
1574
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users`, method: 'GET',
|
|
1575
1575
|
params
|
|
1576
|
-
});
|
|
1576
|
+
}, options);
|
|
1577
1577
|
};
|
|
1578
1578
|
/**
|
|
1579
1579
|
* @summary Deletes one user's value on a per-user secret.
|
|
1580
1580
|
*/
|
|
1581
|
-
const managedSecretsDeleteManagedSecretUserValue = (name, userId) => {
|
|
1581
|
+
const managedSecretsDeleteManagedSecretUserValue = (name, userId, options) => {
|
|
1582
1582
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users/${userId}/value`, method: 'DELETE'
|
|
1583
|
-
});
|
|
1583
|
+
}, options);
|
|
1584
1584
|
};
|
|
1585
1585
|
/**
|
|
1586
1586
|
* @summary Sets or rotates one user's value on a per-user secret. Write-only.
|
|
1587
1587
|
*/
|
|
1588
|
-
const managedSecretsSetManagedSecretUserValue = (name, userId, managedSecretsUpdateManagedSecretValue) => {
|
|
1588
|
+
const managedSecretsSetManagedSecretUserValue = (name, userId, managedSecretsUpdateManagedSecretValue, options) => {
|
|
1589
1589
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users/${userId}/value`, method: 'PUT',
|
|
1590
1590
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1591
1591
|
data: managedSecretsUpdateManagedSecretValue
|
|
1592
|
-
});
|
|
1592
|
+
}, options);
|
|
1593
1593
|
};
|
|
1594
1594
|
/**
|
|
1595
1595
|
* @summary Overwrites (rotates) a shared secret's value under the same stored reference.
|
|
1596
1596
|
The value is write-only; nothing is returned but audit metadata.
|
|
1597
1597
|
*/
|
|
1598
|
-
const managedSecretsOverwriteManagedSecretValue = (name, managedSecretsUpdateManagedSecretValue) => {
|
|
1598
|
+
const managedSecretsOverwriteManagedSecretValue = (name, managedSecretsUpdateManagedSecretValue, options) => {
|
|
1599
1599
|
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/value`, method: 'PUT',
|
|
1600
1600
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1601
1601
|
data: managedSecretsUpdateManagedSecretValue
|
|
1602
|
-
});
|
|
1602
|
+
}, options);
|
|
1603
1603
|
};
|
|
1604
|
-
const messageThreadsGetWorkspaceExecutions = (workSpaceId, params) => {
|
|
1604
|
+
const messageThreadsGetWorkspaceExecutions = (workSpaceId, params, options) => {
|
|
1605
1605
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
|
|
1606
1606
|
params
|
|
1607
|
-
});
|
|
1607
|
+
}, options);
|
|
1608
1608
|
};
|
|
1609
|
-
const messageThreadsGetStepExecutions = (workSpaceId, messageThreadId, params) => {
|
|
1609
|
+
const messageThreadsGetStepExecutions = (workSpaceId, messageThreadId, params, options) => {
|
|
1610
1610
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
|
|
1611
1611
|
params
|
|
1612
|
-
});
|
|
1612
|
+
}, options);
|
|
1613
1613
|
};
|
|
1614
1614
|
/**
|
|
1615
1615
|
* @summary Lists a workspace's flow runs, newest first (chat threads, designer
|
|
1616
1616
|
runs, CallFlow sub-runs). Proxies the AI API's workspace run store and
|
|
1617
1617
|
joins each run's usage totals from SQL.
|
|
1618
1618
|
*/
|
|
1619
|
-
const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
|
|
1619
|
+
const flowRunsGetWorkspaceRuns = (workspaceId, params, options) => {
|
|
1620
1620
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
|
|
1621
1621
|
params
|
|
1622
|
-
});
|
|
1622
|
+
}, options);
|
|
1623
1623
|
};
|
|
1624
1624
|
/**
|
|
1625
1625
|
* @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
|
|
1626
1626
|
*/
|
|
1627
|
-
const sandBoxGetSandboxThread = (workspaceId) => {
|
|
1627
|
+
const sandBoxGetSandboxThread = (workspaceId, options) => {
|
|
1628
1628
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox`, method: 'GET'
|
|
1629
|
-
});
|
|
1629
|
+
}, options);
|
|
1630
1630
|
};
|
|
1631
1631
|
/**
|
|
1632
1632
|
* @summary Retrieve message creators profile images from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
|
|
1633
1633
|
*/
|
|
1634
|
-
const sandBoxThreadMessageCreateByUsersProfileImages = (workspaceId) => {
|
|
1634
|
+
const sandBoxThreadMessageCreateByUsersProfileImages = (workspaceId, options) => {
|
|
1635
1635
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
|
|
1636
|
-
});
|
|
1636
|
+
}, options);
|
|
1637
1637
|
};
|
|
1638
1638
|
/**
|
|
1639
1639
|
* @summary Remove messages from the sandbox environment of a specific workspace in SmartSpace, identified by workspaceId.
|
|
1640
1640
|
*/
|
|
1641
|
-
const sandBoxClearSandboxMessages = (workspaceId) => {
|
|
1641
|
+
const sandBoxClearSandboxMessages = (workspaceId, options) => {
|
|
1642
1642
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
|
|
1643
|
-
});
|
|
1643
|
+
}, options);
|
|
1644
1644
|
};
|
|
1645
1645
|
/**
|
|
1646
1646
|
* @summary Retrieve messages from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
|
|
1647
1647
|
*/
|
|
1648
|
-
const sandBoxGetThreadMessages = (workspaceId, params) => {
|
|
1648
|
+
const sandBoxGetThreadMessages = (workspaceId, params, options) => {
|
|
1649
1649
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
|
|
1650
1650
|
params
|
|
1651
|
-
});
|
|
1651
|
+
}, options);
|
|
1652
1652
|
};
|
|
1653
1653
|
/**
|
|
1654
1654
|
* @summary Send a new message to the sandbox environment of a specific workspace in SmartSpace, using the workspaceId.
|
|
@@ -1658,11 +1658,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1658
1658
|
SignalR `ReceiveThreadUpdate` broadcast on terminal. Frontend
|
|
1659
1659
|
should subscribe to the SSE endpoint for live token-by-token updates.
|
|
1660
1660
|
*/
|
|
1661
|
-
const sandBoxThreadMessages = (workspaceId, messagesSandBoxMessageRequest) => {
|
|
1661
|
+
const sandBoxThreadMessages = (workspaceId, messagesSandBoxMessageRequest, options) => {
|
|
1662
1662
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
|
|
1663
1663
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1664
1664
|
data: messagesSandBoxMessageRequest
|
|
1665
|
-
});
|
|
1665
|
+
}, options);
|
|
1666
1666
|
};
|
|
1667
1667
|
/**
|
|
1668
1668
|
* @summary SSE stream of all messages on the workspace's sandbox thread. First
|
|
@@ -1673,9 +1673,9 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1673
1673
|
Mirrors the ChatApi pattern at
|
|
1674
1674
|
`GET /messagethreads/{id}/messages/stream`.
|
|
1675
1675
|
*/
|
|
1676
|
-
const sandBoxStreamSandboxMessages = (workspaceId) => {
|
|
1676
|
+
const sandBoxStreamSandboxMessages = (workspaceId, options) => {
|
|
1677
1677
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
|
|
1678
|
-
});
|
|
1678
|
+
}, options);
|
|
1679
1679
|
};
|
|
1680
1680
|
/**
|
|
1681
1681
|
* @summary Append a new input value to an in-flight sandbox message and stream
|
|
@@ -1685,11 +1685,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1685
1685
|
(NDJSON / SSE), with the final frame being the authoritative completed
|
|
1686
1686
|
message. Mirrors the chat-api `POST /messages/{id}/values`.
|
|
1687
1687
|
*/
|
|
1688
|
-
const sandBoxAddValueToMessage = (workspaceId, id, messagesCreateMessageInput) => {
|
|
1688
|
+
const sandBoxAddValueToMessage = (workspaceId, id, messagesCreateMessageInput, options) => {
|
|
1689
1689
|
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
|
|
1690
1690
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1691
1691
|
data: messagesCreateMessageInput
|
|
1692
|
-
});
|
|
1692
|
+
}, options);
|
|
1693
1693
|
};
|
|
1694
1694
|
return { authDiscoveryGet, 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, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, flowRunsStreamRunEvents, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetStepExecution, flowRunsGetInvocations, flowRunsGetFlowValueDownload, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, installParametersList, installParametersGetRegistry, installParametersDelete, installParametersGet, installParametersUpsert, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersLoadProviderModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsClearDefaultModel, modelsSetDefaultModel, modelsGetModelDeployment, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, restoresList, restoresStart, servicePrincipalsGetServicePrincipals, speechGetConfig, speechGetToken, syncsGet, syncsGetQueue, syncsDelete, syncsGetById, syncsGetItems, syncsGetPoisoned, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersGetAdministeredDataSources, usersGetAdministeredDataSpaces, usersGetUserPermissions, usersAddUserPermission, usersRemoveUserPermission, usersGetUserSecrets, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesRemoveConnector, workSpacesAddConnector, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, connectorsGetConnectors, connectorsCreateConnector, connectorsGetConnectorSummaries, connectorsDeleteConnector, connectorsGetConnector, connectorsUpdateConnector, documentsGetDocumentSas, publicInstallParametersGet, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsGetManagedSecret, managedSecretsGetManagedSecretUserValues, managedSecretsDeleteManagedSecretUserValue, managedSecretsSetManagedSecretUserValue, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1695
1695
|
};
|