@gravity-rail/sdk 0.17.0 → 0.18.0
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-MP5ENP4Q.js} +194 -14
- package/dist/chunk-MP5ENP4Q.js.map +1 -0
- package/dist/{client-8xakCsVs.d.cts → client-B51HZ6zY.d.cts} +1172 -11
- package/dist/{client-ASnNEN1U.d.ts → client-G5i59XtT.d.ts} +1172 -11
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +100 -14
- 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 -3
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +209 -14
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +69 -7
- package/dist/internal.d.ts +69 -7
- package/dist/internal.js +33 -3
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-BDsQo_xD.d.cts → revision-state-Cc7RAf8A.d.ts} +30 -5
- package/dist/{revision-state-Cz3mcUHc.d.ts → revision-state-DudSCwea.d.cts} +30 -5
- package/dist/schemas.d.cts +11 -11
- package/dist/schemas.d.ts +11 -11
- package/dist/{tasks-Z4GcIqgO.d.cts → tasks-1JXJJuG8.d.cts} +67 -1
- package/dist/{tasks-Z4GcIqgO.d.ts → tasks-1JXJJuG8.d.ts} +67 -1
- package/package.json +2 -2
- package/dist/chunk-CEFOCGYO.js.map +0 -1
package/dist/internal.cjs
CHANGED
|
@@ -31,6 +31,18 @@ __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,
|
|
34
46
|
AgentTasksApi: () => AgentTasksApi,
|
|
35
47
|
AgentsApi: () => AgentsApi,
|
|
36
48
|
ApiError: () => ApiError,
|
|
@@ -98,6 +110,7 @@ __export(internal_exports, {
|
|
|
98
110
|
FhirConnectionsApi: () => FhirConnectionsApi,
|
|
99
111
|
FhirVendor: () => FhirVendor,
|
|
100
112
|
FilesApi: () => FilesApi,
|
|
113
|
+
FormValueDisposition: () => FormValueDisposition,
|
|
101
114
|
GravityRailClient: () => GravityRailClient,
|
|
102
115
|
HealthieApi: () => HealthieApi,
|
|
103
116
|
HubspotApi: () => HubspotApi,
|
|
@@ -183,7 +196,8 @@ __export(internal_exports, {
|
|
|
183
196
|
SMS_DELIVERY_FAILURE_STATUSES: () => SMS_DELIVERY_FAILURE_STATUSES,
|
|
184
197
|
STT_MODEL_DEEPGRAM_FLUX: () => STT_MODEL_DEEPGRAM_FLUX,
|
|
185
198
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
186
|
-
|
|
199
|
+
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
200
|
+
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
187
201
|
SalesforceApi: () => SalesforceApi,
|
|
188
202
|
Scope: () => Scope,
|
|
189
203
|
ScopeCategory: () => ScopeCategory,
|
|
@@ -223,6 +237,7 @@ __export(internal_exports, {
|
|
|
223
237
|
areDependenciesSatisfied: () => areDependenciesSatisfied,
|
|
224
238
|
asIdentifiedMemberContactConflict: () => asIdentifiedMemberContactConflict,
|
|
225
239
|
bindAccessGrantsMethods: () => bindAccessGrantsMethods,
|
|
240
|
+
bindActivityTimelineMethods: () => bindActivityTimelineMethods,
|
|
226
241
|
bindAgentTasksMethods: () => bindAgentTasksMethods,
|
|
227
242
|
bindAgentsMethods: () => bindAgentsMethods,
|
|
228
243
|
bindAppsMethods: () => bindAppsMethods,
|
|
@@ -613,18 +628,20 @@ var MASKED_SECRET_SENTINEL = "__SECRET_SET__";
|
|
|
613
628
|
// src/types/billing-types.ts
|
|
614
629
|
var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
615
630
|
WorkspaceFeature2["PHONE"] = "phone";
|
|
631
|
+
WorkspaceFeature2["A2P_REGISTRATION"] = "a2p_registration";
|
|
616
632
|
WorkspaceFeature2["EMAIL"] = "email";
|
|
617
633
|
WorkspaceFeature2["WHATSAPP"] = "whatsapp";
|
|
618
634
|
WorkspaceFeature2["DISCORD"] = "discord";
|
|
619
635
|
WorkspaceFeature2["SLACK"] = "slack";
|
|
620
636
|
WorkspaceFeature2["TEAMS"] = "teams";
|
|
621
637
|
WorkspaceFeature2["SITES"] = "sites";
|
|
622
|
-
WorkspaceFeature2["FORMS"] = "forms";
|
|
623
638
|
WorkspaceFeature2["MAPS"] = "maps";
|
|
624
639
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
625
640
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
626
641
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
627
642
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
643
|
+
WorkspaceFeature2["MAILBOX_USER_INPUT"] = "mailbox_user_input";
|
|
644
|
+
WorkspaceFeature2["FORKED_TRAJECTORIES"] = "forked_trajectories";
|
|
628
645
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
629
646
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
630
647
|
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
@@ -641,6 +658,9 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
641
658
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
642
659
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
643
660
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
661
|
+
WorkspaceFeature2["STRICT_NATIVE_VOICE"] = "strict_native_voice";
|
|
662
|
+
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
663
|
+
WorkspaceFeature2["PATIENTSYNC_TRANSFER"] = "patientsync_transfer";
|
|
644
664
|
return WorkspaceFeature2;
|
|
645
665
|
})(WorkspaceFeature || {});
|
|
646
666
|
var MemberFeature = /* @__PURE__ */ ((MemberFeature2) => {
|
|
@@ -810,8 +830,9 @@ var REALTIME_MODEL_GEMINI_VERTEX = "google:vertex:gemini-3.1-flash-live";
|
|
|
810
830
|
var REALTIME_MODEL_NOVA_SONIC = "aws:bedrock:nova-sonic-1";
|
|
811
831
|
var REALTIME_MODEL_CUSTOM = "custom:realtime:composable";
|
|
812
832
|
var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
833
|
+
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
813
834
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
814
|
-
var
|
|
835
|
+
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
815
836
|
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
816
837
|
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
817
838
|
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
@@ -962,6 +983,87 @@ function isConfigHealthFacadeCheckSlug(value) {
|
|
|
962
983
|
return CONFIG_HEALTH_FACADE_CHECK_SLUGS.includes(value);
|
|
963
984
|
}
|
|
964
985
|
|
|
986
|
+
// src/types/generated/activity_timeline.ts
|
|
987
|
+
var ActivityActorKind = {
|
|
988
|
+
member: "member",
|
|
989
|
+
agent: "agent",
|
|
990
|
+
operator: "operator",
|
|
991
|
+
event_rule: "event_rule",
|
|
992
|
+
api_key: "api_key",
|
|
993
|
+
system: "system"
|
|
994
|
+
};
|
|
995
|
+
var ActivityAggregationKind = {
|
|
996
|
+
burst: "burst",
|
|
997
|
+
conversation_session: "conversation_session",
|
|
998
|
+
operation: "operation"
|
|
999
|
+
};
|
|
1000
|
+
var ActivityCaptureState = {
|
|
1001
|
+
active: "active",
|
|
1002
|
+
not_started: "not_started"
|
|
1003
|
+
};
|
|
1004
|
+
var ActivityConfigAction = {
|
|
1005
|
+
created: "created",
|
|
1006
|
+
updated: "updated",
|
|
1007
|
+
deleted: "deleted"
|
|
1008
|
+
};
|
|
1009
|
+
var ActivityConfigArea = {
|
|
1010
|
+
inbox: "inbox",
|
|
1011
|
+
phone_number: "phone_number",
|
|
1012
|
+
business_hours: "business_hours",
|
|
1013
|
+
escalation_settings: "escalation_settings",
|
|
1014
|
+
workspace_settings: "workspace_settings"
|
|
1015
|
+
};
|
|
1016
|
+
var ActivityCoverageLimitation = {
|
|
1017
|
+
none: "none",
|
|
1018
|
+
capture_started_at_cutover: "capture_started_at_cutover",
|
|
1019
|
+
legacy_baseline_incomplete: "legacy_baseline_incomplete",
|
|
1020
|
+
deletion_may_remove_history: "deletion_may_remove_history",
|
|
1021
|
+
config_capture_started: "config_capture_started"
|
|
1022
|
+
};
|
|
1023
|
+
var ActivityDirection = {
|
|
1024
|
+
inbound: "inbound",
|
|
1025
|
+
outbound: "outbound"
|
|
1026
|
+
};
|
|
1027
|
+
var ActivityEmptyReason = {
|
|
1028
|
+
collection: "collection",
|
|
1029
|
+
period: "period",
|
|
1030
|
+
filtered: "filtered"
|
|
1031
|
+
};
|
|
1032
|
+
var ActivityEventType = {
|
|
1033
|
+
workflow_started: "workflow_started",
|
|
1034
|
+
assignment_task_transition: "assignment_task_transition",
|
|
1035
|
+
journey_status_changed: "journey_status_changed",
|
|
1036
|
+
journey_step_status_changed: "journey_step_status_changed",
|
|
1037
|
+
journey_goal_status_changed: "journey_goal_status_changed",
|
|
1038
|
+
chat_started: "chat_started",
|
|
1039
|
+
message: "message",
|
|
1040
|
+
call: "call",
|
|
1041
|
+
form_field_changed: "form_field_changed",
|
|
1042
|
+
config_changed: "config_changed"
|
|
1043
|
+
};
|
|
1044
|
+
var ActivityEventTypePreset = {
|
|
1045
|
+
communications: "communications",
|
|
1046
|
+
formUpdates: "formUpdates",
|
|
1047
|
+
workflowTask: "workflowTask",
|
|
1048
|
+
journey: "journey",
|
|
1049
|
+
configuration: "configuration"
|
|
1050
|
+
};
|
|
1051
|
+
var ActivityGoalImpact = {
|
|
1052
|
+
neutral: "neutral",
|
|
1053
|
+
success: "success",
|
|
1054
|
+
attention: "attention",
|
|
1055
|
+
failure: "failure"
|
|
1056
|
+
};
|
|
1057
|
+
var ActivityTimelineProjection = {
|
|
1058
|
+
timeline: "timeline"
|
|
1059
|
+
};
|
|
1060
|
+
var FormValueDisposition = {
|
|
1061
|
+
shown: "shown",
|
|
1062
|
+
omitted_long: "omitted_long",
|
|
1063
|
+
omitted_structured: "omitted_structured",
|
|
1064
|
+
omitted_burst: "omitted_burst"
|
|
1065
|
+
};
|
|
1066
|
+
|
|
965
1067
|
// src/types/experiment-types.ts
|
|
966
1068
|
function parseExperimentStatCount(value) {
|
|
967
1069
|
return typeof value === "number" ? value : null;
|
|
@@ -1831,7 +1933,10 @@ var SCOPES = {
|
|
|
1831
1933
|
"workflows:read": {
|
|
1832
1934
|
name: "workflows:read",
|
|
1833
1935
|
category: "workflows" /* WORKFLOWS */,
|
|
1834
|
-
|
|
1936
|
+
// Object access is separate: listing and opening a specific workflow
|
|
1937
|
+
// additionally require ownership, workflows:admin, a workflow role
|
|
1938
|
+
// association, or an access grant (WorkflowAction.USE).
|
|
1939
|
+
description: "Access the Workflows area and view workflows shared with you"
|
|
1835
1940
|
},
|
|
1836
1941
|
"workflows:write": {
|
|
1837
1942
|
name: "workflows:write",
|
|
@@ -4216,9 +4321,7 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
4216
4321
|
}
|
|
4217
4322
|
/** Get loaded and revealed skills for a chat. */
|
|
4218
4323
|
async getChatSkills(wid, chatId) {
|
|
4219
|
-
return this.fetch(
|
|
4220
|
-
`w/${wid}/chats/${chatId}/skills`
|
|
4221
|
-
);
|
|
4324
|
+
return this.fetch(`w/${wid}/chats/${chatId}/skills`);
|
|
4222
4325
|
}
|
|
4223
4326
|
/** List built-in skills selectable before a Manager Chat (and on Routine manager tasks). */
|
|
4224
4327
|
async getManagerSkills(wid) {
|
|
@@ -4831,6 +4934,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4831
4934
|
const params = new URLSearchParams();
|
|
4832
4935
|
if (options?.memberId !== void 0) params.append("member_id", options.memberId.toString());
|
|
4833
4936
|
if (options?.memberIds?.length) params.append("member_ids", options.memberIds.join(","));
|
|
4937
|
+
if (options?.recordId !== void 0) params.append("record_id", options.recordId.toString());
|
|
4834
4938
|
if (options?.search) params.append("search", options.search);
|
|
4835
4939
|
if (options?.searchField) params.append("search_field", options.searchField);
|
|
4836
4940
|
if (options?.dataRecordFilterId != null) {
|
|
@@ -4851,9 +4955,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4851
4955
|
params.append("dataTypeId", options.dataTypeId.toString());
|
|
4852
4956
|
}
|
|
4853
4957
|
const qs = params.toString();
|
|
4854
|
-
return this.fetch(
|
|
4855
|
-
`w/${wid}/data-record-filters${qs ? `?${qs}` : ""}`
|
|
4856
|
-
);
|
|
4958
|
+
return this.fetch(`w/${wid}/data-record-filters${qs ? `?${qs}` : ""}`);
|
|
4857
4959
|
}
|
|
4858
4960
|
/** Get a single data-record filter by ID. */
|
|
4859
4961
|
async getDataRecordFilter(wid, filterId) {
|
|
@@ -4881,9 +4983,7 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
4881
4983
|
}
|
|
4882
4984
|
/** Get the count of records matching a saved filter. */
|
|
4883
4985
|
async getDataRecordFilterCount(wid, filterId) {
|
|
4884
|
-
return this.fetch(
|
|
4885
|
-
`w/${wid}/data-record-filters/${filterId}/count`
|
|
4886
|
-
);
|
|
4986
|
+
return this.fetch(`w/${wid}/data-record-filters/${filterId}/count`);
|
|
4887
4987
|
}
|
|
4888
4988
|
/** Get a single data record by ID. */
|
|
4889
4989
|
async getDataRecord(wid, recordId) {
|
|
@@ -5428,6 +5528,27 @@ var EventsApi = class extends BaseApiClient {
|
|
|
5428
5528
|
method: "POST"
|
|
5429
5529
|
});
|
|
5430
5530
|
}
|
|
5531
|
+
/**
|
|
5532
|
+
* Configuration change history for one routine, newest first.
|
|
5533
|
+
*
|
|
5534
|
+
* Answers "who turned this off, when, and why" — including the
|
|
5535
|
+
* platform-initiated pauses (finite-repeat exhaustion, outbound-safety
|
|
5536
|
+
* runaway auto-pause) that no other surface exposes.
|
|
5537
|
+
*
|
|
5538
|
+
* `transitionsOnly` filters to rows that record a real trigger-gate
|
|
5539
|
+
* transition. Prefer it for a toggle-focused view: a full-form save always
|
|
5540
|
+
* re-sends every field, so unfiltered history includes saves that changed
|
|
5541
|
+
* nothing.
|
|
5542
|
+
*/
|
|
5543
|
+
async getRoutineConfigEvents(wid, id, options = {}) {
|
|
5544
|
+
const params = new URLSearchParams();
|
|
5545
|
+
if (options.limit) params.append("limit", options.limit.toString());
|
|
5546
|
+
if (options.beforeId) params.append("before_id", options.beforeId.toString());
|
|
5547
|
+
if (options.transitionsOnly) params.append("transitions_only", "true");
|
|
5548
|
+
return this.fetch(
|
|
5549
|
+
`w/${wid}/routines/${id}/history${params.toString() ? `?${params.toString()}` : ""}`
|
|
5550
|
+
);
|
|
5551
|
+
}
|
|
5431
5552
|
/** List routine run history with optional filtering by routine and status. */
|
|
5432
5553
|
async getRoutineRuns(wid, options = {}) {
|
|
5433
5554
|
const params = new URLSearchParams();
|
|
@@ -7276,6 +7397,17 @@ var MembersApi = class extends BaseApiClient {
|
|
|
7276
7397
|
}
|
|
7277
7398
|
};
|
|
7278
7399
|
|
|
7400
|
+
// src/api/activity-timeline.ts
|
|
7401
|
+
var ActivityTimelineApi = class extends BaseApiClient {
|
|
7402
|
+
/** One page of activity. Omit `cursor` for a fresh snapshot. */
|
|
7403
|
+
async queryActivityTimeline(wid, request = {}) {
|
|
7404
|
+
return this.fetch(`w/${wid}/activity-timeline/query`, {
|
|
7405
|
+
method: "POST",
|
|
7406
|
+
body: JSON.stringify(request)
|
|
7407
|
+
});
|
|
7408
|
+
}
|
|
7409
|
+
};
|
|
7410
|
+
|
|
7279
7411
|
// src/api/motd.ts
|
|
7280
7412
|
var MotdApi = class extends BaseApiClient {
|
|
7281
7413
|
/**
|
|
@@ -8413,6 +8545,7 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
8413
8545
|
if (filters?.inbound !== void 0) params.set("inbound", String(filters.inbound));
|
|
8414
8546
|
if (filters?.dateFrom) params.set("dateFrom", filters.dateFrom);
|
|
8415
8547
|
if (filters?.dateTo) params.set("dateTo", filters.dateTo);
|
|
8548
|
+
if (filters?.callId !== void 0) params.set("callId", String(filters.callId));
|
|
8416
8549
|
return this.fetch(`w/${wid}/calls?${params}`);
|
|
8417
8550
|
}
|
|
8418
8551
|
/** List paginated voicemails for a phone number. */
|
|
@@ -10396,6 +10529,8 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
10396
10529
|
qs.set("currentTaskId", String(params.currentTaskId));
|
|
10397
10530
|
if (params?.runtimeFailureEdgeId !== void 0)
|
|
10398
10531
|
qs.set("runtimeFailureEdgeId", String(params.runtimeFailureEdgeId));
|
|
10532
|
+
if (params?.memberJourneyId !== void 0)
|
|
10533
|
+
qs.set("memberJourneyId", String(params.memberJourneyId));
|
|
10399
10534
|
const query = qs.toString();
|
|
10400
10535
|
return this.fetch(
|
|
10401
10536
|
`w/${wid}/journeys/${journeyId}/members${query ? `?${query}` : ""}`
|
|
@@ -10432,6 +10567,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
10432
10567
|
async getMemberJourneys(wid, memberId) {
|
|
10433
10568
|
return this.fetch(`w/${wid}/journeys/by-member/${memberId}`);
|
|
10434
10569
|
}
|
|
10570
|
+
/**
|
|
10571
|
+
* Status history for one enrollment — the per-member journey timeline.
|
|
10572
|
+
*
|
|
10573
|
+
* This is where a step that completed having emitted nothing shows up as
|
|
10574
|
+
* `zeroEmission: true` with its reason, instead of being indistinguishable
|
|
10575
|
+
* from a step that sent (GRA-7341). Newest first.
|
|
10576
|
+
*
|
|
10577
|
+
* PHI-safe: identifiers, closed status codes, operator-authored step names,
|
|
10578
|
+
* counts, and timestamps. `entry.reason` is populated only for rows the
|
|
10579
|
+
* server allowlists; every other row reports `reasonRedacted: true`.
|
|
10580
|
+
*
|
|
10581
|
+
* `zeroEmissionOnly` narrows the page to the dropped-send rows. Use it when
|
|
10582
|
+
* that is all you need: without it a busy enrollment can push every
|
|
10583
|
+
* zero-emission row off the first page, and a caller that renders only what
|
|
10584
|
+
* it loaded would report "nothing was dropped" — the exact failure this
|
|
10585
|
+
* endpoint exists to eliminate. `zeroEmissionCount` is unaffected by the
|
|
10586
|
+
* filter and always counts the whole enrollment.
|
|
10587
|
+
*/
|
|
10588
|
+
async getEnrollmentStatusLog(wid, journeyId, memberJourneyId, params = {}) {
|
|
10589
|
+
const qs = new URLSearchParams();
|
|
10590
|
+
if (params.page !== void 0) qs.set("page", String(params.page));
|
|
10591
|
+
if (params.pageSize !== void 0) qs.set("pageSize", String(params.pageSize));
|
|
10592
|
+
if (params.zeroEmissionOnly !== void 0) {
|
|
10593
|
+
qs.set("zeroEmissionOnly", String(params.zeroEmissionOnly));
|
|
10594
|
+
}
|
|
10595
|
+
const query = qs.toString();
|
|
10596
|
+
return this.fetch(
|
|
10597
|
+
`w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query ? `?${query}` : "")
|
|
10598
|
+
);
|
|
10599
|
+
}
|
|
10435
10600
|
/** List members currently or historically associated with one journey step. */
|
|
10436
10601
|
async getStepMembers(wid, journeyId, stepUuid, params = {}) {
|
|
10437
10602
|
const qs = new URLSearchParams();
|
|
@@ -11402,6 +11567,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
11402
11567
|
connectionSync: new ConnectionSyncApi(apiKey, baseUrl, customFetch),
|
|
11403
11568
|
mcpServers: new McpServersApi(apiKey, baseUrl, customFetch),
|
|
11404
11569
|
members: new MembersApi(apiKey, baseUrl, customFetch),
|
|
11570
|
+
activityTimeline: new ActivityTimelineApi(apiKey, baseUrl, customFetch),
|
|
11405
11571
|
motd: new MotdApi(apiKey, baseUrl, customFetch),
|
|
11406
11572
|
trackedLinks: new TrackedLinksApi(apiKey, baseUrl, customFetch),
|
|
11407
11573
|
confluence: new ConfluenceApi(apiKey, baseUrl, customFetch),
|
|
@@ -11779,6 +11945,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11779
11945
|
"getDocumoFaxSetup",
|
|
11780
11946
|
"listDocumoFaxes",
|
|
11781
11947
|
"getDocumoFaxStatus",
|
|
11948
|
+
"getEnrollmentStatusLog",
|
|
11782
11949
|
"getEventRule",
|
|
11783
11950
|
"getEventRules",
|
|
11784
11951
|
"getExperiment",
|
|
@@ -11806,6 +11973,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11806
11973
|
"listChatRecordings",
|
|
11807
11974
|
"previewQuery",
|
|
11808
11975
|
"publishSiteSource",
|
|
11976
|
+
"queryActivityTimeline",
|
|
11809
11977
|
"registerDiscordSlashCommands",
|
|
11810
11978
|
"reopenWorkspaceSupportRequest",
|
|
11811
11979
|
"resetSiteSource",
|
|
@@ -11923,6 +12091,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11923
12091
|
"getRecordingInfo",
|
|
11924
12092
|
"getResellerWorkspaces",
|
|
11925
12093
|
"getRoutine",
|
|
12094
|
+
"getRoutineConfigEvents",
|
|
11926
12095
|
"getRoutineRuns",
|
|
11927
12096
|
"getRoutines",
|
|
11928
12097
|
"getRuleExecutions",
|
|
@@ -12378,6 +12547,11 @@ function bindDashboardsMethods(target, dashboards) {
|
|
|
12378
12547
|
target.getConfigurationHealth = dashboards.getConfigurationHealth.bind(dashboards);
|
|
12379
12548
|
}
|
|
12380
12549
|
|
|
12550
|
+
// src/client/bindings/activity-timeline.ts
|
|
12551
|
+
function bindActivityTimelineMethods(target, activityTimeline) {
|
|
12552
|
+
target.queryActivityTimeline = activityTimeline.queryActivityTimeline.bind(activityTimeline);
|
|
12553
|
+
}
|
|
12554
|
+
|
|
12381
12555
|
// src/client/bindings/motd.ts
|
|
12382
12556
|
function bindMotdMethods(target, motd) {
|
|
12383
12557
|
target.getMotd = motd.getMotd.bind(motd);
|
|
@@ -13235,6 +13409,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
13235
13409
|
target.reenrollMember = journeys.reenrollMember.bind(journeys);
|
|
13236
13410
|
target.deleteEnrollment = journeys.deleteEnrollment.bind(journeys);
|
|
13237
13411
|
target.getMemberJourneys = journeys.getMemberJourneys.bind(journeys);
|
|
13412
|
+
target.getEnrollmentStatusLog = journeys.getEnrollmentStatusLog.bind(journeys);
|
|
13238
13413
|
target.getStepMembers = journeys.getStepMembers.bind(journeys);
|
|
13239
13414
|
target.getStepMemberCounts = journeys.getStepMemberCounts.bind(journeys);
|
|
13240
13415
|
target.advanceStep = journeys.advanceStep.bind(journeys);
|
|
@@ -13572,6 +13747,8 @@ var GravityRailClient = class {
|
|
|
13572
13747
|
getDashboardChannelStats;
|
|
13573
13748
|
getDashboardWorkflowAssignmentStats;
|
|
13574
13749
|
getConfigurationHealth;
|
|
13750
|
+
// Activity Timeline API
|
|
13751
|
+
queryActivityTimeline;
|
|
13575
13752
|
// MOTD API
|
|
13576
13753
|
getMotd;
|
|
13577
13754
|
// Tracked Links analytics (#10934)
|
|
@@ -13607,6 +13784,7 @@ var GravityRailClient = class {
|
|
|
13607
13784
|
reenrollMember;
|
|
13608
13785
|
deleteEnrollment;
|
|
13609
13786
|
getMemberJourneys;
|
|
13787
|
+
getEnrollmentStatusLog;
|
|
13610
13788
|
getStepMembers;
|
|
13611
13789
|
getStepMemberCounts;
|
|
13612
13790
|
advanceStep;
|
|
@@ -13908,6 +14086,7 @@ var GravityRailClient = class {
|
|
|
13908
14086
|
updateRoutine;
|
|
13909
14087
|
deleteRoutine;
|
|
13910
14088
|
runRoutine;
|
|
14089
|
+
getRoutineConfigEvents;
|
|
13911
14090
|
getRoutineRuns;
|
|
13912
14091
|
resetRoutineRuns;
|
|
13913
14092
|
previewSchedule;
|
|
@@ -14373,6 +14552,7 @@ var GravityRailClient = class {
|
|
|
14373
14552
|
bindMetricsMethods(this, apis.metrics);
|
|
14374
14553
|
bindQueriesMethods(this, apis.queries);
|
|
14375
14554
|
bindDashboardsMethods(this, apis.dashboards);
|
|
14555
|
+
bindActivityTimelineMethods(this, apis.activityTimeline);
|
|
14376
14556
|
bindMotdMethods(this, apis.motd);
|
|
14377
14557
|
bindTrackedLinksMethods(this, apis.trackedLinks);
|
|
14378
14558
|
bindJourneysMethods(this, apis.journeys);
|
|
@@ -14544,6 +14724,18 @@ var GravityRailClient = class {
|
|
|
14544
14724
|
AccessGrantTrigger,
|
|
14545
14725
|
AccessGrantsApi,
|
|
14546
14726
|
AccessLevel,
|
|
14727
|
+
ActivityActorKind,
|
|
14728
|
+
ActivityAggregationKind,
|
|
14729
|
+
ActivityCaptureState,
|
|
14730
|
+
ActivityConfigAction,
|
|
14731
|
+
ActivityConfigArea,
|
|
14732
|
+
ActivityCoverageLimitation,
|
|
14733
|
+
ActivityDirection,
|
|
14734
|
+
ActivityEmptyReason,
|
|
14735
|
+
ActivityEventType,
|
|
14736
|
+
ActivityEventTypePreset,
|
|
14737
|
+
ActivityGoalImpact,
|
|
14738
|
+
ActivityTimelineProjection,
|
|
14547
14739
|
AgentTasksApi,
|
|
14548
14740
|
AgentsApi,
|
|
14549
14741
|
ApiError,
|
|
@@ -14611,6 +14803,7 @@ var GravityRailClient = class {
|
|
|
14611
14803
|
FhirConnectionsApi,
|
|
14612
14804
|
FhirVendor,
|
|
14613
14805
|
FilesApi,
|
|
14806
|
+
FormValueDisposition,
|
|
14614
14807
|
GravityRailClient,
|
|
14615
14808
|
HealthieApi,
|
|
14616
14809
|
HubspotApi,
|
|
@@ -14696,7 +14889,8 @@ var GravityRailClient = class {
|
|
|
14696
14889
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
14697
14890
|
STT_MODEL_DEEPGRAM_FLUX,
|
|
14698
14891
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
14699
|
-
|
|
14892
|
+
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
14893
|
+
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
14700
14894
|
SalesforceApi,
|
|
14701
14895
|
Scope,
|
|
14702
14896
|
ScopeCategory,
|
|
@@ -14736,6 +14930,7 @@ var GravityRailClient = class {
|
|
|
14736
14930
|
areDependenciesSatisfied,
|
|
14737
14931
|
asIdentifiedMemberContactConflict,
|
|
14738
14932
|
bindAccessGrantsMethods,
|
|
14933
|
+
bindActivityTimelineMethods,
|
|
14739
14934
|
bindAgentTasksMethods,
|
|
14740
14935
|
bindAgentsMethods,
|
|
14741
14936
|
bindAppsMethods,
|