@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.
- package/dist/{chat-interaction-DKt3ggnZ.d.cts → chat-interaction-CGNwztoc.d.cts} +338 -491
- package/dist/{chat-interaction-DMd-Wtcg.d.ts → chat-interaction-DRn2dJ2X.d.ts} +338 -491
- package/dist/{chunk-G32MQGJD.js → chunk-STN3ZOEX.js} +86 -223
- package/dist/chunk-STN3ZOEX.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +86 -227
- 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 -13
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +86 -209
- 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 -5
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-Ci5a5NLH.d.cts → revision-state-CuBzCvtB.d.cts} +1 -1
- package/dist/{revision-state-BrRxp9qZ.d.ts → revision-state-YMNaA2cN.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-G32MQGJD.js.map +0 -1
|
@@ -262,126 +262,6 @@ var BundlesApi = class extends BaseApiClient {
|
|
|
262
262
|
}
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
// src/types/generated/demo.ts
|
|
266
|
-
var DemoCallOutcome = {
|
|
267
|
-
answered: "answered",
|
|
268
|
-
not_answered: "not_answered"
|
|
269
|
-
};
|
|
270
|
-
var DemoRefusalCode = {
|
|
271
|
-
session_expired: "session_expired",
|
|
272
|
-
session_capped: "session_capped",
|
|
273
|
-
calls_capped: "calls_capped",
|
|
274
|
-
session_ended: "session_ended",
|
|
275
|
-
destination_not_allowed: "destination_not_allowed",
|
|
276
|
-
sender_cannot_send: "sender_cannot_send",
|
|
277
|
-
demo_not_available: "demo_not_available"
|
|
278
|
-
};
|
|
279
|
-
var DemoSessionState = {
|
|
280
|
-
active: "active",
|
|
281
|
-
capped: "capped",
|
|
282
|
-
expired: "expired",
|
|
283
|
-
ended: "ended"
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
// src/api/demos.ts
|
|
287
|
-
var REFUSAL_CODES = Object.values(DemoRefusalCode);
|
|
288
|
-
var DemoRequestError = class extends ApiError {
|
|
289
|
-
code;
|
|
290
|
-
constructor(message, statusCode, code) {
|
|
291
|
-
super(message, statusCode);
|
|
292
|
-
this.name = "DemoRequestError";
|
|
293
|
-
this.code = code;
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
function refusalCode(value) {
|
|
297
|
-
return typeof value === "string" && REFUSAL_CODES.includes(value) ? value : void 0;
|
|
298
|
-
}
|
|
299
|
-
var DemosApi = class extends BaseApiClient {
|
|
300
|
-
/** Whether a Bundle has a Demo, and what a visitor may contact in it. Needs no session. */
|
|
301
|
-
async getDemo(bundleUuid) {
|
|
302
|
-
return this.anonymous(`demos/${encodeURIComponent(bundleUuid)}`, {
|
|
303
|
-
method: "GET"
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
/** Start a Demo session. Needs no session; `recaptchaToken` is required where reCAPTCHA is enforced. */
|
|
307
|
-
async startDemoSession(bundleUuid, data = {}) {
|
|
308
|
-
return this.anonymous(
|
|
309
|
-
`demos/${encodeURIComponent(bundleUuid)}/sessions`,
|
|
310
|
-
{ method: "POST", body: JSON.stringify(data) }
|
|
311
|
-
);
|
|
312
|
-
}
|
|
313
|
-
/** Text one of the Demo's numbers as the session's Persona. */
|
|
314
|
-
async sendDemoSessionSms(sessionToken, data) {
|
|
315
|
-
return this.anonymous(
|
|
316
|
-
"demos/sessions/sms",
|
|
317
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
318
|
-
sessionToken
|
|
319
|
-
);
|
|
320
|
-
}
|
|
321
|
-
/** Email one of the Demo's inboxes as the session's Persona. Returns after the Agent's turn. */
|
|
322
|
-
async sendDemoSessionEmail(sessionToken, data) {
|
|
323
|
-
return this.anonymous(
|
|
324
|
-
"demos/sessions/email",
|
|
325
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
326
|
-
sessionToken
|
|
327
|
-
);
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Call one of the Demo's numbers as the session's Persona.
|
|
331
|
-
*
|
|
332
|
-
* For an `answered` call, `join` holds what a browser opens the call with:
|
|
333
|
-
* the web voice socket `url`, a single-use login `token` for this call's
|
|
334
|
-
* Chat, and `chatId`. Send them in `voice.login`. For a `not_answered`
|
|
335
|
-
* call, `notAnsweredBranch` says what the number does and nothing connects.
|
|
336
|
-
*/
|
|
337
|
-
async placeDemoSessionCall(sessionToken, data) {
|
|
338
|
-
return this.anonymous(
|
|
339
|
-
"demos/sessions/call",
|
|
340
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
341
|
-
sessionToken
|
|
342
|
-
);
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* The session's own messages, oldest first, and its state. `after` returns
|
|
346
|
-
* only the rows after that row id, so a poll reads what is new.
|
|
347
|
-
*/
|
|
348
|
-
async getDemoSessionTimeline(sessionToken, params) {
|
|
349
|
-
const query = params?.after !== void 0 ? `?after=${encodeURIComponent(params.after)}` : "";
|
|
350
|
-
return this.anonymous(
|
|
351
|
-
`demos/sessions/timeline${query}`,
|
|
352
|
-
{ method: "GET" },
|
|
353
|
-
sessionToken
|
|
354
|
-
);
|
|
355
|
-
}
|
|
356
|
-
/** End the session. Nothing further is captured on it. */
|
|
357
|
-
async endDemoSession(sessionToken) {
|
|
358
|
-
return this.anonymous(
|
|
359
|
-
"demos/sessions/end",
|
|
360
|
-
{ method: "POST" },
|
|
361
|
-
sessionToken
|
|
362
|
-
);
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* A request that carries the Demo session token, or no credential at all.
|
|
366
|
-
* It never sends this client's API key or the browser's cookies.
|
|
367
|
-
*/
|
|
368
|
-
async anonymous(endpoint, init, sessionToken) {
|
|
369
|
-
const headers = new Headers({ "Content-Type": "application/json" });
|
|
370
|
-
if (sessionToken) headers.set("Authorization", `Bearer ${sessionToken}`);
|
|
371
|
-
const response = await this.fetchFunction(`${this.baseUrl}/api/v2/${endpoint}`, {
|
|
372
|
-
...init,
|
|
373
|
-
headers,
|
|
374
|
-
credentials: "omit"
|
|
375
|
-
});
|
|
376
|
-
if (!response.ok) {
|
|
377
|
-
const body = await response.json().catch(() => ({}));
|
|
378
|
-
const detail = typeof body.detail === "string" ? body.detail : `Request failed (${response.status})`;
|
|
379
|
-
throw new DemoRequestError(detail, response.status, refusalCode(body.code));
|
|
380
|
-
}
|
|
381
|
-
return await response.json();
|
|
382
|
-
}
|
|
383
|
-
};
|
|
384
|
-
|
|
385
265
|
// src/api/installations.ts
|
|
386
266
|
function installationsPath(wid, ...segments) {
|
|
387
267
|
const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
|
|
@@ -408,9 +288,18 @@ var InstallationsApi = class extends BaseApiClient {
|
|
|
408
288
|
{ method: "POST", body: JSON.stringify(data) }
|
|
409
289
|
);
|
|
410
290
|
}
|
|
411
|
-
/**
|
|
412
|
-
|
|
413
|
-
|
|
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
|
+
);
|
|
414
303
|
}
|
|
415
304
|
async getInstallation(wid, installationUuid) {
|
|
416
305
|
return this.fetch(installationsPath(wid, installationUuid));
|
|
@@ -6933,34 +6822,34 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
6933
6822
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
6934
6823
|
}
|
|
6935
6824
|
/**
|
|
6936
|
-
* What a test run
|
|
6937
|
-
* notification and escalation it prepared,
|
|
6938
|
-
*
|
|
6939
|
-
*
|
|
6940
|
-
*
|
|
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.
|
|
6941
6833
|
*/
|
|
6942
|
-
async
|
|
6943
|
-
return this.fetch(
|
|
6944
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/captured-effects`
|
|
6945
|
-
);
|
|
6946
|
-
}
|
|
6947
|
-
async startTestChatRun(wid, workflowId, data = {}) {
|
|
6948
|
-
return this.fetch(
|
|
6949
|
-
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
6950
|
-
{
|
|
6951
|
-
method: "POST",
|
|
6952
|
-
body: JSON.stringify(data)
|
|
6953
|
-
}
|
|
6954
|
-
);
|
|
6834
|
+
async listChatCapturedEffects(wid, chatId) {
|
|
6835
|
+
return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
|
|
6955
6836
|
}
|
|
6956
6837
|
/**
|
|
6957
|
-
*
|
|
6958
|
-
*
|
|
6959
|
-
*
|
|
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.
|
|
6960
6846
|
*/
|
|
6961
|
-
async
|
|
6847
|
+
async listChatRecordChanges(wid, chatId) {
|
|
6848
|
+
return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
|
|
6849
|
+
}
|
|
6850
|
+
async startTestChatRun(wid, workflowId, data = {}) {
|
|
6962
6851
|
return this.fetch(
|
|
6963
|
-
`w/${wid}/qualifications/test-chat-runs
|
|
6852
|
+
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
6964
6853
|
{
|
|
6965
6854
|
method: "POST",
|
|
6966
6855
|
body: JSON.stringify(data)
|
|
@@ -6968,13 +6857,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
6968
6857
|
);
|
|
6969
6858
|
}
|
|
6970
6859
|
/**
|
|
6971
|
-
*
|
|
6972
|
-
*
|
|
6973
|
-
*
|
|
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.
|
|
6974
6864
|
*/
|
|
6975
|
-
async
|
|
6865
|
+
async takeTestChatRunEmailTurn(wid, runId, data) {
|
|
6976
6866
|
return this.fetch(
|
|
6977
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
6867
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
|
|
6978
6868
|
{
|
|
6979
6869
|
method: "POST",
|
|
6980
6870
|
body: JSON.stringify(data)
|
|
@@ -6982,15 +6872,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
6982
6872
|
);
|
|
6983
6873
|
}
|
|
6984
6874
|
/**
|
|
6985
|
-
*
|
|
6986
|
-
*
|
|
6987
|
-
*
|
|
6988
|
-
*
|
|
6989
|
-
* nothing is run. No carrier is dialed.
|
|
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.
|
|
6990
6879
|
*/
|
|
6991
|
-
async
|
|
6880
|
+
async takeTestChatRunSmsTurn(wid, runId, data) {
|
|
6992
6881
|
return this.fetch(
|
|
6993
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
6882
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
|
|
6994
6883
|
{
|
|
6995
6884
|
method: "POST",
|
|
6996
6885
|
body: JSON.stringify(data)
|
|
@@ -9001,6 +8890,17 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
9001
8890
|
`w/${wid}/workflows/${workflowId}/validate-config`
|
|
9002
8891
|
);
|
|
9003
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
|
+
}
|
|
9004
8904
|
/**
|
|
9005
8905
|
* Replay automatic routing for a Chat without performing the transition.
|
|
9006
8906
|
*
|
|
@@ -9844,36 +9744,22 @@ var CapturedEffectKind = {
|
|
|
9844
9744
|
escalation: "escalation"
|
|
9845
9745
|
};
|
|
9846
9746
|
|
|
9847
|
-
// src/types/generated/test_call_routing.ts
|
|
9848
|
-
var CallNotAnsweredBranch = {
|
|
9849
|
-
voice_disabled: "voice_disabled",
|
|
9850
|
-
fax_line: "fax_line",
|
|
9851
|
-
rings_operators: "rings_operators",
|
|
9852
|
-
forwards: "forwards",
|
|
9853
|
-
voicemail: "voicemail",
|
|
9854
|
-
plays_message: "plays_message",
|
|
9855
|
-
no_route: "no_route",
|
|
9856
|
-
voice_unavailable: "voice_unavailable",
|
|
9857
|
-
entry_denied: "entry_denied"
|
|
9858
|
-
};
|
|
9859
|
-
|
|
9860
9747
|
// src/types/generated/test_chat_run_inbound.ts
|
|
9861
9748
|
var InboundRefusal = {
|
|
9862
9749
|
run_not_found: "run_not_found",
|
|
9863
9750
|
run_ended: "run_ended",
|
|
9864
9751
|
sender_not_synthetic: "sender_not_synthetic",
|
|
9865
|
-
sender_is_anonymous: "sender_is_anonymous"
|
|
9866
|
-
sender_has_no_phone: "sender_has_no_phone",
|
|
9867
|
-
sender_has_no_email: "sender_has_no_email",
|
|
9868
|
-
destination_not_in_workspace: "destination_not_in_workspace",
|
|
9869
|
-
reply_target_not_test: "reply_target_not_test"
|
|
9752
|
+
sender_is_anonymous: "sender_is_anonymous"
|
|
9870
9753
|
};
|
|
9871
9754
|
var PhoneRunRefusal = {
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9755
|
+
phone_run_needs_a_person: "phone_run_needs_a_person"
|
|
9756
|
+
};
|
|
9757
|
+
|
|
9758
|
+
// src/types/generated/record_change.ts
|
|
9759
|
+
var RecordChangeKind = {
|
|
9760
|
+
created: "created",
|
|
9761
|
+
updated: "updated",
|
|
9762
|
+
deleted: "deleted"
|
|
9877
9763
|
};
|
|
9878
9764
|
|
|
9879
9765
|
// src/types/generated/qualification_health_service.ts
|
|
@@ -11802,7 +11688,6 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
11802
11688
|
auth: new AuthApi(apiKey, baseUrl, customFetch),
|
|
11803
11689
|
builders: new BuildersApi(apiKey, baseUrl, customFetch),
|
|
11804
11690
|
bundles: new BundlesApi(apiKey, baseUrl, customFetch),
|
|
11805
|
-
demos: new DemosApi(apiKey, baseUrl, customFetch),
|
|
11806
11691
|
installations: new InstallationsApi(apiKey, baseUrl, customFetch),
|
|
11807
11692
|
calendars: new CalendarsApi(apiKey, baseUrl, customFetch),
|
|
11808
11693
|
calls: new CallsApi(apiKey, baseUrl, customFetch),
|
|
@@ -12479,6 +12364,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12479
12364
|
"getWorkflowActivity",
|
|
12480
12365
|
"getWorkflowConfigValidation",
|
|
12481
12366
|
"getWorkflowFeedback",
|
|
12367
|
+
"getWorkflowPromptClassifications",
|
|
12482
12368
|
"getWorkflowContributors",
|
|
12483
12369
|
"getWorkflowDeletionPreview",
|
|
12484
12370
|
"getWorkflowDiagram",
|
|
@@ -12574,10 +12460,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12574
12460
|
"listSalesforceObjects",
|
|
12575
12461
|
"listScenarioHealthSummaries",
|
|
12576
12462
|
"listScenarios",
|
|
12577
|
-
"
|
|
12578
|
-
"
|
|
12579
|
-
"
|
|
12580
|
-
"
|
|
12463
|
+
"listChatCapturedEffects",
|
|
12464
|
+
"listChatRecordChanges",
|
|
12465
|
+
"takeTestChatRunEmailTurn",
|
|
12466
|
+
"takeTestChatRunSmsTurn",
|
|
12581
12467
|
"listTestChatRuns",
|
|
12582
12468
|
"listWidgetDomains",
|
|
12583
12469
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -13409,6 +13295,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
13409
13295
|
target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
|
|
13410
13296
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
13411
13297
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
13298
|
+
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
13412
13299
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
13413
13300
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
13414
13301
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -13861,6 +13748,7 @@ function bindOrgMethods(target, org) {
|
|
|
13861
13748
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
13862
13749
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
13863
13750
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
13751
|
+
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
13864
13752
|
}
|
|
13865
13753
|
|
|
13866
13754
|
// src/client/bindings/pronunciations.ts
|
|
@@ -13910,17 +13798,6 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
|
|
|
13910
13798
|
target.listResourceWorkflows = resourceWorkflows.listResourceWorkflows.bind(resourceWorkflows);
|
|
13911
13799
|
}
|
|
13912
13800
|
|
|
13913
|
-
// src/client/bindings/demos.ts
|
|
13914
|
-
function bindDemosMethods(target, demos) {
|
|
13915
|
-
target.getDemo = demos.getDemo.bind(demos);
|
|
13916
|
-
target.startDemoSession = demos.startDemoSession.bind(demos);
|
|
13917
|
-
target.sendDemoSessionSms = demos.sendDemoSessionSms.bind(demos);
|
|
13918
|
-
target.sendDemoSessionEmail = demos.sendDemoSessionEmail.bind(demos);
|
|
13919
|
-
target.placeDemoSessionCall = demos.placeDemoSessionCall.bind(demos);
|
|
13920
|
-
target.getDemoSessionTimeline = demos.getDemoSessionTimeline.bind(demos);
|
|
13921
|
-
target.endDemoSession = demos.endDemoSession.bind(demos);
|
|
13922
|
-
}
|
|
13923
|
-
|
|
13924
13801
|
// src/client/bindings/installations.ts
|
|
13925
13802
|
function bindInstallationsMethods(target, installations) {
|
|
13926
13803
|
target.preflightBundleInstallation = installations.preflightBundleInstallation.bind(installations);
|
|
@@ -13995,10 +13872,10 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
13995
13872
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
13996
13873
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
13997
13874
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
13998
|
-
target.
|
|
13999
|
-
target.
|
|
14000
|
-
target.
|
|
14001
|
-
target.
|
|
13875
|
+
target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
|
|
13876
|
+
target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
|
|
13877
|
+
target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
|
|
13878
|
+
target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
|
|
14002
13879
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
14003
13880
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
14004
13881
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -14327,10 +14204,10 @@ var GravityRailClient = class {
|
|
|
14327
14204
|
listTestChatRuns;
|
|
14328
14205
|
listScenarioHealthSummaries;
|
|
14329
14206
|
getTestChatRun;
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14207
|
+
listChatCapturedEffects;
|
|
14208
|
+
listChatRecordChanges;
|
|
14209
|
+
takeTestChatRunEmailTurn;
|
|
14210
|
+
takeTestChatRunSmsTurn;
|
|
14334
14211
|
startTestChatRun;
|
|
14335
14212
|
evaluateTestChatRun;
|
|
14336
14213
|
endTestChatRun;
|
|
@@ -14442,14 +14319,6 @@ var GravityRailClient = class {
|
|
|
14442
14319
|
createJourneyNote;
|
|
14443
14320
|
updateJourneyNote;
|
|
14444
14321
|
deleteJourneyNote;
|
|
14445
|
-
// Demos API
|
|
14446
|
-
getDemo;
|
|
14447
|
-
startDemoSession;
|
|
14448
|
-
sendDemoSessionSms;
|
|
14449
|
-
sendDemoSessionEmail;
|
|
14450
|
-
placeDemoSessionCall;
|
|
14451
|
-
getDemoSessionTimeline;
|
|
14452
|
-
endDemoSession;
|
|
14453
14322
|
updateBundle;
|
|
14454
14323
|
listBundleInstallations;
|
|
14455
14324
|
// Bundles API
|
|
@@ -14627,6 +14496,7 @@ var GravityRailClient = class {
|
|
|
14627
14496
|
updateOrganizationMember;
|
|
14628
14497
|
listOrgWebhookEndpoints;
|
|
14629
14498
|
getOrgWebhookEndpoint;
|
|
14499
|
+
updateOrgWebhookEndpoint;
|
|
14630
14500
|
getVapidPublicKey;
|
|
14631
14501
|
registerPushSubscription;
|
|
14632
14502
|
unregisterPushSubscription;
|
|
@@ -14835,6 +14705,7 @@ var GravityRailClient = class {
|
|
|
14835
14705
|
getWorkflowTaskAssignmentStats;
|
|
14836
14706
|
getTaskChats;
|
|
14837
14707
|
getWorkflowConfigValidation;
|
|
14708
|
+
getWorkflowPromptClassifications;
|
|
14838
14709
|
getWorkflowNotes;
|
|
14839
14710
|
createWorkflowNote;
|
|
14840
14711
|
updateWorkflowNote;
|
|
@@ -15312,7 +15183,6 @@ var GravityRailClient = class {
|
|
|
15312
15183
|
bindTrackedLinksMethods(this, apis.trackedLinks);
|
|
15313
15184
|
bindJourneysMethods(this, apis.journeys);
|
|
15314
15185
|
bindBundlesMethods(this, apis.bundles, apis.resourceWorkflows);
|
|
15315
|
-
bindDemosMethods(this, apis.demos);
|
|
15316
15186
|
bindInstallationsMethods(this, apis.installations);
|
|
15317
15187
|
bindExperimentsMethods(this, apis.experiments);
|
|
15318
15188
|
bindOperatorMethods(this, apis.operatorGroups);
|
|
@@ -15690,7 +15560,6 @@ var AbilityConfigIssueCode = {
|
|
|
15690
15560
|
feature_disabled: "feature_disabled",
|
|
15691
15561
|
missing_connection: "missing_connection",
|
|
15692
15562
|
external_drift: "external_drift",
|
|
15693
|
-
missing_task_instructions: "missing_task_instructions",
|
|
15694
15563
|
no_qualification_scenarios: "no_qualification_scenarios"
|
|
15695
15564
|
};
|
|
15696
15565
|
var AbilityConfigIssueSeverity = {
|
|
@@ -16749,11 +16618,6 @@ export {
|
|
|
16749
16618
|
AbilitiesApi,
|
|
16750
16619
|
ResourceWorkflowsApi,
|
|
16751
16620
|
BundlesApi,
|
|
16752
|
-
DemoCallOutcome,
|
|
16753
|
-
DemoRefusalCode,
|
|
16754
|
-
DemoSessionState,
|
|
16755
|
-
DemoRequestError,
|
|
16756
|
-
DemosApi,
|
|
16757
16621
|
InstallationsApi,
|
|
16758
16622
|
AccessGrantsApi,
|
|
16759
16623
|
AgentTasksApi,
|
|
@@ -16896,9 +16760,9 @@ export {
|
|
|
16896
16760
|
TestChatRunOutcome,
|
|
16897
16761
|
CapturedEffectDirection,
|
|
16898
16762
|
CapturedEffectKind,
|
|
16899
|
-
CallNotAnsweredBranch,
|
|
16900
16763
|
InboundRefusal,
|
|
16901
16764
|
PhoneRunRefusal,
|
|
16765
|
+
RecordChangeKind,
|
|
16902
16766
|
ScenarioHealthCaption,
|
|
16903
16767
|
ScenarioHealthHeadline,
|
|
16904
16768
|
ScenarioHealthSampleNote,
|
|
@@ -16960,7 +16824,6 @@ export {
|
|
|
16960
16824
|
bindOrgMethods,
|
|
16961
16825
|
bindPronunciationsMethods,
|
|
16962
16826
|
bindBundlesMethods,
|
|
16963
|
-
bindDemosMethods,
|
|
16964
16827
|
bindInstallationsMethods,
|
|
16965
16828
|
bindJourneysMethods,
|
|
16966
16829
|
bindQualificationsMethods,
|
|
@@ -17057,4 +16920,4 @@ export {
|
|
|
17057
16920
|
SCOPE_PRESETS,
|
|
17058
16921
|
getRevisionState
|
|
17059
16922
|
};
|
|
17060
|
-
//# sourceMappingURL=chunk-
|
|
16923
|
+
//# sourceMappingURL=chunk-STN3ZOEX.js.map
|