@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
package/dist/internal.cjs
CHANGED
|
@@ -31,6 +31,19 @@ __export(internal_exports, {
|
|
|
31
31
|
AccessGrantTrigger: () => AccessGrantTrigger,
|
|
32
32
|
AccessGrantsApi: () => AccessGrantsApi,
|
|
33
33
|
AccessLevel: () => AccessLevel2,
|
|
34
|
+
ActivityActorKind: () => ActivityActorKind,
|
|
35
|
+
ActivityAggregationKind: () => ActivityAggregationKind,
|
|
36
|
+
ActivityCaptureState: () => ActivityCaptureState,
|
|
37
|
+
ActivityConfigAction: () => ActivityConfigAction,
|
|
38
|
+
ActivityConfigArea: () => ActivityConfigArea,
|
|
39
|
+
ActivityCoverageLimitation: () => ActivityCoverageLimitation,
|
|
40
|
+
ActivityDirection: () => ActivityDirection,
|
|
41
|
+
ActivityEmptyReason: () => ActivityEmptyReason,
|
|
42
|
+
ActivityEventType: () => ActivityEventType,
|
|
43
|
+
ActivityEventTypePreset: () => ActivityEventTypePreset,
|
|
44
|
+
ActivityGoalImpact: () => ActivityGoalImpact,
|
|
45
|
+
ActivityTimelineProjection: () => ActivityTimelineProjection,
|
|
46
|
+
AddonMutationResponseScope: () => AddonMutationResponseScope,
|
|
34
47
|
AgentTasksApi: () => AgentTasksApi,
|
|
35
48
|
AgentsApi: () => AgentsApi,
|
|
36
49
|
ApiError: () => ApiError,
|
|
@@ -98,6 +111,7 @@ __export(internal_exports, {
|
|
|
98
111
|
FhirConnectionsApi: () => FhirConnectionsApi,
|
|
99
112
|
FhirVendor: () => FhirVendor,
|
|
100
113
|
FilesApi: () => FilesApi,
|
|
114
|
+
FormValueDisposition: () => FormValueDisposition,
|
|
101
115
|
GravityRailClient: () => GravityRailClient,
|
|
102
116
|
HealthieApi: () => HealthieApi,
|
|
103
117
|
HubspotApi: () => HubspotApi,
|
|
@@ -107,7 +121,6 @@ __export(internal_exports, {
|
|
|
107
121
|
InvitationStatus: () => InvitationStatus,
|
|
108
122
|
JobPosition: () => JobPosition,
|
|
109
123
|
JourneysApi: () => JourneysApi,
|
|
110
|
-
LIMIT_ONLY_RESOURCES: () => LIMIT_ONLY_RESOURCES,
|
|
111
124
|
MASKED_SECRET_SENTINEL: () => MASKED_SECRET_SENTINEL,
|
|
112
125
|
McpServerState: () => McpServerState,
|
|
113
126
|
McpServersApi: () => McpServersApi,
|
|
@@ -137,6 +150,7 @@ __export(internal_exports, {
|
|
|
137
150
|
OperatorApi: () => OperatorApi,
|
|
138
151
|
OrgApi: () => OrgApi,
|
|
139
152
|
OrgFeature: () => OrgFeature,
|
|
153
|
+
OrganizationAddonResponseScope: () => OrganizationAddonResponseScope,
|
|
140
154
|
PERMISSION_ADMIN: () => PERMISSION_ADMIN,
|
|
141
155
|
PERMISSION_CREATE: () => PERMISSION_CREATE,
|
|
142
156
|
PERMISSION_DELETE: () => PERMISSION_DELETE,
|
|
@@ -183,7 +197,8 @@ __export(internal_exports, {
|
|
|
183
197
|
SMS_DELIVERY_FAILURE_STATUSES: () => SMS_DELIVERY_FAILURE_STATUSES,
|
|
184
198
|
STT_MODEL_DEEPGRAM_FLUX: () => STT_MODEL_DEEPGRAM_FLUX,
|
|
185
199
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
186
|
-
|
|
200
|
+
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
201
|
+
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
187
202
|
SalesforceApi: () => SalesforceApi,
|
|
188
203
|
Scope: () => Scope,
|
|
189
204
|
ScopeCategory: () => ScopeCategory,
|
|
@@ -223,6 +238,7 @@ __export(internal_exports, {
|
|
|
223
238
|
areDependenciesSatisfied: () => areDependenciesSatisfied,
|
|
224
239
|
asIdentifiedMemberContactConflict: () => asIdentifiedMemberContactConflict,
|
|
225
240
|
bindAccessGrantsMethods: () => bindAccessGrantsMethods,
|
|
241
|
+
bindActivityTimelineMethods: () => bindActivityTimelineMethods,
|
|
226
242
|
bindAgentTasksMethods: () => bindAgentTasksMethods,
|
|
227
243
|
bindAgentsMethods: () => bindAgentsMethods,
|
|
228
244
|
bindAppsMethods: () => bindAppsMethods,
|
|
@@ -246,6 +262,7 @@ __export(internal_exports, {
|
|
|
246
262
|
bindOperatorMethods: () => bindOperatorMethods,
|
|
247
263
|
bindOrgMethods: () => bindOrgMethods,
|
|
248
264
|
bindPersonasMethods: () => bindPersonasMethods,
|
|
265
|
+
bindProjectsMethods: () => bindProjectsMethods,
|
|
249
266
|
bindPromptsMethods: () => bindPromptsMethods,
|
|
250
267
|
bindPronunciationsMethods: () => bindPronunciationsMethods,
|
|
251
268
|
bindQualificationsMethods: () => bindQualificationsMethods,
|
|
@@ -268,8 +285,6 @@ __export(internal_exports, {
|
|
|
268
285
|
formatAppContextAsMarkdown: () => formatAppContextAsMarkdown,
|
|
269
286
|
getAllFeatures: () => getAllFeatures,
|
|
270
287
|
getAllResourceSlugs: () => getAllResourceSlugs,
|
|
271
|
-
getApplicableResourceSlugs: () => getApplicableResourceSlugs,
|
|
272
|
-
getApplicableResources: () => getApplicableResources,
|
|
273
288
|
getAvailableFeaturesForUpgrade: () => getAvailableFeaturesForUpgrade,
|
|
274
289
|
getCookieValue: () => getCookieValue,
|
|
275
290
|
getFeature: () => getFeature,
|
|
@@ -278,7 +293,6 @@ __export(internal_exports, {
|
|
|
278
293
|
getMissingDependencies: () => getMissingDependencies,
|
|
279
294
|
getResourceMetadata: () => getResourceMetadata,
|
|
280
295
|
getRevisionState: () => getRevisionState,
|
|
281
|
-
getScopeFromProductType: () => getScopeFromProductType,
|
|
282
296
|
getTTSProvider: () => getTTSProvider,
|
|
283
297
|
getVoiceModelId: () => getVoiceModelId,
|
|
284
298
|
initializeFeatures: () => initializeFeatures,
|
|
@@ -613,18 +627,20 @@ var MASKED_SECRET_SENTINEL = "__SECRET_SET__";
|
|
|
613
627
|
// src/types/billing-types.ts
|
|
614
628
|
var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
615
629
|
WorkspaceFeature2["PHONE"] = "phone";
|
|
630
|
+
WorkspaceFeature2["A2P_REGISTRATION"] = "a2p_registration";
|
|
616
631
|
WorkspaceFeature2["EMAIL"] = "email";
|
|
617
632
|
WorkspaceFeature2["WHATSAPP"] = "whatsapp";
|
|
618
633
|
WorkspaceFeature2["DISCORD"] = "discord";
|
|
619
634
|
WorkspaceFeature2["SLACK"] = "slack";
|
|
620
635
|
WorkspaceFeature2["TEAMS"] = "teams";
|
|
621
636
|
WorkspaceFeature2["SITES"] = "sites";
|
|
622
|
-
WorkspaceFeature2["FORMS"] = "forms";
|
|
623
637
|
WorkspaceFeature2["MAPS"] = "maps";
|
|
624
638
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
625
639
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
626
640
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
627
641
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
642
|
+
WorkspaceFeature2["MAILBOX_USER_INPUT"] = "mailbox_user_input";
|
|
643
|
+
WorkspaceFeature2["FORKED_TRAJECTORIES"] = "forked_trajectories";
|
|
628
644
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
629
645
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
630
646
|
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
@@ -641,6 +657,9 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
641
657
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
642
658
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
643
659
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
660
|
+
WorkspaceFeature2["STRICT_NATIVE_VOICE"] = "strict_native_voice";
|
|
661
|
+
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
662
|
+
WorkspaceFeature2["PATIENTSYNC_TRANSFER"] = "patientsync_transfer";
|
|
644
663
|
return WorkspaceFeature2;
|
|
645
664
|
})(WorkspaceFeature || {});
|
|
646
665
|
var MemberFeature = /* @__PURE__ */ ((MemberFeature2) => {
|
|
@@ -676,7 +695,6 @@ var Resource = /* @__PURE__ */ ((Resource2) => {
|
|
|
676
695
|
return Resource2;
|
|
677
696
|
})(Resource || {});
|
|
678
697
|
var ProductType = /* @__PURE__ */ ((ProductType2) => {
|
|
679
|
-
ProductType2["WORKSPACE"] = "workspace";
|
|
680
698
|
ProductType2["ORG"] = "org";
|
|
681
699
|
ProductType2["ADDON"] = "addon";
|
|
682
700
|
return ProductType2;
|
|
@@ -686,15 +704,6 @@ var ORG_ONLY_RESOURCES = /* @__PURE__ */ new Set([
|
|
|
686
704
|
"org_admin" /* ORG_ADMIN */,
|
|
687
705
|
"phone_number" /* PHONE_NUMBER */
|
|
688
706
|
]);
|
|
689
|
-
var LIMIT_ONLY_RESOURCES = /* @__PURE__ */ new Set([
|
|
690
|
-
"member" /* MEMBER */,
|
|
691
|
-
"inbox" /* INBOX */,
|
|
692
|
-
"site" /* SITE */,
|
|
693
|
-
"phone_number" /* PHONE_NUMBER */,
|
|
694
|
-
"storage_mb" /* STORAGE_MB */,
|
|
695
|
-
"workspace" /* WORKSPACE */,
|
|
696
|
-
"org_admin" /* ORG_ADMIN */
|
|
697
|
-
]);
|
|
698
707
|
|
|
699
708
|
// src/types/workspace-types.ts
|
|
700
709
|
var WorkspaceProvisionStatus = /* @__PURE__ */ ((WorkspaceProvisionStatus2) => {
|
|
@@ -810,8 +819,9 @@ var REALTIME_MODEL_GEMINI_VERTEX = "google:vertex:gemini-3.1-flash-live";
|
|
|
810
819
|
var REALTIME_MODEL_NOVA_SONIC = "aws:bedrock:nova-sonic-1";
|
|
811
820
|
var REALTIME_MODEL_CUSTOM = "custom:realtime:composable";
|
|
812
821
|
var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
822
|
+
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
813
823
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
814
|
-
var
|
|
824
|
+
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
815
825
|
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
816
826
|
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
817
827
|
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
@@ -962,6 +972,87 @@ function isConfigHealthFacadeCheckSlug(value) {
|
|
|
962
972
|
return CONFIG_HEALTH_FACADE_CHECK_SLUGS.includes(value);
|
|
963
973
|
}
|
|
964
974
|
|
|
975
|
+
// src/types/generated/activity_timeline.ts
|
|
976
|
+
var ActivityActorKind = {
|
|
977
|
+
member: "member",
|
|
978
|
+
agent: "agent",
|
|
979
|
+
operator: "operator",
|
|
980
|
+
event_rule: "event_rule",
|
|
981
|
+
api_key: "api_key",
|
|
982
|
+
system: "system"
|
|
983
|
+
};
|
|
984
|
+
var ActivityAggregationKind = {
|
|
985
|
+
burst: "burst",
|
|
986
|
+
conversation_session: "conversation_session",
|
|
987
|
+
operation: "operation"
|
|
988
|
+
};
|
|
989
|
+
var ActivityCaptureState = {
|
|
990
|
+
active: "active",
|
|
991
|
+
not_started: "not_started"
|
|
992
|
+
};
|
|
993
|
+
var ActivityConfigAction = {
|
|
994
|
+
created: "created",
|
|
995
|
+
updated: "updated",
|
|
996
|
+
deleted: "deleted"
|
|
997
|
+
};
|
|
998
|
+
var ActivityConfigArea = {
|
|
999
|
+
inbox: "inbox",
|
|
1000
|
+
phone_number: "phone_number",
|
|
1001
|
+
business_hours: "business_hours",
|
|
1002
|
+
escalation_settings: "escalation_settings",
|
|
1003
|
+
workspace_settings: "workspace_settings"
|
|
1004
|
+
};
|
|
1005
|
+
var ActivityCoverageLimitation = {
|
|
1006
|
+
none: "none",
|
|
1007
|
+
capture_started_at_cutover: "capture_started_at_cutover",
|
|
1008
|
+
legacy_baseline_incomplete: "legacy_baseline_incomplete",
|
|
1009
|
+
deletion_may_remove_history: "deletion_may_remove_history",
|
|
1010
|
+
config_capture_started: "config_capture_started"
|
|
1011
|
+
};
|
|
1012
|
+
var ActivityDirection = {
|
|
1013
|
+
inbound: "inbound",
|
|
1014
|
+
outbound: "outbound"
|
|
1015
|
+
};
|
|
1016
|
+
var ActivityEmptyReason = {
|
|
1017
|
+
collection: "collection",
|
|
1018
|
+
period: "period",
|
|
1019
|
+
filtered: "filtered"
|
|
1020
|
+
};
|
|
1021
|
+
var ActivityEventType = {
|
|
1022
|
+
workflow_started: "workflow_started",
|
|
1023
|
+
assignment_task_transition: "assignment_task_transition",
|
|
1024
|
+
journey_status_changed: "journey_status_changed",
|
|
1025
|
+
journey_step_status_changed: "journey_step_status_changed",
|
|
1026
|
+
journey_goal_status_changed: "journey_goal_status_changed",
|
|
1027
|
+
chat_started: "chat_started",
|
|
1028
|
+
message: "message",
|
|
1029
|
+
call: "call",
|
|
1030
|
+
form_field_changed: "form_field_changed",
|
|
1031
|
+
config_changed: "config_changed"
|
|
1032
|
+
};
|
|
1033
|
+
var ActivityEventTypePreset = {
|
|
1034
|
+
communications: "communications",
|
|
1035
|
+
formUpdates: "formUpdates",
|
|
1036
|
+
workflowTask: "workflowTask",
|
|
1037
|
+
journey: "journey",
|
|
1038
|
+
configuration: "configuration"
|
|
1039
|
+
};
|
|
1040
|
+
var ActivityGoalImpact = {
|
|
1041
|
+
neutral: "neutral",
|
|
1042
|
+
success: "success",
|
|
1043
|
+
attention: "attention",
|
|
1044
|
+
failure: "failure"
|
|
1045
|
+
};
|
|
1046
|
+
var ActivityTimelineProjection = {
|
|
1047
|
+
timeline: "timeline"
|
|
1048
|
+
};
|
|
1049
|
+
var FormValueDisposition = {
|
|
1050
|
+
shown: "shown",
|
|
1051
|
+
omitted_long: "omitted_long",
|
|
1052
|
+
omitted_structured: "omitted_structured",
|
|
1053
|
+
omitted_burst: "omitted_burst"
|
|
1054
|
+
};
|
|
1055
|
+
|
|
965
1056
|
// src/types/experiment-types.ts
|
|
966
1057
|
function parseExperimentStatCount(value) {
|
|
967
1058
|
return typeof value === "number" ? value : null;
|
|
@@ -1016,6 +1107,16 @@ var AbilityTypeSlugs = {
|
|
|
1016
1107
|
CEL_ROUTING: "system:cel_routing"
|
|
1017
1108
|
};
|
|
1018
1109
|
|
|
1110
|
+
// src/types/generated/addon.ts
|
|
1111
|
+
var AddonMutationResponseScope = {
|
|
1112
|
+
organization: "organization",
|
|
1113
|
+
workspace: "workspace"
|
|
1114
|
+
};
|
|
1115
|
+
var OrganizationAddonResponseScope = {
|
|
1116
|
+
organization: "organization",
|
|
1117
|
+
workspace: "workspace"
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1019
1120
|
// src/types/generated/promo_code_service.ts
|
|
1020
1121
|
var PromoCodeStatus = {
|
|
1021
1122
|
active: "active",
|
|
@@ -1261,105 +1362,79 @@ var RESOURCE_METADATA = {
|
|
|
1261
1362
|
label: "Credits",
|
|
1262
1363
|
unit: "credit",
|
|
1263
1364
|
unitPlural: "credits",
|
|
1264
|
-
description: "AI model usage billed as tokens with model-specific multipliers"
|
|
1265
|
-
requiresFeature: null,
|
|
1266
|
-
scope: "any"
|
|
1365
|
+
description: "AI model usage billed as tokens with model-specific multipliers"
|
|
1267
1366
|
},
|
|
1268
1367
|
["stt" /* STT */]: {
|
|
1269
1368
|
label: "Speech-to-Text",
|
|
1270
1369
|
unit: "minute",
|
|
1271
1370
|
unitPlural: "minutes",
|
|
1272
|
-
description: "Audio transcription in minutes"
|
|
1273
|
-
requiresFeature: null,
|
|
1274
|
-
scope: "any"
|
|
1371
|
+
description: "Audio transcription in minutes"
|
|
1275
1372
|
},
|
|
1276
1373
|
["tts" /* TTS */]: {
|
|
1277
1374
|
label: "Text-to-Speech",
|
|
1278
1375
|
unit: "1,000 characters",
|
|
1279
1376
|
unitPlural: "1,000 characters",
|
|
1280
|
-
description: "Text synthesized to audio, billed in lots of 1,000 characters"
|
|
1281
|
-
requiresFeature: null,
|
|
1282
|
-
scope: "any"
|
|
1377
|
+
description: "Text synthesized to audio, billed in lots of 1,000 characters"
|
|
1283
1378
|
},
|
|
1284
1379
|
["sms" /* SMS */]: {
|
|
1285
1380
|
label: "SMS Messages",
|
|
1286
1381
|
unit: "message",
|
|
1287
1382
|
unitPlural: "messages",
|
|
1288
|
-
description: "Text messages sent via phone number"
|
|
1289
|
-
requiresFeature: "phone" /* PHONE */,
|
|
1290
|
-
scope: "any"
|
|
1383
|
+
description: "Text messages sent via phone number"
|
|
1291
1384
|
},
|
|
1292
1385
|
["email" /* EMAIL */]: {
|
|
1293
1386
|
label: "Emails",
|
|
1294
1387
|
unit: "message",
|
|
1295
1388
|
unitPlural: "messages",
|
|
1296
|
-
description: "Email messages sent or received"
|
|
1297
|
-
requiresFeature: "email" /* EMAIL */,
|
|
1298
|
-
scope: "any"
|
|
1389
|
+
description: "Email messages sent or received"
|
|
1299
1390
|
},
|
|
1300
1391
|
["phone_call" /* PHONE_CALL */]: {
|
|
1301
1392
|
label: "Phone Calls",
|
|
1302
1393
|
unit: "minute",
|
|
1303
1394
|
unitPlural: "minutes",
|
|
1304
|
-
description: "Phone call duration in minutes"
|
|
1305
|
-
requiresFeature: "phone" /* PHONE */,
|
|
1306
|
-
scope: "any"
|
|
1395
|
+
description: "Phone call duration in minutes"
|
|
1307
1396
|
},
|
|
1308
1397
|
["phone_number" /* PHONE_NUMBER */]: {
|
|
1309
1398
|
label: "Phone Numbers",
|
|
1310
1399
|
unit: "number",
|
|
1311
1400
|
unitPlural: "numbers",
|
|
1312
|
-
description: "Active phone numbers for calling and SMS"
|
|
1313
|
-
requiresFeature: "phone" /* PHONE */,
|
|
1314
|
-
scope: "any"
|
|
1401
|
+
description: "Active phone numbers for calling and SMS"
|
|
1315
1402
|
},
|
|
1316
1403
|
["inbox" /* INBOX */]: {
|
|
1317
1404
|
label: "Email Inboxes",
|
|
1318
1405
|
unit: "inbox",
|
|
1319
1406
|
unitPlural: "inboxes",
|
|
1320
|
-
description: "Email inboxes for receiving messages"
|
|
1321
|
-
requiresFeature: "email" /* EMAIL */,
|
|
1322
|
-
scope: "any"
|
|
1407
|
+
description: "Email inboxes for receiving messages"
|
|
1323
1408
|
},
|
|
1324
1409
|
["site" /* SITE */]: {
|
|
1325
1410
|
label: "Sites",
|
|
1326
1411
|
unit: "site",
|
|
1327
1412
|
unitPlural: "sites",
|
|
1328
|
-
description: "Published websites"
|
|
1329
|
-
requiresFeature: "sites" /* SITES */,
|
|
1330
|
-
scope: "any"
|
|
1413
|
+
description: "Published websites"
|
|
1331
1414
|
},
|
|
1332
1415
|
["member" /* MEMBER */]: {
|
|
1333
1416
|
label: "Members",
|
|
1334
1417
|
unit: "member",
|
|
1335
1418
|
unitPlural: "members",
|
|
1336
|
-
description: "
|
|
1337
|
-
requiresFeature: null,
|
|
1338
|
-
scope: "workspace"
|
|
1419
|
+
description: "Members across the organization"
|
|
1339
1420
|
},
|
|
1340
1421
|
["workspace" /* WORKSPACE */]: {
|
|
1341
1422
|
label: "Workspaces",
|
|
1342
1423
|
unit: "workspace",
|
|
1343
1424
|
unitPlural: "workspaces",
|
|
1344
|
-
description: "Workspaces in the organization"
|
|
1345
|
-
requiresFeature: null,
|
|
1346
|
-
scope: "org"
|
|
1425
|
+
description: "Workspaces in the organization"
|
|
1347
1426
|
},
|
|
1348
1427
|
["org_admin" /* ORG_ADMIN */]: {
|
|
1349
1428
|
label: "Organization Admins",
|
|
1350
1429
|
unit: "admin",
|
|
1351
1430
|
unitPlural: "admins",
|
|
1352
|
-
description: "Organization administrators"
|
|
1353
|
-
requiresFeature: null,
|
|
1354
|
-
scope: "org"
|
|
1431
|
+
description: "Organization administrators"
|
|
1355
1432
|
},
|
|
1356
1433
|
["storage_mb" /* STORAGE_MB */]: {
|
|
1357
1434
|
label: "Storage",
|
|
1358
1435
|
unit: "MB",
|
|
1359
1436
|
unitPlural: "MB",
|
|
1360
|
-
description: "File storage in megabytes"
|
|
1361
|
-
requiresFeature: null,
|
|
1362
|
-
scope: "any"
|
|
1437
|
+
description: "File storage in megabytes"
|
|
1363
1438
|
}
|
|
1364
1439
|
};
|
|
1365
1440
|
function getResourceMetadata(resource) {
|
|
@@ -1368,35 +1443,6 @@ function getResourceMetadata(resource) {
|
|
|
1368
1443
|
function getAllResourceSlugs() {
|
|
1369
1444
|
return Object.keys(RESOURCE_METADATA);
|
|
1370
1445
|
}
|
|
1371
|
-
function getScopeFromProductType(productType) {
|
|
1372
|
-
const isOrgProduct = productType === "org" /* ORG */;
|
|
1373
|
-
return isOrgProduct ? "org" : "workspace";
|
|
1374
|
-
}
|
|
1375
|
-
function getApplicableResources(scope, enabledFeatures) {
|
|
1376
|
-
const enabledSet = enabledFeatures ? new Set(enabledFeatures) : null;
|
|
1377
|
-
return Object.entries(RESOURCE_METADATA).filter(([_slug, metadata]) => {
|
|
1378
|
-
if (scope === "workspace" && metadata.scope === "org") {
|
|
1379
|
-
return false;
|
|
1380
|
-
}
|
|
1381
|
-
if (scope === "org" && metadata.scope === "workspace") {
|
|
1382
|
-
return false;
|
|
1383
|
-
}
|
|
1384
|
-
if (enabledSet !== null && metadata.requiresFeature !== null) {
|
|
1385
|
-
if (!enabledSet.has(metadata.requiresFeature)) {
|
|
1386
|
-
return false;
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
return true;
|
|
1390
|
-
}).map(([slug]) => slug).sort((a, b) => {
|
|
1391
|
-
const metaA = RESOURCE_METADATA[a];
|
|
1392
|
-
const metaB = RESOURCE_METADATA[b];
|
|
1393
|
-
return metaA.label.localeCompare(metaB.label);
|
|
1394
|
-
});
|
|
1395
|
-
}
|
|
1396
|
-
function getApplicableResourceSlugs(productType) {
|
|
1397
|
-
const scope = getScopeFromProductType(productType);
|
|
1398
|
-
return getApplicableResources(scope);
|
|
1399
|
-
}
|
|
1400
1446
|
|
|
1401
1447
|
// src/types/chat-types.ts
|
|
1402
1448
|
var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
@@ -1831,7 +1877,10 @@ var SCOPES = {
|
|
|
1831
1877
|
"workflows:read": {
|
|
1832
1878
|
name: "workflows:read",
|
|
1833
1879
|
category: "workflows" /* WORKFLOWS */,
|
|
1834
|
-
|
|
1880
|
+
// Object access is separate: listing and opening a specific workflow
|
|
1881
|
+
// additionally require ownership, workflows:admin, a workflow role
|
|
1882
|
+
// association, or an access grant (WorkflowAction.USE).
|
|
1883
|
+
description: "Access the Workflows area and view workflows shared with you"
|
|
1835
1884
|
},
|
|
1836
1885
|
"workflows:write": {
|
|
1837
1886
|
name: "workflows:write",
|
|
@@ -4216,9 +4265,7 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
4216
4265
|
}
|
|
4217
4266
|
/** Get loaded and revealed skills for a chat. */
|
|
4218
4267
|
async getChatSkills(wid, chatId) {
|
|
4219
|
-
return this.fetch(
|
|
4220
|
-
`w/${wid}/chats/${chatId}/skills`
|
|
4221
|
-
);
|
|
4268
|
+
return this.fetch(`w/${wid}/chats/${chatId}/skills`);
|
|
4222
4269
|
}
|
|
4223
4270
|
/** List built-in skills selectable before a Manager Chat (and on Routine manager tasks). */
|
|
4224
4271
|
async getManagerSkills(wid) {
|
|
@@ -4831,6 +4878,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4831
4878
|
const params = new URLSearchParams();
|
|
4832
4879
|
if (options?.memberId !== void 0) params.append("member_id", options.memberId.toString());
|
|
4833
4880
|
if (options?.memberIds?.length) params.append("member_ids", options.memberIds.join(","));
|
|
4881
|
+
if (options?.recordId !== void 0) params.append("record_id", options.recordId.toString());
|
|
4834
4882
|
if (options?.search) params.append("search", options.search);
|
|
4835
4883
|
if (options?.searchField) params.append("search_field", options.searchField);
|
|
4836
4884
|
if (options?.dataRecordFilterId != null) {
|
|
@@ -4851,9 +4899,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4851
4899
|
params.append("dataTypeId", options.dataTypeId.toString());
|
|
4852
4900
|
}
|
|
4853
4901
|
const qs = params.toString();
|
|
4854
|
-
return this.fetch(
|
|
4855
|
-
`w/${wid}/data-record-filters${qs ? `?${qs}` : ""}`
|
|
4856
|
-
);
|
|
4902
|
+
return this.fetch(`w/${wid}/data-record-filters${qs ? `?${qs}` : ""}`);
|
|
4857
4903
|
}
|
|
4858
4904
|
/** Get a single data-record filter by ID. */
|
|
4859
4905
|
async getDataRecordFilter(wid, filterId) {
|
|
@@ -4881,9 +4927,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4881
4927
|
}
|
|
4882
4928
|
/** Get the count of records matching a saved filter. */
|
|
4883
4929
|
async getDataRecordFilterCount(wid, filterId) {
|
|
4884
|
-
return this.fetch(
|
|
4885
|
-
`w/${wid}/data-record-filters/${filterId}/count`
|
|
4886
|
-
);
|
|
4930
|
+
return this.fetch(`w/${wid}/data-record-filters/${filterId}/count`);
|
|
4887
4931
|
}
|
|
4888
4932
|
/** Get a single data record by ID. */
|
|
4889
4933
|
async getDataRecord(wid, recordId) {
|
|
@@ -5428,6 +5472,27 @@ var EventsApi = class extends BaseApiClient {
|
|
|
5428
5472
|
method: "POST"
|
|
5429
5473
|
});
|
|
5430
5474
|
}
|
|
5475
|
+
/**
|
|
5476
|
+
* Configuration change history for one routine, newest first.
|
|
5477
|
+
*
|
|
5478
|
+
* Answers "who turned this off, when, and why" — including the
|
|
5479
|
+
* platform-initiated pauses (finite-repeat exhaustion, outbound-safety
|
|
5480
|
+
* runaway auto-pause) that no other surface exposes.
|
|
5481
|
+
*
|
|
5482
|
+
* `transitionsOnly` filters to rows that record a real trigger-gate
|
|
5483
|
+
* transition. Prefer it for a toggle-focused view: a full-form save always
|
|
5484
|
+
* re-sends every field, so unfiltered history includes saves that changed
|
|
5485
|
+
* nothing.
|
|
5486
|
+
*/
|
|
5487
|
+
async getRoutineConfigEvents(wid, id, options = {}) {
|
|
5488
|
+
const params = new URLSearchParams();
|
|
5489
|
+
if (options.limit) params.append("limit", options.limit.toString());
|
|
5490
|
+
if (options.beforeId) params.append("before_id", options.beforeId.toString());
|
|
5491
|
+
if (options.transitionsOnly) params.append("transitions_only", "true");
|
|
5492
|
+
return this.fetch(
|
|
5493
|
+
`w/${wid}/routines/${id}/history${params.toString() ? `?${params.toString()}` : ""}`
|
|
5494
|
+
);
|
|
5495
|
+
}
|
|
5431
5496
|
/** List routine run history with optional filtering by routine and status. */
|
|
5432
5497
|
async getRoutineRuns(wid, options = {}) {
|
|
5433
5498
|
const params = new URLSearchParams();
|
|
@@ -7276,6 +7341,17 @@ var MembersApi = class extends BaseApiClient {
|
|
|
7276
7341
|
}
|
|
7277
7342
|
};
|
|
7278
7343
|
|
|
7344
|
+
// src/api/activity-timeline.ts
|
|
7345
|
+
var ActivityTimelineApi = class extends BaseApiClient {
|
|
7346
|
+
/** One page of activity. Omit `cursor` for a fresh snapshot. */
|
|
7347
|
+
async queryActivityTimeline(wid, request = {}) {
|
|
7348
|
+
return this.fetch(`w/${wid}/activity-timeline/query`, {
|
|
7349
|
+
method: "POST",
|
|
7350
|
+
body: JSON.stringify(request)
|
|
7351
|
+
});
|
|
7352
|
+
}
|
|
7353
|
+
};
|
|
7354
|
+
|
|
7279
7355
|
// src/api/motd.ts
|
|
7280
7356
|
var MotdApi = class extends BaseApiClient {
|
|
7281
7357
|
/**
|
|
@@ -7604,9 +7680,9 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7604
7680
|
/**
|
|
7605
7681
|
* Update the settings an org admin owns: name, slug and contact details.
|
|
7606
7682
|
*
|
|
7607
|
-
* Deliberately NOT the admin organization update — `
|
|
7608
|
-
*
|
|
7609
|
-
*
|
|
7683
|
+
* Deliberately NOT the admin organization update — `enforceCreditLimit`
|
|
7684
|
+
* is superuser-only and is not a field on this endpoint's request model
|
|
7685
|
+
* at all.
|
|
7610
7686
|
*/
|
|
7611
7687
|
async updateOrganizationSettings(orgIdOrUuid, data) {
|
|
7612
7688
|
return this.fetch(`o/${orgIdOrUuid}`, {
|
|
@@ -7642,6 +7718,21 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7642
7718
|
async getOrgBillingCustomer(orgIdOrUuid) {
|
|
7643
7719
|
return this.fetch(`o/${orgIdOrUuid}/billing-customer`);
|
|
7644
7720
|
}
|
|
7721
|
+
/**
|
|
7722
|
+
* Per-workspace usage for this organization's current credit window.
|
|
7723
|
+
*
|
|
7724
|
+
* Requires a billing role on the organization's billing customer — the
|
|
7725
|
+
* same gate `getOrgBillingCustomer().hasAccess` reports, and the one that
|
|
7726
|
+
* decides whether the billing tab is shown at all.
|
|
7727
|
+
*
|
|
7728
|
+
* `creditsUsed` is a real organization-wide total or it is null; it is
|
|
7729
|
+
* never a partial sum. There is deliberately no per-workspace "remaining"
|
|
7730
|
+
* figure — the caps belong to the organization, so `cap - oneWorkspace`
|
|
7731
|
+
* describes nothing.
|
|
7732
|
+
*/
|
|
7733
|
+
async getOrgWorkspaceUsage(orgIdOrUuid) {
|
|
7734
|
+
return this.fetch(`o/${orgIdOrUuid}/usage/workspaces`);
|
|
7735
|
+
}
|
|
7645
7736
|
/**
|
|
7646
7737
|
* List members of an organization.
|
|
7647
7738
|
*/
|
|
@@ -8413,6 +8504,7 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
8413
8504
|
if (filters?.inbound !== void 0) params.set("inbound", String(filters.inbound));
|
|
8414
8505
|
if (filters?.dateFrom) params.set("dateFrom", filters.dateFrom);
|
|
8415
8506
|
if (filters?.dateTo) params.set("dateTo", filters.dateTo);
|
|
8507
|
+
if (filters?.callId !== void 0) params.set("callId", String(filters.callId));
|
|
8416
8508
|
return this.fetch(`w/${wid}/calls?${params}`);
|
|
8417
8509
|
}
|
|
8418
8510
|
/** List paginated voicemails for a phone number. */
|
|
@@ -8794,6 +8886,29 @@ var QueriesApi = class extends BaseApiClient {
|
|
|
8794
8886
|
}
|
|
8795
8887
|
};
|
|
8796
8888
|
|
|
8889
|
+
// src/api/projects.ts
|
|
8890
|
+
var ProjectsApi = class extends BaseApiClient {
|
|
8891
|
+
/** List projects (README frontmatter summaries). */
|
|
8892
|
+
async getProjects(wid, options = {}) {
|
|
8893
|
+
const params = new URLSearchParams();
|
|
8894
|
+
if (options.page !== void 0) params.append("page", options.page.toString());
|
|
8895
|
+
if (options.pageSize !== void 0) params.append("pageSize", options.pageSize.toString());
|
|
8896
|
+
return this.fetch(
|
|
8897
|
+
`w/${wid}/projects${params.toString() ? `?${params.toString()}` : ""}`
|
|
8898
|
+
);
|
|
8899
|
+
}
|
|
8900
|
+
/** One project: summary + present docs + plan summaries. */
|
|
8901
|
+
async getProject(wid, slug) {
|
|
8902
|
+
return this.fetch(`w/${wid}/projects/${encodeURIComponent(slug)}`);
|
|
8903
|
+
}
|
|
8904
|
+
/** One plan: summary + resolved process + flows + run state. */
|
|
8905
|
+
async getPlan(wid, slug, plan) {
|
|
8906
|
+
return this.fetch(
|
|
8907
|
+
`w/${wid}/projects/${encodeURIComponent(slug)}/plans/${encodeURIComponent(plan)}`
|
|
8908
|
+
);
|
|
8909
|
+
}
|
|
8910
|
+
};
|
|
8911
|
+
|
|
8797
8912
|
// src/api/qualifications.ts
|
|
8798
8913
|
var QualificationsApi = class extends BaseApiClient {
|
|
8799
8914
|
/** List qualifications in a workspace, paginated. */
|
|
@@ -9489,12 +9604,6 @@ var SitesApi = class extends BaseApiClient {
|
|
|
9489
9604
|
}
|
|
9490
9605
|
return verifyResponse;
|
|
9491
9606
|
}
|
|
9492
|
-
/** Trigger a crawl of the site's external content source. */
|
|
9493
|
-
async crawlSite(wid, siteId) {
|
|
9494
|
-
return this.fetch(`w/${wid}/sites/${siteId}/crawl`, {
|
|
9495
|
-
method: "POST"
|
|
9496
|
-
});
|
|
9497
|
-
}
|
|
9498
9607
|
/** Create a new site in the workspace. */
|
|
9499
9608
|
async createSite(wid, site) {
|
|
9500
9609
|
return this.fetch(`w/${wid}/sites`, {
|
|
@@ -9665,8 +9774,8 @@ var SubscriptionsApi = class extends BaseApiClient {
|
|
|
9665
9774
|
});
|
|
9666
9775
|
}
|
|
9667
9776
|
/**
|
|
9668
|
-
* List self-service, purchasable plans
|
|
9669
|
-
*
|
|
9777
|
+
* List self-service, purchasable organization plans or add-ons. Only products
|
|
9778
|
+
* with a Stripe Price are returned; zero-amount plans are allowed.
|
|
9670
9779
|
*/
|
|
9671
9780
|
async listSelfServeProducts(productType) {
|
|
9672
9781
|
const qs = productType ? `?product_type=${productType}` : "";
|
|
@@ -9701,7 +9810,13 @@ var SubscriptionsApi = class extends BaseApiClient {
|
|
|
9701
9810
|
}
|
|
9702
9811
|
});
|
|
9703
9812
|
}
|
|
9704
|
-
/**
|
|
9813
|
+
/**
|
|
9814
|
+
* Provision a new workspace under an existing org subscription.
|
|
9815
|
+
*
|
|
9816
|
+
* No product or period: the organization already holds the plan and the new
|
|
9817
|
+
* workspace bills through it. Returns before the workspace exists —
|
|
9818
|
+
* `provisioning: true` means poll for it.
|
|
9819
|
+
*/
|
|
9705
9820
|
async addWorkspaceToSubscription(subscriptionId, data) {
|
|
9706
9821
|
return this.fetch(`subscriptions/${subscriptionId}/add-workspace`, {
|
|
9707
9822
|
method: "POST",
|
|
@@ -10396,6 +10511,8 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
10396
10511
|
qs.set("currentTaskId", String(params.currentTaskId));
|
|
10397
10512
|
if (params?.runtimeFailureEdgeId !== void 0)
|
|
10398
10513
|
qs.set("runtimeFailureEdgeId", String(params.runtimeFailureEdgeId));
|
|
10514
|
+
if (params?.memberJourneyId !== void 0)
|
|
10515
|
+
qs.set("memberJourneyId", String(params.memberJourneyId));
|
|
10399
10516
|
const query = qs.toString();
|
|
10400
10517
|
return this.fetch(
|
|
10401
10518
|
`w/${wid}/journeys/${journeyId}/members${query ? `?${query}` : ""}`
|
|
@@ -10432,6 +10549,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
10432
10549
|
async getMemberJourneys(wid, memberId) {
|
|
10433
10550
|
return this.fetch(`w/${wid}/journeys/by-member/${memberId}`);
|
|
10434
10551
|
}
|
|
10552
|
+
/**
|
|
10553
|
+
* Status history for one enrollment — the per-member journey timeline.
|
|
10554
|
+
*
|
|
10555
|
+
* This is where a step that completed having emitted nothing shows up as
|
|
10556
|
+
* `zeroEmission: true` with its reason, instead of being indistinguishable
|
|
10557
|
+
* from a step that sent (GRA-7341). Newest first.
|
|
10558
|
+
*
|
|
10559
|
+
* PHI-safe: identifiers, closed status codes, operator-authored step names,
|
|
10560
|
+
* counts, and timestamps. `entry.reason` is populated only for rows the
|
|
10561
|
+
* server allowlists; every other row reports `reasonRedacted: true`.
|
|
10562
|
+
*
|
|
10563
|
+
* `zeroEmissionOnly` narrows the page to the dropped-send rows. Use it when
|
|
10564
|
+
* that is all you need: without it a busy enrollment can push every
|
|
10565
|
+
* zero-emission row off the first page, and a caller that renders only what
|
|
10566
|
+
* it loaded would report "nothing was dropped" — the exact failure this
|
|
10567
|
+
* endpoint exists to eliminate. `zeroEmissionCount` is unaffected by the
|
|
10568
|
+
* filter and always counts the whole enrollment.
|
|
10569
|
+
*/
|
|
10570
|
+
async getEnrollmentStatusLog(wid, journeyId, memberJourneyId, params = {}) {
|
|
10571
|
+
const qs = new URLSearchParams();
|
|
10572
|
+
if (params.page !== void 0) qs.set("page", String(params.page));
|
|
10573
|
+
if (params.pageSize !== void 0) qs.set("pageSize", String(params.pageSize));
|
|
10574
|
+
if (params.zeroEmissionOnly !== void 0) {
|
|
10575
|
+
qs.set("zeroEmissionOnly", String(params.zeroEmissionOnly));
|
|
10576
|
+
}
|
|
10577
|
+
const query = qs.toString();
|
|
10578
|
+
return this.fetch(
|
|
10579
|
+
`w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query ? `?${query}` : "")
|
|
10580
|
+
);
|
|
10581
|
+
}
|
|
10435
10582
|
/** List members currently or historically associated with one journey step. */
|
|
10436
10583
|
async getStepMembers(wid, journeyId, stepUuid, params = {}) {
|
|
10437
10584
|
const qs = new URLSearchParams();
|
|
@@ -11395,6 +11542,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
11395
11542
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
11396
11543
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
11397
11544
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
11545
|
+
projects: new ProjectsApi(apiKey, baseUrl, customFetch),
|
|
11398
11546
|
inboxes: new InboxesApi(apiKey, baseUrl, customFetch),
|
|
11399
11547
|
inquiries: new InquiriesApi(apiKey, baseUrl, customFetch),
|
|
11400
11548
|
journeys: new JourneysApi(apiKey, baseUrl, customFetch),
|
|
@@ -11402,6 +11550,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
11402
11550
|
connectionSync: new ConnectionSyncApi(apiKey, baseUrl, customFetch),
|
|
11403
11551
|
mcpServers: new McpServersApi(apiKey, baseUrl, customFetch),
|
|
11404
11552
|
members: new MembersApi(apiKey, baseUrl, customFetch),
|
|
11553
|
+
activityTimeline: new ActivityTimelineApi(apiKey, baseUrl, customFetch),
|
|
11405
11554
|
motd: new MotdApi(apiKey, baseUrl, customFetch),
|
|
11406
11555
|
trackedLinks: new TrackedLinksApi(apiKey, baseUrl, customFetch),
|
|
11407
11556
|
confluence: new ConfluenceApi(apiKey, baseUrl, customFetch),
|
|
@@ -11488,7 +11637,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11488
11637
|
"configureSalesforce",
|
|
11489
11638
|
"convertEmail",
|
|
11490
11639
|
"convertFile",
|
|
11491
|
-
"crawlSite",
|
|
11492
11640
|
"createAbility",
|
|
11493
11641
|
"createAccessGrant",
|
|
11494
11642
|
"createAgent",
|
|
@@ -11779,6 +11927,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11779
11927
|
"getDocumoFaxSetup",
|
|
11780
11928
|
"listDocumoFaxes",
|
|
11781
11929
|
"getDocumoFaxStatus",
|
|
11930
|
+
"getEnrollmentStatusLog",
|
|
11782
11931
|
"getEventRule",
|
|
11783
11932
|
"getEventRules",
|
|
11784
11933
|
"getExperiment",
|
|
@@ -11806,6 +11955,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11806
11955
|
"listChatRecordings",
|
|
11807
11956
|
"previewQuery",
|
|
11808
11957
|
"publishSiteSource",
|
|
11958
|
+
"queryActivityTimeline",
|
|
11809
11959
|
"registerDiscordSlashCommands",
|
|
11810
11960
|
"reopenWorkspaceSupportRequest",
|
|
11811
11961
|
"resetSiteSource",
|
|
@@ -11911,8 +12061,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11911
12061
|
"getPhoneNumbers",
|
|
11912
12062
|
"getPhoneUsageReport",
|
|
11913
12063
|
"getPlatformApp",
|
|
12064
|
+
"getPlan",
|
|
11914
12065
|
"getPresenceStatus",
|
|
11915
12066
|
"getProducts",
|
|
12067
|
+
"getProject",
|
|
12068
|
+
"getProjects",
|
|
11916
12069
|
"getPublicFile",
|
|
11917
12070
|
"getPublicFolder",
|
|
11918
12071
|
"getPublicFolderFiles",
|
|
@@ -11923,6 +12076,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11923
12076
|
"getRecordingInfo",
|
|
11924
12077
|
"getResellerWorkspaces",
|
|
11925
12078
|
"getRoutine",
|
|
12079
|
+
"getRoutineConfigEvents",
|
|
11926
12080
|
"getRoutineRuns",
|
|
11927
12081
|
"getRoutines",
|
|
11928
12082
|
"getRuleExecutions",
|
|
@@ -12378,6 +12532,11 @@ function bindDashboardsMethods(target, dashboards) {
|
|
|
12378
12532
|
target.getConfigurationHealth = dashboards.getConfigurationHealth.bind(dashboards);
|
|
12379
12533
|
}
|
|
12380
12534
|
|
|
12535
|
+
// src/client/bindings/activity-timeline.ts
|
|
12536
|
+
function bindActivityTimelineMethods(target, activityTimeline) {
|
|
12537
|
+
target.queryActivityTimeline = activityTimeline.queryActivityTimeline.bind(activityTimeline);
|
|
12538
|
+
}
|
|
12539
|
+
|
|
12381
12540
|
// src/client/bindings/motd.ts
|
|
12382
12541
|
function bindMotdMethods(target, motd) {
|
|
12383
12542
|
target.getMotd = motd.getMotd.bind(motd);
|
|
@@ -12640,7 +12799,6 @@ function bindSitesMethods(target, sites) {
|
|
|
12640
12799
|
target.siteSendEmailCode = sites.siteSendEmailCode.bind(sites);
|
|
12641
12800
|
target.siteVerifyCode = sites.siteVerifyCode.bind(sites);
|
|
12642
12801
|
target.siteGoogleOAuthInitiate = sites.siteGoogleOAuthInitiate.bind(sites);
|
|
12643
|
-
target.crawlSite = sites.crawlSite.bind(sites);
|
|
12644
12802
|
target.createSite = sites.createSite.bind(sites);
|
|
12645
12803
|
target.updateSite = sites.updateSite.bind(sites);
|
|
12646
12804
|
target.deleteSite = sites.deleteSite.bind(sites);
|
|
@@ -12703,6 +12861,13 @@ function bindFilesMethods(target, files) {
|
|
|
12703
12861
|
target.getPublicFolderFiles = files.getPublicFolderFiles.bind(files);
|
|
12704
12862
|
}
|
|
12705
12863
|
|
|
12864
|
+
// src/client/bindings/projects.ts
|
|
12865
|
+
function bindProjectsMethods(target, projects) {
|
|
12866
|
+
target.getProjects = projects.getProjects.bind(projects);
|
|
12867
|
+
target.getProject = projects.getProject.bind(projects);
|
|
12868
|
+
target.getPlan = projects.getPlan.bind(projects);
|
|
12869
|
+
}
|
|
12870
|
+
|
|
12706
12871
|
// src/client/bindings/events.ts
|
|
12707
12872
|
function bindEventsMethods(target, events) {
|
|
12708
12873
|
target.getEventRules = events.getEventRules.bind(events);
|
|
@@ -13191,6 +13356,7 @@ function bindOrgMethods(target, org) {
|
|
|
13191
13356
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
13192
13357
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
13193
13358
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
13359
|
+
target.getOrgWorkspaceUsage = org.getOrgWorkspaceUsage.bind(org);
|
|
13194
13360
|
}
|
|
13195
13361
|
|
|
13196
13362
|
// src/client/bindings/pronunciations.ts
|
|
@@ -13235,6 +13401,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
13235
13401
|
target.reenrollMember = journeys.reenrollMember.bind(journeys);
|
|
13236
13402
|
target.deleteEnrollment = journeys.deleteEnrollment.bind(journeys);
|
|
13237
13403
|
target.getMemberJourneys = journeys.getMemberJourneys.bind(journeys);
|
|
13404
|
+
target.getEnrollmentStatusLog = journeys.getEnrollmentStatusLog.bind(journeys);
|
|
13238
13405
|
target.getStepMembers = journeys.getStepMembers.bind(journeys);
|
|
13239
13406
|
target.getStepMemberCounts = journeys.getStepMemberCounts.bind(journeys);
|
|
13240
13407
|
target.advanceStep = journeys.advanceStep.bind(journeys);
|
|
@@ -13572,6 +13739,8 @@ var GravityRailClient = class {
|
|
|
13572
13739
|
getDashboardChannelStats;
|
|
13573
13740
|
getDashboardWorkflowAssignmentStats;
|
|
13574
13741
|
getConfigurationHealth;
|
|
13742
|
+
// Activity Timeline API
|
|
13743
|
+
queryActivityTimeline;
|
|
13575
13744
|
// MOTD API
|
|
13576
13745
|
getMotd;
|
|
13577
13746
|
// Tracked Links analytics (#10934)
|
|
@@ -13607,6 +13776,7 @@ var GravityRailClient = class {
|
|
|
13607
13776
|
reenrollMember;
|
|
13608
13777
|
deleteEnrollment;
|
|
13609
13778
|
getMemberJourneys;
|
|
13779
|
+
getEnrollmentStatusLog;
|
|
13610
13780
|
getStepMembers;
|
|
13611
13781
|
getStepMemberCounts;
|
|
13612
13782
|
advanceStep;
|
|
@@ -13732,6 +13902,7 @@ var GravityRailClient = class {
|
|
|
13732
13902
|
syncVoiceTrustProducts;
|
|
13733
13903
|
createOrganizationWorkspace;
|
|
13734
13904
|
getOrgBillingCustomer;
|
|
13905
|
+
getOrgWorkspaceUsage;
|
|
13735
13906
|
getVapidPublicKey;
|
|
13736
13907
|
registerPushSubscription;
|
|
13737
13908
|
unregisterPushSubscription;
|
|
@@ -13831,7 +14002,6 @@ var GravityRailClient = class {
|
|
|
13831
14002
|
siteSendEmailCode;
|
|
13832
14003
|
siteVerifyCode;
|
|
13833
14004
|
siteGoogleOAuthInitiate;
|
|
13834
|
-
crawlSite;
|
|
13835
14005
|
createSite;
|
|
13836
14006
|
updateSite;
|
|
13837
14007
|
deleteSite;
|
|
@@ -13852,6 +14022,9 @@ var GravityRailClient = class {
|
|
|
13852
14022
|
// Files API
|
|
13853
14023
|
getFiles;
|
|
13854
14024
|
getFile;
|
|
14025
|
+
getProjects;
|
|
14026
|
+
getProject;
|
|
14027
|
+
getPlan;
|
|
13855
14028
|
resolveFilePath;
|
|
13856
14029
|
downloadFilesZip;
|
|
13857
14030
|
createFile;
|
|
@@ -13908,6 +14081,7 @@ var GravityRailClient = class {
|
|
|
13908
14081
|
updateRoutine;
|
|
13909
14082
|
deleteRoutine;
|
|
13910
14083
|
runRoutine;
|
|
14084
|
+
getRoutineConfigEvents;
|
|
13911
14085
|
getRoutineRuns;
|
|
13912
14086
|
resetRoutineRuns;
|
|
13913
14087
|
previewSchedule;
|
|
@@ -14373,6 +14547,7 @@ var GravityRailClient = class {
|
|
|
14373
14547
|
bindMetricsMethods(this, apis.metrics);
|
|
14374
14548
|
bindQueriesMethods(this, apis.queries);
|
|
14375
14549
|
bindDashboardsMethods(this, apis.dashboards);
|
|
14550
|
+
bindActivityTimelineMethods(this, apis.activityTimeline);
|
|
14376
14551
|
bindMotdMethods(this, apis.motd);
|
|
14377
14552
|
bindTrackedLinksMethods(this, apis.trackedLinks);
|
|
14378
14553
|
bindJourneysMethods(this, apis.journeys);
|
|
@@ -14385,6 +14560,7 @@ var GravityRailClient = class {
|
|
|
14385
14560
|
bindAuthMethods(this, apis.auth, apis.assignments);
|
|
14386
14561
|
bindSitesMethods(this, apis.sites);
|
|
14387
14562
|
bindFilesMethods(this, apis.files);
|
|
14563
|
+
bindProjectsMethods(this, apis.projects);
|
|
14388
14564
|
bindEventsMethods(this, apis.events);
|
|
14389
14565
|
bindWorkflowsMethods(this, apis.workflows, apis.workflowNotes, apis.voice, apis.supervisors);
|
|
14390
14566
|
bindCalendarsMethods(this, apis.calendars);
|
|
@@ -14544,6 +14720,19 @@ var GravityRailClient = class {
|
|
|
14544
14720
|
AccessGrantTrigger,
|
|
14545
14721
|
AccessGrantsApi,
|
|
14546
14722
|
AccessLevel,
|
|
14723
|
+
ActivityActorKind,
|
|
14724
|
+
ActivityAggregationKind,
|
|
14725
|
+
ActivityCaptureState,
|
|
14726
|
+
ActivityConfigAction,
|
|
14727
|
+
ActivityConfigArea,
|
|
14728
|
+
ActivityCoverageLimitation,
|
|
14729
|
+
ActivityDirection,
|
|
14730
|
+
ActivityEmptyReason,
|
|
14731
|
+
ActivityEventType,
|
|
14732
|
+
ActivityEventTypePreset,
|
|
14733
|
+
ActivityGoalImpact,
|
|
14734
|
+
ActivityTimelineProjection,
|
|
14735
|
+
AddonMutationResponseScope,
|
|
14547
14736
|
AgentTasksApi,
|
|
14548
14737
|
AgentsApi,
|
|
14549
14738
|
ApiError,
|
|
@@ -14611,6 +14800,7 @@ var GravityRailClient = class {
|
|
|
14611
14800
|
FhirConnectionsApi,
|
|
14612
14801
|
FhirVendor,
|
|
14613
14802
|
FilesApi,
|
|
14803
|
+
FormValueDisposition,
|
|
14614
14804
|
GravityRailClient,
|
|
14615
14805
|
HealthieApi,
|
|
14616
14806
|
HubspotApi,
|
|
@@ -14620,7 +14810,6 @@ var GravityRailClient = class {
|
|
|
14620
14810
|
InvitationStatus,
|
|
14621
14811
|
JobPosition,
|
|
14622
14812
|
JourneysApi,
|
|
14623
|
-
LIMIT_ONLY_RESOURCES,
|
|
14624
14813
|
MASKED_SECRET_SENTINEL,
|
|
14625
14814
|
McpServerState,
|
|
14626
14815
|
McpServersApi,
|
|
@@ -14650,6 +14839,7 @@ var GravityRailClient = class {
|
|
|
14650
14839
|
OperatorApi,
|
|
14651
14840
|
OrgApi,
|
|
14652
14841
|
OrgFeature,
|
|
14842
|
+
OrganizationAddonResponseScope,
|
|
14653
14843
|
PERMISSION_ADMIN,
|
|
14654
14844
|
PERMISSION_CREATE,
|
|
14655
14845
|
PERMISSION_DELETE,
|
|
@@ -14696,7 +14886,8 @@ var GravityRailClient = class {
|
|
|
14696
14886
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
14697
14887
|
STT_MODEL_DEEPGRAM_FLUX,
|
|
14698
14888
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
14699
|
-
|
|
14889
|
+
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
14890
|
+
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
14700
14891
|
SalesforceApi,
|
|
14701
14892
|
Scope,
|
|
14702
14893
|
ScopeCategory,
|
|
@@ -14736,6 +14927,7 @@ var GravityRailClient = class {
|
|
|
14736
14927
|
areDependenciesSatisfied,
|
|
14737
14928
|
asIdentifiedMemberContactConflict,
|
|
14738
14929
|
bindAccessGrantsMethods,
|
|
14930
|
+
bindActivityTimelineMethods,
|
|
14739
14931
|
bindAgentTasksMethods,
|
|
14740
14932
|
bindAgentsMethods,
|
|
14741
14933
|
bindAppsMethods,
|
|
@@ -14759,6 +14951,7 @@ var GravityRailClient = class {
|
|
|
14759
14951
|
bindOperatorMethods,
|
|
14760
14952
|
bindOrgMethods,
|
|
14761
14953
|
bindPersonasMethods,
|
|
14954
|
+
bindProjectsMethods,
|
|
14762
14955
|
bindPromptsMethods,
|
|
14763
14956
|
bindPronunciationsMethods,
|
|
14764
14957
|
bindQualificationsMethods,
|
|
@@ -14781,8 +14974,6 @@ var GravityRailClient = class {
|
|
|
14781
14974
|
formatAppContextAsMarkdown,
|
|
14782
14975
|
getAllFeatures,
|
|
14783
14976
|
getAllResourceSlugs,
|
|
14784
|
-
getApplicableResourceSlugs,
|
|
14785
|
-
getApplicableResources,
|
|
14786
14977
|
getAvailableFeaturesForUpgrade,
|
|
14787
14978
|
getCookieValue,
|
|
14788
14979
|
getFeature,
|
|
@@ -14791,7 +14982,6 @@ var GravityRailClient = class {
|
|
|
14791
14982
|
getMissingDependencies,
|
|
14792
14983
|
getResourceMetadata,
|
|
14793
14984
|
getRevisionState,
|
|
14794
|
-
getScopeFromProductType,
|
|
14795
14985
|
getTTSProvider,
|
|
14796
14986
|
getVoiceModelId,
|
|
14797
14987
|
initializeFeatures,
|