@webex/contact-center 3.12.0-task-refactor.12 → 3.12.0-task-refactor.13

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/webex.js CHANGED
@@ -41,7 +41,7 @@ if (!global.Buffer) {
41
41
  */
42
42
  const Webex = _webexCore.default.extend({
43
43
  webex: true,
44
- version: `3.12.0-task-refactor.12`
44
+ version: `3.12.0-task-refactor.13`
45
45
  });
46
46
 
47
47
  /**
package/package.json CHANGED
@@ -83,5 +83,5 @@
83
83
  "typedoc": "^0.25.0",
84
84
  "typescript": "5.4.5"
85
85
  },
86
- "version": "3.12.0-task-refactor.12"
86
+ "version": "3.12.0-task-refactor.13"
87
87
  }
@@ -403,12 +403,7 @@ describe('webex.cc', () => {
403
403
  isEndConsultEnabled: mockAgentProfile.isEndConsultEnabled,
404
404
  webRtcEnabled: mockAgentProfile.webRtcEnabled,
405
405
  autoWrapup: mockAgentProfile.wrapUpData.wrapUpProps.autoWrapup ?? false,
406
- });
407
- expect(mockTaskManager.setConfigFlags).toHaveBeenCalledWith({
408
- isEndTaskEnabled: mockAgentProfile.isEndTaskEnabled,
409
- isEndConsultEnabled: mockAgentProfile.isEndConsultEnabled,
410
- webRtcEnabled: mockAgentProfile.webRtcEnabled,
411
- autoWrapup: mockAgentProfile.wrapUpData.wrapUpProps.autoWrapup ?? false,
406
+ aiFeature: mockAgentProfile.aiFeature,
412
407
  });
413
408
  expect(reloadSpy).toHaveBeenCalled();
414
409
  expect(result).toEqual(mockAgentProfile);
@@ -865,7 +865,7 @@ describe('Utils', () => {
865
865
  };
866
866
 
867
867
  const result = Utils.calculateDestAgentId(interaction, currentAgentId);
868
- expect(result).toBeUndefined();
868
+ expect(result).toBe('');
869
869
  });
870
870
 
871
871
  it('should handle CBT scenario when phone number is not a direct participant key', () => {
@@ -160,6 +160,7 @@ describe('WebSocketManager', () => {
160
160
  resource: RTD_SUBSCRIBE_API,
161
161
  method: 'POST',
162
162
  body: fakeSubscribeRequest,
163
+ headers: {'X-ORGANIZATION-ID': 'test-org-id'},
163
164
  });
164
165
  });
165
166