@gravity-rail/sdk 0.42.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-interaction-C9dD0qbD.d.ts → chat-interaction-RFnlmlbW.d.ts} +822 -54
- package/dist/{chat-interaction-BBBeSKGl.d.cts → chat-interaction-WwLDUIWO.d.cts} +822 -54
- package/dist/{chunk-JTOMGNUO.js → chunk-JKML6WOA.js} +258 -10
- package/dist/chunk-JKML6WOA.js.map +1 -0
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/index.cjs +265 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +265 -9
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +5 -5
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +17 -1
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-BXReoljG.d.cts → member-import-D6KvS3Zg.d.cts} +1 -1
- package/dist/{member-import-jjfQHlWl.d.ts → member-import-mE0BhGIw.d.ts} +1 -1
- package/dist/{revision-state-Bp7WKk6z.d.cts → revision-state-DuuRwvkZ.d.ts} +30 -3
- package/dist/{revision-state-QkNQXWJC.d.ts → revision-state-DykZ8uuN.d.cts} +30 -3
- package/dist/schemas.cjs +12 -3
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +10 -2
- package/dist/schemas.d.ts +10 -2
- package/dist/schemas.js +12 -3
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-BsLI-h11.d.cts → tasks-DAPby6cw.d.cts} +60 -1
- package/dist/{tasks-BsLI-h11.d.ts → tasks-DAPby6cw.d.ts} +60 -1
- package/package.json +1 -1
- package/dist/chunk-JTOMGNUO.js.map +0 -1
package/dist/helpers.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-
|
|
4
|
-
export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-
|
|
1
|
+
import { g8 as GravityRailClient } from './chat-interaction-WwLDUIWO.cjs';
|
|
2
|
+
export { cf as ChatInteractionController } from './chat-interaction-WwLDUIWO.cjs';
|
|
3
|
+
import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-DAPby6cw.cjs';
|
|
4
|
+
export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-D6KvS3Zg.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
interface OutboundPhoneNumberOption {
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-
|
|
4
|
-
export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-
|
|
1
|
+
import { g8 as GravityRailClient } from './chat-interaction-RFnlmlbW.js';
|
|
2
|
+
export { cf as ChatInteractionController } from './chat-interaction-RFnlmlbW.js';
|
|
3
|
+
import { c7 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-DAPby6cw.js';
|
|
4
|
+
export { t as toSafeMemberImportPreview, a as toSafeMemberImportSummary } from './member-import-mE0BhGIw.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
interface OutboundPhoneNumberOption {
|
package/dist/index.cjs
CHANGED
|
@@ -59,7 +59,10 @@ __export(src_exports, {
|
|
|
59
59
|
CalendarScheduleAvailabilityType: () => CalendarScheduleAvailabilityType,
|
|
60
60
|
CalendarScheduleRecurrence: () => CalendarScheduleRecurrence,
|
|
61
61
|
CalendarSource: () => CalendarSource,
|
|
62
|
+
CallNotAnsweredBranch: () => CallNotAnsweredBranch,
|
|
62
63
|
CapabilityClass: () => CapabilityClass,
|
|
64
|
+
CapturedEffectDirection: () => CapturedEffectDirection,
|
|
65
|
+
CapturedEffectKind: () => CapturedEffectKind,
|
|
63
66
|
ChannelMessageDirection: () => ChannelMessageDirection,
|
|
64
67
|
ChannelMessageSource: () => ChannelMessageSource,
|
|
65
68
|
ChannelMessagesUnavailableReason: () => ChannelMessagesUnavailableReason,
|
|
@@ -106,6 +109,7 @@ __export(src_exports, {
|
|
|
106
109
|
ImportSkippedRuleResponseReasonCode: () => ImportSkippedRuleResponseReasonCode,
|
|
107
110
|
ImportSkippedRuleResponseStatus: () => ImportSkippedRuleResponseStatus,
|
|
108
111
|
InboundFaxStatusValues: () => InboundFaxStatus,
|
|
112
|
+
InboundRefusal: () => InboundRefusal,
|
|
109
113
|
IndexStatus: () => IndexStatus,
|
|
110
114
|
InstallationItemChangeChange: () => InstallationItemChangeChange,
|
|
111
115
|
InstallationsApi: () => InstallationsApi,
|
|
@@ -118,6 +122,7 @@ __export(src_exports, {
|
|
|
118
122
|
McpServerState: () => McpServerState,
|
|
119
123
|
MemberFeature: () => MemberFeature,
|
|
120
124
|
MemberFilterBuilder: () => MemberFilterBuilder,
|
|
125
|
+
MemberImportIssueCode: () => MemberImportIssueCode,
|
|
121
126
|
MemberImportMatchInfoMatchType: () => MemberImportMatchInfoMatchType,
|
|
122
127
|
MemberImportPreviewRowAction: () => MemberImportPreviewRowAction,
|
|
123
128
|
MemberImportValidationError: () => MemberImportValidationError,
|
|
@@ -148,6 +153,7 @@ __export(src_exports, {
|
|
|
148
153
|
PIDS_DISPOSITIONS: () => PIDS_DISPOSITIONS,
|
|
149
154
|
PIDS_SOURCES: () => PIDS_SOURCES,
|
|
150
155
|
POSITIVE_RATING_THRESHOLD: () => POSITIVE_RATING_THRESHOLD,
|
|
156
|
+
PhoneRunRefusal: () => PhoneRunRefusal,
|
|
151
157
|
ProductType: () => ProductType,
|
|
152
158
|
PromoCodeStatus: () => PromoCodeStatus,
|
|
153
159
|
QUERY_VALUELESS_OPS: () => QUERY_VALUELESS_OPS,
|
|
@@ -158,6 +164,7 @@ __export(src_exports, {
|
|
|
158
164
|
REALTIME_MODEL_OPENAI: () => REALTIME_MODEL_OPENAI,
|
|
159
165
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
160
166
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
167
|
+
RecordChangeKind: () => RecordChangeKind,
|
|
161
168
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
162
169
|
ReferenceTargetInputKind: () => ReferenceTargetInputKind,
|
|
163
170
|
Region: () => Region,
|
|
@@ -200,6 +207,7 @@ __export(src_exports, {
|
|
|
200
207
|
TTS_MODEL_XAI_V1: () => TTS_MODEL_XAI_V1,
|
|
201
208
|
TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
|
|
202
209
|
TaskBuilder: () => TaskBuilder,
|
|
210
|
+
TaskTransitionInitiator: () => TaskTransitionInitiator,
|
|
203
211
|
TemplatesApi: () => TemplatesApi,
|
|
204
212
|
TestChatRunLane: () => TestChatRunLane,
|
|
205
213
|
TestChatRunOutcome: () => TestChatRunOutcome,
|
|
@@ -886,6 +894,27 @@ var BundlesApi = class extends BaseApiClient {
|
|
|
886
894
|
async listBundleWorkflowCandidates(wid) {
|
|
887
895
|
return this.fetch(bundlesPath(wid, "workflow-candidates"));
|
|
888
896
|
}
|
|
897
|
+
/**
|
|
898
|
+
* This workspace's Journeys for the Bundle picker, by name. Nothing is built
|
|
899
|
+
* for the list. `available` is false while the server refuses Journey items.
|
|
900
|
+
* Requires `workflows:admin` and `journeys:write`.
|
|
901
|
+
*/
|
|
902
|
+
async listBundleJourneyCandidates(wid) {
|
|
903
|
+
return this.fetch(bundlesPath(wid, "journey-candidates"));
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* One Journey as the Bundle item that adds it: the whole Journey item the
|
|
907
|
+
* server built (`item`), the Forms its conditions read and the Workflows its
|
|
908
|
+
* actions start, or the `problems` that name what the Journey must change
|
|
909
|
+
* first. The item never carries enrollment; `enrollmentOmitted` says the
|
|
910
|
+
* Journey has automatic enrollment that was left out. Requires
|
|
911
|
+
* `workflows:admin` and `journeys:write`.
|
|
912
|
+
*/
|
|
913
|
+
async getBundleJourneyCandidate(wid, journeyUuid) {
|
|
914
|
+
return this.fetch(
|
|
915
|
+
bundlesPath(wid, "journey-candidates", journeyUuid)
|
|
916
|
+
);
|
|
917
|
+
}
|
|
889
918
|
/** Create an empty Bundle owned by this workspace. */
|
|
890
919
|
async createBundle(wid, data) {
|
|
891
920
|
return this.fetch(bundlesPath(wid), {
|
|
@@ -979,9 +1008,18 @@ var InstallationsApi = class extends BaseApiClient {
|
|
|
979
1008
|
{ method: "POST", body: JSON.stringify(data) }
|
|
980
1009
|
);
|
|
981
1010
|
}
|
|
982
|
-
/**
|
|
983
|
-
|
|
984
|
-
|
|
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
|
+
);
|
|
985
1023
|
}
|
|
986
1024
|
async getInstallation(wid, installationUuid) {
|
|
987
1025
|
return this.fetch(installationsPath(wid, installationUuid));
|
|
@@ -2277,9 +2315,25 @@ var CallsApi = class extends BaseApiClient {
|
|
|
2277
2315
|
`w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
|
|
2278
2316
|
);
|
|
2279
2317
|
}
|
|
2280
|
-
/**
|
|
2281
|
-
|
|
2282
|
-
|
|
2318
|
+
/**
|
|
2319
|
+
* Get message timing data for a chat recording. `source` selects whose
|
|
2320
|
+
* timeline the offsets are measured against; omitted means `standard`.
|
|
2321
|
+
*/
|
|
2322
|
+
async getMessageTiming(wid, chatId, options = {}) {
|
|
2323
|
+
const params = new URLSearchParams();
|
|
2324
|
+
if (options.source) params.set("source", options.source);
|
|
2325
|
+
return this.fetch(
|
|
2326
|
+
`w/${wid}/recordings/chat/${chatId}/message-timing${params.toString() ? `?${params.toString()}` : ""}`
|
|
2327
|
+
);
|
|
2328
|
+
}
|
|
2329
|
+
/**
|
|
2330
|
+
* Staff-only discovery of retained edge-stream capture for a chat:
|
|
2331
|
+
* whether any is retained, its aggregate coverage status, the interval it
|
|
2332
|
+
* covers, and closed reason codes. `available: false` when nothing is
|
|
2333
|
+
* retained; 403 for anyone who is not Gravity Rail staff.
|
|
2334
|
+
*/
|
|
2335
|
+
async getEdgeCaptureInfo(wid, chatId) {
|
|
2336
|
+
return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
|
|
2283
2337
|
}
|
|
2284
2338
|
/**
|
|
2285
2339
|
* Get PHI-safe provenance metadata for the recording served by
|
|
@@ -2649,6 +2703,19 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
2649
2703
|
`w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
|
|
2650
2704
|
);
|
|
2651
2705
|
}
|
|
2706
|
+
/** Who moved the chat's Assignment between Tasks, for a time window.
|
|
2707
|
+
* Pair it with `getChatMessages`: pass the window the message page covers as
|
|
2708
|
+
* `after` / `before` (ISO-8601, inclusive). The newest `limit` moves in the
|
|
2709
|
+
* window come back, oldest first. */
|
|
2710
|
+
async getChatTaskTransitions(wid, id, options) {
|
|
2711
|
+
const params = new URLSearchParams();
|
|
2712
|
+
if (options?.after) params.append("after", options.after);
|
|
2713
|
+
if (options?.before) params.append("before", options.before);
|
|
2714
|
+
if (options?.limit) params.append("limit", options.limit.toString());
|
|
2715
|
+
return this.fetch(
|
|
2716
|
+
`w/${wid}/chats/${id}/task-transitions${params.toString() ? `?${params.toString()}` : ""}`
|
|
2717
|
+
);
|
|
2718
|
+
}
|
|
2652
2719
|
/** List the background-work thread hanging off a message.
|
|
2653
2720
|
*
|
|
2654
2721
|
* When a tool trajectory outgrows its turn it detaches and runs in the
|
|
@@ -6550,7 +6617,8 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6550
6617
|
return this.fetch(`o/${orgIdOrUuid}/bundles`);
|
|
6551
6618
|
}
|
|
6552
6619
|
/**
|
|
6553
|
-
* Update the settings an org admin owns: name, slug
|
|
6620
|
+
* Update the settings an org admin owns: name, slug, contact details and
|
|
6621
|
+
* the security contact.
|
|
6554
6622
|
*
|
|
6555
6623
|
* Deliberately NOT the admin organization update — `enforceCreditLimit`
|
|
6556
6624
|
* is superuser-only and is not a field on this endpoint's request model
|
|
@@ -8149,6 +8217,32 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8149
8217
|
async getTestChatRun(wid, runId) {
|
|
8150
8218
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
8151
8219
|
}
|
|
8220
|
+
/**
|
|
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.
|
|
8229
|
+
*/
|
|
8230
|
+
async listChatCapturedEffects(wid, chatId) {
|
|
8231
|
+
return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
|
|
8232
|
+
}
|
|
8233
|
+
/**
|
|
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.
|
|
8242
|
+
*/
|
|
8243
|
+
async listChatRecordChanges(wid, chatId) {
|
|
8244
|
+
return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
|
|
8245
|
+
}
|
|
8152
8246
|
async startTestChatRun(wid, workflowId, data = {}) {
|
|
8153
8247
|
return this.fetch(
|
|
8154
8248
|
`w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
|
|
@@ -8158,6 +8252,36 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8158
8252
|
}
|
|
8159
8253
|
);
|
|
8160
8254
|
}
|
|
8255
|
+
/**
|
|
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.
|
|
8260
|
+
*/
|
|
8261
|
+
async takeTestChatRunEmailTurn(wid, runId, data) {
|
|
8262
|
+
return this.fetch(
|
|
8263
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
|
|
8264
|
+
{
|
|
8265
|
+
method: "POST",
|
|
8266
|
+
body: JSON.stringify(data)
|
|
8267
|
+
}
|
|
8268
|
+
);
|
|
8269
|
+
}
|
|
8270
|
+
/**
|
|
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.
|
|
8275
|
+
*/
|
|
8276
|
+
async takeTestChatRunSmsTurn(wid, runId, data) {
|
|
8277
|
+
return this.fetch(
|
|
8278
|
+
`w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
|
|
8279
|
+
{
|
|
8280
|
+
method: "POST",
|
|
8281
|
+
body: JSON.stringify(data)
|
|
8282
|
+
}
|
|
8283
|
+
);
|
|
8284
|
+
}
|
|
8161
8285
|
async evaluateTestChatRun(wid, runId) {
|
|
8162
8286
|
await this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/evaluate`, {
|
|
8163
8287
|
method: "POST"
|
|
@@ -10247,6 +10371,17 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
10247
10371
|
`w/${wid}/workflows/${workflowId}/validate-config`
|
|
10248
10372
|
);
|
|
10249
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
|
+
}
|
|
10250
10385
|
/**
|
|
10251
10386
|
* Replay automatic routing for a Chat without performing the transition.
|
|
10252
10387
|
*
|
|
@@ -10600,6 +10735,34 @@ var BulkMemberResultStatus = {
|
|
|
10600
10735
|
conflict: "conflict",
|
|
10601
10736
|
skipped: "skipped"
|
|
10602
10737
|
};
|
|
10738
|
+
var MemberImportIssueCode = {
|
|
10739
|
+
csv_unreadable: "csv_unreadable",
|
|
10740
|
+
too_many_rows: "too_many_rows",
|
|
10741
|
+
duplicate_column: "duplicate_column",
|
|
10742
|
+
form_column_format: "form_column_format",
|
|
10743
|
+
form_data_type_unknown: "form_data_type_unknown",
|
|
10744
|
+
form_field_unknown: "form_field_unknown",
|
|
10745
|
+
member_field_column_format: "member_field_column_format",
|
|
10746
|
+
salesforce_not_connected: "salesforce_not_connected",
|
|
10747
|
+
member_keys_unknown: "member_keys_unknown",
|
|
10748
|
+
member_keys_uncorroborated: "member_keys_uncorroborated",
|
|
10749
|
+
notify_value_invalid: "notify_value_invalid",
|
|
10750
|
+
consent_date_invalid: "consent_date_invalid",
|
|
10751
|
+
date_of_birth_invalid: "date_of_birth_invalid",
|
|
10752
|
+
conflict_resolution_invalid: "conflict_resolution_invalid",
|
|
10753
|
+
salesforce_id_invalid: "salesforce_id_invalid",
|
|
10754
|
+
member_id_invalid: "member_id_invalid",
|
|
10755
|
+
member_uuid_invalid: "member_uuid_invalid",
|
|
10756
|
+
member_id_not_found: "member_id_not_found",
|
|
10757
|
+
member_uuid_not_found: "member_uuid_not_found",
|
|
10758
|
+
member_key_conflict: "member_key_conflict",
|
|
10759
|
+
phone_invalid: "phone_invalid",
|
|
10760
|
+
email_ambiguous: "email_ambiguous",
|
|
10761
|
+
member_archived: "member_archived",
|
|
10762
|
+
role_requires_account: "role_requires_account",
|
|
10763
|
+
contact_required: "contact_required",
|
|
10764
|
+
row_invalid: "row_invalid"
|
|
10765
|
+
};
|
|
10603
10766
|
var MemberImportMatchInfoMatchType = {
|
|
10604
10767
|
id: "id",
|
|
10605
10768
|
uuid: "uuid",
|
|
@@ -11121,6 +11284,7 @@ var TestChatRunLane = {
|
|
|
11121
11284
|
text: "text",
|
|
11122
11285
|
web_realtime: "web_realtime",
|
|
11123
11286
|
core_agent_only: "core_agent_only",
|
|
11287
|
+
phone_call: "phone_call",
|
|
11124
11288
|
unsupported: "unsupported",
|
|
11125
11289
|
unknown: "unknown"
|
|
11126
11290
|
};
|
|
@@ -11134,6 +11298,56 @@ var TestChatRunOutcome = {
|
|
|
11134
11298
|
instrument_failure: "instrument_failure"
|
|
11135
11299
|
};
|
|
11136
11300
|
|
|
11301
|
+
// src/types/generated/captured_effect.ts
|
|
11302
|
+
var CapturedEffectDirection = {
|
|
11303
|
+
outbound: "outbound",
|
|
11304
|
+
inbound: "inbound"
|
|
11305
|
+
};
|
|
11306
|
+
var CapturedEffectKind = {
|
|
11307
|
+
sms: "sms",
|
|
11308
|
+
whatsapp: "whatsapp",
|
|
11309
|
+
email: "email",
|
|
11310
|
+
phone_call: "phone_call",
|
|
11311
|
+
notification: "notification",
|
|
11312
|
+
escalation: "escalation"
|
|
11313
|
+
};
|
|
11314
|
+
|
|
11315
|
+
// src/types/generated/test_call_routing.ts
|
|
11316
|
+
var CallNotAnsweredBranch = {
|
|
11317
|
+
voice_disabled: "voice_disabled",
|
|
11318
|
+
fax_line: "fax_line",
|
|
11319
|
+
rings_operators: "rings_operators",
|
|
11320
|
+
forwards: "forwards",
|
|
11321
|
+
voicemail: "voicemail",
|
|
11322
|
+
plays_message: "plays_message",
|
|
11323
|
+
no_route: "no_route",
|
|
11324
|
+
voice_unavailable: "voice_unavailable",
|
|
11325
|
+
entry_denied: "entry_denied"
|
|
11326
|
+
};
|
|
11327
|
+
|
|
11328
|
+
// src/types/generated/test_chat_run_inbound.ts
|
|
11329
|
+
var InboundRefusal = {
|
|
11330
|
+
run_not_found: "run_not_found",
|
|
11331
|
+
run_ended: "run_ended",
|
|
11332
|
+
sender_not_synthetic: "sender_not_synthetic",
|
|
11333
|
+
sender_is_anonymous: "sender_is_anonymous",
|
|
11334
|
+
sender_has_no_phone: "sender_has_no_phone",
|
|
11335
|
+
destination_not_in_workspace: "destination_not_in_workspace"
|
|
11336
|
+
};
|
|
11337
|
+
var PhoneRunRefusal = {
|
|
11338
|
+
call_not_answered: "call_not_answered",
|
|
11339
|
+
number_routes_to_other_workflow: "number_routes_to_other_workflow",
|
|
11340
|
+
phone_run_needs_a_person: "phone_run_needs_a_person",
|
|
11341
|
+
number_needs_the_phone_channel: "number_needs_the_phone_channel"
|
|
11342
|
+
};
|
|
11343
|
+
|
|
11344
|
+
// src/types/generated/record_change.ts
|
|
11345
|
+
var RecordChangeKind = {
|
|
11346
|
+
created: "created",
|
|
11347
|
+
updated: "updated",
|
|
11348
|
+
deleted: "deleted"
|
|
11349
|
+
};
|
|
11350
|
+
|
|
11137
11351
|
// src/types/generated/qualification_health_service.ts
|
|
11138
11352
|
var ScenarioHealthCaption = {
|
|
11139
11353
|
recent_passes: "recent_passes",
|
|
@@ -11168,7 +11382,6 @@ var RevisionHistorySegment = {
|
|
|
11168
11382
|
|
|
11169
11383
|
// src/types/generated/qualification_run_identity.ts
|
|
11170
11384
|
var ScenarioRunBlocker = {
|
|
11171
|
-
missing_persona: "missing_persona",
|
|
11172
11385
|
archived_persona: "archived_persona"
|
|
11173
11386
|
};
|
|
11174
11387
|
|
|
@@ -12653,6 +12866,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12653
12866
|
"getInstallationReadiness",
|
|
12654
12867
|
"getThemeSettingsSchema",
|
|
12655
12868
|
"getBundleDraft",
|
|
12869
|
+
"getBundleJourneyCandidate",
|
|
12656
12870
|
"getBundle",
|
|
12657
12871
|
"getBundleVersion",
|
|
12658
12872
|
"getBusinessHoursStatus",
|
|
@@ -12684,6 +12898,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12684
12898
|
"getChatLabels",
|
|
12685
12899
|
"getChatMachineResources",
|
|
12686
12900
|
"getChatMessages",
|
|
12901
|
+
"getChatTaskTransitions",
|
|
12687
12902
|
"getChatModelOverride",
|
|
12688
12903
|
"getChatPhoneCalls",
|
|
12689
12904
|
"getChatSkills",
|
|
@@ -12741,6 +12956,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12741
12956
|
"getDocumoFaxSetup",
|
|
12742
12957
|
"listDocumoFaxes",
|
|
12743
12958
|
"getDocumoFaxStatus",
|
|
12959
|
+
"getEdgeCaptureInfo",
|
|
12744
12960
|
"getEnrollmentStatusLog",
|
|
12745
12961
|
"getEventRule",
|
|
12746
12962
|
"getEventRules",
|
|
@@ -12963,6 +13179,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12963
13179
|
"getWorkflowActivity",
|
|
12964
13180
|
"getWorkflowConfigValidation",
|
|
12965
13181
|
"getWorkflowFeedback",
|
|
13182
|
+
"getWorkflowPromptClassifications",
|
|
12966
13183
|
"getWorkflowContributors",
|
|
12967
13184
|
"getWorkflowDeletionPreview",
|
|
12968
13185
|
"getWorkflowDiagram",
|
|
@@ -13021,6 +13238,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13021
13238
|
"listAvailableAppConnections",
|
|
13022
13239
|
"listInstallations",
|
|
13023
13240
|
"listBundleGrants",
|
|
13241
|
+
"listBundleJourneyCandidates",
|
|
13024
13242
|
"listBundleVersions",
|
|
13025
13243
|
"listBundles",
|
|
13026
13244
|
"listBundleWorkflowCandidates",
|
|
@@ -13057,6 +13275,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13057
13275
|
"listSalesforceObjects",
|
|
13058
13276
|
"listScenarioHealthSummaries",
|
|
13059
13277
|
"listScenarios",
|
|
13278
|
+
"listChatCapturedEffects",
|
|
13279
|
+
"listChatRecordChanges",
|
|
13280
|
+
"takeTestChatRunEmailTurn",
|
|
13281
|
+
"takeTestChatRunSmsTurn",
|
|
13060
13282
|
"listTestChatRuns",
|
|
13061
13283
|
"listWidgetDomains",
|
|
13062
13284
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -13366,6 +13588,7 @@ function bindChatsMethods(target, chats) {
|
|
|
13366
13588
|
target.updateChatMute = chats.updateChatMute.bind(chats);
|
|
13367
13589
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
13368
13590
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
13591
|
+
target.getChatTaskTransitions = chats.getChatTaskTransitions.bind(chats);
|
|
13369
13592
|
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
13370
13593
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
13371
13594
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
@@ -13400,6 +13623,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
13400
13623
|
target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
|
|
13401
13624
|
target.getMessageTiming = calls.getMessageTiming.bind(calls);
|
|
13402
13625
|
target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
|
|
13626
|
+
target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
|
|
13403
13627
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
13404
13628
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
13405
13629
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
@@ -13886,6 +14110,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
13886
14110
|
target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
|
|
13887
14111
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
13888
14112
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
14113
|
+
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
13889
14114
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
13890
14115
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
13891
14116
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -14372,6 +14597,8 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
|
|
|
14372
14597
|
target.listBundleInstallations = bundles.listBundleInstallations.bind(bundles);
|
|
14373
14598
|
target.listBundles = bundles.listBundles.bind(bundles);
|
|
14374
14599
|
target.listBundleWorkflowCandidates = bundles.listBundleWorkflowCandidates.bind(bundles);
|
|
14600
|
+
target.listBundleJourneyCandidates = bundles.listBundleJourneyCandidates.bind(bundles);
|
|
14601
|
+
target.getBundleJourneyCandidate = bundles.getBundleJourneyCandidate.bind(bundles);
|
|
14375
14602
|
target.createBundle = bundles.createBundle.bind(bundles);
|
|
14376
14603
|
target.getBundleDraft = bundles.getBundleDraft.bind(bundles);
|
|
14377
14604
|
target.replaceBundleDraft = bundles.replaceBundleDraft.bind(bundles);
|
|
@@ -14459,6 +14686,10 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
14459
14686
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
14460
14687
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
14461
14688
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
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);
|
|
14462
14693
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
14463
14694
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
14464
14695
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -14611,6 +14842,7 @@ var GravityRailClient = class {
|
|
|
14611
14842
|
updateChatMute;
|
|
14612
14843
|
summarizeChat;
|
|
14613
14844
|
getChatMessages;
|
|
14845
|
+
getChatTaskTransitions;
|
|
14614
14846
|
getChildThreadMessages;
|
|
14615
14847
|
getChatToolCallMessages;
|
|
14616
14848
|
getChatTools;
|
|
@@ -14642,6 +14874,7 @@ var GravityRailClient = class {
|
|
|
14642
14874
|
getPhoneCalls;
|
|
14643
14875
|
getMessageTiming;
|
|
14644
14876
|
getRecordingInfo;
|
|
14877
|
+
getEdgeCaptureInfo;
|
|
14645
14878
|
listChatRecordings;
|
|
14646
14879
|
getCallRecordingDownloadUrl;
|
|
14647
14880
|
getCelContext;
|
|
@@ -14785,6 +15018,10 @@ var GravityRailClient = class {
|
|
|
14785
15018
|
listTestChatRuns;
|
|
14786
15019
|
listScenarioHealthSummaries;
|
|
14787
15020
|
getTestChatRun;
|
|
15021
|
+
listChatCapturedEffects;
|
|
15022
|
+
listChatRecordChanges;
|
|
15023
|
+
takeTestChatRunEmailTurn;
|
|
15024
|
+
takeTestChatRunSmsTurn;
|
|
14788
15025
|
startTestChatRun;
|
|
14789
15026
|
evaluateTestChatRun;
|
|
14790
15027
|
endTestChatRun;
|
|
@@ -14903,6 +15140,8 @@ var GravityRailClient = class {
|
|
|
14903
15140
|
getPublicBundle;
|
|
14904
15141
|
listBundles;
|
|
14905
15142
|
listBundleWorkflowCandidates;
|
|
15143
|
+
listBundleJourneyCandidates;
|
|
15144
|
+
getBundleJourneyCandidate;
|
|
14906
15145
|
createBundle;
|
|
14907
15146
|
getBundleDraft;
|
|
14908
15147
|
replaceBundleDraft;
|
|
@@ -15279,6 +15518,7 @@ var GravityRailClient = class {
|
|
|
15279
15518
|
getWorkflowTaskAssignmentStats;
|
|
15280
15519
|
getTaskChats;
|
|
15281
15520
|
getWorkflowConfigValidation;
|
|
15521
|
+
getWorkflowPromptClassifications;
|
|
15282
15522
|
getWorkflowNotes;
|
|
15283
15523
|
createWorkflowNote;
|
|
15284
15524
|
updateWorkflowNote;
|
|
@@ -18539,6 +18779,15 @@ var ChatMuteReason = {
|
|
|
18539
18779
|
not_mine: "not_mine"
|
|
18540
18780
|
};
|
|
18541
18781
|
|
|
18782
|
+
// src/types/generated/assignment_task_transition.ts
|
|
18783
|
+
var TaskTransitionInitiator = {
|
|
18784
|
+
member: "member",
|
|
18785
|
+
agent: "agent",
|
|
18786
|
+
event_rule: "event_rule",
|
|
18787
|
+
auto_next: "auto_next",
|
|
18788
|
+
system: "system"
|
|
18789
|
+
};
|
|
18790
|
+
|
|
18542
18791
|
// src/types/generated/ehr_writeback.ts
|
|
18543
18792
|
var EhrWritebackOutcomeResponseStatus = {
|
|
18544
18793
|
accepted: "accepted",
|
|
@@ -18670,7 +18919,6 @@ var AbilityConfigIssueCode = {
|
|
|
18670
18919
|
feature_disabled: "feature_disabled",
|
|
18671
18920
|
missing_connection: "missing_connection",
|
|
18672
18921
|
external_drift: "external_drift",
|
|
18673
|
-
missing_task_instructions: "missing_task_instructions",
|
|
18674
18922
|
no_qualification_scenarios: "no_qualification_scenarios"
|
|
18675
18923
|
};
|
|
18676
18924
|
var AbilityConfigIssueSeverity = {
|
|
@@ -19946,7 +20194,10 @@ function toSafeMemberImportSummary(event) {
|
|
|
19946
20194
|
CalendarScheduleAvailabilityType,
|
|
19947
20195
|
CalendarScheduleRecurrence,
|
|
19948
20196
|
CalendarSource,
|
|
20197
|
+
CallNotAnsweredBranch,
|
|
19949
20198
|
CapabilityClass,
|
|
20199
|
+
CapturedEffectDirection,
|
|
20200
|
+
CapturedEffectKind,
|
|
19950
20201
|
ChannelMessageDirection,
|
|
19951
20202
|
ChannelMessageSource,
|
|
19952
20203
|
ChannelMessagesUnavailableReason,
|
|
@@ -19993,6 +20244,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
19993
20244
|
ImportSkippedRuleResponseReasonCode,
|
|
19994
20245
|
ImportSkippedRuleResponseStatus,
|
|
19995
20246
|
InboundFaxStatusValues,
|
|
20247
|
+
InboundRefusal,
|
|
19996
20248
|
IndexStatus,
|
|
19997
20249
|
InstallationItemChangeChange,
|
|
19998
20250
|
InstallationsApi,
|
|
@@ -20005,6 +20257,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
20005
20257
|
McpServerState,
|
|
20006
20258
|
MemberFeature,
|
|
20007
20259
|
MemberFilterBuilder,
|
|
20260
|
+
MemberImportIssueCode,
|
|
20008
20261
|
MemberImportMatchInfoMatchType,
|
|
20009
20262
|
MemberImportPreviewRowAction,
|
|
20010
20263
|
MemberImportValidationError,
|
|
@@ -20035,6 +20288,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
20035
20288
|
PIDS_DISPOSITIONS,
|
|
20036
20289
|
PIDS_SOURCES,
|
|
20037
20290
|
POSITIVE_RATING_THRESHOLD,
|
|
20291
|
+
PhoneRunRefusal,
|
|
20038
20292
|
ProductType,
|
|
20039
20293
|
PromoCodeStatus,
|
|
20040
20294
|
QUERY_VALUELESS_OPS,
|
|
@@ -20045,6 +20299,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
20045
20299
|
REALTIME_MODEL_OPENAI,
|
|
20046
20300
|
REALTIME_MODEL_OPENAI_2,
|
|
20047
20301
|
REALTIME_MODEL_OPENAI_MINI,
|
|
20302
|
+
RecordChangeKind,
|
|
20048
20303
|
RefResolutionStatus,
|
|
20049
20304
|
ReferenceTargetInputKind,
|
|
20050
20305
|
Region,
|
|
@@ -20087,6 +20342,7 @@ function toSafeMemberImportSummary(event) {
|
|
|
20087
20342
|
TTS_MODEL_XAI_V1,
|
|
20088
20343
|
TTS_PREVIEW_PROVIDERS,
|
|
20089
20344
|
TaskBuilder,
|
|
20345
|
+
TaskTransitionInitiator,
|
|
20090
20346
|
TemplatesApi,
|
|
20091
20347
|
TestChatRunLane,
|
|
20092
20348
|
TestChatRunOutcome,
|