@gravity-rail/sdk 0.17.0 → 0.18.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/dist/{chunk-CEFOCGYO.js → chunk-PUIYXJSZ.js} +275 -111
- package/dist/chunk-PUIYXJSZ.js.map +1 -0
- package/dist/{client-ASnNEN1U.d.ts → client-B-jmQ4UA.d.cts} +1467 -108
- package/dist/{client-8xakCsVs.d.cts → client-CatNn6FD.d.ts} +1467 -108
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +180 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +305 -115
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +161 -7
- package/dist/internal.d.ts +161 -7
- package/dist/internal.js +47 -11
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-Cz3mcUHc.d.ts → revision-state-CuESPYpi.d.cts} +124 -65
- package/dist/{revision-state-BDsQo_xD.d.cts → revision-state-Fw1jsQOa.d.ts} +124 -65
- package/dist/schemas.cjs +1 -13
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +12 -33
- package/dist/schemas.d.ts +12 -33
- package/dist/schemas.js +1 -12
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Z4GcIqgO.d.cts → tasks-GVbVa_Lj.d.cts} +67 -5
- package/dist/{tasks-Z4GcIqgO.d.ts → tasks-GVbVa_Lj.d.ts} +67 -5
- package/package.json +2 -2
- package/dist/chunk-CEFOCGYO.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { eC as SortOrder } from './tasks-GVbVa_Lj.js';
|
|
2
|
+
import { im as Resource$1 } from './client-CatNn6FD.js';
|
|
3
3
|
|
|
4
4
|
interface MemberNotificationPreferences {
|
|
5
5
|
notifySms?: boolean;
|
|
@@ -43,34 +43,7 @@ interface AttachedAddonInfo {
|
|
|
43
43
|
providesFeatures: string[];
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* The caller supplies the target product id only — the server resolves
|
|
49
|
-
* the active workspace SubscriptionItem, updates the matching Stripe
|
|
50
|
-
* workspace line item when one exists (``proration_behavior=none``),
|
|
51
|
-
* and re-syncs workspace features. Provisioning is not re-run.
|
|
52
|
-
*/
|
|
53
|
-
interface ChangeWorkspaceProductRequest {
|
|
54
|
-
productId: number;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Response payload for a successful workspace product switch.
|
|
58
|
-
*/
|
|
59
|
-
interface ChangeWorkspaceProductResponse {
|
|
60
|
-
workspaceUuid: string;
|
|
61
|
-
subscriptionId: number;
|
|
62
|
-
subscriptionItemId: number;
|
|
63
|
-
previousProductId: number;
|
|
64
|
-
newProductId: number;
|
|
65
|
-
previousProductName: string;
|
|
66
|
-
newProductName: string;
|
|
67
|
-
addedFeatures: string[];
|
|
68
|
-
removedFeatures: string[];
|
|
69
|
-
stripeUpdated?: boolean;
|
|
70
|
-
stripeSkipReason?: string | null;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Information about the workspace's current plan.
|
|
46
|
+
* Information about the org plan this workspace's features come from.
|
|
74
47
|
*/
|
|
75
48
|
interface CurrentPlanInfo {
|
|
76
49
|
subscriptionId: number;
|
|
@@ -353,7 +326,9 @@ interface DailySMSRowResponse {
|
|
|
353
326
|
* Efficiency metrics summary.
|
|
354
327
|
*/
|
|
355
328
|
interface EfficiencyMetricsResponse {
|
|
329
|
+
/** Workspaces whose usage exceeded their ORGANIZATION's allowance on its own. The 'budget' is the organization's, not the workspace's. */
|
|
356
330
|
workspacesOverBudget: number;
|
|
331
|
+
/** Mean of each workspace's usage as a percentage of its ORGANIZATION's allowance. Workspaces sharing an organization each report a fraction of the same allowance, so this reads low for multi-workspace organizations. */
|
|
357
332
|
averageUtilizationRate: number;
|
|
358
333
|
}
|
|
359
334
|
/**
|
|
@@ -428,12 +403,18 @@ declare const Resource: {
|
|
|
428
403
|
readonly storage_mb: "storage_mb";
|
|
429
404
|
};
|
|
430
405
|
/**
|
|
431
|
-
* Resource overage details
|
|
406
|
+
* Resource overage details for one workspace and one resource.
|
|
407
|
+
*
|
|
408
|
+
* The allowance is the **organization's**; only ``used`` is the workspace's.
|
|
432
409
|
*/
|
|
433
410
|
interface ResourceOverageResponse {
|
|
434
|
-
|
|
411
|
+
/** The allowance the workspace's ORGANIZATION is granted for this resource, once per billing period. This is not a per-workspace budget — every workspace in the organization is measured against this same number, so it repeats across workspace rows. */
|
|
412
|
+
organizationIncluded: number;
|
|
413
|
+
/** This workspace's usage of the resource in the period. */
|
|
435
414
|
used: number;
|
|
415
|
+
/** ``used`` minus ``organizationIncluded``, floored at zero: this workspace's usage measured against the whole organization's allowance. */
|
|
436
416
|
overageAmount: number;
|
|
417
|
+
/** ``overageAmount`` priced at the plan's overage rate. Not additive across workspaces sharing an organization. */
|
|
437
418
|
overageCostCents: number;
|
|
438
419
|
}
|
|
439
420
|
/**
|
|
@@ -444,7 +425,10 @@ interface ResourceUsageResponse {
|
|
|
444
425
|
sms: SMSMessageUsageResponse;
|
|
445
426
|
phoneCall: PhoneCallUsageResponse;
|
|
446
427
|
email: EmailUsageResponse;
|
|
447
|
-
|
|
428
|
+
/** Whole megabytes stored, or null when the figure would be partial. Never a partial sum — read `storage` for the per-origin subtotals that ARE measured. */
|
|
429
|
+
storageMb?: number | null;
|
|
430
|
+
/** Per-origin storage measurement backing `storageMb`. */
|
|
431
|
+
storage?: StorageUsageResponse | null;
|
|
448
432
|
member: number;
|
|
449
433
|
phoneNumber: number;
|
|
450
434
|
site: number;
|
|
@@ -480,6 +464,38 @@ interface SMSPhoneNumberUsageResponse {
|
|
|
480
464
|
totalChars: number;
|
|
481
465
|
totalSegments?: number;
|
|
482
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Stored bytes attributed to one origin for this workspace.
|
|
469
|
+
*/
|
|
470
|
+
interface StorageOriginUsageResponse {
|
|
471
|
+
/** Machine-readable origin key, e.g. `workspace_files`, `workspace_file_versions`, `call_recordings`, `email_attachments`. */
|
|
472
|
+
origin: string;
|
|
473
|
+
/** Stored bytes attributed to this origin. Logical size as recorded at write time, not the on-disk size after S3 storage-class transitions. */
|
|
474
|
+
bytes: number;
|
|
475
|
+
/** Objects contributing to `bytes`. Rows whose size was never recorded are excluded from both — an unsized object is not a zero-byte one. */
|
|
476
|
+
objectCount: number;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Per-origin storage measurement, with what it could not reach.
|
|
480
|
+
*
|
|
481
|
+
* Reported instead of a bare megabyte figure because the figure would be a
|
|
482
|
+
* partial sum. ``complete`` is the reader's contract: while it is false,
|
|
483
|
+
* ``ResourceUsageResponse.storageMb`` is absent and ``measuredBytes`` is a
|
|
484
|
+
* subtotal covering only ``origins``.
|
|
485
|
+
*/
|
|
486
|
+
interface StorageUsageResponse {
|
|
487
|
+
/** True only when every known storage origin was measured. False means `measuredBytes` is a subtotal and no total is claimed — the same rule `OrgWorkspaceUsageResponse.totalsComplete` applies to credits. */
|
|
488
|
+
complete: boolean;
|
|
489
|
+
/** Sum of `origins`. A subtotal whenever `complete` is false. */
|
|
490
|
+
measuredBytes: number;
|
|
491
|
+
/** Objects behind `measuredBytes`, summed across `origins`. */
|
|
492
|
+
measuredObjectCount: number;
|
|
493
|
+
/** Stored workspace-file bytes divided by current-version bytes. 1.0 means retained noncurrent versions cost nothing extra; 3.0 means three copies of the average file are stored because the web-assets bucket never expires noncurrent versions. Null when the workspace holds no current file bytes. */
|
|
494
|
+
versionMultiple?: number | null;
|
|
495
|
+
origins?: StorageOriginUsageResponse[];
|
|
496
|
+
/** Known storage origins outside this measurement. Non-empty is why `complete` is false. */
|
|
497
|
+
unmeasuredOrigins?: UnmeasuredStorageOriginResponse[];
|
|
498
|
+
}
|
|
483
499
|
/**
|
|
484
500
|
* Top resource overage summary.
|
|
485
501
|
*/
|
|
@@ -488,17 +504,48 @@ interface TopResourceOverageResponse {
|
|
|
488
504
|
overageCostCents: number;
|
|
489
505
|
}
|
|
490
506
|
/**
|
|
491
|
-
*
|
|
507
|
+
* A source of stored bytes this measurement could not attribute.
|
|
508
|
+
*
|
|
509
|
+
* **No bucket name.** The Python constant
|
|
510
|
+
* (``lib.db.reports.storage_usage_report.UNMEASURED_STORAGE_ORIGINS``) does
|
|
511
|
+
* carry one, because a reader of that file needs it. The response does not:
|
|
512
|
+
* the origin key already identifies the subsystem, and this breakdown is
|
|
513
|
+
* intended to become customer-facing (see
|
|
514
|
+
* ``docs/projects/active/storage-allowance-and-measurement.md``), at which
|
|
515
|
+
* point a bucket name would be infrastructure topology disclosed to an org
|
|
516
|
+
* owner for no gain. Keeping it out now means that move needs no audit.
|
|
517
|
+
*/
|
|
518
|
+
interface UnmeasuredStorageOriginResponse {
|
|
519
|
+
/** Machine-readable origin key, e.g. `email_raw_mime`. */
|
|
520
|
+
origin: string;
|
|
521
|
+
/** Why the origin is unmeasured: `no_workspace_in_key`, `no_size_recorded`, `not_workspace_scoped`, or `no_database_record`. */
|
|
522
|
+
reason: string;
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* The ORGANIZATION plan a workspace's usage is reported against.
|
|
526
|
+
*
|
|
527
|
+
* A workspace holds no plan of its own — this is the plan its organization
|
|
528
|
+
* holds, and every field below describes that organization-wide plan.
|
|
492
529
|
*/
|
|
493
530
|
interface UsageProductSummaryResponse {
|
|
531
|
+
/** The organization plan's product id. */
|
|
494
532
|
id: number;
|
|
533
|
+
/** The organization plan's name, or 'No Product' when the organization holds no billable subscription. */
|
|
495
534
|
name: string;
|
|
496
|
-
|
|
535
|
+
/** Allowances granted to the workspace's ORGANIZATION once per billing period, keyed by resource. Not a per-workspace allocation: the same figures appear on every workspace row belonging to the organization. */
|
|
536
|
+
organizationInclusions: UsageProductSummaryResponseOrganizationInclusions;
|
|
537
|
+
/** Overage unit pricing from the organization's plan, keyed by resource. */
|
|
497
538
|
overages: UsageProductSummaryResponseOverages;
|
|
498
539
|
}
|
|
499
|
-
|
|
540
|
+
/**
|
|
541
|
+
* Allowances granted to the workspace's ORGANIZATION once per billing period, keyed by resource. Not a per-workspace allocation: the same figures appear on every workspace row belonging to the organization.
|
|
542
|
+
*/
|
|
543
|
+
type UsageProductSummaryResponseOrganizationInclusions = {
|
|
500
544
|
[key: string]: number;
|
|
501
545
|
};
|
|
546
|
+
/**
|
|
547
|
+
* Overage unit pricing from the organization's plan, keyed by resource.
|
|
548
|
+
*/
|
|
502
549
|
type UsageProductSummaryResponseOverages = {
|
|
503
550
|
[key: string]: ProductOverageConfigResponse;
|
|
504
551
|
};
|
|
@@ -513,9 +560,12 @@ interface UsageReportResponse {
|
|
|
513
560
|
* Summary metrics for usage report.
|
|
514
561
|
*/
|
|
515
562
|
interface UsageReportSummaryResponse {
|
|
563
|
+
/** Sum of every workspace's overage cost. Each workspace was measured against its ORGANIZATION's full allowance, so for an organization with several workspaces in this report the figure UNDERSTATES aggregate overage. See inclusionScopeNote. */
|
|
516
564
|
totalOverageCostCents: number;
|
|
517
565
|
topResourcesByOverage: TopResourceOverageResponse[];
|
|
518
566
|
efficiencyMetrics: EfficiencyMetricsResponse;
|
|
567
|
+
/** Constant caveat carried in the payload so an operator reading raw JSON sees why the totals above are not additive across an organization's workspaces. */
|
|
568
|
+
inclusionScopeNote?: string;
|
|
519
569
|
}
|
|
520
570
|
/**
|
|
521
571
|
* Workspace usage report response.
|
|
@@ -524,9 +574,11 @@ interface WorkspaceUsageReportResponse {
|
|
|
524
574
|
uuid: string;
|
|
525
575
|
name: string;
|
|
526
576
|
slug: string;
|
|
577
|
+
/** The plan the workspace's ORGANIZATION holds. Workspaces do not hold plans. */
|
|
527
578
|
product: UsageProductSummaryResponse;
|
|
528
579
|
usage: ResourceUsageResponse;
|
|
529
580
|
overages: Partial<Record<Resource, ResourceOverageResponse>>;
|
|
581
|
+
/** This workspace's overage cost, measured against its ORGANIZATION's full allowance. Do not add this across workspaces that share an organization — see UsageReportSummaryResponse.inclusionScopeNote. */
|
|
530
582
|
totalOverageCostCents: number;
|
|
531
583
|
communicationDetails: CommunicationDetailsResponse;
|
|
532
584
|
}
|
|
@@ -1040,6 +1092,13 @@ interface AppContext {
|
|
|
1040
1092
|
hasLocalBrowser?: boolean;
|
|
1041
1093
|
/** Server-validated Manager skills selected for the first Chat turn. */
|
|
1042
1094
|
initialSkills?: string[];
|
|
1095
|
+
/**
|
|
1096
|
+
* Toolkit tool names/URIs for this Manager turn (builtin, custom,
|
|
1097
|
+
* app-connection, or MCP). When set (including `[]`), replaces the chat's
|
|
1098
|
+
* enabled toolkit tools for this and later turns. When omitted, the prior
|
|
1099
|
+
* selection is kept. Concrete tool URIs only — never wildcards.
|
|
1100
|
+
*/
|
|
1101
|
+
initialTools?: string[];
|
|
1043
1102
|
/** Additional structured page state */
|
|
1044
1103
|
pageState?: {
|
|
1045
1104
|
/** Route parameters from Next.js */
|
|
@@ -1084,6 +1143,24 @@ interface OpenAIServerVADTurnDetection {
|
|
|
1084
1143
|
interrupt_response?: boolean;
|
|
1085
1144
|
}
|
|
1086
1145
|
type OpenAITurnDetection = OpenAISemanticVADTurnDetection | OpenAIServerVADTurnDetection;
|
|
1146
|
+
/**
|
|
1147
|
+
* xAI's server-VAD block: OpenAI's fields plus `idle_timeout_ms`, which xAI
|
|
1148
|
+
* documents and OpenAI has no equivalent for. Mirrors
|
|
1149
|
+
* `lib/voice/realtime_config.py:XAIServerVADTurnDetection`.
|
|
1150
|
+
*
|
|
1151
|
+
* A configured `turnDetection` REPLACES xAI's default block wholesale rather
|
|
1152
|
+
* than merging with it, so setting `idle_timeout_ms` alone also drops the
|
|
1153
|
+
* phone-tuned threshold and prefix padding back to schema defaults.
|
|
1154
|
+
*/
|
|
1155
|
+
interface XAIServerVADTurnDetection extends OpenAIServerVADTurnDetection {
|
|
1156
|
+
/**
|
|
1157
|
+
* Silence (ms) before xAI speaks again unprompted. Unset means
|
|
1158
|
+
* re-engagement is off; there is deliberately no platform default. xAI
|
|
1159
|
+
* clamps the value up to its own floor, so read back the echoed session
|
|
1160
|
+
* when the exact wait matters.
|
|
1161
|
+
*/
|
|
1162
|
+
idle_timeout_ms?: number | null;
|
|
1163
|
+
}
|
|
1087
1164
|
type ThinkingSound = 'none' | 'typing' | 'strumming' | 'speech';
|
|
1088
1165
|
type InterruptionSound = 'none' | 'clav' | 'bells' | 'organ' | 'guzheng';
|
|
1089
1166
|
/** Default filler phrases suggested when the user first enables "speech" mode. */
|
|
@@ -1142,7 +1219,7 @@ interface AWSRealtimeModelConfig extends BaseRealtimeModelConfig {
|
|
|
1142
1219
|
*/
|
|
1143
1220
|
interface XAIRealtimeModelConfig extends BaseRealtimeModelConfig {
|
|
1144
1221
|
ttsModel?: 'native' | null;
|
|
1145
|
-
turnDetection?:
|
|
1222
|
+
turnDetection?: XAIServerVADTurnDetection | null;
|
|
1146
1223
|
}
|
|
1147
1224
|
type RealtimeModelConfig = OpenAIRealtimeModelConfig | GeminiRealtimeModelConfig | CustomRealtimeModelConfig | AWSRealtimeModelConfig | XAIRealtimeModelConfig;
|
|
1148
1225
|
type GeminiThinkingLevel = 'minimal' | 'low' | 'medium' | 'high';
|
|
@@ -1233,20 +1310,21 @@ declare const DEFAULT_CUSTOM_VOICE_MODEL = "elevenlabs:voice:river";
|
|
|
1233
1310
|
/**
|
|
1234
1311
|
* Resource metadata for products
|
|
1235
1312
|
*
|
|
1236
|
-
*
|
|
1313
|
+
* Display labels, units and descriptions for each resource type. This is a
|
|
1314
|
+
* presentation lookup only — a resource's entry says how to name and count it,
|
|
1315
|
+
* never what a plan allows. Per-resource caps were removed: `Product.limits`
|
|
1316
|
+
* was rendered in two admin surfaces and the usage dashboard and enforced by
|
|
1317
|
+
* nothing, so the scope/feature filtering that existed to drive the cap editor
|
|
1318
|
+
* (`getApplicableResources`, `getApplicableResourceSlugs`,
|
|
1319
|
+
* `getScopeFromProductType`, `ResourceScope`) went with it. Credits are the one
|
|
1320
|
+
* metered allowance, and they are gated server-side.
|
|
1237
1321
|
*/
|
|
1238
1322
|
|
|
1239
|
-
/** Scope defines where a resource can be configured */
|
|
1240
|
-
type ResourceScope = 'workspace' | 'org' | 'any';
|
|
1241
1323
|
interface ResourceMetadata {
|
|
1242
1324
|
label: string;
|
|
1243
1325
|
unit: string;
|
|
1244
1326
|
unitPlural: string;
|
|
1245
1327
|
description: string;
|
|
1246
|
-
/** Feature required to use this resource (null means always available) */
|
|
1247
|
-
requiresFeature: WorkspaceFeature | null;
|
|
1248
|
-
/** Where this resource can be configured */
|
|
1249
|
-
scope: ResourceScope;
|
|
1250
1328
|
}
|
|
1251
1329
|
/**
|
|
1252
1330
|
* Get metadata for a specific resource
|
|
@@ -1256,25 +1334,6 @@ declare function getResourceMetadata(resource: Resource$1): ResourceMetadata | u
|
|
|
1256
1334
|
* Get all available resource slugs
|
|
1257
1335
|
*/
|
|
1258
1336
|
declare function getAllResourceSlugs(): Resource$1[];
|
|
1259
|
-
/**
|
|
1260
|
-
* Get the scope ('workspace' or 'org') for a product type.
|
|
1261
|
-
*/
|
|
1262
|
-
declare function getScopeFromProductType(productType: ProductType): ResourceScope;
|
|
1263
|
-
/**
|
|
1264
|
-
* Get resources applicable to a given scope and optional feature set.
|
|
1265
|
-
*
|
|
1266
|
-
* @param scope - 'workspace', 'org', or 'any' to filter by where resources can be configured
|
|
1267
|
-
* @param enabledFeatures - Optional list of enabled features. If provided, resources requiring
|
|
1268
|
-
* features not in this list will be excluded. If null/undefined,
|
|
1269
|
-
* all resources matching the scope are returned.
|
|
1270
|
-
*/
|
|
1271
|
-
declare function getApplicableResources(scope: ResourceScope, enabledFeatures?: WorkspaceFeature[] | null): Resource$1[];
|
|
1272
|
-
/**
|
|
1273
|
-
* Get resources applicable to a product type.
|
|
1274
|
-
* This is a convenience wrapper around getApplicableResources that derives scope from product type.
|
|
1275
|
-
* Does not filter by features - use getApplicableResources directly for feature-based filtering.
|
|
1276
|
-
*/
|
|
1277
|
-
declare function getApplicableResourceSlugs(productType: ProductType): Resource$1[];
|
|
1278
1337
|
|
|
1279
1338
|
/**
|
|
1280
1339
|
* Centralized OAuth and API scope management for TypeScript/JavaScript clients.
|
|
@@ -1427,7 +1486,7 @@ declare const SCOPES: {
|
|
|
1427
1486
|
readonly 'workflows:read': {
|
|
1428
1487
|
readonly name: "workflows:read";
|
|
1429
1488
|
readonly category: ScopeCategory.WORKFLOWS;
|
|
1430
|
-
readonly description: "
|
|
1489
|
+
readonly description: "Access the Workflows area and view workflows shared with you";
|
|
1431
1490
|
};
|
|
1432
1491
|
readonly 'workflows:write': {
|
|
1433
1492
|
readonly name: "workflows:write";
|
|
@@ -1876,4 +1935,4 @@ interface RevisionState {
|
|
|
1876
1935
|
*/
|
|
1877
1936
|
declare function getRevisionState(workflow: RevisionStateWorkflow, revision?: RevisionStateRevision): RevisionState;
|
|
1878
1937
|
|
|
1879
|
-
export { type
|
|
1938
|
+
export { type ImportStatistics as $, type AIModelUsageResponse as A, type BaseChatModelConfig as B, type CallEndSection as C, DEFAULT_CHAT_MODEL as D, type DailyPhoneRowResponse as E, type DailySMSRowResponse as F, type DashboardMetrics as G, type DataRecordContext as H, type EfficiencyMetricsResponse as I, type EmailCountsResponse as J, type EmailUsageResponse as K, type EngineTimeSeries as L, type ErrorCodeBucket as M, type EventRuleMetrics as N, type ExportStatistics as O, type FeatureSyncStatus as P, type GeminiChatModelConfig as Q, type GeminiRealtimeModelConfig as R, type GeminiThinkingLevel as S, type MetricSummary$1 as T, type HealthCheckStatistics as U, type VoiceMetricsResponse$1 as V, type WorkspaceHealthResponse$1 as W, type HealthDetailRequest as X, type HealthMetricsRequest as Y, type HealthMetricsResponse as Z, type HealthSummary as _, type AIUsageDetailsResponse as a, ToolkitState as a$, type InterruptionSound as a0, type MemberNotificationPreferences as a1, type MemberNotifyActionParams as a2, type MemberUsageReport as a3, type MetricDataPoint as a4, type MetricSection as a5, type MetricSummary as a6, type MetricValue as a7, type OpenAIChatModelConfig as a8, type OpenAIRealtimeModelConfig as a9, type RevisionStateRevision as aA, type RevisionStateWorkflow as aB, type RoutineRunMetrics as aC, type RoutineWorkflowAccessMissingRole as aD, type RoutineWorkflowAccessWarning as aE, SCOPES as aF, SCOPE_PRESETS as aG, type SMSCommunicationDetailsResponse as aH, type SMSMessageUsageResponse as aI, type SMSPhoneNumberUsageResponse as aJ, ScopeCategory as aK, ScopeManager as aL, type ScopeName as aM, type SiteContext as aN, type SkippedWorkspace as aO, type StatisticsSummary as aP, type SystemStatistics as aQ, type TTSModel as aR, type TTSPreviewProvider as aS, TTS_PREVIEW_PROVIDERS as aT, type TaskContext as aU, type TaskCountResponse as aV, type ThinkingSound as aW, type TimeSeriesData as aX, type TimeSeriesDataPoint as aY, type ToolParameter as aZ, type ToolkitContext as a_, type OpenAIReasoningEffort as aa, type OpenAISemanticVADEagerness as ab, type OpenAISemanticVADTurnDetection as ac, type OpenAIServerVADTurnDetection as ad, type OpenAITurnDetection as ae, type OpenAITurnDetectionType as af, PIDS_DISPOSITIONS as ag, PIDS_SOURCES as ah, type PageContext as ai, type PerformanceMetrics as aj, type PhoneCallPhoneNumberUsageResponse as ak, type PhoneCallUsageResponse as al, type PhoneCommunicationDetailsResponse as am, type PhoneNumberUsage as an, type PidsDisposition as ao, type PidsSource as ap, type ProductOverageConfigResponse as aq, type ProvisionPlanRequest as ar, type ProvisionPlanResponse as as, type RealtimeModelConfig as at, type RequestsSection as au, type RequestsStatusEntry as av, type ResourceMetadata as aw, type ResourceOverageResponse as ax, type ResourceUsageResponse as ay, type RevisionState as az, type AWSRealtimeModelConfig as b, type TopOffender as b0, type TopResourceOverageResponse as b1, type TtsReconnectOutcomeEntry as b2, type TtsReconnectSection as b3, type UsageProductSummaryResponse as b4, type UsageReportResponse as b5, type UsageReportRequest as b6, type UsageStatistics as b7, type VoiceMetricsResponse as b8, type VoiceMetricsTimeRange as b9, WIDGET_SLUGS as ba, type WebhookMetrics as bb, type WidgetSlug as bc, type WorkflowContext as bd, type WorkspaceHealthDetail as be, type WorkspaceHealthResponse as bf, type WorkspaceHealthRow as bg, type WorkspaceRoutineWorkflowAccessResponse as bh, type WorkspaceUsageReportResponse as bi, type XAIChatModelConfig as bj, type XAIRealtimeModelConfig as bk, type XAIReasoningEffort as bl, type XAIServerVADTurnDetection as bm, canPreviewVoice as bn, formatAppContextAsMarkdown as bo, getAllResourceSlugs as bp, getResourceMetadata as bq, getRevisionState as br, getTTSProvider as bs, getVoiceModelId as bt, type ScopeDefinition as bu, type AcquisitionFunnelChannel as c, type AcquisitionFunnelRecentSignup as d, type AcquisitionFunnelResponse as e, type AdminDomainResponse as f, type AdminDomainSiteMapping as g, type AdminDomainWidgetMapping as h, type AdminPidsFindingResponse as i, type AnalyticsFilter as j, type AnalyticsQuery as k, type AppContext as l, type AttachedAddonInfo as m, type BaseRealtimeModelConfig as n, type BillingStatistics as o, type CallEndStatusEntry as p, type ChannelErrorBreakdown as q, type ChannelFailures as r, type ChatModelConfig as s, type ClaudeChatModelConfig as t, type CommunicationDetailsResponse as u, type CurrentPlanInfo as v, type CustomRealtimeModelConfig as w, DEFAULT_CUSTOM_VOICE_MODEL as x, DEFAULT_THINKING_SPEECH_PHRASES as y, DEFAULT_VOICE_INFERENCE_MODEL as z };
|
package/dist/schemas.cjs
CHANGED
|
@@ -227,7 +227,6 @@ __export(schemas_exports, {
|
|
|
227
227
|
SendSmsToMemberSchema: () => SendSmsToMemberSchema,
|
|
228
228
|
SiteFormDataSchema: () => SiteFormDataSchema,
|
|
229
229
|
SitePageFormDataSchema: () => SitePageFormDataSchema,
|
|
230
|
-
StartSiteCrawlSchema: () => StartSiteCrawlSchema,
|
|
231
230
|
SupervisorChatParticipantSchema: () => SupervisorChatParticipantSchema,
|
|
232
231
|
TaskExportDataTypeRelationSchema: () => TaskExportDataTypeRelationSchema,
|
|
233
232
|
TaskFormDataSchema: () => TaskFormDataSchema,
|
|
@@ -378,7 +377,6 @@ var OrganizationSchema = import_zod.z.object({
|
|
|
378
377
|
uuid: import_zod.z.string(),
|
|
379
378
|
name: import_zod.z.string(),
|
|
380
379
|
slug: import_zod.z.string(),
|
|
381
|
-
primary: import_zod.z.boolean(),
|
|
382
380
|
authMode: import_zod.z.enum(["open", "ssoForDomain", "ssoOnly"]),
|
|
383
381
|
contactEmail: import_zod.z.string().optional(),
|
|
384
382
|
contactPhone: import_zod.z.string().optional(),
|
|
@@ -393,7 +391,6 @@ var AdminOrganizationSchema = OrganizationSchema.extend({
|
|
|
393
391
|
});
|
|
394
392
|
var CreateOrganizationRequestSchema = import_zod.z.object({
|
|
395
393
|
name: import_zod.z.string(),
|
|
396
|
-
primary: import_zod.z.boolean().optional(),
|
|
397
394
|
contactEmail: import_zod.z.string().optional(),
|
|
398
395
|
contactPhone: import_zod.z.string().optional(),
|
|
399
396
|
logo: import_zod.z.string().optional(),
|
|
@@ -403,7 +400,6 @@ var CreateOrganizationRequestSchema = import_zod.z.object({
|
|
|
403
400
|
var UpdateOrganizationRequestSchema = import_zod.z.object({
|
|
404
401
|
name: import_zod.z.string().optional(),
|
|
405
402
|
slug: import_zod.z.string().optional(),
|
|
406
|
-
primary: import_zod.z.boolean().optional(),
|
|
407
403
|
contactEmail: import_zod.z.string().optional(),
|
|
408
404
|
contactPhone: import_zod.z.string().optional(),
|
|
409
405
|
authMode: import_zod.z.enum(["open", "ssoForDomain", "ssoOnly"]).optional(),
|
|
@@ -2028,11 +2024,7 @@ var SiteFormDataSchema = import_zod10.z.object({
|
|
|
2028
2024
|
isReseller: import_zod10.z.boolean().optional(),
|
|
2029
2025
|
isPublic: import_zod10.z.boolean().optional(),
|
|
2030
2026
|
defaultWorkflowId: import_zod10.z.number().optional(),
|
|
2031
|
-
homePageId: import_zod10.z.number().optional()
|
|
2032
|
-
crawl: import_zod10.z.boolean().optional(),
|
|
2033
|
-
crawlUrl: import_zod10.z.string().optional(),
|
|
2034
|
-
crawlLimit: import_zod10.z.number().optional(),
|
|
2035
|
-
crawlExcludedTags: import_zod10.z.array(import_zod10.z.string()).optional()
|
|
2027
|
+
homePageId: import_zod10.z.number().optional()
|
|
2036
2028
|
});
|
|
2037
2029
|
var SitePageFormDataSchema = import_zod10.z.object({
|
|
2038
2030
|
title: import_zod10.z.string(),
|
|
@@ -2069,9 +2061,6 @@ var DeleteSiteSchema = WorkspaceIdSchema.extend({
|
|
|
2069
2061
|
var GetSiteCountsSchema = WorkspaceIdSchema.extend({
|
|
2070
2062
|
siteId: import_zod10.z.number().describe("Site ID")
|
|
2071
2063
|
});
|
|
2072
|
-
var StartSiteCrawlSchema = WorkspaceIdSchema.extend({
|
|
2073
|
-
siteId: import_zod10.z.number().describe("Site ID")
|
|
2074
|
-
});
|
|
2075
2064
|
var ListSitePagesSchema = WorkspaceIdSchema.extend({
|
|
2076
2065
|
siteId: import_zod10.z.number().describe("Site ID"),
|
|
2077
2066
|
search: import_zod10.z.string().optional().describe("Search term"),
|
|
@@ -2448,7 +2437,6 @@ var GetProductSchema = import_zod13.z.object({
|
|
|
2448
2437
|
SendSmsToMemberSchema,
|
|
2449
2438
|
SiteFormDataSchema,
|
|
2450
2439
|
SitePageFormDataSchema,
|
|
2451
|
-
StartSiteCrawlSchema,
|
|
2452
2440
|
SupervisorChatParticipantSchema,
|
|
2453
2441
|
TaskExportDataTypeRelationSchema,
|
|
2454
2442
|
TaskFormDataSchema,
|