@smartspace/api-client 0.1.0-pr.972.abe1663 → 0.1.0-pr.976.c96e7ae
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.msw.js +2 -2
- package/dist/generated/chat/models/dataSetProperty.d.ts +0 -1
- package/dist/generated/chat/zod.d.ts +0 -2
- package/dist/generated/chat/zod.js +0 -2
- package/dist/generated/config/api.d.ts +5 -1
- package/dist/generated/config/api.js +20 -1
- package/dist/generated/config/api.msw.d.ts +4 -1
- package/dist/generated/config/api.msw.js +47 -21
- package/dist/generated/config/models/dataSetProperty.d.ts +0 -1
- package/dist/generated/config/models/dataSetsDataSetProperty.d.ts +0 -1
- package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +0 -1
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
- package/dist/generated/config/models/index.d.ts +3 -0
- package/dist/generated/config/models/index.js +3 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
- package/dist/generated/config/zod.d.ts +39 -16
- package/dist/generated/config/zod.js +48 -23
- package/package.json +1 -1
|
@@ -79,7 +79,7 @@ const getWorkSpacesGetGetResponseMock = (overrideResponse = {}) => ({ data: Arra
|
|
|
79
79
|
[faker_1.faker.string.alphanumeric(5)]: { access: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowVariableAccess)), schema: {
|
|
80
80
|
[faker_1.faker.string.alphanumeric(5)]: {}
|
|
81
81
|
} }
|
|
82
|
-
}, undefined]) }, undefined]), activeFlowDefinitionId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), triggers: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ dataSourceContainer: { dataSourceId: faker_1.faker.helpers.fromRegExp('^[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}$'), filters: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ operator: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), propertyName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), path: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) }, flowId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), inputName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), type: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowTriggerType)) })) }, undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, modifiedByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), properties: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ description: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]),
|
|
82
|
+
}, undefined]) }, undefined]), activeFlowDefinitionId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), triggers: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ dataSourceContainer: { dataSourceId: faker_1.faker.helpers.fromRegExp('^[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}$'), filters: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ operator: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), propertyName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), path: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) }, flowId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), inputName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), type: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowTriggerType)) })) }, undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, modifiedByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), properties: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ description: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), version: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([`${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, null]), undefined]), modifiedByUserId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), parentWorkspaceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]), workspacesInfo: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]) })), favorited: faker_1.faker.datatype.boolean(), firstPrompt: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), id: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]), inputs: {
|
|
83
83
|
[faker_1.faker.string.alphanumeric(5)]: { schema: {
|
|
84
84
|
[faker_1.faker.string.alphanumeric(5)]: {}
|
|
85
85
|
} }
|
|
@@ -105,7 +105,7 @@ const getWorkSpacesGetIdResponseMock = (overrideResponse = {}) => ({ connectors:
|
|
|
105
105
|
[faker_1.faker.string.alphanumeric(5)]: { access: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowVariableAccess)), schema: {
|
|
106
106
|
[faker_1.faker.string.alphanumeric(5)]: {}
|
|
107
107
|
} }
|
|
108
|
-
}, undefined]) }, undefined]), activeFlowDefinitionId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), triggers: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ dataSourceContainer: { dataSourceId: faker_1.faker.helpers.fromRegExp('^[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}$'), filters: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ operator: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), propertyName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), path: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) }, flowId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), inputName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), type: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowTriggerType)) })) }, undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, modifiedByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), properties: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ description: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]),
|
|
108
|
+
}, undefined]) }, undefined]), activeFlowDefinitionId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), triggers: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ dataSourceContainer: { dataSourceId: faker_1.faker.helpers.fromRegExp('^[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}$'), filters: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ operator: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), propertyName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), path: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) }, flowId: faker_1.faker.helpers.fromRegExp('^[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}$'), id: faker_1.faker.helpers.fromRegExp('^[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}$'), inputName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), type: faker_1.faker.helpers.arrayElement(Object.values(models_1.EnumsFlowTriggerType)) })) }, undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, modifiedByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), properties: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ description: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), version: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]) })), undefined]), id: faker_1.faker.helpers.fromRegExp('^[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}$'), modifiedAt: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([`${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, null]), undefined]), modifiedByUserId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), parentWorkspaceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]), workspacesInfo: faker_1.faker.helpers.arrayElement([Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ id: faker_1.faker.helpers.fromRegExp('^[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}$'), name: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), undefined]) })), favorited: faker_1.faker.datatype.boolean(), firstPrompt: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), id: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.fromRegExp('^[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}$'), null]), undefined]), inputs: {
|
|
109
109
|
[faker_1.faker.string.alphanumeric(5)]: { schema: {
|
|
110
110
|
[faker_1.faker.string.alphanumeric(5)]: {}
|
|
111
111
|
} }
|
|
@@ -834,7 +834,6 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
834
834
|
name: zod.ZodString;
|
|
835
835
|
properties: zod.ZodArray<zod.ZodObject<{
|
|
836
836
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
837
|
-
isVector: zod.ZodBoolean;
|
|
838
837
|
name: zod.ZodString;
|
|
839
838
|
}, zod.core.$strip>>;
|
|
840
839
|
version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1096,7 +1095,6 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
1096
1095
|
name: zod.ZodString;
|
|
1097
1096
|
properties: zod.ZodArray<zod.ZodObject<{
|
|
1098
1097
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1099
|
-
isVector: zod.ZodBoolean;
|
|
1100
1098
|
name: zod.ZodString;
|
|
1101
1099
|
}, zod.core.$strip>>;
|
|
1102
1100
|
version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -726,7 +726,6 @@ exports.workSpacesGetGetResponse = zod_1.default.object({
|
|
|
726
726
|
"name": zod_1.default.string(),
|
|
727
727
|
"properties": zod_1.default.array(zod_1.default.object({
|
|
728
728
|
"description": zod_1.default.string().nullish(),
|
|
729
|
-
"isVector": zod_1.default.boolean(),
|
|
730
729
|
"name": zod_1.default.string()
|
|
731
730
|
})),
|
|
732
731
|
"version": zod_1.default.string().regex(exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemVersionRegExp).nullish()
|
|
@@ -931,7 +930,6 @@ exports.workSpacesGetIdResponse = zod_1.default.object({
|
|
|
931
930
|
"name": zod_1.default.string(),
|
|
932
931
|
"properties": zod_1.default.array(zod_1.default.object({
|
|
933
932
|
"description": zod_1.default.string().nullish(),
|
|
934
|
-
"isVector": zod_1.default.boolean(),
|
|
935
933
|
"name": zod_1.default.string()
|
|
936
934
|
})),
|
|
937
935
|
"version": zod_1.default.string().regex(exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemVersionRegExp).nullish()
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { AccessAccess, AccessCreateAccess, AccessGetAccessesParams, AccessGetGroupsParams, AccessGetUsersInRoleRolesRoleIdUsersParams, AccessGetUsersInRoleUsersParams, AccessSearchGroupsParams, AccessSearchServicePrincipalsParams, AccessSearchUsersParams, ActivityExportLoggingsParams, ActivityGetLoggingParams, AiCreateModel, AiCreateModelDeploymentProvider, AiModel, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlockSetsAddBlockSetBody, BlockSetsGetBlockSetsParams, BlocksBlockSet, BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, BlocksGetBlocksParams, BlocksRenameBlockSetRequest, ConfigApiRunFlowRequest, ConnectorsConnector, ConnectorsConnectorSummary, ConnectorsCreateConnector, ConnectorsGetConnectorSummariesParams, ConnectorsGetConnectorsParams, ConnectorsUpdateConnector, ContainersPostParams, CoreManagementSmartSpaceUpgradeUpdate, CreateModelConfiguration, DataSetItem, DataSetItemCreateRequest, DataSetSearchRequest, DataSetsCreateDataSet, DataSetsDataSet, DataSetsDataSetProperty, DataSetsGetContainerItemsRunHistoryParams, DataSetsGetIngestionRunsParams, DataSetsGetItemsParams, DataSetsGetParams, DataSetsSetDataSetScoping, DataSetsUpdateDataSet, DataSetsUpdateDataSetBasicInfo, DataSetsUpsertDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesContainerSchemaParams, DataSourcesContainersParams, DataSourcesCreateDataSource, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesGetParams, DataSourcesPreviewContainerRequest, DataSourcesTestConnectionResult, DataSourcesTestDataSourceConnection, DataSourcesUpdateDataSource, DataSourcesUpdateDataSourceCredentials, DataSpacesCreateDataSpace, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DataSpacesGetDataSetsParams, DataSpacesGetParams, DataSpacesUpdateDataSpace, DebugLogsResponse, DocumentsGetDocumentSasParams, DraftsDraft, DraftsPublishDraftRequest, DraftsPublishDraftResponse, DraftsSaveDraftRequest, DraftsSaveDraftResponse, DraftsToggleDraftRequest, EnumsModelDeploymentProviderType, EnumsModelRole, EnumsPermissions, FilesAddMessageFileFromBlobUri, FilesDownloadFileParams, FilesFile, FilesFileUriResponse, FilesGetFileInfoParams, FilesGetUriParams, FilesIngestedBlob, FilesUploadFilesBody, FlowRunsAddFileIdFilesBody, FlowRunsCreateFlowRunParams, FlowRunsGetStepExecutionsParams, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, FlowRunsSearchFlowRunsParams, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiSdkBlockRef, ManagedSecretsCreateManagedSecret, ManagedSecretsManagedSecret, ManagedSecretsUpdateManagedSecretValue, MessageThreadMessageThreadSummary, MessageThreadsGetStepExecutionsParams, MessageThreadsGetWorkspaceExecutionsParams, MessagesCreateMessageInput, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesSandBoxMessageRequest, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelProvidersGetProvidersParams, ModelsGetDefaultDockerFileParams, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingDuration, ReportingGetRequestsParams, ReportingGetTokensParams, ReportingReportDefinitionSystemDateTime, SandBoxGetThreadMessagesParams, SyncsGetItemsParams, SyncsGetParams, SyncsSync, SyncsSyncQueueState, UsersAdminPermissionParams, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, UsersGetAccessWorkSpacesParams, UsersGetUsersParams, UsersRemoveUserFromAllWorkSpacesParams, UsersSearchUsersParams, WorkSpaceTemplatesGetParams, WorkSpacesCreateWorkSpace, WorkSpacesGetGetParams, WorkSpacesGetThreadsParams, WorkSpacesGetWorkspaceFilesParams, WorkSpacesUpdateWorkSpaceBasicInfo, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser, WorkSpacesWorkspaceFilesBody } from './models';
|
|
7
|
+
import type { AccessAccess, AccessCreateAccess, AccessGetAccessesParams, AccessGetGroupsParams, AccessGetUsersInRoleRolesRoleIdUsersParams, AccessGetUsersInRoleUsersParams, AccessSearchGroupsParams, AccessSearchServicePrincipalsParams, AccessSearchUsersParams, ActivityExportLoggingsParams, ActivityGetLoggingParams, AiCreateModel, AiCreateModelDeploymentProvider, AiModel, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlockSetsAddBlockSetBody, BlockSetsGetBlockSetsParams, BlocksBlockSet, BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, BlocksGetBlocksParams, BlocksRenameBlockSetRequest, ConfigApiRunFlowRequest, ConnectorsConnector, ConnectorsConnectorSummary, ConnectorsCreateConnector, ConnectorsGetConnectorSummariesParams, ConnectorsGetConnectorsParams, ConnectorsUpdateConnector, ContainersPostParams, CoreManagementSmartSpaceUpgradeUpdate, CreateModelConfiguration, DataSetItem, DataSetItemCreateRequest, DataSetSearchRequest, DataSetsCreateDataSet, DataSetsDataSet, DataSetsDataSetProperty, DataSetsGetContainerItemsRunHistoryParams, DataSetsGetIngestionRunsParams, DataSetsGetItemsParams, DataSetsGetParams, DataSetsSetDataSetScoping, DataSetsUpdateDataSet, DataSetsUpdateDataSetBasicInfo, DataSetsUpsertDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesContainerSchemaParams, DataSourcesContainersParams, DataSourcesCreateDataSource, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesGetParams, DataSourcesPreviewContainerRequest, DataSourcesTestConnectionResult, DataSourcesTestDataSourceConnection, DataSourcesUpdateDataSource, DataSourcesUpdateDataSourceCredentials, DataSpacesCreateDataSpace, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DataSpacesGetDataSetsParams, DataSpacesGetParams, DataSpacesUpdateDataSpace, DebugLogsResponse, DocumentsGetDocumentSasParams, DraftsDraft, DraftsPublishDraftRequest, DraftsPublishDraftResponse, DraftsSaveDraftRequest, DraftsSaveDraftResponse, DraftsToggleDraftRequest, EnumsModelDeploymentProviderType, EnumsModelRole, EnumsPermissions, FilesAddMessageFileFromBlobUri, FilesDownloadFileParams, FilesFile, FilesFileUriResponse, FilesGetFileInfoParams, FilesGetUriParams, FilesIngestedBlob, FilesUploadFilesBody, FlowRunsAddFileIdFilesBody, FlowRunsCreateFlowRunParams, FlowRunsGetStepExecutionsParams, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, FlowRunsGetWorkspaceRunsParams, FlowRunsSearchFlowRunsParams, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsCreateManagedSecret, ManagedSecretsManagedSecret, ManagedSecretsUpdateManagedSecretValue, MessageThreadMessageThreadSummary, MessageThreadsGetStepExecutionsParams, MessageThreadsGetWorkspaceExecutionsParams, MessagesCreateMessageInput, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesSandBoxMessageRequest, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelProvidersGetProvidersParams, ModelsGetDefaultDockerFileParams, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingDuration, ReportingGetRequestsParams, ReportingGetTokensParams, ReportingReportDefinitionSystemDateTime, SandBoxGetThreadMessagesParams, SyncsGetItemsParams, SyncsGetParams, SyncsSync, SyncsSyncQueueState, UsersAdminPermissionParams, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, UsersGetAccessWorkSpacesParams, UsersGetUsersParams, UsersRemoveUserFromAllWorkSpacesParams, UsersSearchUsersParams, WorkSpaceTemplatesGetParams, WorkSpacesCreateWorkSpace, WorkSpacesGetGetParams, WorkSpacesGetThreadsParams, WorkSpacesGetWorkspaceFilesParams, WorkSpacesUpdateWorkSpaceBasicInfo, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser, WorkSpacesWorkspaceFilesBody } from './models';
|
|
8
8
|
export declare const getSmartSpaceAdminAPI: () => {
|
|
9
9
|
accessGetAccesses: (params?: AccessGetAccessesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccessAccess, any, {}>>;
|
|
10
10
|
accessAddAccess: (accessCreateAccess: AccessCreateAccess) => Promise<import("axios").AxiosResponse<AccessAccess, any, {}>>;
|
|
@@ -92,6 +92,7 @@ export declare const getSmartSpaceAdminAPI: () => {
|
|
|
92
92
|
flowRunsSearchFlowRuns: (params?: FlowRunsSearchFlowRunsParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
93
93
|
flowRunsGetFileFromFlowRunId: (flowRunId: string) => Promise<import("axios").AxiosResponse<FilesFile, any, {}>>;
|
|
94
94
|
flowRunsGetFlowRun: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
95
|
+
flowRunsCancelFlowRun: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
95
96
|
flowRunsAddFileIdFiles: (id: string, flowRunsAddFileIdFilesBody: FlowRunsAddFileIdFilesBody) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
96
97
|
flowRunsAddFileIdFilesExisting: (id: string, filesAddMessageFileFromBlobUri: FilesAddMessageFileFromBlobUri) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
97
98
|
flowRunsGetStepExecutions: (id: string, params?: FlowRunsGetStepExecutionsParams) => Promise<import("axios").AxiosResponse<IntegrationsSmartSpaceAiDebugLogsResponse, any, {}>>;
|
|
@@ -176,6 +177,7 @@ export declare const getSmartSpaceAdminAPI: () => {
|
|
|
176
177
|
managedSecretsOverwriteManagedSecretValue: (name: string, managedSecretsUpdateManagedSecretValue: ManagedSecretsUpdateManagedSecretValue) => Promise<import("axios").AxiosResponse<ManagedSecretsManagedSecret, any, {}>>;
|
|
177
178
|
messageThreadsGetWorkspaceExecutions: (workSpaceId: string, params?: MessageThreadsGetWorkspaceExecutionsParams) => Promise<import("axios").AxiosResponse<DebugLogsResponse, any, {}>>;
|
|
178
179
|
messageThreadsGetStepExecutions: (workSpaceId: string, messageThreadId: string, params?: MessageThreadsGetStepExecutionsParams) => Promise<import("axios").AxiosResponse<DebugLogsResponse, any, {}>>;
|
|
180
|
+
flowRunsGetWorkspaceRuns: (workspaceId: string, params?: FlowRunsGetWorkspaceRunsParams) => Promise<import("axios").AxiosResponse<IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, any, {}>>;
|
|
179
181
|
sandBoxGetSandboxThread: (workspaceId: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
180
182
|
sandBoxThreadMessageCreateByUsersProfileImages: (workspaceId: string) => Promise<import("axios").AxiosResponse<MessagesMessageCreatorProfileImage[], any, {}>>;
|
|
181
183
|
sandBoxClearSandboxMessages: (workspaceId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
@@ -270,6 +272,7 @@ export type FlowRunsCreateFlowRunResult = NonNullable<Awaited<ReturnType<ReturnT
|
|
|
270
272
|
export type FlowRunsSearchFlowRunsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsSearchFlowRuns']>>>;
|
|
271
273
|
export type FlowRunsGetFileFromFlowRunIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetFileFromFlowRunId']>>>;
|
|
272
274
|
export type FlowRunsGetFlowRunResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetFlowRun']>>>;
|
|
275
|
+
export type FlowRunsCancelFlowRunResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsCancelFlowRun']>>>;
|
|
273
276
|
export type FlowRunsAddFileIdFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsAddFileIdFiles']>>>;
|
|
274
277
|
export type FlowRunsAddFileIdFilesExistingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsAddFileIdFilesExisting']>>>;
|
|
275
278
|
export type FlowRunsGetStepExecutionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetStepExecutions']>>>;
|
|
@@ -354,6 +357,7 @@ export type ManagedSecretsDeleteManagedSecretResult = NonNullable<Awaited<Return
|
|
|
354
357
|
export type ManagedSecretsOverwriteManagedSecretValueResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['managedSecretsOverwriteManagedSecretValue']>>>;
|
|
355
358
|
export type MessageThreadsGetWorkspaceExecutionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['messageThreadsGetWorkspaceExecutions']>>>;
|
|
356
359
|
export type MessageThreadsGetStepExecutionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['messageThreadsGetStepExecutions']>>>;
|
|
360
|
+
export type FlowRunsGetWorkspaceRunsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetWorkspaceRuns']>>>;
|
|
357
361
|
export type SandBoxGetSandboxThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['sandBoxGetSandboxThread']>>>;
|
|
358
362
|
export type SandBoxThreadMessageCreateByUsersProfileImagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['sandBoxThreadMessageCreateByUsersProfileImages']>>>;
|
|
359
363
|
export type SandBoxClearSandboxMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['sandBoxClearSandboxMessages']>>>;
|
|
@@ -663,6 +663,16 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
663
663
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}`, method: 'GET'
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
+
/**
|
|
667
|
+
* @summary Requests cancellation of a queued or running flow run. Cancellation
|
|
668
|
+
is cooperative: a queued run is stamped cancelled before it starts;
|
|
669
|
+
a running flow stops between block executions, typically within
|
|
670
|
+
seconds. Cancelled runs carry cancelledAt in their basic info.
|
|
671
|
+
*/
|
|
672
|
+
const flowRunsCancelFlowRun = (id) => {
|
|
673
|
+
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
|
|
674
|
+
});
|
|
675
|
+
};
|
|
666
676
|
const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
|
|
667
677
|
const formData = new FormData();
|
|
668
678
|
if (flowRunsAddFileIdFilesBody.file !== undefined) {
|
|
@@ -1280,6 +1290,15 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1280
1290
|
params
|
|
1281
1291
|
});
|
|
1282
1292
|
};
|
|
1293
|
+
/**
|
|
1294
|
+
* @summary Lists a workspace's flow runs, newest first (chat threads, designer
|
|
1295
|
+
runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
|
|
1296
|
+
*/
|
|
1297
|
+
const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
|
|
1298
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/runs`, method: 'GET',
|
|
1299
|
+
params
|
|
1300
|
+
});
|
|
1301
|
+
};
|
|
1283
1302
|
/**
|
|
1284
1303
|
* @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
|
|
1285
1304
|
*/
|
|
@@ -1350,6 +1369,6 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1350
1369
|
data: messagesCreateMessageInput
|
|
1351
1370
|
});
|
|
1352
1371
|
};
|
|
1353
|
-
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, 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, syncsGet, syncsGetQueue, syncsGetById, syncsGetItems, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersAddUserPermission, usersRemoveUserPermission, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesDeleteModelConfiguration, workSpacesPutModelConfiguration, workSpacesRemoveConnector, workSpacesAddConnector, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, connectorsGetConnectors, connectorsCreateConnector, connectorsGetConnectorSummaries, connectorsDeleteConnector, connectorsGetConnector, connectorsUpdateConnector, documentsGetDocumentSas, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1372
|
+
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, syncsGet, syncsGetQueue, syncsGetById, syncsGetItems, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersAddUserPermission, usersRemoveUserPermission, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesDeleteModelConfiguration, workSpacesPutModelConfiguration, workSpacesRemoveConnector, workSpacesAddConnector, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, connectorsGetConnectors, connectorsCreateConnector, connectorsGetConnectorSummaries, connectorsDeleteConnector, connectorsGetConnector, connectorsUpdateConnector, documentsGetDocumentSas, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1354
1373
|
};
|
|
1355
1374
|
exports.getSmartSpaceAdminAPI = getSmartSpaceAdminAPI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
2
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import type { AccessAccess, AiModel, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, ConnectorsConnector, ConnectorsConnectorSummary, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiSdkBlockRef, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingReportDefinitionSystemDateTime, SyncsSync, SyncsSyncQueueState, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser } from './models';
|
|
3
|
+
import type { AccessAccess, AiModel, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, ConnectorsConnector, ConnectorsConnectorSummary, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReportingReportDefinitionSystemDateTime, SyncsSync, SyncsSyncQueueState, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser } from './models';
|
|
4
4
|
import type { BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two } from './models';
|
|
5
5
|
export declare const getAccessGetAccessesResponseMock: (overrideResponse?: Partial<PagedDataCollectionAccessAccess>) => PagedDataCollectionAccessAccess;
|
|
6
6
|
export declare const getAccessAddAccessResponseMock: (overrideResponse?: Partial<AccessAccess>) => AccessAccess;
|
|
@@ -100,6 +100,7 @@ export declare const getManagedSecretsCreateManagedSecretResponseMock: (override
|
|
|
100
100
|
export declare const getManagedSecretsOverwriteManagedSecretValueResponseMock: (overrideResponse?: Partial<ManagedSecretsManagedSecret>) => ManagedSecretsManagedSecret;
|
|
101
101
|
export declare const getMessageThreadsGetWorkspaceExecutionsResponseMock: (overrideResponse?: Partial<DebugLogsResponse>) => DebugLogsResponse;
|
|
102
102
|
export declare const getMessageThreadsGetStepExecutionsResponseMock: (overrideResponse?: Partial<DebugLogsResponse>) => DebugLogsResponse;
|
|
103
|
+
export declare const getFlowRunsGetWorkspaceRunsResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun>) => IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun;
|
|
103
104
|
export declare const getSandBoxGetSandboxThreadResponseMock: (overrideResponse?: Partial<MessageThreadMessageThreadSummary>) => MessageThreadMessageThreadSummary;
|
|
104
105
|
export declare const getSandBoxThreadMessageCreateByUsersProfileImagesResponseMock: () => MessagesMessageCreatorProfileImage[];
|
|
105
106
|
export declare const getSandBoxGetThreadMessagesResponseMock: () => MessagesMessage[];
|
|
@@ -191,6 +192,7 @@ export declare const getFlowRunsCreateFlowRunMockHandler: (overrideResponse?: vo
|
|
|
191
192
|
export declare const getFlowRunsSearchFlowRunsMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
192
193
|
export declare const getFlowRunsGetFileFromFlowRunIdMockHandler: (overrideResponse?: FilesFile | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FilesFile> | FilesFile), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
193
194
|
export declare const getFlowRunsGetFlowRunMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
195
|
+
export declare const getFlowRunsCancelFlowRunMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
194
196
|
export declare const getFlowRunsAddFileIdFilesMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
195
197
|
export declare const getFlowRunsAddFileIdFilesExistingMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
196
198
|
export declare const getFlowRunsGetStepExecutionsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiDebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiDebugLogsResponse> | IntegrationsSmartSpaceAiDebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -275,6 +277,7 @@ export declare const getManagedSecretsDeleteManagedSecretMockHandler: (overrideR
|
|
|
275
277
|
export declare const getManagedSecretsOverwriteManagedSecretValueMockHandler: (overrideResponse?: ManagedSecretsManagedSecret | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ManagedSecretsManagedSecret> | ManagedSecretsManagedSecret), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
276
278
|
export declare const getMessageThreadsGetWorkspaceExecutionsMockHandler: (overrideResponse?: DebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DebugLogsResponse> | DebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
277
279
|
export declare const getMessageThreadsGetStepExecutionsMockHandler: (overrideResponse?: DebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DebugLogsResponse> | DebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
280
|
+
export declare const getFlowRunsGetWorkspaceRunsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun> | IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
278
281
|
export declare const getSandBoxGetSandboxThreadMockHandler: (overrideResponse?: MessageThreadMessageThreadSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessageThreadMessageThreadSummary> | MessageThreadMessageThreadSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
279
282
|
export declare const getSandBoxThreadMessageCreateByUsersProfileImagesMockHandler: (overrideResponse?: MessagesMessageCreatorProfileImage[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessagesMessageCreatorProfileImage[]> | MessagesMessageCreatorProfileImage[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
280
283
|
export declare const getSandBoxClearSandboxMessagesMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|