mindupload 1.14.0 → 1.15.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 +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -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
|
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -98,6 +98,8 @@ interface LoginParams {
|
|
|
98
98
|
username?: string;
|
|
99
99
|
/** 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. */
|
|
100
100
|
password?: string;
|
|
101
|
+
/** Optional. A stable identifier for the device or app install signing in. Send the same value every time from one install: a new sign-in then replaces only the earlier session of that install and leaves the other devices of the user signed in. */
|
|
102
|
+
visitorId?: string;
|
|
101
103
|
}
|
|
102
104
|
interface LogoutParams {
|
|
103
105
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -124,6 +126,8 @@ interface RegisterParams {
|
|
|
124
126
|
phoneNumber?: string;
|
|
125
127
|
avatarId?: string;
|
|
126
128
|
acceptChatroomInvitationByOthers?: boolean;
|
|
129
|
+
/** Optional. The same device or app install identifier as for login; the first session of the new account is kept under it. */
|
|
130
|
+
visitorId?: string;
|
|
127
131
|
}
|
|
128
132
|
interface CheckChatroomUpdatesParams {
|
|
129
133
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -626,6 +630,7 @@ interface RequestMultipartUploadParams {
|
|
|
626
630
|
/** The kind of media: `image`, `video`, or `audio`. */
|
|
627
631
|
mediaType?: string;
|
|
628
632
|
hasThumbnail?: boolean;
|
|
633
|
+
thumbnailFileSizeBytes?: number;
|
|
629
634
|
}
|
|
630
635
|
interface RequestUploadUrlParams {
|
|
631
636
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -640,6 +645,7 @@ interface RequestUploadUrlParams {
|
|
|
640
645
|
/** The kind of media: `image`, `video`, or `audio`. */
|
|
641
646
|
mediaType?: string;
|
|
642
647
|
hasThumbnail?: boolean;
|
|
648
|
+
thumbnailFileSizeBytes?: number;
|
|
643
649
|
}
|
|
644
650
|
interface SignUploadPartParams {
|
|
645
651
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -755,7 +761,9 @@ interface UpdateUserParams {
|
|
|
755
761
|
username?: string;
|
|
756
762
|
/** 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. */
|
|
757
763
|
password?: string;
|
|
764
|
+
/** A new email address for the account. Over the Partner API it is saved unverified, and the Partner API never uses it to reset the password. */
|
|
758
765
|
email?: string;
|
|
766
|
+
/** Only a code the MindUpload app emailed to the new address for this account is accepted. The Partner API cannot send one, so leave this out; a wrong code fails the whole update. */
|
|
759
767
|
emailVerificationCode?: string;
|
|
760
768
|
firstName?: string;
|
|
761
769
|
lastName?: string;
|
|
@@ -1218,6 +1226,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1218
1226
|
constructor(message: string, options?: ErrorOptions);
|
|
1219
1227
|
}
|
|
1220
1228
|
|
|
1221
|
-
declare const VERSION = "1.
|
|
1229
|
+
declare const VERSION = "1.15.1";
|
|
1222
1230
|
|
|
1223
1231
|
export { type AbortMultipartUploadParams, type AdvanceVoiceInterviewParams, 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 GenerateVoiceInterviewReportParams, 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 StartVoiceInterviewParams, type TranscribeVoiceInterviewAnswerParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ interface LoginParams {
|
|
|
98
98
|
username?: string;
|
|
99
99
|
/** 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. */
|
|
100
100
|
password?: string;
|
|
101
|
+
/** Optional. A stable identifier for the device or app install signing in. Send the same value every time from one install: a new sign-in then replaces only the earlier session of that install and leaves the other devices of the user signed in. */
|
|
102
|
+
visitorId?: string;
|
|
101
103
|
}
|
|
102
104
|
interface LogoutParams {
|
|
103
105
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -124,6 +126,8 @@ interface RegisterParams {
|
|
|
124
126
|
phoneNumber?: string;
|
|
125
127
|
avatarId?: string;
|
|
126
128
|
acceptChatroomInvitationByOthers?: boolean;
|
|
129
|
+
/** Optional. The same device or app install identifier as for login; the first session of the new account is kept under it. */
|
|
130
|
+
visitorId?: string;
|
|
127
131
|
}
|
|
128
132
|
interface CheckChatroomUpdatesParams {
|
|
129
133
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -626,6 +630,7 @@ interface RequestMultipartUploadParams {
|
|
|
626
630
|
/** The kind of media: `image`, `video`, or `audio`. */
|
|
627
631
|
mediaType?: string;
|
|
628
632
|
hasThumbnail?: boolean;
|
|
633
|
+
thumbnailFileSizeBytes?: number;
|
|
629
634
|
}
|
|
630
635
|
interface RequestUploadUrlParams {
|
|
631
636
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -640,6 +645,7 @@ interface RequestUploadUrlParams {
|
|
|
640
645
|
/** The kind of media: `image`, `video`, or `audio`. */
|
|
641
646
|
mediaType?: string;
|
|
642
647
|
hasThumbnail?: boolean;
|
|
648
|
+
thumbnailFileSizeBytes?: number;
|
|
643
649
|
}
|
|
644
650
|
interface SignUploadPartParams {
|
|
645
651
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -755,7 +761,9 @@ interface UpdateUserParams {
|
|
|
755
761
|
username?: string;
|
|
756
762
|
/** 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. */
|
|
757
763
|
password?: string;
|
|
764
|
+
/** A new email address for the account. Over the Partner API it is saved unverified, and the Partner API never uses it to reset the password. */
|
|
758
765
|
email?: string;
|
|
766
|
+
/** Only a code the MindUpload app emailed to the new address for this account is accepted. The Partner API cannot send one, so leave this out; a wrong code fails the whole update. */
|
|
759
767
|
emailVerificationCode?: string;
|
|
760
768
|
firstName?: string;
|
|
761
769
|
lastName?: string;
|
|
@@ -1218,6 +1226,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1218
1226
|
constructor(message: string, options?: ErrorOptions);
|
|
1219
1227
|
}
|
|
1220
1228
|
|
|
1221
|
-
declare const VERSION = "1.
|
|
1229
|
+
declare const VERSION = "1.15.1";
|
|
1222
1230
|
|
|
1223
1231
|
export { type AbortMultipartUploadParams, type AdvanceVoiceInterviewParams, 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 GenerateVoiceInterviewReportParams, 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 StartVoiceInterviewParams, type TranscribeVoiceInterviewAnswerParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindupload",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.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",
|