@amaster.ai/client 1.1.67-beta.0 → 1.1.67
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/bpm.d.ts +5 -3
- package/types/index.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amaster.ai/client",
|
|
3
|
-
"version": "1.1.67
|
|
3
|
+
"version": "1.1.67",
|
|
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/http-client": "1.1.67
|
|
81
|
-
"@amaster.ai/
|
|
82
|
-
"@amaster.ai/
|
|
83
|
-
"@amaster.ai/tts-client": "1.1.67
|
|
84
|
-
"@amaster.ai/
|
|
75
|
+
"@amaster.ai/bpm-client": "1.1.67",
|
|
76
|
+
"@amaster.ai/copilot-client": "1.1.67",
|
|
77
|
+
"@amaster.ai/auth-client": "1.1.67",
|
|
78
|
+
"@amaster.ai/entity-client": "1.1.67",
|
|
79
|
+
"@amaster.ai/function-client": "1.1.67",
|
|
80
|
+
"@amaster.ai/http-client": "1.1.67",
|
|
81
|
+
"@amaster.ai/s3-client": "1.1.67",
|
|
82
|
+
"@amaster.ai/asr-client": "1.1.67",
|
|
83
|
+
"@amaster.ai/tts-client": "1.1.67",
|
|
84
|
+
"@amaster.ai/workflow-client": "1.1.67"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"axios": "^1.11.0"
|
package/types/bpm.d.ts
CHANGED
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import type { ClientResult } from "./common";
|
|
20
|
+
import type { TaskPeopleMetadata } from "@amaster.ai/bpm-client";
|
|
21
|
+
export type { AssignmentPerson, TaskPeopleSnapshot, TaskPeopleMetadata } from "@amaster.ai/bpm-client";
|
|
20
22
|
|
|
21
23
|
// ==================== Variable Types ====================
|
|
22
24
|
|
|
@@ -160,7 +162,7 @@ export interface HistoryProcessInstance {
|
|
|
160
162
|
/**
|
|
161
163
|
* User task information
|
|
162
164
|
*/
|
|
163
|
-
export interface Task {
|
|
165
|
+
export interface Task extends TaskPeopleMetadata {
|
|
164
166
|
/** Task ID */
|
|
165
167
|
id: string;
|
|
166
168
|
/** Task name */
|
|
@@ -279,7 +281,7 @@ export type TaskFormVariables = Record<string, TaskFormVariable>;
|
|
|
279
281
|
/**
|
|
280
282
|
* Historical task information
|
|
281
283
|
*/
|
|
282
|
-
export interface HistoryTask {
|
|
284
|
+
export interface HistoryTask extends TaskPeopleMetadata {
|
|
283
285
|
/** Task ID */
|
|
284
286
|
id: string;
|
|
285
287
|
/** Task name */
|
|
@@ -987,7 +989,7 @@ export interface TransitionInstance {
|
|
|
987
989
|
/**
|
|
988
990
|
* Historical activity instance
|
|
989
991
|
*/
|
|
990
|
-
export interface HistoryActivityInstance {
|
|
992
|
+
export interface HistoryActivityInstance extends TaskPeopleMetadata {
|
|
991
993
|
id: string;
|
|
992
994
|
activityId: string;
|
|
993
995
|
activityName: string;
|