-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathindex.js
More file actions
40 lines (37 loc) · 756 Bytes
/
index.js
File metadata and controls
40 lines (37 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Creates axios config objects for the various backend API requests
* Example object:
*
* {
* method: 'post',
* url: '/user/12345',
* data: {
* firstName: 'Fred',
* lastName: 'Flintstone'
* }
* }
*
* These objects are used to make requests from components using the
* makeAuthedRequest hook. (See src/api/auth.js for usage details)
*
*/
export {
getUserQueues,
getQueue,
getQueueHistory,
deleteQueue,
getQueueInfo,
getQueueInfoByName,
createQueue,
setQueueStatus,
updateQueueSettings,
} from './queue';
export {
getUserTokens,
createToken,
getToken,
deleteToken,
notifyToken,
getTokenByContactNumber,
} from './token';
export { linkDevice, unlinkDevice } from './owner';