@amaster.ai/client 1.1.0-beta.59 → 1.1.0-beta.60
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/auth/code-auth.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amaster.ai/client",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.60",
|
|
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/entity-client": "1.1.0-beta.
|
|
79
|
-
"@amaster.ai/
|
|
80
|
-
"@amaster.ai/s3-client": "1.1.0-beta.
|
|
81
|
-
"@amaster.ai/workflow-client": "1.1.0-beta.
|
|
82
|
-
"@amaster.ai/
|
|
83
|
-
"@amaster.ai/
|
|
84
|
-
"@amaster.ai/
|
|
75
|
+
"@amaster.ai/asr-client": "1.1.0-beta.60",
|
|
76
|
+
"@amaster.ai/auth-client": "1.1.0-beta.60",
|
|
77
|
+
"@amaster.ai/copilot-client": "1.1.0-beta.60",
|
|
78
|
+
"@amaster.ai/entity-client": "1.1.0-beta.60",
|
|
79
|
+
"@amaster.ai/http-client": "1.1.0-beta.60",
|
|
80
|
+
"@amaster.ai/s3-client": "1.1.0-beta.60",
|
|
81
|
+
"@amaster.ai/workflow-client": "1.1.0-beta.60",
|
|
82
|
+
"@amaster.ai/function-client": "1.1.0-beta.60",
|
|
83
|
+
"@amaster.ai/tts-client": "1.1.0-beta.60",
|
|
84
|
+
"@amaster.ai/bpm-client": "1.1.0-beta.60"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"axios": "^1.11.0"
|
|
@@ -71,14 +71,14 @@ export interface CaptchaResponse {
|
|
|
71
71
|
export interface CodeAuthAPI {
|
|
72
72
|
/**
|
|
73
73
|
* Login with verification code
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* Authenticates using a verification code sent to email or phone.
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @param params - Email/phone and verification code
|
|
78
78
|
* @returns User info and access token
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
loginWithCode(params: CodeLoginParams): Promise<ClientResult<LoginResponse>>;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Send verification code
|