@scalemule/nextjs 0.1.13 → 0.1.15

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/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a8 as StorageAdapter } from './index-BIIUrnPr.mjs';
1
+ import { a8 as StorageAdapter } from './index-DTWyUcyd.mjs';
2
2
 
3
3
  /**
4
4
  * ScaleMule API Client
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a8 as StorageAdapter } from './index-BIIUrnPr.js';
1
+ import { a8 as StorageAdapter } from './index-DTWyUcyd.js';
2
2
 
3
3
  /**
4
4
  * ScaleMule API Client
package/dist/client.js CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  // src/types/index.ts
4
4
  var ScaleMuleApiError = class extends Error {
5
- constructor(error) {
5
+ constructor(error, status) {
6
6
  super(error.message);
7
7
  this.name = "ScaleMuleApiError";
8
8
  this.code = error.code;
9
9
  this.field = error.field;
10
+ this.status = status;
10
11
  }
11
12
  };
12
13
 
package/dist/client.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  // src/types/index.ts
2
2
  var ScaleMuleApiError = class extends Error {
3
- constructor(error) {
3
+ constructor(error, status) {
4
4
  super(error.message);
5
5
  this.name = "ScaleMuleApiError";
6
6
  this.code = error.code;
7
7
  this.field = error.field;
8
+ this.status = status;
8
9
  }
9
10
  };
10
11
 
@@ -53,6 +53,27 @@ interface ScaleMuleConfig {
53
53
  * // Handle register, login, logout, etc. using ScaleMule server client
54
54
  */
55
55
  authProxyUrl?: string;
56
+ /**
57
+ * Endpoint to ship SDK error logs to (fire-and-forget POST).
58
+ *
59
+ * When set, every non-2xx response from the auth proxy (and any other
60
+ * SDK call that throws a ScaleMuleApiError) will be reported to this
61
+ * URL as a structured log entry, alongside the regular setError() and
62
+ * thrown ScaleMuleApiError. This makes API failures visible in your
63
+ * platform's error logger even when the calling code catches the
64
+ * error and surfaces a UI message — the case the global window.onerror
65
+ * / unhandledrejection / React error-boundary collectors all miss by
66
+ * design.
67
+ *
68
+ * Recommended value: '/api/telemetry/errors' (the same endpoint your
69
+ * host-app's client-side error collector already POSTs to). The body
70
+ * shape matches what `createTelemetryRoutes()` expects:
71
+ * `{ logs: [{ message, metadata, timestamp }] }`.
72
+ *
73
+ * @example
74
+ * telemetryEndpoint: '/api/telemetry/errors'
75
+ */
76
+ telemetryEndpoint?: string;
56
77
  /**
57
78
  * Publishable API key for browser-safe operations (e.g., analytics)
58
79
  *
@@ -100,7 +121,7 @@ declare class ScaleMuleApiError extends Error {
100
121
  status?: number;
101
122
  field?: string;
102
123
  details?: unknown;
103
- constructor(error: ApiError);
124
+ constructor(error: ApiError, status?: number);
104
125
  }
105
126
  interface ApiResponse<T> {
106
127
  success: boolean;
@@ -53,6 +53,27 @@ interface ScaleMuleConfig {
53
53
  * // Handle register, login, logout, etc. using ScaleMule server client
54
54
  */
55
55
  authProxyUrl?: string;
56
+ /**
57
+ * Endpoint to ship SDK error logs to (fire-and-forget POST).
58
+ *
59
+ * When set, every non-2xx response from the auth proxy (and any other
60
+ * SDK call that throws a ScaleMuleApiError) will be reported to this
61
+ * URL as a structured log entry, alongside the regular setError() and
62
+ * thrown ScaleMuleApiError. This makes API failures visible in your
63
+ * platform's error logger even when the calling code catches the
64
+ * error and surfaces a UI message — the case the global window.onerror
65
+ * / unhandledrejection / React error-boundary collectors all miss by
66
+ * design.
67
+ *
68
+ * Recommended value: '/api/telemetry/errors' (the same endpoint your
69
+ * host-app's client-side error collector already POSTs to). The body
70
+ * shape matches what `createTelemetryRoutes()` expects:
71
+ * `{ logs: [{ message, metadata, timestamp }] }`.
72
+ *
73
+ * @example
74
+ * telemetryEndpoint: '/api/telemetry/errors'
75
+ */
76
+ telemetryEndpoint?: string;
56
77
  /**
57
78
  * Publishable API key for browser-safe operations (e.g., analytics)
58
79
  *
@@ -100,7 +121,7 @@ declare class ScaleMuleApiError extends Error {
100
121
  status?: number;
101
122
  field?: string;
102
123
  details?: unknown;
103
- constructor(error: ApiError);
124
+ constructor(error: ApiError, status?: number);
104
125
  }
105
126
  interface ApiResponse<T> {
106
127
  success: boolean;
package/dist/index.d.mts CHANGED
@@ -6,8 +6,8 @@ import { MoneyClient } from '@scalemule/money';
6
6
  export { MoneyClient, MoneyClientConfig, createMoneyClient } from '@scalemule/money';
7
7
  import { ScaleMuleClient } from './client.mjs';
8
8
  export { ClientConfig, RequestOptions, createClient } from './client.mjs';
9
- import { S as ScaleMuleConfig, U as User, L as LoginResponse, A as ApiError$1, a as UseAuthReturn, b as UseBillingReturn, c as ListFilesParams, d as UseContentReturn, e as UseUserReturn, f as UseAnalyticsOptions, g as UseAnalyticsReturn } from './index-BIIUrnPr.mjs';
10
- export { h as AccountBalance, i as AnalyticsEvent, j as ApiResponse, B as BatchTrackRequest, k as BillingPayment, l as BillingPayout, m as BillingRefund, n as BillingTransaction, C as ChangeEmailRequest, o as ChangePasswordRequest, p as ClientContext, q as ConnectedAccount, D as DeviceFingerprint, r as DeviceInfo, E as EnhancedAnalyticsEvent, F as ForgotPasswordRequest, K as KnownAccountInfo, s as LinkedAccount, t as ListFilesResponse, u as LoginDeviceInfo, v as LoginRequest, w as LoginResponseWithMFA, x as LoginRiskInfo, M as MFAChallengeResponse, y as MFAMethod, z as MFASMSSetupResponse, G as MFASetupRequest, H as MFAStatus, I as MFATOTPSetupResponse, J as MFAVerifyRequest, O as OAuthCallbackRequest, N as OAuthCallbackResponse, P as OAuthConfig, Q as OAuthProvider, R as OAuthStartResponse, T as PageViewData, V as PayoutSchedule, W as PhoneLoginRequest, X as PhoneSendCodeRequest, Y as PhoneVerifyRequest, Z as Profile, _ as RefreshResponse, $ as RegisterRequest, a0 as ResetPasswordRequest, a1 as ScaleMuleApiError, a2 as ScaleMuleEnvironment, a3 as Session, a4 as SignedUploadCompleteRequest, a5 as SignedUploadRequest, a6 as SignedUploadResponse, a7 as SignedUploadUrl, a8 as StorageAdapter, a9 as StorageFile, aa as TrackEventResponse, ab as TransactionSummary, ac as UTMParams, ad as UpdateProfileRequest, ae as UploadOptions, af as UploadResponse, ag as VerifyEmailRequest } from './index-BIIUrnPr.mjs';
9
+ import { S as ScaleMuleConfig, U as User, L as LoginResponse, A as ApiError$1, a as UseAuthReturn, b as UseBillingReturn, c as ListFilesParams, d as UseContentReturn, e as UseUserReturn, f as UseAnalyticsOptions, g as UseAnalyticsReturn } from './index-DTWyUcyd.mjs';
10
+ export { h as AccountBalance, i as AnalyticsEvent, j as ApiResponse, B as BatchTrackRequest, k as BillingPayment, l as BillingPayout, m as BillingRefund, n as BillingTransaction, C as ChangeEmailRequest, o as ChangePasswordRequest, p as ClientContext, q as ConnectedAccount, D as DeviceFingerprint, r as DeviceInfo, E as EnhancedAnalyticsEvent, F as ForgotPasswordRequest, K as KnownAccountInfo, s as LinkedAccount, t as ListFilesResponse, u as LoginDeviceInfo, v as LoginRequest, w as LoginResponseWithMFA, x as LoginRiskInfo, M as MFAChallengeResponse, y as MFAMethod, z as MFASMSSetupResponse, G as MFASetupRequest, H as MFAStatus, I as MFATOTPSetupResponse, J as MFAVerifyRequest, O as OAuthCallbackRequest, N as OAuthCallbackResponse, P as OAuthConfig, Q as OAuthProvider, R as OAuthStartResponse, T as PageViewData, V as PayoutSchedule, W as PhoneLoginRequest, X as PhoneSendCodeRequest, Y as PhoneVerifyRequest, Z as Profile, _ as RefreshResponse, $ as RegisterRequest, a0 as ResetPasswordRequest, a1 as ScaleMuleApiError, a2 as ScaleMuleEnvironment, a3 as Session, a4 as SignedUploadCompleteRequest, a5 as SignedUploadRequest, a6 as SignedUploadResponse, a7 as SignedUploadUrl, a8 as StorageAdapter, a9 as StorageFile, aa as TrackEventResponse, ab as TransactionSummary, ac as UTMParams, ad as UpdateProfileRequest, ae as UploadOptions, af as UploadResponse, ag as VerifyEmailRequest } from './index-DTWyUcyd.mjs';
11
11
 
12
12
  /**
13
13
  * Result of a single {@link useMedia} upload call.
@@ -226,7 +226,7 @@ interface ScaleMuleProviderProps extends ScaleMuleConfig {
226
226
  */
227
227
  mediaPolicy?: MediaPolicy;
228
228
  }
229
- declare function ScaleMuleProvider({ apiKey, applicationId, environment, gatewayUrl, debug, storage, analyticsProxyUrl, authProxyUrl, publishableKey, enableAccountSwitcher, accountSwitcherPrivacy, children, onLogin, onLogout, onAuthError, bootstrapFlags, mediaPolicy, }: ScaleMuleProviderProps): react_jsx_runtime.JSX.Element;
229
+ declare function ScaleMuleProvider({ apiKey, applicationId, environment, gatewayUrl, debug, storage, analyticsProxyUrl, authProxyUrl, telemetryEndpoint, publishableKey, enableAccountSwitcher, accountSwitcherPrivacy, children, onLogin, onLogout, onAuthError, bootstrapFlags, mediaPolicy, }: ScaleMuleProviderProps): react_jsx_runtime.JSX.Element;
230
230
  declare function useScaleMule(): ScaleMuleContextValue;
231
231
  declare function useScaleMuleClient(): ScaleMuleClient;
232
232
  declare function useMoneyClient(): MoneyClient;
@@ -324,6 +324,42 @@ interface UseContentOptions {
324
324
  */
325
325
  declare function useContent(options?: UseContentOptions): UseContentReturn;
326
326
 
327
+ interface AudioFile {
328
+ audio_id: string;
329
+ file_id: string;
330
+ filename: string;
331
+ mime_type: string;
332
+ size_bytes: number;
333
+ status: string;
334
+ codec: string | null;
335
+ bit_rate_kbps: number | null;
336
+ duration_ms: number | null;
337
+ created_at: string;
338
+ original_view_url: string | null;
339
+ transcoded_url: string | null;
340
+ waveform_peaks?: unknown;
341
+ }
342
+ interface UseAudioUploadOptions {
343
+ filename?: string;
344
+ metadata?: Record<string, unknown>;
345
+ onProgress?: (progress: number) => void;
346
+ signal?: AbortSignal;
347
+ }
348
+ interface AudioUploadResult {
349
+ file_id: string;
350
+ audio_id: string | null;
351
+ original_view_url: string | null;
352
+ transcoded_url_promise: Promise<string | null>;
353
+ }
354
+ interface UseAudioReturn {
355
+ upload: (file: File | Blob, opts?: UseAudioUploadOptions) => Promise<AudioUploadResult>;
356
+ list: () => Promise<AudioFile[]>;
357
+ remove: (fileId: string) => Promise<void>;
358
+ error: ApiError | null;
359
+ loading: boolean;
360
+ }
361
+ declare function useAudio(): UseAudioReturn;
362
+
327
363
  /**
328
364
  * Conversation kinds recognized by the chat realtime channel naming scheme.
329
365
  * Matches `broadcast_to_conversation` in `ms/scalemule-chat/src/realtime.rs`.
@@ -996,4 +1032,4 @@ declare function createSafeLogger(prefix: string): {
996
1032
  error: (message: string, data?: unknown) => void;
997
1033
  };
998
1034
 
999
- export { ApiError$1 as ApiError, type ConversationKind, type FeatureFlagEvaluation, type FeatureFlagEvaluation as FeatureFlagResult, type FeedbackItem, type FeedbackItemInput, type FeedbackPriority, type FeedbackStatus, type FeedbackType, FeedbackWidget, type FeedbackWidgetConfig, type FeedbackWidgetProps, ListFilesParams, LoginResponse, type MediaPolicy, type MediaUploadResult, type PasswordValidationResult, type PhoneCountry, type PhoneValidationResult, type RealtimeEvent, type RealtimeMessage, type RealtimeStatus, ScaleMuleClient, ScaleMuleConfig, ScaleMuleMedia, type ScaleMuleMediaProps, ScaleMuleProvider, type ScaleMuleProviderProps, UseAnalyticsOptions, UseAnalyticsReturn, UseAuthReturn, UseBillingReturn, UseContentReturn, type UseFeatureFlagsOptions, type UseFeatureFlagsReturn, type UseFeedbackOptions, type UseFeedbackResult, type UseFileStatusOptions, type UseFileStatusReturn, type UseFeatureFlagsOptions as UseFlagsOptions, type UseFeatureFlagsReturn as UseFlagsReturn, type UseMediaReturn, type UseMediaUploadOptions, type UsePushNotificationsOptions, type UsePushNotificationsReturn, type UseRealtimeOptions, type UseRealtimeReturn, type UseShareOptions, type UseShareReturn, UseUserReturn, User, type UsernameValidationResult, composePhone, createSafeLogger, normalizePhone, phoneCountries, sanitizeForLog, useAnalytics, useAuth, useBilling, useContent, useFeatureFlags, useFeedback, useFileStatus, useMedia, useMoney, useMoneyClient, usePushNotifications, useRealtime, useScaleMule, useScaleMuleClient, useShare, useUser, validateForm, validators };
1035
+ export { ApiError$1 as ApiError, type AudioFile, type AudioUploadResult, type ConversationKind, type FeatureFlagEvaluation, type FeatureFlagEvaluation as FeatureFlagResult, type FeedbackItem, type FeedbackItemInput, type FeedbackPriority, type FeedbackStatus, type FeedbackType, FeedbackWidget, type FeedbackWidgetConfig, type FeedbackWidgetProps, ListFilesParams, LoginResponse, type MediaPolicy, type MediaUploadResult, type PasswordValidationResult, type PhoneCountry, type PhoneValidationResult, type RealtimeEvent, type RealtimeMessage, type RealtimeStatus, ScaleMuleClient, ScaleMuleConfig, ScaleMuleMedia, type ScaleMuleMediaProps, ScaleMuleProvider, type ScaleMuleProviderProps, UseAnalyticsOptions, UseAnalyticsReturn, type UseAudioReturn, type UseAudioUploadOptions, UseAuthReturn, UseBillingReturn, UseContentReturn, type UseFeatureFlagsOptions, type UseFeatureFlagsReturn, type UseFeedbackOptions, type UseFeedbackResult, type UseFileStatusOptions, type UseFileStatusReturn, type UseFeatureFlagsOptions as UseFlagsOptions, type UseFeatureFlagsReturn as UseFlagsReturn, type UseMediaReturn, type UseMediaUploadOptions, type UsePushNotificationsOptions, type UsePushNotificationsReturn, type UseRealtimeOptions, type UseRealtimeReturn, type UseShareOptions, type UseShareReturn, UseUserReturn, User, type UsernameValidationResult, composePhone, createSafeLogger, normalizePhone, phoneCountries, sanitizeForLog, useAnalytics, useAudio, useAuth, useBilling, useContent, useFeatureFlags, useFeedback, useFileStatus, useMedia, useMoney, useMoneyClient, usePushNotifications, useRealtime, useScaleMule, useScaleMuleClient, useShare, useUser, validateForm, validators };
package/dist/index.d.ts CHANGED
@@ -6,8 +6,8 @@ import { MoneyClient } from '@scalemule/money';
6
6
  export { MoneyClient, MoneyClientConfig, createMoneyClient } from '@scalemule/money';
7
7
  import { ScaleMuleClient } from './client.js';
8
8
  export { ClientConfig, RequestOptions, createClient } from './client.js';
9
- import { S as ScaleMuleConfig, U as User, L as LoginResponse, A as ApiError$1, a as UseAuthReturn, b as UseBillingReturn, c as ListFilesParams, d as UseContentReturn, e as UseUserReturn, f as UseAnalyticsOptions, g as UseAnalyticsReturn } from './index-BIIUrnPr.js';
10
- export { h as AccountBalance, i as AnalyticsEvent, j as ApiResponse, B as BatchTrackRequest, k as BillingPayment, l as BillingPayout, m as BillingRefund, n as BillingTransaction, C as ChangeEmailRequest, o as ChangePasswordRequest, p as ClientContext, q as ConnectedAccount, D as DeviceFingerprint, r as DeviceInfo, E as EnhancedAnalyticsEvent, F as ForgotPasswordRequest, K as KnownAccountInfo, s as LinkedAccount, t as ListFilesResponse, u as LoginDeviceInfo, v as LoginRequest, w as LoginResponseWithMFA, x as LoginRiskInfo, M as MFAChallengeResponse, y as MFAMethod, z as MFASMSSetupResponse, G as MFASetupRequest, H as MFAStatus, I as MFATOTPSetupResponse, J as MFAVerifyRequest, O as OAuthCallbackRequest, N as OAuthCallbackResponse, P as OAuthConfig, Q as OAuthProvider, R as OAuthStartResponse, T as PageViewData, V as PayoutSchedule, W as PhoneLoginRequest, X as PhoneSendCodeRequest, Y as PhoneVerifyRequest, Z as Profile, _ as RefreshResponse, $ as RegisterRequest, a0 as ResetPasswordRequest, a1 as ScaleMuleApiError, a2 as ScaleMuleEnvironment, a3 as Session, a4 as SignedUploadCompleteRequest, a5 as SignedUploadRequest, a6 as SignedUploadResponse, a7 as SignedUploadUrl, a8 as StorageAdapter, a9 as StorageFile, aa as TrackEventResponse, ab as TransactionSummary, ac as UTMParams, ad as UpdateProfileRequest, ae as UploadOptions, af as UploadResponse, ag as VerifyEmailRequest } from './index-BIIUrnPr.js';
9
+ import { S as ScaleMuleConfig, U as User, L as LoginResponse, A as ApiError$1, a as UseAuthReturn, b as UseBillingReturn, c as ListFilesParams, d as UseContentReturn, e as UseUserReturn, f as UseAnalyticsOptions, g as UseAnalyticsReturn } from './index-DTWyUcyd.js';
10
+ export { h as AccountBalance, i as AnalyticsEvent, j as ApiResponse, B as BatchTrackRequest, k as BillingPayment, l as BillingPayout, m as BillingRefund, n as BillingTransaction, C as ChangeEmailRequest, o as ChangePasswordRequest, p as ClientContext, q as ConnectedAccount, D as DeviceFingerprint, r as DeviceInfo, E as EnhancedAnalyticsEvent, F as ForgotPasswordRequest, K as KnownAccountInfo, s as LinkedAccount, t as ListFilesResponse, u as LoginDeviceInfo, v as LoginRequest, w as LoginResponseWithMFA, x as LoginRiskInfo, M as MFAChallengeResponse, y as MFAMethod, z as MFASMSSetupResponse, G as MFASetupRequest, H as MFAStatus, I as MFATOTPSetupResponse, J as MFAVerifyRequest, O as OAuthCallbackRequest, N as OAuthCallbackResponse, P as OAuthConfig, Q as OAuthProvider, R as OAuthStartResponse, T as PageViewData, V as PayoutSchedule, W as PhoneLoginRequest, X as PhoneSendCodeRequest, Y as PhoneVerifyRequest, Z as Profile, _ as RefreshResponse, $ as RegisterRequest, a0 as ResetPasswordRequest, a1 as ScaleMuleApiError, a2 as ScaleMuleEnvironment, a3 as Session, a4 as SignedUploadCompleteRequest, a5 as SignedUploadRequest, a6 as SignedUploadResponse, a7 as SignedUploadUrl, a8 as StorageAdapter, a9 as StorageFile, aa as TrackEventResponse, ab as TransactionSummary, ac as UTMParams, ad as UpdateProfileRequest, ae as UploadOptions, af as UploadResponse, ag as VerifyEmailRequest } from './index-DTWyUcyd.js';
11
11
 
12
12
  /**
13
13
  * Result of a single {@link useMedia} upload call.
@@ -226,7 +226,7 @@ interface ScaleMuleProviderProps extends ScaleMuleConfig {
226
226
  */
227
227
  mediaPolicy?: MediaPolicy;
228
228
  }
229
- declare function ScaleMuleProvider({ apiKey, applicationId, environment, gatewayUrl, debug, storage, analyticsProxyUrl, authProxyUrl, publishableKey, enableAccountSwitcher, accountSwitcherPrivacy, children, onLogin, onLogout, onAuthError, bootstrapFlags, mediaPolicy, }: ScaleMuleProviderProps): react_jsx_runtime.JSX.Element;
229
+ declare function ScaleMuleProvider({ apiKey, applicationId, environment, gatewayUrl, debug, storage, analyticsProxyUrl, authProxyUrl, telemetryEndpoint, publishableKey, enableAccountSwitcher, accountSwitcherPrivacy, children, onLogin, onLogout, onAuthError, bootstrapFlags, mediaPolicy, }: ScaleMuleProviderProps): react_jsx_runtime.JSX.Element;
230
230
  declare function useScaleMule(): ScaleMuleContextValue;
231
231
  declare function useScaleMuleClient(): ScaleMuleClient;
232
232
  declare function useMoneyClient(): MoneyClient;
@@ -324,6 +324,42 @@ interface UseContentOptions {
324
324
  */
325
325
  declare function useContent(options?: UseContentOptions): UseContentReturn;
326
326
 
327
+ interface AudioFile {
328
+ audio_id: string;
329
+ file_id: string;
330
+ filename: string;
331
+ mime_type: string;
332
+ size_bytes: number;
333
+ status: string;
334
+ codec: string | null;
335
+ bit_rate_kbps: number | null;
336
+ duration_ms: number | null;
337
+ created_at: string;
338
+ original_view_url: string | null;
339
+ transcoded_url: string | null;
340
+ waveform_peaks?: unknown;
341
+ }
342
+ interface UseAudioUploadOptions {
343
+ filename?: string;
344
+ metadata?: Record<string, unknown>;
345
+ onProgress?: (progress: number) => void;
346
+ signal?: AbortSignal;
347
+ }
348
+ interface AudioUploadResult {
349
+ file_id: string;
350
+ audio_id: string | null;
351
+ original_view_url: string | null;
352
+ transcoded_url_promise: Promise<string | null>;
353
+ }
354
+ interface UseAudioReturn {
355
+ upload: (file: File | Blob, opts?: UseAudioUploadOptions) => Promise<AudioUploadResult>;
356
+ list: () => Promise<AudioFile[]>;
357
+ remove: (fileId: string) => Promise<void>;
358
+ error: ApiError | null;
359
+ loading: boolean;
360
+ }
361
+ declare function useAudio(): UseAudioReturn;
362
+
327
363
  /**
328
364
  * Conversation kinds recognized by the chat realtime channel naming scheme.
329
365
  * Matches `broadcast_to_conversation` in `ms/scalemule-chat/src/realtime.rs`.
@@ -996,4 +1032,4 @@ declare function createSafeLogger(prefix: string): {
996
1032
  error: (message: string, data?: unknown) => void;
997
1033
  };
998
1034
 
999
- export { ApiError$1 as ApiError, type ConversationKind, type FeatureFlagEvaluation, type FeatureFlagEvaluation as FeatureFlagResult, type FeedbackItem, type FeedbackItemInput, type FeedbackPriority, type FeedbackStatus, type FeedbackType, FeedbackWidget, type FeedbackWidgetConfig, type FeedbackWidgetProps, ListFilesParams, LoginResponse, type MediaPolicy, type MediaUploadResult, type PasswordValidationResult, type PhoneCountry, type PhoneValidationResult, type RealtimeEvent, type RealtimeMessage, type RealtimeStatus, ScaleMuleClient, ScaleMuleConfig, ScaleMuleMedia, type ScaleMuleMediaProps, ScaleMuleProvider, type ScaleMuleProviderProps, UseAnalyticsOptions, UseAnalyticsReturn, UseAuthReturn, UseBillingReturn, UseContentReturn, type UseFeatureFlagsOptions, type UseFeatureFlagsReturn, type UseFeedbackOptions, type UseFeedbackResult, type UseFileStatusOptions, type UseFileStatusReturn, type UseFeatureFlagsOptions as UseFlagsOptions, type UseFeatureFlagsReturn as UseFlagsReturn, type UseMediaReturn, type UseMediaUploadOptions, type UsePushNotificationsOptions, type UsePushNotificationsReturn, type UseRealtimeOptions, type UseRealtimeReturn, type UseShareOptions, type UseShareReturn, UseUserReturn, User, type UsernameValidationResult, composePhone, createSafeLogger, normalizePhone, phoneCountries, sanitizeForLog, useAnalytics, useAuth, useBilling, useContent, useFeatureFlags, useFeedback, useFileStatus, useMedia, useMoney, useMoneyClient, usePushNotifications, useRealtime, useScaleMule, useScaleMuleClient, useShare, useUser, validateForm, validators };
1035
+ export { ApiError$1 as ApiError, type AudioFile, type AudioUploadResult, type ConversationKind, type FeatureFlagEvaluation, type FeatureFlagEvaluation as FeatureFlagResult, type FeedbackItem, type FeedbackItemInput, type FeedbackPriority, type FeedbackStatus, type FeedbackType, FeedbackWidget, type FeedbackWidgetConfig, type FeedbackWidgetProps, ListFilesParams, LoginResponse, type MediaPolicy, type MediaUploadResult, type PasswordValidationResult, type PhoneCountry, type PhoneValidationResult, type RealtimeEvent, type RealtimeMessage, type RealtimeStatus, ScaleMuleClient, ScaleMuleConfig, ScaleMuleMedia, type ScaleMuleMediaProps, ScaleMuleProvider, type ScaleMuleProviderProps, UseAnalyticsOptions, UseAnalyticsReturn, type UseAudioReturn, type UseAudioUploadOptions, UseAuthReturn, UseBillingReturn, UseContentReturn, type UseFeatureFlagsOptions, type UseFeatureFlagsReturn, type UseFeedbackOptions, type UseFeedbackResult, type UseFileStatusOptions, type UseFileStatusReturn, type UseFeatureFlagsOptions as UseFlagsOptions, type UseFeatureFlagsReturn as UseFlagsReturn, type UseMediaReturn, type UseMediaUploadOptions, type UsePushNotificationsOptions, type UsePushNotificationsReturn, type UseRealtimeOptions, type UseRealtimeReturn, type UseShareOptions, type UseShareReturn, UseUserReturn, User, type UsernameValidationResult, composePhone, createSafeLogger, normalizePhone, phoneCountries, sanitizeForLog, useAnalytics, useAudio, useAuth, useBilling, useContent, useFeatureFlags, useFeedback, useFileStatus, useMedia, useMoney, useMoneyClient, usePushNotifications, useRealtime, useScaleMule, useScaleMuleClient, useShare, useUser, validateForm, validators };