mindupload 1.12.1 → 1.12.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/README.md +3 -2
- package/dist/index.cjs +9 -1
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**The world's first API for artificial consciousness.**
|
|
8
8
|
Give your users a living, evolving AI consciousness — lasting memory, one-on-one chat, and human + AI group chatrooms.
|
|
9
9
|
|
|
10
|
-
[](https://www.npmjs.com/package/mindupload) [](LICENSE) ](https://www.npmjs.com/package/mindupload) [](LICENSE)   [](https://docs.mindupload.app)
|
|
11
11
|
|
|
12
12
|
[Documentation](https://docs.mindupload.app) · [Get a key](https://docs.mindupload.app) · [Status](https://status.mindupload.app) · [Other SDKs](#other-sdks)
|
|
13
13
|
|
|
@@ -124,7 +124,7 @@ try {
|
|
|
124
124
|
|
|
125
125
|
## Operations
|
|
126
126
|
|
|
127
|
-
All
|
|
127
|
+
All 51 operations, grouped by area:
|
|
128
128
|
|
|
129
129
|
### AI Consciousnesses
|
|
130
130
|
|
|
@@ -200,6 +200,7 @@ All 50 operations, grouped by area:
|
|
|
200
200
|
| `endCallSession(...)` | End a live call for everyone in it. |
|
|
201
201
|
| `getActiveCallSession(...)` | Check whether a chatroom has a live call, and how many people are in it. |
|
|
202
202
|
| `joinCallSession(...)` | Join a live call that is already running in a chatroom. |
|
|
203
|
+
| `leaveCallSession(...)` | Say that this person has left a call the others are still in. |
|
|
203
204
|
| `refreshCallToken(...)` | Get a fresh joining pass for a call, before the current one expires. |
|
|
204
205
|
| `setCallHost(...)` | Make somebody a co-host of a live call, or stand them down again. |
|
|
205
206
|
|
package/dist/index.cjs
CHANGED
|
@@ -75,7 +75,7 @@ var MindUploadConnectionError = class extends MindUploadError {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/version.ts
|
|
78
|
-
var VERSION = "1.12.
|
|
78
|
+
var VERSION = "1.12.2";
|
|
79
79
|
|
|
80
80
|
// src/client.ts
|
|
81
81
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -495,6 +495,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
495
495
|
joinCallSession(params = {}) {
|
|
496
496
|
return this.request("join_call_session", params);
|
|
497
497
|
}
|
|
498
|
+
/** Say that this person has left a call the others are still in.
|
|
499
|
+
*
|
|
500
|
+
* Response fields: success, error_message.
|
|
501
|
+
* @see https://docs.mindupload.app
|
|
502
|
+
*/
|
|
503
|
+
leaveCallSession(params = {}) {
|
|
504
|
+
return this.request("leave_call_session", params);
|
|
505
|
+
}
|
|
498
506
|
/** Get a fresh joining pass for a call, before the current one expires.
|
|
499
507
|
*
|
|
500
508
|
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host.
|
package/dist/index.d.cts
CHANGED
|
@@ -527,6 +527,15 @@ interface JoinCallSessionParams {
|
|
|
527
527
|
password?: string;
|
|
528
528
|
callSessionId?: string;
|
|
529
529
|
}
|
|
530
|
+
interface LeaveCallSessionParams {
|
|
531
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
532
|
+
preferredLanguage?: string;
|
|
533
|
+
/** The end-user's username. */
|
|
534
|
+
username?: string;
|
|
535
|
+
/** The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage. */
|
|
536
|
+
password?: string;
|
|
537
|
+
callSessionId?: string;
|
|
538
|
+
}
|
|
530
539
|
interface RefreshCallTokenParams {
|
|
531
540
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
532
541
|
preferredLanguage?: string;
|
|
@@ -948,6 +957,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
948
957
|
* @see https://docs.mindupload.app
|
|
949
958
|
*/
|
|
950
959
|
joinCallSession(params?: JoinCallSessionParams): Promise<Result>;
|
|
960
|
+
/** Say that this person has left a call the others are still in.
|
|
961
|
+
*
|
|
962
|
+
* Response fields: success, error_message.
|
|
963
|
+
* @see https://docs.mindupload.app
|
|
964
|
+
*/
|
|
965
|
+
leaveCallSession(params?: LeaveCallSessionParams): Promise<Result>;
|
|
951
966
|
/** Get a fresh joining pass for a call, before the current one expires.
|
|
952
967
|
*
|
|
953
968
|
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host.
|
|
@@ -1088,6 +1103,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1088
1103
|
constructor(message: string, options?: ErrorOptions);
|
|
1089
1104
|
}
|
|
1090
1105
|
|
|
1091
|
-
declare const VERSION = "1.12.
|
|
1106
|
+
declare const VERSION = "1.12.2";
|
|
1092
1107
|
|
|
1093
|
-
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateCallSessionParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type EndCallSessionParams, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetActiveCallSessionParams, type GetChatAroundParams, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesAroundParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetTransactionHistoryParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type JoinCallSessionParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshCallTokenParams, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SearchChatroomMessagesParams, type SearchChatsParams, type SetCallHostParams, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
|
1108
|
+
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateCallSessionParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type EndCallSessionParams, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetActiveCallSessionParams, type GetChatAroundParams, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesAroundParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetTransactionHistoryParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type JoinCallSessionParams, type LeaveCallSessionParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshCallTokenParams, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SearchChatroomMessagesParams, type SearchChatsParams, type SetCallHostParams, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
package/dist/index.d.ts
CHANGED
|
@@ -527,6 +527,15 @@ interface JoinCallSessionParams {
|
|
|
527
527
|
password?: string;
|
|
528
528
|
callSessionId?: string;
|
|
529
529
|
}
|
|
530
|
+
interface LeaveCallSessionParams {
|
|
531
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
532
|
+
preferredLanguage?: string;
|
|
533
|
+
/** The end-user's username. */
|
|
534
|
+
username?: string;
|
|
535
|
+
/** The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage. */
|
|
536
|
+
password?: string;
|
|
537
|
+
callSessionId?: string;
|
|
538
|
+
}
|
|
530
539
|
interface RefreshCallTokenParams {
|
|
531
540
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
532
541
|
preferredLanguage?: string;
|
|
@@ -948,6 +957,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
948
957
|
* @see https://docs.mindupload.app
|
|
949
958
|
*/
|
|
950
959
|
joinCallSession(params?: JoinCallSessionParams): Promise<Result>;
|
|
960
|
+
/** Say that this person has left a call the others are still in.
|
|
961
|
+
*
|
|
962
|
+
* Response fields: success, error_message.
|
|
963
|
+
* @see https://docs.mindupload.app
|
|
964
|
+
*/
|
|
965
|
+
leaveCallSession(params?: LeaveCallSessionParams): Promise<Result>;
|
|
951
966
|
/** Get a fresh joining pass for a call, before the current one expires.
|
|
952
967
|
*
|
|
953
968
|
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host.
|
|
@@ -1088,6 +1103,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1088
1103
|
constructor(message: string, options?: ErrorOptions);
|
|
1089
1104
|
}
|
|
1090
1105
|
|
|
1091
|
-
declare const VERSION = "1.12.
|
|
1106
|
+
declare const VERSION = "1.12.2";
|
|
1092
1107
|
|
|
1093
|
-
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateCallSessionParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type EndCallSessionParams, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetActiveCallSessionParams, type GetChatAroundParams, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesAroundParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetTransactionHistoryParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type JoinCallSessionParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshCallTokenParams, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SearchChatroomMessagesParams, type SearchChatsParams, type SetCallHostParams, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
|
1108
|
+
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateCallSessionParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type EndCallSessionParams, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetActiveCallSessionParams, type GetChatAroundParams, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesAroundParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetTransactionHistoryParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type JoinCallSessionParams, type LeaveCallSessionParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshCallTokenParams, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SearchChatroomMessagesParams, type SearchChatsParams, type SetCallHostParams, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var MindUploadConnectionError = class extends MindUploadError {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// src/version.ts
|
|
44
|
-
var VERSION = "1.12.
|
|
44
|
+
var VERSION = "1.12.2";
|
|
45
45
|
|
|
46
46
|
// src/client.ts
|
|
47
47
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -461,6 +461,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
461
461
|
joinCallSession(params = {}) {
|
|
462
462
|
return this.request("join_call_session", params);
|
|
463
463
|
}
|
|
464
|
+
/** Say that this person has left a call the others are still in.
|
|
465
|
+
*
|
|
466
|
+
* Response fields: success, error_message.
|
|
467
|
+
* @see https://docs.mindupload.app
|
|
468
|
+
*/
|
|
469
|
+
leaveCallSession(params = {}) {
|
|
470
|
+
return this.request("leave_call_session", params);
|
|
471
|
+
}
|
|
464
472
|
/** Get a fresh joining pass for a call, before the current one expires.
|
|
465
473
|
*
|
|
466
474
|
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindupload",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "Official server-side SDK for the Mind Upload partner API \u2014 the world's first API for artificial consciousness. Integrate living, evolving AI consciousnesses into your platform: lasting memory, one-on-one chat, and human + AI group chatrooms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mindupload",
|