@gravity-rail/sdk 0.43.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.
- package/dist/{chat-interaction-DKt3ggnZ.d.cts → chat-interaction-RFnlmlbW.d.ts} +343 -462
- package/dist/{chat-interaction-DMd-Wtcg.d.ts → chat-interaction-WwLDUIWO.d.cts} +343 -462
- package/dist/{chunk-G32MQGJD.js → chunk-JKML6WOA.js} +83 -203
- package/dist/chunk-JKML6WOA.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +83 -206
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -11
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +83 -188
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +3 -3
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +3 -3
- package/dist/{revision-state-BrRxp9qZ.d.ts → revision-state-DuuRwvkZ.d.ts} +1 -1
- package/dist/{revision-state-Ci5a5NLH.d.cts → revision-state-DykZ8uuN.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-G32MQGJD.js.map +0 -1
package/dist/helpers.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { g8 as GravityRailClient } from './chat-interaction-WwLDUIWO.cjs';
|
|
2
|
+
export { cf as ChatInteractionController } from './chat-interaction-WwLDUIWO.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 {
|
|
2
|
-
export {
|
|
1
|
+
import { g8 as GravityRailClient } from './chat-interaction-RFnlmlbW.js';
|
|
2
|
+
export { cf as ChatInteractionController } from './chat-interaction-RFnlmlbW.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
|
@@ -86,11 +86,6 @@ __export(src_exports, {
|
|
|
86
86
|
DataRecordRetirementResponseReason: () => DataRecordRetirementResponseReason,
|
|
87
87
|
DataSensitivity: () => DataSensitivity,
|
|
88
88
|
DataTypeRecordScope: () => DataTypeRecordScope,
|
|
89
|
-
DemoCallOutcome: () => DemoCallOutcome,
|
|
90
|
-
DemoRefusalCode: () => DemoRefusalCode,
|
|
91
|
-
DemoRequestError: () => DemoRequestError,
|
|
92
|
-
DemoSessionState: () => DemoSessionState,
|
|
93
|
-
DemosApi: () => DemosApi,
|
|
94
89
|
DigestSlotRole: () => DigestSlotRole,
|
|
95
90
|
DriverMode: () => DriverMode,
|
|
96
91
|
EhrWritebackOutcomeResponseStatus: () => EhrWritebackOutcomeResponseStatus,
|
|
@@ -169,6 +164,7 @@ __export(src_exports, {
|
|
|
169
164
|
REALTIME_MODEL_OPENAI: () => REALTIME_MODEL_OPENAI,
|
|
170
165
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
171
166
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
167
|
+
RecordChangeKind: () => RecordChangeKind,
|
|
172
168
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
173
169
|
ReferenceTargetInputKind: () => ReferenceTargetInputKind,
|
|
174
170
|
Region: () => Region,
|
|
@@ -986,126 +982,6 @@ var BundlesApi = class extends BaseApiClient {
|
|
|
986
982
|
}
|
|
987
983
|
};
|
|
988
984
|
|
|
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
985
|
// src/api/installations.ts
|
|
1110
986
|
function installationsPath(wid, ...segments) {
|
|
1111
987
|
const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
|
|
@@ -1132,9 +1008,18 @@ var InstallationsApi = class extends BaseApiClient {
|
|
|
1132
1008
|
{ method: "POST", body: JSON.stringify(data) }
|
|
1133
1009
|
);
|
|
1134
1010
|
}
|
|
1135
|
-
/**
|
|
1136
|
-
|
|
1137
|
-
|
|
1011
|
+
/**
|
|
1012
|
+
* Every attached installation this workspace holds, oldest first.
|
|
1013
|
+
*
|
|
1014
|
+
* With `includeDetached`, detached installations are listed too
|
|
1015
|
+
* (`subscribed: false`). A detached Bundle cannot be installed again at the
|
|
1016
|
+
* version its row holds.
|
|
1017
|
+
*/
|
|
1018
|
+
async listInstallations(wid, options = {}) {
|
|
1019
|
+
const path = installationsPath(wid);
|
|
1020
|
+
return this.fetch(
|
|
1021
|
+
options.includeDetached ? `${path}?includeDetached=true` : path
|
|
1022
|
+
);
|
|
1138
1023
|
}
|
|
1139
1024
|
async getInstallation(wid, installationUuid) {
|
|
1140
1025
|
return this.fetch(installationsPath(wid, installationUuid));
|
|
@@ -8333,34 +8218,34 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8333
8218
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
8334
8219
|
}
|
|
8335
8220
|
/**
|
|
8336
|
-
* What a test run
|
|
8337
|
-
* notification and escalation it prepared,
|
|
8338
|
-
*
|
|
8339
|
-
*
|
|
8340
|
-
*
|
|
8221
|
+
* What a test run sent and received on other channels: each SMS, WhatsApp
|
|
8222
|
+
* message, email, call, notification and escalation it prepared, and each
|
|
8223
|
+
* message its Persona sent to the workspace, with content, oldest first.
|
|
8224
|
+
* `chatId` is the run's Chat. The list covers the whole run, including the
|
|
8225
|
+
* other Chats it produced. One entry per Member reached, naming the Member
|
|
8226
|
+
* and the workspace phone number or inbox used. Nothing in the list was
|
|
8227
|
+
* delivered. `truncated` means the list is incomplete. A Chat that is not
|
|
8228
|
+
* a test run's Chat has an empty list. Read access is the Chat's own.
|
|
8341
8229
|
*/
|
|
8342
|
-
async
|
|
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
|
-
);
|
|
8230
|
+
async listChatCapturedEffects(wid, chatId) {
|
|
8231
|
+
return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
|
|
8355
8232
|
}
|
|
8356
8233
|
/**
|
|
8357
|
-
*
|
|
8358
|
-
*
|
|
8359
|
-
*
|
|
8234
|
+
* What a test run did to its test Member's records: each record created,
|
|
8235
|
+
* each update and each deletion from the run's start, oldest first, with
|
|
8236
|
+
* the fields touched and their values before and after. `chatId` is the
|
|
8237
|
+
* run's Chat. A scenario's seeded records are the first changes. One entry
|
|
8238
|
+
* per operation on one record, naming the Form and the Member who acted.
|
|
8239
|
+
* `truncated` means the list is incomplete. A Chat that is not a test
|
|
8240
|
+
* run's Chat has an empty list. Requires `records:read` and read access to
|
|
8241
|
+
* the Chat; a Form, record or field the caller may not read is left out.
|
|
8360
8242
|
*/
|
|
8361
|
-
async
|
|
8243
|
+
async listChatRecordChanges(wid, chatId) {
|
|
8244
|
+
return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
|
|
8245
|
+
}
|
|
8246
|
+
async startTestChatRun(wid, workflowId, data = {}) {
|
|
8362
8247
|
return this.fetch(
|
|
8363
|
-
`w/${wid}/qualifications/test-chat-runs
|
|
8248
|
+
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
8364
8249
|
{
|
|
8365
8250
|
method: "POST",
|
|
8366
8251
|
body: JSON.stringify(data)
|
|
@@ -8368,13 +8253,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8368
8253
|
);
|
|
8369
8254
|
}
|
|
8370
8255
|
/**
|
|
8371
|
-
*
|
|
8372
|
-
*
|
|
8373
|
-
*
|
|
8256
|
+
* Take an email turn in the run's own Chat as its Persona. The email is a
|
|
8257
|
+
* Message of that Chat and the email Agent turn runs on it; no Inbox and no
|
|
8258
|
+
* routing is involved. The call returns after the Agent's turn with the
|
|
8259
|
+
* reply the run captured, which is never sent.
|
|
8374
8260
|
*/
|
|
8375
|
-
async
|
|
8261
|
+
async takeTestChatRunEmailTurn(wid, runId, data) {
|
|
8376
8262
|
return this.fetch(
|
|
8377
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
8263
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
|
|
8378
8264
|
{
|
|
8379
8265
|
method: "POST",
|
|
8380
8266
|
body: JSON.stringify(data)
|
|
@@ -8382,15 +8268,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8382
8268
|
);
|
|
8383
8269
|
}
|
|
8384
8270
|
/**
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8387
|
-
*
|
|
8388
|
-
*
|
|
8389
|
-
* nothing is run. No carrier is dialed.
|
|
8271
|
+
* Take a text turn in the run's own Chat as its Persona. The text is a
|
|
8272
|
+
* Message of that Chat and the SMS turn runs on it; no workspace phone
|
|
8273
|
+
* number and no routing is involved. The call returns after the Agent's
|
|
8274
|
+
* turn with the reply the run captured, which is never sent.
|
|
8390
8275
|
*/
|
|
8391
|
-
async
|
|
8276
|
+
async takeTestChatRunSmsTurn(wid, runId, data) {
|
|
8392
8277
|
return this.fetch(
|
|
8393
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
8278
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
|
|
8394
8279
|
{
|
|
8395
8280
|
method: "POST",
|
|
8396
8281
|
body: JSON.stringify(data)
|
|
@@ -10486,6 +10371,17 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
10486
10371
|
`w/${wid}/workflows/${workflowId}/validate-config`
|
|
10487
10372
|
);
|
|
10488
10373
|
}
|
|
10374
|
+
/**
|
|
10375
|
+
* Classify the prompts of a Workflow's draft revision.
|
|
10376
|
+
*
|
|
10377
|
+
* A decision model reads each Task that has a prompt and reports which
|
|
10378
|
+
* prompt classifications probably apply. Each call asks the model again.
|
|
10379
|
+
*/
|
|
10380
|
+
async getWorkflowPromptClassifications(wid, workflowId) {
|
|
10381
|
+
return this.fetch(
|
|
10382
|
+
`w/${wid}/workflows/${workflowId}/prompt-classifications`
|
|
10383
|
+
);
|
|
10384
|
+
}
|
|
10489
10385
|
/**
|
|
10490
10386
|
* Replay automatic routing for a Chat without performing the transition.
|
|
10491
10387
|
*
|
|
@@ -11436,18 +11332,22 @@ var InboundRefusal = {
|
|
|
11436
11332
|
sender_not_synthetic: "sender_not_synthetic",
|
|
11437
11333
|
sender_is_anonymous: "sender_is_anonymous",
|
|
11438
11334
|
sender_has_no_phone: "sender_has_no_phone",
|
|
11439
|
-
|
|
11440
|
-
destination_not_in_workspace: "destination_not_in_workspace",
|
|
11441
|
-
reply_target_not_test: "reply_target_not_test"
|
|
11335
|
+
destination_not_in_workspace: "destination_not_in_workspace"
|
|
11442
11336
|
};
|
|
11443
11337
|
var PhoneRunRefusal = {
|
|
11444
11338
|
call_not_answered: "call_not_answered",
|
|
11445
11339
|
number_routes_to_other_workflow: "number_routes_to_other_workflow",
|
|
11446
11340
|
phone_run_needs_a_person: "phone_run_needs_a_person",
|
|
11447
|
-
phone_run_needs_a_number: "phone_run_needs_a_number",
|
|
11448
11341
|
number_needs_the_phone_channel: "number_needs_the_phone_channel"
|
|
11449
11342
|
};
|
|
11450
11343
|
|
|
11344
|
+
// src/types/generated/record_change.ts
|
|
11345
|
+
var RecordChangeKind = {
|
|
11346
|
+
created: "created",
|
|
11347
|
+
updated: "updated",
|
|
11348
|
+
deleted: "deleted"
|
|
11349
|
+
};
|
|
11350
|
+
|
|
11451
11351
|
// src/types/generated/qualification_health_service.ts
|
|
11452
11352
|
var ScenarioHealthCaption = {
|
|
11453
11353
|
recent_passes: "recent_passes",
|
|
@@ -12603,7 +12503,6 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
12603
12503
|
auth: new AuthApi(apiKey, baseUrl, customFetch),
|
|
12604
12504
|
builders: new BuildersApi(apiKey, baseUrl, customFetch),
|
|
12605
12505
|
bundles: new BundlesApi(apiKey, baseUrl, customFetch),
|
|
12606
|
-
demos: new DemosApi(apiKey, baseUrl, customFetch),
|
|
12607
12506
|
installations: new InstallationsApi(apiKey, baseUrl, customFetch),
|
|
12608
12507
|
calendars: new CalendarsApi(apiKey, baseUrl, customFetch),
|
|
12609
12508
|
calls: new CallsApi(apiKey, baseUrl, customFetch),
|
|
@@ -13280,6 +13179,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13280
13179
|
"getWorkflowActivity",
|
|
13281
13180
|
"getWorkflowConfigValidation",
|
|
13282
13181
|
"getWorkflowFeedback",
|
|
13182
|
+
"getWorkflowPromptClassifications",
|
|
13283
13183
|
"getWorkflowContributors",
|
|
13284
13184
|
"getWorkflowDeletionPreview",
|
|
13285
13185
|
"getWorkflowDiagram",
|
|
@@ -13375,10 +13275,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13375
13275
|
"listSalesforceObjects",
|
|
13376
13276
|
"listScenarioHealthSummaries",
|
|
13377
13277
|
"listScenarios",
|
|
13378
|
-
"
|
|
13379
|
-
"
|
|
13380
|
-
"
|
|
13381
|
-
"
|
|
13278
|
+
"listChatCapturedEffects",
|
|
13279
|
+
"listChatRecordChanges",
|
|
13280
|
+
"takeTestChatRunEmailTurn",
|
|
13281
|
+
"takeTestChatRunSmsTurn",
|
|
13382
13282
|
"listTestChatRuns",
|
|
13383
13283
|
"listWidgetDomains",
|
|
13384
13284
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -14210,6 +14110,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
14210
14110
|
target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
|
|
14211
14111
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
14212
14112
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
14113
|
+
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
14213
14114
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
14214
14115
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
14215
14116
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -14711,17 +14612,6 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
|
|
|
14711
14612
|
target.listResourceWorkflows = resourceWorkflows.listResourceWorkflows.bind(resourceWorkflows);
|
|
14712
14613
|
}
|
|
14713
14614
|
|
|
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
14615
|
// src/client/bindings/installations.ts
|
|
14726
14616
|
function bindInstallationsMethods(target, installations) {
|
|
14727
14617
|
target.preflightBundleInstallation = installations.preflightBundleInstallation.bind(installations);
|
|
@@ -14796,10 +14686,10 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
14796
14686
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
14797
14687
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
14798
14688
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
14799
|
-
target.
|
|
14800
|
-
target.
|
|
14801
|
-
target.
|
|
14802
|
-
target.
|
|
14689
|
+
target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
|
|
14690
|
+
target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
|
|
14691
|
+
target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
|
|
14692
|
+
target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
|
|
14803
14693
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
14804
14694
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
14805
14695
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -15128,10 +15018,10 @@ var GravityRailClient = class {
|
|
|
15128
15018
|
listTestChatRuns;
|
|
15129
15019
|
listScenarioHealthSummaries;
|
|
15130
15020
|
getTestChatRun;
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15021
|
+
listChatCapturedEffects;
|
|
15022
|
+
listChatRecordChanges;
|
|
15023
|
+
takeTestChatRunEmailTurn;
|
|
15024
|
+
takeTestChatRunSmsTurn;
|
|
15135
15025
|
startTestChatRun;
|
|
15136
15026
|
evaluateTestChatRun;
|
|
15137
15027
|
endTestChatRun;
|
|
@@ -15243,14 +15133,6 @@ var GravityRailClient = class {
|
|
|
15243
15133
|
createJourneyNote;
|
|
15244
15134
|
updateJourneyNote;
|
|
15245
15135
|
deleteJourneyNote;
|
|
15246
|
-
// Demos API
|
|
15247
|
-
getDemo;
|
|
15248
|
-
startDemoSession;
|
|
15249
|
-
sendDemoSessionSms;
|
|
15250
|
-
sendDemoSessionEmail;
|
|
15251
|
-
placeDemoSessionCall;
|
|
15252
|
-
getDemoSessionTimeline;
|
|
15253
|
-
endDemoSession;
|
|
15254
15136
|
updateBundle;
|
|
15255
15137
|
listBundleInstallations;
|
|
15256
15138
|
// Bundles API
|
|
@@ -15636,6 +15518,7 @@ var GravityRailClient = class {
|
|
|
15636
15518
|
getWorkflowTaskAssignmentStats;
|
|
15637
15519
|
getTaskChats;
|
|
15638
15520
|
getWorkflowConfigValidation;
|
|
15521
|
+
getWorkflowPromptClassifications;
|
|
15639
15522
|
getWorkflowNotes;
|
|
15640
15523
|
createWorkflowNote;
|
|
15641
15524
|
updateWorkflowNote;
|
|
@@ -16113,7 +15996,6 @@ var GravityRailClient = class {
|
|
|
16113
15996
|
bindTrackedLinksMethods(this, apis.trackedLinks);
|
|
16114
15997
|
bindJourneysMethods(this, apis.journeys);
|
|
16115
15998
|
bindBundlesMethods(this, apis.bundles, apis.resourceWorkflows);
|
|
16116
|
-
bindDemosMethods(this, apis.demos);
|
|
16117
15999
|
bindInstallationsMethods(this, apis.installations);
|
|
16118
16000
|
bindExperimentsMethods(this, apis.experiments);
|
|
16119
16001
|
bindOperatorMethods(this, apis.operatorGroups);
|
|
@@ -19037,7 +18919,6 @@ var AbilityConfigIssueCode = {
|
|
|
19037
18919
|
feature_disabled: "feature_disabled",
|
|
19038
18920
|
missing_connection: "missing_connection",
|
|
19039
18921
|
external_drift: "external_drift",
|
|
19040
|
-
missing_task_instructions: "missing_task_instructions",
|
|
19041
18922
|
no_qualification_scenarios: "no_qualification_scenarios"
|
|
19042
18923
|
};
|
|
19043
18924
|
var AbilityConfigIssueSeverity = {
|
|
@@ -20340,11 +20221,6 @@ function toSafeMemberImportSummary(event) {
|
|
|
20340
20221
|
DataRecordRetirementResponseReason,
|
|
20341
20222
|
DataSensitivity,
|
|
20342
20223
|
DataTypeRecordScope,
|
|
20343
|
-
DemoCallOutcome,
|
|
20344
|
-
DemoRefusalCode,
|
|
20345
|
-
DemoRequestError,
|
|
20346
|
-
DemoSessionState,
|
|
20347
|
-
DemosApi,
|
|
20348
20224
|
DigestSlotRole,
|
|
20349
20225
|
DriverMode,
|
|
20350
20226
|
EhrWritebackOutcomeResponseStatus,
|
|
@@ -20423,6 +20299,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
20423
20299
|
REALTIME_MODEL_OPENAI,
|
|
20424
20300
|
REALTIME_MODEL_OPENAI_2,
|
|
20425
20301
|
REALTIME_MODEL_OPENAI_MINI,
|
|
20302
|
+
RecordChangeKind,
|
|
20426
20303
|
RefResolutionStatus,
|
|
20427
20304
|
ReferenceTargetInputKind,
|
|
20428
20305
|
Region,
|