twilio-taskrouter 0.8.2 → 0.8.4

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.
@@ -30,14 +30,21 @@
30
30
  <li class="dropdown">
31
31
  <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
32
32
  <ul class="dropdown-menu ">
33
- <li><a href="Activity.html">Activity</a></li><li><a href="Channel.html">Channel</a></li><li><a href="IncomingTransfer.html">IncomingTransfer</a></li><li><a href="OutgoingTransfer.html">OutgoingTransfer</a></li><li><a href="Reservation.html">Reservation</a></li><li><a href="Task.html">Task</a></li><li><a href="TaskQueue.html">TaskQueue</a></li><li><a href="Transfers.html">Transfers</a></li><li><a href="Worker.html">Worker</a></li><li><a href="Workspace.html">Workspace</a></li>
33
+ <li><a href="Activity.html">Activity</a></li><li><a href="Channel.html">Channel</a></li><li><a href="IncomingTransfer.html">IncomingTransfer</a></li><li><a href="OutgoingTransfer.html">OutgoingTransfer</a></li><li><a href="Reservation.html">Reservation</a></li><li><a href="Supervisor.html">Supervisor</a></li><li><a href="Task.html">Task</a></li><li><a href="TaskQueue.html">TaskQueue</a></li><li><a href="Transfers.html">Transfers</a></li><li><a href="Worker.html">Worker</a></li><li><a href="Workspace.html">Workspace</a></li>
34
34
  </ul>
35
35
  </li>
36
36
 
37
37
  <li class="dropdown">
38
38
  <a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
39
39
  <ul class="dropdown-menu ">
40
- <li><a href="Channel.html#event:availabilityUpdated">Channel#event:availabilityUpdated</a></li><li><a href="Channel.html#event:capacityUpdated">Channel#event:capacityUpdated</a></li><li><a href="OutgoingTransfer.html#event:attemptFailed">OutgoingTransfer#event:attemptFailed</a></li><li><a href="OutgoingTransfer.html#event:canceled">OutgoingTransfer#event:canceled</a></li><li><a href="OutgoingTransfer.html#event:completed">OutgoingTransfer#event:completed</a></li><li><a href="OutgoingTransfer.html#event:failed">OutgoingTransfer#event:failed</a></li><li><a href="Reservation.html#event:accepted">Reservation#event:accepted</a></li><li><a href="Reservation.html#event:canceled">Reservation#event:canceled</a></li><li><a href="Reservation.html#event:completed">Reservation#event:completed</a></li><li><a href="Reservation.html#event:rejected">Reservation#event:rejected</a></li><li><a href="Reservation.html#event:rescinded">Reservation#event:rescinded</a></li><li><a href="Reservation.html#event:timeout">Reservation#event:timeout</a></li><li><a href="Reservation.html#event:wrapup">Reservation#event:wrapup</a></li><li><a href="Task.html#event:canceled">Task#event:canceled</a></li><li><a href="Task.html#event:completed">Task#event:completed</a></li><li><a href="Task.html#event:transferInitiated">Task#event:transferInitiated</a></li><li><a href="Task.html#event:updated">Task#event:updated</a></li><li><a href="Task.html#event:wrapup">Task#event:wrapup</a></li><li><a href="Worker.html#event:activityUpdated">Worker#event:activityUpdated</a></li><li><a href="Worker.html#event:attributesUpdated">Worker#event:attributesUpdated</a></li><li><a href="Worker.html#event:disconnected">Worker#event:disconnected</a></li><li><a href="Worker.html#event:error">Worker#event:error</a></li><li><a href="Worker.html#event:ready">Worker#event:ready</a></li><li><a href="Worker.html#event:reservationCreated">Worker#event:reservationCreated</a></li><li><a href="Worker.html#event:reservationFailed">Worker#event:reservationFailed</a></li><li><a href="Worker.html#event:tokenExpired">Worker#event:tokenExpired</a></li><li><a href="Worker.html#event:tokenUpdated">Worker#event:tokenUpdated</a></li>
40
+ <li><a href="Channel.html#event:availabilityUpdated">Channel#event:availabilityUpdated</a></li><li><a href="Channel.html#event:capacityUpdated">Channel#event:capacityUpdated</a></li><li><a href="OutgoingTransfer.html#event:attemptFailed">OutgoingTransfer#event:attemptFailed</a></li><li><a href="OutgoingTransfer.html#event:canceled">OutgoingTransfer#event:canceled</a></li><li><a href="OutgoingTransfer.html#event:completed">OutgoingTransfer#event:completed</a></li><li><a href="OutgoingTransfer.html#event:failed">OutgoingTransfer#event:failed</a></li><li><a href="Reservation.html#event:accepted">Reservation#event:accepted</a></li><li><a href="Reservation.html#event:canceled">Reservation#event:canceled</a></li><li><a href="Reservation.html#event:completed">Reservation#event:completed</a></li><li><a href="Reservation.html#event:rejected">Reservation#event:rejected</a></li><li><a href="Reservation.html#event:rescinded">Reservation#event:rescinded</a></li><li><a href="Reservation.html#event:timeout">Reservation#event:timeout</a></li><li><a href="Reservation.html#event:wrapup">Reservation#event:wrapup</a></li><li><a href="Supervisor.html#event:activityUpdated">Supervisor#event:activityUpdated</a></li><li><a href="Supervisor.html#event:attributesUpdated">Supervisor#event:attributesUpdated</a></li><li><a href="Supervisor.html#event:disconnected">Supervisor#event:disconnected</a></li><li><a href="Supervisor.html#event:error">Supervisor#event:error</a></li><li><a href="Supervisor.html#event:monitor">Supervisor#event:monitor</a></li><li><a href="Supervisor.html#event:ready">Supervisor#event:ready</a></li><li><a href="Supervisor.html#event:reservationCreated">Supervisor#event:reservationCreated</a></li><li><a href="Supervisor.html#event:reservationFailed">Supervisor#event:reservationFailed</a></li><li><a href="Supervisor.html#event:tokenExpired">Supervisor#event:tokenExpired</a></li><li><a href="Supervisor.html#event:tokenUpdated">Supervisor#event:tokenUpdated</a></li><li><a href="Task.html#event:canceled">Task#event:canceled</a></li><li><a href="Task.html#event:completed">Task#event:completed</a></li><li><a href="Task.html#event:transferAttemptFailed">Task#event:transferAttemptFailed</a></li><li><a href="Task.html#event:transferCanceled">Task#event:transferCanceled</a></li><li><a href="Task.html#event:transferCompleted">Task#event:transferCompleted</a></li><li><a href="Task.html#event:transferFailed">Task#event:transferFailed</a></li><li><a href="Task.html#event:transferInitiated">Task#event:transferInitiated</a></li><li><a href="Task.html#event:updated">Task#event:updated</a></li><li><a href="Task.html#event:wrapup">Task#event:wrapup</a></li><li><a href="Worker.html#event:activityUpdated">Worker#event:activityUpdated</a></li><li><a href="Worker.html#event:attributesUpdated">Worker#event:attributesUpdated</a></li><li><a href="Worker.html#event:disconnected">Worker#event:disconnected</a></li><li><a href="Worker.html#event:error">Worker#event:error</a></li><li><a href="Worker.html#event:ready">Worker#event:ready</a></li><li><a href="Worker.html#event:reservationCreated">Worker#event:reservationCreated</a></li><li><a href="Worker.html#event:reservationFailed">Worker#event:reservationFailed</a></li><li><a href="Worker.html#event:tokenExpired">Worker#event:tokenExpired</a></li><li><a href="Worker.html#event:tokenUpdated">Worker#event:tokenUpdated</a></li>
41
+ </ul>
42
+ </li>
43
+
44
+ <li class="dropdown">
45
+ <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
46
+ <ul class="dropdown-menu ">
47
+ <li><a href="global.html">Global</a></li>
41
48
  </ul>
42
49
  </li>
43
50
 
@@ -154,6 +161,9 @@
154
161
  <dt><a href="Reservation.html">Reservation</a></dt>
155
162
  <dd></dd>
156
163
 
164
+ <dt><a href="Supervisor.html">Supervisor</a></dt>
165
+ <dd></dd>
166
+
157
167
  <dt><a href="Task.html">Task</a></dt>
158
168
  <dd></dd>
159
169
 
@@ -1853,7 +1863,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1853
1863
 
1854
1864
  <hr>
1855
1865
  <dt>
1856
- <h4 class="name" id="event:canceled">canceled</h4>
1866
+ <h4 class="name" id="event:activityUpdated">activityUpdated</h4>
1857
1867
 
1858
1868
 
1859
1869
  </dt>
@@ -1861,7 +1871,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1861
1871
 
1862
1872
 
1863
1873
  <div class="description">
1864
- <p>The <a href="Task.html">Task</a> was canceled</p>
1874
+ <p><a href="Worker.html">Worker</a> activity has updated</p>
1865
1875
  </div>
1866
1876
 
1867
1877
 
@@ -1896,13 +1906,13 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1896
1906
 
1897
1907
  <tr>
1898
1908
 
1899
- <td class="name"><code>task</code></td>
1909
+ <td class="name"><code>worker</code></td>
1900
1910
 
1901
1911
 
1902
1912
  <td class="type">
1903
1913
 
1904
1914
 
1905
- <span class="param-type"><a href="Task.html">Task</a></span>
1915
+ <span class="param-type"><a href="Worker.html">Worker</a></span>
1906
1916
 
1907
1917
 
1908
1918
 
@@ -1913,7 +1923,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1913
1923
 
1914
1924
 
1915
1925
 
1916
- <td class="description last"><p>The <a href="Task.html">Task</a> who was canceled</p></td>
1926
+ <td class="description last"><p>The updated <a href="Worker.html">Worker</a></p></td>
1917
1927
  </tr>
1918
1928
 
1919
1929
 
@@ -1931,6 +1941,15 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1931
1941
 
1932
1942
 
1933
1943
 
1944
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
1945
+ <dd class="inherited-from">
1946
+ <ul class="dummy">
1947
+ <li>
1948
+ <a href="Worker.html#event:activityUpdated">Worker#event:activityUpdated</a>
1949
+ </li>
1950
+ </ul>
1951
+ </dd>
1952
+
1934
1953
 
1935
1954
 
1936
1955
 
@@ -1981,7 +2000,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1981
2000
 
1982
2001
  <hr>
1983
2002
  <dt>
1984
- <h4 class="name" id="event:completed">completed</h4>
2003
+ <h4 class="name" id="event:attributesUpdated">attributesUpdated</h4>
1985
2004
 
1986
2005
 
1987
2006
  </dt>
@@ -1989,7 +2008,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
1989
2008
 
1990
2009
 
1991
2010
  <div class="description">
1992
- <p>The <a href="Task.html">Task</a> was completed</p>
2011
+ <p><a href="Worker.html">Worker</a> attributes have updated</p>
1993
2012
  </div>
1994
2013
 
1995
2014
 
@@ -2024,13 +2043,13 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
2024
2043
 
2025
2044
  <tr>
2026
2045
 
2027
- <td class="name"><code>task</code></td>
2046
+ <td class="name"><code>worker</code></td>
2028
2047
 
2029
2048
 
2030
2049
  <td class="type">
2031
2050
 
2032
2051
 
2033
- <span class="param-type"><a href="Task.html">Task</a></span>
2052
+ <span class="param-type"><a href="Worker.html">Worker</a></span>
2034
2053
 
2035
2054
 
2036
2055
 
@@ -2041,7 +2060,1797 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
2041
2060
 
2042
2061
 
2043
2062
 
2044
- <td class="description last"><p>The <a href="Task.html">Task</a> who was completed</p></td>
2063
+ <td class="description last"><p>The updated <a href="Worker.html">Worker</a></p></td>
2064
+ </tr>
2065
+
2066
+
2067
+ </tbody>
2068
+ </table>
2069
+
2070
+
2071
+
2072
+
2073
+ <dl class="details">
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2082
+ <dd class="inherited-from">
2083
+ <ul class="dummy">
2084
+ <li>
2085
+ <a href="Worker.html#event:attributesUpdated">Worker#event:attributesUpdated</a>
2086
+ </li>
2087
+ </ul>
2088
+ </dd>
2089
+
2090
+
2091
+
2092
+
2093
+
2094
+
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+
2115
+
2116
+
2117
+
2118
+ </dl>
2119
+
2120
+
2121
+
2122
+
2123
+
2124
+
2125
+
2126
+
2127
+
2128
+
2129
+
2130
+
2131
+
2132
+
2133
+
2134
+ </dd>
2135
+
2136
+
2137
+
2138
+ <hr>
2139
+ <dt>
2140
+ <h4 class="name" id="event:disconnected">disconnected</h4>
2141
+
2142
+
2143
+ </dt>
2144
+ <dd>
2145
+
2146
+
2147
+ <div class="description">
2148
+ <p>The signaling layer has lost the websocket connection</p>
2149
+ </div>
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+ <h5>Parameters:</h5>
2159
+
2160
+
2161
+ <table class="params table table-striped">
2162
+ <thead>
2163
+ <tr>
2164
+
2165
+ <th>Name</th>
2166
+
2167
+
2168
+ <th>Type</th>
2169
+
2170
+
2171
+
2172
+
2173
+
2174
+ <th class="last">Description</th>
2175
+ </tr>
2176
+ </thead>
2177
+
2178
+ <tbody>
2179
+
2180
+
2181
+ <tr>
2182
+
2183
+ <td class="name"><code>reason</code></td>
2184
+
2185
+
2186
+ <td class="type">
2187
+
2188
+
2189
+ <span class="param-type">Object</span>
2190
+
2191
+
2192
+
2193
+
2194
+ </td>
2195
+
2196
+
2197
+
2198
+
2199
+
2200
+ <td class="description last"><p>The reason the <a href="Worker.html">Worker</a> websocket disconnected</p></td>
2201
+ </tr>
2202
+
2203
+
2204
+ </tbody>
2205
+ </table>
2206
+
2207
+
2208
+
2209
+
2210
+ <dl class="details">
2211
+
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2219
+ <dd class="inherited-from">
2220
+ <ul class="dummy">
2221
+ <li>
2222
+ <a href="Worker.html#event:disconnected">Worker#event:disconnected</a>
2223
+ </li>
2224
+ </ul>
2225
+ </dd>
2226
+
2227
+
2228
+
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+
2242
+
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+ </dl>
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+ </dd>
2272
+
2273
+
2274
+
2275
+ <hr>
2276
+ <dt>
2277
+ <h4 class="name" id="event:error">error</h4>
2278
+
2279
+
2280
+ </dt>
2281
+ <dd>
2282
+
2283
+
2284
+ <div class="description">
2285
+ <p>An error has occurred</p>
2286
+ </div>
2287
+
2288
+
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+ <h5>Parameters:</h5>
2296
+
2297
+
2298
+ <table class="params table table-striped">
2299
+ <thead>
2300
+ <tr>
2301
+
2302
+ <th>Name</th>
2303
+
2304
+
2305
+ <th>Type</th>
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+ <th class="last">Description</th>
2312
+ </tr>
2313
+ </thead>
2314
+
2315
+ <tbody>
2316
+
2317
+
2318
+ <tr>
2319
+
2320
+ <td class="name"><code>error</code></td>
2321
+
2322
+
2323
+ <td class="type">
2324
+
2325
+
2326
+ <span class="param-type">Error</span>
2327
+
2328
+
2329
+
2330
+
2331
+ </td>
2332
+
2333
+
2334
+
2335
+
2336
+
2337
+ <td class="description last"><p>The Error that occurred</p></td>
2338
+ </tr>
2339
+
2340
+
2341
+ </tbody>
2342
+ </table>
2343
+
2344
+
2345
+
2346
+
2347
+ <dl class="details">
2348
+
2349
+
2350
+
2351
+
2352
+
2353
+
2354
+
2355
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2356
+ <dd class="inherited-from">
2357
+ <ul class="dummy">
2358
+ <li>
2359
+ <a href="Worker.html#event:error">Worker#event:error</a>
2360
+ </li>
2361
+ </ul>
2362
+ </dd>
2363
+
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2370
+
2371
+
2372
+
2373
+
2374
+
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+
2385
+
2386
+
2387
+
2388
+
2389
+
2390
+
2391
+
2392
+ </dl>
2393
+
2394
+
2395
+
2396
+
2397
+
2398
+
2399
+
2400
+
2401
+
2402
+
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+ </dd>
2409
+
2410
+
2411
+
2412
+ <hr>
2413
+ <dt>
2414
+ <h4 class="name" id="event:monitor">monitor</h4>
2415
+
2416
+
2417
+ </dt>
2418
+ <dd>
2419
+
2420
+
2421
+ <div class="description">
2422
+ <p>Add this <a href="Supervisor.html">Supervisor</a> to an ongoing <a href="Reservation.html">Reservation</a> by Sid.</p>
2423
+ </div>
2424
+
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+
2431
+
2432
+ <h5>Parameters:</h5>
2433
+
2434
+
2435
+ <table class="params table table-striped">
2436
+ <thead>
2437
+ <tr>
2438
+
2439
+ <th>Name</th>
2440
+
2441
+
2442
+ <th>Type</th>
2443
+
2444
+
2445
+ <th>Argument</th>
2446
+
2447
+
2448
+
2449
+
2450
+ <th class="last">Description</th>
2451
+ </tr>
2452
+ </thead>
2453
+
2454
+ <tbody>
2455
+
2456
+
2457
+ <tr>
2458
+
2459
+ <td class="name"><code>taskSid</code></td>
2460
+
2461
+
2462
+ <td class="type">
2463
+
2464
+
2465
+ <span class="param-type">string</span>
2466
+
2467
+
2468
+
2469
+
2470
+ </td>
2471
+
2472
+
2473
+ <td class="attributes">
2474
+
2475
+
2476
+
2477
+
2478
+
2479
+ </td>
2480
+
2481
+
2482
+
2483
+
2484
+ <td class="description last"><p>The sid of the <a href="Task.html">Task</a> to add a monitor to.</p></td>
2485
+ </tr>
2486
+
2487
+
2488
+
2489
+ <tr>
2490
+
2491
+ <td class="name"><code>reservationSid</code></td>
2492
+
2493
+
2494
+ <td class="type">
2495
+
2496
+
2497
+ <span class="param-type">string</span>
2498
+
2499
+
2500
+
2501
+
2502
+ </td>
2503
+
2504
+
2505
+ <td class="attributes">
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+ </td>
2512
+
2513
+
2514
+
2515
+
2516
+ <td class="description last"><p>The sid of the <a href="Reservation.html">Reservation</a> to add a monitor to.</p></td>
2517
+ </tr>
2518
+
2519
+
2520
+
2521
+ <tr>
2522
+
2523
+ <td class="name"><code>extraParams</code></td>
2524
+
2525
+
2526
+ <td class="type">
2527
+
2528
+
2529
+ <span class="param-type">Object</span>
2530
+
2531
+
2532
+
2533
+
2534
+ </td>
2535
+
2536
+
2537
+ <td class="attributes">
2538
+
2539
+ &lt;optional&gt;<br>
2540
+
2541
+
2542
+
2543
+
2544
+
2545
+ </td>
2546
+
2547
+
2548
+
2549
+
2550
+ <td class="description last"><p>An object containing extra params to append to the payload.</p></td>
2551
+ </tr>
2552
+
2553
+
2554
+ </tbody>
2555
+ </table>
2556
+
2557
+
2558
+
2559
+
2560
+ <dl class="details">
2561
+
2562
+
2563
+
2564
+
2565
+
2566
+
2567
+
2568
+
2569
+
2570
+
2571
+
2572
+
2573
+
2574
+
2575
+
2576
+
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+
2583
+
2584
+
2585
+
2586
+
2587
+
2588
+
2589
+
2590
+
2591
+
2592
+
2593
+
2594
+
2595
+
2596
+ </dl>
2597
+
2598
+
2599
+
2600
+
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+ </dd>
2613
+
2614
+
2615
+
2616
+ <hr>
2617
+ <dt>
2618
+ <h4 class="name" id="event:ready">ready</h4>
2619
+
2620
+
2621
+ </dt>
2622
+ <dd>
2623
+
2624
+
2625
+ <div class="description">
2626
+ <p><a href="Worker.html">Worker</a> is ready to listen for events and take action</p>
2627
+ </div>
2628
+
2629
+
2630
+
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+
2637
+
2638
+ <dl class="details">
2639
+
2640
+
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2647
+ <dd class="inherited-from">
2648
+ <ul class="dummy">
2649
+ <li>
2650
+ <a href="Worker.html#event:ready">Worker#event:ready</a>
2651
+ </li>
2652
+ </ul>
2653
+ </dd>
2654
+
2655
+
2656
+
2657
+
2658
+
2659
+
2660
+
2661
+
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+
2671
+
2672
+
2673
+
2674
+
2675
+
2676
+
2677
+
2678
+
2679
+
2680
+
2681
+
2682
+
2683
+ </dl>
2684
+
2685
+
2686
+
2687
+
2688
+
2689
+
2690
+
2691
+
2692
+
2693
+
2694
+
2695
+
2696
+
2697
+
2698
+
2699
+ </dd>
2700
+
2701
+
2702
+
2703
+ <hr>
2704
+ <dt>
2705
+ <h4 class="name" id="event:reservationCreated">reservationCreated</h4>
2706
+
2707
+
2708
+ </dt>
2709
+ <dd>
2710
+
2711
+
2712
+ <div class="description">
2713
+ <p>A <a href="Reservation.html">Reservation</a> has been created for the <a href="Worker.html">Worker</a></p>
2714
+ </div>
2715
+
2716
+
2717
+
2718
+
2719
+
2720
+
2721
+
2722
+
2723
+ <h5>Parameters:</h5>
2724
+
2725
+
2726
+ <table class="params table table-striped">
2727
+ <thead>
2728
+ <tr>
2729
+
2730
+ <th>Name</th>
2731
+
2732
+
2733
+ <th>Type</th>
2734
+
2735
+
2736
+
2737
+
2738
+
2739
+ <th class="last">Description</th>
2740
+ </tr>
2741
+ </thead>
2742
+
2743
+ <tbody>
2744
+
2745
+
2746
+ <tr>
2747
+
2748
+ <td class="name"><code>reservation</code></td>
2749
+
2750
+
2751
+ <td class="type">
2752
+
2753
+
2754
+ <span class="param-type"><a href="Reservation.html">Reservation</a></span>
2755
+
2756
+
2757
+
2758
+
2759
+ </td>
2760
+
2761
+
2762
+
2763
+
2764
+
2765
+ <td class="description last"><p>The created <a href="Reservation.html">Reservation</a></p></td>
2766
+ </tr>
2767
+
2768
+
2769
+ </tbody>
2770
+ </table>
2771
+
2772
+
2773
+
2774
+
2775
+ <dl class="details">
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+
2783
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2784
+ <dd class="inherited-from">
2785
+ <ul class="dummy">
2786
+ <li>
2787
+ <a href="Worker.html#event:reservationCreated">Worker#event:reservationCreated</a>
2788
+ </li>
2789
+ </ul>
2790
+ </dd>
2791
+
2792
+
2793
+
2794
+
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+
2805
+
2806
+
2807
+
2808
+
2809
+
2810
+
2811
+
2812
+
2813
+
2814
+
2815
+
2816
+
2817
+
2818
+
2819
+
2820
+ </dl>
2821
+
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+
2836
+ </dd>
2837
+
2838
+
2839
+
2840
+ <hr>
2841
+ <dt>
2842
+ <h4 class="name" id="event:reservationFailed">reservationFailed</h4>
2843
+
2844
+
2845
+ </dt>
2846
+ <dd>
2847
+
2848
+
2849
+ <div class="description">
2850
+ <p><a href="Worker.html">Worker</a> was unable to receive a <a href="Reservation.html">Reservation</a> for the <a href="Task.html">Task</a> it created</p>
2851
+ </div>
2852
+
2853
+
2854
+
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+ <h5>Parameters:</h5>
2861
+
2862
+
2863
+ <table class="params table table-striped">
2864
+ <thead>
2865
+ <tr>
2866
+
2867
+ <th>Name</th>
2868
+
2869
+
2870
+ <th>Type</th>
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+ <th class="last">Description</th>
2877
+ </tr>
2878
+ </thead>
2879
+
2880
+ <tbody>
2881
+
2882
+
2883
+ <tr>
2884
+
2885
+ <td class="name"><code>task</code></td>
2886
+
2887
+
2888
+ <td class="type">
2889
+
2890
+
2891
+ <span class="param-type">Object</span>
2892
+
2893
+
2894
+
2895
+
2896
+ </td>
2897
+
2898
+
2899
+
2900
+
2901
+
2902
+ <td class="description last"><p>The raw Task-like payload that failed to generate a Reservation</p></td>
2903
+ </tr>
2904
+
2905
+
2906
+ </tbody>
2907
+ </table>
2908
+
2909
+
2910
+
2911
+
2912
+ <dl class="details">
2913
+
2914
+
2915
+
2916
+
2917
+
2918
+
2919
+
2920
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
2921
+ <dd class="inherited-from">
2922
+ <ul class="dummy">
2923
+ <li>
2924
+ <a href="Worker.html#event:reservationFailed">Worker#event:reservationFailed</a>
2925
+ </li>
2926
+ </ul>
2927
+ </dd>
2928
+
2929
+
2930
+
2931
+
2932
+
2933
+
2934
+
2935
+
2936
+
2937
+
2938
+
2939
+
2940
+
2941
+
2942
+
2943
+
2944
+
2945
+
2946
+
2947
+
2948
+
2949
+
2950
+
2951
+
2952
+
2953
+
2954
+
2955
+
2956
+
2957
+ </dl>
2958
+
2959
+
2960
+
2961
+
2962
+
2963
+
2964
+
2965
+
2966
+
2967
+
2968
+
2969
+
2970
+
2971
+
2972
+
2973
+ </dd>
2974
+
2975
+
2976
+
2977
+ <hr>
2978
+ <dt>
2979
+ <h4 class="name" id="event:tokenExpired">tokenExpired</h4>
2980
+
2981
+
2982
+ </dt>
2983
+ <dd>
2984
+
2985
+
2986
+ <div class="description">
2987
+ <p>The <a href="Worker.html">Worker</a> token has expired</p>
2988
+ </div>
2989
+
2990
+
2991
+
2992
+
2993
+
2994
+
2995
+
2996
+
2997
+
2998
+
2999
+ <dl class="details">
3000
+
3001
+
3002
+
3003
+
3004
+
3005
+
3006
+
3007
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
3008
+ <dd class="inherited-from">
3009
+ <ul class="dummy">
3010
+ <li>
3011
+ <a href="Worker.html#event:tokenExpired">Worker#event:tokenExpired</a>
3012
+ </li>
3013
+ </ul>
3014
+ </dd>
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+
3021
+
3022
+
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+
3030
+
3031
+
3032
+
3033
+
3034
+
3035
+
3036
+
3037
+
3038
+
3039
+
3040
+
3041
+
3042
+
3043
+
3044
+ </dl>
3045
+
3046
+
3047
+
3048
+
3049
+
3050
+
3051
+
3052
+
3053
+
3054
+
3055
+
3056
+
3057
+
3058
+
3059
+
3060
+ </dd>
3061
+
3062
+
3063
+
3064
+ <hr>
3065
+ <dt>
3066
+ <h4 class="name" id="event:tokenUpdated">tokenUpdated</h4>
3067
+
3068
+
3069
+ </dt>
3070
+ <dd>
3071
+
3072
+
3073
+ <div class="description">
3074
+ <p>The <a href="Worker.html">Worker</a> token has successfully updated</p>
3075
+ </div>
3076
+
3077
+
3078
+
3079
+
3080
+
3081
+
3082
+
3083
+
3084
+
3085
+
3086
+ <dl class="details">
3087
+
3088
+
3089
+
3090
+
3091
+
3092
+
3093
+
3094
+ <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
3095
+ <dd class="inherited-from">
3096
+ <ul class="dummy">
3097
+ <li>
3098
+ <a href="Worker.html#event:tokenUpdated">Worker#event:tokenUpdated</a>
3099
+ </li>
3100
+ </ul>
3101
+ </dd>
3102
+
3103
+
3104
+
3105
+
3106
+
3107
+
3108
+
3109
+
3110
+
3111
+
3112
+
3113
+
3114
+
3115
+
3116
+
3117
+
3118
+
3119
+
3120
+
3121
+
3122
+
3123
+
3124
+
3125
+
3126
+
3127
+
3128
+
3129
+
3130
+
3131
+ </dl>
3132
+
3133
+
3134
+
3135
+
3136
+
3137
+
3138
+
3139
+
3140
+
3141
+
3142
+
3143
+
3144
+
3145
+
3146
+
3147
+ </dd>
3148
+
3149
+
3150
+
3151
+ <hr>
3152
+ <dt>
3153
+ <h4 class="name" id="event:canceled">canceled</h4>
3154
+
3155
+
3156
+ </dt>
3157
+ <dd>
3158
+
3159
+
3160
+ <div class="description">
3161
+ <p>The <a href="Task.html">Task</a> was canceled</p>
3162
+ </div>
3163
+
3164
+
3165
+
3166
+
3167
+
3168
+
3169
+
3170
+
3171
+ <h5>Parameters:</h5>
3172
+
3173
+
3174
+ <table class="params table table-striped">
3175
+ <thead>
3176
+ <tr>
3177
+
3178
+ <th>Name</th>
3179
+
3180
+
3181
+ <th>Type</th>
3182
+
3183
+
3184
+
3185
+
3186
+
3187
+ <th class="last">Description</th>
3188
+ </tr>
3189
+ </thead>
3190
+
3191
+ <tbody>
3192
+
3193
+
3194
+ <tr>
3195
+
3196
+ <td class="name"><code>task</code></td>
3197
+
3198
+
3199
+ <td class="type">
3200
+
3201
+
3202
+ <span class="param-type"><a href="Task.html">Task</a></span>
3203
+
3204
+
3205
+
3206
+
3207
+ </td>
3208
+
3209
+
3210
+
3211
+
3212
+
3213
+ <td class="description last"><p>The <a href="Task.html">Task</a> who was canceled</p></td>
3214
+ </tr>
3215
+
3216
+
3217
+ </tbody>
3218
+ </table>
3219
+
3220
+
3221
+
3222
+
3223
+ <dl class="details">
3224
+
3225
+
3226
+
3227
+
3228
+
3229
+
3230
+
3231
+
3232
+
3233
+
3234
+
3235
+
3236
+
3237
+
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+
3246
+
3247
+
3248
+
3249
+
3250
+
3251
+
3252
+
3253
+
3254
+
3255
+
3256
+
3257
+
3258
+
3259
+ </dl>
3260
+
3261
+
3262
+
3263
+
3264
+
3265
+
3266
+
3267
+
3268
+
3269
+
3270
+
3271
+
3272
+
3273
+
3274
+
3275
+ </dd>
3276
+
3277
+
3278
+
3279
+ <hr>
3280
+ <dt>
3281
+ <h4 class="name" id="event:completed">completed</h4>
3282
+
3283
+
3284
+ </dt>
3285
+ <dd>
3286
+
3287
+
3288
+ <div class="description">
3289
+ <p>The <a href="Task.html">Task</a> was completed</p>
3290
+ </div>
3291
+
3292
+
3293
+
3294
+
3295
+
3296
+
3297
+
3298
+
3299
+ <h5>Parameters:</h5>
3300
+
3301
+
3302
+ <table class="params table table-striped">
3303
+ <thead>
3304
+ <tr>
3305
+
3306
+ <th>Name</th>
3307
+
3308
+
3309
+ <th>Type</th>
3310
+
3311
+
3312
+
3313
+
3314
+
3315
+ <th class="last">Description</th>
3316
+ </tr>
3317
+ </thead>
3318
+
3319
+ <tbody>
3320
+
3321
+
3322
+ <tr>
3323
+
3324
+ <td class="name"><code>task</code></td>
3325
+
3326
+
3327
+ <td class="type">
3328
+
3329
+
3330
+ <span class="param-type"><a href="Task.html">Task</a></span>
3331
+
3332
+
3333
+
3334
+
3335
+ </td>
3336
+
3337
+
3338
+
3339
+
3340
+
3341
+ <td class="description last"><p>The <a href="Task.html">Task</a> who was completed</p></td>
3342
+ </tr>
3343
+
3344
+
3345
+ </tbody>
3346
+ </table>
3347
+
3348
+
3349
+
3350
+
3351
+ <dl class="details">
3352
+
3353
+
3354
+
3355
+
3356
+
3357
+
3358
+
3359
+
3360
+
3361
+
3362
+
3363
+
3364
+
3365
+
3366
+
3367
+
3368
+
3369
+
3370
+
3371
+
3372
+
3373
+
3374
+
3375
+
3376
+
3377
+
3378
+
3379
+
3380
+
3381
+
3382
+
3383
+
3384
+
3385
+
3386
+
3387
+ </dl>
3388
+
3389
+
3390
+
3391
+
3392
+
3393
+
3394
+
3395
+
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+
3402
+
3403
+ </dd>
3404
+
3405
+
3406
+
3407
+ <hr>
3408
+ <dt>
3409
+ <h4 class="name" id="event:transferAttemptFailed">transferAttemptFailed</h4>
3410
+
3411
+
3412
+ </dt>
3413
+ <dd>
3414
+
3415
+
3416
+ <div class="description">
3417
+ <p>An <a href="OutgoingTransfer.html">OutgoingTransfer</a> attempt has been failed for <a href="Task.html">Task</a></p>
3418
+ </div>
3419
+
3420
+
3421
+
3422
+
3423
+
3424
+
3425
+
3426
+
3427
+ <h5>Parameters:</h5>
3428
+
3429
+
3430
+ <table class="params table table-striped">
3431
+ <thead>
3432
+ <tr>
3433
+
3434
+ <th>Name</th>
3435
+
3436
+
3437
+ <th>Type</th>
3438
+
3439
+
3440
+
3441
+
3442
+
3443
+ <th class="last">Description</th>
3444
+ </tr>
3445
+ </thead>
3446
+
3447
+ <tbody>
3448
+
3449
+
3450
+ <tr>
3451
+
3452
+ <td class="name"><code>outgoingTransfer</code></td>
3453
+
3454
+
3455
+ <td class="type">
3456
+
3457
+
3458
+ <span class="param-type"><a href="OutgoingTransfer.html">OutgoingTransfer</a></span>
3459
+
3460
+
3461
+
3462
+
3463
+ </td>
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+ <td class="description last"><p>The currently in process <a href="OutgoingTransfer.html">OutgoingTransfer</a></p></td>
3470
+ </tr>
3471
+
3472
+
3473
+ </tbody>
3474
+ </table>
3475
+
3476
+
3477
+
3478
+
3479
+ <dl class="details">
3480
+
3481
+
3482
+
3483
+
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+
3490
+
3491
+
3492
+
3493
+
3494
+
3495
+
3496
+
3497
+
3498
+
3499
+
3500
+
3501
+
3502
+
3503
+
3504
+
3505
+
3506
+
3507
+
3508
+
3509
+
3510
+
3511
+
3512
+
3513
+
3514
+
3515
+ </dl>
3516
+
3517
+
3518
+
3519
+
3520
+
3521
+
3522
+
3523
+
3524
+
3525
+
3526
+
3527
+
3528
+
3529
+
3530
+
3531
+ </dd>
3532
+
3533
+
3534
+
3535
+ <hr>
3536
+ <dt>
3537
+ <h4 class="name" id="event:transferCanceled">transferCanceled</h4>
3538
+
3539
+
3540
+ </dt>
3541
+ <dd>
3542
+
3543
+
3544
+ <div class="description">
3545
+ <p>An <a href="OutgoingTransfer.html">OutgoingTransfer</a> has been canceled for <a href="Task.html">Task</a></p>
3546
+ </div>
3547
+
3548
+
3549
+
3550
+
3551
+
3552
+
3553
+
3554
+
3555
+ <h5>Parameters:</h5>
3556
+
3557
+
3558
+ <table class="params table table-striped">
3559
+ <thead>
3560
+ <tr>
3561
+
3562
+ <th>Name</th>
3563
+
3564
+
3565
+ <th>Type</th>
3566
+
3567
+
3568
+
3569
+
3570
+
3571
+ <th class="last">Description</th>
3572
+ </tr>
3573
+ </thead>
3574
+
3575
+ <tbody>
3576
+
3577
+
3578
+ <tr>
3579
+
3580
+ <td class="name"><code>outgoingTransfer</code></td>
3581
+
3582
+
3583
+ <td class="type">
3584
+
3585
+
3586
+ <span class="param-type"><a href="OutgoingTransfer.html">OutgoingTransfer</a></span>
3587
+
3588
+
3589
+
3590
+
3591
+ </td>
3592
+
3593
+
3594
+
3595
+
3596
+
3597
+ <td class="description last"><p>The currently in process <a href="OutgoingTransfer.html">OutgoingTransfer</a></p></td>
3598
+ </tr>
3599
+
3600
+
3601
+ </tbody>
3602
+ </table>
3603
+
3604
+
3605
+
3606
+
3607
+ <dl class="details">
3608
+
3609
+
3610
+
3611
+
3612
+
3613
+
3614
+
3615
+
3616
+
3617
+
3618
+
3619
+
3620
+
3621
+
3622
+
3623
+
3624
+
3625
+
3626
+
3627
+
3628
+
3629
+
3630
+
3631
+
3632
+
3633
+
3634
+
3635
+
3636
+
3637
+
3638
+
3639
+
3640
+
3641
+
3642
+
3643
+ </dl>
3644
+
3645
+
3646
+
3647
+
3648
+
3649
+
3650
+
3651
+
3652
+
3653
+
3654
+
3655
+
3656
+
3657
+
3658
+
3659
+ </dd>
3660
+
3661
+
3662
+
3663
+ <hr>
3664
+ <dt>
3665
+ <h4 class="name" id="event:transferCompleted">transferCompleted</h4>
3666
+
3667
+
3668
+ </dt>
3669
+ <dd>
3670
+
3671
+
3672
+ <div class="description">
3673
+ <p>An <a href="OutgoingTransfer.html">OutgoingTransfer</a> has been competed for <a href="Task.html">Task</a></p>
3674
+ </div>
3675
+
3676
+
3677
+
3678
+
3679
+
3680
+
3681
+
3682
+
3683
+ <h5>Parameters:</h5>
3684
+
3685
+
3686
+ <table class="params table table-striped">
3687
+ <thead>
3688
+ <tr>
3689
+
3690
+ <th>Name</th>
3691
+
3692
+
3693
+ <th>Type</th>
3694
+
3695
+
3696
+
3697
+
3698
+
3699
+ <th class="last">Description</th>
3700
+ </tr>
3701
+ </thead>
3702
+
3703
+ <tbody>
3704
+
3705
+
3706
+ <tr>
3707
+
3708
+ <td class="name"><code>outgoingTransfer</code></td>
3709
+
3710
+
3711
+ <td class="type">
3712
+
3713
+
3714
+ <span class="param-type"><a href="OutgoingTransfer.html">OutgoingTransfer</a></span>
3715
+
3716
+
3717
+
3718
+
3719
+ </td>
3720
+
3721
+
3722
+
3723
+
3724
+
3725
+ <td class="description last"><p>The currently in process <a href="OutgoingTransfer.html">OutgoingTransfer</a></p></td>
3726
+ </tr>
3727
+
3728
+
3729
+ </tbody>
3730
+ </table>
3731
+
3732
+
3733
+
3734
+
3735
+ <dl class="details">
3736
+
3737
+
3738
+
3739
+
3740
+
3741
+
3742
+
3743
+
3744
+
3745
+
3746
+
3747
+
3748
+
3749
+
3750
+
3751
+
3752
+
3753
+
3754
+
3755
+
3756
+
3757
+
3758
+
3759
+
3760
+
3761
+
3762
+
3763
+
3764
+
3765
+
3766
+
3767
+
3768
+
3769
+
3770
+
3771
+ </dl>
3772
+
3773
+
3774
+
3775
+
3776
+
3777
+
3778
+
3779
+
3780
+
3781
+
3782
+
3783
+
3784
+
3785
+
3786
+
3787
+ </dd>
3788
+
3789
+
3790
+
3791
+ <hr>
3792
+ <dt>
3793
+ <h4 class="name" id="event:transferFailed">transferFailed</h4>
3794
+
3795
+
3796
+ </dt>
3797
+ <dd>
3798
+
3799
+
3800
+ <div class="description">
3801
+ <p>An <a href="OutgoingTransfer.html">OutgoingTransfer</a> has been failed for <a href="Task.html">Task</a></p>
3802
+ </div>
3803
+
3804
+
3805
+
3806
+
3807
+
3808
+
3809
+
3810
+
3811
+ <h5>Parameters:</h5>
3812
+
3813
+
3814
+ <table class="params table table-striped">
3815
+ <thead>
3816
+ <tr>
3817
+
3818
+ <th>Name</th>
3819
+
3820
+
3821
+ <th>Type</th>
3822
+
3823
+
3824
+
3825
+
3826
+
3827
+ <th class="last">Description</th>
3828
+ </tr>
3829
+ </thead>
3830
+
3831
+ <tbody>
3832
+
3833
+
3834
+ <tr>
3835
+
3836
+ <td class="name"><code>outgoingTransfer</code></td>
3837
+
3838
+
3839
+ <td class="type">
3840
+
3841
+
3842
+ <span class="param-type"><a href="OutgoingTransfer.html">OutgoingTransfer</a></span>
3843
+
3844
+
3845
+
3846
+
3847
+ </td>
3848
+
3849
+
3850
+
3851
+
3852
+
3853
+ <td class="description last"><p>The currently in process <a href="OutgoingTransfer.html">OutgoingTransfer</a></p></td>
2045
3854
  </tr>
2046
3855
 
2047
3856
 
@@ -3535,9 +5344,9 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
3535
5344
 
3536
5345
 
3537
5346
  <span class="jsdoc-message">
3538
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
5347
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
3539
5348
 
3540
- on 2023-05-09T04:37:13+00:00
5349
+ on 2023-08-01T08:45:21+00:00
3541
5350
 
3542
5351
  using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
3543
5352
  </span>