mindupload 1.5.3 → 1.5.4
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 +15 -2
- package/dist/index.d.ts +15 -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
|
|
|
@@ -96,7 +96,7 @@ try {
|
|
|
96
96
|
|
|
97
97
|
## Operations
|
|
98
98
|
|
|
99
|
-
All
|
|
99
|
+
All 33 operations, grouped by area:
|
|
100
100
|
|
|
101
101
|
### AI Consciousnesses
|
|
102
102
|
|
|
@@ -132,6 +132,7 @@ All 32 operations, grouped by area:
|
|
|
132
132
|
| `getChatroomMembership(...)` | List the members of a chatroom the user belongs to. |
|
|
133
133
|
| `getChatroomMessages(...)` | Fetch messages from a chatroom the user belongs to. |
|
|
134
134
|
| `getChatrooms(...)` | List the chatrooms the user belongs to. |
|
|
135
|
+
| `translateChatroomMessage(...)` | Translate a user-authored chatroom message into the viewer language. |
|
|
135
136
|
|
|
136
137
|
### Conversation
|
|
137
138
|
|
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.5.
|
|
78
|
+
var VERSION = "1.5.4";
|
|
79
79
|
|
|
80
80
|
// src/client.ts
|
|
81
81
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -322,6 +322,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
322
322
|
getChatrooms(params = {}) {
|
|
323
323
|
return this.request("get_chatrooms", params);
|
|
324
324
|
}
|
|
325
|
+
/** Translate a user-authored chatroom message into the viewer language.
|
|
326
|
+
*
|
|
327
|
+
* Response fields: success, error_message, translated_text, target_language, cached.
|
|
328
|
+
* @see https://docs.mindupload.app
|
|
329
|
+
*/
|
|
330
|
+
translateChatroomMessage(params = {}) {
|
|
331
|
+
return this.request("translate_chatroom_message", params);
|
|
332
|
+
}
|
|
325
333
|
// --- Conversation ---
|
|
326
334
|
/** Fetch the one-on-one conversation history with an AI consciousness.
|
|
327
335
|
*
|
package/dist/index.d.cts
CHANGED
|
@@ -163,6 +163,13 @@ interface GetChatroomsParams {
|
|
|
163
163
|
getPublic?: boolean;
|
|
164
164
|
getPrivate?: boolean;
|
|
165
165
|
}
|
|
166
|
+
interface TranslateChatroomMessageParams {
|
|
167
|
+
preferredLanguage?: string;
|
|
168
|
+
username?: string;
|
|
169
|
+
password?: string;
|
|
170
|
+
chatroomId?: string;
|
|
171
|
+
messageId?: string;
|
|
172
|
+
}
|
|
166
173
|
interface GetChatParams {
|
|
167
174
|
preferredLanguage?: string;
|
|
168
175
|
page?: number;
|
|
@@ -412,6 +419,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
412
419
|
* @see https://docs.mindupload.app
|
|
413
420
|
*/
|
|
414
421
|
getChatrooms(params?: GetChatroomsParams): Promise<Result>;
|
|
422
|
+
/** Translate a user-authored chatroom message into the viewer language.
|
|
423
|
+
*
|
|
424
|
+
* Response fields: success, error_message, translated_text, target_language, cached.
|
|
425
|
+
* @see https://docs.mindupload.app
|
|
426
|
+
*/
|
|
427
|
+
translateChatroomMessage(params?: TranslateChatroomMessageParams): Promise<Result>;
|
|
415
428
|
/** Fetch the one-on-one conversation history with an AI consciousness.
|
|
416
429
|
*
|
|
417
430
|
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, chats, media_thumbnails.
|
|
@@ -552,6 +565,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
552
565
|
constructor(message: string, options?: ErrorOptions);
|
|
553
566
|
}
|
|
554
567
|
|
|
555
|
-
declare const VERSION = "1.5.
|
|
568
|
+
declare const VERSION = "1.5.4";
|
|
556
569
|
|
|
557
|
-
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION };
|
|
570
|
+
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION };
|
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,13 @@ interface GetChatroomsParams {
|
|
|
163
163
|
getPublic?: boolean;
|
|
164
164
|
getPrivate?: boolean;
|
|
165
165
|
}
|
|
166
|
+
interface TranslateChatroomMessageParams {
|
|
167
|
+
preferredLanguage?: string;
|
|
168
|
+
username?: string;
|
|
169
|
+
password?: string;
|
|
170
|
+
chatroomId?: string;
|
|
171
|
+
messageId?: string;
|
|
172
|
+
}
|
|
166
173
|
interface GetChatParams {
|
|
167
174
|
preferredLanguage?: string;
|
|
168
175
|
page?: number;
|
|
@@ -412,6 +419,12 @@ declare class MindUpload extends MindUploadBase {
|
|
|
412
419
|
* @see https://docs.mindupload.app
|
|
413
420
|
*/
|
|
414
421
|
getChatrooms(params?: GetChatroomsParams): Promise<Result>;
|
|
422
|
+
/** Translate a user-authored chatroom message into the viewer language.
|
|
423
|
+
*
|
|
424
|
+
* Response fields: success, error_message, translated_text, target_language, cached.
|
|
425
|
+
* @see https://docs.mindupload.app
|
|
426
|
+
*/
|
|
427
|
+
translateChatroomMessage(params?: TranslateChatroomMessageParams): Promise<Result>;
|
|
415
428
|
/** Fetch the one-on-one conversation history with an AI consciousness.
|
|
416
429
|
*
|
|
417
430
|
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, chats, media_thumbnails.
|
|
@@ -552,6 +565,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
552
565
|
constructor(message: string, options?: ErrorOptions);
|
|
553
566
|
}
|
|
554
567
|
|
|
555
|
-
declare const VERSION = "1.5.
|
|
568
|
+
declare const VERSION = "1.5.4";
|
|
556
569
|
|
|
557
|
-
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION };
|
|
570
|
+
export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION };
|
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.5.
|
|
44
|
+
var VERSION = "1.5.4";
|
|
45
45
|
|
|
46
46
|
// src/client.ts
|
|
47
47
|
var DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
@@ -288,6 +288,14 @@ var MindUpload = class extends MindUploadBase {
|
|
|
288
288
|
getChatrooms(params = {}) {
|
|
289
289
|
return this.request("get_chatrooms", params);
|
|
290
290
|
}
|
|
291
|
+
/** Translate a user-authored chatroom message into the viewer language.
|
|
292
|
+
*
|
|
293
|
+
* Response fields: success, error_message, translated_text, target_language, cached.
|
|
294
|
+
* @see https://docs.mindupload.app
|
|
295
|
+
*/
|
|
296
|
+
translateChatroomMessage(params = {}) {
|
|
297
|
+
return this.request("translate_chatroom_message", params);
|
|
298
|
+
}
|
|
291
299
|
// --- Conversation ---
|
|
292
300
|
/** Fetch the one-on-one conversation history with an AI consciousness.
|
|
293
301
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindupload",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.4",
|
|
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",
|