@smartspace/api-client 0.1.0-dev.811d12d → 0.1.0-dev.812dc89

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 (74) hide show
  1. package/dist/generated/chat/api.d.ts +3 -3
  2. package/dist/generated/chat/api.msw.d.ts +5 -3
  3. package/dist/generated/chat/api.msw.js +26 -10
  4. package/dist/generated/chat/models/index.d.ts +3 -0
  5. package/dist/generated/chat/models/index.js +3 -0
  6. package/dist/generated/chat/models/messageThreadThreadEvent.d.ts +12 -0
  7. package/dist/generated/chat/models/messageThreadThreadEvent.js +8 -0
  8. package/dist/generated/chat/models/messagesMessageDelta.d.ts +14 -0
  9. package/dist/generated/chat/models/messagesMessageDelta.js +2 -0
  10. package/dist/generated/chat/models/streamingThreadStreamFrame.d.ts +22 -0
  11. package/dist/generated/chat/models/streamingThreadStreamFrame.js +2 -0
  12. package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +1 -0
  13. package/dist/generated/chat/operation-tags.d.ts +31 -0
  14. package/dist/generated/chat/operation-tags.js +34 -0
  15. package/dist/generated/chat/zod.d.ts +233 -0
  16. package/dist/generated/chat/zod.js +238 -5
  17. package/dist/generated/config/api.d.ts +6 -12
  18. package/dist/generated/config/api.js +3 -27
  19. package/dist/generated/config/api.msw.d.ts +10 -9
  20. package/dist/generated/config/api.msw.js +49 -56
  21. package/dist/generated/config/change-tags.d.ts +46 -0
  22. package/dist/generated/config/change-tags.js +42 -0
  23. package/dist/generated/config/models/changeTagsChangeTag.d.ts +26 -0
  24. package/dist/generated/config/models/changeTagsChangeTag.js +30 -0
  25. package/dist/generated/config/models/changeTagsChangeTagView.d.ts +19 -0
  26. package/dist/generated/config/models/changeTagsChangeTagView.js +23 -0
  27. package/dist/generated/config/models/flowRunReference.d.ts +10 -0
  28. package/dist/generated/config/models/index.d.ts +19 -1
  29. package/dist/generated/config/models/index.js +19 -1
  30. package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.d.ts +15 -0
  31. package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.js +2 -0
  32. package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.d.ts +18 -0
  33. package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.js +2 -0
  34. package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.d.ts +10 -0
  35. package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.js +8 -0
  36. package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.d.ts +14 -0
  37. package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.js +2 -0
  38. package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.d.ts +33 -0
  39. package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.js +2 -0
  40. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.d.ts +16 -0
  41. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.js +2 -0
  42. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.d.ts +9 -0
  43. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.js +8 -0
  44. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.d.ts +10 -0
  45. package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.js +8 -0
  46. package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.d.ts +15 -0
  47. package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.js +2 -0
  48. package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.d.ts +10 -0
  49. package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.js +8 -0
  50. package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.d.ts +16 -0
  51. package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.js +2 -0
  52. package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.d.ts +18 -0
  53. package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.js +8 -0
  54. package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.d.ts +11 -0
  55. package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.js +8 -0
  56. package/dist/generated/config/models/messageThreadThreadEvent.d.ts +12 -0
  57. package/dist/generated/config/models/messageThreadThreadEvent.js +8 -0
  58. package/dist/generated/config/models/messagesMessageDelta.d.ts +14 -0
  59. package/dist/generated/config/models/messagesMessageDelta.js +2 -0
  60. package/dist/generated/config/models/streamingThreadStreamFrame.d.ts +22 -0
  61. package/dist/generated/config/models/streamingThreadStreamFrame.js +2 -0
  62. package/dist/generated/config/models/workSpacesCreateWorkSpace.d.ts +5 -1
  63. package/dist/generated/config/models/workSpacesWorkSpace.d.ts +1 -0
  64. package/dist/generated/config/operation-tags.d.ts +33 -0
  65. package/dist/generated/config/operation-tags.js +36 -0
  66. package/dist/generated/config/zod.d.ts +202 -43
  67. package/dist/generated/config/zod.js +211 -52
  68. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +22 -0
  69. package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
  70. package/dist/index.d.ts +3 -0
  71. package/dist/index.js +9 -1
  72. package/package.json +2 -2
  73. package/dist/generated/config/models/flowRunsSearchFlowRunsParams.d.ts +0 -25
  74. /package/dist/generated/config/models/{flowRunsSearchFlowRunsParams.js → flowRunReference.js} +0 -0
@@ -84,6 +84,8 @@ __exportStar(require("./blocksStateInterface"), exports);
84
84
  __exportStar(require("./blocksStateInterfaceDefault"), exports);
85
85
  __exportStar(require("./blocksStateInterfaceMetadata"), exports);
86
86
  __exportStar(require("./blocksUsedInRef"), exports);
87
+ __exportStar(require("./changeTagsChangeTag"), exports);
88
+ __exportStar(require("./changeTagsChangeTagView"), exports);
87
89
  __exportStar(require("./configApiControllersAuthDiscoveryControllerAuthDiscovery"), exports);
88
90
  __exportStar(require("./configApiFlowRunIdentityMapRequest"), exports);
89
91
  __exportStar(require("./configApiRunFlowRequest"), exports);
@@ -210,6 +212,7 @@ __exportStar(require("./filesGetFileInfoParams"), exports);
210
212
  __exportStar(require("./filesGetUriParams"), exports);
211
213
  __exportStar(require("./filesIngestedBlob"), exports);
212
214
  __exportStar(require("./filesUploadFilesBody"), exports);
215
+ __exportStar(require("./flowRunReference"), exports);
213
216
  __exportStar(require("./flowRunsAddFileIdFilesBody"), exports);
214
217
  __exportStar(require("./flowRunsCreateFlowRunParams"), exports);
215
218
  __exportStar(require("./flowRunsGetStepExecutionsParams"), exports);
@@ -217,7 +220,6 @@ __exportStar(require("./flowRunsGetVariables200One"), exports);
217
220
  __exportStar(require("./flowRunsGetVariables200Three"), exports);
218
221
  __exportStar(require("./flowRunsGetVariables200Two"), exports);
219
222
  __exportStar(require("./flowRunsGetWorkspaceRunsParams"), exports);
220
- __exportStar(require("./flowRunsSearchFlowRunsParams"), exports);
221
223
  __exportStar(require("./flowValueModel"), exports);
222
224
  __exportStar(require("./flowValueModelChannels"), exports);
223
225
  __exportStar(require("./flowsBlockConstant"), exports);
@@ -254,23 +256,36 @@ __exportStar(require("./integrationsAzureArmVirtualMachineSize"), exports);
254
256
  __exportStar(require("./integrationsAzureSpeechSpeechConfig"), exports);
255
257
  __exportStar(require("./integrationsAzureSpeechSpeechToken"), exports);
256
258
  __exportStar(require("./integrationsAzureStorageSasToken"), exports);
259
+ __exportStar(require("./integrationsSmartSpaceAiBlockInput"), exports);
257
260
  __exportStar(require("./integrationsSmartSpaceAiBlockInputModel"), exports);
258
261
  __exportStar(require("./integrationsSmartSpaceAiBlockSourceResponse"), exports);
259
262
  __exportStar(require("./integrationsSmartSpaceAiContainerItemFlowRun"), exports);
260
263
  __exportStar(require("./integrationsSmartSpaceAiContainerItemFlowRunError"), exports);
261
264
  __exportStar(require("./integrationsSmartSpaceAiContainerItemRunHistory"), exports);
262
265
  __exportStar(require("./integrationsSmartSpaceAiDebugLogsResponse"), exports);
266
+ __exportStar(require("./integrationsSmartSpaceAiFlowError"), exports);
267
+ __exportStar(require("./integrationsSmartSpaceAiFlowErrorData"), exports);
263
268
  __exportStar(require("./integrationsSmartSpaceAiFlowInputValue"), exports);
264
269
  __exportStar(require("./integrationsSmartSpaceAiFlowInputValueChannels"), exports);
265
270
  __exportStar(require("./integrationsSmartSpaceAiFlowInputValueValue"), exports);
271
+ __exportStar(require("./integrationsSmartSpaceAiFlowOutput"), exports);
266
272
  __exportStar(require("./integrationsSmartSpaceAiFlowPinRef"), exports);
273
+ __exportStar(require("./integrationsSmartSpaceAiFlowRunMessage"), exports);
274
+ __exportStar(require("./integrationsSmartSpaceAiFlowValue"), exports);
275
+ __exportStar(require("./integrationsSmartSpaceAiFlowValueChannels"), exports);
276
+ __exportStar(require("./integrationsSmartSpaceAiFlowValueData"), exports);
267
277
  __exportStar(require("./integrationsSmartSpaceAiFlowValueModel"), exports);
268
278
  __exportStar(require("./integrationsSmartSpaceAiFlowValueModelChannels"), exports);
279
+ __exportStar(require("./integrationsSmartSpaceAiFunctionExecution"), exports);
269
280
  __exportStar(require("./integrationsSmartSpaceAiFunctionExecutionDebugModel"), exports);
270
281
  __exportStar(require("./integrationsSmartSpaceAiIngestionRun"), exports);
271
282
  __exportStar(require("./integrationsSmartSpaceAiIngestionRunTrigger"), exports);
283
+ __exportStar(require("./integrationsSmartSpaceAiLlmRoundUsage"), exports);
284
+ __exportStar(require("./integrationsSmartSpaceAiRunEventStreamFrame"), exports);
272
285
  __exportStar(require("./integrationsSmartSpaceAiSdkBlockRef"), exports);
273
286
  __exportStar(require("./integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun"), exports);
287
+ __exportStar(require("./integrationsSmartSpaceAiTokenUsage"), exports);
288
+ __exportStar(require("./integrationsSmartSpaceAiToolCallUsage"), exports);
274
289
  __exportStar(require("./integrationsSmartSpaceAiWorkspaceRun"), exports);
275
290
  __exportStar(require("./managedSecretsCreateManagedSecret"), exports);
276
291
  __exportStar(require("./managedSecretsGetManagedSecretUserValuesParams"), exports);
@@ -280,6 +295,7 @@ __exportStar(require("./managedSecretsManagedSecretUserValue"), exports);
280
295
  __exportStar(require("./managedSecretsMySecret"), exports);
281
296
  __exportStar(require("./managedSecretsUpdateManagedSecretValue"), exports);
282
297
  __exportStar(require("./messageThreadMessageThreadSummary"), exports);
298
+ __exportStar(require("./messageThreadThreadEvent"), exports);
283
299
  __exportStar(require("./messageThreadsGetStepExecutionsParams"), exports);
284
300
  __exportStar(require("./messageThreadsGetWorkspaceExecutionsParams"), exports);
285
301
  __exportStar(require("./messagesCreateMessageInput"), exports);
@@ -287,6 +303,7 @@ __exportStar(require("./messagesCreateMessageInputChannels"), exports);
287
303
  __exportStar(require("./messagesCreateMessageInputValue"), exports);
288
304
  __exportStar(require("./messagesMessage"), exports);
289
305
  __exportStar(require("./messagesMessageCreatorProfileImage"), exports);
306
+ __exportStar(require("./messagesMessageDelta"), exports);
290
307
  __exportStar(require("./messagesMessageError"), exports);
291
308
  __exportStar(require("./messagesMessageErrorData"), exports);
292
309
  __exportStar(require("./messagesMessageValue"), exports);
@@ -354,6 +371,7 @@ __exportStar(require("./reportingSplit"), exports);
354
371
  __exportStar(require("./sandBoxGetThreadMessagesParams"), exports);
355
372
  __exportStar(require("./servicePrincipalsGetServicePrincipalsParams"), exports);
356
373
  __exportStar(require("./smartSpacePlanUsage"), exports);
374
+ __exportStar(require("./streamingThreadStreamFrame"), exports);
357
375
  __exportStar(require("./syncsGetItemsParams"), exports);
358
376
  __exportStar(require("./syncsGetParams"), exports);
359
377
  __exportStar(require("./syncsGetPoisonedParams"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiFlowValue } from './integrationsSmartSpaceAiFlowValue';
8
+ export interface IntegrationsSmartSpaceAiBlockInput {
9
+ blockId: string;
10
+ createdAt: string;
11
+ pin: string;
12
+ port: string;
13
+ sticky: boolean;
14
+ value: IntegrationsSmartSpaceAiFlowValue;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiFlowErrorData } from './integrationsSmartSpaceAiFlowErrorData';
8
+ export interface IntegrationsSmartSpaceAiFlowError {
9
+ /** @nullable */
10
+ blockId?: string | null;
11
+ code: number;
12
+ /** @nullable */
13
+ data?: IntegrationsSmartSpaceAiFlowErrorData;
14
+ /** @nullable */
15
+ errorCode?: string | null;
16
+ /** @nullable */
17
+ message?: string | null;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ /**
8
+ * @nullable
9
+ */
10
+ export type IntegrationsSmartSpaceAiFlowErrorData = unknown | null;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiFlowValue } from './integrationsSmartSpaceAiFlowValue';
8
+ export interface IntegrationsSmartSpaceAiFlowOutput {
9
+ createdAt: string;
10
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
11
+ id: string;
12
+ name: string;
13
+ value: IntegrationsSmartSpaceAiFlowValue;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiBlockInput } from './integrationsSmartSpaceAiBlockInput';
8
+ import type { IntegrationsSmartSpaceAiFlowError } from './integrationsSmartSpaceAiFlowError';
9
+ import type { IntegrationsSmartSpaceAiFlowOutput } from './integrationsSmartSpaceAiFlowOutput';
10
+ import type { IntegrationsSmartSpaceAiFlowValue } from './integrationsSmartSpaceAiFlowValue';
11
+ import type { IntegrationsSmartSpaceAiFunctionExecution } from './integrationsSmartSpaceAiFunctionExecution';
12
+ import type { IntegrationsSmartSpaceAiLlmRoundUsage } from './integrationsSmartSpaceAiLlmRoundUsage';
13
+ import type { IntegrationsSmartSpaceAiTokenUsage } from './integrationsSmartSpaceAiTokenUsage';
14
+ import type { IntegrationsSmartSpaceAiToolCallUsage } from './integrationsSmartSpaceAiToolCallUsage';
15
+ export interface IntegrationsSmartSpaceAiFlowRunMessage {
16
+ blockInputs: IntegrationsSmartSpaceAiBlockInput[];
17
+ errors: IntegrationsSmartSpaceAiFlowError[];
18
+ flowOutputs: IntegrationsSmartSpaceAiFlowOutput[];
19
+ /**
20
+ * @nullable
21
+ * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
22
+ */
23
+ flowRunId?: string | null;
24
+ flowValues: IntegrationsSmartSpaceAiFlowValue[];
25
+ functionExecutions: IntegrationsSmartSpaceAiFunctionExecution[];
26
+ /** @nullable */
27
+ llmRoundUsages?: IntegrationsSmartSpaceAiLlmRoundUsage[] | null;
28
+ /** @nullable */
29
+ state?: string | null;
30
+ tokenUsages: IntegrationsSmartSpaceAiTokenUsage[];
31
+ /** @nullable */
32
+ toolCallUsages?: IntegrationsSmartSpaceAiToolCallUsage[] | null;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiFlowValueChannels } from './integrationsSmartSpaceAiFlowValueChannels';
8
+ import type { IntegrationsSmartSpaceAiFlowValueData } from './integrationsSmartSpaceAiFlowValueData';
9
+ import type { IntegrationsSmartSpaceAiFlowPinRef } from './integrationsSmartSpaceAiFlowPinRef';
10
+ export interface IntegrationsSmartSpaceAiFlowValue {
11
+ channels: IntegrationsSmartSpaceAiFlowValueChannels;
12
+ createdAt: string;
13
+ /** @nullable */
14
+ data?: IntegrationsSmartSpaceAiFlowValueData;
15
+ source: IntegrationsSmartSpaceAiFlowPinRef;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export type IntegrationsSmartSpaceAiFlowValueChannels = {
8
+ [key: string]: number;
9
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ /**
8
+ * @nullable
9
+ */
10
+ export type IntegrationsSmartSpaceAiFlowValueData = unknown | null;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiBlockInput } from './integrationsSmartSpaceAiBlockInput';
8
+ export interface IntegrationsSmartSpaceAiFunctionExecution {
9
+ blockId: string;
10
+ createdAt: string;
11
+ /** @nullable */
12
+ finishedAt?: string | null;
13
+ inputs: IntegrationsSmartSpaceAiBlockInput[];
14
+ name: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface IntegrationsSmartSpaceAiLlmRoundUsage {
8
+ blockId: string;
9
+ rounds: number;
10
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { IntegrationsSmartSpaceAiFunctionExecutionDebugModel } from './integrationsSmartSpaceAiFunctionExecutionDebugModel';
8
+ export interface IntegrationsSmartSpaceAiRunEventStreamFrame {
9
+ /** @nullable */
10
+ dropped?: number | null;
11
+ kind: string;
12
+ /** @nullable */
13
+ rows?: IntegrationsSmartSpaceAiFunctionExecutionDebugModel[] | null;
14
+ /** @nullable */
15
+ total?: number | null;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface IntegrationsSmartSpaceAiTokenUsage {
8
+ blockId: string;
9
+ /** @nullable */
10
+ completionCost?: number | null;
11
+ completionTokens: number;
12
+ model: string;
13
+ /** @nullable */
14
+ modelName?: string | null;
15
+ /** @nullable */
16
+ promptCost?: number | null;
17
+ promptTokens: number;
18
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface IntegrationsSmartSpaceAiToolCallUsage {
8
+ blockId: string;
9
+ count: number;
10
+ toolName: string;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface MessageThreadThreadEvent {
8
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
9
+ threadId: string;
10
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
11
+ workSpaceId: string;
12
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { MessagesMessageError } from './messagesMessageError';
8
+ import type { MessagesMessageValue } from './messagesMessageValue';
9
+ export interface MessagesMessageDelta {
10
+ errors: MessagesMessageError[];
11
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
12
+ messageId: string;
13
+ outputs: MessagesMessageValue[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { MessagesMessageDelta } from './messagesMessageDelta';
8
+ import type { MessagesMessage } from './messagesMessage';
9
+ import type { MessageThreadMessageThreadSummary } from './messageThreadMessageThreadSummary';
10
+ export interface StreamingThreadStreamFrame {
11
+ delta?: MessagesMessageDelta;
12
+ message?: MessagesMessage;
13
+ /**
14
+ * @nullable
15
+ * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
16
+ */
17
+ messageId?: string | null;
18
+ /** @nullable */
19
+ snapshot?: MessagesMessage[] | null;
20
+ terminal: boolean;
21
+ thread?: MessageThreadMessageThreadSummary;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,7 +12,11 @@ export interface WorkSpacesCreateWorkSpace {
12
12
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
13
13
  */
14
14
  id?: string | null;
15
- modelConfigurations: CreateModelConfiguration[];
15
+ /**
16
+ * @deprecated
17
+ * @nullable
18
+ */
19
+ modelConfigurations?: CreateModelConfiguration[] | null;
16
20
  name: string;
17
21
  /**
18
22
  * @nullable
@@ -23,6 +23,7 @@ export interface WorkSpacesWorkSpace {
23
23
  */
24
24
  id?: string | null;
25
25
  inputs: WorkSpacesWorkSpaceInputs;
26
+ /** @deprecated */
26
27
  modelConfigurations: ModelConfiguration[];
27
28
  /** @nullable */
28
29
  modifiedAt?: string | null;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated from each GET operation's `x-tags` by scripts/operation-tags.js. Do not edit manually.
3
+ * Each function takes the request's path arguments, in the same order as the request, and returns
4
+ * the change tags the response depends on: put them on the query (`meta.tags`).
5
+ */
6
+ export declare const OperationTags: {
7
+ /** GET /v1/DataSets */
8
+ readonly dataSetsGet: () => readonly ["datasets"];
9
+ /** GET /v1/DataSets/{id} */
10
+ readonly dataSetsGetById: (id: string) => readonly [`datasets:${string}`];
11
+ /** GET /v1/DataSources */
12
+ readonly dataSourcesGet: () => readonly ["datasources"];
13
+ /** GET /v1/DataSpaces */
14
+ readonly dataSpacesGet: () => readonly ["dataspaces"];
15
+ /** GET /v1/DataSpaces/{id} */
16
+ readonly dataSpacesGetById: (id: string) => readonly [`dataspaces:${string}`];
17
+ /** GET /v1/DataSpaces/{id}/datasets */
18
+ readonly dataSpacesGetDataSets: (id: string) => readonly [`dataspaces:${string}/datasets`];
19
+ /** GET /v1/Files/{id} */
20
+ readonly filesGetFileInfo: (id: string) => readonly [`files:${string}`];
21
+ /** GET /v1/Models */
22
+ readonly modelsGetModels: () => readonly ["models"];
23
+ /** GET /v1/Models/default */
24
+ readonly modelsGetDefaultModel: () => readonly ["models"];
25
+ /** GET /v1/Models/{id} */
26
+ readonly modelsGetModel: (id: string) => readonly [`models:${string}`];
27
+ /** GET /v1/WorkSpaces */
28
+ readonly workSpacesGetGet: () => readonly ["workspaces"];
29
+ /** GET /v1/WorkSpaces/{id} */
30
+ readonly workSpacesGetId: (id: string) => readonly [`workspaces:${string}`];
31
+ /** GET /v1/WorkSpaces/{id}/messageThreads */
32
+ readonly workSpacesGetThreads: (id: string) => readonly [`workspaces:${string}/messageThreads`];
33
+ };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * Generated from each GET operation's `x-tags` by scripts/operation-tags.js. Do not edit manually.
4
+ * Each function takes the request's path arguments, in the same order as the request, and returns
5
+ * the change tags the response depends on: put them on the query (`meta.tags`).
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.OperationTags = void 0;
9
+ exports.OperationTags = {
10
+ /** GET /v1/DataSets */
11
+ dataSetsGet: () => ['datasets'],
12
+ /** GET /v1/DataSets/{id} */
13
+ dataSetsGetById: (id) => [`datasets:${id}`],
14
+ /** GET /v1/DataSources */
15
+ dataSourcesGet: () => ['datasources'],
16
+ /** GET /v1/DataSpaces */
17
+ dataSpacesGet: () => ['dataspaces'],
18
+ /** GET /v1/DataSpaces/{id} */
19
+ dataSpacesGetById: (id) => [`dataspaces:${id}`],
20
+ /** GET /v1/DataSpaces/{id}/datasets */
21
+ dataSpacesGetDataSets: (id) => [`dataspaces:${id}/datasets`],
22
+ /** GET /v1/Files/{id} */
23
+ filesGetFileInfo: (id) => [`files:${id}`],
24
+ /** GET /v1/Models */
25
+ modelsGetModels: () => ['models'],
26
+ /** GET /v1/Models/default */
27
+ modelsGetDefaultModel: () => ['models'],
28
+ /** GET /v1/Models/{id} */
29
+ modelsGetModel: (id) => [`models:${id}`],
30
+ /** GET /v1/WorkSpaces */
31
+ workSpacesGetGet: () => ['workspaces'],
32
+ /** GET /v1/WorkSpaces/{id} */
33
+ workSpacesGetId: (id) => [`workspaces:${id}`],
34
+ /** GET /v1/WorkSpaces/{id}/messageThreads */
35
+ workSpacesGetThreads: (id) => [`workspaces:${id}/messageThreads`],
36
+ };