@gravity-rail/sdk 0.42.0 → 0.44.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.
Files changed (32) hide show
  1. package/dist/{chat-interaction-C9dD0qbD.d.ts → chat-interaction-RFnlmlbW.d.ts} +822 -54
  2. package/dist/{chat-interaction-BBBeSKGl.d.cts → chat-interaction-WwLDUIWO.d.cts} +822 -54
  3. package/dist/{chunk-JTOMGNUO.js → chunk-JKML6WOA.js} +258 -10
  4. package/dist/chunk-JKML6WOA.js.map +1 -0
  5. package/dist/helpers.d.cts +4 -4
  6. package/dist/helpers.d.ts +4 -4
  7. package/dist/index.cjs +265 -9
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +6 -6
  10. package/dist/index.d.ts +6 -6
  11. package/dist/index.js +17 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/internal.cjs +265 -9
  14. package/dist/internal.cjs.map +1 -1
  15. package/dist/internal.d.cts +5 -5
  16. package/dist/internal.d.ts +5 -5
  17. package/dist/internal.js +17 -1
  18. package/dist/internal.js.map +1 -1
  19. package/dist/{member-import-BXReoljG.d.cts → member-import-D6KvS3Zg.d.cts} +1 -1
  20. package/dist/{member-import-jjfQHlWl.d.ts → member-import-mE0BhGIw.d.ts} +1 -1
  21. package/dist/{revision-state-Bp7WKk6z.d.cts → revision-state-DuuRwvkZ.d.ts} +30 -3
  22. package/dist/{revision-state-QkNQXWJC.d.ts → revision-state-DykZ8uuN.d.cts} +30 -3
  23. package/dist/schemas.cjs +12 -3
  24. package/dist/schemas.cjs.map +1 -1
  25. package/dist/schemas.d.cts +10 -2
  26. package/dist/schemas.d.ts +10 -2
  27. package/dist/schemas.js +12 -3
  28. package/dist/schemas.js.map +1 -1
  29. package/dist/{tasks-BsLI-h11.d.cts → tasks-DAPby6cw.d.cts} +60 -1
  30. package/dist/{tasks-BsLI-h11.d.ts → tasks-DAPby6cw.d.ts} +60 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-JTOMGNUO.js.map +0 -1
@@ -174,6 +174,27 @@ var BundlesApi = class extends BaseApiClient {
174
174
  async listBundleWorkflowCandidates(wid) {
175
175
  return this.fetch(bundlesPath(wid, "workflow-candidates"));
176
176
  }
177
+ /**
178
+ * This workspace's Journeys for the Bundle picker, by name. Nothing is built
179
+ * for the list. `available` is false while the server refuses Journey items.
180
+ * Requires `workflows:admin` and `journeys:write`.
181
+ */
182
+ async listBundleJourneyCandidates(wid) {
183
+ return this.fetch(bundlesPath(wid, "journey-candidates"));
184
+ }
185
+ /**
186
+ * One Journey as the Bundle item that adds it: the whole Journey item the
187
+ * server built (`item`), the Forms its conditions read and the Workflows its
188
+ * actions start, or the `problems` that name what the Journey must change
189
+ * first. The item never carries enrollment; `enrollmentOmitted` says the
190
+ * Journey has automatic enrollment that was left out. Requires
191
+ * `workflows:admin` and `journeys:write`.
192
+ */
193
+ async getBundleJourneyCandidate(wid, journeyUuid) {
194
+ return this.fetch(
195
+ bundlesPath(wid, "journey-candidates", journeyUuid)
196
+ );
197
+ }
177
198
  /** Create an empty Bundle owned by this workspace. */
178
199
  async createBundle(wid, data) {
179
200
  return this.fetch(bundlesPath(wid), {
@@ -267,9 +288,18 @@ var InstallationsApi = class extends BaseApiClient {
267
288
  { method: "POST", body: JSON.stringify(data) }
268
289
  );
269
290
  }
270
- /** Every installation this workspace holds, oldest first. */
271
- async listInstallations(wid) {
272
- return this.fetch(installationsPath(wid));
291
+ /**
292
+ * Every attached installation this workspace holds, oldest first.
293
+ *
294
+ * With `includeDetached`, detached installations are listed too
295
+ * (`subscribed: false`). A detached Bundle cannot be installed again at the
296
+ * version its row holds.
297
+ */
298
+ async listInstallations(wid, options = {}) {
299
+ const path = installationsPath(wid);
300
+ return this.fetch(
301
+ options.includeDetached ? `${path}?includeDetached=true` : path
302
+ );
273
303
  }
274
304
  async getInstallation(wid, installationUuid) {
275
305
  return this.fetch(installationsPath(wid, installationUuid));
@@ -1565,9 +1595,25 @@ var CallsApi = class extends BaseApiClient {
1565
1595
  `w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
1566
1596
  );
1567
1597
  }
1568
- /** Get message timing data for a chat recording. */
1569
- async getMessageTiming(wid, chatId) {
1570
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/message-timing`);
1598
+ /**
1599
+ * Get message timing data for a chat recording. `source` selects whose
1600
+ * timeline the offsets are measured against; omitted means `standard`.
1601
+ */
1602
+ async getMessageTiming(wid, chatId, options = {}) {
1603
+ const params = new URLSearchParams();
1604
+ if (options.source) params.set("source", options.source);
1605
+ return this.fetch(
1606
+ `w/${wid}/recordings/chat/${chatId}/message-timing${params.toString() ? `?${params.toString()}` : ""}`
1607
+ );
1608
+ }
1609
+ /**
1610
+ * Staff-only discovery of retained edge-stream capture for a chat:
1611
+ * whether any is retained, its aggregate coverage status, the interval it
1612
+ * covers, and closed reason codes. `available: false` when nothing is
1613
+ * retained; 403 for anyone who is not Gravity Rail staff.
1614
+ */
1615
+ async getEdgeCaptureInfo(wid, chatId) {
1616
+ return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
1571
1617
  }
1572
1618
  /**
1573
1619
  * Get PHI-safe provenance metadata for the recording served by
@@ -1937,6 +1983,19 @@ var ChatsApi = class extends BaseApiClient {
1937
1983
  `w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
1938
1984
  );
1939
1985
  }
1986
+ /** Who moved the chat's Assignment between Tasks, for a time window.
1987
+ * Pair it with `getChatMessages`: pass the window the message page covers as
1988
+ * `after` / `before` (ISO-8601, inclusive). The newest `limit` moves in the
1989
+ * window come back, oldest first. */
1990
+ async getChatTaskTransitions(wid, id, options) {
1991
+ const params = new URLSearchParams();
1992
+ if (options?.after) params.append("after", options.after);
1993
+ if (options?.before) params.append("before", options.before);
1994
+ if (options?.limit) params.append("limit", options.limit.toString());
1995
+ return this.fetch(
1996
+ `w/${wid}/chats/${id}/task-transitions${params.toString() ? `?${params.toString()}` : ""}`
1997
+ );
1998
+ }
1940
1999
  /** List the background-work thread hanging off a message.
1941
2000
  *
1942
2001
  * When a tool trajectory outgrows its turn it detaches and runs in the
@@ -5260,7 +5319,8 @@ var OrgApi = class extends BaseApiClient {
5260
5319
  return this.fetch(`o/${orgIdOrUuid}/bundles`);
5261
5320
  }
5262
5321
  /**
5263
- * Update the settings an org admin owns: name, slug and contact details.
5322
+ * Update the settings an org admin owns: name, slug, contact details and
5323
+ * the security contact.
5264
5324
  *
5265
5325
  * Deliberately NOT the admin organization update — `enforceCreditLimit`
5266
5326
  * is superuser-only and is not a field on this endpoint's request model
@@ -6761,6 +6821,32 @@ var QualificationsApi = class extends BaseApiClient {
6761
6821
  async getTestChatRun(wid, runId) {
6762
6822
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
6763
6823
  }
6824
+ /**
6825
+ * What a test run sent and received on other channels: each SMS, WhatsApp
6826
+ * message, email, call, notification and escalation it prepared, and each
6827
+ * message its Persona sent to the workspace, with content, oldest first.
6828
+ * `chatId` is the run's Chat. The list covers the whole run, including the
6829
+ * other Chats it produced. One entry per Member reached, naming the Member
6830
+ * and the workspace phone number or inbox used. Nothing in the list was
6831
+ * delivered. `truncated` means the list is incomplete. A Chat that is not
6832
+ * a test run's Chat has an empty list. Read access is the Chat's own.
6833
+ */
6834
+ async listChatCapturedEffects(wid, chatId) {
6835
+ return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
6836
+ }
6837
+ /**
6838
+ * What a test run did to its test Member's records: each record created,
6839
+ * each update and each deletion from the run's start, oldest first, with
6840
+ * the fields touched and their values before and after. `chatId` is the
6841
+ * run's Chat. A scenario's seeded records are the first changes. One entry
6842
+ * per operation on one record, naming the Form and the Member who acted.
6843
+ * `truncated` means the list is incomplete. A Chat that is not a test
6844
+ * run's Chat has an empty list. Requires `records:read` and read access to
6845
+ * the Chat; a Form, record or field the caller may not read is left out.
6846
+ */
6847
+ async listChatRecordChanges(wid, chatId) {
6848
+ return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
6849
+ }
6764
6850
  async startTestChatRun(wid, workflowId, data = {}) {
6765
6851
  return this.fetch(
6766
6852
  `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
@@ -6770,6 +6856,36 @@ var QualificationsApi = class extends BaseApiClient {
6770
6856
  }
6771
6857
  );
6772
6858
  }
6859
+ /**
6860
+ * Take an email turn in the run's own Chat as its Persona. The email is a
6861
+ * Message of that Chat and the email Agent turn runs on it; no Inbox and no
6862
+ * routing is involved. The call returns after the Agent's turn with the
6863
+ * reply the run captured, which is never sent.
6864
+ */
6865
+ async takeTestChatRunEmailTurn(wid, runId, data) {
6866
+ return this.fetch(
6867
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
6868
+ {
6869
+ method: "POST",
6870
+ body: JSON.stringify(data)
6871
+ }
6872
+ );
6873
+ }
6874
+ /**
6875
+ * Take a text turn in the run's own Chat as its Persona. The text is a
6876
+ * Message of that Chat and the SMS turn runs on it; no workspace phone
6877
+ * number and no routing is involved. The call returns after the Agent's
6878
+ * turn with the reply the run captured, which is never sent.
6879
+ */
6880
+ async takeTestChatRunSmsTurn(wid, runId, data) {
6881
+ return this.fetch(
6882
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
6883
+ {
6884
+ method: "POST",
6885
+ body: JSON.stringify(data)
6886
+ }
6887
+ );
6888
+ }
6773
6889
  async evaluateTestChatRun(wid, runId) {
6774
6890
  await this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/evaluate`, {
6775
6891
  method: "POST"
@@ -8774,6 +8890,17 @@ var WorkflowsApi = class extends BaseApiClient {
8774
8890
  `w/${wid}/workflows/${workflowId}/validate-config`
8775
8891
  );
8776
8892
  }
8893
+ /**
8894
+ * Classify the prompts of a Workflow's draft revision.
8895
+ *
8896
+ * A decision model reads each Task that has a prompt and reports which
8897
+ * prompt classifications probably apply. Each call asks the model again.
8898
+ */
8899
+ async getWorkflowPromptClassifications(wid, workflowId) {
8900
+ return this.fetch(
8901
+ `w/${wid}/workflows/${workflowId}/prompt-classifications`
8902
+ );
8903
+ }
8777
8904
  /**
8778
8905
  * Replay automatic routing for a Chat without performing the transition.
8779
8906
  *
@@ -9127,6 +9254,34 @@ var BulkMemberResultStatus = {
9127
9254
  conflict: "conflict",
9128
9255
  skipped: "skipped"
9129
9256
  };
9257
+ var MemberImportIssueCode = {
9258
+ csv_unreadable: "csv_unreadable",
9259
+ too_many_rows: "too_many_rows",
9260
+ duplicate_column: "duplicate_column",
9261
+ form_column_format: "form_column_format",
9262
+ form_data_type_unknown: "form_data_type_unknown",
9263
+ form_field_unknown: "form_field_unknown",
9264
+ member_field_column_format: "member_field_column_format",
9265
+ salesforce_not_connected: "salesforce_not_connected",
9266
+ member_keys_unknown: "member_keys_unknown",
9267
+ member_keys_uncorroborated: "member_keys_uncorroborated",
9268
+ notify_value_invalid: "notify_value_invalid",
9269
+ consent_date_invalid: "consent_date_invalid",
9270
+ date_of_birth_invalid: "date_of_birth_invalid",
9271
+ conflict_resolution_invalid: "conflict_resolution_invalid",
9272
+ salesforce_id_invalid: "salesforce_id_invalid",
9273
+ member_id_invalid: "member_id_invalid",
9274
+ member_uuid_invalid: "member_uuid_invalid",
9275
+ member_id_not_found: "member_id_not_found",
9276
+ member_uuid_not_found: "member_uuid_not_found",
9277
+ member_key_conflict: "member_key_conflict",
9278
+ phone_invalid: "phone_invalid",
9279
+ email_ambiguous: "email_ambiguous",
9280
+ member_archived: "member_archived",
9281
+ role_requires_account: "role_requires_account",
9282
+ contact_required: "contact_required",
9283
+ row_invalid: "row_invalid"
9284
+ };
9130
9285
  var MemberImportMatchInfoMatchType = {
9131
9286
  id: "id",
9132
9287
  uuid: "uuid",
@@ -9561,6 +9716,7 @@ var TestChatRunLane = {
9561
9716
  text: "text",
9562
9717
  web_realtime: "web_realtime",
9563
9718
  core_agent_only: "core_agent_only",
9719
+ phone_call: "phone_call",
9564
9720
  unsupported: "unsupported",
9565
9721
  unknown: "unknown"
9566
9722
  };
@@ -9574,6 +9730,56 @@ var TestChatRunOutcome = {
9574
9730
  instrument_failure: "instrument_failure"
9575
9731
  };
9576
9732
 
9733
+ // src/types/generated/captured_effect.ts
9734
+ var CapturedEffectDirection = {
9735
+ outbound: "outbound",
9736
+ inbound: "inbound"
9737
+ };
9738
+ var CapturedEffectKind = {
9739
+ sms: "sms",
9740
+ whatsapp: "whatsapp",
9741
+ email: "email",
9742
+ phone_call: "phone_call",
9743
+ notification: "notification",
9744
+ escalation: "escalation"
9745
+ };
9746
+
9747
+ // src/types/generated/test_call_routing.ts
9748
+ var CallNotAnsweredBranch = {
9749
+ voice_disabled: "voice_disabled",
9750
+ fax_line: "fax_line",
9751
+ rings_operators: "rings_operators",
9752
+ forwards: "forwards",
9753
+ voicemail: "voicemail",
9754
+ plays_message: "plays_message",
9755
+ no_route: "no_route",
9756
+ voice_unavailable: "voice_unavailable",
9757
+ entry_denied: "entry_denied"
9758
+ };
9759
+
9760
+ // src/types/generated/test_chat_run_inbound.ts
9761
+ var InboundRefusal = {
9762
+ run_not_found: "run_not_found",
9763
+ run_ended: "run_ended",
9764
+ sender_not_synthetic: "sender_not_synthetic",
9765
+ sender_is_anonymous: "sender_is_anonymous",
9766
+ sender_has_no_phone: "sender_has_no_phone",
9767
+ destination_not_in_workspace: "destination_not_in_workspace"
9768
+ };
9769
+ var PhoneRunRefusal = {
9770
+ call_not_answered: "call_not_answered",
9771
+ number_routes_to_other_workflow: "number_routes_to_other_workflow",
9772
+ phone_run_needs_a_person: "phone_run_needs_a_person",
9773
+ number_needs_the_phone_channel: "number_needs_the_phone_channel"
9774
+ };
9775
+
9776
+ // src/types/generated/record_change.ts
9777
+ var RecordChangeKind = {
9778
+ created: "created",
9779
+ updated: "updated",
9780
+ deleted: "deleted"
9781
+ };
9782
+
9577
9783
  // src/types/generated/qualification_health_service.ts
9578
9784
  var ScenarioHealthCaption = {
9579
9785
  recent_passes: "recent_passes",
@@ -9608,7 +9814,6 @@ var RevisionHistorySegment = {
9608
9814
 
9609
9815
  // src/types/generated/qualification_run_identity.ts
9610
9816
  var ScenarioRunBlocker = {
9611
- missing_persona: "missing_persona",
9612
9817
  archived_persona: "archived_persona"
9613
9818
  };
9614
9819
 
@@ -11864,6 +12069,7 @@ var WORKSPACE_METHOD_NAMES = [
11864
12069
  "getInstallationReadiness",
11865
12070
  "getThemeSettingsSchema",
11866
12071
  "getBundleDraft",
12072
+ "getBundleJourneyCandidate",
11867
12073
  "getBundle",
11868
12074
  "getBundleVersion",
11869
12075
  "getBusinessHoursStatus",
@@ -11895,6 +12101,7 @@ var WORKSPACE_METHOD_NAMES = [
11895
12101
  "getChatLabels",
11896
12102
  "getChatMachineResources",
11897
12103
  "getChatMessages",
12104
+ "getChatTaskTransitions",
11898
12105
  "getChatModelOverride",
11899
12106
  "getChatPhoneCalls",
11900
12107
  "getChatSkills",
@@ -11952,6 +12159,7 @@ var WORKSPACE_METHOD_NAMES = [
11952
12159
  "getDocumoFaxSetup",
11953
12160
  "listDocumoFaxes",
11954
12161
  "getDocumoFaxStatus",
12162
+ "getEdgeCaptureInfo",
11955
12163
  "getEnrollmentStatusLog",
11956
12164
  "getEventRule",
11957
12165
  "getEventRules",
@@ -12174,6 +12382,7 @@ var WORKSPACE_METHOD_NAMES = [
12174
12382
  "getWorkflowActivity",
12175
12383
  "getWorkflowConfigValidation",
12176
12384
  "getWorkflowFeedback",
12385
+ "getWorkflowPromptClassifications",
12177
12386
  "getWorkflowContributors",
12178
12387
  "getWorkflowDeletionPreview",
12179
12388
  "getWorkflowDiagram",
@@ -12232,6 +12441,7 @@ var WORKSPACE_METHOD_NAMES = [
12232
12441
  "listAvailableAppConnections",
12233
12442
  "listInstallations",
12234
12443
  "listBundleGrants",
12444
+ "listBundleJourneyCandidates",
12235
12445
  "listBundleVersions",
12236
12446
  "listBundles",
12237
12447
  "listBundleWorkflowCandidates",
@@ -12268,6 +12478,10 @@ var WORKSPACE_METHOD_NAMES = [
12268
12478
  "listSalesforceObjects",
12269
12479
  "listScenarioHealthSummaries",
12270
12480
  "listScenarios",
12481
+ "listChatCapturedEffects",
12482
+ "listChatRecordChanges",
12483
+ "takeTestChatRunEmailTurn",
12484
+ "takeTestChatRunSmsTurn",
12271
12485
  "listTestChatRuns",
12272
12486
  "listWidgetDomains",
12273
12487
  "listWorkspaceInvitationsAdmin",
@@ -12577,6 +12791,7 @@ function bindChatsMethods(target, chats) {
12577
12791
  target.updateChatMute = chats.updateChatMute.bind(chats);
12578
12792
  target.summarizeChat = chats.summarizeChat.bind(chats);
12579
12793
  target.getChatMessages = chats.getChatMessages.bind(chats);
12794
+ target.getChatTaskTransitions = chats.getChatTaskTransitions.bind(chats);
12580
12795
  target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
12581
12796
  target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
12582
12797
  target.getChatTools = chats.getChatTools.bind(chats);
@@ -12611,6 +12826,7 @@ function bindCallsMethods(target, calls, cel) {
12611
12826
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
12612
12827
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
12613
12828
  target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
12829
+ target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
12614
12830
  target.listChatRecordings = calls.listChatRecordings.bind(calls);
12615
12831
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
12616
12832
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -13097,6 +13313,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
13097
13313
  target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
13098
13314
  target.getTaskChats = workflows.getTaskChats.bind(workflows);
13099
13315
  target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
13316
+ target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
13100
13317
  target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
13101
13318
  target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
13102
13319
  target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
@@ -13583,6 +13800,8 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
13583
13800
  target.listBundleInstallations = bundles.listBundleInstallations.bind(bundles);
13584
13801
  target.listBundles = bundles.listBundles.bind(bundles);
13585
13802
  target.listBundleWorkflowCandidates = bundles.listBundleWorkflowCandidates.bind(bundles);
13803
+ target.listBundleJourneyCandidates = bundles.listBundleJourneyCandidates.bind(bundles);
13804
+ target.getBundleJourneyCandidate = bundles.getBundleJourneyCandidate.bind(bundles);
13586
13805
  target.createBundle = bundles.createBundle.bind(bundles);
13587
13806
  target.getBundleDraft = bundles.getBundleDraft.bind(bundles);
13588
13807
  target.replaceBundleDraft = bundles.replaceBundleDraft.bind(bundles);
@@ -13670,6 +13889,10 @@ function bindQualificationsMethods(target, qualifications) {
13670
13889
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
13671
13890
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
13672
13891
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
13892
+ target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
13893
+ target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
13894
+ target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
13895
+ target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
13673
13896
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
13674
13897
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
13675
13898
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -13822,6 +14045,7 @@ var GravityRailClient = class {
13822
14045
  updateChatMute;
13823
14046
  summarizeChat;
13824
14047
  getChatMessages;
14048
+ getChatTaskTransitions;
13825
14049
  getChildThreadMessages;
13826
14050
  getChatToolCallMessages;
13827
14051
  getChatTools;
@@ -13853,6 +14077,7 @@ var GravityRailClient = class {
13853
14077
  getPhoneCalls;
13854
14078
  getMessageTiming;
13855
14079
  getRecordingInfo;
14080
+ getEdgeCaptureInfo;
13856
14081
  listChatRecordings;
13857
14082
  getCallRecordingDownloadUrl;
13858
14083
  getCelContext;
@@ -13996,6 +14221,10 @@ var GravityRailClient = class {
13996
14221
  listTestChatRuns;
13997
14222
  listScenarioHealthSummaries;
13998
14223
  getTestChatRun;
14224
+ listChatCapturedEffects;
14225
+ listChatRecordChanges;
14226
+ takeTestChatRunEmailTurn;
14227
+ takeTestChatRunSmsTurn;
13999
14228
  startTestChatRun;
14000
14229
  evaluateTestChatRun;
14001
14230
  endTestChatRun;
@@ -14114,6 +14343,8 @@ var GravityRailClient = class {
14114
14343
  getPublicBundle;
14115
14344
  listBundles;
14116
14345
  listBundleWorkflowCandidates;
14346
+ listBundleJourneyCandidates;
14347
+ getBundleJourneyCandidate;
14117
14348
  createBundle;
14118
14349
  getBundleDraft;
14119
14350
  replaceBundleDraft;
@@ -14490,6 +14721,7 @@ var GravityRailClient = class {
14490
14721
  getWorkflowTaskAssignmentStats;
14491
14722
  getTaskChats;
14492
14723
  getWorkflowConfigValidation;
14724
+ getWorkflowPromptClassifications;
14493
14725
  getWorkflowNotes;
14494
14726
  createWorkflowNote;
14495
14727
  updateWorkflowNote;
@@ -15199,6 +15431,15 @@ var ChatMuteReason = {
15199
15431
  not_mine: "not_mine"
15200
15432
  };
15201
15433
 
15434
+ // src/types/generated/assignment_task_transition.ts
15435
+ var TaskTransitionInitiator = {
15436
+ member: "member",
15437
+ agent: "agent",
15438
+ event_rule: "event_rule",
15439
+ auto_next: "auto_next",
15440
+ system: "system"
15441
+ };
15442
+
15202
15443
  // src/types/generated/ehr_writeback.ts
15203
15444
  var EhrWritebackOutcomeResponseStatus = {
15204
15445
  accepted: "accepted",
@@ -15335,7 +15576,6 @@ var AbilityConfigIssueCode = {
15335
15576
  feature_disabled: "feature_disabled",
15336
15577
  missing_connection: "missing_connection",
15337
15578
  external_drift: "external_drift",
15338
- missing_task_instructions: "missing_task_instructions",
15339
15579
  no_qualification_scenarios: "no_qualification_scenarios"
15340
15580
  };
15341
15581
  var AbilityConfigIssueSeverity = {
@@ -16474,6 +16714,7 @@ export {
16474
16714
  encodePermissions,
16475
16715
  Scope,
16476
16716
  BulkMemberResultStatus,
16717
+ MemberImportIssueCode,
16477
16718
  MemberImportMatchInfoMatchType,
16478
16719
  MemberImportPreviewRowAction,
16479
16720
  MergeMemberRolesRequestAccessStrategy,
@@ -16533,6 +16774,12 @@ export {
16533
16774
  RunHealthCategory,
16534
16775
  TestChatRunLane,
16535
16776
  TestChatRunOutcome,
16777
+ CapturedEffectDirection,
16778
+ CapturedEffectKind,
16779
+ CallNotAnsweredBranch,
16780
+ InboundRefusal,
16781
+ PhoneRunRefusal,
16782
+ RecordChangeKind,
16536
16783
  ScenarioHealthCaption,
16537
16784
  ScenarioHealthHeadline,
16538
16785
  ScenarioHealthSampleNote,
@@ -16617,6 +16864,7 @@ export {
16617
16864
  ChannelMessageSource,
16618
16865
  ChannelMessagesUnavailableReason,
16619
16866
  ChatMuteReason,
16867
+ TaskTransitionInitiator,
16620
16868
  EhrWritebackOutcomeResponseStatus,
16621
16869
  SMS_DELIVERY_FAILURE_STATUSES,
16622
16870
  isSMSDeliveryFailureStatus,
@@ -16689,4 +16937,4 @@ export {
16689
16937
  SCOPE_PRESETS,
16690
16938
  getRevisionState
16691
16939
  };
16692
- //# sourceMappingURL=chunk-JTOMGNUO.js.map
16940
+ //# sourceMappingURL=chunk-JKML6WOA.js.map