mindupload 1.12.2 → 1.13.1
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 +10 -2
- package/dist/index.d.cts +27 -3
- package/dist/index.d.ts +27 -3
- package/dist/index.js +10 -2
- 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 52 operations, grouped by area:
|
|
128
128
|
|
|
129
129
|
### AI Consciousnesses
|
|
130
130
|
|
|
@@ -216,6 +216,7 @@ All 51 operations, grouped by area:
|
|
|
216
216
|
| `requestUploadUrl(...)` | Request an upload slot and a signed viewing link for a media attachment. |
|
|
217
217
|
| `signUploadPart(...)` | Get the signed link for one part of a multipart upload. |
|
|
218
218
|
| `signUploadPartsBatch(...)` | Get signed links for several parts of a multipart upload at once. |
|
|
219
|
+
| `startMediaAnalysis(...)` | Begin analysing an uploaded or linked attachment so its description is ready before the message is sent. |
|
|
219
220
|
|
|
220
221
|
### Memories
|
|
221
222
|
|
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.
|
|
78
|
+
var VERSION = "1.13.1";
|
|
79
79
|
|
|
80
80
|
// src/client.ts
|
|
81
81
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -235,7 +235,7 @@ var MindUpload = class extends MindUploadBase {
|
|
|
235
235
|
// --- Account ---
|
|
236
236
|
/** Check your partner API rate limits, credit caps, and current usage.
|
|
237
237
|
*
|
|
238
|
-
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
238
|
+
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_voice_minutes_cap_monthly, call_video_minutes_cap_monthly, call_voice_participant_minutes_this_month, call_video_participant_minutes_this_month, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_live_participant_minutes, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
239
239
|
* @see https://docs.mindupload.app
|
|
240
240
|
*/
|
|
241
241
|
getQuota(params = {}) {
|
|
@@ -584,6 +584,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
584
584
|
signUploadPartsBatch(params = {}) {
|
|
585
585
|
return this.request("sign_upload_parts_batch", params);
|
|
586
586
|
}
|
|
587
|
+
/** Begin analysing an uploaded or linked attachment so its description is ready before the message is sent.
|
|
588
|
+
*
|
|
589
|
+
* Response fields: success, error_message, analyses.
|
|
590
|
+
* @see https://docs.mindupload.app
|
|
591
|
+
*/
|
|
592
|
+
startMediaAnalysis(params) {
|
|
593
|
+
return this.request("start_media_analysis", params);
|
|
594
|
+
}
|
|
587
595
|
// --- Memories ---
|
|
588
596
|
/** Upload a memory or persona entry to an AI consciousness.
|
|
589
597
|
*
|
package/dist/index.d.cts
CHANGED
|
@@ -495,6 +495,8 @@ interface CreateCallSessionParams {
|
|
|
495
495
|
chatroomId?: string;
|
|
496
496
|
/** What kind of call to start. `conversation` (the default) admits everyone able to speak and show their camera. `broadcast` admits everyone except the chatroom owner and admins able to watch, listen and ask to speak, until somebody running the call lets them. Only the chatroom owner and admins may start a broadcast; anyone else asking for one starts a conversation. */
|
|
497
497
|
mode?: "conversation" | "broadcast";
|
|
498
|
+
/** Whether this call carries a picture. `video` (the default) is a call with cameras; `voice` is a call with none at all — sound only, which asks far less of a slow or metered connection. It is fixed for the whole call and applies to everybody in it — nobody can turn a camera on in a voice call, and nobody can join one as a video participant — so switching means starting a new call. Two things override it. A call already running in the room wins: the caller joins that one, in the kind it is already in. And `mode: broadcast` wins: a broadcast is always a video call, counted and capped as one. Read `media_tier` back off the call in the response to see which kind you got. */
|
|
499
|
+
mediaTier?: "voice" | "video";
|
|
498
500
|
/** Whether whoever starts this call runs it. False, and absent, mean the call controls rest only on chatroom standing — so a call whose owner and admins have all left carries on with nobody running it until one of them returns. Only the chatroom owner and admins may turn it on; anyone else asking for it is ignored. Set once, when the call starts. */
|
|
499
501
|
hostInheritance?: boolean;
|
|
500
502
|
}
|
|
@@ -616,6 +618,7 @@ interface RequestMultipartUploadParams {
|
|
|
616
618
|
filename?: string;
|
|
617
619
|
contentType?: string;
|
|
618
620
|
fileSizeBytes?: number;
|
|
621
|
+
/** The kind of media: `image`, `video`, or `audio`. */
|
|
619
622
|
mediaType?: string;
|
|
620
623
|
hasThumbnail?: boolean;
|
|
621
624
|
}
|
|
@@ -629,6 +632,7 @@ interface RequestUploadUrlParams {
|
|
|
629
632
|
filename?: string;
|
|
630
633
|
contentType?: string;
|
|
631
634
|
fileSizeBytes?: number;
|
|
635
|
+
/** The kind of media: `image`, `video`, or `audio`. */
|
|
632
636
|
mediaType?: string;
|
|
633
637
|
hasThumbnail?: boolean;
|
|
634
638
|
}
|
|
@@ -660,6 +664,20 @@ interface SignUploadPartsBatchParams {
|
|
|
660
664
|
/** One-based multipart part numbers to sign in a single batch. */
|
|
661
665
|
partNumbers?: Array<number>;
|
|
662
666
|
}
|
|
667
|
+
interface StartMediaAnalysisParams {
|
|
668
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
669
|
+
preferredLanguage?: string;
|
|
670
|
+
/** The end-user's username. */
|
|
671
|
+
username: string;
|
|
672
|
+
/** 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. */
|
|
673
|
+
password: string;
|
|
674
|
+
/** The attachment to start describing, as its own call. Send each one as soon as it is uploaded or pasted, while the person is still typing, so nothing is left to do at send time. `maxItems` is the cap; a longer array is rejected, not truncated. */
|
|
675
|
+
media: Array<Record<string, unknown>>;
|
|
676
|
+
/** The AI consciousness this attachment is for, named the way `rag` and `get_chat` name it. Send this for a one-on-one conversation, or `chatroom_id` for a room — exactly one of the two, and the person must be able to reach it. */
|
|
677
|
+
codename?: string;
|
|
678
|
+
/** The chatroom this attachment is for, as returned by chatroom operations. Send this for a room, or `codename` for a one-on-one conversation — exactly one of the two, and the person must already be in the room. */
|
|
679
|
+
chatroomId?: string;
|
|
680
|
+
}
|
|
663
681
|
interface CreateTextParams {
|
|
664
682
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
665
683
|
preferredLanguage?: string;
|
|
@@ -767,7 +785,7 @@ declare class MindUpload extends MindUploadBase {
|
|
|
767
785
|
updateClone(params?: UpdateCloneParams): Promise<Result>;
|
|
768
786
|
/** Check your partner API rate limits, credit caps, and current usage.
|
|
769
787
|
*
|
|
770
|
-
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
788
|
+
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_voice_minutes_cap_monthly, call_video_minutes_cap_monthly, call_voice_participant_minutes_this_month, call_video_participant_minutes_this_month, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_live_participant_minutes, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
771
789
|
* @see https://docs.mindupload.app
|
|
772
790
|
*/
|
|
773
791
|
getQuota(params?: GetQuotaParams): Promise<Result>;
|
|
@@ -1023,6 +1041,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
1023
1041
|
* @see https://docs.mindupload.app
|
|
1024
1042
|
*/
|
|
1025
1043
|
signUploadPartsBatch(params?: SignUploadPartsBatchParams): Promise<Result>;
|
|
1044
|
+
/** Begin analysing an uploaded or linked attachment so its description is ready before the message is sent.
|
|
1045
|
+
*
|
|
1046
|
+
* Response fields: success, error_message, analyses.
|
|
1047
|
+
* @see https://docs.mindupload.app
|
|
1048
|
+
*/
|
|
1049
|
+
startMediaAnalysis(params: StartMediaAnalysisParams): Promise<Result>;
|
|
1026
1050
|
/** Upload a memory or persona entry to an AI consciousness.
|
|
1027
1051
|
*
|
|
1028
1052
|
* Response fields: success, error_message, cluster_label, cluster_modified_count.
|
|
@@ -1103,6 +1127,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1103
1127
|
constructor(message: string, options?: ErrorOptions);
|
|
1104
1128
|
}
|
|
1105
1129
|
|
|
1106
|
-
declare const VERSION = "1.
|
|
1130
|
+
declare const VERSION = "1.13.1";
|
|
1107
1131
|
|
|
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 };
|
|
1132
|
+
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 StartMediaAnalysisParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
package/dist/index.d.ts
CHANGED
|
@@ -495,6 +495,8 @@ interface CreateCallSessionParams {
|
|
|
495
495
|
chatroomId?: string;
|
|
496
496
|
/** What kind of call to start. `conversation` (the default) admits everyone able to speak and show their camera. `broadcast` admits everyone except the chatroom owner and admins able to watch, listen and ask to speak, until somebody running the call lets them. Only the chatroom owner and admins may start a broadcast; anyone else asking for one starts a conversation. */
|
|
497
497
|
mode?: "conversation" | "broadcast";
|
|
498
|
+
/** Whether this call carries a picture. `video` (the default) is a call with cameras; `voice` is a call with none at all — sound only, which asks far less of a slow or metered connection. It is fixed for the whole call and applies to everybody in it — nobody can turn a camera on in a voice call, and nobody can join one as a video participant — so switching means starting a new call. Two things override it. A call already running in the room wins: the caller joins that one, in the kind it is already in. And `mode: broadcast` wins: a broadcast is always a video call, counted and capped as one. Read `media_tier` back off the call in the response to see which kind you got. */
|
|
499
|
+
mediaTier?: "voice" | "video";
|
|
498
500
|
/** Whether whoever starts this call runs it. False, and absent, mean the call controls rest only on chatroom standing — so a call whose owner and admins have all left carries on with nobody running it until one of them returns. Only the chatroom owner and admins may turn it on; anyone else asking for it is ignored. Set once, when the call starts. */
|
|
499
501
|
hostInheritance?: boolean;
|
|
500
502
|
}
|
|
@@ -616,6 +618,7 @@ interface RequestMultipartUploadParams {
|
|
|
616
618
|
filename?: string;
|
|
617
619
|
contentType?: string;
|
|
618
620
|
fileSizeBytes?: number;
|
|
621
|
+
/** The kind of media: `image`, `video`, or `audio`. */
|
|
619
622
|
mediaType?: string;
|
|
620
623
|
hasThumbnail?: boolean;
|
|
621
624
|
}
|
|
@@ -629,6 +632,7 @@ interface RequestUploadUrlParams {
|
|
|
629
632
|
filename?: string;
|
|
630
633
|
contentType?: string;
|
|
631
634
|
fileSizeBytes?: number;
|
|
635
|
+
/** The kind of media: `image`, `video`, or `audio`. */
|
|
632
636
|
mediaType?: string;
|
|
633
637
|
hasThumbnail?: boolean;
|
|
634
638
|
}
|
|
@@ -660,6 +664,20 @@ interface SignUploadPartsBatchParams {
|
|
|
660
664
|
/** One-based multipart part numbers to sign in a single batch. */
|
|
661
665
|
partNumbers?: Array<number>;
|
|
662
666
|
}
|
|
667
|
+
interface StartMediaAnalysisParams {
|
|
668
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
669
|
+
preferredLanguage?: string;
|
|
670
|
+
/** The end-user's username. */
|
|
671
|
+
username: string;
|
|
672
|
+
/** 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. */
|
|
673
|
+
password: string;
|
|
674
|
+
/** The attachment to start describing, as its own call. Send each one as soon as it is uploaded or pasted, while the person is still typing, so nothing is left to do at send time. `maxItems` is the cap; a longer array is rejected, not truncated. */
|
|
675
|
+
media: Array<Record<string, unknown>>;
|
|
676
|
+
/** The AI consciousness this attachment is for, named the way `rag` and `get_chat` name it. Send this for a one-on-one conversation, or `chatroom_id` for a room — exactly one of the two, and the person must be able to reach it. */
|
|
677
|
+
codename?: string;
|
|
678
|
+
/** The chatroom this attachment is for, as returned by chatroom operations. Send this for a room, or `codename` for a one-on-one conversation — exactly one of the two, and the person must already be in the room. */
|
|
679
|
+
chatroomId?: string;
|
|
680
|
+
}
|
|
663
681
|
interface CreateTextParams {
|
|
664
682
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
665
683
|
preferredLanguage?: string;
|
|
@@ -767,7 +785,7 @@ declare class MindUpload extends MindUploadBase {
|
|
|
767
785
|
updateClone(params?: UpdateCloneParams): Promise<Result>;
|
|
768
786
|
/** Check your partner API rate limits, credit caps, and current usage.
|
|
769
787
|
*
|
|
770
|
-
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
788
|
+
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_voice_minutes_cap_monthly, call_video_minutes_cap_monthly, call_voice_participant_minutes_this_month, call_video_participant_minutes_this_month, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_live_participant_minutes, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
771
789
|
* @see https://docs.mindupload.app
|
|
772
790
|
*/
|
|
773
791
|
getQuota(params?: GetQuotaParams): Promise<Result>;
|
|
@@ -1023,6 +1041,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
1023
1041
|
* @see https://docs.mindupload.app
|
|
1024
1042
|
*/
|
|
1025
1043
|
signUploadPartsBatch(params?: SignUploadPartsBatchParams): Promise<Result>;
|
|
1044
|
+
/** Begin analysing an uploaded or linked attachment so its description is ready before the message is sent.
|
|
1045
|
+
*
|
|
1046
|
+
* Response fields: success, error_message, analyses.
|
|
1047
|
+
* @see https://docs.mindupload.app
|
|
1048
|
+
*/
|
|
1049
|
+
startMediaAnalysis(params: StartMediaAnalysisParams): Promise<Result>;
|
|
1026
1050
|
/** Upload a memory or persona entry to an AI consciousness.
|
|
1027
1051
|
*
|
|
1028
1052
|
* Response fields: success, error_message, cluster_label, cluster_modified_count.
|
|
@@ -1103,6 +1127,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1103
1127
|
constructor(message: string, options?: ErrorOptions);
|
|
1104
1128
|
}
|
|
1105
1129
|
|
|
1106
|
-
declare const VERSION = "1.
|
|
1130
|
+
declare const VERSION = "1.13.1";
|
|
1107
1131
|
|
|
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 };
|
|
1132
|
+
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 StartMediaAnalysisParams, 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.
|
|
44
|
+
var VERSION = "1.13.1";
|
|
45
45
|
|
|
46
46
|
// src/client.ts
|
|
47
47
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -201,7 +201,7 @@ var MindUpload = class extends MindUploadBase {
|
|
|
201
201
|
// --- Account ---
|
|
202
202
|
/** Check your partner API rate limits, credit caps, and current usage.
|
|
203
203
|
*
|
|
204
|
-
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
204
|
+
* Response fields: success, error_message, per_user_rate_limit_per_min, per_user_daily_credit_cap, partner_rate_limit_per_min, external_authorization_rate_limit_per_min, partner_daily_credit_cap, max_users, registered_users, partner_requests_last_minute, partner_credit_spends_last_day, user, user_requests_last_minute, user_credit_spends_last_day, credit_spending_tasks, calls_enabled, call_minutes_cap_monthly, call_max_concurrent_sessions, call_voice_minutes_cap_monthly, call_video_minutes_cap_monthly, call_voice_participant_minutes_this_month, call_video_participant_minutes_this_month, call_month_start_timestamp, call_sessions_this_month, call_participant_minutes_this_month, call_live_participant_minutes, call_data_transferred_bytes_this_month, call_data_transferred_is_complete, call_live_sessions, call_spending_tasks, operation_duration_ms.
|
|
205
205
|
* @see https://docs.mindupload.app
|
|
206
206
|
*/
|
|
207
207
|
getQuota(params = {}) {
|
|
@@ -550,6 +550,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
550
550
|
signUploadPartsBatch(params = {}) {
|
|
551
551
|
return this.request("sign_upload_parts_batch", params);
|
|
552
552
|
}
|
|
553
|
+
/** Begin analysing an uploaded or linked attachment so its description is ready before the message is sent.
|
|
554
|
+
*
|
|
555
|
+
* Response fields: success, error_message, analyses.
|
|
556
|
+
* @see https://docs.mindupload.app
|
|
557
|
+
*/
|
|
558
|
+
startMediaAnalysis(params) {
|
|
559
|
+
return this.request("start_media_analysis", params);
|
|
560
|
+
}
|
|
553
561
|
// --- Memories ---
|
|
554
562
|
/** Upload a memory or persona entry to an AI consciousness.
|
|
555
563
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindupload",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
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",
|