twilio-taskrouter 2.0.0 → 2.0.1

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.
@@ -1 +1 @@
1
- /*! twilio-taskrouter.js 2.0.0 */
1
+ /*! twilio-taskrouter.js 2.0.1 */
package/dist/types.d.ts CHANGED
@@ -104,11 +104,13 @@ export class Task extends (EventEmitter as new () => TypedEmitter<TaskEvents>) {
104
104
  readonly workflowSid: string;
105
105
  readonly routingTarget: string;
106
106
  readonly version: string;
107
+ readonly virtualStartTime: Date;
107
108
 
108
109
  complete(reason: string): Promise<Task>;
109
110
  hold(targetWorkerSid: string, onHold: boolean, options?: TaskHoldOptions): Promise<Task>;
110
111
  kick(workerSid: string): Promise<Task>;
111
112
  setAttributes(attributes: Object): Promise<Task>;
113
+ setVirtualStartTime(date: Date): Promise<Task>;
112
114
  transfer(to: string, options: TransferOptions): Promise<Task>;
113
115
  wrapUp(options: WrappingOptions): Promise<Task>;
114
116
  updateParticipant(options: TaskParticipantOptions): Promise<Task>;
@@ -289,6 +291,8 @@ export interface ConferenceOptions {
289
291
  region?:string;
290
292
  sipAuthUsername?:string;
291
293
  sipAuthPassword?:string;
294
+ transcribe?:boolean;
295
+ transcriptionConfiguration?:string;
292
296
  }
293
297
  export interface RedirectOptions {
294
298
  accept?:boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio-taskrouter",
3
3
  "title": "Twilio TaskRouter",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "description": "Twilio TaskRouter JavaScript library",
6
6
  "homepage": "https://www.twilio.com",
7
7
  "author": "Wanjun Li <wli@twilio.com>",
@@ -55,7 +55,7 @@
55
55
  "url": "https://github.com/twilio/twilio-taskrouter.js.git"
56
56
  },
57
57
  "dependencies": {
58
- "axios": "^0.21.2",
58
+ "axios": "^1.6.0",
59
59
  "events": "3.3.0",
60
60
  "jwt-decode": "^3.1.2",
61
61
  "lodash": "^4.17.21",