mindupload 1.15.6 → 1.15.8

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.6-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.8-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.6";
78
+ var VERSION = "1.15.8";
79
79
 
80
80
  // src/client.ts
81
81
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
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. */
@@ -1226,6 +1232,6 @@ declare class MindUploadConnectionError extends MindUploadError {
1226
1232
  constructor(message: string, options?: ErrorOptions);
1227
1233
  }
1228
1234
 
1229
- declare const VERSION = "1.15.6";
1235
+ declare const VERSION = "1.15.8";
1230
1236
 
1231
1237
  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. */
@@ -1226,6 +1232,6 @@ declare class MindUploadConnectionError extends MindUploadError {
1226
1232
  constructor(message: string, options?: ErrorOptions);
1227
1233
  }
1228
1234
 
1229
- declare const VERSION = "1.15.6";
1235
+ declare const VERSION = "1.15.8";
1230
1236
 
1231
1237
  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.6";
44
+ var VERSION = "1.15.8";
45
45
 
46
46
  // src/client.ts
47
47
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindupload",
3
- "version": "1.15.6",
3
+ "version": "1.15.8",
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",