@gravity-rail/sdk 0.43.0 → 0.45.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.
@@ -1,5 +1,5 @@
1
- import { gq as GravityRailClient } from './chat-interaction-DKt3ggnZ.cjs';
2
- export { ce as ChatInteractionController } from './chat-interaction-DKt3ggnZ.cjs';
1
+ import { g7 as GravityRailClient } from './chat-interaction-CGNwztoc.cjs';
2
+ export { ce as ChatInteractionController } from './chat-interaction-CGNwztoc.cjs';
3
3
  import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-DAPby6cw.cjs';
4
4
  export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-D6KvS3Zg.cjs';
5
5
  import 'zod';
package/dist/helpers.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { gq as GravityRailClient } from './chat-interaction-DMd-Wtcg.js';
2
- export { ce as ChatInteractionController } from './chat-interaction-DMd-Wtcg.js';
1
+ import { g7 as GravityRailClient } from './chat-interaction-DRn2dJ2X.js';
2
+ export { ce as ChatInteractionController } from './chat-interaction-DRn2dJ2X.js';
3
3
  import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-DAPby6cw.js';
4
4
  export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-mE0BhGIw.js';
5
5
  import 'zod';
package/dist/index.cjs CHANGED
@@ -59,7 +59,6 @@ __export(src_exports, {
59
59
  CalendarScheduleAvailabilityType: () => CalendarScheduleAvailabilityType,
60
60
  CalendarScheduleRecurrence: () => CalendarScheduleRecurrence,
61
61
  CalendarSource: () => CalendarSource,
62
- CallNotAnsweredBranch: () => CallNotAnsweredBranch,
63
62
  CapabilityClass: () => CapabilityClass,
64
63
  CapturedEffectDirection: () => CapturedEffectDirection,
65
64
  CapturedEffectKind: () => CapturedEffectKind,
@@ -86,11 +85,6 @@ __export(src_exports, {
86
85
  DataRecordRetirementResponseReason: () => DataRecordRetirementResponseReason,
87
86
  DataSensitivity: () => DataSensitivity,
88
87
  DataTypeRecordScope: () => DataTypeRecordScope,
89
- DemoCallOutcome: () => DemoCallOutcome,
90
- DemoRefusalCode: () => DemoRefusalCode,
91
- DemoRequestError: () => DemoRequestError,
92
- DemoSessionState: () => DemoSessionState,
93
- DemosApi: () => DemosApi,
94
88
  DigestSlotRole: () => DigestSlotRole,
95
89
  DriverMode: () => DriverMode,
96
90
  EhrWritebackOutcomeResponseStatus: () => EhrWritebackOutcomeResponseStatus,
@@ -169,6 +163,7 @@ __export(src_exports, {
169
163
  REALTIME_MODEL_OPENAI: () => REALTIME_MODEL_OPENAI,
170
164
  REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
171
165
  REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
166
+ RecordChangeKind: () => RecordChangeKind,
172
167
  RefResolutionStatus: () => RefResolutionStatus,
173
168
  ReferenceTargetInputKind: () => ReferenceTargetInputKind,
174
169
  Region: () => Region,
@@ -986,126 +981,6 @@ var BundlesApi = class extends BaseApiClient {
986
981
  }
987
982
  };
988
983
 
989
- // src/types/generated/demo.ts
990
- var DemoCallOutcome = {
991
- answered: "answered",
992
- not_answered: "not_answered"
993
- };
994
- var DemoRefusalCode = {
995
- session_expired: "session_expired",
996
- session_capped: "session_capped",
997
- calls_capped: "calls_capped",
998
- session_ended: "session_ended",
999
- destination_not_allowed: "destination_not_allowed",
1000
- sender_cannot_send: "sender_cannot_send",
1001
- demo_not_available: "demo_not_available"
1002
- };
1003
- var DemoSessionState = {
1004
- active: "active",
1005
- capped: "capped",
1006
- expired: "expired",
1007
- ended: "ended"
1008
- };
1009
-
1010
- // src/api/demos.ts
1011
- var REFUSAL_CODES = Object.values(DemoRefusalCode);
1012
- var DemoRequestError = class extends ApiError {
1013
- code;
1014
- constructor(message, statusCode, code) {
1015
- super(message, statusCode);
1016
- this.name = "DemoRequestError";
1017
- this.code = code;
1018
- }
1019
- };
1020
- function refusalCode(value) {
1021
- return typeof value === "string" && REFUSAL_CODES.includes(value) ? value : void 0;
1022
- }
1023
- var DemosApi = class extends BaseApiClient {
1024
- /** Whether a Bundle has a Demo, and what a visitor may contact in it. Needs no session. */
1025
- async getDemo(bundleUuid) {
1026
- return this.anonymous(`demos/${encodeURIComponent(bundleUuid)}`, {
1027
- method: "GET"
1028
- });
1029
- }
1030
- /** Start a Demo session. Needs no session; `recaptchaToken` is required where reCAPTCHA is enforced. */
1031
- async startDemoSession(bundleUuid, data = {}) {
1032
- return this.anonymous(
1033
- `demos/${encodeURIComponent(bundleUuid)}/sessions`,
1034
- { method: "POST", body: JSON.stringify(data) }
1035
- );
1036
- }
1037
- /** Text one of the Demo's numbers as the session's Persona. */
1038
- async sendDemoSessionSms(sessionToken, data) {
1039
- return this.anonymous(
1040
- "demos/sessions/sms",
1041
- { method: "POST", body: JSON.stringify(data) },
1042
- sessionToken
1043
- );
1044
- }
1045
- /** Email one of the Demo's inboxes as the session's Persona. Returns after the Agent's turn. */
1046
- async sendDemoSessionEmail(sessionToken, data) {
1047
- return this.anonymous(
1048
- "demos/sessions/email",
1049
- { method: "POST", body: JSON.stringify(data) },
1050
- sessionToken
1051
- );
1052
- }
1053
- /**
1054
- * Call one of the Demo's numbers as the session's Persona.
1055
- *
1056
- * For an `answered` call, `join` holds what a browser opens the call with:
1057
- * the web voice socket `url`, a single-use login `token` for this call's
1058
- * Chat, and `chatId`. Send them in `voice.login`. For a `not_answered`
1059
- * call, `notAnsweredBranch` says what the number does and nothing connects.
1060
- */
1061
- async placeDemoSessionCall(sessionToken, data) {
1062
- return this.anonymous(
1063
- "demos/sessions/call",
1064
- { method: "POST", body: JSON.stringify(data) },
1065
- sessionToken
1066
- );
1067
- }
1068
- /**
1069
- * The session's own messages, oldest first, and its state. `after` returns
1070
- * only the rows after that row id, so a poll reads what is new.
1071
- */
1072
- async getDemoSessionTimeline(sessionToken, params) {
1073
- const query = params?.after !== void 0 ? `?after=${encodeURIComponent(params.after)}` : "";
1074
- return this.anonymous(
1075
- `demos/sessions/timeline${query}`,
1076
- { method: "GET" },
1077
- sessionToken
1078
- );
1079
- }
1080
- /** End the session. Nothing further is captured on it. */
1081
- async endDemoSession(sessionToken) {
1082
- return this.anonymous(
1083
- "demos/sessions/end",
1084
- { method: "POST" },
1085
- sessionToken
1086
- );
1087
- }
1088
- /**
1089
- * A request that carries the Demo session token, or no credential at all.
1090
- * It never sends this client's API key or the browser's cookies.
1091
- */
1092
- async anonymous(endpoint, init, sessionToken) {
1093
- const headers = new Headers({ "Content-Type": "application/json" });
1094
- if (sessionToken) headers.set("Authorization", `Bearer ${sessionToken}`);
1095
- const response = await this.fetchFunction(`${this.baseUrl}/api/v2/${endpoint}`, {
1096
- ...init,
1097
- headers,
1098
- credentials: "omit"
1099
- });
1100
- if (!response.ok) {
1101
- const body = await response.json().catch(() => ({}));
1102
- const detail = typeof body.detail === "string" ? body.detail : `Request failed (${response.status})`;
1103
- throw new DemoRequestError(detail, response.status, refusalCode(body.code));
1104
- }
1105
- return await response.json();
1106
- }
1107
- };
1108
-
1109
984
  // src/api/installations.ts
1110
985
  function installationsPath(wid, ...segments) {
1111
986
  const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
@@ -1132,9 +1007,18 @@ var InstallationsApi = class extends BaseApiClient {
1132
1007
  { method: "POST", body: JSON.stringify(data) }
1133
1008
  );
1134
1009
  }
1135
- /** Every installation this workspace holds, oldest first. */
1136
- async listInstallations(wid) {
1137
- return this.fetch(installationsPath(wid));
1010
+ /**
1011
+ * Every attached installation this workspace holds, oldest first.
1012
+ *
1013
+ * With `includeDetached`, detached installations are listed too
1014
+ * (`subscribed: false`). A detached Bundle cannot be installed again at the
1015
+ * version its row holds.
1016
+ */
1017
+ async listInstallations(wid, options = {}) {
1018
+ const path = installationsPath(wid);
1019
+ return this.fetch(
1020
+ options.includeDetached ? `${path}?includeDetached=true` : path
1021
+ );
1138
1022
  }
1139
1023
  async getInstallation(wid, installationUuid) {
1140
1024
  return this.fetch(installationsPath(wid, installationUuid));
@@ -8333,34 +8217,34 @@ var QualificationsApi = class extends BaseApiClient {
8333
8217
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
8334
8218
  }
8335
8219
  /**
8336
- * What a test run would have sent: the SMS, WhatsApp, email, call,
8337
- * notification and escalation it prepared, with content, oldest first.
8338
- * One entry per Member reached, naming the Member and the workspace phone
8339
- * number or inbox used. Nothing in the list was delivered. `truncated` means the list is
8340
- * incomplete.
8220
+ * What a test run sent and received on other channels: each SMS, WhatsApp
8221
+ * message, email, call, notification and escalation it prepared, and each
8222
+ * message its Persona sent to the workspace, with content, oldest first.
8223
+ * `chatId` is the run's Chat. The list covers the whole run, including the
8224
+ * other Chats it produced. One entry per Member reached, naming the Member
8225
+ * and the workspace phone number or inbox used. Nothing in the list was
8226
+ * delivered. `truncated` means the list is incomplete. A Chat that is not
8227
+ * a test run's Chat has an empty list. Read access is the Chat's own.
8341
8228
  */
8342
- async listTestChatRunCapturedEffects(wid, runId) {
8343
- return this.fetch(
8344
- `w/${wid}/qualifications/test-chat-runs/${runId}/captured-effects`
8345
- );
8346
- }
8347
- async startTestChatRun(wid, workflowId, data = {}) {
8348
- return this.fetch(
8349
- `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
8350
- {
8351
- method: "POST",
8352
- body: JSON.stringify(data)
8353
- }
8354
- );
8229
+ async listChatCapturedEffects(wid, chatId) {
8230
+ return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
8355
8231
  }
8356
8232
  /**
8357
- * Text a workspace phone number as the run's Persona. The text enters the
8358
- * inbound SMS pipeline; the Agent's reply is captured on the run and never
8359
- * sent. `chatId` is the Chat the text landed in.
8233
+ * What a test run did to its test Member's records: each record created,
8234
+ * each update and each deletion from the run's start, oldest first, with
8235
+ * the fields touched and their values before and after. `chatId` is the
8236
+ * run's Chat. A scenario's seeded records are the first changes. One entry
8237
+ * per operation on one record, naming the Form and the Member who acted.
8238
+ * `truncated` means the list is incomplete. A Chat that is not a test
8239
+ * run's Chat has an empty list. Requires `records:read` and read access to
8240
+ * the Chat; a Form, record or field the caller may not read is left out.
8360
8241
  */
8361
- async deliverTestChatRunSms(wid, runId, data) {
8242
+ async listChatRecordChanges(wid, chatId) {
8243
+ return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
8244
+ }
8245
+ async startTestChatRun(wid, workflowId, data = {}) {
8362
8246
  return this.fetch(
8363
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/sms`,
8247
+ `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
8364
8248
  {
8365
8249
  method: "POST",
8366
8250
  body: JSON.stringify(data)
@@ -8368,13 +8252,14 @@ var QualificationsApi = class extends BaseApiClient {
8368
8252
  );
8369
8253
  }
8370
8254
  /**
8371
- * Email a workspace inbox as the run's Persona. The email enters the
8372
- * inbound email pipeline; the call returns after the Agent's turn, and the
8373
- * reply is captured on the run and never sent.
8255
+ * Take an email turn in the run's own Chat as its Persona. The email is a
8256
+ * Message of that Chat and the email Agent turn runs on it; no Inbox and no
8257
+ * routing is involved. The call returns after the Agent's turn with the
8258
+ * reply the run captured, which is never sent.
8374
8259
  */
8375
- async deliverTestChatRunEmail(wid, runId, data) {
8260
+ async takeTestChatRunEmailTurn(wid, runId, data) {
8376
8261
  return this.fetch(
8377
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/email`,
8262
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
8378
8263
  {
8379
8264
  method: "POST",
8380
8265
  body: JSON.stringify(data)
@@ -8382,15 +8267,14 @@ var QualificationsApi = class extends BaseApiClient {
8382
8267
  );
8383
8268
  }
8384
8269
  /**
8385
- * Call a workspace phone number as the run's Persona. When the Agent
8386
- * answers (`answered: true`), `chatId` is the test Chat a browser joins
8387
- * over the web voice socket (`voice.login` with that Chat id). Otherwise
8388
- * `notAnsweredBranch` names what the number does with the call, and
8389
- * nothing is run. No carrier is dialed.
8270
+ * Take a text turn in the run's own Chat as its Persona. The text is a
8271
+ * Message of that Chat and the SMS turn runs on it; no workspace phone
8272
+ * number and no routing is involved. The call returns after the Agent's
8273
+ * turn with the reply the run captured, which is never sent.
8390
8274
  */
8391
- async placeTestChatRunCall(wid, runId, data) {
8275
+ async takeTestChatRunSmsTurn(wid, runId, data) {
8392
8276
  return this.fetch(
8393
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/call`,
8277
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
8394
8278
  {
8395
8279
  method: "POST",
8396
8280
  body: JSON.stringify(data)
@@ -10486,6 +10370,17 @@ var WorkflowsApi = class extends BaseApiClient {
10486
10370
  `w/${wid}/workflows/${workflowId}/validate-config`
10487
10371
  );
10488
10372
  }
10373
+ /**
10374
+ * Classify the prompts of a Workflow's draft revision.
10375
+ *
10376
+ * A decision model reads each Task that has a prompt and reports which
10377
+ * prompt classifications probably apply. Each call asks the model again.
10378
+ */
10379
+ async getWorkflowPromptClassifications(wid, workflowId) {
10380
+ return this.fetch(
10381
+ `w/${wid}/workflows/${workflowId}/prompt-classifications`
10382
+ );
10383
+ }
10489
10384
  /**
10490
10385
  * Replay automatic routing for a Chat without performing the transition.
10491
10386
  *
@@ -11416,36 +11311,22 @@ var CapturedEffectKind = {
11416
11311
  escalation: "escalation"
11417
11312
  };
11418
11313
 
11419
- // src/types/generated/test_call_routing.ts
11420
- var CallNotAnsweredBranch = {
11421
- voice_disabled: "voice_disabled",
11422
- fax_line: "fax_line",
11423
- rings_operators: "rings_operators",
11424
- forwards: "forwards",
11425
- voicemail: "voicemail",
11426
- plays_message: "plays_message",
11427
- no_route: "no_route",
11428
- voice_unavailable: "voice_unavailable",
11429
- entry_denied: "entry_denied"
11430
- };
11431
-
11432
11314
  // src/types/generated/test_chat_run_inbound.ts
11433
11315
  var InboundRefusal = {
11434
11316
  run_not_found: "run_not_found",
11435
11317
  run_ended: "run_ended",
11436
11318
  sender_not_synthetic: "sender_not_synthetic",
11437
- sender_is_anonymous: "sender_is_anonymous",
11438
- sender_has_no_phone: "sender_has_no_phone",
11439
- sender_has_no_email: "sender_has_no_email",
11440
- destination_not_in_workspace: "destination_not_in_workspace",
11441
- reply_target_not_test: "reply_target_not_test"
11319
+ sender_is_anonymous: "sender_is_anonymous"
11442
11320
  };
11443
11321
  var PhoneRunRefusal = {
11444
- call_not_answered: "call_not_answered",
11445
- number_routes_to_other_workflow: "number_routes_to_other_workflow",
11446
- phone_run_needs_a_person: "phone_run_needs_a_person",
11447
- phone_run_needs_a_number: "phone_run_needs_a_number",
11448
- number_needs_the_phone_channel: "number_needs_the_phone_channel"
11322
+ phone_run_needs_a_person: "phone_run_needs_a_person"
11323
+ };
11324
+
11325
+ // src/types/generated/record_change.ts
11326
+ var RecordChangeKind = {
11327
+ created: "created",
11328
+ updated: "updated",
11329
+ deleted: "deleted"
11449
11330
  };
11450
11331
 
11451
11332
  // src/types/generated/qualification_health_service.ts
@@ -12603,7 +12484,6 @@ function createApiModules(apiKey, baseUrl, customFetch) {
12603
12484
  auth: new AuthApi(apiKey, baseUrl, customFetch),
12604
12485
  builders: new BuildersApi(apiKey, baseUrl, customFetch),
12605
12486
  bundles: new BundlesApi(apiKey, baseUrl, customFetch),
12606
- demos: new DemosApi(apiKey, baseUrl, customFetch),
12607
12487
  installations: new InstallationsApi(apiKey, baseUrl, customFetch),
12608
12488
  calendars: new CalendarsApi(apiKey, baseUrl, customFetch),
12609
12489
  calls: new CallsApi(apiKey, baseUrl, customFetch),
@@ -13280,6 +13160,7 @@ var WORKSPACE_METHOD_NAMES = [
13280
13160
  "getWorkflowActivity",
13281
13161
  "getWorkflowConfigValidation",
13282
13162
  "getWorkflowFeedback",
13163
+ "getWorkflowPromptClassifications",
13283
13164
  "getWorkflowContributors",
13284
13165
  "getWorkflowDeletionPreview",
13285
13166
  "getWorkflowDiagram",
@@ -13375,10 +13256,10 @@ var WORKSPACE_METHOD_NAMES = [
13375
13256
  "listSalesforceObjects",
13376
13257
  "listScenarioHealthSummaries",
13377
13258
  "listScenarios",
13378
- "listTestChatRunCapturedEffects",
13379
- "deliverTestChatRunSms",
13380
- "deliverTestChatRunEmail",
13381
- "placeTestChatRunCall",
13259
+ "listChatCapturedEffects",
13260
+ "listChatRecordChanges",
13261
+ "takeTestChatRunEmailTurn",
13262
+ "takeTestChatRunSmsTurn",
13382
13263
  "listTestChatRuns",
13383
13264
  "listWidgetDomains",
13384
13265
  "listWorkspaceInvitationsAdmin",
@@ -14210,6 +14091,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
14210
14091
  target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
14211
14092
  target.getTaskChats = workflows.getTaskChats.bind(workflows);
14212
14093
  target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
14094
+ target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
14213
14095
  target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
14214
14096
  target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
14215
14097
  target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
@@ -14662,6 +14544,7 @@ function bindOrgMethods(target, org) {
14662
14544
  target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
14663
14545
  target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
14664
14546
  target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
14547
+ target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
14665
14548
  }
14666
14549
 
14667
14550
  // src/client/bindings/pronunciations.ts
@@ -14711,17 +14594,6 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
14711
14594
  target.listResourceWorkflows = resourceWorkflows.listResourceWorkflows.bind(resourceWorkflows);
14712
14595
  }
14713
14596
 
14714
- // src/client/bindings/demos.ts
14715
- function bindDemosMethods(target, demos) {
14716
- target.getDemo = demos.getDemo.bind(demos);
14717
- target.startDemoSession = demos.startDemoSession.bind(demos);
14718
- target.sendDemoSessionSms = demos.sendDemoSessionSms.bind(demos);
14719
- target.sendDemoSessionEmail = demos.sendDemoSessionEmail.bind(demos);
14720
- target.placeDemoSessionCall = demos.placeDemoSessionCall.bind(demos);
14721
- target.getDemoSessionTimeline = demos.getDemoSessionTimeline.bind(demos);
14722
- target.endDemoSession = demos.endDemoSession.bind(demos);
14723
- }
14724
-
14725
14597
  // src/client/bindings/installations.ts
14726
14598
  function bindInstallationsMethods(target, installations) {
14727
14599
  target.preflightBundleInstallation = installations.preflightBundleInstallation.bind(installations);
@@ -14796,10 +14668,10 @@ function bindQualificationsMethods(target, qualifications) {
14796
14668
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
14797
14669
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
14798
14670
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
14799
- target.listTestChatRunCapturedEffects = qualifications.listTestChatRunCapturedEffects.bind(qualifications);
14800
- target.deliverTestChatRunSms = qualifications.deliverTestChatRunSms.bind(qualifications);
14801
- target.deliverTestChatRunEmail = qualifications.deliverTestChatRunEmail.bind(qualifications);
14802
- target.placeTestChatRunCall = qualifications.placeTestChatRunCall.bind(qualifications);
14671
+ target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
14672
+ target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
14673
+ target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
14674
+ target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
14803
14675
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
14804
14676
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
14805
14677
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -15128,10 +15000,10 @@ var GravityRailClient = class {
15128
15000
  listTestChatRuns;
15129
15001
  listScenarioHealthSummaries;
15130
15002
  getTestChatRun;
15131
- listTestChatRunCapturedEffects;
15132
- deliverTestChatRunSms;
15133
- deliverTestChatRunEmail;
15134
- placeTestChatRunCall;
15003
+ listChatCapturedEffects;
15004
+ listChatRecordChanges;
15005
+ takeTestChatRunEmailTurn;
15006
+ takeTestChatRunSmsTurn;
15135
15007
  startTestChatRun;
15136
15008
  evaluateTestChatRun;
15137
15009
  endTestChatRun;
@@ -15243,14 +15115,6 @@ var GravityRailClient = class {
15243
15115
  createJourneyNote;
15244
15116
  updateJourneyNote;
15245
15117
  deleteJourneyNote;
15246
- // Demos API
15247
- getDemo;
15248
- startDemoSession;
15249
- sendDemoSessionSms;
15250
- sendDemoSessionEmail;
15251
- placeDemoSessionCall;
15252
- getDemoSessionTimeline;
15253
- endDemoSession;
15254
15118
  updateBundle;
15255
15119
  listBundleInstallations;
15256
15120
  // Bundles API
@@ -15428,6 +15292,7 @@ var GravityRailClient = class {
15428
15292
  updateOrganizationMember;
15429
15293
  listOrgWebhookEndpoints;
15430
15294
  getOrgWebhookEndpoint;
15295
+ updateOrgWebhookEndpoint;
15431
15296
  getVapidPublicKey;
15432
15297
  registerPushSubscription;
15433
15298
  unregisterPushSubscription;
@@ -15636,6 +15501,7 @@ var GravityRailClient = class {
15636
15501
  getWorkflowTaskAssignmentStats;
15637
15502
  getTaskChats;
15638
15503
  getWorkflowConfigValidation;
15504
+ getWorkflowPromptClassifications;
15639
15505
  getWorkflowNotes;
15640
15506
  createWorkflowNote;
15641
15507
  updateWorkflowNote;
@@ -16113,7 +15979,6 @@ var GravityRailClient = class {
16113
15979
  bindTrackedLinksMethods(this, apis.trackedLinks);
16114
15980
  bindJourneysMethods(this, apis.journeys);
16115
15981
  bindBundlesMethods(this, apis.bundles, apis.resourceWorkflows);
16116
- bindDemosMethods(this, apis.demos);
16117
15982
  bindInstallationsMethods(this, apis.installations);
16118
15983
  bindExperimentsMethods(this, apis.experiments);
16119
15984
  bindOperatorMethods(this, apis.operatorGroups);
@@ -19037,7 +18902,6 @@ var AbilityConfigIssueCode = {
19037
18902
  feature_disabled: "feature_disabled",
19038
18903
  missing_connection: "missing_connection",
19039
18904
  external_drift: "external_drift",
19040
- missing_task_instructions: "missing_task_instructions",
19041
18905
  no_qualification_scenarios: "no_qualification_scenarios"
19042
18906
  };
19043
18907
  var AbilityConfigIssueSeverity = {
@@ -20313,7 +20177,6 @@ function toSafeMemberImportSummary(event) {
20313
20177
  CalendarScheduleAvailabilityType,
20314
20178
  CalendarScheduleRecurrence,
20315
20179
  CalendarSource,
20316
- CallNotAnsweredBranch,
20317
20180
  CapabilityClass,
20318
20181
  CapturedEffectDirection,
20319
20182
  CapturedEffectKind,
@@ -20340,11 +20203,6 @@ function toSafeMemberImportSummary(event) {
20340
20203
  DataRecordRetirementResponseReason,
20341
20204
  DataSensitivity,
20342
20205
  DataTypeRecordScope,
20343
- DemoCallOutcome,
20344
- DemoRefusalCode,
20345
- DemoRequestError,
20346
- DemoSessionState,
20347
- DemosApi,
20348
20206
  DigestSlotRole,
20349
20207
  DriverMode,
20350
20208
  EhrWritebackOutcomeResponseStatus,
@@ -20423,6 +20281,7 @@ function toSafeMemberImportSummary(event) {
20423
20281
  REALTIME_MODEL_OPENAI,
20424
20282
  REALTIME_MODEL_OPENAI_2,
20425
20283
  REALTIME_MODEL_OPENAI_MINI,
20284
+ RecordChangeKind,
20426
20285
  RefResolutionStatus,
20427
20286
  ReferenceTargetInputKind,
20428
20287
  Region,