@smartspace/api-client 0.1.0-dev.434216f → 0.1.0-dev.4343864

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 (25) hide show
  1. package/dist/generated/chat/api.msw.js +5 -5
  2. package/dist/generated/chat/models/messagesMessageError.d.ts +2 -0
  3. package/dist/generated/chat/zod.d.ts +4 -0
  4. package/dist/generated/chat/zod.js +8 -4
  5. package/dist/generated/config/api.d.ts +3 -1
  6. package/dist/generated/config/api.js +15 -4
  7. package/dist/generated/config/api.msw.d.ts +3 -1
  8. package/dist/generated/config/api.msw.js +27 -14
  9. package/dist/generated/config/models/index.d.ts +2 -0
  10. package/dist/generated/config/models/index.js +2 -0
  11. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +6 -0
  12. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +6 -0
  13. package/dist/generated/config/models/messagesMessageError.d.ts +2 -0
  14. package/dist/generated/config/models/reportingGetRequestsParams.d.ts +2 -0
  15. package/dist/generated/config/models/reportingGetTokensParams.d.ts +2 -0
  16. package/dist/generated/config/models/reportingReportSeries.d.ts +4 -0
  17. package/dist/generated/config/models/reportingSplit.d.ts +3 -1
  18. package/dist/generated/config/models/reportingSplit.js +3 -1
  19. package/dist/generated/config/models/usageFlowRunInvocation.d.ts +31 -0
  20. package/dist/generated/config/models/usageFlowRunInvocation.js +2 -0
  21. package/dist/generated/config/models/usageInvocationModelUsage.d.ts +16 -0
  22. package/dist/generated/config/models/usageInvocationModelUsage.js +8 -0
  23. package/dist/generated/config/zod.d.ts +88 -3
  24. package/dist/generated/config/zod.js +81 -18
  25. 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;
@@ -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, 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, {}>>;
@@ -318,6 +319,7 @@ export type FlowRunsAddFileIdFilesResult = NonNullable<Awaited<ReturnType<Return
318
319
  export type FlowRunsAddFileIdFilesExistingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsAddFileIdFilesExisting']>>>;
319
320
  export type FlowRunsGetStepExecutionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetStepExecutions']>>>;
320
321
  export type FlowRunsGetStepExecutionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetStepExecution']>>>;
322
+ export type FlowRunsGetInvocationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetInvocations']>>>;
321
323
  export type FlowRunsGetFlowValueDownloadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetFlowValueDownload']>>>;
322
324
  export type FlowRunsGetVariablesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsGetVariables']>>>;
323
325
  export type FlowRunsSetVariableResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['flowRunsSetVariable']>>>;
@@ -794,6 +794,16 @@ const getSmartSpaceAdminAPI = () => {
794
794
  return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
795
795
  });
796
796
  };
797
+ /**
798
+ * Read from SQL only. Gated like the run read: 404 for a run the caller may not see.
799
+ Cost sums the priced calls; unpricedCalls says how many calls it leaves out.
800
+ * @summary A run's invocations, oldest first: on a chat thread one per message, on an
801
+ ingestion run one. Each carries its model calls summed by model and round.
802
+ */
803
+ const flowRunsGetInvocations = (id) => {
804
+ return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/invocations`, method: 'GET'
805
+ });
806
+ };
797
807
  /**
798
808
  * Redirects to short-lived direct-from-storage link, so the payload never
799
809
  transits this service — the same pattern as file downloads. Only values the
@@ -1060,7 +1070,7 @@ const getSmartSpaceAdminAPI = () => {
1060
1070
  });
1061
1071
  };
1062
1072
  /**
1063
- * @summary Gets the number of requests by a specified duration
1073
+ * @summary Gets the number of flow invocations by a specified duration
1064
1074
  */
1065
1075
  const reportingGetRequests = (duration, params) => {
1066
1076
  return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
@@ -1068,7 +1078,7 @@ const getSmartSpaceAdminAPI = () => {
1068
1078
  });
1069
1079
  };
1070
1080
  /**
1071
- * @summary Gets the number of tokens by a specified duration
1081
+ * @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
1082
  */
1073
1083
  const reportingGetTokens = (duration, params) => {
1074
1084
  return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
@@ -1536,7 +1546,8 @@ const getSmartSpaceAdminAPI = () => {
1536
1546
  };
1537
1547
  /**
1538
1548
  * @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.
1549
+ runs, CallFlow sub-runs). Proxies the AI API's workspace run store and
1550
+ joins each run's usage totals from SQL.
1540
1551
  */
1541
1552
  const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
1542
1553
  return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
@@ -1613,6 +1624,6 @@ const getSmartSpaceAdminAPI = () => {
1613
1624
  data: messagesCreateMessageInput
1614
1625
  });
1615
1626
  };
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 };
1627
+ 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, 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
1628
  };
1618
1629
  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, 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[];
@@ -222,6 +223,7 @@ export declare const getFlowRunsAddFileIdFilesMockHandler: (overrideResponse?: v
222
223
  export declare const getFlowRunsAddFileIdFilesExistingMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
223
224
  export declare const getFlowRunsGetStepExecutionsMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiDebugLogsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiDebugLogsResponse> | IntegrationsSmartSpaceAiDebugLogsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
224
225
  export declare const getFlowRunsGetStepExecutionMockHandler: (overrideResponse?: IntegrationsSmartSpaceAiFunctionExecutionDebugModel | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsSmartSpaceAiFunctionExecutionDebugModel> | IntegrationsSmartSpaceAiFunctionExecutionDebugModel), options?: RequestHandlerOptions) => import("msw").HttpHandler;
226
+ export declare const getFlowRunsGetInvocationsMockHandler: (overrideResponse?: UsageFlowRunInvocation[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UsageFlowRunInvocation[]> | UsageFlowRunInvocation[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
225
227
  export declare const getFlowRunsGetFlowValueDownloadMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
226
228
  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
229
  export declare const getFlowRunsSetVariableMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;