@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
package/dist/internal.cjs
CHANGED
|
@@ -63,7 +63,6 @@ __export(internal_exports, {
|
|
|
63
63
|
CalendarScheduleRecurrence: () => CalendarScheduleRecurrence,
|
|
64
64
|
CalendarSource: () => CalendarSource,
|
|
65
65
|
CalendarsApi: () => CalendarsApi,
|
|
66
|
-
CallNotAnsweredBranch: () => CallNotAnsweredBranch,
|
|
67
66
|
CallsApi: () => CallsApi,
|
|
68
67
|
CapabilityClass: () => CapabilityClass,
|
|
69
68
|
CapturedEffectDirection: () => CapturedEffectDirection,
|
|
@@ -211,6 +210,7 @@ __export(internal_exports, {
|
|
|
211
210
|
REALTIME_MODEL_OPENAI: () => REALTIME_MODEL_OPENAI,
|
|
212
211
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
213
212
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
213
|
+
RecordChangeKind: () => RecordChangeKind,
|
|
214
214
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
215
215
|
Region: () => Region,
|
|
216
216
|
RegistrationIdentifier: () => RegistrationIdentifier,
|
|
@@ -297,7 +297,6 @@ __export(internal_exports, {
|
|
|
297
297
|
bindCustomersMethods: () => bindCustomersMethods,
|
|
298
298
|
bindDashboardsMethods: () => bindDashboardsMethods,
|
|
299
299
|
bindDataTypesMethods: () => bindDataTypesMethods,
|
|
300
|
-
bindDemosMethods: () => bindDemosMethods,
|
|
301
300
|
bindDevicesMethods: () => bindDevicesMethods,
|
|
302
301
|
bindEventsMethods: () => bindEventsMethods,
|
|
303
302
|
bindExperimentsMethods: () => bindExperimentsMethods,
|
|
@@ -1095,36 +1094,22 @@ var CapturedEffectKind = {
|
|
|
1095
1094
|
escalation: "escalation"
|
|
1096
1095
|
};
|
|
1097
1096
|
|
|
1098
|
-
// src/types/generated/test_call_routing.ts
|
|
1099
|
-
var CallNotAnsweredBranch = {
|
|
1100
|
-
voice_disabled: "voice_disabled",
|
|
1101
|
-
fax_line: "fax_line",
|
|
1102
|
-
rings_operators: "rings_operators",
|
|
1103
|
-
forwards: "forwards",
|
|
1104
|
-
voicemail: "voicemail",
|
|
1105
|
-
plays_message: "plays_message",
|
|
1106
|
-
no_route: "no_route",
|
|
1107
|
-
voice_unavailable: "voice_unavailable",
|
|
1108
|
-
entry_denied: "entry_denied"
|
|
1109
|
-
};
|
|
1110
|
-
|
|
1111
1097
|
// src/types/generated/test_chat_run_inbound.ts
|
|
1112
1098
|
var InboundRefusal = {
|
|
1113
1099
|
run_not_found: "run_not_found",
|
|
1114
1100
|
run_ended: "run_ended",
|
|
1115
1101
|
sender_not_synthetic: "sender_not_synthetic",
|
|
1116
|
-
sender_is_anonymous: "sender_is_anonymous"
|
|
1117
|
-
sender_has_no_phone: "sender_has_no_phone",
|
|
1118
|
-
sender_has_no_email: "sender_has_no_email",
|
|
1119
|
-
destination_not_in_workspace: "destination_not_in_workspace",
|
|
1120
|
-
reply_target_not_test: "reply_target_not_test"
|
|
1102
|
+
sender_is_anonymous: "sender_is_anonymous"
|
|
1121
1103
|
};
|
|
1122
1104
|
var PhoneRunRefusal = {
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1105
|
+
phone_run_needs_a_person: "phone_run_needs_a_person"
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
// src/types/generated/record_change.ts
|
|
1109
|
+
var RecordChangeKind = {
|
|
1110
|
+
created: "created",
|
|
1111
|
+
updated: "updated",
|
|
1112
|
+
deleted: "deleted"
|
|
1128
1113
|
};
|
|
1129
1114
|
|
|
1130
1115
|
// src/types/generated/qualification_health_service.ts
|
|
@@ -2059,7 +2044,6 @@ var AbilityConfigIssueCode = {
|
|
|
2059
2044
|
feature_disabled: "feature_disabled",
|
|
2060
2045
|
missing_connection: "missing_connection",
|
|
2061
2046
|
external_drift: "external_drift",
|
|
2062
|
-
missing_task_instructions: "missing_task_instructions",
|
|
2063
2047
|
no_qualification_scenarios: "no_qualification_scenarios"
|
|
2064
2048
|
};
|
|
2065
2049
|
var AbilityConfigIssueSeverity = {
|
|
@@ -3761,116 +3745,6 @@ var BundlesApi = class extends BaseApiClient {
|
|
|
3761
3745
|
}
|
|
3762
3746
|
};
|
|
3763
3747
|
|
|
3764
|
-
// src/types/generated/demo.ts
|
|
3765
|
-
var DemoRefusalCode = {
|
|
3766
|
-
session_expired: "session_expired",
|
|
3767
|
-
session_capped: "session_capped",
|
|
3768
|
-
calls_capped: "calls_capped",
|
|
3769
|
-
session_ended: "session_ended",
|
|
3770
|
-
destination_not_allowed: "destination_not_allowed",
|
|
3771
|
-
sender_cannot_send: "sender_cannot_send",
|
|
3772
|
-
demo_not_available: "demo_not_available"
|
|
3773
|
-
};
|
|
3774
|
-
|
|
3775
|
-
// src/api/demos.ts
|
|
3776
|
-
var REFUSAL_CODES = Object.values(DemoRefusalCode);
|
|
3777
|
-
var DemoRequestError = class extends ApiError {
|
|
3778
|
-
code;
|
|
3779
|
-
constructor(message, statusCode, code) {
|
|
3780
|
-
super(message, statusCode);
|
|
3781
|
-
this.name = "DemoRequestError";
|
|
3782
|
-
this.code = code;
|
|
3783
|
-
}
|
|
3784
|
-
};
|
|
3785
|
-
function refusalCode(value) {
|
|
3786
|
-
return typeof value === "string" && REFUSAL_CODES.includes(value) ? value : void 0;
|
|
3787
|
-
}
|
|
3788
|
-
var DemosApi = class extends BaseApiClient {
|
|
3789
|
-
/** Whether a Bundle has a Demo, and what a visitor may contact in it. Needs no session. */
|
|
3790
|
-
async getDemo(bundleUuid) {
|
|
3791
|
-
return this.anonymous(`demos/${encodeURIComponent(bundleUuid)}`, {
|
|
3792
|
-
method: "GET"
|
|
3793
|
-
});
|
|
3794
|
-
}
|
|
3795
|
-
/** Start a Demo session. Needs no session; `recaptchaToken` is required where reCAPTCHA is enforced. */
|
|
3796
|
-
async startDemoSession(bundleUuid, data = {}) {
|
|
3797
|
-
return this.anonymous(
|
|
3798
|
-
`demos/${encodeURIComponent(bundleUuid)}/sessions`,
|
|
3799
|
-
{ method: "POST", body: JSON.stringify(data) }
|
|
3800
|
-
);
|
|
3801
|
-
}
|
|
3802
|
-
/** Text one of the Demo's numbers as the session's Persona. */
|
|
3803
|
-
async sendDemoSessionSms(sessionToken, data) {
|
|
3804
|
-
return this.anonymous(
|
|
3805
|
-
"demos/sessions/sms",
|
|
3806
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
3807
|
-
sessionToken
|
|
3808
|
-
);
|
|
3809
|
-
}
|
|
3810
|
-
/** Email one of the Demo's inboxes as the session's Persona. Returns after the Agent's turn. */
|
|
3811
|
-
async sendDemoSessionEmail(sessionToken, data) {
|
|
3812
|
-
return this.anonymous(
|
|
3813
|
-
"demos/sessions/email",
|
|
3814
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
3815
|
-
sessionToken
|
|
3816
|
-
);
|
|
3817
|
-
}
|
|
3818
|
-
/**
|
|
3819
|
-
* Call one of the Demo's numbers as the session's Persona.
|
|
3820
|
-
*
|
|
3821
|
-
* For an `answered` call, `join` holds what a browser opens the call with:
|
|
3822
|
-
* the web voice socket `url`, a single-use login `token` for this call's
|
|
3823
|
-
* Chat, and `chatId`. Send them in `voice.login`. For a `not_answered`
|
|
3824
|
-
* call, `notAnsweredBranch` says what the number does and nothing connects.
|
|
3825
|
-
*/
|
|
3826
|
-
async placeDemoSessionCall(sessionToken, data) {
|
|
3827
|
-
return this.anonymous(
|
|
3828
|
-
"demos/sessions/call",
|
|
3829
|
-
{ method: "POST", body: JSON.stringify(data) },
|
|
3830
|
-
sessionToken
|
|
3831
|
-
);
|
|
3832
|
-
}
|
|
3833
|
-
/**
|
|
3834
|
-
* The session's own messages, oldest first, and its state. `after` returns
|
|
3835
|
-
* only the rows after that row id, so a poll reads what is new.
|
|
3836
|
-
*/
|
|
3837
|
-
async getDemoSessionTimeline(sessionToken, params) {
|
|
3838
|
-
const query = params?.after !== void 0 ? `?after=${encodeURIComponent(params.after)}` : "";
|
|
3839
|
-
return this.anonymous(
|
|
3840
|
-
`demos/sessions/timeline${query}`,
|
|
3841
|
-
{ method: "GET" },
|
|
3842
|
-
sessionToken
|
|
3843
|
-
);
|
|
3844
|
-
}
|
|
3845
|
-
/** End the session. Nothing further is captured on it. */
|
|
3846
|
-
async endDemoSession(sessionToken) {
|
|
3847
|
-
return this.anonymous(
|
|
3848
|
-
"demos/sessions/end",
|
|
3849
|
-
{ method: "POST" },
|
|
3850
|
-
sessionToken
|
|
3851
|
-
);
|
|
3852
|
-
}
|
|
3853
|
-
/**
|
|
3854
|
-
* A request that carries the Demo session token, or no credential at all.
|
|
3855
|
-
* It never sends this client's API key or the browser's cookies.
|
|
3856
|
-
*/
|
|
3857
|
-
async anonymous(endpoint, init, sessionToken) {
|
|
3858
|
-
const headers = new Headers({ "Content-Type": "application/json" });
|
|
3859
|
-
if (sessionToken) headers.set("Authorization", `Bearer ${sessionToken}`);
|
|
3860
|
-
const response = await this.fetchFunction(`${this.baseUrl}/api/v2/${endpoint}`, {
|
|
3861
|
-
...init,
|
|
3862
|
-
headers,
|
|
3863
|
-
credentials: "omit"
|
|
3864
|
-
});
|
|
3865
|
-
if (!response.ok) {
|
|
3866
|
-
const body = await response.json().catch(() => ({}));
|
|
3867
|
-
const detail = typeof body.detail === "string" ? body.detail : `Request failed (${response.status})`;
|
|
3868
|
-
throw new DemoRequestError(detail, response.status, refusalCode(body.code));
|
|
3869
|
-
}
|
|
3870
|
-
return await response.json();
|
|
3871
|
-
}
|
|
3872
|
-
};
|
|
3873
|
-
|
|
3874
3748
|
// src/api/installations.ts
|
|
3875
3749
|
function installationsPath(wid, ...segments) {
|
|
3876
3750
|
const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
|
|
@@ -3897,9 +3771,18 @@ var InstallationsApi = class extends BaseApiClient {
|
|
|
3897
3771
|
{ method: "POST", body: JSON.stringify(data) }
|
|
3898
3772
|
);
|
|
3899
3773
|
}
|
|
3900
|
-
/**
|
|
3901
|
-
|
|
3902
|
-
|
|
3774
|
+
/**
|
|
3775
|
+
* Every attached installation this workspace holds, oldest first.
|
|
3776
|
+
*
|
|
3777
|
+
* With `includeDetached`, detached installations are listed too
|
|
3778
|
+
* (`subscribed: false`). A detached Bundle cannot be installed again at the
|
|
3779
|
+
* version its row holds.
|
|
3780
|
+
*/
|
|
3781
|
+
async listInstallations(wid, options = {}) {
|
|
3782
|
+
const path = installationsPath(wid);
|
|
3783
|
+
return this.fetch(
|
|
3784
|
+
options.includeDetached ? `${path}?includeDetached=true` : path
|
|
3785
|
+
);
|
|
3903
3786
|
}
|
|
3904
3787
|
async getInstallation(wid, installationUuid) {
|
|
3905
3788
|
return this.fetch(installationsPath(wid, installationUuid));
|
|
@@ -11091,34 +10974,34 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
11091
10974
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
11092
10975
|
}
|
|
11093
10976
|
/**
|
|
11094
|
-
* What a test run
|
|
11095
|
-
* notification and escalation it prepared,
|
|
11096
|
-
*
|
|
11097
|
-
*
|
|
11098
|
-
*
|
|
10977
|
+
* What a test run sent and received on other channels: each SMS, WhatsApp
|
|
10978
|
+
* message, email, call, notification and escalation it prepared, and each
|
|
10979
|
+
* message its Persona sent to the workspace, with content, oldest first.
|
|
10980
|
+
* `chatId` is the run's Chat. The list covers the whole run, including the
|
|
10981
|
+
* other Chats it produced. One entry per Member reached, naming the Member
|
|
10982
|
+
* and the workspace phone number or inbox used. Nothing in the list was
|
|
10983
|
+
* delivered. `truncated` means the list is incomplete. A Chat that is not
|
|
10984
|
+
* a test run's Chat has an empty list. Read access is the Chat's own.
|
|
11099
10985
|
*/
|
|
11100
|
-
async
|
|
11101
|
-
return this.fetch(
|
|
11102
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/captured-effects`
|
|
11103
|
-
);
|
|
11104
|
-
}
|
|
11105
|
-
async startTestChatRun(wid, workflowId, data = {}) {
|
|
11106
|
-
return this.fetch(
|
|
11107
|
-
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
11108
|
-
{
|
|
11109
|
-
method: "POST",
|
|
11110
|
-
body: JSON.stringify(data)
|
|
11111
|
-
}
|
|
11112
|
-
);
|
|
10986
|
+
async listChatCapturedEffects(wid, chatId) {
|
|
10987
|
+
return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
|
|
11113
10988
|
}
|
|
11114
10989
|
/**
|
|
11115
|
-
*
|
|
11116
|
-
*
|
|
11117
|
-
*
|
|
10990
|
+
* What a test run did to its test Member's records: each record created,
|
|
10991
|
+
* each update and each deletion from the run's start, oldest first, with
|
|
10992
|
+
* the fields touched and their values before and after. `chatId` is the
|
|
10993
|
+
* run's Chat. A scenario's seeded records are the first changes. One entry
|
|
10994
|
+
* per operation on one record, naming the Form and the Member who acted.
|
|
10995
|
+
* `truncated` means the list is incomplete. A Chat that is not a test
|
|
10996
|
+
* run's Chat has an empty list. Requires `records:read` and read access to
|
|
10997
|
+
* the Chat; a Form, record or field the caller may not read is left out.
|
|
11118
10998
|
*/
|
|
11119
|
-
async
|
|
10999
|
+
async listChatRecordChanges(wid, chatId) {
|
|
11000
|
+
return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
|
|
11001
|
+
}
|
|
11002
|
+
async startTestChatRun(wid, workflowId, data = {}) {
|
|
11120
11003
|
return this.fetch(
|
|
11121
|
-
`w/${wid}/qualifications/test-chat-runs
|
|
11004
|
+
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
11122
11005
|
{
|
|
11123
11006
|
method: "POST",
|
|
11124
11007
|
body: JSON.stringify(data)
|
|
@@ -11126,13 +11009,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
11126
11009
|
);
|
|
11127
11010
|
}
|
|
11128
11011
|
/**
|
|
11129
|
-
*
|
|
11130
|
-
*
|
|
11131
|
-
*
|
|
11012
|
+
* Take an email turn in the run's own Chat as its Persona. The email is a
|
|
11013
|
+
* Message of that Chat and the email Agent turn runs on it; no Inbox and no
|
|
11014
|
+
* routing is involved. The call returns after the Agent's turn with the
|
|
11015
|
+
* reply the run captured, which is never sent.
|
|
11132
11016
|
*/
|
|
11133
|
-
async
|
|
11017
|
+
async takeTestChatRunEmailTurn(wid, runId, data) {
|
|
11134
11018
|
return this.fetch(
|
|
11135
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
11019
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
|
|
11136
11020
|
{
|
|
11137
11021
|
method: "POST",
|
|
11138
11022
|
body: JSON.stringify(data)
|
|
@@ -11140,15 +11024,14 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
11140
11024
|
);
|
|
11141
11025
|
}
|
|
11142
11026
|
/**
|
|
11143
|
-
*
|
|
11144
|
-
*
|
|
11145
|
-
*
|
|
11146
|
-
*
|
|
11147
|
-
* nothing is run. No carrier is dialed.
|
|
11027
|
+
* Take a text turn in the run's own Chat as its Persona. The text is a
|
|
11028
|
+
* Message of that Chat and the SMS turn runs on it; no workspace phone
|
|
11029
|
+
* number and no routing is involved. The call returns after the Agent's
|
|
11030
|
+
* turn with the reply the run captured, which is never sent.
|
|
11148
11031
|
*/
|
|
11149
|
-
async
|
|
11032
|
+
async takeTestChatRunSmsTurn(wid, runId, data) {
|
|
11150
11033
|
return this.fetch(
|
|
11151
|
-
`w/${wid}/qualifications/test-chat-runs/${runId}/
|
|
11034
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
|
|
11152
11035
|
{
|
|
11153
11036
|
method: "POST",
|
|
11154
11037
|
body: JSON.stringify(data)
|
|
@@ -13244,6 +13127,17 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
13244
13127
|
`w/${wid}/workflows/${workflowId}/validate-config`
|
|
13245
13128
|
);
|
|
13246
13129
|
}
|
|
13130
|
+
/**
|
|
13131
|
+
* Classify the prompts of a Workflow's draft revision.
|
|
13132
|
+
*
|
|
13133
|
+
* A decision model reads each Task that has a prompt and reports which
|
|
13134
|
+
* prompt classifications probably apply. Each call asks the model again.
|
|
13135
|
+
*/
|
|
13136
|
+
async getWorkflowPromptClassifications(wid, workflowId) {
|
|
13137
|
+
return this.fetch(
|
|
13138
|
+
`w/${wid}/workflows/${workflowId}/prompt-classifications`
|
|
13139
|
+
);
|
|
13140
|
+
}
|
|
13247
13141
|
/**
|
|
13248
13142
|
* Replay automatic routing for a Chat without performing the transition.
|
|
13249
13143
|
*
|
|
@@ -14174,7 +14068,6 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
14174
14068
|
auth: new AuthApi(apiKey, baseUrl, customFetch),
|
|
14175
14069
|
builders: new BuildersApi(apiKey, baseUrl, customFetch),
|
|
14176
14070
|
bundles: new BundlesApi(apiKey, baseUrl, customFetch),
|
|
14177
|
-
demos: new DemosApi(apiKey, baseUrl, customFetch),
|
|
14178
14071
|
installations: new InstallationsApi(apiKey, baseUrl, customFetch),
|
|
14179
14072
|
calendars: new CalendarsApi(apiKey, baseUrl, customFetch),
|
|
14180
14073
|
calls: new CallsApi(apiKey, baseUrl, customFetch),
|
|
@@ -14851,6 +14744,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14851
14744
|
"getWorkflowActivity",
|
|
14852
14745
|
"getWorkflowConfigValidation",
|
|
14853
14746
|
"getWorkflowFeedback",
|
|
14747
|
+
"getWorkflowPromptClassifications",
|
|
14854
14748
|
"getWorkflowContributors",
|
|
14855
14749
|
"getWorkflowDeletionPreview",
|
|
14856
14750
|
"getWorkflowDiagram",
|
|
@@ -14946,10 +14840,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14946
14840
|
"listSalesforceObjects",
|
|
14947
14841
|
"listScenarioHealthSummaries",
|
|
14948
14842
|
"listScenarios",
|
|
14949
|
-
"
|
|
14950
|
-
"
|
|
14951
|
-
"
|
|
14952
|
-
"
|
|
14843
|
+
"listChatCapturedEffects",
|
|
14844
|
+
"listChatRecordChanges",
|
|
14845
|
+
"takeTestChatRunEmailTurn",
|
|
14846
|
+
"takeTestChatRunSmsTurn",
|
|
14953
14847
|
"listTestChatRuns",
|
|
14954
14848
|
"listWidgetDomains",
|
|
14955
14849
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -15781,6 +15675,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
15781
15675
|
target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
|
|
15782
15676
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
15783
15677
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
15678
|
+
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
15784
15679
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
15785
15680
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
15786
15681
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -16233,6 +16128,7 @@ function bindOrgMethods(target, org) {
|
|
|
16233
16128
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
16234
16129
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
16235
16130
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
16131
|
+
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
16236
16132
|
}
|
|
16237
16133
|
|
|
16238
16134
|
// src/client/bindings/pronunciations.ts
|
|
@@ -16282,17 +16178,6 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
|
|
|
16282
16178
|
target.listResourceWorkflows = resourceWorkflows.listResourceWorkflows.bind(resourceWorkflows);
|
|
16283
16179
|
}
|
|
16284
16180
|
|
|
16285
|
-
// src/client/bindings/demos.ts
|
|
16286
|
-
function bindDemosMethods(target, demos) {
|
|
16287
|
-
target.getDemo = demos.getDemo.bind(demos);
|
|
16288
|
-
target.startDemoSession = demos.startDemoSession.bind(demos);
|
|
16289
|
-
target.sendDemoSessionSms = demos.sendDemoSessionSms.bind(demos);
|
|
16290
|
-
target.sendDemoSessionEmail = demos.sendDemoSessionEmail.bind(demos);
|
|
16291
|
-
target.placeDemoSessionCall = demos.placeDemoSessionCall.bind(demos);
|
|
16292
|
-
target.getDemoSessionTimeline = demos.getDemoSessionTimeline.bind(demos);
|
|
16293
|
-
target.endDemoSession = demos.endDemoSession.bind(demos);
|
|
16294
|
-
}
|
|
16295
|
-
|
|
16296
16181
|
// src/client/bindings/installations.ts
|
|
16297
16182
|
function bindInstallationsMethods(target, installations) {
|
|
16298
16183
|
target.preflightBundleInstallation = installations.preflightBundleInstallation.bind(installations);
|
|
@@ -16367,10 +16252,10 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
16367
16252
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
16368
16253
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
16369
16254
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
16370
|
-
target.
|
|
16371
|
-
target.
|
|
16372
|
-
target.
|
|
16373
|
-
target.
|
|
16255
|
+
target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
|
|
16256
|
+
target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
|
|
16257
|
+
target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
|
|
16258
|
+
target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
|
|
16374
16259
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
16375
16260
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
16376
16261
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -16699,10 +16584,10 @@ var GravityRailClient = class {
|
|
|
16699
16584
|
listTestChatRuns;
|
|
16700
16585
|
listScenarioHealthSummaries;
|
|
16701
16586
|
getTestChatRun;
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16587
|
+
listChatCapturedEffects;
|
|
16588
|
+
listChatRecordChanges;
|
|
16589
|
+
takeTestChatRunEmailTurn;
|
|
16590
|
+
takeTestChatRunSmsTurn;
|
|
16706
16591
|
startTestChatRun;
|
|
16707
16592
|
evaluateTestChatRun;
|
|
16708
16593
|
endTestChatRun;
|
|
@@ -16814,14 +16699,6 @@ var GravityRailClient = class {
|
|
|
16814
16699
|
createJourneyNote;
|
|
16815
16700
|
updateJourneyNote;
|
|
16816
16701
|
deleteJourneyNote;
|
|
16817
|
-
// Demos API
|
|
16818
|
-
getDemo;
|
|
16819
|
-
startDemoSession;
|
|
16820
|
-
sendDemoSessionSms;
|
|
16821
|
-
sendDemoSessionEmail;
|
|
16822
|
-
placeDemoSessionCall;
|
|
16823
|
-
getDemoSessionTimeline;
|
|
16824
|
-
endDemoSession;
|
|
16825
16702
|
updateBundle;
|
|
16826
16703
|
listBundleInstallations;
|
|
16827
16704
|
// Bundles API
|
|
@@ -16999,6 +16876,7 @@ var GravityRailClient = class {
|
|
|
16999
16876
|
updateOrganizationMember;
|
|
17000
16877
|
listOrgWebhookEndpoints;
|
|
17001
16878
|
getOrgWebhookEndpoint;
|
|
16879
|
+
updateOrgWebhookEndpoint;
|
|
17002
16880
|
getVapidPublicKey;
|
|
17003
16881
|
registerPushSubscription;
|
|
17004
16882
|
unregisterPushSubscription;
|
|
@@ -17207,6 +17085,7 @@ var GravityRailClient = class {
|
|
|
17207
17085
|
getWorkflowTaskAssignmentStats;
|
|
17208
17086
|
getTaskChats;
|
|
17209
17087
|
getWorkflowConfigValidation;
|
|
17088
|
+
getWorkflowPromptClassifications;
|
|
17210
17089
|
getWorkflowNotes;
|
|
17211
17090
|
createWorkflowNote;
|
|
17212
17091
|
updateWorkflowNote;
|
|
@@ -17684,7 +17563,6 @@ var GravityRailClient = class {
|
|
|
17684
17563
|
bindTrackedLinksMethods(this, apis.trackedLinks);
|
|
17685
17564
|
bindJourneysMethods(this, apis.journeys);
|
|
17686
17565
|
bindBundlesMethods(this, apis.bundles, apis.resourceWorkflows);
|
|
17687
|
-
bindDemosMethods(this, apis.demos);
|
|
17688
17566
|
bindInstallationsMethods(this, apis.installations);
|
|
17689
17567
|
bindExperimentsMethods(this, apis.experiments);
|
|
17690
17568
|
bindOperatorMethods(this, apis.operatorGroups);
|
|
@@ -17907,7 +17785,6 @@ var ChatInteractionController = class {
|
|
|
17907
17785
|
CalendarScheduleRecurrence,
|
|
17908
17786
|
CalendarSource,
|
|
17909
17787
|
CalendarsApi,
|
|
17910
|
-
CallNotAnsweredBranch,
|
|
17911
17788
|
CallsApi,
|
|
17912
17789
|
CapabilityClass,
|
|
17913
17790
|
CapturedEffectDirection,
|
|
@@ -18055,6 +17932,7 @@ var ChatInteractionController = class {
|
|
|
18055
17932
|
REALTIME_MODEL_OPENAI,
|
|
18056
17933
|
REALTIME_MODEL_OPENAI_2,
|
|
18057
17934
|
REALTIME_MODEL_OPENAI_MINI,
|
|
17935
|
+
RecordChangeKind,
|
|
18058
17936
|
RefResolutionStatus,
|
|
18059
17937
|
Region,
|
|
18060
17938
|
RegistrationIdentifier,
|
|
@@ -18141,7 +18019,6 @@ var ChatInteractionController = class {
|
|
|
18141
18019
|
bindCustomersMethods,
|
|
18142
18020
|
bindDashboardsMethods,
|
|
18143
18021
|
bindDataTypesMethods,
|
|
18144
|
-
bindDemosMethods,
|
|
18145
18022
|
bindDevicesMethods,
|
|
18146
18023
|
bindEventsMethods,
|
|
18147
18024
|
bindExperimentsMethods,
|