@amaster.ai/client 1.1.43-beta.0 → 1.1.43-beta.2
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.
- package/package.json +11 -11
- package/types/workflow.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amaster.ai/client",
|
|
3
|
-
"version": "1.1.43-beta.
|
|
3
|
+
"version": "1.1.43-beta.2",
|
|
4
4
|
"description": "Unified API client for Amaster platform - All services in one package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@amaster.ai/
|
|
76
|
-
"@amaster.ai/
|
|
77
|
-
"@amaster.ai/
|
|
78
|
-
"@amaster.ai/
|
|
79
|
-
"@amaster.ai/
|
|
80
|
-
"@amaster.ai/
|
|
81
|
-
"@amaster.ai/
|
|
82
|
-
"@amaster.ai/
|
|
83
|
-
"@amaster.ai/
|
|
84
|
-
"@amaster.ai/
|
|
75
|
+
"@amaster.ai/asr-client": "1.1.43-beta.2",
|
|
76
|
+
"@amaster.ai/bpm-client": "1.1.43-beta.2",
|
|
77
|
+
"@amaster.ai/function-client": "1.1.43-beta.2",
|
|
78
|
+
"@amaster.ai/auth-client": "1.1.43-beta.2",
|
|
79
|
+
"@amaster.ai/copilot-client": "1.1.43-beta.2",
|
|
80
|
+
"@amaster.ai/entity-client": "1.1.43-beta.2",
|
|
81
|
+
"@amaster.ai/tts-client": "1.1.43-beta.2",
|
|
82
|
+
"@amaster.ai/s3-client": "1.1.43-beta.2",
|
|
83
|
+
"@amaster.ai/http-client": "1.1.43-beta.2",
|
|
84
|
+
"@amaster.ai/workflow-client": "1.1.43-beta.2"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"axios": "^1.11.0"
|
package/types/workflow.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export interface WorkflowRunRequest {
|
|
|
63
63
|
trace_id?: string;
|
|
64
64
|
/** Include workflow and node usage in blocking run response */
|
|
65
65
|
usage?: boolean;
|
|
66
|
+
/** Include node-level usage details when `usage` is enabled */
|
|
67
|
+
usage_detail?: boolean;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
/**
|
|
@@ -103,8 +105,8 @@ export interface WorkflowNodeUsage {
|
|
|
103
105
|
*/
|
|
104
106
|
export interface WorkflowRunUsage {
|
|
105
107
|
summary: WorkflowUsageSummary;
|
|
106
|
-
estimated_price_by_currency
|
|
107
|
-
nodes
|
|
108
|
+
estimated_price_by_currency?: Record<string, string>;
|
|
109
|
+
nodes?: WorkflowNodeUsage[];
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
/**
|