@smartspace/api-client 0.1.0-pr.818.d912044 → 0.1.0-pr.820.52abbad
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/models/dataSet.d.ts +2 -2
- package/dist/generated/chat/models/{connection.d.ts → flowsConnection.d.ts} +1 -1
- package/dist/generated/chat/models/{flow.d.ts → flowsFlow.d.ts} +5 -5
- package/dist/generated/chat/models/{flowBlock.d.ts → flowsFlowBlock.d.ts} +1 -1
- package/dist/generated/chat/models/flowsFlowConstant.d.ts +11 -0
- package/dist/generated/chat/models/{flowDefinitionLayout.d.ts → flowsFlowConstantValue.d.ts} +1 -1
- package/dist/generated/chat/models/flowsFlowDefinition.d.ts +31 -0
- package/dist/generated/chat/models/{flowDefinitionBlocks.d.ts → flowsFlowDefinitionBlocks.d.ts} +3 -3
- package/dist/generated/chat/models/{flowDefinitionOutputs.d.ts → flowsFlowDefinitionConstants.d.ts} +3 -3
- package/dist/generated/chat/models/{flowDefinitionConstants.d.ts → flowsFlowDefinitionInputs.d.ts} +3 -3
- package/dist/generated/chat/models/{flowConstantValue.d.ts → flowsFlowDefinitionLayout.d.ts} +1 -1
- package/dist/generated/chat/models/{flowDefinitionInputs.d.ts → flowsFlowDefinitionOutputs.d.ts} +3 -3
- package/dist/generated/chat/models/flowsFlowDefinitionVariables.d.ts +13 -0
- package/dist/generated/chat/models/flowsFlowInput.d.ts +10 -0
- package/dist/generated/chat/models/{flowVariableSchema.d.ts → flowsFlowInputSchema.d.ts} +1 -1
- package/dist/generated/chat/models/flowsFlowOutput.d.ts +10 -0
- package/dist/generated/chat/models/{flowInputSchema.d.ts → flowsFlowOutputSchema.d.ts} +1 -1
- package/dist/generated/chat/models/{flowTrigger.d.ts → flowsFlowTrigger.d.ts} +1 -1
- package/dist/generated/chat/models/{flowVariable.d.ts → flowsFlowVariable.d.ts} +3 -3
- package/dist/generated/chat/models/{flowOutputSchema.d.ts → flowsFlowVariableSchema.d.ts} +1 -1
- package/dist/generated/chat/models/index.d.ts +19 -19
- package/dist/generated/chat/models/index.js +19 -19
- package/dist/generated/chat/models/workSpaceInputs.d.ts +2 -2
- package/dist/generated/chat/models/workSpaceVariables.d.ts +2 -2
- package/dist/generated/config/api.d.ts +31 -31
- package/dist/generated/config/api.js +46 -28
- package/dist/generated/config/models/{dataSetsCreateDataSetContainer.d.ts → createContainer.d.ts} +1 -1
- package/dist/generated/config/models/{dataSetsUpsertDataSetProperty.d.ts → createDataSet.d.ts} +3 -2
- package/dist/generated/config/models/{dataSpacesCreateDataSpace.d.ts → createDataSpace.d.ts} +1 -1
- package/dist/generated/config/models/dataSet.d.ts +2 -2
- package/dist/generated/config/models/{dataSetsGetParams.d.ts → dataSetsGetGetParams.d.ts} +1 -1
- package/dist/generated/config/models/{dataSetsGetItemsParams.d.ts → dataSetsGetIdItemsParams.d.ts} +1 -1
- package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +9 -0
- package/dist/generated/config/models/dataSpacesGetParams.d.ts +9 -0
- package/dist/generated/config/models/{connection.d.ts → flowsConnection.d.ts} +1 -1
- package/dist/generated/config/models/{flow.d.ts → flowsFlow.d.ts} +5 -5
- package/dist/generated/config/models/{flowBlock.d.ts → flowsFlowBlock.d.ts} +1 -1
- package/dist/generated/config/models/flowsFlowConstant.d.ts +11 -0
- package/dist/generated/config/models/{flowConstantValue.d.ts → flowsFlowConstantValue.d.ts} +1 -1
- package/dist/generated/config/models/flowsFlowDefinition.d.ts +31 -0
- package/dist/generated/config/models/{flowDefinitionOutputs.d.ts → flowsFlowDefinitionBlocks.d.ts} +3 -3
- package/dist/generated/config/models/{flowDefinitionInputs.d.ts → flowsFlowDefinitionConstants.d.ts} +3 -3
- package/dist/generated/config/models/{flowDefinitionBlocks.d.ts → flowsFlowDefinitionInputs.d.ts} +3 -3
- package/dist/generated/config/models/{flowDefinitionLayout.d.ts → flowsFlowDefinitionLayout.d.ts} +1 -1
- package/dist/generated/config/models/{flowDefinitionConstants.d.ts → flowsFlowDefinitionOutputs.d.ts} +3 -3
- package/dist/generated/config/models/flowsFlowDefinitionVariables.d.ts +13 -0
- package/dist/generated/config/models/flowsFlowInput.d.ts +10 -0
- package/dist/generated/config/models/{flowInputSchema.d.ts → flowsFlowInputSchema.d.ts} +1 -1
- package/dist/generated/config/models/flowsFlowOutput.d.ts +10 -0
- package/dist/generated/config/models/{flowOutputSchema.d.ts → flowsFlowOutputSchema.d.ts} +1 -1
- package/dist/generated/config/models/{flowTrigger.d.ts → flowsFlowTrigger.d.ts} +1 -1
- package/dist/generated/config/models/{flowVariable.d.ts → flowsFlowVariable.d.ts} +3 -3
- package/dist/generated/config/models/{dataSetItemProperties.d.ts → flowsFlowVariableSchema.d.ts} +1 -1
- package/dist/generated/config/models/index.d.ts +30 -43
- package/dist/generated/config/models/index.js +30 -43
- package/dist/generated/config/models/{pagedDataCollectionDataSetsDataSet.d.ts → pagedDataCollectionDataSet.d.ts} +3 -3
- package/dist/generated/config/models/pagedDataCollectionDataSpace.d.ts +11 -0
- package/dist/generated/config/models/{dataSpacesDataSpaceWorkSpaceRef.d.ts → updateContainer.d.ts} +3 -3
- package/dist/generated/config/models/{dataSetsUpdateDataSet.d.ts → updateDataSet.d.ts} +4 -6
- package/dist/generated/config/models/{dataSetsUpdateDataSetBasicInfo.d.ts → updateDataSetBasicInfo.d.ts} +1 -1
- package/dist/generated/config/models/{dataSpacesUpdateDataSpace.d.ts → updateDataSpace.d.ts} +1 -1
- package/dist/generated/config/models/workSpaceInputs.d.ts +2 -2
- package/dist/generated/config/models/workSpaceVariables.d.ts +2 -2
- package/dist/generated/config/zod.d.ts +470 -251
- package/dist/generated/config/zod.js +470 -282
- package/package.json +1 -1
- package/dist/generated/chat/models/flowConstant.d.ts +0 -11
- package/dist/generated/chat/models/flowDefinition.d.ts +0 -31
- package/dist/generated/chat/models/flowDefinitionVariables.d.ts +0 -13
- package/dist/generated/chat/models/flowInput.d.ts +0 -10
- package/dist/generated/chat/models/flowOutput.d.ts +0 -10
- package/dist/generated/config/models/dataSetItem.d.ts +0 -15
- package/dist/generated/config/models/dataSetItemMetadata.d.ts +0 -35
- package/dist/generated/config/models/dataSetsCreateDataSet.d.ts +0 -14
- package/dist/generated/config/models/dataSetsDataSet.d.ts +0 -34
- package/dist/generated/config/models/dataSetsDataSetProperty.d.ts +0 -12
- package/dist/generated/config/models/dataSpacesDataSpace.d.ts +0 -24
- package/dist/generated/config/models/dataSpacesDataSpaceAdmin.d.ts +0 -12
- package/dist/generated/config/models/flowConstant.d.ts +0 -11
- package/dist/generated/config/models/flowConstantValue.js +0 -8
- package/dist/generated/config/models/flowDefinition.d.ts +0 -31
- package/dist/generated/config/models/flowDefinitionLayout.js +0 -8
- package/dist/generated/config/models/flowDefinitionVariables.d.ts +0 -13
- package/dist/generated/config/models/flowInput.d.ts +0 -10
- package/dist/generated/config/models/flowInputSchema.js +0 -8
- package/dist/generated/config/models/flowOutput.d.ts +0 -10
- package/dist/generated/config/models/flowOutputSchema.js +0 -8
- package/dist/generated/config/models/flowVariable.js +0 -2
- package/dist/generated/config/models/flowVariableSchema.d.ts +0 -9
- package/dist/generated/config/models/flowVariableSchema.js +0 -8
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRun.d.ts +0 -16
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRun.js +0 -2
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRunError.d.ts +0 -13
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemFlowRunError.js +0 -8
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +0 -18
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.js +0 -2
- package/dist/generated/config/models/pagedDataCollectionDataSetsDataSet.js +0 -2
- package/dist/generated/config/models/pagedDataCollectionDataSpacesDataSpace.d.ts +0 -11
- package/dist/generated/config/models/pagedDataCollectionDataSpacesDataSpace.js +0 -2
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionDataSetItem.d.ts +0 -11
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionDataSetItem.js +0 -2
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory.d.ts +0 -11
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory.js +0 -2
- /package/dist/generated/chat/models/{connection.js → flowsConnection.js} +0 -0
- /package/dist/generated/chat/models/{flow.js → flowsFlow.js} +0 -0
- /package/dist/generated/chat/models/{flowBlock.js → flowsFlowBlock.js} +0 -0
- /package/dist/generated/chat/models/{flowConstant.js → flowsFlowConstant.js} +0 -0
- /package/dist/generated/chat/models/{flowConstantValue.js → flowsFlowConstantValue.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinition.js → flowsFlowDefinition.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionBlocks.js → flowsFlowDefinitionBlocks.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionConstants.js → flowsFlowDefinitionConstants.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionInputs.js → flowsFlowDefinitionInputs.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionLayout.js → flowsFlowDefinitionLayout.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionOutputs.js → flowsFlowDefinitionOutputs.js} +0 -0
- /package/dist/generated/chat/models/{flowDefinitionVariables.js → flowsFlowDefinitionVariables.js} +0 -0
- /package/dist/generated/chat/models/{flowInput.js → flowsFlowInput.js} +0 -0
- /package/dist/generated/chat/models/{flowInputSchema.js → flowsFlowInputSchema.js} +0 -0
- /package/dist/generated/chat/models/{flowOutput.js → flowsFlowOutput.js} +0 -0
- /package/dist/generated/chat/models/{flowOutputSchema.js → flowsFlowOutputSchema.js} +0 -0
- /package/dist/generated/chat/models/{flowTrigger.js → flowsFlowTrigger.js} +0 -0
- /package/dist/generated/chat/models/{flowVariable.js → flowsFlowVariable.js} +0 -0
- /package/dist/generated/chat/models/{flowVariableSchema.js → flowsFlowVariableSchema.js} +0 -0
- /package/dist/generated/config/models/{dataSetItemMetadata.js → createContainer.js} +0 -0
- /package/dist/generated/config/models/{connection.js → createDataSet.js} +0 -0
- /package/dist/generated/config/models/{dataSetItemProperties.js → createDataSpace.js} +0 -0
- /package/dist/generated/config/models/{dataSetsCreateDataSetContainer.js → dataSetsGetGetParams.js} +0 -0
- /package/dist/generated/config/models/{dataSetsDataSetProperty.js → dataSetsGetIdItemsParams.js} +0 -0
- /package/dist/generated/config/models/{dataSetItem.js → flowsConnection.js} +0 -0
- /package/dist/generated/config/models/{dataSetsCreateDataSet.js → flowsFlow.js} +0 -0
- /package/dist/generated/config/models/{dataSetsDataSet.js → flowsFlowBlock.js} +0 -0
- /package/dist/generated/config/models/{dataSetsUpdateDataSet.js → flowsFlowConstant.js} +0 -0
- /package/dist/generated/config/models/{dataSetsGetItemsParams.js → flowsFlowConstantValue.js} +0 -0
- /package/dist/generated/config/models/{dataSpacesDataSpace.js → flowsFlowDefinition.js} +0 -0
- /package/dist/generated/config/models/{flow.js → flowsFlowDefinitionBlocks.js} +0 -0
- /package/dist/generated/config/models/{flowBlock.js → flowsFlowDefinitionConstants.js} +0 -0
- /package/dist/generated/config/models/{flowConstant.js → flowsFlowDefinitionInputs.js} +0 -0
- /package/dist/generated/config/models/{dataSetsGetParams.js → flowsFlowDefinitionLayout.js} +0 -0
- /package/dist/generated/config/models/{flowDefinition.js → flowsFlowDefinitionOutputs.js} +0 -0
- /package/dist/generated/config/models/{flowDefinitionBlocks.js → flowsFlowDefinitionVariables.js} +0 -0
- /package/dist/generated/config/models/{flowDefinitionConstants.js → flowsFlowInput.js} +0 -0
- /package/dist/generated/config/models/{dataSetsUpdateDataSetBasicInfo.js → flowsFlowInputSchema.js} +0 -0
- /package/dist/generated/config/models/{flowDefinitionInputs.js → flowsFlowOutput.js} +0 -0
- /package/dist/generated/config/models/{dataSetsUpsertDataSetProperty.js → flowsFlowOutputSchema.js} +0 -0
- /package/dist/generated/config/models/{flowDefinitionOutputs.js → flowsFlowTrigger.js} +0 -0
- /package/dist/generated/config/models/{flowDefinitionVariables.js → flowsFlowVariable.js} +0 -0
- /package/dist/generated/config/models/{dataSpacesCreateDataSpace.js → flowsFlowVariableSchema.js} +0 -0
- /package/dist/generated/config/models/{flowInput.js → pagedDataCollectionDataSet.js} +0 -0
- /package/dist/generated/config/models/{flowOutput.js → pagedDataCollectionDataSpace.js} +0 -0
- /package/dist/generated/config/models/{dataSpacesDataSpaceAdmin.js → updateContainer.js} +0 -0
- /package/dist/generated/config/models/{flowTrigger.js → updateDataSet.js} +0 -0
- /package/dist/generated/config/models/{dataSpacesDataSpaceWorkSpaceRef.js → updateDataSetBasicInfo.js} +0 -0
- /package/dist/generated/config/models/{dataSpacesUpdateDataSpace.js → updateDataSpace.js} +0 -0
|
@@ -186,7 +186,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
186
186
|
params
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
|
-
const
|
|
189
|
+
const dataSetsGetGet = (params) => {
|
|
190
190
|
return (0, instance_1.customInstance)({ url: `/DataSets`, method: 'GET',
|
|
191
191
|
params
|
|
192
192
|
});
|
|
@@ -195,30 +195,36 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
195
195
|
return (0, instance_1.customInstance)({ url: `/DataSets/${dataSetId}/items/${id}`, method: 'GET'
|
|
196
196
|
});
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
/**
|
|
199
|
+
* @summary Remove a specific data set from SmartSpace, using its ID to ensure accurate deletion.
|
|
200
|
+
*/
|
|
201
|
+
const dataSetsDeleteId = (id) => {
|
|
199
202
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'DELETE'
|
|
200
203
|
});
|
|
201
204
|
};
|
|
205
|
+
/**
|
|
206
|
+
* @summary Retrieve detailed information about a specific data set in SmartSpace by its ID
|
|
207
|
+
*/
|
|
202
208
|
const dataSetsGetById = (id) => {
|
|
203
209
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'GET'
|
|
204
210
|
});
|
|
205
211
|
};
|
|
206
212
|
/**
|
|
207
|
-
* @summary
|
|
213
|
+
* @summary Create a new dataset in SmartSpace, specifying details like name, datasource, and properties.
|
|
208
214
|
*/
|
|
209
|
-
const
|
|
215
|
+
const dataSetsPutId = (id, updateDataSet) => {
|
|
210
216
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'PUT',
|
|
211
217
|
headers: { 'Content-Type': 'application/*+json', },
|
|
212
|
-
data:
|
|
218
|
+
data: updateDataSet
|
|
213
219
|
});
|
|
214
220
|
};
|
|
215
221
|
/**
|
|
216
|
-
* @summary
|
|
222
|
+
* @summary Create a new dataset in SmartSpace, specifying details like name, datasource, and properties.
|
|
217
223
|
*/
|
|
218
|
-
const
|
|
224
|
+
const dataSetsPutIdBasicInfo = (id, updateDataSetBasicInfo) => {
|
|
219
225
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/basicInfo`, method: 'PUT',
|
|
220
226
|
headers: { 'Content-Type': 'application/*+json', },
|
|
221
|
-
data:
|
|
227
|
+
data: updateDataSetBasicInfo
|
|
222
228
|
});
|
|
223
229
|
};
|
|
224
230
|
const dataSetsClear = (id) => {
|
|
@@ -231,7 +237,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
231
237
|
});
|
|
232
238
|
};
|
|
233
239
|
/**
|
|
234
|
-
* @summary
|
|
240
|
+
* @summary Create a new dataset in SmartSpace, specifying details like name, datasource, and properties.
|
|
235
241
|
*/
|
|
236
242
|
const dataSetsSetDataspace = (id, dataSetsSetDataspaceBody) => {
|
|
237
243
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/dataspace`, method: 'PUT',
|
|
@@ -243,7 +249,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
243
249
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/export`, method: 'GET'
|
|
244
250
|
});
|
|
245
251
|
};
|
|
246
|
-
const
|
|
252
|
+
const dataSetsGetIdItems = (id, params) => {
|
|
247
253
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items`, method: 'GET',
|
|
248
254
|
params
|
|
249
255
|
});
|
|
@@ -260,17 +266,17 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
260
266
|
data: dataSetSearchRequest
|
|
261
267
|
});
|
|
262
268
|
};
|
|
263
|
-
const
|
|
269
|
+
const dataSetsDeleteIdItemsItemId = (id, itemId) => {
|
|
264
270
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items/${itemId}`, method: 'DELETE'
|
|
265
271
|
});
|
|
266
272
|
};
|
|
267
273
|
/**
|
|
268
|
-
* @summary
|
|
274
|
+
* @summary Add a property to a dataset
|
|
269
275
|
*/
|
|
270
|
-
const dataSetsAddDataSetProperty = (id,
|
|
276
|
+
const dataSetsAddDataSetProperty = (id, dataSetProperty) => {
|
|
271
277
|
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/properties`, method: 'POST',
|
|
272
278
|
headers: { 'Content-Type': 'application/*+json', },
|
|
273
|
-
data:
|
|
279
|
+
data: dataSetProperty
|
|
274
280
|
});
|
|
275
281
|
};
|
|
276
282
|
const dataSetsDeleteDataSetProperty = (id, name) => {
|
|
@@ -364,35 +370,44 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
364
370
|
return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'PUT'
|
|
365
371
|
});
|
|
366
372
|
};
|
|
373
|
+
/**
|
|
374
|
+
* @summary Retrieve a list of all data spaces in SmartSpace, with options for pagination to manage large sets of data spaces.
|
|
375
|
+
*/
|
|
367
376
|
const dataSpacesGet = (params) => {
|
|
368
377
|
return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'GET',
|
|
369
378
|
params
|
|
370
379
|
});
|
|
371
380
|
};
|
|
372
381
|
/**
|
|
373
|
-
* @summary Create a new dataspace.
|
|
382
|
+
* @summary Create a new dataspace in SmartSpace, specifying details like name, associated datasources, and containers.
|
|
374
383
|
*/
|
|
375
|
-
const dataSpacesPost = (
|
|
384
|
+
const dataSpacesPost = (createDataSpace) => {
|
|
376
385
|
return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'POST',
|
|
377
386
|
headers: { 'Content-Type': 'application/*+json', },
|
|
378
|
-
data:
|
|
387
|
+
data: createDataSpace
|
|
379
388
|
});
|
|
380
389
|
};
|
|
390
|
+
/**
|
|
391
|
+
* @summary Remove a specific data space from SmartSpace, using its ID to ensure accurate deletion.
|
|
392
|
+
*/
|
|
381
393
|
const dataSpacesDelete = (id) => {
|
|
382
394
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'DELETE'
|
|
383
395
|
});
|
|
384
396
|
};
|
|
397
|
+
/**
|
|
398
|
+
* @summary Retrieve detailed information about a specific data space in SmartSpace by its ID
|
|
399
|
+
*/
|
|
385
400
|
const dataSpacesGetById = (id) => {
|
|
386
401
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'GET'
|
|
387
402
|
});
|
|
388
403
|
};
|
|
389
404
|
/**
|
|
390
|
-
* @summary Update
|
|
405
|
+
* @summary Update details of a specific data space in SmartSpace, using the ID of the data space.
|
|
391
406
|
*/
|
|
392
|
-
const dataSpacesPut = (id,
|
|
407
|
+
const dataSpacesPut = (id, updateDataSpace) => {
|
|
393
408
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'PUT',
|
|
394
409
|
headers: { 'Content-Type': 'application/*+json', },
|
|
395
|
-
data:
|
|
410
|
+
data: updateDataSpace
|
|
396
411
|
});
|
|
397
412
|
};
|
|
398
413
|
const dataSpacesGetAdminUsers = (id) => {
|
|
@@ -407,18 +422,21 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
407
422
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
408
423
|
});
|
|
409
424
|
};
|
|
425
|
+
/**
|
|
426
|
+
* @summary Retrieve a list of all data sets in SmartSpace, with options for pagination to manage large sets of data sets.
|
|
427
|
+
*/
|
|
410
428
|
const dataSpacesGetDataSets = (id, params) => {
|
|
411
429
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'GET',
|
|
412
430
|
params
|
|
413
431
|
});
|
|
414
432
|
};
|
|
415
433
|
/**
|
|
416
|
-
* @summary Create a new dataset
|
|
434
|
+
* @summary Create a new dataset in SmartSpace, specifying details like name, datasource, and properties.
|
|
417
435
|
*/
|
|
418
|
-
const dataSpacesPostDataset = (id,
|
|
436
|
+
const dataSpacesPostDataset = (id, createDataSet) => {
|
|
419
437
|
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'POST',
|
|
420
438
|
headers: { 'Content-Type': 'application/*+json', },
|
|
421
|
-
data:
|
|
439
|
+
data: createDataSet
|
|
422
440
|
});
|
|
423
441
|
};
|
|
424
442
|
const debugInvoke = (connectionId, method, debugInvokeBody) => {
|
|
@@ -549,10 +567,10 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
549
567
|
return (0, instance_1.customInstance)({ url: `/Flows/${id}`, method: 'GET'
|
|
550
568
|
});
|
|
551
569
|
};
|
|
552
|
-
const flowsSetActiveFlowDefinition = (id,
|
|
570
|
+
const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition) => {
|
|
553
571
|
return (0, instance_1.customInstance)({ url: `/Flows/${id}/active`, method: 'PUT',
|
|
554
572
|
headers: { 'Content-Type': 'application/*+json', },
|
|
555
|
-
data:
|
|
573
|
+
data: flowsFlowDefinition
|
|
556
574
|
});
|
|
557
575
|
};
|
|
558
576
|
/**
|
|
@@ -964,10 +982,10 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
964
982
|
/**
|
|
965
983
|
* @summary Creates a flow
|
|
966
984
|
*/
|
|
967
|
-
const workSpacesSetActiveFlow = (workspaceId,
|
|
985
|
+
const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition) => {
|
|
968
986
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
|
|
969
987
|
headers: { 'Content-Type': 'application/*+json', },
|
|
970
|
-
data:
|
|
988
|
+
data: flowsFlowDefinition
|
|
971
989
|
});
|
|
972
990
|
};
|
|
973
991
|
/**
|
|
@@ -1067,6 +1085,6 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1067
1085
|
data: messageCreateMessageInput
|
|
1068
1086
|
});
|
|
1069
1087
|
};
|
|
1070
|
-
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsDeleteBlockSet, blockSetsAddBlockSet, blocksGetBlocks, containersReingestContainerItem, containersPost,
|
|
1088
|
+
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsDeleteBlockSet, blockSetsAddBlockSet, blocksGetBlocks, containersReingestContainerItem, containersPost, dataSetsGetGet, dataSetsGetItem, dataSetsDeleteId, dataSetsGetById, dataSetsPutId, dataSetsPutIdBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetIdItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteIdItemsItemId, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesUpdateCredentials, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersAddUserPermission, usersRemoveUserPermission, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesPutModelConfigurationIdModelconfigurationRoleDelete, workSpacesPutModelConfigurationIdModelconfigurationRolePut, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, documentsGetDocumentSas, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1071
1089
|
};
|
|
1072
1090
|
exports.getSmartSpaceAdminAPI = getSmartSpaceAdminAPI;
|
package/dist/generated/config/models/{dataSetsCreateDataSetContainer.d.ts → createContainer.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface CreateContainer {
|
|
8
8
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
9
9
|
dataSourceId: string;
|
|
10
10
|
path: string;
|
package/dist/generated/config/models/{dataSetsUpsertDataSetProperty.d.ts → createDataSet.d.ts}
RENAMED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import type { CreateContainer } from './createContainer';
|
|
8
|
+
export interface CreateDataSet {
|
|
9
|
+
containerInfo: CreateContainer[];
|
|
8
10
|
/** @nullable */
|
|
9
11
|
description?: string | null;
|
|
10
|
-
isVector: boolean;
|
|
11
12
|
name: string;
|
|
12
13
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { FlowsFlow } from './flowsFlow';
|
|
8
8
|
import type { DataSetProperty } from './dataSetProperty';
|
|
9
9
|
export interface DataSet {
|
|
10
10
|
createdAt: string;
|
|
@@ -16,7 +16,7 @@ export interface DataSet {
|
|
|
16
16
|
dataSpaceId?: string | null;
|
|
17
17
|
/** @nullable */
|
|
18
18
|
description?: string | null;
|
|
19
|
-
flow?:
|
|
19
|
+
flow?: FlowsFlow;
|
|
20
20
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
21
21
|
id: string;
|
|
22
22
|
modifiedAt: string;
|
|
@@ -5,7 +5,16 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
export type DataSpacesGetDataSetsParams = {
|
|
8
|
+
/**
|
|
9
|
+
* The number of data sets to retrieve.
|
|
10
|
+
*/
|
|
8
11
|
take?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The number of data sets to skip.
|
|
14
|
+
*/
|
|
9
15
|
skip?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The search keyword to filter data sets.
|
|
18
|
+
*/
|
|
10
19
|
search?: string;
|
|
11
20
|
};
|
|
@@ -5,7 +5,16 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
export type DataSpacesGetParams = {
|
|
8
|
+
/**
|
|
9
|
+
* The number of data spaces to retrieve.
|
|
10
|
+
*/
|
|
8
11
|
take?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The number of data spaces to skip.
|
|
14
|
+
*/
|
|
9
15
|
skip?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The search keyword to filter data spaces.
|
|
18
|
+
*/
|
|
10
19
|
search?: string;
|
|
11
20
|
};
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
10
|
-
activeFlowDefinition?:
|
|
7
|
+
import type { FlowsFlowDefinition } from './flowsFlowDefinition';
|
|
8
|
+
import type { FlowsFlowTrigger } from './flowsFlowTrigger';
|
|
9
|
+
export interface FlowsFlow {
|
|
10
|
+
activeFlowDefinition?: FlowsFlowDefinition;
|
|
11
11
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
12
12
|
activeFlowDefinitionId: string;
|
|
13
13
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
14
14
|
id: string;
|
|
15
|
-
triggers:
|
|
15
|
+
triggers: FlowsFlowTrigger[];
|
|
16
16
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { FlowsBlockConstant } from './flowsBlockConstant';
|
|
8
8
|
import type { FlowsBlockPinRef } from './flowsBlockPinRef';
|
|
9
|
-
export interface
|
|
9
|
+
export interface FlowsFlowBlock {
|
|
10
10
|
/** @nullable */
|
|
11
11
|
constants?: FlowsBlockConstant[] | null;
|
|
12
12
|
/** @nullable */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { FlowsFlowConstantValue } from './flowsFlowConstantValue';
|
|
8
|
+
export interface FlowsFlowConstant {
|
|
9
|
+
/** @nullable */
|
|
10
|
+
value?: FlowsFlowConstantValue;
|
|
11
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { FlowsFlowDefinitionBlocks } from './flowsFlowDefinitionBlocks';
|
|
8
|
+
import type { FlowsConnection } from './flowsConnection';
|
|
9
|
+
import type { FlowsFlowDefinitionConstants } from './flowsFlowDefinitionConstants';
|
|
10
|
+
import type { FlowsFlowDefinitionInputs } from './flowsFlowDefinitionInputs';
|
|
11
|
+
import type { FlowsFlowDefinitionLayout } from './flowsFlowDefinitionLayout';
|
|
12
|
+
import type { FlowsFlowDefinitionOutputs } from './flowsFlowDefinitionOutputs';
|
|
13
|
+
import type { FlowsFlowDefinitionVariables } from './flowsFlowDefinitionVariables';
|
|
14
|
+
export interface FlowsFlowDefinition {
|
|
15
|
+
/** @nullable */
|
|
16
|
+
blocks?: FlowsFlowDefinitionBlocks;
|
|
17
|
+
/** @nullable */
|
|
18
|
+
connections?: FlowsConnection[] | null;
|
|
19
|
+
/** @nullable */
|
|
20
|
+
constants?: FlowsFlowDefinitionConstants;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
inputs?: FlowsFlowDefinitionInputs;
|
|
23
|
+
/** @nullable */
|
|
24
|
+
layout?: FlowsFlowDefinitionLayout;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
name?: string | null;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
outputs?: FlowsFlowDefinitionOutputs;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
variables?: FlowsFlowDefinitionVariables;
|
|
31
|
+
}
|
package/dist/generated/config/models/{flowDefinitionOutputs.d.ts → flowsFlowDefinitionBlocks.d.ts}
RENAMED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { FlowsFlowBlock } from './flowsFlowBlock';
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
[key: string]:
|
|
11
|
+
export type FlowsFlowDefinitionBlocks = {
|
|
12
|
+
[key: string]: FlowsFlowBlock;
|
|
13
13
|
} | null;
|
package/dist/generated/config/models/{flowDefinitionInputs.d.ts → flowsFlowDefinitionConstants.d.ts}
RENAMED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { FlowsFlowConstant } from './flowsFlowConstant';
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
[key: string]:
|
|
11
|
+
export type FlowsFlowDefinitionConstants = {
|
|
12
|
+
[key: string]: FlowsFlowConstant;
|
|
13
13
|
} | null;
|
package/dist/generated/config/models/{flowDefinitionBlocks.d.ts → flowsFlowDefinitionInputs.d.ts}
RENAMED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { FlowsFlowInput } from './flowsFlowInput';
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
[key: string]:
|
|
11
|
+
export type FlowsFlowDefinitionInputs = {
|
|
12
|
+
[key: string]: FlowsFlowInput;
|
|
13
13
|
} | null;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { FlowsFlowOutput } from './flowsFlowOutput';
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
[key: string]:
|
|
11
|
+
export type FlowsFlowDefinitionOutputs = {
|
|
12
|
+
[key: string]: FlowsFlowOutput;
|
|
13
13
|
} | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { FlowsFlowVariable } from './flowsFlowVariable';
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type FlowsFlowDefinitionVariables = {
|
|
12
|
+
[key: string]: FlowsFlowVariable;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { FlowsFlowInputSchema } from './flowsFlowInputSchema';
|
|
8
|
+
export interface FlowsFlowInput {
|
|
9
|
+
schema: FlowsFlowInputSchema;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { FlowsFlowOutputSchema } from './flowsFlowOutputSchema';
|
|
8
|
+
export interface FlowsFlowOutput {
|
|
9
|
+
schema: FlowsFlowOutputSchema;
|
|
10
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { DataSourceContainer } from './dataSourceContainer';
|
|
8
8
|
import type { EnumsFlowTriggerType } from './enumsFlowTriggerType';
|
|
9
|
-
export interface
|
|
9
|
+
export interface FlowsFlowTrigger {
|
|
10
10
|
dataSourceContainer: DataSourceContainer;
|
|
11
11
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
12
12
|
flowId: string;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsFlowVariableAccess } from './enumsFlowVariableAccess';
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
8
|
+
import type { FlowsFlowVariableSchema } from './flowsFlowVariableSchema';
|
|
9
|
+
export interface FlowsFlowVariable {
|
|
10
10
|
access: EnumsFlowVariableAccess;
|
|
11
|
-
schema:
|
|
11
|
+
schema: FlowsFlowVariableSchema;
|
|
12
12
|
}
|