@gravity-rail/sdk 0.7.4 → 0.10.1

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.
Files changed (43) hide show
  1. package/README.md +38 -0
  2. package/dist/{chunk-ANY7WLOD.js → chunk-2BJG4GYM.js} +778 -545
  3. package/dist/chunk-2BJG4GYM.js.map +1 -0
  4. package/dist/chunk-FSSXKQR5.js +471 -0
  5. package/dist/chunk-FSSXKQR5.js.map +1 -0
  6. package/dist/{chunk-QS6ZRQUZ.js → chunk-TJT7A4CO.js} +8 -1
  7. package/dist/{chunk-QS6ZRQUZ.js.map → chunk-TJT7A4CO.js.map} +1 -1
  8. package/dist/{client-B_cweJhP.d.cts → client-BffM3KcA.d.cts} +1367 -344
  9. package/dist/{client-C-on7whi.d.ts → client-DfjAYbt8.d.ts} +1367 -344
  10. package/dist/helpers.cjs +178 -2
  11. package/dist/helpers.cjs.map +1 -1
  12. package/dist/helpers.d.cts +82 -3
  13. package/dist/helpers.d.ts +82 -3
  14. package/dist/helpers.js +156 -1
  15. package/dist/helpers.js.map +1 -1
  16. package/dist/index.cjs +992 -174
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +14 -8
  19. package/dist/index.d.ts +14 -8
  20. package/dist/index.js +144 -20
  21. package/dist/index.js.map +1 -1
  22. package/dist/{inquiries-BX3PuU-7.d.cts → inquiries-UcWNYo-Q.d.cts} +567 -79
  23. package/dist/{inquiries-BX3PuU-7.d.ts → inquiries-UcWNYo-Q.d.ts} +567 -79
  24. package/dist/internal.cjs +925 -161
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +241 -5
  27. package/dist/internal.d.ts +241 -5
  28. package/dist/internal.js +71 -7
  29. package/dist/internal.js.map +1 -1
  30. package/dist/realtime.cjs +1 -0
  31. package/dist/realtime.cjs.map +1 -1
  32. package/dist/realtime.js +1 -0
  33. package/dist/realtime.js.map +1 -1
  34. package/dist/schemas.cjs +40 -7
  35. package/dist/schemas.cjs.map +1 -1
  36. package/dist/schemas.d.cts +134 -51
  37. package/dist/schemas.d.ts +134 -51
  38. package/dist/schemas.js +40 -8
  39. package/dist/schemas.js.map +1 -1
  40. package/dist/{scopes-ColqadkM.d.ts → scopes-CjSvITpL.d.cts} +53 -8
  41. package/dist/{scopes-CNbQi30F.d.cts → scopes-CmNKWrzb.d.ts} +53 -8
  42. package/package.json +6 -6
  43. package/dist/chunk-ANY7WLOD.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { dA as SortOrder } from './inquiries-BX3PuU-7.js';
2
- import { kY as WorkspaceFeature, h0 as Resource$1, gA as ProductType } from './client-C-on7whi.js';
1
+ import { ep as SortOrder } from './inquiries-UcWNYo-Q.cjs';
2
+ import { lE as WorkspaceFeature, hp as Resource$1, gV as ProductType } from './client-BffM3KcA.cjs';
3
3
 
4
4
  interface MemberNotificationPreferences {
5
5
  notifySms?: boolean;
@@ -362,11 +362,14 @@ interface ProductOverageConfigResponse {
362
362
  *
363
363
  * Two categories:
364
364
  * - Usage resources: consumed over time, tracked per billing period.
365
- * Each has a credit cost defined in CREDITS_PER_UNIT. Credits are
366
- * the unified billing currency; resources are what you actually consume.
365
+ * AI usage converts to credits via the model multipliers in ai_models.yaml
366
+ * scaled by the plan's AI multiplier (lib/services/ai_multiplier.py); SMS,
367
+ * voice, and email convert via the telephony rate card
368
+ * (lib/services/service_rate_card.py). Credits are the unified billing
369
+ * currency; resources are what you actually consume.
367
370
  * - State resources: current count, not cumulative (members, sites, etc.)
368
371
  */
369
- type Resource = (typeof Resource)[keyof typeof Resource];
372
+ type Resource = typeof Resource[keyof typeof Resource];
370
373
  declare const Resource: {
371
374
  readonly credit: "credit";
372
375
  readonly stt: "stt";
@@ -626,6 +629,39 @@ type VoiceMetricsResponse = Omit<VoiceMetricsResponse$1, 'voice' | 'chat' | 'cal
626
629
  ttsReconnect: TtsReconnectSection;
627
630
  };
628
631
 
632
+ /** A single prompt-injection finding, as returned by the admin API. */
633
+ interface AdminPidsFindingResponse {
634
+ id: number;
635
+ langfuseTraceId: string;
636
+ workspaceUuid: string;
637
+ chatId: number | null;
638
+ memberId: number | null;
639
+ channel: string;
640
+ /** Per-category combined confidence (0..1). */
641
+ attackCategories: Record<string, number>;
642
+ confidence: number;
643
+ /** Stage-1 rule names that matched (never raw matched text). */
644
+ stage1MatchedPatterns: string[];
645
+ /** Stage-2 LLM judge verdict (per-category quoted spans = PHI). */
646
+ stage2Verdict: Record<string, unknown> | null;
647
+ stage2Status: string;
648
+ detectorVersion: string;
649
+ /** scheduled | backfill | pre_llm. */
650
+ source: PidsSource;
651
+ reviewedAt: string | null;
652
+ reviewedByMemberId: number | null;
653
+ reviewerDisposition: PidsDisposition | null;
654
+ wazuhEmittedAt: string | null;
655
+ createdAt: string;
656
+ }
657
+
658
+ /** Reviewer disposition values (matches the backend `ReviewerDisposition`). */
659
+ declare const PIDS_DISPOSITIONS: readonly ["true_positive", "false_positive", "needs_more_context"];
660
+ type PidsDisposition = (typeof PIDS_DISPOSITIONS)[number];
661
+ /** Finding source values (matches the backend `FindingSource`). */
662
+ declare const PIDS_SOURCES: readonly ["scheduled", "backfill", "pre_llm"];
663
+ type PidsSource = (typeof PIDS_SOURCES)[number];
664
+
629
665
  /**
630
666
  * Generated by Orval (filtered by scripts/types-codegen/allowlist.txt and
631
667
  * grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
@@ -927,7 +963,16 @@ interface XAIRealtimeModelConfig extends BaseRealtimeModelConfig {
927
963
  }
928
964
  type RealtimeModelConfig = OpenAIRealtimeModelConfig | GeminiRealtimeModelConfig | CustomRealtimeModelConfig | AWSRealtimeModelConfig | XAIRealtimeModelConfig;
929
965
  type GeminiThinkingLevel = 'minimal' | 'low' | 'medium' | 'high';
930
- type OpenAIReasoningEffort = 'minimal' | 'low' | 'medium' | 'high';
966
+ /**
967
+ * OpenAI GPT-5 reasoning effort. The ACCEPTED SUBSET IS MODEL-DEPENDENT — sending
968
+ * an out-of-set value is a hard 400 at the API. Mirror of the per-family vocab in
969
+ * lib/ai/chat_model_config.py (see getOpenAIReasoningEfforts):
970
+ * gpt-5 (5.0): minimal / low / medium / high
971
+ * gpt-5.1: none / low / medium / high
972
+ * gpt-5.4: none / low / medium / high / xhigh
973
+ * This union is the superset; the UI filters it down per selected model.
974
+ */
975
+ type OpenAIReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
931
976
  /**
932
977
  * xAI (Grok) reasoning levels. Note "none" disables reasoning entirely
933
978
  * (used by Grok 4.3 to switch into non-reasoning mode); xAI does NOT
@@ -962,7 +1007,7 @@ type ChatModelConfig = GeminiChatModelConfig | ClaudeChatModelConfig | OpenAICha
962
1007
  * Supported TTS preview providers.
963
1008
  * These are the voice providers that support TTS preview in the UI.
964
1009
  */
965
- declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "pocket", "deepgram", "xai"];
1010
+ declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "deepgram", "xai"];
966
1011
  type TTSPreviewProvider = (typeof TTS_PREVIEW_PROVIDERS)[number];
967
1012
  /**
968
1013
  * Get the canonical voice model ID from a realtime model config.
@@ -1604,4 +1649,4 @@ declare const SCOPE_PRESETS: {
1604
1649
  ALL: ScopeName[];
1605
1650
  };
1606
1651
 
1607
- export { type MetricDataPoint as $, type AIModelUsageResponse as A, type BaseChatModelConfig as B, type CallEndSection as C, DEFAULT_CHAT_MODEL as D, type EfficiencyMetricsResponse as E, type EmailUsageResponse as F, type EngineTimeSeries as G, type ErrorCodeBucket as H, type EventRuleMetrics as I, type ExportStatistics as J, type FeatureSyncStatus as K, type GeminiChatModelConfig as L, type GeminiRealtimeModelConfig as M, type GeminiThinkingLevel as N, type MetricSummary$1 as O, type HealthCheckStatistics as P, type HealthDetailRequest as Q, type HealthMetricsRequest as R, type HealthMetricsResponse as S, type HealthSummary as T, type ImportStatistics as U, type VoiceMetricsResponse$1 as V, type WorkspaceHealthResponse$1 as W, type InterruptionSound as X, type MemberNotificationPreferences as Y, type MemberNotifyActionParams as Z, type MemberUsageReport as _, type AIUsageDetailsResponse as a, type WorkspaceHealthResponse as a$, type MetricSection as a0, type MetricSummary as a1, type MetricValue as a2, type OpenAIChatModelConfig as a3, type OpenAIRealtimeModelConfig as a4, type OpenAIReasoningEffort as a5, type OpenAISemanticVADEagerness as a6, type OpenAISemanticVADTurnDetection as a7, type OpenAIServerVADTurnDetection as a8, type OpenAITurnDetection as a9, type SkippedWorkspace as aA, type StatisticsSummary as aB, type SystemStatistics as aC, type TTSModel as aD, type TTSPreviewProvider as aE, TTS_PREVIEW_PROVIDERS as aF, type TaskContext as aG, type TaskCountResponse as aH, type ThinkingSound as aI, type TimeSeriesData as aJ, type TimeSeriesDataPoint as aK, type ToolParameter as aL, type ToolkitContext as aM, ToolkitState as aN, type TopOffender as aO, type TopResourceOverageResponse as aP, type TtsReconnectOutcomeEntry as aQ, type TtsReconnectSection as aR, type UsageProductSummaryResponse as aS, type UsageReportResponse as aT, type UsageReportRequest as aU, type UsageStatistics as aV, type VoiceMetricsResponse as aW, type VoiceMetricsTimeRange as aX, type WebhookMetrics as aY, type WorkflowContext as aZ, type WorkspaceHealthDetail as a_, type OpenAITurnDetectionType as aa, type PageContext as ab, type PerformanceMetrics as ac, type PhoneCallPhoneNumberUsageResponse as ad, type PhoneCallUsageResponse as ae, type PhoneCommunicationDetailsResponse as af, type PhoneNumberUsage as ag, type ProductOverageConfigResponse as ah, type ProvisionPlanRequest as ai, type ProvisionPlanResponse as aj, type RealtimeModelConfig as ak, type RequestsSection as al, type RequestsStatusEntry as am, type ResourceMetadata as an, type ResourceOverageResponse as ao, type ResourceScope as ap, type ResourceUsageResponse as aq, SCOPES as ar, SCOPE_PRESETS as as, type SMSCommunicationDetailsResponse as at, type SMSMessageUsageResponse as au, type SMSPhoneNumberUsageResponse as av, ScopeCategory as aw, ScopeManager as ax, type ScopeName as ay, type SiteContext as az, type AWSRealtimeModelConfig as b, type WorkspaceHealthRow as b0, type WorkspaceUsageReportResponse as b1, type XAIChatModelConfig as b2, type XAIRealtimeModelConfig as b3, type XAIReasoningEffort as b4, canPreviewVoice as b5, formatAppContextAsMarkdown as b6, getAllResourceSlugs as b7, getApplicableResourceSlugs as b8, getApplicableResources as b9, getResourceMetadata as ba, getScopeFromProductType as bb, getTTSProvider as bc, getVoiceModelId as bd, type ScopeDefinition as be, type AnalyticsFilter as c, type AnalyticsQuery as d, type AppContext as e, type AttachedAddonInfo as f, type BaseRealtimeModelConfig as g, type BillingStatistics as h, type CallEndStatusEntry as i, type ChangeWorkspaceProductRequest as j, type ChangeWorkspaceProductResponse as k, type ChannelErrorBreakdown as l, type ChannelFailures as m, type ChatModelConfig as n, type ClaudeChatModelConfig as o, type CommunicationDetailsResponse as p, type CurrentPlanInfo as q, type CustomRealtimeModelConfig as r, DEFAULT_CUSTOM_VOICE_MODEL as s, DEFAULT_THINKING_SPEECH_PHRASES as t, DEFAULT_VOICE_INFERENCE_MODEL as u, type DailyPhoneRowResponse as v, type DailySMSRowResponse as w, type DashboardMetrics as x, type DataRecordContext as y, type EmailCountsResponse as z };
1652
+ export { type MemberUsageReport as $, type AIModelUsageResponse as A, type BaseChatModelConfig as B, type CallEndSection as C, DEFAULT_CHAT_MODEL as D, type EfficiencyMetricsResponse as E, type EmailCountsResponse as F, type EmailUsageResponse as G, type EngineTimeSeries as H, type ErrorCodeBucket as I, type EventRuleMetrics as J, type ExportStatistics as K, type FeatureSyncStatus as L, type GeminiChatModelConfig as M, type GeminiRealtimeModelConfig as N, type GeminiThinkingLevel as O, type MetricSummary$1 as P, type HealthCheckStatistics as Q, type HealthDetailRequest as R, type HealthMetricsRequest as S, type HealthMetricsResponse as T, type HealthSummary as U, type VoiceMetricsResponse$1 as V, type WorkspaceHealthResponse$1 as W, type ImportStatistics as X, type InterruptionSound as Y, type MemberNotificationPreferences as Z, type MemberNotifyActionParams as _, type AIUsageDetailsResponse as a, type VoiceMetricsResponse as a$, type MetricDataPoint as a0, type MetricSection as a1, type MetricSummary as a2, type MetricValue as a3, type OpenAIChatModelConfig as a4, type OpenAIRealtimeModelConfig as a5, type OpenAIReasoningEffort as a6, type OpenAISemanticVADEagerness as a7, type OpenAISemanticVADTurnDetection as a8, type OpenAIServerVADTurnDetection as a9, type SMSPhoneNumberUsageResponse as aA, ScopeCategory as aB, ScopeManager as aC, type ScopeName as aD, type SiteContext as aE, type SkippedWorkspace as aF, type StatisticsSummary as aG, type SystemStatistics as aH, type TTSModel as aI, type TTSPreviewProvider as aJ, TTS_PREVIEW_PROVIDERS as aK, type TaskContext as aL, type TaskCountResponse as aM, type ThinkingSound as aN, type TimeSeriesData as aO, type TimeSeriesDataPoint as aP, type ToolParameter as aQ, type ToolkitContext as aR, ToolkitState as aS, type TopOffender as aT, type TopResourceOverageResponse as aU, type TtsReconnectOutcomeEntry as aV, type TtsReconnectSection as aW, type UsageProductSummaryResponse as aX, type UsageReportResponse as aY, type UsageReportRequest as aZ, type UsageStatistics as a_, type OpenAITurnDetection as aa, type OpenAITurnDetectionType as ab, PIDS_DISPOSITIONS as ac, PIDS_SOURCES as ad, type PageContext as ae, type PerformanceMetrics as af, type PhoneCallPhoneNumberUsageResponse as ag, type PhoneCallUsageResponse as ah, type PhoneCommunicationDetailsResponse as ai, type PhoneNumberUsage as aj, type PidsDisposition as ak, type PidsSource as al, type ProductOverageConfigResponse as am, type ProvisionPlanRequest as an, type ProvisionPlanResponse as ao, type RealtimeModelConfig as ap, type RequestsSection as aq, type RequestsStatusEntry as ar, type ResourceMetadata as as, type ResourceOverageResponse as at, type ResourceScope as au, type ResourceUsageResponse as av, SCOPES as aw, SCOPE_PRESETS as ax, type SMSCommunicationDetailsResponse as ay, type SMSMessageUsageResponse as az, type AWSRealtimeModelConfig as b, type VoiceMetricsTimeRange as b0, type WebhookMetrics as b1, type WorkflowContext as b2, type WorkspaceHealthDetail as b3, type WorkspaceHealthResponse as b4, type WorkspaceHealthRow as b5, type WorkspaceUsageReportResponse as b6, type XAIChatModelConfig as b7, type XAIRealtimeModelConfig as b8, type XAIReasoningEffort as b9, canPreviewVoice as ba, formatAppContextAsMarkdown as bb, getAllResourceSlugs as bc, getApplicableResourceSlugs as bd, getApplicableResources as be, getResourceMetadata as bf, getScopeFromProductType as bg, getTTSProvider as bh, getVoiceModelId as bi, type ScopeDefinition as bj, type AdminPidsFindingResponse as c, type AnalyticsFilter as d, type AnalyticsQuery as e, type AppContext as f, type AttachedAddonInfo as g, type BaseRealtimeModelConfig as h, type BillingStatistics as i, type CallEndStatusEntry as j, type ChangeWorkspaceProductRequest as k, type ChangeWorkspaceProductResponse as l, type ChannelErrorBreakdown as m, type ChannelFailures as n, type ChatModelConfig as o, type ClaudeChatModelConfig as p, type CommunicationDetailsResponse as q, type CurrentPlanInfo as r, type CustomRealtimeModelConfig as s, DEFAULT_CUSTOM_VOICE_MODEL as t, DEFAULT_THINKING_SPEECH_PHRASES as u, DEFAULT_VOICE_INFERENCE_MODEL as v, type DailyPhoneRowResponse as w, type DailySMSRowResponse as x, type DashboardMetrics as y, type DataRecordContext as z };
@@ -1,5 +1,5 @@
1
- import { dA as SortOrder } from './inquiries-BX3PuU-7.cjs';
2
- import { kY as WorkspaceFeature, h0 as Resource$1, gA as ProductType } from './client-B_cweJhP.cjs';
1
+ import { ep as SortOrder } from './inquiries-UcWNYo-Q.js';
2
+ import { lE as WorkspaceFeature, hp as Resource$1, gV as ProductType } from './client-DfjAYbt8.js';
3
3
 
4
4
  interface MemberNotificationPreferences {
5
5
  notifySms?: boolean;
@@ -362,11 +362,14 @@ interface ProductOverageConfigResponse {
362
362
  *
363
363
  * Two categories:
364
364
  * - Usage resources: consumed over time, tracked per billing period.
365
- * Each has a credit cost defined in CREDITS_PER_UNIT. Credits are
366
- * the unified billing currency; resources are what you actually consume.
365
+ * AI usage converts to credits via the model multipliers in ai_models.yaml
366
+ * scaled by the plan's AI multiplier (lib/services/ai_multiplier.py); SMS,
367
+ * voice, and email convert via the telephony rate card
368
+ * (lib/services/service_rate_card.py). Credits are the unified billing
369
+ * currency; resources are what you actually consume.
367
370
  * - State resources: current count, not cumulative (members, sites, etc.)
368
371
  */
369
- type Resource = (typeof Resource)[keyof typeof Resource];
372
+ type Resource = typeof Resource[keyof typeof Resource];
370
373
  declare const Resource: {
371
374
  readonly credit: "credit";
372
375
  readonly stt: "stt";
@@ -626,6 +629,39 @@ type VoiceMetricsResponse = Omit<VoiceMetricsResponse$1, 'voice' | 'chat' | 'cal
626
629
  ttsReconnect: TtsReconnectSection;
627
630
  };
628
631
 
632
+ /** A single prompt-injection finding, as returned by the admin API. */
633
+ interface AdminPidsFindingResponse {
634
+ id: number;
635
+ langfuseTraceId: string;
636
+ workspaceUuid: string;
637
+ chatId: number | null;
638
+ memberId: number | null;
639
+ channel: string;
640
+ /** Per-category combined confidence (0..1). */
641
+ attackCategories: Record<string, number>;
642
+ confidence: number;
643
+ /** Stage-1 rule names that matched (never raw matched text). */
644
+ stage1MatchedPatterns: string[];
645
+ /** Stage-2 LLM judge verdict (per-category quoted spans = PHI). */
646
+ stage2Verdict: Record<string, unknown> | null;
647
+ stage2Status: string;
648
+ detectorVersion: string;
649
+ /** scheduled | backfill | pre_llm. */
650
+ source: PidsSource;
651
+ reviewedAt: string | null;
652
+ reviewedByMemberId: number | null;
653
+ reviewerDisposition: PidsDisposition | null;
654
+ wazuhEmittedAt: string | null;
655
+ createdAt: string;
656
+ }
657
+
658
+ /** Reviewer disposition values (matches the backend `ReviewerDisposition`). */
659
+ declare const PIDS_DISPOSITIONS: readonly ["true_positive", "false_positive", "needs_more_context"];
660
+ type PidsDisposition = (typeof PIDS_DISPOSITIONS)[number];
661
+ /** Finding source values (matches the backend `FindingSource`). */
662
+ declare const PIDS_SOURCES: readonly ["scheduled", "backfill", "pre_llm"];
663
+ type PidsSource = (typeof PIDS_SOURCES)[number];
664
+
629
665
  /**
630
666
  * Generated by Orval (filtered by scripts/types-codegen/allowlist.txt and
631
667
  * grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
@@ -927,7 +963,16 @@ interface XAIRealtimeModelConfig extends BaseRealtimeModelConfig {
927
963
  }
928
964
  type RealtimeModelConfig = OpenAIRealtimeModelConfig | GeminiRealtimeModelConfig | CustomRealtimeModelConfig | AWSRealtimeModelConfig | XAIRealtimeModelConfig;
929
965
  type GeminiThinkingLevel = 'minimal' | 'low' | 'medium' | 'high';
930
- type OpenAIReasoningEffort = 'minimal' | 'low' | 'medium' | 'high';
966
+ /**
967
+ * OpenAI GPT-5 reasoning effort. The ACCEPTED SUBSET IS MODEL-DEPENDENT — sending
968
+ * an out-of-set value is a hard 400 at the API. Mirror of the per-family vocab in
969
+ * lib/ai/chat_model_config.py (see getOpenAIReasoningEfforts):
970
+ * gpt-5 (5.0): minimal / low / medium / high
971
+ * gpt-5.1: none / low / medium / high
972
+ * gpt-5.4: none / low / medium / high / xhigh
973
+ * This union is the superset; the UI filters it down per selected model.
974
+ */
975
+ type OpenAIReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
931
976
  /**
932
977
  * xAI (Grok) reasoning levels. Note "none" disables reasoning entirely
933
978
  * (used by Grok 4.3 to switch into non-reasoning mode); xAI does NOT
@@ -962,7 +1007,7 @@ type ChatModelConfig = GeminiChatModelConfig | ClaudeChatModelConfig | OpenAICha
962
1007
  * Supported TTS preview providers.
963
1008
  * These are the voice providers that support TTS preview in the UI.
964
1009
  */
965
- declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "pocket", "deepgram", "xai"];
1010
+ declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "deepgram", "xai"];
966
1011
  type TTSPreviewProvider = (typeof TTS_PREVIEW_PROVIDERS)[number];
967
1012
  /**
968
1013
  * Get the canonical voice model ID from a realtime model config.
@@ -1604,4 +1649,4 @@ declare const SCOPE_PRESETS: {
1604
1649
  ALL: ScopeName[];
1605
1650
  };
1606
1651
 
1607
- export { type MetricDataPoint as $, type AIModelUsageResponse as A, type BaseChatModelConfig as B, type CallEndSection as C, DEFAULT_CHAT_MODEL as D, type EfficiencyMetricsResponse as E, type EmailUsageResponse as F, type EngineTimeSeries as G, type ErrorCodeBucket as H, type EventRuleMetrics as I, type ExportStatistics as J, type FeatureSyncStatus as K, type GeminiChatModelConfig as L, type GeminiRealtimeModelConfig as M, type GeminiThinkingLevel as N, type MetricSummary$1 as O, type HealthCheckStatistics as P, type HealthDetailRequest as Q, type HealthMetricsRequest as R, type HealthMetricsResponse as S, type HealthSummary as T, type ImportStatistics as U, type VoiceMetricsResponse$1 as V, type WorkspaceHealthResponse$1 as W, type InterruptionSound as X, type MemberNotificationPreferences as Y, type MemberNotifyActionParams as Z, type MemberUsageReport as _, type AIUsageDetailsResponse as a, type WorkspaceHealthResponse as a$, type MetricSection as a0, type MetricSummary as a1, type MetricValue as a2, type OpenAIChatModelConfig as a3, type OpenAIRealtimeModelConfig as a4, type OpenAIReasoningEffort as a5, type OpenAISemanticVADEagerness as a6, type OpenAISemanticVADTurnDetection as a7, type OpenAIServerVADTurnDetection as a8, type OpenAITurnDetection as a9, type SkippedWorkspace as aA, type StatisticsSummary as aB, type SystemStatistics as aC, type TTSModel as aD, type TTSPreviewProvider as aE, TTS_PREVIEW_PROVIDERS as aF, type TaskContext as aG, type TaskCountResponse as aH, type ThinkingSound as aI, type TimeSeriesData as aJ, type TimeSeriesDataPoint as aK, type ToolParameter as aL, type ToolkitContext as aM, ToolkitState as aN, type TopOffender as aO, type TopResourceOverageResponse as aP, type TtsReconnectOutcomeEntry as aQ, type TtsReconnectSection as aR, type UsageProductSummaryResponse as aS, type UsageReportResponse as aT, type UsageReportRequest as aU, type UsageStatistics as aV, type VoiceMetricsResponse as aW, type VoiceMetricsTimeRange as aX, type WebhookMetrics as aY, type WorkflowContext as aZ, type WorkspaceHealthDetail as a_, type OpenAITurnDetectionType as aa, type PageContext as ab, type PerformanceMetrics as ac, type PhoneCallPhoneNumberUsageResponse as ad, type PhoneCallUsageResponse as ae, type PhoneCommunicationDetailsResponse as af, type PhoneNumberUsage as ag, type ProductOverageConfigResponse as ah, type ProvisionPlanRequest as ai, type ProvisionPlanResponse as aj, type RealtimeModelConfig as ak, type RequestsSection as al, type RequestsStatusEntry as am, type ResourceMetadata as an, type ResourceOverageResponse as ao, type ResourceScope as ap, type ResourceUsageResponse as aq, SCOPES as ar, SCOPE_PRESETS as as, type SMSCommunicationDetailsResponse as at, type SMSMessageUsageResponse as au, type SMSPhoneNumberUsageResponse as av, ScopeCategory as aw, ScopeManager as ax, type ScopeName as ay, type SiteContext as az, type AWSRealtimeModelConfig as b, type WorkspaceHealthRow as b0, type WorkspaceUsageReportResponse as b1, type XAIChatModelConfig as b2, type XAIRealtimeModelConfig as b3, type XAIReasoningEffort as b4, canPreviewVoice as b5, formatAppContextAsMarkdown as b6, getAllResourceSlugs as b7, getApplicableResourceSlugs as b8, getApplicableResources as b9, getResourceMetadata as ba, getScopeFromProductType as bb, getTTSProvider as bc, getVoiceModelId as bd, type ScopeDefinition as be, type AnalyticsFilter as c, type AnalyticsQuery as d, type AppContext as e, type AttachedAddonInfo as f, type BaseRealtimeModelConfig as g, type BillingStatistics as h, type CallEndStatusEntry as i, type ChangeWorkspaceProductRequest as j, type ChangeWorkspaceProductResponse as k, type ChannelErrorBreakdown as l, type ChannelFailures as m, type ChatModelConfig as n, type ClaudeChatModelConfig as o, type CommunicationDetailsResponse as p, type CurrentPlanInfo as q, type CustomRealtimeModelConfig as r, DEFAULT_CUSTOM_VOICE_MODEL as s, DEFAULT_THINKING_SPEECH_PHRASES as t, DEFAULT_VOICE_INFERENCE_MODEL as u, type DailyPhoneRowResponse as v, type DailySMSRowResponse as w, type DashboardMetrics as x, type DataRecordContext as y, type EmailCountsResponse as z };
1652
+ export { type MemberUsageReport as $, type AIModelUsageResponse as A, type BaseChatModelConfig as B, type CallEndSection as C, DEFAULT_CHAT_MODEL as D, type EfficiencyMetricsResponse as E, type EmailCountsResponse as F, type EmailUsageResponse as G, type EngineTimeSeries as H, type ErrorCodeBucket as I, type EventRuleMetrics as J, type ExportStatistics as K, type FeatureSyncStatus as L, type GeminiChatModelConfig as M, type GeminiRealtimeModelConfig as N, type GeminiThinkingLevel as O, type MetricSummary$1 as P, type HealthCheckStatistics as Q, type HealthDetailRequest as R, type HealthMetricsRequest as S, type HealthMetricsResponse as T, type HealthSummary as U, type VoiceMetricsResponse$1 as V, type WorkspaceHealthResponse$1 as W, type ImportStatistics as X, type InterruptionSound as Y, type MemberNotificationPreferences as Z, type MemberNotifyActionParams as _, type AIUsageDetailsResponse as a, type VoiceMetricsResponse as a$, type MetricDataPoint as a0, type MetricSection as a1, type MetricSummary as a2, type MetricValue as a3, type OpenAIChatModelConfig as a4, type OpenAIRealtimeModelConfig as a5, type OpenAIReasoningEffort as a6, type OpenAISemanticVADEagerness as a7, type OpenAISemanticVADTurnDetection as a8, type OpenAIServerVADTurnDetection as a9, type SMSPhoneNumberUsageResponse as aA, ScopeCategory as aB, ScopeManager as aC, type ScopeName as aD, type SiteContext as aE, type SkippedWorkspace as aF, type StatisticsSummary as aG, type SystemStatistics as aH, type TTSModel as aI, type TTSPreviewProvider as aJ, TTS_PREVIEW_PROVIDERS as aK, type TaskContext as aL, type TaskCountResponse as aM, type ThinkingSound as aN, type TimeSeriesData as aO, type TimeSeriesDataPoint as aP, type ToolParameter as aQ, type ToolkitContext as aR, ToolkitState as aS, type TopOffender as aT, type TopResourceOverageResponse as aU, type TtsReconnectOutcomeEntry as aV, type TtsReconnectSection as aW, type UsageProductSummaryResponse as aX, type UsageReportResponse as aY, type UsageReportRequest as aZ, type UsageStatistics as a_, type OpenAITurnDetection as aa, type OpenAITurnDetectionType as ab, PIDS_DISPOSITIONS as ac, PIDS_SOURCES as ad, type PageContext as ae, type PerformanceMetrics as af, type PhoneCallPhoneNumberUsageResponse as ag, type PhoneCallUsageResponse as ah, type PhoneCommunicationDetailsResponse as ai, type PhoneNumberUsage as aj, type PidsDisposition as ak, type PidsSource as al, type ProductOverageConfigResponse as am, type ProvisionPlanRequest as an, type ProvisionPlanResponse as ao, type RealtimeModelConfig as ap, type RequestsSection as aq, type RequestsStatusEntry as ar, type ResourceMetadata as as, type ResourceOverageResponse as at, type ResourceScope as au, type ResourceUsageResponse as av, SCOPES as aw, SCOPE_PRESETS as ax, type SMSCommunicationDetailsResponse as ay, type SMSMessageUsageResponse as az, type AWSRealtimeModelConfig as b, type VoiceMetricsTimeRange as b0, type WebhookMetrics as b1, type WorkflowContext as b2, type WorkspaceHealthDetail as b3, type WorkspaceHealthResponse as b4, type WorkspaceHealthRow as b5, type WorkspaceUsageReportResponse as b6, type XAIChatModelConfig as b7, type XAIRealtimeModelConfig as b8, type XAIReasoningEffort as b9, canPreviewVoice as ba, formatAppContextAsMarkdown as bb, getAllResourceSlugs as bc, getApplicableResourceSlugs as bd, getApplicableResources as be, getResourceMetadata as bf, getScopeFromProductType as bg, getTTSProvider as bh, getVoiceModelId as bi, type ScopeDefinition as bj, type AdminPidsFindingResponse as c, type AnalyticsFilter as d, type AnalyticsQuery as e, type AppContext as f, type AttachedAddonInfo as g, type BaseRealtimeModelConfig as h, type BillingStatistics as i, type CallEndStatusEntry as j, type ChangeWorkspaceProductRequest as k, type ChangeWorkspaceProductResponse as l, type ChannelErrorBreakdown as m, type ChannelFailures as n, type ChatModelConfig as o, type ClaudeChatModelConfig as p, type CommunicationDetailsResponse as q, type CurrentPlanInfo as r, type CustomRealtimeModelConfig as s, DEFAULT_CUSTOM_VOICE_MODEL as t, DEFAULT_THINKING_SPEECH_PHRASES as u, DEFAULT_VOICE_INFERENCE_MODEL as v, type DailyPhoneRowResponse as w, type DailySMSRowResponse as x, type DashboardMetrics as y, type DataRecordContext as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-rail/sdk",
3
- "version": "0.7.4",
3
+ "version": "0.10.1",
4
4
  "description": "Gravity Rail TypeScript SDK — API client for workspace management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -77,8 +77,8 @@
77
77
  "docs:json": "typedoc --json docs/api.json"
78
78
  },
79
79
  "dependencies": {
80
- "libphonenumber-js": "^1.12.42",
81
- "react-hook-form": "^7.77.0"
80
+ "libphonenumber-js": "^1.13.7",
81
+ "react-hook-form": "^7.80.0"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "react": "^19",
@@ -95,10 +95,10 @@
95
95
  "devDependencies": {
96
96
  "@modelcontextprotocol/sdk": "^1.26.0",
97
97
  "@types/jest": "^30.0.0",
98
- "@types/node": "^25.6.0",
99
- "@types/react": "^19.2.15",
98
+ "@types/node": "^25.9.1",
99
+ "@types/react": "^19.2.17",
100
100
  "jest": "^30.4.2",
101
- "react": "^19.2.6",
101
+ "react": "^19.2.7",
102
102
  "ts-jest": "^29.4.6",
103
103
  "tsup": "^8.3.5",
104
104
  "typedoc": "^0.28.0",