mindupload 1.15.16 → 1.15.17
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 +11 -3
- package/dist/index.cjs +121 -57
- package/dist/index.d.cts +260 -60
- package/dist/index.d.ts +260 -60
- package/dist/index.js +121 -57
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ declare const DEFAULT_BASE_URL = "https://partner.mindupload.app";
|
|
|
4
4
|
interface Result {
|
|
5
5
|
success: boolean;
|
|
6
6
|
error_message?: string | null;
|
|
7
|
+
error_code?: string;
|
|
7
8
|
[key: string]: unknown;
|
|
8
9
|
}
|
|
9
10
|
interface ClientOptions {
|
|
@@ -391,6 +392,44 @@ interface TriggerSocialParams {
|
|
|
391
392
|
/** Credit amount displayed before the action, as an exact decimal string. The action is refused if a new charge would use a different amount. Omit for older clients; cached reports remain free. */
|
|
392
393
|
expectedCreditCost?: string;
|
|
393
394
|
}
|
|
395
|
+
interface CancelExternalMediaUploadParams {
|
|
396
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
397
|
+
preferredLanguage?: string;
|
|
398
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
399
|
+
accessToken: string;
|
|
400
|
+
/** Your stable opaque identifier for this app installation. */
|
|
401
|
+
installationId: string;
|
|
402
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
403
|
+
externalSubject: string;
|
|
404
|
+
/** AI consciousness id as returned by clone operations. */
|
|
405
|
+
cloneId: string;
|
|
406
|
+
/** Server-issued controlled upload reference returned by request_external_media_upload; never a URL. */
|
|
407
|
+
uploadId: string;
|
|
408
|
+
}
|
|
409
|
+
interface ConsolidateExternalConversationParams {
|
|
410
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
411
|
+
preferredLanguage?: string;
|
|
412
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
413
|
+
accessToken: string;
|
|
414
|
+
/** Your stable opaque identifier for this app installation. */
|
|
415
|
+
installationId: string;
|
|
416
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
417
|
+
externalSubject: string;
|
|
418
|
+
/** AI consciousness id as returned by clone operations. */
|
|
419
|
+
cloneId: string;
|
|
420
|
+
/** A stable opaque event key that makes exact retries return the same outcome. */
|
|
421
|
+
idempotencyKey: string;
|
|
422
|
+
currentText: string;
|
|
423
|
+
cloneResponse: string;
|
|
424
|
+
contextMessages?: Array<Record<string, unknown>>;
|
|
425
|
+
references?: Array<Record<string, unknown>>;
|
|
426
|
+
/** Neutral display name of whoever is sending this message, shown to the AI consciousness as who it is currently talking to. */
|
|
427
|
+
speakerLabel?: string;
|
|
428
|
+
sourceLabel?: string;
|
|
429
|
+
mediaIds?: Array<string>;
|
|
430
|
+
purpose?: "conversation" | "reading";
|
|
431
|
+
ownerNotes?: string;
|
|
432
|
+
}
|
|
394
433
|
interface CreateExternalAuthorizationRequestParams {
|
|
395
434
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
396
435
|
preferredLanguage?: string;
|
|
@@ -405,7 +444,7 @@ interface CreateExternalAuthorizationRequestParams {
|
|
|
405
444
|
/** Optional user-readable external identity shown during consent. */
|
|
406
445
|
externalIdentityLabel?: string;
|
|
407
446
|
/** Capabilities the owner is being asked to delegate. */
|
|
408
|
-
requestedScopes: Array<"clone:invoke" | "clone:learn" | "clone:invoke_shared" | "clone:upload">;
|
|
447
|
+
requestedScopes: Array<"clone:invoke" | "clone:learn" | "clone:invoke_shared" | "clone:upload" | "clone:review">;
|
|
409
448
|
}
|
|
410
449
|
interface ExchangeExternalAuthorizationParams {
|
|
411
450
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
@@ -413,6 +452,55 @@ interface ExchangeExternalAuthorizationParams {
|
|
|
413
452
|
/** Short-lived high-entropy secret used only to poll and exchange this request. */
|
|
414
453
|
deviceCode: string;
|
|
415
454
|
}
|
|
455
|
+
interface GetExternalMediaAnalysisParams {
|
|
456
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
457
|
+
preferredLanguage?: string;
|
|
458
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
459
|
+
accessToken: string;
|
|
460
|
+
/** Your stable opaque identifier for this app installation. */
|
|
461
|
+
installationId: string;
|
|
462
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
463
|
+
externalSubject: string;
|
|
464
|
+
/** AI consciousness id as returned by clone operations. */
|
|
465
|
+
cloneId: string;
|
|
466
|
+
/** Server-issued controlled upload reference returned by request_external_media_upload; never a URL. */
|
|
467
|
+
uploadId: string;
|
|
468
|
+
}
|
|
469
|
+
interface GetExternalMediaPolicyParams {
|
|
470
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
471
|
+
preferredLanguage?: string;
|
|
472
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
473
|
+
accessToken: string;
|
|
474
|
+
/** Your stable opaque identifier for this app installation. */
|
|
475
|
+
installationId: string;
|
|
476
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
477
|
+
externalSubject: string;
|
|
478
|
+
/** AI consciousness id as returned by clone operations. */
|
|
479
|
+
cloneId: string;
|
|
480
|
+
}
|
|
481
|
+
interface GetExternalQuarantinedTextsParams {
|
|
482
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
483
|
+
preferredLanguage?: string;
|
|
484
|
+
page?: number;
|
|
485
|
+
/** Maximum records requested for one server-capped page. */
|
|
486
|
+
pageSize?: number;
|
|
487
|
+
sortBy?: string;
|
|
488
|
+
/** Sort direction; supported values depend on the operation. */
|
|
489
|
+
sortOrder?: number;
|
|
490
|
+
useCursorPagination?: boolean;
|
|
491
|
+
/** Opaque pagination cursor value from the previous page (`next_cursor_value`). */
|
|
492
|
+
cursorValue?: number;
|
|
493
|
+
/** Opaque pagination cursor id from the previous page (`next_cursor_id`). */
|
|
494
|
+
cursorId?: string;
|
|
495
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
496
|
+
accessToken: string;
|
|
497
|
+
/** Your stable opaque identifier for this app installation. */
|
|
498
|
+
installationId: string;
|
|
499
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
500
|
+
externalSubject: string;
|
|
501
|
+
/** AI consciousness id as returned by clone operations. */
|
|
502
|
+
cloneId: string;
|
|
503
|
+
}
|
|
416
504
|
interface InspectExternalAuthorizationParams {
|
|
417
505
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
418
506
|
preferredLanguage?: string;
|
|
@@ -424,6 +512,12 @@ interface InvokeExternalCloneParams {
|
|
|
424
512
|
preferredLanguage?: string;
|
|
425
513
|
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
426
514
|
accessToken: string;
|
|
515
|
+
/** When true, marker-like text is quoted literally and cannot fetch media. Only the owner’s own clone is accepted; use explicit consolidation/save for learning. */
|
|
516
|
+
literalText?: boolean;
|
|
517
|
+
/** Completed controlled media IDs, checked for ownership, application, scope, retention and exact object version. No analysis is started here. */
|
|
518
|
+
mediaIds?: Array<string>;
|
|
519
|
+
/** Quoted page or subtitle sources kept separate from owner statements. Titles, URLs and bodies share the request text bound; URLs are never fetched. */
|
|
520
|
+
references?: Array<Record<string, unknown>>;
|
|
427
521
|
/** Your stable opaque identifier for this app installation. */
|
|
428
522
|
installationId: string;
|
|
429
523
|
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
@@ -453,12 +547,69 @@ interface RefreshExternalAuthorizationParams {
|
|
|
453
547
|
installationId: string;
|
|
454
548
|
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
455
549
|
externalSubject: string;
|
|
550
|
+
/** A stable opaque event key that makes exact retries return the same outcome. */
|
|
551
|
+
idempotencyKey?: string;
|
|
552
|
+
}
|
|
553
|
+
interface RequestExternalMediaUploadParams {
|
|
554
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
555
|
+
preferredLanguage?: string;
|
|
556
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
557
|
+
accessToken: string;
|
|
558
|
+
/** Your stable opaque identifier for this app installation. */
|
|
559
|
+
installationId: string;
|
|
560
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
561
|
+
externalSubject: string;
|
|
562
|
+
/** AI consciousness id as returned by clone operations. */
|
|
563
|
+
cloneId: string;
|
|
564
|
+
/** A stable opaque event key that makes exact retries return the same outcome. */
|
|
565
|
+
idempotencyKey: string;
|
|
566
|
+
filename: string;
|
|
567
|
+
contentType: "application/ogg" | "audio/3gpp" | "audio/aac" | "audio/m4a" | "audio/mp3" | "audio/mp4" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/wave" | "audio/webm" | "audio/x-m4a" | "audio/x-wav" | "image/gif" | "image/heic" | "image/heif" | "image/jpeg" | "image/png" | "image/webp" | "video/3gpp" | "video/avi" | "video/mp4" | "video/ogg" | "video/quicktime" | "video/webm" | "video/x-flv" | "video/x-m4v" | "video/x-matroska" | "video/x-ms-wmv" | "video/x-msvideo";
|
|
568
|
+
fileSizeBytes: number;
|
|
569
|
+
/** The kind of media: `image`, `video`, or `audio`. */
|
|
570
|
+
mediaType: "image" | "video" | "audio";
|
|
571
|
+
}
|
|
572
|
+
interface ReviewExternalQuarantinedTextParams {
|
|
573
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
574
|
+
preferredLanguage?: string;
|
|
575
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
576
|
+
accessToken: string;
|
|
577
|
+
/** Your stable opaque identifier for this app installation. */
|
|
578
|
+
installationId: string;
|
|
579
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
580
|
+
externalSubject: string;
|
|
581
|
+
/** AI consciousness id as returned by clone operations. */
|
|
582
|
+
cloneId: string;
|
|
583
|
+
/** A stable opaque event key that makes exact retries return the same outcome. */
|
|
584
|
+
idempotencyKey: string;
|
|
585
|
+
textId: string;
|
|
586
|
+
expectedContentRevision: string;
|
|
587
|
+
decision: "approve" | "reject" | "update";
|
|
588
|
+
text?: string;
|
|
589
|
+
}
|
|
590
|
+
interface StartExternalMediaAnalysisParams {
|
|
591
|
+
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
592
|
+
preferredLanguage?: string;
|
|
593
|
+
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
594
|
+
accessToken: string;
|
|
595
|
+
/** Your stable opaque identifier for this app installation. */
|
|
596
|
+
installationId: string;
|
|
597
|
+
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
598
|
+
externalSubject: string;
|
|
599
|
+
/** AI consciousness id as returned by clone operations. */
|
|
600
|
+
cloneId: string;
|
|
601
|
+
/** Server-issued controlled upload reference returned by request_external_media_upload; never a URL. */
|
|
602
|
+
uploadId: string;
|
|
456
603
|
}
|
|
457
604
|
interface UploadExternalMindDataParams {
|
|
458
605
|
/** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
|
|
459
606
|
preferredLanguage?: string;
|
|
460
607
|
/** Opaque grant token accepted only by grant inspection and external clone invocation; store it as a secret and never expose it to users. */
|
|
461
608
|
accessToken: string;
|
|
609
|
+
/** When true, upload the exact edited body without interpreting embedded media markers. */
|
|
610
|
+
literalText?: boolean;
|
|
611
|
+
/** Completed controlled media IDs, checked for ownership, application, scope, retention and exact object version. No analysis is started here. */
|
|
612
|
+
mediaIds?: Array<string>;
|
|
462
613
|
/** Your stable opaque identifier for this app installation. */
|
|
463
614
|
installationId: string;
|
|
464
615
|
/** Your stable opaque identifier for the person authorizing this installation. */
|
|
@@ -467,8 +618,9 @@ interface UploadExternalMindDataParams {
|
|
|
467
618
|
cloneId: string;
|
|
468
619
|
text: string;
|
|
469
620
|
textType?: "memory" | "persona" | "conscious";
|
|
470
|
-
/** Optional.
|
|
621
|
+
/** Optional for legacy clients. Reuse for retries of the same complete upload. A key is bound to the partner, grant, installation, external identity, clone, text type, text and provenance; changing any part is rejected. Receipts survive text deletion and are removed with the account. */
|
|
471
622
|
idempotencyKey?: string;
|
|
623
|
+
previewId?: string;
|
|
472
624
|
sourceLabel?: string;
|
|
473
625
|
}
|
|
474
626
|
interface GetMindClusterParams {
|
|
@@ -852,337 +1004,385 @@ interface TranscribeVoiceInterviewAnswerParams {
|
|
|
852
1004
|
declare class MindUpload extends MindUploadBase {
|
|
853
1005
|
/** Create a new AI consciousness for the user.
|
|
854
1006
|
*
|
|
855
|
-
* Response fields: success, error_message.
|
|
1007
|
+
* Response fields: success, error_message, error_code.
|
|
856
1008
|
* @see https://docs.mindupload.app
|
|
857
1009
|
*/
|
|
858
1010
|
createClone(params?: CreateCloneParams): Promise<Result>;
|
|
859
1011
|
/** List the user's AI consciousnesses.
|
|
860
1012
|
*
|
|
861
|
-
* Response fields: success, error_message, clones.
|
|
1013
|
+
* Response fields: success, error_message, error_code, clones.
|
|
862
1014
|
* @see https://docs.mindupload.app
|
|
863
1015
|
*/
|
|
864
1016
|
getClones(params?: GetClonesParams): Promise<Result>;
|
|
865
1017
|
/** Update an AI consciousness's profile.
|
|
866
1018
|
*
|
|
867
|
-
* Response fields: success, error_message.
|
|
1019
|
+
* Response fields: success, error_message, error_code.
|
|
868
1020
|
* @see https://docs.mindupload.app
|
|
869
1021
|
*/
|
|
870
1022
|
updateClone(params?: UpdateCloneParams): Promise<Result>;
|
|
871
1023
|
/** Check your partner API rate limits, credit caps, and current usage.
|
|
872
1024
|
*
|
|
873
|
-
* 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.
|
|
1025
|
+
* Response fields: success, error_message, error_code, 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.
|
|
874
1026
|
* @see https://docs.mindupload.app
|
|
875
1027
|
*/
|
|
876
1028
|
getQuota(params?: GetQuotaParams): Promise<Result>;
|
|
877
1029
|
/** Check whether a username is still available before registering.
|
|
878
1030
|
*
|
|
879
|
-
* Response fields: success, error_message, exists, disabled, rate_limited, flood_window, wait_seconds, operation_duration_ms.
|
|
1031
|
+
* Response fields: success, error_message, error_code, exists, disabled, rate_limited, flood_window, wait_seconds, operation_duration_ms.
|
|
880
1032
|
* @see https://docs.mindupload.app
|
|
881
1033
|
*/
|
|
882
1034
|
checkUsername(params?: CheckUsernameParams): Promise<Result>;
|
|
883
1035
|
/** Sign a user in and receive a session token (JWT) for subsequent calls.
|
|
884
1036
|
*
|
|
885
|
-
* Response fields: success, error_message, jwt, decrypted_user.
|
|
1037
|
+
* Response fields: success, error_message, error_code, jwt, decrypted_user.
|
|
886
1038
|
* @see https://docs.mindupload.app
|
|
887
1039
|
*/
|
|
888
1040
|
login(params?: LoginParams): Promise<Result>;
|
|
889
1041
|
/** End the current user session.
|
|
890
1042
|
*
|
|
891
|
-
* Response fields: success, error_message, revoked, operation_duration_ms.
|
|
1043
|
+
* Response fields: success, error_message, error_code, revoked, operation_duration_ms.
|
|
892
1044
|
* @see https://docs.mindupload.app
|
|
893
1045
|
*/
|
|
894
1046
|
logout(params?: LogoutParams): Promise<Result>;
|
|
895
1047
|
/** Create a user account on your platform.
|
|
896
1048
|
*
|
|
897
|
-
* Response fields: success, error_message, jwt, decrypted_user.
|
|
1049
|
+
* Response fields: success, error_message, error_code, jwt, decrypted_user.
|
|
898
1050
|
* @see https://docs.mindupload.app
|
|
899
1051
|
*/
|
|
900
1052
|
register(params?: RegisterParams): Promise<Result>;
|
|
901
1053
|
/** Cheaply poll whether the user's chatrooms have new activity.
|
|
902
1054
|
*
|
|
903
|
-
* Response fields: success, error_message, server_time, poll_config, chatrooms.
|
|
1055
|
+
* Response fields: success, error_message, error_code, server_time, poll_config, chatrooms.
|
|
904
1056
|
* @see https://docs.mindupload.app
|
|
905
1057
|
*/
|
|
906
1058
|
checkChatroomUpdates(params?: CheckChatroomUpdatesParams): Promise<Result>;
|
|
907
1059
|
/** Create a chatroom.
|
|
908
1060
|
*
|
|
909
|
-
* Response fields: success, error_message, chatroom_id.
|
|
1061
|
+
* Response fields: success, error_message, error_code, chatroom_id.
|
|
910
1062
|
* @see https://docs.mindupload.app
|
|
911
1063
|
*/
|
|
912
1064
|
createChatroom(params?: CreateChatroomParams): Promise<Result>;
|
|
913
1065
|
/** Invite a user or an AI consciousness into a chatroom.
|
|
914
1066
|
*
|
|
915
|
-
* Response fields: success, error_message, membership_id.
|
|
1067
|
+
* Response fields: success, error_message, error_code, membership_id.
|
|
916
1068
|
* @see https://docs.mindupload.app
|
|
917
1069
|
*/
|
|
918
1070
|
createChatroomMembership(params?: CreateChatroomMembershipParams): Promise<Result>;
|
|
919
1071
|
/** Send a message to a chatroom.
|
|
920
1072
|
*
|
|
921
|
-
* Response fields: success, error_message, message_id.
|
|
1073
|
+
* Response fields: success, error_message, error_code, message_id.
|
|
922
1074
|
* @see https://docs.mindupload.app
|
|
923
1075
|
*/
|
|
924
1076
|
createChatroomMessage(params?: CreateChatroomMessageParams): Promise<Result>;
|
|
925
1077
|
/** List the members of a chatroom the user belongs to.
|
|
926
1078
|
*
|
|
927
|
-
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, memberships.
|
|
1079
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, memberships.
|
|
928
1080
|
* @see https://docs.mindupload.app
|
|
929
1081
|
*/
|
|
930
1082
|
getChatroomMembership(params?: GetChatroomMembershipParams): Promise<Result>;
|
|
931
1083
|
/** Fetch messages from a chatroom the user belongs to.
|
|
932
1084
|
*
|
|
933
|
-
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, messages, media_thumbnails, media_fallbacks, since_overflow.
|
|
1085
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, messages, media_thumbnails, media_fallbacks, since_overflow.
|
|
934
1086
|
* @see https://docs.mindupload.app
|
|
935
1087
|
*/
|
|
936
1088
|
getChatroomMessages(params?: GetChatroomMessagesParams): Promise<Result>;
|
|
937
1089
|
/** Fetch a window of chatroom messages around one message id (for jump-to).
|
|
938
1090
|
*
|
|
939
|
-
* Response fields: success, error_message, messages, media_thumbnails, media_fallbacks, anchor_message_id.
|
|
1091
|
+
* Response fields: success, error_message, error_code, messages, media_thumbnails, media_fallbacks, anchor_message_id.
|
|
940
1092
|
* @see https://docs.mindupload.app
|
|
941
1093
|
*/
|
|
942
1094
|
getChatroomMessagesAround(params: GetChatroomMessagesAroundParams): Promise<Result>;
|
|
943
1095
|
/** List the chatrooms the user belongs to.
|
|
944
1096
|
*
|
|
945
|
-
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, chatrooms.
|
|
1097
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, chatrooms.
|
|
946
1098
|
* @see https://docs.mindupload.app
|
|
947
1099
|
*/
|
|
948
1100
|
getChatrooms(params?: GetChatroomsParams): Promise<Result>;
|
|
949
1101
|
/** Find messages in a chatroom by keyword, date, media type, and/or sender.
|
|
950
1102
|
*
|
|
951
|
-
* Response fields: success, error_message, messages, media_thumbnails, media_fallbacks, has_next, next_cursor_value, next_cursor_id, page_size, media_urls_expire_at.
|
|
1103
|
+
* Response fields: success, error_message, error_code, messages, media_thumbnails, media_fallbacks, has_next, next_cursor_value, next_cursor_id, page_size, media_urls_expire_at.
|
|
952
1104
|
* @see https://docs.mindupload.app
|
|
953
1105
|
*/
|
|
954
1106
|
searchChatroomMessages(params: SearchChatroomMessagesParams): Promise<Result>;
|
|
955
1107
|
/** Translate a text chatroom message into the viewer language.
|
|
956
1108
|
*
|
|
957
|
-
* Response fields: success, error_message, translated_text, target_language, cached.
|
|
1109
|
+
* Response fields: success, error_message, error_code, translated_text, target_language, cached.
|
|
958
1110
|
* @see https://docs.mindupload.app
|
|
959
1111
|
*/
|
|
960
1112
|
translateChatroomMessage(params?: TranslateChatroomMessageParams): Promise<Result>;
|
|
961
1113
|
/** Fetch the one-on-one conversation history with an AI consciousness.
|
|
962
1114
|
*
|
|
963
|
-
* 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, media_fallbacks.
|
|
1115
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, chats, media_thumbnails, media_fallbacks.
|
|
964
1116
|
* @see https://docs.mindupload.app
|
|
965
1117
|
*/
|
|
966
1118
|
getChat(params?: GetChatParams): Promise<Result>;
|
|
967
1119
|
/** Fetch a window of one-on-one turns around one chat id (for jump-to).
|
|
968
1120
|
*
|
|
969
|
-
* Response fields: success, error_message, chats, media_thumbnails, media_fallbacks, anchor_chat_id.
|
|
1121
|
+
* Response fields: success, error_message, error_code, chats, media_thumbnails, media_fallbacks, anchor_chat_id.
|
|
970
1122
|
* @see https://docs.mindupload.app
|
|
971
1123
|
*/
|
|
972
1124
|
getChatAround(params: GetChatAroundParams): Promise<Result>;
|
|
973
1125
|
/** Send a message to an AI consciousness and receive its reply.
|
|
974
1126
|
*
|
|
975
|
-
* Response fields: success, error_message, response_text, content_format, clone_nickname, consolidation_summary, consolidation_count, consolidation_dispatched.
|
|
1127
|
+
* Response fields: success, error_message, error_code, response_text, content_format, clone_nickname, consolidation_summary, consolidation_count, consolidation_dispatched.
|
|
976
1128
|
* @see https://docs.mindupload.app
|
|
977
1129
|
*/
|
|
978
1130
|
rag(params?: RagParams): Promise<Result>;
|
|
979
1131
|
/** Find turns in a one-on-one AI conversation by keyword, date, media type, and/or Human/AI side.
|
|
980
1132
|
*
|
|
981
|
-
* Response fields: success, error_message, chats, media_thumbnails, media_fallbacks, has_next, next_cursor_value, next_cursor_id, page_size, media_urls_expire_at.
|
|
1133
|
+
* Response fields: success, error_message, error_code, chats, media_thumbnails, media_fallbacks, has_next, next_cursor_value, next_cursor_id, page_size, media_urls_expire_at.
|
|
982
1134
|
* @see https://docs.mindupload.app
|
|
983
1135
|
*/
|
|
984
1136
|
searchChats(params: SearchChatsParams): Promise<Result>;
|
|
985
1137
|
/** Have an AI consciousness proactively join the conversation in a chatroom.
|
|
986
1138
|
*
|
|
987
|
-
* Response fields: success, error_message, content_format, response_text, chatroom_digests_count, chatroom_digests_summary, consolidation_summary, consolidation_count, consolidation_dispatched.
|
|
1139
|
+
* Response fields: success, error_message, error_code, content_format, response_text, chatroom_digests_count, chatroom_digests_summary, consolidation_summary, consolidation_count, consolidation_dispatched.
|
|
988
1140
|
* @see https://docs.mindupload.app
|
|
989
1141
|
*/
|
|
990
1142
|
triggerSocial(params?: TriggerSocialParams): Promise<Result>;
|
|
1143
|
+
/** Cancel one controlled upload through the existing media lifecycle.
|
|
1144
|
+
*
|
|
1145
|
+
* Response fields: success, error_message, error_code.
|
|
1146
|
+
* @see https://docs.mindupload.app
|
|
1147
|
+
*/
|
|
1148
|
+
cancelExternalMediaUpload(params: CancelExternalMediaUploadParams): Promise<Result>;
|
|
1149
|
+
/** Prepare a verified memory from an explicitly selected owner conversation.
|
|
1150
|
+
*
|
|
1151
|
+
* Response fields: success, error_message, error_code, status, text, auto_keep_external_memories, retry_after_seconds, preview_id, reading_provenance.
|
|
1152
|
+
* @see https://docs.mindupload.app
|
|
1153
|
+
*/
|
|
1154
|
+
consolidateExternalConversation(params: ConsolidateExternalConversationParams): Promise<Result>;
|
|
991
1155
|
/** Start passwordless grant issuance for an external identity and installation.
|
|
992
1156
|
*
|
|
993
|
-
* Response fields: success, error_message, device_code, user_code, verification_uri, verification_uri_complete, expires_in, poll_interval, grant_duration_seconds.
|
|
1157
|
+
* Response fields: success, error_message, error_code, device_code, user_code, verification_uri, verification_uri_complete, expires_in, poll_interval, grant_duration_seconds.
|
|
994
1158
|
* @see https://docs.mindupload.app
|
|
995
1159
|
*/
|
|
996
1160
|
createExternalAuthorizationRequest(params: CreateExternalAuthorizationRequestParams): Promise<Result>;
|
|
997
1161
|
/** Poll owner consent and exchange an approval for a clone-scoped grant token.
|
|
998
1162
|
*
|
|
999
|
-
* Response fields: success, error_message, status, access_token, refresh_token, token_type, grant_id, scopes, clone_ids, clone_nicknames, access_token_expires_at, expires_at, poll_interval.
|
|
1163
|
+
* Response fields: success, error_message, error_code, status, access_token, refresh_token, token_type, grant_id, scopes, clone_ids, clone_nicknames, access_token_expires_at, expires_at, poll_interval.
|
|
1000
1164
|
* @see https://docs.mindupload.app
|
|
1001
1165
|
*/
|
|
1002
1166
|
exchangeExternalAuthorization(params: ExchangeExternalAuthorizationParams): Promise<Result>;
|
|
1167
|
+
/** Read the current owned media analysis without restarting generation.
|
|
1168
|
+
*
|
|
1169
|
+
* Response fields: success, error_message, error_code, media.
|
|
1170
|
+
* @see https://docs.mindupload.app
|
|
1171
|
+
*/
|
|
1172
|
+
getExternalMediaAnalysis(params: GetExternalMediaAnalysisParams): Promise<Result>;
|
|
1173
|
+
/** Read current native media limits and owner quota without starting work.
|
|
1174
|
+
*
|
|
1175
|
+
* Response fields: success, error_message, error_code, allowed_content_types, max_file_size_bytes_by_type, video_frame_count, video_audio_max_seconds, can_upload, can_analyze, remaining_storage_bytes, remaining_uploads_monthly, upload_limit_monthly, upload_count_renews_at, retention_days.
|
|
1176
|
+
* @see https://docs.mindupload.app
|
|
1177
|
+
*/
|
|
1178
|
+
getExternalMediaPolicy(params: GetExternalMediaPolicyParams): Promise<Result>;
|
|
1179
|
+
/** List pending memories of the owner's granted AI consciousness.
|
|
1180
|
+
*
|
|
1181
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, texts, scopes, can_invoke, can_upload, can_consolidate, auto_keep_external_memories.
|
|
1182
|
+
* @see https://docs.mindupload.app
|
|
1183
|
+
*/
|
|
1184
|
+
getExternalQuarantinedTexts(params: GetExternalQuarantinedTextsParams): Promise<Result>;
|
|
1003
1185
|
/** Inspect the scopes, clone resources, expiry, and revocation state of a grant token.
|
|
1004
1186
|
*
|
|
1005
|
-
* Response fields: success, error_message, grant_id, status, scopes, clone_ids, created_at, access_token_expires_at, expires_at, revoked_at.
|
|
1187
|
+
* Response fields: success, error_message, error_code, grant_id, status, scopes, clone_ids, created_at, access_token_expires_at, expires_at, revoked_at.
|
|
1006
1188
|
* @see https://docs.mindupload.app
|
|
1007
1189
|
*/
|
|
1008
1190
|
inspectExternalAuthorization(params: InspectExternalAuthorizationParams): Promise<Result>;
|
|
1009
1191
|
/** Send one idempotent text event to an owner-approved AI consciousness.
|
|
1010
1192
|
*
|
|
1011
|
-
* Response fields: success, error_message, invocation_id, status, response_text, clone_id, clone_nickname, generated_by_ai, idempotent_replay, retry_after_seconds.
|
|
1193
|
+
* Response fields: success, error_message, error_code, invocation_id, status, response_text, clone_id, clone_nickname, generated_by_ai, idempotent_replay, retry_after_seconds.
|
|
1012
1194
|
* @see https://docs.mindupload.app
|
|
1013
1195
|
*/
|
|
1014
1196
|
invokeExternalClone(params: InvokeExternalCloneParams): Promise<Result>;
|
|
1015
1197
|
/** Refresh a short-lived clone-invocation access token.
|
|
1016
1198
|
*
|
|
1017
|
-
* Response fields: success, error_message, status, access_token, refresh_token, token_type, grant_id, scopes, clone_ids, clone_nicknames, access_token_expires_at, expires_at.
|
|
1199
|
+
* Response fields: success, error_message, error_code, status, access_token, refresh_token, token_type, grant_id, scopes, clone_ids, clone_nicknames, access_token_expires_at, expires_at.
|
|
1018
1200
|
* @see https://docs.mindupload.app
|
|
1019
1201
|
*/
|
|
1020
1202
|
refreshExternalAuthorization(params: RefreshExternalAuthorizationParams): Promise<Result>;
|
|
1203
|
+
/** Authorize one exact media upload to the owner’s granted AI consciousness.
|
|
1204
|
+
*
|
|
1205
|
+
* Response fields: success, error_message, error_code, upload_id, presigned_url, content_type, file_size_bytes, expires_at, idempotent_replay, required_headers.
|
|
1206
|
+
* @see https://docs.mindupload.app
|
|
1207
|
+
*/
|
|
1208
|
+
requestExternalMediaUpload(params: RequestExternalMediaUploadParams): Promise<Result>;
|
|
1209
|
+
/** Edit, approve or reject the displayed revision of one pending memory.
|
|
1210
|
+
*
|
|
1211
|
+
* Response fields: success, error_message, error_code, status, text_id, text, content_revision, pending_owner_review, retry_after_seconds.
|
|
1212
|
+
* @see https://docs.mindupload.app
|
|
1213
|
+
*/
|
|
1214
|
+
reviewExternalQuarantinedText(params: ReviewExternalQuarantinedTextParams): Promise<Result>;
|
|
1215
|
+
/** Explicitly describe one completed controlled upload.
|
|
1216
|
+
*
|
|
1217
|
+
* Response fields: success, error_message, error_code, media.
|
|
1218
|
+
* @see https://docs.mindupload.app
|
|
1219
|
+
*/
|
|
1220
|
+
startExternalMediaAnalysis(params: StartExternalMediaAnalysisParams): Promise<Result>;
|
|
1021
1221
|
/** Upload mind data (text and media) into the owner's own AI consciousness.
|
|
1022
1222
|
*
|
|
1023
|
-
* Response fields: success, error_message, clone_id, text_type, pending_owner_review.
|
|
1223
|
+
* Response fields: success, error_message, error_code, clone_id, text_type, pending_owner_review, text_id, status, idempotent_replay, retry_after_seconds.
|
|
1024
1224
|
* @see https://docs.mindupload.app
|
|
1025
1225
|
*/
|
|
1026
1226
|
uploadExternalMindData(params: UploadExternalMindDataParams): Promise<Result>;
|
|
1027
1227
|
/** Fetch the mind-graph visualization data of an AI consciousness.
|
|
1028
1228
|
*
|
|
1029
|
-
* Response fields: success, error_message, root_node_id, node, children, texts, total_texts, texts_offset, has_more_texts, is_building.
|
|
1229
|
+
* Response fields: success, error_message, error_code, root_node_id, node, children, texts, total_texts, texts_offset, has_more_texts, is_building.
|
|
1030
1230
|
* @see https://docs.mindupload.app
|
|
1031
1231
|
*/
|
|
1032
1232
|
getMindCluster(params?: GetMindClusterParams): Promise<Result>;
|
|
1033
1233
|
/** Generate or fetch the compatibility report between two chatroom members.
|
|
1034
1234
|
*
|
|
1035
|
-
* Response fields: success, error_message, report, report_generated_at, is_generating, charged.
|
|
1235
|
+
* Response fields: success, error_message, error_code, report, report_generated_at, is_generating, charged.
|
|
1036
1236
|
* @see https://docs.mindupload.app
|
|
1037
1237
|
*/
|
|
1038
1238
|
getSoulmateReport(params?: GetSoulmateReportParams): Promise<Result>;
|
|
1039
1239
|
/** Start a live voice and video call in a chatroom, or join the one already running.
|
|
1040
1240
|
*
|
|
1041
|
-
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host, call_session.
|
|
1241
|
+
* Response fields: success, error_message, error_code, call_session_id, auth_token, participant_id, expires_at, is_host, call_session.
|
|
1042
1242
|
* @see https://docs.mindupload.app
|
|
1043
1243
|
*/
|
|
1044
1244
|
createCallSession(params?: CreateCallSessionParams): Promise<Result>;
|
|
1045
1245
|
/** End a live call for everyone in it.
|
|
1046
1246
|
*
|
|
1047
|
-
* Response fields: success, error_message.
|
|
1247
|
+
* Response fields: success, error_message, error_code.
|
|
1048
1248
|
* @see https://docs.mindupload.app
|
|
1049
1249
|
*/
|
|
1050
1250
|
endCallSession(params?: EndCallSessionParams): Promise<Result>;
|
|
1051
1251
|
/** Check whether a chatroom has a live call, and how many people are in it.
|
|
1052
1252
|
*
|
|
1053
|
-
* Response fields: success, error_message, call_session.
|
|
1253
|
+
* Response fields: success, error_message, error_code, call_session.
|
|
1054
1254
|
* @see https://docs.mindupload.app
|
|
1055
1255
|
*/
|
|
1056
1256
|
getActiveCallSession(params?: GetActiveCallSessionParams): Promise<Result>;
|
|
1057
1257
|
/** Join a live call that is already running in a chatroom.
|
|
1058
1258
|
*
|
|
1059
|
-
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host, call_session.
|
|
1259
|
+
* Response fields: success, error_message, error_code, call_session_id, auth_token, participant_id, expires_at, is_host, call_session.
|
|
1060
1260
|
* @see https://docs.mindupload.app
|
|
1061
1261
|
*/
|
|
1062
1262
|
joinCallSession(params?: JoinCallSessionParams): Promise<Result>;
|
|
1063
1263
|
/** Say that this person has left a call the others are still in.
|
|
1064
1264
|
*
|
|
1065
|
-
* Response fields: success, error_message.
|
|
1265
|
+
* Response fields: success, error_message, error_code.
|
|
1066
1266
|
* @see https://docs.mindupload.app
|
|
1067
1267
|
*/
|
|
1068
1268
|
leaveCallSession(params?: LeaveCallSessionParams): Promise<Result>;
|
|
1069
1269
|
/** Get a fresh joining pass for a call, before the current one expires.
|
|
1070
1270
|
*
|
|
1071
|
-
* Response fields: success, error_message, call_session_id, auth_token, participant_id, expires_at, is_host.
|
|
1271
|
+
* Response fields: success, error_message, error_code, call_session_id, auth_token, participant_id, expires_at, is_host.
|
|
1072
1272
|
* @see https://docs.mindupload.app
|
|
1073
1273
|
*/
|
|
1074
1274
|
refreshCallToken(params?: RefreshCallTokenParams): Promise<Result>;
|
|
1075
1275
|
/** Make somebody a co-host of a live call, or stand them down again.
|
|
1076
1276
|
*
|
|
1077
|
-
* Response fields: success, error_message.
|
|
1277
|
+
* Response fields: success, error_message, error_code.
|
|
1078
1278
|
* @see https://docs.mindupload.app
|
|
1079
1279
|
*/
|
|
1080
1280
|
setCallHost(params?: SetCallHostParams): Promise<Result>;
|
|
1081
1281
|
/** Cancel a multipart upload and discard its parts.
|
|
1082
1282
|
*
|
|
1083
|
-
* Response fields: success, error_message.
|
|
1283
|
+
* Response fields: success, error_message, error_code.
|
|
1084
1284
|
* @see https://docs.mindupload.app
|
|
1085
1285
|
*/
|
|
1086
1286
|
abortMultipartUpload(params?: AbortMultipartUploadParams): Promise<Result>;
|
|
1087
1287
|
/** Cancel a pending upload.
|
|
1088
1288
|
*
|
|
1089
|
-
* Response fields: success, error_message.
|
|
1289
|
+
* Response fields: success, error_message, error_code.
|
|
1090
1290
|
* @see https://docs.mindupload.app
|
|
1091
1291
|
*/
|
|
1092
1292
|
cancelUpload(params?: CancelUploadParams): Promise<Result>;
|
|
1093
1293
|
/** Finish a multipart upload.
|
|
1094
1294
|
*
|
|
1095
|
-
* Response fields: success, error_message, media_url.
|
|
1295
|
+
* Response fields: success, error_message, error_code, media_url.
|
|
1096
1296
|
* @see https://docs.mindupload.app
|
|
1097
1297
|
*/
|
|
1098
1298
|
completeMultipartUpload(params?: CompleteMultipartUploadParams): Promise<Result>;
|
|
1099
1299
|
/** List the parts already uploaded in a multipart upload.
|
|
1100
1300
|
*
|
|
1101
|
-
* Response fields: success, error_message, parts.
|
|
1301
|
+
* Response fields: success, error_message, error_code, parts.
|
|
1102
1302
|
* @see https://docs.mindupload.app
|
|
1103
1303
|
*/
|
|
1104
1304
|
listUploadParts(params?: ListUploadPartsParams): Promise<Result>;
|
|
1105
1305
|
/** Start a large-file upload in multiple parts.
|
|
1106
1306
|
*
|
|
1107
|
-
* Response fields: success, error_message, upload_id, r2_key, media_url, signed_media_url, thumbnail_r2_key, thumbnail_presigned_url, signed_thumbnail_url.
|
|
1307
|
+
* Response fields: success, error_message, error_code, upload_id, r2_key, media_url, signed_media_url, thumbnail_r2_key, thumbnail_presigned_url, signed_thumbnail_url.
|
|
1108
1308
|
* @see https://docs.mindupload.app
|
|
1109
1309
|
*/
|
|
1110
1310
|
requestMultipartUpload(params?: RequestMultipartUploadParams): Promise<Result>;
|
|
1111
1311
|
/** Request an upload slot and a signed viewing link for a media attachment.
|
|
1112
1312
|
*
|
|
1113
|
-
* Response fields: success, error_message, r2_key, presigned_url, media_url, signed_media_url, thumbnail_r2_key, thumbnail_presigned_url, signed_thumbnail_url.
|
|
1313
|
+
* Response fields: success, error_message, error_code, r2_key, presigned_url, media_url, signed_media_url, thumbnail_r2_key, thumbnail_presigned_url, signed_thumbnail_url.
|
|
1114
1314
|
* @see https://docs.mindupload.app
|
|
1115
1315
|
*/
|
|
1116
1316
|
requestUploadUrl(params?: RequestUploadUrlParams): Promise<Result>;
|
|
1117
1317
|
/** Get the signed link for one part of a multipart upload.
|
|
1118
1318
|
*
|
|
1119
|
-
* Response fields: success, error_message, presigned_url.
|
|
1319
|
+
* Response fields: success, error_message, error_code, presigned_url.
|
|
1120
1320
|
* @see https://docs.mindupload.app
|
|
1121
1321
|
*/
|
|
1122
1322
|
signUploadPart(params?: SignUploadPartParams): Promise<Result>;
|
|
1123
1323
|
/** Get signed links for several parts of a multipart upload at once.
|
|
1124
1324
|
*
|
|
1125
|
-
* Response fields: success, error_message, presigned_urls.
|
|
1325
|
+
* Response fields: success, error_message, error_code, presigned_urls.
|
|
1126
1326
|
* @see https://docs.mindupload.app
|
|
1127
1327
|
*/
|
|
1128
1328
|
signUploadPartsBatch(params?: SignUploadPartsBatchParams): Promise<Result>;
|
|
1129
1329
|
/** Begin analysing an uploaded or linked attachment so its description is ready before the message is sent.
|
|
1130
1330
|
*
|
|
1131
|
-
* Response fields: success, error_message, analyses.
|
|
1331
|
+
* Response fields: success, error_message, error_code, analyses.
|
|
1132
1332
|
* @see https://docs.mindupload.app
|
|
1133
1333
|
*/
|
|
1134
1334
|
startMediaAnalysis(params: StartMediaAnalysisParams): Promise<Result>;
|
|
1135
1335
|
/** Upload a memory or persona entry to an AI consciousness.
|
|
1136
1336
|
*
|
|
1137
|
-
* Response fields: success, error_message, cluster_label, cluster_modified_count.
|
|
1337
|
+
* Response fields: success, error_message, error_code, cluster_label, cluster_modified_count.
|
|
1138
1338
|
* @see https://docs.mindupload.app
|
|
1139
1339
|
*/
|
|
1140
1340
|
createText(params?: CreateTextParams): Promise<Result>;
|
|
1141
1341
|
/** List the memories and persona entries uploaded to an AI consciousness.
|
|
1142
1342
|
*
|
|
1143
|
-
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, texts.
|
|
1343
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, texts.
|
|
1144
1344
|
* @see https://docs.mindupload.app
|
|
1145
1345
|
*/
|
|
1146
1346
|
getTexts(params?: GetTextsParams): Promise<Result>;
|
|
1147
1347
|
/** List the user's Rabbit balance history (top-ups, spending, earnings, withdrawals, tax), newest first, filterable by category and paged with a cursor.
|
|
1148
1348
|
*
|
|
1149
|
-
* Response fields: success, error_message, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, transactions, operation_duration_ms.
|
|
1349
|
+
* Response fields: success, error_message, error_code, total_count, page, page_size, total_pages, has_next, has_prev, next_cursor_value, next_cursor_id, transactions, operation_duration_ms.
|
|
1150
1350
|
* @see https://docs.mindupload.app
|
|
1151
1351
|
*/
|
|
1152
1352
|
getTransactionHistory(params?: GetTransactionHistoryParams): Promise<Result>;
|
|
1153
1353
|
/** Fetch the signed-in user's profile.
|
|
1154
1354
|
*
|
|
1155
|
-
* Response fields: success, error_message, jwt, decrypted_user.
|
|
1355
|
+
* Response fields: success, error_message, error_code, jwt, decrypted_user.
|
|
1156
1356
|
* @see https://docs.mindupload.app
|
|
1157
1357
|
*/
|
|
1158
1358
|
getUser(params?: GetUserParams): Promise<Result>;
|
|
1159
1359
|
/** Update the signed-in user's profile.
|
|
1160
1360
|
*
|
|
1161
|
-
* Response fields: success, error_message.
|
|
1361
|
+
* Response fields: success, error_message, error_code.
|
|
1162
1362
|
* @see https://docs.mindupload.app
|
|
1163
1363
|
*/
|
|
1164
1364
|
updateUser(params?: UpdateUserParams): Promise<Result>;
|
|
1165
1365
|
/** Accept, edit, skip, re-record or abandon the question the user is on, and receive the next one.
|
|
1166
1366
|
*
|
|
1167
|
-
* Response fields: success, error_message, interview_session_id, template_key, language, turn_index, question_text, question_audio_url, question_audio_content_type, progress, is_complete, is_resumed, status, safety_message.
|
|
1367
|
+
* Response fields: success, error_message, error_code, interview_session_id, template_key, language, turn_index, question_text, question_audio_url, question_audio_content_type, progress, is_complete, is_resumed, status, safety_message.
|
|
1168
1368
|
* @see https://docs.mindupload.app
|
|
1169
1369
|
*/
|
|
1170
1370
|
advanceVoiceInterview(params?: AdvanceVoiceInterviewParams): Promise<Result>;
|
|
1171
1371
|
/** Write a finished interview up as prose, in first, second or third person.
|
|
1172
1372
|
*
|
|
1173
|
-
* Response fields: success, error_message, interview_session_id, person, report_text, text_type, is_raw_answers.
|
|
1373
|
+
* Response fields: success, error_message, error_code, interview_session_id, person, report_text, text_type, is_raw_answers.
|
|
1174
1374
|
* @see https://docs.mindupload.app
|
|
1175
1375
|
*/
|
|
1176
1376
|
generateVoiceInterviewReport(params?: GenerateVoiceInterviewReportParams): Promise<Result>;
|
|
1177
1377
|
/** Begin a spoken interview with one of your end-users, or hand back one they have not finished with.
|
|
1178
1378
|
*
|
|
1179
|
-
* Response fields: success, error_message, interview_session_id, template_key, language, turn_index, question_text, question_audio_url, question_audio_content_type, progress, is_complete, is_resumed, status, voice_id, voices.
|
|
1379
|
+
* Response fields: success, error_message, error_code, interview_session_id, template_key, language, turn_index, question_text, question_audio_url, question_audio_content_type, progress, is_complete, is_resumed, status, voice_id, voices.
|
|
1180
1380
|
* @see https://docs.mindupload.app
|
|
1181
1381
|
*/
|
|
1182
1382
|
startVoiceInterview(params?: StartVoiceInterviewParams): Promise<Result>;
|
|
1183
1383
|
/** Turn one recorded spoken answer into text for the user to check before it is accepted.
|
|
1184
1384
|
*
|
|
1185
|
-
* Response fields: success, error_message, recognized_text.
|
|
1385
|
+
* Response fields: success, error_message, error_code, recognized_text.
|
|
1186
1386
|
* @see https://docs.mindupload.app
|
|
1187
1387
|
*/
|
|
1188
1388
|
transcribeVoiceInterviewAnswer(params?: TranscribeVoiceInterviewAnswerParams): Promise<Result>;
|
|
@@ -1236,6 +1436,6 @@ declare class MindUploadConnectionError extends MindUploadError {
|
|
|
1236
1436
|
constructor(message: string, options?: ErrorOptions);
|
|
1237
1437
|
}
|
|
1238
1438
|
|
|
1239
|
-
declare const VERSION = "1.15.
|
|
1439
|
+
declare const VERSION = "1.15.17";
|
|
1240
1440
|
|
|
1241
|
-
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 };
|
|
1441
|
+
export { type AbortMultipartUploadParams, type AdvanceVoiceInterviewParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelExternalMediaUploadParams, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type ConsolidateExternalConversationParams, 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 GetExternalMediaAnalysisParams, type GetExternalMediaPolicyParams, type GetExternalQuarantinedTextsParams, 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 RequestExternalMediaUploadParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type ReviewExternalQuarantinedTextParams, type SearchChatroomMessagesParams, type SearchChatsParams, type SetCallHostParams, type SignUploadPartParams, type SignUploadPartsBatchParams, type StartExternalMediaAnalysisParams, type StartMediaAnalysisParams, type StartVoiceInterviewParams, type TranscribeVoiceInterviewAnswerParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, type UploadExternalMindDataParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
|