@smartspace/api-client 0.1.0-pr.1208.06cd587 → 0.1.0-pr.1208.b9a73c4

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.
@@ -326,6 +326,9 @@ export * from './syncsSync';
326
326
  export * from './syncsSyncDataSourceInfo';
327
327
  export * from './syncsSyncQueueState';
328
328
  export * from './syncsSyncRunInfo';
329
+ export * from './usageRecordFlowInvocation';
330
+ export * from './usageRecordUsageEvent';
331
+ export * from './usageUsageEventsRecorded';
329
332
  export * from './usersAdminPermissionParams';
330
333
  export * from './usersAppAccessUser';
331
334
  export * from './usersAppRole';
@@ -342,6 +342,9 @@ __exportStar(require("./syncsSync"), exports);
342
342
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
343
343
  __exportStar(require("./syncsSyncQueueState"), exports);
344
344
  __exportStar(require("./syncsSyncRunInfo"), exports);
345
+ __exportStar(require("./usageRecordFlowInvocation"), exports);
346
+ __exportStar(require("./usageRecordUsageEvent"), exports);
347
+ __exportStar(require("./usageUsageEventsRecorded"), exports);
345
348
  __exportStar(require("./usersAdminPermissionParams"), exports);
346
349
  __exportStar(require("./usersAppAccessUser"), exports);
347
350
  __exportStar(require("./usersAppRole"), exports);
@@ -0,0 +1,45 @@
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 UsageRecordFlowInvocation {
8
+ /** @nullable */
9
+ errorCode?: string | null;
10
+ /** @nullable */
11
+ finishedAt?: string | null;
12
+ /**
13
+ * @nullable
14
+ * @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}$
15
+ */
16
+ flowDefinitionId?: string | null;
17
+ /** @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}$ */
18
+ flowId: string;
19
+ /** @nullable */
20
+ outcome?: string | null;
21
+ /**
22
+ * @nullable
23
+ * @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}$
24
+ */
25
+ parentFlowRunId?: string | null;
26
+ /** @nullable */
27
+ parentInvocationIndex?: number | null;
28
+ /**
29
+ * @nullable
30
+ * @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}$
31
+ */
32
+ rootFlowRunId?: string | null;
33
+ startedAt: string;
34
+ /** @nullable */
35
+ trigger?: string | null;
36
+ /**
37
+ * @nullable
38
+ * @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}$
39
+ */
40
+ triggerSubjectId?: string | null;
41
+ /** @nullable */
42
+ triggerSubjectLabel?: string | null;
43
+ /** @nullable */
44
+ userId?: string | null;
45
+ }
@@ -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,36 @@
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 UsageRecordUsageEvent {
8
+ blockId: string;
9
+ /** @nullable */
10
+ cacheWriteTokens?: number | null;
11
+ /** @nullable */
12
+ cachedPromptTokens?: number | null;
13
+ /** @nullable */
14
+ completionCostUsd?: number | null;
15
+ /** @nullable */
16
+ completionTokens?: number | null;
17
+ /** @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}$ */
18
+ flowId: string;
19
+ /** @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}$ */
20
+ functionExecutionId: string;
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
+ id: string;
23
+ kind: string;
24
+ model: string;
25
+ occurredAt: string;
26
+ /** @nullable */
27
+ promptCostUsd?: number | null;
28
+ /** @nullable */
29
+ promptTokens?: number | null;
30
+ providerModel: string;
31
+ roundIndex: number;
32
+ /** @nullable */
33
+ toolCalls?: string[] | null;
34
+ /** @nullable */
35
+ userId?: string | null;
36
+ }
@@ -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,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 interface UsageUsageEventsRecorded {
8
+ count: 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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartspace/api-client",
3
- "version": "0.1.0-pr.1208.06cd587",
3
+ "version": "0.1.0-pr.1208.b9a73c4",
4
4
  "description": "Generated TypeScript client for SmartSpace APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",