@smartspace/api-client 0.1.0-dev.d34eaae → 0.1.0-dev.d38c0b3

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 (175) hide show
  1. package/dist/generated/chat/api.d.ts +52 -47
  2. package/dist/generated/chat/api.js +146 -139
  3. package/dist/generated/chat/api.msw.d.ts +8 -4
  4. package/dist/generated/chat/api.msw.js +47 -12
  5. package/dist/generated/chat/models/aiModel.d.ts +7 -5
  6. package/dist/generated/chat/models/aiModelDeployment.d.ts +3 -2
  7. package/dist/generated/chat/models/aiModelDeploymentProperty.d.ts +11 -0
  8. package/dist/generated/chat/models/aiModelDeploymentProperty.js +2 -0
  9. package/dist/generated/chat/models/aiModelDeploymentVirtualMachineServerType.d.ts +11 -0
  10. package/dist/generated/chat/models/aiModelDeploymentVirtualMachineServerType.js +2 -0
  11. package/dist/generated/chat/models/aiModelModelDeploymentProviderType.d.ts +11 -0
  12. package/dist/generated/chat/models/aiModelModelDeploymentProviderType.js +2 -0
  13. package/dist/generated/chat/models/aiModelSummary.d.ts +7 -5
  14. package/dist/generated/chat/models/aiModelSummaryDeploymentStatus.d.ts +11 -0
  15. package/dist/generated/chat/models/aiModelSummaryDeploymentStatus.js +2 -0
  16. package/dist/generated/chat/models/aiModelSummaryModelDeploymentProviderType.d.ts +11 -0
  17. package/dist/generated/chat/models/aiModelSummaryModelDeploymentProviderType.js +2 -0
  18. package/dist/generated/chat/models/changeTagsTopic.d.ts +11 -0
  19. package/dist/generated/chat/models/changeTagsTopic.js +8 -0
  20. package/dist/generated/chat/models/enumsModelPublisher.d.ts +1 -0
  21. package/dist/generated/chat/models/enumsModelPublisher.js +1 -0
  22. package/dist/generated/chat/models/index.d.ts +12 -0
  23. package/dist/generated/chat/models/index.js +12 -0
  24. package/dist/generated/chat/models/messageThreadThreadEvent.d.ts +12 -0
  25. package/dist/generated/chat/models/messageThreadThreadEvent.js +8 -0
  26. package/dist/generated/chat/models/messagesMessageDelta.d.ts +14 -0
  27. package/dist/generated/chat/models/messagesMessageDelta.js +2 -0
  28. package/dist/generated/chat/models/notificationGetParams.d.ts +6 -4
  29. package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  30. package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.js +8 -0
  31. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  32. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.js +8 -0
  33. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  34. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.js +8 -0
  35. package/dist/generated/chat/models/streamingThreadStreamFrame.d.ts +22 -0
  36. package/dist/generated/chat/models/streamingThreadStreamFrame.js +2 -0
  37. package/dist/generated/chat/models/workSpacesGetAccessParams.d.ts +10 -2
  38. package/dist/generated/chat/models/workSpacesGetGetParams.d.ts +10 -2
  39. package/dist/generated/chat/operation-tags.d.ts +2 -2
  40. package/dist/generated/chat/operation-tags.js +2 -2
  41. package/dist/generated/chat/zod.d.ts +262 -16
  42. package/dist/generated/chat/zod.js +268 -22
  43. package/dist/generated/config/api.d.ts +220 -212
  44. package/dist/generated/config/api.js +457 -431
  45. package/dist/generated/config/api.msw.d.ts +31 -15
  46. package/dist/generated/config/api.msw.js +193 -72
  47. package/dist/generated/config/change-tags.d.ts +1 -0
  48. package/dist/generated/config/change-tags.js +1 -0
  49. package/dist/generated/config/models/accessGetGroupsParams.d.ts +8 -0
  50. package/dist/generated/config/models/accessGetUsersInRoleRolesRoleIdUsersParams.d.ts +9 -1
  51. package/dist/generated/config/models/accessGetUsersInRoleUsersParams.d.ts +10 -2
  52. package/dist/generated/config/models/accessSearchGroupsParams.d.ts +8 -0
  53. package/dist/generated/config/models/accessSearchServicePrincipalsParams.d.ts +8 -0
  54. package/dist/generated/config/models/accessSearchUsersParams.d.ts +8 -0
  55. package/dist/generated/config/models/activitiesActivityWorkSpace.d.ts +1 -1
  56. package/dist/generated/config/models/aiCreateModel.d.ts +4 -3
  57. package/dist/generated/config/models/aiCreateModelDeployment.d.ts +3 -2
  58. package/dist/generated/config/models/aiCreateModelDeploymentProviderProperty.d.ts +11 -0
  59. package/dist/generated/config/models/aiCreateModelDeploymentProviderProperty.js +2 -0
  60. package/dist/generated/config/models/aiCreateModelPublisher.d.ts +11 -0
  61. package/dist/generated/config/models/aiCreateModelPublisher.js +2 -0
  62. package/dist/generated/config/models/aiModel.d.ts +7 -5
  63. package/dist/generated/config/models/aiModelDeployment.d.ts +3 -2
  64. package/dist/generated/config/models/aiModelDeploymentProperty.d.ts +11 -0
  65. package/dist/generated/config/models/aiModelDeploymentProperty.js +2 -0
  66. package/dist/generated/config/models/aiModelDeploymentVirtualMachineServerType.d.ts +11 -0
  67. package/dist/generated/config/models/aiModelDeploymentVirtualMachineServerType.js +2 -0
  68. package/dist/generated/config/models/aiModelModelDeploymentProviderType.d.ts +11 -0
  69. package/dist/generated/config/models/aiModelModelDeploymentProviderType.js +2 -0
  70. package/dist/generated/config/models/aiModelSummary.d.ts +7 -5
  71. package/dist/generated/config/models/aiModelSummaryDeploymentStatus.d.ts +11 -0
  72. package/dist/generated/config/models/aiModelSummaryDeploymentStatus.js +2 -0
  73. package/dist/generated/config/models/aiModelSummaryModelDeploymentProviderType.d.ts +11 -0
  74. package/dist/generated/config/models/aiModelSummaryModelDeploymentProviderType.js +2 -0
  75. package/dist/generated/config/models/changeTagsChangeTag.d.ts +1 -0
  76. package/dist/generated/config/models/changeTagsChangeTag.js +1 -0
  77. package/dist/generated/config/models/changeTagsTopic.d.ts +11 -0
  78. package/dist/generated/config/models/dataSetsGetItemsParams.d.ts +8 -0
  79. package/dist/generated/config/models/dataSetsGetParams.d.ts +10 -2
  80. package/dist/generated/config/models/dataSourcesContainerSchema200One.d.ts +9 -0
  81. package/dist/generated/config/models/dataSourcesContainerSchema200One.js +8 -0
  82. package/dist/generated/config/models/dataSourcesContainerSchema200Three.d.ts +9 -0
  83. package/dist/generated/config/models/dataSourcesContainerSchema200Three.js +8 -0
  84. package/dist/generated/config/models/dataSourcesContainerSchema200Two.d.ts +9 -0
  85. package/dist/generated/config/models/dataSourcesContainerSchema200Two.js +8 -0
  86. package/dist/generated/config/models/dataSourcesGetParams.d.ts +10 -2
  87. package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +10 -2
  88. package/dist/generated/config/models/dataSpacesGetParams.d.ts +10 -2
  89. package/dist/generated/config/models/enumsModelPublisher.d.ts +1 -0
  90. package/dist/generated/config/models/enumsModelPublisher.js +1 -0
  91. package/dist/generated/config/models/flowRunReference.d.ts +10 -0
  92. package/dist/generated/config/models/flowRunReference.js +8 -0
  93. package/dist/generated/config/models/flowRunsGetFlowRunParams.d.ts +12 -0
  94. package/dist/generated/config/models/flowRunsGetFlowRunParams.js +8 -0
  95. package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +1 -1
  96. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +4 -0
  97. package/dist/generated/config/models/flowsFlowRun.d.ts +8 -4
  98. package/dist/generated/config/models/flowsFlowRunDataSet.d.ts +11 -0
  99. package/dist/generated/config/models/flowsFlowRunDataSet.js +2 -0
  100. package/dist/generated/config/models/flowsFlowRunWorkSpace.d.ts +11 -0
  101. package/dist/generated/config/models/flowsFlowRunWorkSpace.js +2 -0
  102. package/dist/generated/config/models/index.d.ts +39 -1
  103. package/dist/generated/config/models/index.js +39 -1
  104. package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.d.ts +15 -0
  105. package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.js +2 -0
  106. package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.d.ts +18 -0
  107. package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.js +2 -0
  108. package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.d.ts +10 -0
  109. package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.js +8 -0
  110. package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.d.ts +14 -0
  111. package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.js +2 -0
  112. package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.d.ts +33 -0
  113. package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.js +2 -0
  114. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.d.ts +16 -0
  115. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.js +2 -0
  116. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.d.ts +9 -0
  117. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.js +8 -0
  118. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.d.ts +10 -0
  119. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.js +8 -0
  120. package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.d.ts +15 -0
  121. package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.js +2 -0
  122. package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.d.ts +10 -0
  123. package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.js +8 -0
  124. package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.d.ts +16 -0
  125. package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.js +2 -0
  126. package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.d.ts +18 -0
  127. package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.js +8 -0
  128. package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.d.ts +11 -0
  129. package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.js +8 -0
  130. package/dist/generated/config/models/messageThreadThreadEvent.d.ts +12 -0
  131. package/dist/generated/config/models/messageThreadThreadEvent.js +8 -0
  132. package/dist/generated/config/models/messagesMessageDelta.d.ts +14 -0
  133. package/dist/generated/config/models/messagesMessageDelta.js +2 -0
  134. package/dist/generated/config/models/modelModelDeploymentProvider.d.ts +3 -2
  135. package/dist/generated/config/models/modelModelDeploymentProviderType.d.ts +11 -0
  136. package/dist/generated/config/models/modelModelDeploymentProviderType.js +2 -0
  137. package/dist/generated/config/models/modelModelProviderType.d.ts +1 -1
  138. package/dist/generated/config/models/notificationGetParams.d.ts +6 -4
  139. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  140. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.js +8 -0
  141. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  142. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.js +8 -0
  143. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  144. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.js +8 -0
  145. package/dist/generated/config/models/reportingReportSeries.d.ts +10 -0
  146. package/dist/generated/config/models/restoresRestoreExecution.d.ts +14 -0
  147. package/dist/generated/config/models/restoresRestoreExecution.js +8 -0
  148. package/dist/generated/config/models/restoresRestoreStarted.d.ts +9 -0
  149. package/dist/generated/config/models/restoresRestoreStarted.js +8 -0
  150. package/dist/generated/config/models/restoresStartRestore.d.ts +12 -0
  151. package/dist/generated/config/models/restoresStartRestore.js +8 -0
  152. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +9 -1
  153. package/dist/generated/config/models/streamingThreadStreamFrame.d.ts +22 -0
  154. package/dist/generated/config/models/streamingThreadStreamFrame.js +2 -0
  155. package/dist/generated/config/models/usersGetAccessWorkSpacesParams.d.ts +4 -2
  156. package/dist/generated/config/models/usersGetUsersParams.d.ts +8 -0
  157. package/dist/generated/config/models/workSpaceTemplatesGetParams.d.ts +6 -7
  158. package/dist/generated/config/models/workSpaceTemplatesTemplate.d.ts +4 -3
  159. package/dist/generated/config/models/workSpaceTemplatesTemplateLatestVersion.d.ts +11 -0
  160. package/dist/generated/config/models/workSpaceTemplatesTemplateLatestVersion.js +2 -0
  161. package/dist/generated/config/models/workSpacesGetGetParams.d.ts +10 -2
  162. package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.d.ts +9 -1
  163. package/dist/generated/config/operation-tags.d.ts +8 -2
  164. package/dist/generated/config/operation-tags.js +8 -2
  165. package/dist/generated/config/zod.d.ts +602 -83
  166. package/dist/generated/config/zod.js +624 -119
  167. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +25 -4
  168. package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
  169. package/dist/index.d.ts +1 -1
  170. package/dist/index.js +3 -1
  171. package/dist/instance.d.ts +14 -3
  172. package/dist/instance.js +29 -3
  173. package/package.json +4 -3
  174. package/dist/generated/config/models/flowRunsSearchFlowRunsParams.d.ts +0 -25
  175. /package/dist/generated/config/models/{flowRunsSearchFlowRunsParams.js → changeTagsTopic.js} +0 -0
@@ -6,7 +6,7 @@ const getSmartSpaceChatAPI = () => {
6
6
  /**
7
7
  * @summary Upload files to be referenced in requests (supports full and chunked uploads).
8
8
  */
9
- const filesUploadFiles = (filesUploadFilesBody) => {
9
+ const filesUploadFiles = (filesUploadFilesBody, options) => {
10
10
  const formData = new FormData();
11
11
  if (filesUploadFilesBody.chunkIndex !== undefined) {
12
12
  formData.append(`chunkIndex`, filesUploadFilesBody.chunkIndex.toString());
@@ -29,105 +29,105 @@ const getSmartSpaceChatAPI = () => {
29
29
  if (filesUploadFilesBody.workspaceId !== undefined) {
30
30
  formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
31
31
  }
32
- return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
32
+ return (0, instance_1.customChatInstance)({ url: `/v1/Files`, method: 'POST',
33
33
  headers: { 'Content-Type': 'multipart/form-data', },
34
34
  data: formData
35
- });
35
+ }, options);
36
36
  };
37
37
  /**
38
38
  * @summary Get details for a file previously uploaded.
39
39
  */
40
- const filesGetFileInfo = (id, params) => {
41
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
40
+ const filesGetFileInfo = (id, params, options) => {
41
+ return (0, instance_1.customChatInstance)({ url: `/v1/Files/${id}`, method: 'GET',
42
42
  params
43
- });
43
+ }, options);
44
44
  };
45
45
  /**
46
46
  * @summary Download a previously uploaded file.
47
47
  */
48
- const filesDownloadFile = (id, params) => {
49
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
48
+ const filesDownloadFile = (id, params, options) => {
49
+ return (0, instance_1.customChatInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
50
50
  params
51
- });
51
+ }, options);
52
52
  };
53
53
  /**
54
54
  * @summary Get URI of a previously uploaded file.
55
55
  */
56
- const filesGetUri = (id, params) => {
57
- return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
56
+ const filesGetUri = (id, params, options) => {
57
+ return (0, instance_1.customChatInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
58
58
  params
59
- });
59
+ }, options);
60
60
  };
61
61
  /**
62
62
  * @summary Requests cancellation of a queued or running flow run (the chat
63
63
  thread id is the flow run id). Cancellation is cooperative: the
64
64
  engine stops between block executions, typically within seconds.
65
65
  */
66
- const flowRunsCancelFlowRun = (id) => {
67
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
68
- });
66
+ const flowRunsCancelFlowRun = (id, options) => {
67
+ return (0, instance_1.customChatInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
68
+ }, options);
69
69
  };
70
- const flowRunsGetVariables = (id) => {
71
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
72
- });
70
+ const flowRunsGetVariables = (id, options) => {
71
+ return (0, instance_1.customChatInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
72
+ }, options);
73
73
  };
74
- const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
75
- return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
74
+ const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody, options) => {
75
+ return (0, instance_1.customChatInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
76
76
  headers: { 'Content-Type': 'application/*+json', },
77
77
  data: flowRunsSetVariableBody
78
- });
78
+ }, options);
79
79
  };
80
80
  /**
81
81
  * @summary Delete a specific message thread from SmartSpace, using it's ID.
82
82
  */
83
- const messageThreadsThreadId = (id) => {
84
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}`, method: 'DELETE'
85
- });
83
+ const messageThreadsThreadId = (id, options) => {
84
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}`, method: 'DELETE'
85
+ }, options);
86
86
  };
87
- const messageThreadsGetMessageThreadId = (id) => {
88
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}`, method: 'GET'
89
- });
87
+ const messageThreadsGetMessageThreadId = (id, options) => {
88
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}`, method: 'GET'
89
+ }, options);
90
90
  };
91
91
  /**
92
92
  * @summary Retrieve comments from a specified message thread in SmartSpace, using the thread's ID, with take and skip for pagination control.
93
93
  */
94
- const messageThreadsGetComments = (id, params) => {
95
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'GET',
94
+ const messageThreadsGetComments = (id, params, options) => {
95
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'GET',
96
96
  params
97
- });
97
+ }, options);
98
98
  };
99
99
  /**
100
100
  * @summary Submit a new comment to a specific message thread in SmartSpace, identified by the thread's ID, using the provided comment schema.
101
101
  */
102
- const messageThreadsPostComment = (id, commentCreateComment) => {
103
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'POST',
102
+ const messageThreadsPostComment = (id, commentCreateComment, options) => {
103
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'POST',
104
104
  headers: { 'Content-Type': 'application/*+json', },
105
105
  data: commentCreateComment
106
- });
106
+ }, options);
107
107
  };
108
108
  /**
109
109
  * @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
110
110
  */
111
- const messageThreadsSetFavoritedChat = (id, boolean) => {
112
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/favorited`, method: 'PUT',
111
+ const messageThreadsSetFavoritedChat = (id, boolean, options) => {
112
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/favorited`, method: 'PUT',
113
113
  headers: { 'Content-Type': 'application/*+json', },
114
114
  data: boolean
115
- });
115
+ }, options);
116
116
  };
117
117
  /**
118
118
  * @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
119
119
  */
120
- const messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages = (id) => {
121
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
122
- });
120
+ const messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages = (id, options) => {
121
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
122
+ }, options);
123
123
  };
124
124
  /**
125
125
  * @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
126
126
  */
127
- const messageThreadsThreadMessagesIdMessages = (id, params) => {
128
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messages`, method: 'GET',
127
+ const messageThreadsThreadMessagesIdMessages = (id, params, options) => {
128
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/messages`, method: 'GET',
129
129
  params
130
- });
130
+ }, options);
131
131
  };
132
132
  /**
133
133
  * @summary SSE stream of all messages on a thread. First frame is the thread
@@ -136,32 +136,32 @@ const getSmartSpaceChatAPI = () => {
136
136
  are per-message chunk updates as they arrive. Cumulative deltas
137
137
  mean reconnect is just "re-open" — no cursor handshake.
138
138
  */
139
- const messageThreadsStreamThreadMessagesIdMessagesStream = (id) => {
140
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messages/stream`, method: 'GET'
141
- });
139
+ const messageThreadsStreamThreadMessagesIdMessagesStream = (id, options) => {
140
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/messages/stream`, method: 'GET'
141
+ }, options);
142
142
  };
143
143
  /**
144
144
  * @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
145
145
  */
146
- const messageThreadsThreadIdName = (id, messageThreadsThreadIdNameBody) => {
147
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/name`, method: 'PUT',
146
+ const messageThreadsThreadIdName = (id, messageThreadsThreadIdNameBody, options) => {
147
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${id}/name`, method: 'PUT',
148
148
  headers: { 'Content-Type': 'application/*+json', },
149
149
  data: messageThreadsThreadIdNameBody
150
- });
150
+ }, options);
151
151
  };
152
152
  /**
153
153
  * @summary Get the users who have access to a specific message thread.
154
154
  */
155
- const messageThreadsGetThreadUsers = (threadId) => {
156
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${threadId}/users`, method: 'GET'
157
- });
155
+ const messageThreadsGetThreadUsers = (threadId, options) => {
156
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${threadId}/users`, method: 'GET'
157
+ }, options);
158
158
  };
159
159
  /**
160
160
  * @summary Add a user to a message thread.
161
161
  */
162
- const messageThreadsAddThreadUser = (threadId, userId) => {
163
- return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
164
- });
162
+ const messageThreadsAddThreadUser = (threadId, userId, options) => {
163
+ return (0, instance_1.customChatInstance)({ url: `/v1/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
164
+ }, options);
165
165
  };
166
166
  /**
167
167
  * @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
@@ -171,11 +171,11 @@ const getSmartSpaceChatAPI = () => {
171
171
  Clients that prefer to return immediately and subscribe to the SSE stream should use
172
172
  `POST /messages/start` instead.
173
173
  */
174
- const messagesThreadMessages = (messagesMessageRequest) => {
175
- return (0, instance_1.customInstance)({ url: `/v1/Messages`, method: 'POST',
174
+ const messagesThreadMessages = (messagesMessageRequest, options) => {
175
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages`, method: 'POST',
176
176
  headers: { 'Content-Type': 'application/*+json', },
177
177
  data: messagesMessageRequest
178
- });
178
+ }, options);
179
179
  };
180
180
  /**
181
181
  * @summary Starts a flow run on a thread and returns immediately with the initial Message
@@ -185,35 +185,35 @@ const getSmartSpaceChatAPI = () => {
185
185
  the database. Use this endpoint when the client subscribes to the SSE stream for
186
186
  live updates instead of waiting for the flow to complete.
187
187
  */
188
- const messagesStartThreadMessage = (messagesMessageRequest) => {
189
- return (0, instance_1.customInstance)({ url: `/v1/Messages/start`, method: 'POST',
188
+ const messagesStartThreadMessage = (messagesMessageRequest, options) => {
189
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages/start`, method: 'POST',
190
190
  headers: { 'Content-Type': 'application/*+json', },
191
191
  data: messagesMessageRequest
192
- });
192
+ }, options);
193
193
  };
194
194
  /**
195
195
  * @summary Remove a specific message from SmartSpace using its ID.
196
196
  */
197
- const messagesMessage = (id) => {
198
- return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}`, method: 'DELETE'
199
- });
197
+ const messagesMessage = (id, options) => {
198
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages/${id}`, method: 'DELETE'
199
+ }, options);
200
200
  };
201
201
  /**
202
202
  * @summary Retrieve comments attached to a specific message in SmartSpace, using the message's ID, with pagination options 'take' and 'skip'.
203
203
  */
204
- const messagesGetComments = (id, params) => {
205
- return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/comments`, method: 'GET',
204
+ const messagesGetComments = (id, params, options) => {
205
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages/${id}/comments`, method: 'GET',
206
206
  params
207
- });
207
+ }, options);
208
208
  };
209
209
  /**
210
210
  * @summary Add a new comment to a message in SmartSpace, using the message's ID and comment details in the request.
211
211
  */
212
- const messagesPostComment = (id, commentCreateComment) => {
213
- return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/comments`, method: 'POST',
212
+ const messagesPostComment = (id, commentCreateComment, options) => {
213
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages/${id}/comments`, method: 'POST',
214
214
  headers: { 'Content-Type': 'application/*+json', },
215
215
  data: commentCreateComment
216
- });
216
+ }, options);
217
217
  };
218
218
  /**
219
219
  * @summary Append a new input value to an in-flight message and stream successive
@@ -222,169 +222,176 @@ const getSmartSpaceChatAPI = () => {
222
222
  a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
223
223
  frame being the authoritative completed message.
224
224
  */
225
- const messagesAddValueToMessage = (id, messagesCreateMessageInput) => {
226
- return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/values`, method: 'POST',
225
+ const messagesAddValueToMessage = (id, messagesCreateMessageInput, options) => {
226
+ return (0, instance_1.customChatInstance)({ url: `/v1/Messages/${id}/values`, method: 'POST',
227
227
  headers: { 'Content-Type': 'application/*+json', },
228
228
  data: messagesCreateMessageInput
229
- });
229
+ }, options);
230
230
  };
231
231
  /**
232
232
  * @summary Retrieves a list of models.
233
233
  */
234
- const modelsGetModels = (params) => {
235
- return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
234
+ const modelsGetModels = (params, options) => {
235
+ return (0, instance_1.customChatInstance)({ url: `/v1/Models`, method: 'GET',
236
236
  params
237
- });
237
+ }, options);
238
238
  };
239
239
  /**
240
240
  * @summary Retrieves a model by its ID.
241
241
  */
242
- const modelsGetModel = (id) => {
243
- return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
244
- });
242
+ const modelsGetModel = (id, options) => {
243
+ return (0, instance_1.customChatInstance)({ url: `/v1/Models/${id}`, method: 'GET'
244
+ }, options);
245
245
  };
246
246
  /**
247
247
  * @summary Retrieve notifications for user login.
248
248
  */
249
- const notificationGet = (params) => {
250
- return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
249
+ const notificationGet = (params, options) => {
250
+ return (0, instance_1.customChatInstance)({ url: `/v1/Notification`, method: 'GET',
251
251
  params
252
- });
252
+ }, options);
253
253
  };
254
254
  /**
255
255
  * @summary Update: mark read notifications.
256
256
  */
257
- const notificationPutUpdate = (notificationPutUpdateBody) => {
258
- return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
257
+ const notificationPutUpdate = (notificationPutUpdateBody, options) => {
258
+ return (0, instance_1.customChatInstance)({ url: `/v1/Notification/update`, method: 'PUT',
259
259
  headers: { 'Content-Type': 'application/*+json', },
260
260
  data: notificationPutUpdateBody
261
- });
261
+ }, options);
262
262
  };
263
263
  /**
264
264
  * @summary Update: mark read all notifications.
265
265
  */
266
- const notificationPutUpdateall = () => {
267
- return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
268
- });
266
+ const notificationPutUpdateall = (options) => {
267
+ return (0, instance_1.customChatInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
268
+ }, options);
269
269
  };
270
270
  /**
271
271
  * @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
272
272
  should connect. The UI decides whether to render the microphone from this, so it answers for
273
273
  the install rather than failing: an install without speech reports enabled = false.
274
274
  */
275
- const speechGetConfig = () => {
276
- return (0, instance_1.customInstance)({ url: `/v1/Speech/config`, method: 'GET'
277
- });
275
+ const speechGetConfig = (options) => {
276
+ return (0, instance_1.customChatInstance)({ url: `/v1/Speech/config`, method: 'GET'
277
+ }, options);
278
278
  };
279
279
  /**
280
280
  * @summary A token from this install's Speech account token service, which the browser passes straight
281
281
  to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
282
282
  recognition on this one resource in one region.
283
283
  */
284
- const speechGetToken = () => {
285
- return (0, instance_1.customInstance)({ url: `/v1/Speech/token`, method: 'GET'
286
- });
284
+ const speechGetToken = (options) => {
285
+ return (0, instance_1.customChatInstance)({ url: `/v1/Speech/token`, method: 'GET'
286
+ }, options);
287
287
  };
288
288
  /**
289
289
  * @summary Retrieves the profile photo for a user. Returns the raw JPEG image with HTTP cache headers
290
290
  so browsers can cache the image via standard img src usage.
291
291
  */
292
- const usersGetUserPhoto = (id) => {
293
- return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
292
+ const usersGetUserPhoto = (id, options) => {
293
+ return (0, instance_1.customChatInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
294
294
  responseType: 'blob'
295
- });
295
+ }, options);
296
296
  };
297
297
  /**
298
298
  * @summary Fetches a list of all workspaces with pagination.
299
299
  */
300
- const workSpacesGetGet = (params) => {
301
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
300
+ const workSpacesGetGet = (params, options) => {
301
+ return (0, instance_1.customChatInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
302
302
  params
303
- });
303
+ }, options);
304
304
  };
305
305
  /**
306
306
  * @summary Retrieves a workspace by its ID.
307
307
  */
308
- const workSpacesGetId = (id) => {
309
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
310
- });
308
+ const workSpacesGetId = (id, options) => {
309
+ return (0, instance_1.customChatInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
310
+ }, options);
311
311
  };
312
312
  /**
313
313
  * @summary Retrieves the access control details of a workspace.
314
314
  */
315
- const workSpacesGetAccess = (id, params) => {
316
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/access`, method: 'GET',
315
+ const workSpacesGetAccess = (id, params, options) => {
316
+ return (0, instance_1.customChatInstance)({ url: `/v1/WorkSpaces/${id}/access`, method: 'GET',
317
317
  params
318
- });
318
+ }, options);
319
319
  };
320
320
  /**
321
321
  * @summary Retrieves all message threads associated with a specified workspace.
322
322
  */
323
- const workSpacesThread = (id, params) => {
324
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
323
+ const workSpacesThread = (id, params, options) => {
324
+ return (0, instance_1.customChatInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
325
325
  params
326
- });
326
+ }, options);
327
327
  };
328
- const workSpacesGetUsers = (id, params) => {
329
- return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/users`, method: 'GET',
328
+ const workSpacesGetUsers = (id, params, options) => {
329
+ return (0, instance_1.customChatInstance)({ url: `/v1/WorkSpaces/${id}/users`, method: 'GET',
330
330
  params
331
- });
331
+ }, options);
332
332
  };
333
333
  /**
334
334
  * @summary Retrieve a Shared Access Signature (SAS) for a specific document in a data space, using the dataSpaceId and optional file parameter.
335
335
  */
336
- const documentsGetDocumentSas = (dataSpaceId, params) => {
337
- return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
336
+ const documentsGetDocumentSas = (dataSpaceId, params, options) => {
337
+ return (0, instance_1.customChatInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
338
338
  params
339
- });
339
+ }, options);
340
340
  };
341
341
  /**
342
342
  * @summary Lists every per-user secret and whether the caller has set a value. Never a value.
343
343
  */
344
- const mySecretsGetMySecrets = () => {
345
- return (0, instance_1.customInstance)({ url: `/v1/me/secrets`, method: 'GET'
346
- });
344
+ const mySecretsGetMySecrets = (options) => {
345
+ return (0, instance_1.customChatInstance)({ url: `/v1/me/secrets`, method: 'GET'
346
+ }, options);
347
347
  };
348
348
  /**
349
349
  * @summary Removes the caller's own value on a per-user secret.
350
350
  */
351
- const mySecretsDeleteMySecretValue = (name) => {
352
- return (0, instance_1.customInstance)({ url: `/v1/me/secrets/${name}/value`, method: 'DELETE'
353
- });
351
+ const mySecretsDeleteMySecretValue = (name, options) => {
352
+ return (0, instance_1.customChatInstance)({ url: `/v1/me/secrets/${name}/value`, method: 'DELETE'
353
+ }, options);
354
354
  };
355
355
  /**
356
356
  * @summary Sets or rotates the caller's own value on a per-user secret.
357
357
  */
358
- const mySecretsSetMySecretValue = (name, managedSecretsUpdateManagedSecretValue) => {
359
- return (0, instance_1.customInstance)({ url: `/v1/me/secrets/${name}/value`, method: 'PUT',
358
+ const mySecretsSetMySecretValue = (name, managedSecretsUpdateManagedSecretValue, options) => {
359
+ return (0, instance_1.customChatInstance)({ url: `/v1/me/secrets/${name}/value`, method: 'PUT',
360
360
  headers: { 'Content-Type': 'application/*+json', },
361
361
  data: managedSecretsUpdateManagedSecretValue
362
- });
362
+ }, options);
363
363
  };
364
- const messageThreadsCreateMessageThread = (workspaceId, createMessageThread) => {
365
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads`, method: 'POST',
364
+ /**
365
+ * @summary The OpenAPI document for this API: the operations marked public, in OpenAPI 3.0 JSON.
366
+ */
367
+ const openAPIGetOpenApiDocument = (options) => {
368
+ return (0, instance_1.customChatInstance)({ url: `/v1/openapi.json`, method: 'GET'
369
+ }, options);
370
+ };
371
+ const messageThreadsCreateMessageThread = (workspaceId, createMessageThread, options) => {
372
+ return (0, instance_1.customChatInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads`, method: 'POST',
366
373
  headers: { 'Content-Type': 'application/*+json', },
367
374
  data: createMessageThread
368
- });
375
+ }, options);
369
376
  };
370
- const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId = (workspaceId, id) => {
371
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
372
- });
377
+ const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId = (workspaceId, id, options) => {
378
+ return (0, instance_1.customChatInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
379
+ }, options);
373
380
  };
374
381
  /**
375
382
  * @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
376
383
  */
377
- const messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages = (workspaceId, id) => {
378
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
379
- });
384
+ const messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages = (workspaceId, id, options) => {
385
+ return (0, instance_1.customChatInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
386
+ }, options);
380
387
  };
381
388
  /**
382
389
  * @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
383
390
  */
384
- const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages = (workspaceId, id, params) => {
385
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
391
+ const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages = (workspaceId, id, params, options) => {
392
+ return (0, instance_1.customChatInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
386
393
  params
387
- });
394
+ }, options);
388
395
  };
389
396
  /**
390
397
  * @summary SSE stream of all messages on a thread. First frame is the thread
@@ -393,10 +400,10 @@ const getSmartSpaceChatAPI = () => {
393
400
  are per-message chunk updates as they arrive. Cumulative deltas
394
401
  mean reconnect is just "re-open" — no cursor handshake.
395
402
  */
396
- const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id) => {
397
- return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
398
- });
403
+ const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id, options) => {
404
+ return (0, instance_1.customChatInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
405
+ }, options);
399
406
  };
400
- return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCancelFlowRun, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsStreamThreadMessagesIdMessagesStream, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsAddThreadUser, messagesThreadMessages, messagesStartThreadMessage, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, speechGetConfig, speechGetToken, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, mySecretsGetMySecrets, mySecretsDeleteMySecretValue, mySecretsSetMySecretValue, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
407
+ return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCancelFlowRun, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsStreamThreadMessagesIdMessagesStream, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsAddThreadUser, messagesThreadMessages, messagesStartThreadMessage, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, speechGetConfig, speechGetToken, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, mySecretsGetMySecrets, mySecretsDeleteMySecretValue, mySecretsSetMySecretValue, openAPIGetOpenApiDocument, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
401
408
  };
402
409
  exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
@@ -1,7 +1,7 @@
1
1
  import { http } from 'msw';
2
2
  import type { RequestHandlerOptions } from 'msw';
3
- import type { AiModel, AiModelPropertyBoolean, AiModelPropertyNumber, AiModelPropertyString, CommentComment, FilesFile, FilesFileUriResponse, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, ManagedSecretsMySecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, ModelModelPropertyBoolean, ModelModelPropertyNumber, ModelModelPropertyString, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, UsersAppUser, WorkSpacesWorkSpace } from './models';
4
- import type { FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two } from './models';
3
+ import type { AiModel, AiModelPropertyBoolean, AiModelPropertyNumber, AiModelPropertyString, CommentComment, FilesFile, FilesFileUriResponse, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, ManagedSecretsMySecret, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, ModelModelPropertyBoolean, ModelModelPropertyNumber, ModelModelPropertyString, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, StreamingThreadStreamFrame, UsersAppUser, WorkSpacesWorkSpace } from './models';
4
+ import type { FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, OpenAPIGetOpenApiDocument200One, OpenAPIGetOpenApiDocument200Three, OpenAPIGetOpenApiDocument200Two } from './models';
5
5
  export declare const getFilesUploadFilesResponseMock: () => FilesFile[] | void;
6
6
  export declare const getFilesGetFileInfoResponseMock: (overrideResponse?: Partial<FilesFile>) => FilesFile;
7
7
  export declare const getFilesGetUriResponseMock: (overrideResponse?: Partial<FilesFileUriResponse>) => FilesFileUriResponse;
@@ -11,6 +11,7 @@ export declare const getMessageThreadsGetCommentsResponseMock: (overrideResponse
11
11
  export declare const getMessageThreadsPostCommentResponseMock: (overrideResponse?: Partial<CommentComment>) => CommentComment;
12
12
  export declare const getMessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResponseMock: () => MessagesMessageCreatorProfileImage[];
13
13
  export declare const getMessageThreadsThreadMessagesIdMessagesResponseMock: (overrideResponse?: Partial<PagedDataCollectionMessagesMessage>) => PagedDataCollectionMessagesMessage;
14
+ export declare const getMessageThreadsStreamThreadMessagesIdMessagesStreamResponseMock: (overrideResponse?: Partial<StreamingThreadStreamFrame>) => StreamingThreadStreamFrame;
14
15
  export declare const getMessageThreadsGetThreadUsersResponseMock: () => UsersAppUser[];
15
16
  export declare const getMessagesThreadMessagesResponseMock: (overrideResponse?: Partial<MessagesMessage>) => MessagesMessage;
16
17
  export declare const getMessagesStartThreadMessageResponseMock: (overrideResponse?: Partial<MessagesMessage>) => MessagesMessage;
@@ -42,10 +43,12 @@ export declare const getWorkSpacesThreadResponseMock: (overrideResponse?: Partia
42
43
  export declare const getWorkSpacesGetUsersResponseMock: () => UsersAppUser[];
43
44
  export declare const getDocumentsGetDocumentSasResponseMock: (overrideResponse?: Partial<IntegrationsAzureStorageSasToken>) => IntegrationsAzureStorageSasToken;
44
45
  export declare const getMySecretsGetMySecretsResponseMock: () => ManagedSecretsMySecret[];
46
+ export declare const getOpenAPIGetOpenApiDocumentResponseMock: () => OpenAPIGetOpenApiDocument200One | OpenAPIGetOpenApiDocument200Two | OpenAPIGetOpenApiDocument200Three;
45
47
  export declare const getMessageThreadsCreateMessageThreadResponseMock: (overrideResponse?: Partial<MessageThreadMessageThreadSummary>) => MessageThreadMessageThreadSummary;
46
48
  export declare const getMessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResponseMock: (overrideResponse?: Partial<MessageThreadMessageThreadSummary>) => MessageThreadMessageThreadSummary;
47
49
  export declare const getMessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResponseMock: () => MessagesMessageCreatorProfileImage[];
48
50
  export declare const getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResponseMock: (overrideResponse?: Partial<PagedDataCollectionMessagesMessage>) => PagedDataCollectionMessagesMessage;
51
+ export declare const getMessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamResponseMock: (overrideResponse?: Partial<StreamingThreadStreamFrame>) => StreamingThreadStreamFrame;
49
52
  export declare const getFilesUploadFilesMockHandler: (overrideResponse?: void | FilesFile[] | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<FilesFile[] | void> | FilesFile[] | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
50
53
  export declare const getFilesGetFileInfoMockHandler: (overrideResponse?: FilesFile | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FilesFile> | FilesFile), options?: RequestHandlerOptions) => import("msw").HttpHandler;
51
54
  export declare const getFilesDownloadFileMockHandler: (overrideResponse?: unknown | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<unknown> | unknown), options?: RequestHandlerOptions) => import("msw").HttpHandler;
@@ -60,7 +63,7 @@ export declare const getMessageThreadsPostCommentMockHandler: (overrideResponse?
60
63
  export declare const getMessageThreadsSetFavoritedChatMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
61
64
  export declare const getMessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesMockHandler: (overrideResponse?: MessagesMessageCreatorProfileImage[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessagesMessageCreatorProfileImage[]> | MessagesMessageCreatorProfileImage[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
62
65
  export declare const getMessageThreadsThreadMessagesIdMessagesMockHandler: (overrideResponse?: PagedDataCollectionMessagesMessage | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionMessagesMessage> | PagedDataCollectionMessagesMessage), options?: RequestHandlerOptions) => import("msw").HttpHandler;
63
- export declare const getMessageThreadsStreamThreadMessagesIdMessagesStreamMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
66
+ export declare const getMessageThreadsStreamThreadMessagesIdMessagesStreamMockHandler: (overrideResponse?: StreamingThreadStreamFrame | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<StreamingThreadStreamFrame> | StreamingThreadStreamFrame), options?: RequestHandlerOptions) => import("msw").HttpHandler;
64
67
  export declare const getMessageThreadsThreadIdNameMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
65
68
  export declare const getMessageThreadsGetThreadUsersMockHandler: (overrideResponse?: UsersAppUser[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UsersAppUser[]> | UsersAppUser[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
66
69
  export declare const getMessageThreadsAddThreadUserMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
@@ -87,9 +90,10 @@ export declare const getDocumentsGetDocumentSasMockHandler: (overrideResponse?:
87
90
  export declare const getMySecretsGetMySecretsMockHandler: (overrideResponse?: ManagedSecretsMySecret[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ManagedSecretsMySecret[]> | ManagedSecretsMySecret[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
88
91
  export declare const getMySecretsDeleteMySecretValueMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
89
92
  export declare const getMySecretsSetMySecretValueMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
93
+ export declare const getOpenAPIGetOpenApiDocumentMockHandler: (overrideResponse?: OpenAPIGetOpenApiDocument200One | OpenAPIGetOpenApiDocument200Two | OpenAPIGetOpenApiDocument200Three | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<OpenAPIGetOpenApiDocument200One | OpenAPIGetOpenApiDocument200Two | OpenAPIGetOpenApiDocument200Three> | OpenAPIGetOpenApiDocument200One | OpenAPIGetOpenApiDocument200Two | OpenAPIGetOpenApiDocument200Three), options?: RequestHandlerOptions) => import("msw").HttpHandler;
90
94
  export declare const getMessageThreadsCreateMessageThreadMockHandler: (overrideResponse?: MessageThreadMessageThreadSummary | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<MessageThreadMessageThreadSummary> | MessageThreadMessageThreadSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
91
95
  export declare const getMessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdMockHandler: (overrideResponse?: MessageThreadMessageThreadSummary | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessageThreadMessageThreadSummary> | MessageThreadMessageThreadSummary), options?: RequestHandlerOptions) => import("msw").HttpHandler;
92
96
  export declare const getMessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesMockHandler: (overrideResponse?: MessagesMessageCreatorProfileImage[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MessagesMessageCreatorProfileImage[]> | MessagesMessageCreatorProfileImage[]), options?: RequestHandlerOptions) => import("msw").HttpHandler;
93
97
  export declare const getMessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesMockHandler: (overrideResponse?: PagedDataCollectionMessagesMessage | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionMessagesMessage> | PagedDataCollectionMessagesMessage), options?: RequestHandlerOptions) => import("msw").HttpHandler;
94
- export declare const getMessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
98
+ export declare const getMessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamMockHandler: (overrideResponse?: StreamingThreadStreamFrame | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<StreamingThreadStreamFrame> | StreamingThreadStreamFrame), options?: RequestHandlerOptions) => import("msw").HttpHandler;
95
99
  export declare const getSmartSpaceChatAPIMock: () => import("msw").HttpHandler[];