@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/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-FWDDHKTM.js";
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-RKIR4UNS.js";
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;