@smartspace/api-client 0.1.0-dev.00cf09c → 0.1.0-dev.01074fa

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.
Files changed (27) hide show
  1. package/dist/generated/chat/api.msw.js +5 -5
  2. package/dist/generated/chat/models/aiModelSummary.d.ts +4 -1
  3. package/dist/generated/chat/models/messagesMessageError.d.ts +2 -0
  4. package/dist/generated/chat/zod.d.ts +4 -0
  5. package/dist/generated/chat/zod.js +8 -4
  6. package/dist/generated/config/api.d.ts +5 -1
  7. package/dist/generated/config/api.js +27 -11
  8. package/dist/generated/config/api.msw.d.ts +5 -1
  9. package/dist/generated/config/api.msw.js +40 -14
  10. package/dist/generated/config/models/aiModelSummary.d.ts +4 -1
  11. package/dist/generated/config/models/index.d.ts +2 -0
  12. package/dist/generated/config/models/index.js +2 -0
  13. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +6 -0
  14. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +6 -0
  15. package/dist/generated/config/models/messagesMessageError.d.ts +2 -0
  16. package/dist/generated/config/models/reportingGetRequestsParams.d.ts +2 -0
  17. package/dist/generated/config/models/reportingGetTokensParams.d.ts +2 -0
  18. package/dist/generated/config/models/reportingReportSeries.d.ts +4 -0
  19. package/dist/generated/config/models/reportingSplit.d.ts +3 -1
  20. package/dist/generated/config/models/reportingSplit.js +3 -1
  21. package/dist/generated/config/models/usageFlowRunInvocation.d.ts +31 -0
  22. package/dist/generated/config/models/usageFlowRunInvocation.js +2 -0
  23. package/dist/generated/config/models/usageInvocationModelUsage.d.ts +16 -0
  24. package/dist/generated/config/models/usageInvocationModelUsage.js +8 -0
  25. package/dist/generated/config/zod.d.ts +130 -10
  26. package/dist/generated/config/zod.js +123 -25
  27. package/package.json +1 -1
@@ -32,17 +32,17 @@ const getMessageThreadsPostCommentResponseMock = (overrideResponse = {}) => ({ c
32
32
  exports.getMessageThreadsPostCommentResponseMock = getMessageThreadsPostCommentResponseMock;
33
33
  const getMessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResponseMock = () => (Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ base64StringImage: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), userId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })));
34
34
  exports.getMessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResponseMock = getMessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResponseMock;
35
- const getMessageThreadsThreadMessagesIdMessagesResponseMock = (overrideResponse = {}) => ({ data: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
35
+ const getMessageThreadsThreadMessagesIdMessagesResponseMock = (overrideResponse = {}) => ({ data: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), traceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
36
36
  [faker_1.faker.string.alphanumeric(5)]: faker_1.faker.number.int({ min: undefined, max: undefined })
37
37
  }, createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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 } }), type: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.helpers.arrayElement([{}, undefined]) })) })), scoped: faker_1.faker.helpers.arrayElement([faker_1.faker.datatype.boolean(), undefined]), total: faker_1.faker.number.int({ min: undefined, max: undefined }), ...overrideResponse });
38
38
  exports.getMessageThreadsThreadMessagesIdMessagesResponseMock = getMessageThreadsThreadMessagesIdMessagesResponseMock;
39
39
  const getMessageThreadsGetThreadUsersResponseMock = () => (Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ displayName: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), emailAddress: 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.string.alpha({ length: { min: 10, max: 20 } }), userId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })));
40
40
  exports.getMessageThreadsGetThreadUsersResponseMock = getMessageThreadsGetThreadUsersResponseMock;
41
- const getMessagesThreadMessagesResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
41
+ const getMessagesThreadMessagesResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), traceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
42
42
  [faker_1.faker.string.alphanumeric(5)]: faker_1.faker.number.int({ min: undefined, max: undefined })
43
43
  }, createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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 } }), type: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.helpers.arrayElement([{}, undefined]) })), ...overrideResponse });
44
44
  exports.getMessagesThreadMessagesResponseMock = getMessagesThreadMessagesResponseMock;
45
- const getMessagesStartThreadMessageResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
45
+ const getMessagesStartThreadMessageResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), traceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
46
46
  [faker_1.faker.string.alphanumeric(5)]: faker_1.faker.number.int({ min: undefined, max: undefined })
47
47
  }, createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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 } }), type: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.helpers.arrayElement([{}, undefined]) })), ...overrideResponse });
48
48
  exports.getMessagesStartThreadMessageResponseMock = getMessagesStartThreadMessageResponseMock;
@@ -50,7 +50,7 @@ const getMessagesGetCommentsResponseMock = (overrideResponse = {}) => ({ data: A
50
50
  exports.getMessagesGetCommentsResponseMock = getMessagesGetCommentsResponseMock;
51
51
  const getMessagesPostCommentResponseMock = (overrideResponse = {}) => ({ content: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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}'), mentionedUsers: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ name: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), userId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })), messageId: 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]), messageThreadId: 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}'), ...overrideResponse });
52
52
  exports.getMessagesPostCommentResponseMock = getMessagesPostCommentResponseMock;
53
- const getMessagesAddValueToMessageResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
53
+ const getMessagesAddValueToMessageResponseMock = (overrideResponse = {}) => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), traceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
54
54
  [faker_1.faker.string.alphanumeric(5)]: faker_1.faker.number.int({ min: undefined, max: undefined })
55
55
  }, createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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 } }), type: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.helpers.arrayElement([{}, undefined]) })), ...overrideResponse });
56
56
  exports.getMessagesAddValueToMessageResponseMock = getMessagesAddValueToMessageResponseMock;
@@ -132,7 +132,7 @@ const getMessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResp
132
132
  exports.getMessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResponseMock = getMessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResponseMock;
133
133
  const getMessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResponseMock = () => (Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ base64StringImage: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), userId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }) })));
134
134
  exports.getMessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResponseMock = getMessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResponseMock;
135
- const getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseMock = (overrideResponse = {}) => ({ data: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
135
+ const getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseMock = (overrideResponse = {}) => ({ data: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), errors: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ blockId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), code: faker_1.faker.number.int({ min: undefined, max: undefined }), data: faker_1.faker.helpers.arrayElement([{}, undefined]), errorCode: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), message: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), traceId: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]) })), hasComments: faker_1.faker.datatype.boolean(), 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}'), messageThreadId: 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]), values: Array.from({ length: faker_1.faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ channels: {
136
136
  [faker_1.faker.string.alphanumeric(5)]: faker_1.faker.number.int({ min: undefined, max: undefined })
137
137
  }, createdAt: `${faker_1.faker.date.past().toISOString().split('.')[0]}Z`, createdBy: faker_1.faker.helpers.arrayElement([faker_1.faker.helpers.arrayElement([faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), null]), undefined]), createdByUserId: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), 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 } }), type: faker_1.faker.string.alpha({ length: { min: 10, max: 20 } }), value: faker_1.faker.helpers.arrayElement([{}, undefined]) })) })), scoped: faker_1.faker.helpers.arrayElement([faker_1.faker.datatype.boolean(), undefined]), total: faker_1.faker.number.int({ min: undefined, max: undefined }), ...overrideResponse });
138
138
  exports.getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseMock = getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseMock;
@@ -22,6 +22,9 @@ export interface AiModelSummary {
22
22
  modelPublisher?: EnumsModelPublisher;
23
23
  name: string;
24
24
  properties: AiIModelProperty[];
25
- /** @nullable */
25
+ /**
26
+ * @deprecated
27
+ * @nullable
28
+ */
26
29
  virtualMachineUrl?: string | null;
27
30
  }
@@ -15,4 +15,6 @@ export interface MessagesMessageError {
15
15
  errorCode?: string | null;
16
16
  /** @nullable */
17
17
  message?: string | null;
18
+ /** @nullable */
19
+ traceId?: string | null;
18
20
  }
@@ -256,6 +256,7 @@ export declare const messageThreadsThreadMessagesIdMessagesResponse: zod.ZodObje
256
256
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
257
257
  errorCode: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
258
258
  message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
259
+ traceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
259
260
  }, zod.core.$strip>>;
260
261
  hasComments: zod.ZodBoolean;
261
262
  id: zod.ZodString;
@@ -353,6 +354,7 @@ export declare const messagesThreadMessagesResponse: zod.ZodObject<{
353
354
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
354
355
  errorCode: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
355
356
  message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
357
+ traceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
356
358
  }, zod.core.$strip>>;
357
359
  hasComments: zod.ZodBoolean;
358
360
  id: zod.ZodString;
@@ -401,6 +403,7 @@ export declare const messagesStartThreadMessageResponse: zod.ZodObject<{
401
403
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
402
404
  errorCode: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
403
405
  message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
406
+ traceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
404
407
  }, zod.core.$strip>>;
405
408
  hasComments: zod.ZodBoolean;
406
409
  id: zod.ZodString;
@@ -1238,6 +1241,7 @@ export declare const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethr
1238
1241
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
1239
1242
  errorCode: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1240
1243
  message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1244
+ traceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1241
1245
  }, zod.core.$strip>>;
1242
1246
  hasComments: zod.ZodBoolean;
1243
1247
  id: zod.ZodString;
@@ -252,7 +252,8 @@ exports.messageThreadsThreadMessagesIdMessagesResponse = zod_1.default.object({
252
252
  "code": zod_1.default.number(),
253
253
  "data": zod_1.default.any().nullish(),
254
254
  "errorCode": zod_1.default.string().nullish(),
255
- "message": zod_1.default.string().nullish()
255
+ "message": zod_1.default.string().nullish(),
256
+ "traceId": zod_1.default.string().nullish()
256
257
  })),
257
258
  "hasComments": zod_1.default.boolean(),
258
259
  "id": zod_1.default.string().regex(exports.messageThreadsThreadMessagesIdMessagesResponseDataItemIdRegExp),
@@ -344,7 +345,8 @@ exports.messagesThreadMessagesResponse = zod_1.default.object({
344
345
  "code": zod_1.default.number(),
345
346
  "data": zod_1.default.any().nullish(),
346
347
  "errorCode": zod_1.default.string().nullish(),
347
- "message": zod_1.default.string().nullish()
348
+ "message": zod_1.default.string().nullish(),
349
+ "traceId": zod_1.default.string().nullish()
348
350
  })),
349
351
  "hasComments": zod_1.default.boolean(),
350
352
  "id": zod_1.default.string().regex(exports.messagesThreadMessagesResponseIdRegExp),
@@ -392,7 +394,8 @@ exports.messagesStartThreadMessageResponse = zod_1.default.object({
392
394
  "code": zod_1.default.number(),
393
395
  "data": zod_1.default.any().nullish(),
394
396
  "errorCode": zod_1.default.string().nullish(),
395
- "message": zod_1.default.string().nullish()
397
+ "message": zod_1.default.string().nullish(),
398
+ "traceId": zod_1.default.string().nullish()
396
399
  })),
397
400
  "hasComments": zod_1.default.boolean(),
398
401
  "id": zod_1.default.string().regex(exports.messagesStartThreadMessageResponseIdRegExp),
@@ -1221,7 +1224,8 @@ exports.messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessage
1221
1224
  "code": zod_1.default.number(),
1222
1225
  "data": zod_1.default.any().nullish(),
1223
1226
  "errorCode": zod_1.default.string().nullish(),
1224
- "message": zod_1.default.string().nullish()
1227
+ "message": zod_1.default.string().nullish(),
1228
+ "traceId": zod_1.default.string().nullish()
1225
1229
  })),
1226
1230
  "hasComments": zod_1.default.boolean(),
1227
1231
  "id": zod_1.default.string().regex(exports.messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseDataItemIdRegExp),
@@ -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, AiModelSummary, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlockSetsAddBlockSetBody, BlockSetsGetBlockSetsParams, BlocksBlockSet, BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, BlocksGetBlocksParams, BlocksRenameBlockSetRequest, ConfigApiRunFlowRequest, ConnectorsConnector, ConnectorsConnectorSummary, ConnectorsCreateConnector, ConnectorsGetConnectorSummariesParams, ConnectorsGetConnectorsParams, ConnectorsUpdateConnector, ContainersPostParams, CoreManagementInstallParameterDefinitionModel, CoreManagementInstallParameterModel, CoreManagementSmartSpacePlan, CoreManagementSmartSpaceUpgrade, CoreManagementSmartSpaceUpgradeUpdate, CoreManagementUpsertInstallParameterModel, CreateModelConfiguration, DataSetItem, DataSetItemCreateRequest, DataSetSearchRequest, DataSetsCreateDataSet, DataSetsDataSet, DataSetsDataSetProperty, DataSetsGetContainerItemsRunHistoryParams, DataSetsGetIngestionRunsParams, DataSetsGetItemsParams, DataSetsGetParams, DataSetsSetDataSetScoping, DataSetsSetDataSetSourceDeletes, 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, FlowsFlowRunCancelResult, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiFunctionExecutionDebugModel, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsCreateManagedSecret, ManagedSecretsManagedSecret, ManagedSecretsUpdateManagedSecretValue, MessageThreadMessageThreadSummary, MessageThreadsGetStepExecutionsParams, MessageThreadsGetWorkspaceExecutionsParams, MessagesCreateMessageInput, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesSandBoxMessageRequest, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelDeployableModel, ModelLoadProviderModelsRequest, ModelModelDeploymentProvider, ModelModelProviderType, ModelProvidersGetProvidersParams, ModelsGetDefaultDockerFileParams, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalDetail, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReingestResult, ReportingDuration, ReportingGetRequestsParams, ReportingGetTokensParams, ReportingReportDefinitionSystemDateTime, SandBoxGetThreadMessagesParams, ServicePrincipalsGetServicePrincipalsParams, SmartSpacePlanUsage, SyncsGetItemsParams, SyncsGetParams, SyncsGetPoisonedParams, 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, AiModelDeployment, AiModelSummary, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlockSetsAddBlockSetBody, BlockSetsGetBlockSetsParams, BlocksBlockSet, BlocksGetBlocks200One, BlocksGetBlocks200Three, BlocksGetBlocks200Two, BlocksGetBlocksParams, BlocksRenameBlockSetRequest, ConfigApiRunFlowRequest, ConnectorsConnector, ConnectorsConnectorSummary, ConnectorsCreateConnector, ConnectorsGetConnectorSummariesParams, ConnectorsGetConnectorsParams, ConnectorsUpdateConnector, ContainersPostParams, CoreManagementInstallParameterDefinitionModel, CoreManagementInstallParameterModel, CoreManagementSmartSpacePlan, CoreManagementSmartSpaceUpgrade, CoreManagementSmartSpaceUpgradeUpdate, CoreManagementUpsertInstallParameterModel, CreateModelConfiguration, DataSetItem, DataSetItemCreateRequest, DataSetSearchRequest, DataSetsCreateDataSet, DataSetsDataSet, DataSetsDataSetProperty, DataSetsGetContainerItemsRunHistoryParams, DataSetsGetIngestionRunsParams, DataSetsGetItemsParams, DataSetsGetParams, DataSetsSetDataSetScoping, DataSetsSetDataSetSourceDeletes, 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, FlowsFlowRunCancelResult, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiFunctionExecutionDebugModel, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsCreateManagedSecret, ManagedSecretsManagedSecret, ManagedSecretsUpdateManagedSecretValue, MessageThreadMessageThreadSummary, MessageThreadsGetStepExecutionsParams, MessageThreadsGetWorkspaceExecutionsParams, MessagesCreateMessageInput, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesSandBoxMessageRequest, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelDeployableModel, ModelLoadProviderModelsRequest, ModelModelDeploymentProvider, ModelModelProviderType, ModelProvidersGetProvidersParams, ModelsGetDefaultDockerFileParams, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalDetail, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReingestResult, ReportingDuration, ReportingGetRequestsParams, ReportingGetTokensParams, ReportingReportDefinitionSystemDateTime, SandBoxGetThreadMessagesParams, ServicePrincipalsGetServicePrincipalsParams, SmartSpacePlanUsage, SyncsGetItemsParams, SyncsGetParams, SyncsGetPoisonedParams, SyncsSync, SyncsSyncQueueState, UsageFlowRunInvocation, UsersAdminPermissionParams, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, UsersGetAccessWorkSpacesParams, UsersGetUsersParams, UsersRemoveUserFromAllWorkSpacesParams, UsersSearchUsersParams, WorkSpaceTemplatesGetParams, WorkSpacesCreateWorkSpace, WorkSpacesGetGetParams, WorkSpacesGetThreadsParams, WorkSpacesGetWorkspaceFilesParams, WorkSpacesUpdateWorkSpaceBasicInfo, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser, WorkSpacesWorkspaceFilesBody } from './models';
8
8
  type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? A : B;
9
9
  type WritableKeys<T> = {
10
10
  [P in keyof T]-?: IfEquals<{
@@ -116,6 +116,7 @@ export declare const getSmartSpaceAdminAPI: () => {
116
116
  flowRunsAddFileIdFilesExisting: (id: string, filesAddMessageFileFromBlobUri: FilesAddMessageFileFromBlobUri) => Promise<import("axios").AxiosResponse<void, any, {}>>;
117
117
  flowRunsGetStepExecutions: (id: string, params?: FlowRunsGetStepExecutionsParams) => Promise<import("axios").AxiosResponse<IntegrationsSmartSpaceAiDebugLogsResponse, any, {}>>;
118
118
  flowRunsGetStepExecution: (id: string, executionId: string) => Promise<import("axios").AxiosResponse<IntegrationsSmartSpaceAiFunctionExecutionDebugModel, any, {}>>;
119
+ flowRunsGetInvocations: (id: string) => Promise<import("axios").AxiosResponse<UsageFlowRunInvocation[], any, {}>>;
119
120
  flowRunsGetFlowValueDownload: (id: string, valueId: string) => Promise<import("axios").AxiosResponse<unknown, any, {}>>;
120
121
  flowRunsGetVariables: (id: string) => Promise<import("axios").AxiosResponse<FlowRunsGetVariables200One | FlowRunsGetVariables200Three | FlowRunsGetVariables200Two, any, {}>>;
121
122
  flowRunsSetVariable: (id: string, variableName: string, flowRunsSetVariableBody: unknown) => Promise<import("axios").AxiosResponse<void, any, {}>>;
@@ -142,6 +143,7 @@ export declare const getSmartSpaceAdminAPI: () => {
142
143
  modelsUpsertModel: (id: string, aiCreateModel: AiCreateModel) => Promise<import("axios").AxiosResponse<void, any, {}>>;
143
144
  modelsClearDefaultModel: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
144
145
  modelsSetDefaultModel: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
146
+ modelsGetModelDeployment: (id: string) => Promise<import("axios").AxiosResponse<AiModelDeployment, any, {}>>;
145
147
  modelsGetDeploymentDockerLogs: (id: string) => Promise<import("axios").AxiosResponse<string, any, {}>>;
146
148
  modelsGetModelHealth: (id: string) => Promise<import("axios").AxiosResponse<MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, any, {}>>;
147
149
  notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationsPagedNotifications, any, {}>>;
@@ -318,6 +320,7 @@ export type FlowRunsAddFileIdFilesResult = NonNullable<Awaited<ReturnType<Return
318
320
  export type FlowRunsAddFileIdFilesExistingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsAddFileIdFilesExisting']>>>;
319
321
  export type FlowRunsGetStepExecutionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetStepExecutions']>>>;
320
322
  export type FlowRunsGetStepExecutionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetStepExecution']>>>;
323
+ export type FlowRunsGetInvocationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetInvocations']>>>;
321
324
  export type FlowRunsGetFlowValueDownloadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetFlowValueDownload']>>>;
322
325
  export type FlowRunsGetVariablesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetVariables']>>>;
323
326
  export type FlowRunsSetVariableResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsSetVariable']>>>;
@@ -344,6 +347,7 @@ export type ModelsGetModelResult = NonNullable<Awaited<ReturnType<ReturnType<typ
344
347
  export type ModelsUpsertModelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsUpsertModel']>>>;
345
348
  export type ModelsClearDefaultModelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsClearDefaultModel']>>>;
346
349
  export type ModelsSetDefaultModelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsSetDefaultModel']>>>;
350
+ export type ModelsGetModelDeploymentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsGetModelDeployment']>>>;
347
351
  export type ModelsGetDeploymentDockerLogsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsGetDeploymentDockerLogs']>>>;
348
352
  export type ModelsGetModelHealthResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['modelsGetModelHealth']>>>;
349
353
  export type NotificationGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['notificationGet']>>>;
@@ -170,8 +170,7 @@ const getSmartSpaceAdminAPI = () => {
170
170
  /**
171
171
  * @summary Rename a published custom block set (all versions). Set names are
172
172
  organizational — flows bind to block (class) names, so renaming never
173
- breaks a flow. Admin-only (the attribute must be method-level: the
174
- Admin policy handler ignores class-level `[AuthorizeAdmin]`).
173
+ breaks a flow. Admin-only, as the class already says.
175
174
  */
176
175
  const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest) => {
177
176
  return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'PATCH',
@@ -203,8 +202,7 @@ const getSmartSpaceAdminAPI = () => {
203
202
  /**
204
203
  * @summary List the SDK's built-in blocks (smartspace.* modules) for the
205
204
  custom-blocks draft picker. App-native blocks (LLMs etc.) are
206
- excluded upstream. Admin-only (method-level attribute — the Admin
207
- policy handler ignores class-level `[AuthorizeAdmin]`).
205
+ excluded upstream. Admin-only, above the editor floor the class carries.
208
206
  */
209
207
  const blocksGetSdkBlocks = () => {
210
208
  return (0, instance_1.customInstance)({ url: `/v1/Blocks/sdk`, method: 'GET'
@@ -212,9 +210,8 @@ const getSmartSpaceAdminAPI = () => {
212
210
  };
213
211
  /**
214
212
  * @summary Get the Python source of a native/SDK block — used by the custom-blocks
215
- page as a starting scaffold when creating a draft. Admin-only (the
216
- attribute must be method-level: the Admin policy handler ignores
217
- class-level `[AuthorizeAdmin]`).
213
+ page as a starting scaffold when creating a draft. Admin-only, above the
214
+ editor floor the class carries.
218
215
  */
219
216
  const blocksGetBlockSource = (name, version) => {
220
217
  return (0, instance_1.customInstance)({ url: `/v1/Blocks/${name}/${version}/source`, method: 'GET'
@@ -794,6 +791,16 @@ const getSmartSpaceAdminAPI = () => {
794
791
  return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
795
792
  });
796
793
  };
794
+ /**
795
+ * Read from SQL only. Gated like the run read: 404 for a run the caller may not see.
796
+ Cost sums the priced calls; unpricedCalls says how many calls it leaves out.
797
+ * @summary A run's invocations, oldest first: on a chat thread one per message, on an
798
+ ingestion run one. Each carries its model calls summed by model and round.
799
+ */
800
+ const flowRunsGetInvocations = (id) => {
801
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/invocations`, method: 'GET'
802
+ });
803
+ };
797
804
  /**
798
805
  * Redirects to short-lived direct-from-storage link, so the payload never
799
806
  transits this service — the same pattern as file downloads. Only values the
@@ -989,6 +996,14 @@ const getSmartSpaceAdminAPI = () => {
989
996
  return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'PUT'
990
997
  });
991
998
  };
999
+ /**
1000
+ * @summary Retrieves the deployment of a model: VM URL, docker file, provider and steps. Platform admins only; the
1001
+ class gate lets editors reach the route and the deployment view refuses them with 403.
1002
+ */
1003
+ const modelsGetModelDeployment = (id) => {
1004
+ return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment`, method: 'GET'
1005
+ });
1006
+ };
992
1007
  /**
993
1008
  * @summary Retrieves the Docker logs for a specific deployment of a model.
994
1009
  */
@@ -1060,7 +1075,7 @@ const getSmartSpaceAdminAPI = () => {
1060
1075
  });
1061
1076
  };
1062
1077
  /**
1063
- * @summary Gets the number of requests by a specified duration
1078
+ * @summary Gets the number of flow invocations by a specified duration
1064
1079
  */
1065
1080
  const reportingGetRequests = (duration, params) => {
1066
1081
  return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
@@ -1068,7 +1083,7 @@ const getSmartSpaceAdminAPI = () => {
1068
1083
  });
1069
1084
  };
1070
1085
  /**
1071
- * @summary Gets the number of tokens by a specified duration
1086
+ * @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
1072
1087
  */
1073
1088
  const reportingGetTokens = (duration, params) => {
1074
1089
  return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
@@ -1536,7 +1551,8 @@ const getSmartSpaceAdminAPI = () => {
1536
1551
  };
1537
1552
  /**
1538
1553
  * @summary Lists a workspace's flow runs, newest first (chat threads, designer
1539
- runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
1554
+ runs, CallFlow sub-runs). Proxies the AI API's workspace run store and
1555
+ joins each run's usage totals from SQL.
1540
1556
  */
1541
1557
  const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
1542
1558
  return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
@@ -1613,6 +1629,6 @@ const getSmartSpaceAdminAPI = () => {
1613
1629
  data: messagesCreateMessageInput
1614
1630
  });
1615
1631
  };
1616
- 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, 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, flowRunsSearchFlowRuns, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, flowRunsStreamRunEvents, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetStepExecution, 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, 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, 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, publicInstallParametersGet, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
1632
+ 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, 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, flowRunsSearchFlowRuns, 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, 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, publicInstallParametersGet, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
1617
1633
  };
1618
1634
  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, AiModelSummary, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, ConnectorsConnector, ConnectorsConnectorSummary, CoreManagementInstallParameterDefinitionModel, CoreManagementInstallParameterModel, CoreManagementSmartSpacePlan, CoreManagementSmartSpaceUpgrade, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, FlowsFlowRunCancelResult, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiFunctionExecutionDebugModel, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelDeployableModel, ModelModelDeploymentProvider, ModelModelProviderType, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalDetail, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReingestResult, ReportingReportDefinitionSystemDateTime, SmartSpacePlanUsage, SyncsSync, SyncsSyncQueueState, UsersAppRole, UsersAppUserSearchResult, UsersAppUserSummary, WorkSpacesWorkSpace, WorkSpacesWorkSpaceUser } from './models';
3
+ import type { AccessAccess, AiModel, AiModelDeployment, AiModelSummary, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlocksBlockSet, ConnectorsConnector, ConnectorsConnectorSummary, CoreManagementInstallParameterDefinitionModel, CoreManagementInstallParameterModel, CoreManagementSmartSpacePlan, CoreManagementSmartSpaceUpgrade, DataSetItem, DataSetsDataSet, DataSetsDataSetProperty, DataSourceContainer, DataSourcesContainerPreviewResultModel, DataSourcesDataSource, DataSourcesDataSourceAdminUser, DataSourcesDataSourceContainer, DataSourcesDataSourceType, DataSourcesTestConnectionResult, DataSpacesDataSpace, DataSpacesDataSpaceAdmin, DebugLogsResponse, DraftsDraft, DraftsPublishDraftResponse, DraftsSaveDraftResponse, EnumsPermissions, FilesFile, FilesFileUriResponse, FilesIngestedBlob, FlowsFlowDefinition, FlowsFlowRun, FlowsFlowRunCancelResult, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiBlockSourceResponse, IntegrationsSmartSpaceAiDebugLogsResponse, IntegrationsSmartSpaceAiFunctionExecutionDebugModel, IntegrationsSmartSpaceAiSdkBlockRef, IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun, ManagedSecretsManagedSecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelDeployableModel, ModelModelDeploymentProvider, ModelModelProviderType, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAccessAccessWorkSpace, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAiModelSummary, PagedDataCollectionAzureADGroup, PagedDataCollectionContainerItem, PagedDataCollectionDataSetsDataSet, PagedDataCollectionDataSourcesDataSource, PagedDataCollectionDataSpacesDataSpace, PagedDataCollectionFilesIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionSyncsSync, PagedDataCollectionUsersAppAccessUser, PagedDataCollectionUsersAppUserDetail, PagedDataCollectionUsersAppUserSearchResult, PagedDataCollectionUsersServicePrincipalDetail, PagedDataCollectionUsersServicePrincipalSearchResult, PagedDataCollectionWorkSpaceTemplatesTemplate, PagedDataCollectionWorkSpacesWorkSpace, PagedDataSystemCollectionsGenericICollectionDataSetItem, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory, PagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun, ReingestResult, ReportingReportDefinitionSystemDateTime, SmartSpacePlanUsage, SyncsSync, SyncsSyncQueueState, UsageFlowRunInvocation, 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;
@@ -62,6 +62,7 @@ export declare const getFlowRunsGetFileFromFlowRunIdResponseMock: (overrideRespo
62
62
  export declare const getFlowRunsCancelFlowRunResponseMock: (overrideResponse?: Partial<FlowsFlowRunCancelResult>) => FlowsFlowRunCancelResult;
63
63
  export declare const getFlowRunsGetStepExecutionsResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiDebugLogsResponse>) => IntegrationsSmartSpaceAiDebugLogsResponse;
64
64
  export declare const getFlowRunsGetStepExecutionResponseMock: (overrideResponse?: Partial<IntegrationsSmartSpaceAiFunctionExecutionDebugModel>) => IntegrationsSmartSpaceAiFunctionExecutionDebugModel;
65
+ export declare const getFlowRunsGetInvocationsResponseMock: () => UsageFlowRunInvocation[];
65
66
  export declare const getFlowRunsGetVariablesResponseMock: () => FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three;
66
67
  export declare const getInstallParametersListResponseMock: () => CoreManagementInstallParameterModel[];
67
68
  export declare const getInstallParametersGetRegistryResponseMock: () => CoreManagementInstallParameterDefinitionModel[];
@@ -74,6 +75,7 @@ export declare const getModelsGetModelsResponseMock: (overrideResponse?: Partial
74
75
  export declare const getModelsGetDefaultModelResponseMock: (overrideResponse?: Partial<AiModelSummary | void>) => AiModelSummary | void;
75
76
  export declare const getModelsGetDefaultDockerFileResponseMock: () => string;
76
77
  export declare const getModelsGetModelResponseMock: (overrideResponse?: Partial<AiModel>) => AiModel;
78
+ export declare const getModelsGetModelDeploymentResponseMock: (overrideResponse?: Partial<AiModelDeployment>) => AiModelDeployment;
77
79
  export declare const getModelsGetDeploymentDockerLogsResponseMock: () => string;
78
80
  export declare const getModelsGetModelHealthResponseMock: () => MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus;
79
81
  export declare const getNotificationGetResponseMock: (overrideResponse?: Partial<NotificationsPagedNotifications>) => NotificationsPagedNotifications;
@@ -222,6 +224,7 @@ export declare const getFlowRunsAddFileIdFilesMockHandler: (overrideResponse?: v
222
224
  export declare const getFlowRunsAddFileIdFilesExistingMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
223
225
  export declare const getFlowRunsGetStepExecutionsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiDebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiDebugLogsResponse> | IntegrationsSmartSpaceAiDebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
224
226
  export declare const getFlowRunsGetStepExecutionMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiFunctionExecutionDebugModel | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiFunctionExecutionDebugModel> | IntegrationsSmartSpaceAiFunctionExecutionDebugModel), options?: RequestHandlerOptions) => import("msw").HttpHandler;
227
+ export declare const getFlowRunsGetInvocationsMockHandler: (overrideResponse?: UsageFlowRunInvocation[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UsageFlowRunInvocation[]> | UsageFlowRunInvocation[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
225
228
  export declare const getFlowRunsGetFlowValueDownloadMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
226
229
  export declare const getFlowRunsGetVariablesMockHandler: (overrideResponse?: FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three> | FlowRunsGetVariables200One | FlowRunsGetVariables200Two | FlowRunsGetVariables200Three), options?: RequestHandlerOptions) => import("msw").HttpHandler;
227
230
  export declare const getFlowRunsSetVariableMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
@@ -248,6 +251,7 @@ export declare const getModelsGetModelMockHandler: (overrideResponse?: AiModel |
248
251
  export declare const getModelsUpsertModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
249
252
  export declare const getModelsClearDefaultModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
250
253
  export declare const getModelsSetDefaultModelMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
254
+ export declare const getModelsGetModelDeploymentMockHandler: (overrideResponse?: AiModelDeployment | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AiModelDeployment> | AiModelDeployment), options?: RequestHandlerOptions) => import("msw").HttpHandler;
251
255
  export declare const getModelsGetDeploymentDockerLogsMockHandler: (overrideResponse?: string | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<string> | string), options?: RequestHandlerOptions) => import("msw").HttpHandler;
252
256
  export declare const getModelsGetModelHealthMockHandler: (overrideResponse?: MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus> | MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus), options?: RequestHandlerOptions) => import("msw").HttpHandler;
253
257
  export declare const getNotificationGetMockHandler: (overrideResponse?: NotificationsPagedNotifications | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<NotificationsPagedNotifications> | NotificationsPagedNotifications), options?: RequestHandlerOptions) => import("msw").HttpHandler;