@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.
- package/README.md +38 -0
- package/dist/{chunk-ANY7WLOD.js → chunk-2BJG4GYM.js} +778 -545
- package/dist/chunk-2BJG4GYM.js.map +1 -0
- package/dist/chunk-FSSXKQR5.js +471 -0
- package/dist/chunk-FSSXKQR5.js.map +1 -0
- package/dist/{chunk-QS6ZRQUZ.js → chunk-TJT7A4CO.js} +8 -1
- package/dist/{chunk-QS6ZRQUZ.js.map → chunk-TJT7A4CO.js.map} +1 -1
- package/dist/{client-B_cweJhP.d.cts → client-BffM3KcA.d.cts} +1367 -344
- package/dist/{client-C-on7whi.d.ts → client-DfjAYbt8.d.ts} +1367 -344
- package/dist/helpers.cjs +178 -2
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +82 -3
- package/dist/helpers.d.ts +82 -3
- package/dist/helpers.js +156 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +992 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -8
- package/dist/index.d.ts +14 -8
- package/dist/index.js +144 -20
- package/dist/index.js.map +1 -1
- package/dist/{inquiries-BX3PuU-7.d.cts → inquiries-UcWNYo-Q.d.cts} +567 -79
- package/dist/{inquiries-BX3PuU-7.d.ts → inquiries-UcWNYo-Q.d.ts} +567 -79
- package/dist/internal.cjs +925 -161
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +241 -5
- package/dist/internal.d.ts +241 -5
- package/dist/internal.js +71 -7
- package/dist/internal.js.map +1 -1
- package/dist/realtime.cjs +1 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +1 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +40 -7
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +134 -51
- package/dist/schemas.d.ts +134 -51
- package/dist/schemas.js +40 -8
- package/dist/schemas.js.map +1 -1
- package/dist/{scopes-ColqadkM.d.ts → scopes-CjSvITpL.d.cts} +53 -8
- package/dist/{scopes-CNbQi30F.d.cts → scopes-CmNKWrzb.d.ts} +53 -8
- package/package.json +6 -6
- package/dist/chunk-ANY7WLOD.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
-
*
|
|
366
|
-
*
|
|
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 =
|
|
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
|
-
|
|
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", "
|
|
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
|
|
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 {
|
|
2
|
-
import {
|
|
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
|
-
*
|
|
366
|
-
*
|
|
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 =
|
|
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
|
-
|
|
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", "
|
|
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
|
|
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.
|
|
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.
|
|
81
|
-
"react-hook-form": "^7.
|
|
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.
|
|
99
|
-
"@types/react": "^19.2.
|
|
98
|
+
"@types/node": "^25.9.1",
|
|
99
|
+
"@types/react": "^19.2.17",
|
|
100
100
|
"jest": "^30.4.2",
|
|
101
|
-
"react": "^19.2.
|
|
101
|
+
"react": "^19.2.7",
|
|
102
102
|
"ts-jest": "^29.4.6",
|
|
103
103
|
"tsup": "^8.3.5",
|
|
104
104
|
"typedoc": "^0.28.0",
|