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