@gravity-rail/sdk 8.0.0 → 8.2.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/{agent_standing_job-CnfyOUHF.d.ts → agent_standing_job-CQqd8LDQ.d.ts} +1 -1
- package/dist/{agent_standing_job-DMtlKqoo.d.cts → agent_standing_job-DfjwGfg_.d.cts} +1 -1
- package/dist/{chunk-RKIR4UNS.js → chunk-IIIRXFKG.js} +3 -2
- package/dist/chunk-IIIRXFKG.js.map +1 -0
- package/dist/{chunk-FWDDHKTM.js → chunk-U2U5X3LY.js} +287 -264
- package/dist/chunk-U2U5X3LY.js.map +1 -0
- package/dist/{chat-interaction-KOe9pGEM.d.cts → client-BGGgZhKg.d.cts} +623 -267
- package/dist/{chat-interaction-DTbOs4jH.d.ts → client-Bd-zXY42.d.ts} +623 -267
- package/dist/helpers.d.cts +1 -1
- package/dist/helpers.d.ts +1 -1
- package/dist/index.cjs +287 -263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/internal.cjs +289 -265
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +78 -5
- package/dist/internal.d.ts +78 -5
- package/dist/internal.js +4 -4
- package/dist/realtime.cjs +6 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +6 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +20 -3
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +21 -15
- package/dist/schemas.d.ts +21 -15
- package/dist/schemas.js +21 -4
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-FWDDHKTM.js.map +0 -1
- package/dist/chunk-RKIR4UNS.js.map +0 -1
package/dist/internal.js
CHANGED
|
@@ -265,7 +265,6 @@ import {
|
|
|
265
265
|
bindExperimentsMethods,
|
|
266
266
|
bindFilesMethods,
|
|
267
267
|
bindInstallationsMethods,
|
|
268
|
-
bindIntegrationsMethods,
|
|
269
268
|
bindInterventionRequestsMethods,
|
|
270
269
|
bindJourneysMethods,
|
|
271
270
|
bindMembersMethods,
|
|
@@ -292,6 +291,7 @@ import {
|
|
|
292
291
|
canPreviewVoice,
|
|
293
292
|
clearRegistry,
|
|
294
293
|
createApiModules,
|
|
294
|
+
createIntegrationsBindings,
|
|
295
295
|
createWorkspaceClient,
|
|
296
296
|
decodePermissions,
|
|
297
297
|
encodePermissions,
|
|
@@ -328,7 +328,7 @@ import {
|
|
|
328
328
|
requiresAssistantParticipant,
|
|
329
329
|
usesBuiltinAssistant,
|
|
330
330
|
validateFeatureDependencies
|
|
331
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-U2U5X3LY.js";
|
|
332
332
|
import {
|
|
333
333
|
AbilityConfigIssueCode,
|
|
334
334
|
AbilityConfigIssueSeverity,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
DataTypeRecordScope,
|
|
350
350
|
IndexStatus,
|
|
351
351
|
ResponseLength
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-IIIRXFKG.js";
|
|
353
353
|
import {
|
|
354
354
|
ApiError,
|
|
355
355
|
BaseApiClient,
|
|
@@ -957,7 +957,6 @@ export {
|
|
|
957
957
|
bindExperimentsMethods,
|
|
958
958
|
bindFilesMethods,
|
|
959
959
|
bindInstallationsMethods,
|
|
960
|
-
bindIntegrationsMethods,
|
|
961
960
|
bindInterventionRequestsMethods,
|
|
962
961
|
bindJourneysMethods,
|
|
963
962
|
bindMembersMethods,
|
|
@@ -984,6 +983,7 @@ export {
|
|
|
984
983
|
canPreviewVoice,
|
|
985
984
|
clearRegistry,
|
|
986
985
|
createApiModules,
|
|
986
|
+
createIntegrationsBindings,
|
|
987
987
|
createWorkspaceClient,
|
|
988
988
|
decodePermissions,
|
|
989
989
|
encodePermissions,
|
package/dist/realtime.cjs
CHANGED
|
@@ -974,6 +974,12 @@ var OperatorSessionClient = class {
|
|
|
974
974
|
this.setCallPhase("dialing");
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
977
|
+
if (msg.type === "CUSTOM" && msg.name === "operator.call.hold_failed") {
|
|
978
|
+
if (this.callPhase === "onHold") {
|
|
979
|
+
this.handlers.onError?.("Hold music is unavailable. The call is still on hold.");
|
|
980
|
+
}
|
|
981
|
+
return;
|
|
982
|
+
}
|
|
977
983
|
if (msg.type === "CUSTOM" && msg.name === "operator.call.ended") {
|
|
978
984
|
this.onHold = false;
|
|
979
985
|
this.muted = false;
|