mindupload 1.15.7 → 1.15.9

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 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
- [![npm](https://img.shields.io/npm/v/mindupload?color=ff006e)](https://www.npmjs.com/package/mindupload) [![License: MIT](https://img.shields.io/badge/License-MIT-informational)](LICENSE) ![API](https://img.shields.io/badge/API-v1.15.7-ff6b00) ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen) [![Docs](https://img.shields.io/badge/docs-mindupload.app-8b5cf6)](https://docs.mindupload.app)
10
+ [![npm](https://img.shields.io/npm/v/mindupload?color=ff006e)](https://www.npmjs.com/package/mindupload) [![License: MIT](https://img.shields.io/badge/License-MIT-informational)](LICENSE) ![API](https://img.shields.io/badge/API-v1.15.9-ff6b00) ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen) [![Docs](https://img.shields.io/badge/docs-mindupload.app-8b5cf6)](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
@@ -75,7 +75,7 @@ var MindUploadConnectionError = class extends MindUploadError {
75
75
  };
76
76
 
77
77
  // src/version.ts
78
- var VERSION = "1.15.7";
78
+ var VERSION = "1.15.9";
79
79
 
80
80
  // src/client.ts
81
81
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
@@ -653,7 +653,7 @@ var MindUpload = class extends MindUploadBase {
653
653
  }
654
654
  /** Begin a spoken interview with one of your end-users, or hand back one they have not finished with.
655
655
  *
656
- * 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.
656
+ * 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.
657
657
  * @see https://docs.mindupload.app
658
658
  */
659
659
  startVoiceInterview(params = {}) {
package/dist/index.d.cts CHANGED
@@ -149,6 +149,8 @@ interface CreateChatroomParams {
149
149
  chatroomName?: string;
150
150
  isPublic?: boolean;
151
151
  avatarId?: string;
152
+ /** 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. */
153
+ expectedCreditCost?: string;
152
154
  soulmateCheckEnabled?: boolean;
153
155
  }
154
156
  interface CreateChatroomMembershipParams {
@@ -386,6 +388,8 @@ interface TriggerSocialParams {
386
388
  membershipId?: string;
387
389
  /** Chatroom id as returned by chatroom operations. */
388
390
  chatroomId?: string;
391
+ /** 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
+ expectedCreditCost?: string;
389
393
  }
390
394
  interface CreateExternalAuthorizationRequestParams {
391
395
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -492,6 +496,8 @@ interface GetSoulmateReportParams {
492
496
  otherCloneId?: string;
493
497
  /** Chatroom id as returned by chatroom operations. */
494
498
  chatroomId?: string;
499
+ /** 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. */
500
+ expectedCreditCost?: string;
495
501
  }
496
502
  interface CreateCallSessionParams {
497
503
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -819,6 +825,10 @@ interface StartVoiceInterviewParams {
819
825
  cloneId?: string;
820
826
  /** Which question set to run. `mind_upload_first_time` is a long first-run interview whose write-up is meant for a mind-data upload; `memory_refresh` and `personality_refresh` are short repeatable ones that ask something different each time; `matchmaking` surfaces what someone values; `guided_reflection` gives them somewhere to think out loud, and is not counseling. */
821
827
  templateKey?: "mind_upload_first_time" | "memory_refresh" | "personality_refresh" | "matchmaking" | "guided_reflection";
828
+ /** Optional. Which voice the interviewer speaks in, one of the `voices` a start returns. Sending it keeps it for this consciousness, and an interview in progress answers with its current question spoken in it, so the voice is heard as it is chosen. Left out, the consciousness keeps the voice it has. */
829
+ voiceId?: "female_warm" | "female_gentle" | "female_soft" | "female_bright" | "female_clear" | "female_smooth" | "female_easygoing" | "female_breezy" | "female_upbeat" | "female_youthful" | "female_firm" | "female_forward" | "female_mature" | "male_friendly" | "male_casual" | "male_easygoing" | "male_smooth" | "male_clear" | "male_even" | "male_informative" | "male_knowledgeable" | "male_upbeat" | "male_lively" | "male_excitable" | "male_firm" | "male_breathy" | "male_gravelly";
830
+ /** Optional. The interview a `voice_id` is for. With it, the call only switches that interview's voice while it is in progress, and is refused once it has ended rather than starting or resuming another. */
831
+ interviewSessionId?: string;
822
832
  }
823
833
  interface TranscribeVoiceInterviewAnswerParams {
824
834
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -1166,7 +1176,7 @@ declare class MindUpload extends MindUploadBase {
1166
1176
  generateVoiceInterviewReport(params?: GenerateVoiceInterviewReportParams): Promise<Result>;
1167
1177
  /** Begin a spoken interview with one of your end-users, or hand back one they have not finished with.
1168
1178
  *
1169
- * 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.
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.
1170
1180
  * @see https://docs.mindupload.app
1171
1181
  */
1172
1182
  startVoiceInterview(params?: StartVoiceInterviewParams): Promise<Result>;
@@ -1226,6 +1236,6 @@ declare class MindUploadConnectionError extends MindUploadError {
1226
1236
  constructor(message: string, options?: ErrorOptions);
1227
1237
  }
1228
1238
 
1229
- declare const VERSION = "1.15.7";
1239
+ declare const VERSION = "1.15.9";
1230
1240
 
1231
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 };
package/dist/index.d.ts CHANGED
@@ -149,6 +149,8 @@ interface CreateChatroomParams {
149
149
  chatroomName?: string;
150
150
  isPublic?: boolean;
151
151
  avatarId?: string;
152
+ /** 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. */
153
+ expectedCreditCost?: string;
152
154
  soulmateCheckEnabled?: boolean;
153
155
  }
154
156
  interface CreateChatroomMembershipParams {
@@ -386,6 +388,8 @@ interface TriggerSocialParams {
386
388
  membershipId?: string;
387
389
  /** Chatroom id as returned by chatroom operations. */
388
390
  chatroomId?: string;
391
+ /** 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
+ expectedCreditCost?: string;
389
393
  }
390
394
  interface CreateExternalAuthorizationRequestParams {
391
395
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -492,6 +496,8 @@ interface GetSoulmateReportParams {
492
496
  otherCloneId?: string;
493
497
  /** Chatroom id as returned by chatroom operations. */
494
498
  chatroomId?: string;
499
+ /** 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. */
500
+ expectedCreditCost?: string;
495
501
  }
496
502
  interface CreateCallSessionParams {
497
503
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -819,6 +825,10 @@ interface StartVoiceInterviewParams {
819
825
  cloneId?: string;
820
826
  /** Which question set to run. `mind_upload_first_time` is a long first-run interview whose write-up is meant for a mind-data upload; `memory_refresh` and `personality_refresh` are short repeatable ones that ask something different each time; `matchmaking` surfaces what someone values; `guided_reflection` gives them somewhere to think out loud, and is not counseling. */
821
827
  templateKey?: "mind_upload_first_time" | "memory_refresh" | "personality_refresh" | "matchmaking" | "guided_reflection";
828
+ /** Optional. Which voice the interviewer speaks in, one of the `voices` a start returns. Sending it keeps it for this consciousness, and an interview in progress answers with its current question spoken in it, so the voice is heard as it is chosen. Left out, the consciousness keeps the voice it has. */
829
+ voiceId?: "female_warm" | "female_gentle" | "female_soft" | "female_bright" | "female_clear" | "female_smooth" | "female_easygoing" | "female_breezy" | "female_upbeat" | "female_youthful" | "female_firm" | "female_forward" | "female_mature" | "male_friendly" | "male_casual" | "male_easygoing" | "male_smooth" | "male_clear" | "male_even" | "male_informative" | "male_knowledgeable" | "male_upbeat" | "male_lively" | "male_excitable" | "male_firm" | "male_breathy" | "male_gravelly";
830
+ /** Optional. The interview a `voice_id` is for. With it, the call only switches that interview's voice while it is in progress, and is refused once it has ended rather than starting or resuming another. */
831
+ interviewSessionId?: string;
822
832
  }
823
833
  interface TranscribeVoiceInterviewAnswerParams {
824
834
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -1166,7 +1176,7 @@ declare class MindUpload extends MindUploadBase {
1166
1176
  generateVoiceInterviewReport(params?: GenerateVoiceInterviewReportParams): Promise<Result>;
1167
1177
  /** Begin a spoken interview with one of your end-users, or hand back one they have not finished with.
1168
1178
  *
1169
- * 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.
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.
1170
1180
  * @see https://docs.mindupload.app
1171
1181
  */
1172
1182
  startVoiceInterview(params?: StartVoiceInterviewParams): Promise<Result>;
@@ -1226,6 +1236,6 @@ declare class MindUploadConnectionError extends MindUploadError {
1226
1236
  constructor(message: string, options?: ErrorOptions);
1227
1237
  }
1228
1238
 
1229
- declare const VERSION = "1.15.7";
1239
+ declare const VERSION = "1.15.9";
1230
1240
 
1231
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 };
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.15.7";
44
+ var VERSION = "1.15.9";
45
45
 
46
46
  // src/client.ts
47
47
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
@@ -619,7 +619,7 @@ var MindUpload = class extends MindUploadBase {
619
619
  }
620
620
  /** Begin a spoken interview with one of your end-users, or hand back one they have not finished with.
621
621
  *
622
- * 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.
622
+ * 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.
623
623
  * @see https://docs.mindupload.app
624
624
  */
625
625
  startVoiceInterview(params = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindupload",
3
- "version": "1.15.7",
3
+ "version": "1.15.9",
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",