@gravity-rail/sdk 0.36.1 → 0.42.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/README.md +46 -23
- package/dist/agui.d.cts +1 -1
- package/dist/agui.d.ts +1 -1
- package/dist/audio.d.cts +1 -1
- package/dist/audio.d.ts +1 -1
- package/dist/{chat-interaction-DqjEfj7G.d.ts → chat-interaction-BBBeSKGl.d.cts} +9056 -6127
- package/dist/{chat-interaction-CbkSPz3m.d.cts → chat-interaction-C9dD0qbD.d.ts} +9056 -6127
- package/dist/{chunk-P2E6LU7I.js → chunk-67QXTQVL.js} +1 -26
- package/dist/chunk-67QXTQVL.js.map +1 -0
- package/dist/chunk-6KPGCPGW.js +48 -0
- package/dist/chunk-6KPGCPGW.js.map +1 -0
- package/dist/{chunk-HRUMZ46V.js → chunk-72SWNLVD.js} +2 -1
- package/dist/chunk-72SWNLVD.js.map +1 -0
- package/dist/{chunk-R6S5RXW5.js → chunk-JTOMGNUO.js} +1246 -212
- package/dist/chunk-JTOMGNUO.js.map +1 -0
- package/dist/helpers.cjs +47 -0
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +4 -3
- package/dist/helpers.d.ts +4 -3
- package/dist/helpers.js +7 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +1368 -341
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -35
- package/dist/index.d.ts +13 -35
- package/dist/index.js +117 -116
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +1277 -243
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +324 -79
- package/dist/internal.d.ts +324 -79
- package/dist/internal.js +61 -15
- package/dist/internal.js.map +1 -1
- package/dist/member-import-BXReoljG.d.cts +46 -0
- package/dist/member-import-jjfQHlWl.d.ts +46 -0
- package/dist/realtime.cjs +91 -20
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +34 -9
- package/dist/realtime.d.ts +34 -9
- package/dist/realtime.js +90 -20
- package/dist/realtime.js.map +1 -1
- package/dist/{revision-state-CSQ7J3ZU.d.cts → revision-state-Bp7WKk6z.d.cts} +270 -54
- package/dist/{revision-state-92LHz1jQ.d.ts → revision-state-QkNQXWJC.d.ts} +270 -54
- package/dist/schemas.cjs +58 -81
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +88 -225
- package/dist/schemas.d.ts +88 -225
- package/dist/schemas.js +58 -76
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-CrF1qC4G.d.cts → tasks-BsLI-h11.d.cts} +3259 -2507
- package/dist/{tasks-CrF1qC4G.d.ts → tasks-BsLI-h11.d.ts} +3259 -2507
- package/dist/{types-0c6_NGU4.d.cts → types-DlfADjPR.d.cts} +17 -2
- package/dist/{types-0c6_NGU4.d.ts → types-DlfADjPR.d.ts} +17 -2
- package/package.json +9 -7
- package/dist/chunk-HRUMZ46V.js.map +0 -1
- package/dist/chunk-P2E6LU7I.js.map +0 -1
- package/dist/chunk-R6S5RXW5.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
BUILTIN_ASSISTANT_CHAT_TYPES,
|
|
18
18
|
BuildersApi,
|
|
19
19
|
BulkMemberResultStatus,
|
|
20
|
+
BundlesApi,
|
|
20
21
|
BusinessIndustry,
|
|
21
22
|
BusinessType,
|
|
22
23
|
CELApi,
|
|
@@ -27,7 +28,11 @@ import {
|
|
|
27
28
|
ChannelMessagesUnavailableReason,
|
|
28
29
|
ChatMuteReason,
|
|
29
30
|
ConsentMethod,
|
|
31
|
+
CreateMemberContactPointRequestContactType,
|
|
32
|
+
CreateMemberContactPointRequestPurpose,
|
|
33
|
+
CreateMemberContactPointRequestSharing,
|
|
30
34
|
CriterionType,
|
|
35
|
+
CrmActivityKind,
|
|
31
36
|
DEFAULT_AGENT_CHAT_MODEL,
|
|
32
37
|
DEFAULT_AGENT_REALTIME_MODEL,
|
|
33
38
|
DEFAULT_AGENT_REALTIME_MODEL_CONFIG,
|
|
@@ -44,6 +49,7 @@ import {
|
|
|
44
49
|
EventRuleObjectType,
|
|
45
50
|
FeatureCategory,
|
|
46
51
|
FeatureVisibility,
|
|
52
|
+
FeedCursorRejection,
|
|
47
53
|
FhirClientType,
|
|
48
54
|
FhirConnectionState,
|
|
49
55
|
FhirVendor,
|
|
@@ -54,6 +60,7 @@ import {
|
|
|
54
60
|
ImportSkippedRuleResponseReasonCode,
|
|
55
61
|
ImportSkippedRuleResponseStatus,
|
|
56
62
|
InboundFaxStatus,
|
|
63
|
+
InstallationsApi,
|
|
57
64
|
InvitationStatus,
|
|
58
65
|
JobPosition,
|
|
59
66
|
MASKED_SECRET_SENTINEL,
|
|
@@ -103,6 +110,13 @@ import {
|
|
|
103
110
|
RelatedMemberRole,
|
|
104
111
|
RelationshipCardinality,
|
|
105
112
|
Resource,
|
|
113
|
+
ResourceWorkflowsApi,
|
|
114
|
+
RevisionHistorySegment,
|
|
115
|
+
RoutingActionType,
|
|
116
|
+
RoutingAudience,
|
|
117
|
+
RoutingChannel,
|
|
118
|
+
RoutingTimeWindow,
|
|
119
|
+
RunHealthCategory,
|
|
106
120
|
SCOPES,
|
|
107
121
|
SCOPE_PRESETS,
|
|
108
122
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
@@ -110,9 +124,16 @@ import {
|
|
|
110
124
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
111
125
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
112
126
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
127
|
+
ScenarioHealthCaption,
|
|
128
|
+
ScenarioHealthHeadline,
|
|
129
|
+
ScenarioHealthSampleNote,
|
|
130
|
+
ScenarioHealthState,
|
|
131
|
+
ScenarioRunBlocker,
|
|
113
132
|
Scope,
|
|
114
133
|
ScopeCategory,
|
|
115
134
|
ScopeManager,
|
|
135
|
+
SendingNextStep,
|
|
136
|
+
SendingStopState,
|
|
116
137
|
SiteDnsRecordType,
|
|
117
138
|
SupervisorsApi,
|
|
118
139
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
@@ -127,9 +148,10 @@ import {
|
|
|
127
148
|
UiPromptPresentedKind,
|
|
128
149
|
UiPromptResponseKind,
|
|
129
150
|
UiPromptResponseStatus,
|
|
151
|
+
UpdateMemberContactPointRequestContactType,
|
|
152
|
+
UpdateMemberContactPointRequestPurpose,
|
|
153
|
+
UpdateMemberContactPointRequestSharing,
|
|
130
154
|
WIDGET_SLUGS,
|
|
131
|
-
WORKFLOW_IMPLICIT_USE_SCOPE,
|
|
132
|
-
WorkflowAccessWarningResourceType,
|
|
133
155
|
WorkflowRoutingMode,
|
|
134
156
|
WorkspaceFeature,
|
|
135
157
|
WorkspaceProvisionStatus,
|
|
@@ -165,12 +187,9 @@ import {
|
|
|
165
187
|
isRegistryInitialized,
|
|
166
188
|
isSMSDeliveryFailureStatus,
|
|
167
189
|
requiresAssistantParticipant,
|
|
168
|
-
roleCanUseWorkflow,
|
|
169
|
-
roleImplicitWorkflowUseScope,
|
|
170
|
-
roleWorkflowAccess,
|
|
171
190
|
usesBuiltinAssistant,
|
|
172
191
|
validateFeatureDependencies
|
|
173
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-JTOMGNUO.js";
|
|
174
193
|
import {
|
|
175
194
|
AttendeeResponseStatus,
|
|
176
195
|
AttendeeStatus,
|
|
@@ -185,14 +204,59 @@ import {
|
|
|
185
204
|
DataSensitivity,
|
|
186
205
|
DataTypeRecordScope,
|
|
187
206
|
IndexStatus
|
|
188
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-72SWNLVD.js";
|
|
208
|
+
import {
|
|
209
|
+
toSafeMemberImportPreview,
|
|
210
|
+
toSafeMemberImportSummary
|
|
211
|
+
} from "./chunk-6KPGCPGW.js";
|
|
189
212
|
import {
|
|
190
213
|
ApiError,
|
|
191
214
|
BaseApiClient,
|
|
192
215
|
ChatInteractionController,
|
|
193
216
|
getCookieValue,
|
|
194
217
|
parseOrgAuthChallenge
|
|
195
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-67QXTQVL.js";
|
|
219
|
+
|
|
220
|
+
// src/types/generated/bundle_contract.ts
|
|
221
|
+
var BundleGrantRequestGranteeType = {
|
|
222
|
+
organization: "organization",
|
|
223
|
+
global: "global"
|
|
224
|
+
};
|
|
225
|
+
var FormBundleItemRecordScope = {
|
|
226
|
+
member: "member",
|
|
227
|
+
workspace: "workspace",
|
|
228
|
+
anonymous: "anonymous"
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
// src/types/generated/installation_contract.ts
|
|
232
|
+
var InstallationItemChangeChange = {
|
|
233
|
+
added: "added",
|
|
234
|
+
removed: "removed",
|
|
235
|
+
revisionChanged: "revisionChanged",
|
|
236
|
+
definitionChanged: "definitionChanged",
|
|
237
|
+
unchanged: "unchanged"
|
|
238
|
+
};
|
|
239
|
+
var ReferenceTargetInputKind = {
|
|
240
|
+
file: "file",
|
|
241
|
+
file_folder: "file_folder",
|
|
242
|
+
image: "image",
|
|
243
|
+
phone_number: "phone_number",
|
|
244
|
+
member_role: "member_role",
|
|
245
|
+
page: "page"
|
|
246
|
+
};
|
|
247
|
+
var ScalarTargetInputKind = {
|
|
248
|
+
text: "text",
|
|
249
|
+
textarea: "textarea",
|
|
250
|
+
url: "url",
|
|
251
|
+
color: "color",
|
|
252
|
+
number: "number",
|
|
253
|
+
boolean: "boolean",
|
|
254
|
+
select: "select"
|
|
255
|
+
};
|
|
256
|
+
var SetInstallationPolicyRequestUpgradePolicy = {
|
|
257
|
+
pinned: "pinned",
|
|
258
|
+
auto: "auto"
|
|
259
|
+
};
|
|
196
260
|
|
|
197
261
|
// src/workspace-builder/resource.ts
|
|
198
262
|
function isRecord(value) {
|
|
@@ -1243,8 +1307,8 @@ var JourneyV2Builder = class extends WorkspaceBuilderResource {
|
|
|
1243
1307
|
*
|
|
1244
1308
|
* A different rule set from the legacy builder's on purpose. "No incoming
|
|
1245
1309
|
* edge" has no meaning in a timeline — position is the order — and the v2
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1310
|
+
* checks here cover branch shape and Ending conditions. Steps without
|
|
1311
|
+
* actions pass through, with or without a wait.
|
|
1248
1312
|
*/
|
|
1249
1313
|
validate() {
|
|
1250
1314
|
const problems = [];
|
|
@@ -1253,19 +1317,6 @@ var JourneyV2Builder = class extends WorkspaceBuilderResource {
|
|
|
1253
1317
|
`journey '${this.name}' has no touches \u2014 an empty timeline has nothing to execute.`
|
|
1254
1318
|
);
|
|
1255
1319
|
}
|
|
1256
|
-
const armHeads = new Set(
|
|
1257
|
-
this.allRoutes().map((route) => route.touches[0]).filter(Boolean)
|
|
1258
|
-
);
|
|
1259
|
-
this.allTouches().forEach((touch) => {
|
|
1260
|
-
if (touch.hasOutreach) return;
|
|
1261
|
-
const wait = touch.options.wait;
|
|
1262
|
-
const isFirst = this.touches[0] === touch;
|
|
1263
|
-
const isExplicitWait = !isFirst && !armHeads.has(touch) && (wait?.afterDays !== void 0 || !!wait?.when || wait?.filterId !== void 0);
|
|
1264
|
-
if (isExplicitWait) return;
|
|
1265
|
-
problems.push(
|
|
1266
|
-
`touch '${touch.name}' has no JOURNEY_STEP_EXECUTE action \u2014 a member reaching it gets nothing. Add one, or give it a wait so it is an explicit grace period.`
|
|
1267
|
-
);
|
|
1268
|
-
});
|
|
1269
1320
|
for (const touch of this.allTouches()) {
|
|
1270
1321
|
const branch = touch._branch;
|
|
1271
1322
|
if (!branch) continue;
|
|
@@ -1287,13 +1338,6 @@ var JourneyV2Builder = class extends WorkspaceBuilderResource {
|
|
|
1287
1338
|
`the Otherwise route of the branch after touch '${touch.name}' is not last; it is taken immediately, so any route after it can never be reached.`
|
|
1288
1339
|
);
|
|
1289
1340
|
}
|
|
1290
|
-
for (const route of branch.routes) {
|
|
1291
|
-
if (!route.touches.length && !route.options.continueAt) {
|
|
1292
|
-
problems.push(
|
|
1293
|
-
`route '${route.name}' has no target \u2014 give it at least one touch, or a \`continueAt\` naming the touch it continues to.`
|
|
1294
|
-
);
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
1341
|
}
|
|
1298
1342
|
for (const ending of this.endings) {
|
|
1299
1343
|
if (!ending.when?.trim() && ending.filterId === void 0) {
|
|
@@ -1678,34 +1722,6 @@ function buildV2Wait(wait, touchIndex) {
|
|
|
1678
1722
|
return { kind: "none", ...extras };
|
|
1679
1723
|
}
|
|
1680
1724
|
|
|
1681
|
-
// src/workspace-builder/role-update.ts
|
|
1682
|
-
var RoleUpdate = class extends WorkspaceBuilderResource {
|
|
1683
|
-
constructor(roleId, workflowIds, dataTypeIds) {
|
|
1684
|
-
super();
|
|
1685
|
-
this.roleId = roleId;
|
|
1686
|
-
this.workflowIds = workflowIds;
|
|
1687
|
-
this.dataTypeIds = dataTypeIds;
|
|
1688
|
-
}
|
|
1689
|
-
roleId;
|
|
1690
|
-
workflowIds;
|
|
1691
|
-
dataTypeIds;
|
|
1692
|
-
planLine() {
|
|
1693
|
-
const parts = [];
|
|
1694
|
-
if (this.workflowIds) parts.push(`workflows=${JSON.stringify(this.workflowIds)}`);
|
|
1695
|
-
if (this.dataTypeIds) parts.push(`dataTypes=${JSON.stringify(this.dataTypeIds)}`);
|
|
1696
|
-
return `RoleUpdate: roleId=${this.roleId}${parts.length ? ` (${parts.join(", ")})` : ""}`;
|
|
1697
|
-
}
|
|
1698
|
-
async apply(client) {
|
|
1699
|
-
if (this._existed) return;
|
|
1700
|
-
const payload = {};
|
|
1701
|
-
if (this.workflowIds) payload.workflowIds = this.workflowIds;
|
|
1702
|
-
if (this.dataTypeIds) payload.dataTypeIds = this.dataTypeIds;
|
|
1703
|
-
if (Object.keys(payload).length) await client.updateMemberRole(this.roleId, payload);
|
|
1704
|
-
this._id = this.roleId;
|
|
1705
|
-
this._created = true;
|
|
1706
|
-
}
|
|
1707
|
-
};
|
|
1708
|
-
|
|
1709
1725
|
// src/workspace-builder/workflows.ts
|
|
1710
1726
|
var PERM_KEYS = {
|
|
1711
1727
|
canRead: "canRead",
|
|
@@ -1958,7 +1974,6 @@ var PHASES = /* @__PURE__ */ new Map([
|
|
|
1958
1974
|
[AgentBuilder, 1],
|
|
1959
1975
|
[WorkflowBuilder, 2],
|
|
1960
1976
|
[TaskBuilder, 3],
|
|
1961
|
-
[RoleUpdate, 4],
|
|
1962
1977
|
[MemberFilterBuilder, 5],
|
|
1963
1978
|
[RoutineBuilder, 6],
|
|
1964
1979
|
[NotificationRuleBuilder, 6],
|
|
@@ -1980,10 +1995,6 @@ async function collectPages(fetchPage) {
|
|
|
1980
1995
|
}
|
|
1981
1996
|
return all;
|
|
1982
1997
|
}
|
|
1983
|
-
function sameIdSet(left, right) {
|
|
1984
|
-
const target = new Set(right);
|
|
1985
|
-
return target.size === new Set(left).size && left.every((id) => target.has(id));
|
|
1986
|
-
}
|
|
1987
1998
|
function notificationRuleKey(noticeType, memberId, workflowId) {
|
|
1988
1999
|
return JSON.stringify([noticeType, memberId, workflowId]);
|
|
1989
2000
|
}
|
|
@@ -2062,11 +2073,6 @@ var WorkspaceBuilder = class {
|
|
|
2062
2073
|
this.resources.push(rule);
|
|
2063
2074
|
return rule;
|
|
2064
2075
|
}
|
|
2065
|
-
roleUpdate(roleId, workflowIds, dataTypeIds) {
|
|
2066
|
-
const update = new RoleUpdate(roleId, workflowIds, dataTypeIds);
|
|
2067
|
-
this.resources.push(update);
|
|
2068
|
-
return update;
|
|
2069
|
-
}
|
|
2070
2076
|
plan() {
|
|
2071
2077
|
const resources = this.sortedResources();
|
|
2072
2078
|
writeLine(`
|
|
@@ -2327,45 +2333,9 @@ Done! Created ${count} resources.`);
|
|
|
2327
2333
|
}
|
|
2328
2334
|
}
|
|
2329
2335
|
}
|
|
2330
|
-
await this.resolveExistingRoleUpdates(resources);
|
|
2331
2336
|
await this.resolveExistingWorkflows(resources, workflowNames);
|
|
2332
2337
|
await this.resolveExistingNotificationRules(resources);
|
|
2333
2338
|
}
|
|
2334
|
-
/**
|
|
2335
|
-
* Adopt a role update whose grants the server already has.
|
|
2336
|
-
*
|
|
2337
|
-
* A role update is a replace-semantics PUT, not a create, so its identity is
|
|
2338
|
-
* the role id and "already applied" means the id sets match exactly. Subset
|
|
2339
|
-
* would be wrong: `roleUpdate(7, [])` asks to *clear* the role's workflow
|
|
2340
|
-
* access, and treating that as satisfied by a role that still has grants
|
|
2341
|
-
* would silently skip a real change.
|
|
2342
|
-
*
|
|
2343
|
-
* Only the fields this update declares are compared — an update that passes
|
|
2344
|
-
* `workflowIds` and omits `dataTypeIds` never touches data-type access, so
|
|
2345
|
-
* that access cannot make it stale.
|
|
2346
|
-
*/
|
|
2347
|
-
async resolveExistingRoleUpdates(resources) {
|
|
2348
|
-
const updates = resources.filter(
|
|
2349
|
-
(resource) => resource instanceof RoleUpdate
|
|
2350
|
-
);
|
|
2351
|
-
if (!updates.length) return;
|
|
2352
|
-
const rolesById = new Map(
|
|
2353
|
-
(await this.client.getMemberRoles()).map((role) => [role.id, role])
|
|
2354
|
-
);
|
|
2355
|
-
for (const update of updates) {
|
|
2356
|
-
const role = rolesById.get(update.roleId);
|
|
2357
|
-
if (!role) continue;
|
|
2358
|
-
const workflowsSettled = update.workflowIds === void 0 || sameIdSet(
|
|
2359
|
-
update.workflowIds,
|
|
2360
|
-
(role.workflowAccess ?? []).map((access) => access.workflowId)
|
|
2361
|
-
);
|
|
2362
|
-
const dataTypesSettled = update.dataTypeIds === void 0 || sameIdSet(
|
|
2363
|
-
update.dataTypeIds,
|
|
2364
|
-
(role.dataTypeAccess ?? []).map((access) => access.dataTypeId)
|
|
2365
|
-
);
|
|
2366
|
-
if (workflowsSettled && dataTypesSettled) update.adopt(role);
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
2339
|
/**
|
|
2370
2340
|
* Adopt notification rules the server already has.
|
|
2371
2341
|
*
|
|
@@ -2655,7 +2625,6 @@ function assertUniqueJourneyNames(journeys) {
|
|
|
2655
2625
|
}
|
|
2656
2626
|
}
|
|
2657
2627
|
function resourceKey(resource) {
|
|
2658
|
-
if (resource instanceof RoleUpdate) return "roleUpdates";
|
|
2659
2628
|
if (resource instanceof FormBuilder) return "forms";
|
|
2660
2629
|
if (resource instanceof MemberLabelBuilder) return "labels";
|
|
2661
2630
|
if (resource instanceof WorkflowBuilder) return "workflows";
|
|
@@ -2779,7 +2748,6 @@ function writeScopeForResource(resource) {
|
|
|
2779
2748
|
if (resource instanceof JourneyBuilder || resource instanceof JourneyStepBuilder || resource instanceof JourneyV2Builder) {
|
|
2780
2749
|
return "journeys:write";
|
|
2781
2750
|
}
|
|
2782
|
-
if (resource instanceof RoleUpdate) return "member_roles:write";
|
|
2783
2751
|
return null;
|
|
2784
2752
|
}
|
|
2785
2753
|
function scopeRetryHint(resource) {
|
|
@@ -2850,6 +2818,7 @@ var ActivityCapability = {
|
|
|
2850
2818
|
"operator:read": "operator:read",
|
|
2851
2819
|
"org:read": "org:read",
|
|
2852
2820
|
"phones:read": "phones:read",
|
|
2821
|
+
"records:read": "records:read",
|
|
2853
2822
|
"workflows:read": "workflows:read",
|
|
2854
2823
|
"workspace:read": "workspace:read"
|
|
2855
2824
|
};
|
|
@@ -2872,16 +2841,19 @@ var ActivityEventType = {
|
|
|
2872
2841
|
chatawaiting_human: "chat.awaiting_human",
|
|
2873
2842
|
chathuman_replied: "chat.human_replied",
|
|
2874
2843
|
chatcall_ended: "chat.call_ended",
|
|
2844
|
+
chatsummary: "chat.summary",
|
|
2875
2845
|
escalationopened: "escalation.opened",
|
|
2876
2846
|
escalationresolved: "escalation.resolved",
|
|
2877
2847
|
callstarted: "call.started",
|
|
2878
2848
|
callcompleted: "call.completed",
|
|
2879
2849
|
callmissed: "call.missed",
|
|
2850
|
+
callsummary: "call.summary",
|
|
2880
2851
|
presencewent_online: "presence.went_online",
|
|
2881
2852
|
presencewent_offline: "presence.went_offline",
|
|
2882
2853
|
operator_groupmember_added: "operator_group.member_added",
|
|
2883
2854
|
operator_groupmember_removed: "operator_group.member_removed",
|
|
2884
2855
|
voicemailreceived: "voicemail.received",
|
|
2856
|
+
voicemailtranscribed: "voicemail.transcribed",
|
|
2885
2857
|
voicemaillistened: "voicemail.listened",
|
|
2886
2858
|
routinestarted: "routine.started",
|
|
2887
2859
|
routinecompleted: "routine.completed",
|
|
@@ -2897,7 +2869,9 @@ var ActivityEventType = {
|
|
|
2897
2869
|
phone_numberarchived: "phone_number.archived",
|
|
2898
2870
|
domainlinked: "domain.linked",
|
|
2899
2871
|
domainverified: "domain.verified",
|
|
2900
|
-
configupdated: "config.updated"
|
|
2872
|
+
configupdated: "config.updated",
|
|
2873
|
+
data_recordcreated: "data_record.created",
|
|
2874
|
+
data_recordupdated: "data_record.updated"
|
|
2901
2875
|
};
|
|
2902
2876
|
var ActivityVisibility = {
|
|
2903
2877
|
workspace: "workspace",
|
|
@@ -2912,7 +2886,8 @@ var ActorKind = {
|
|
|
2912
2886
|
connection: "connection",
|
|
2913
2887
|
member: "member",
|
|
2914
2888
|
org_account: "org_account",
|
|
2915
|
-
system: "system"
|
|
2889
|
+
system: "system",
|
|
2890
|
+
unattributed: "unattributed"
|
|
2916
2891
|
};
|
|
2917
2892
|
var EntityKind = {
|
|
2918
2893
|
account: "account",
|
|
@@ -2944,7 +2919,8 @@ var EntityKind = {
|
|
|
2944
2919
|
purchase: "purchase",
|
|
2945
2920
|
subscription: "subscription",
|
|
2946
2921
|
data_type: "data_type",
|
|
2947
|
-
workspace_config: "workspace_config"
|
|
2922
|
+
workspace_config: "workspace_config",
|
|
2923
|
+
data_record: "data_record"
|
|
2948
2924
|
};
|
|
2949
2925
|
export {
|
|
2950
2926
|
AGENT_NOTE_ORIGINS,
|
|
@@ -2975,6 +2951,8 @@ export {
|
|
|
2975
2951
|
BaseApiClient,
|
|
2976
2952
|
BuildersApi,
|
|
2977
2953
|
BulkMemberResultStatus,
|
|
2954
|
+
BundleGrantRequestGranteeType,
|
|
2955
|
+
BundlesApi,
|
|
2978
2956
|
BusinessIndustry,
|
|
2979
2957
|
BusinessType,
|
|
2980
2958
|
CELApi,
|
|
@@ -2991,7 +2969,11 @@ export {
|
|
|
2991
2969
|
ChatInteractionController,
|
|
2992
2970
|
ChatMuteReason,
|
|
2993
2971
|
ConsentMethod,
|
|
2972
|
+
CreateMemberContactPointRequestContactType,
|
|
2973
|
+
CreateMemberContactPointRequestPurpose,
|
|
2974
|
+
CreateMemberContactPointRequestSharing,
|
|
2994
2975
|
CriterionType,
|
|
2976
|
+
CrmActivityKind,
|
|
2995
2977
|
DEFAULT_AGENT_CHAT_MODEL,
|
|
2996
2978
|
DEFAULT_AGENT_REALTIME_MODEL,
|
|
2997
2979
|
DEFAULT_AGENT_REALTIME_MODEL_CONFIG,
|
|
@@ -3014,10 +2996,12 @@ export {
|
|
|
3014
2996
|
EventRuleObjectType,
|
|
3015
2997
|
FeatureCategory,
|
|
3016
2998
|
FeatureVisibility,
|
|
2999
|
+
FeedCursorRejection,
|
|
3017
3000
|
FhirClientType,
|
|
3018
3001
|
FhirConnectionState,
|
|
3019
3002
|
FhirVendor,
|
|
3020
3003
|
FormBuilder,
|
|
3004
|
+
FormBundleItemRecordScope,
|
|
3021
3005
|
GravityRailClient,
|
|
3022
3006
|
ImportSkippedRuleResourceGroupResourceType,
|
|
3023
3007
|
ImportSkippedRuleResponseNeededResourceTypesItem,
|
|
@@ -3026,6 +3010,8 @@ export {
|
|
|
3026
3010
|
ImportSkippedRuleResponseStatus,
|
|
3027
3011
|
InboundFaxStatus as InboundFaxStatusValues,
|
|
3028
3012
|
IndexStatus,
|
|
3013
|
+
InstallationItemChangeChange,
|
|
3014
|
+
InstallationsApi,
|
|
3029
3015
|
InvitationStatus,
|
|
3030
3016
|
JobPosition,
|
|
3031
3017
|
JourneyBuilder,
|
|
@@ -3076,13 +3062,20 @@ export {
|
|
|
3076
3062
|
REALTIME_MODEL_OPENAI_2,
|
|
3077
3063
|
REALTIME_MODEL_OPENAI_MINI,
|
|
3078
3064
|
RefResolutionStatus,
|
|
3065
|
+
ReferenceTargetInputKind,
|
|
3079
3066
|
Region,
|
|
3080
3067
|
RegistrationIdentifier,
|
|
3081
3068
|
RelatedMemberRole,
|
|
3082
3069
|
RelationshipCardinality,
|
|
3083
3070
|
Resource,
|
|
3084
|
-
|
|
3071
|
+
ResourceWorkflowsApi,
|
|
3072
|
+
RevisionHistorySegment,
|
|
3085
3073
|
RoutineBuilder,
|
|
3074
|
+
RoutingActionType,
|
|
3075
|
+
RoutingAudience,
|
|
3076
|
+
RoutingChannel,
|
|
3077
|
+
RoutingTimeWindow,
|
|
3078
|
+
RunHealthCategory,
|
|
3086
3079
|
SCOPES,
|
|
3087
3080
|
SCOPE_PRESETS,
|
|
3088
3081
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
@@ -3090,9 +3083,18 @@ export {
|
|
|
3090
3083
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
3091
3084
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
3092
3085
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
3086
|
+
ScalarTargetInputKind,
|
|
3087
|
+
ScenarioHealthCaption,
|
|
3088
|
+
ScenarioHealthHeadline,
|
|
3089
|
+
ScenarioHealthSampleNote,
|
|
3090
|
+
ScenarioHealthState,
|
|
3091
|
+
ScenarioRunBlocker,
|
|
3093
3092
|
Scope,
|
|
3094
3093
|
ScopeCategory,
|
|
3095
3094
|
ScopeManager,
|
|
3095
|
+
SendingNextStep,
|
|
3096
|
+
SendingStopState,
|
|
3097
|
+
SetInstallationPolicyRequestUpgradePolicy,
|
|
3096
3098
|
SiteDnsRecordType,
|
|
3097
3099
|
SupervisorsApi,
|
|
3098
3100
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
@@ -3108,11 +3110,11 @@ export {
|
|
|
3108
3110
|
UiPromptPresentedKind as UiPromptPresentedKindValues,
|
|
3109
3111
|
UiPromptResponseKind as UiPromptResponseKindValues,
|
|
3110
3112
|
UiPromptResponseStatus as UiPromptResponseStatusValues,
|
|
3113
|
+
UpdateMemberContactPointRequestContactType,
|
|
3114
|
+
UpdateMemberContactPointRequestPurpose,
|
|
3115
|
+
UpdateMemberContactPointRequestSharing,
|
|
3111
3116
|
WIDGET_SLUGS,
|
|
3112
|
-
WORKFLOW_IMPLICIT_USE_SCOPE,
|
|
3113
|
-
WorkflowAccessWarningResourceType,
|
|
3114
3117
|
WorkflowBuilder,
|
|
3115
|
-
WorkflowAccessWarningResourceType as WorkflowResourceType,
|
|
3116
3118
|
WorkflowRoutingMode,
|
|
3117
3119
|
WorkspaceBuilder,
|
|
3118
3120
|
WorkspaceBuilderResource,
|
|
@@ -3152,10 +3154,9 @@ export {
|
|
|
3152
3154
|
isSMSDeliveryFailureStatus,
|
|
3153
3155
|
parseOrgAuthChallenge,
|
|
3154
3156
|
requiresAssistantParticipant,
|
|
3155
|
-
roleCanUseWorkflow,
|
|
3156
|
-
roleImplicitWorkflowUseScope,
|
|
3157
|
-
roleWorkflowAccess,
|
|
3158
3157
|
runWorkspaceScript,
|
|
3158
|
+
toSafeMemberImportPreview,
|
|
3159
|
+
toSafeMemberImportSummary,
|
|
3159
3160
|
usesBuiltinAssistant,
|
|
3160
3161
|
validateFeatureDependencies
|
|
3161
3162
|
};
|