@twilio/conversations 1.3.0-rc8 → 2.0.0-rc.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.
Files changed (282) hide show
  1. package/CHANGELOG.md +210 -0
  2. package/README.md +22 -17
  3. package/dist/browser.js +7873 -0
  4. package/dist/browser.js.map +1 -0
  5. package/dist/docs/assets/css/main.css +2660 -0
  6. package/dist/docs/assets/images/icons.png +0 -0
  7. package/dist/docs/assets/images/icons@2x.png +0 -0
  8. package/dist/docs/assets/images/widgets.png +0 -0
  9. package/dist/docs/assets/images/widgets@2x.png +0 -0
  10. package/dist/docs/assets/js/main.js +248 -0
  11. package/dist/docs/assets/js/search.js +1 -0
  12. package/dist/docs/classes/AggregatedDeliveryReceipt.html +3286 -0
  13. package/dist/docs/classes/Client.html +4181 -0
  14. package/dist/docs/classes/Conversation.html +4397 -0
  15. package/dist/docs/classes/DetailedDeliveryReceipt.html +3265 -0
  16. package/dist/docs/classes/Media.html +3295 -0
  17. package/dist/docs/classes/Message.html +3713 -0
  18. package/dist/docs/classes/MessageBuilder.html +3280 -0
  19. package/dist/docs/classes/Participant.html +3517 -0
  20. package/dist/docs/classes/PushNotification.html +3232 -0
  21. package/dist/docs/classes/RestPaginator.html +3262 -0
  22. package/dist/docs/classes/UnsentMessage.html +3144 -0
  23. package/dist/docs/classes/User.html +3451 -0
  24. package/dist/docs/index.html +3394 -212
  25. package/dist/docs/interfaces/ClientOptions.html +3136 -0
  26. package/dist/docs/interfaces/ConversationState.html +3152 -0
  27. package/dist/docs/interfaces/CreateConversationOptions.html +3168 -0
  28. package/dist/docs/interfaces/LastMessage.html +3152 -0
  29. package/dist/docs/interfaces/Paginator.html +3243 -0
  30. package/dist/docs/interfaces/PushNotificationData.html +3168 -0
  31. package/dist/docs/interfaces/SendEmailOptions.html +3136 -0
  32. package/dist/docs/interfaces/SendMediaOptions.html +3170 -0
  33. package/dist/docs/modules.html +3425 -0
  34. package/dist/lib.d.ts +1952 -0
  35. package/dist/lib.js +7873 -0
  36. package/dist/lib.js.map +1 -0
  37. package/dist/post-install.js +29 -0
  38. package/dist/react-native.js +4038 -0
  39. package/dist/react-native.js.map +1 -0
  40. package/dist/twilio-conversations.js +40912 -0
  41. package/dist/twilio-conversations.min.js +156 -0
  42. package/package.json +59 -48
  43. package/.circleci/config.yml +0 -650
  44. package/.deepsource.toml +0 -6
  45. package/.env.example +0 -13
  46. package/browser/aggregateddeliveryreceipt.js +0 -152
  47. package/browser/client.js +0 -991
  48. package/browser/configuration.js +0 -80
  49. package/browser/conversation.js +0 -1826
  50. package/browser/data/conversations.js +0 -632
  51. package/browser/data/messages.js +0 -522
  52. package/browser/data/participants.js +0 -411
  53. package/browser/data/users.js +0 -281
  54. package/browser/detaileddeliveryreceipt.js +0 -44
  55. package/browser/index.js +0 -4
  56. package/browser/interfaces/limits.js +0 -3
  57. package/browser/interfaces/notificationtypes.js +0 -21
  58. package/browser/interfaces/paginator.js +0 -53
  59. package/browser/interfaces/responsecodes.js +0 -20
  60. package/browser/interfaces/transport.js +0 -3
  61. package/browser/logger.js +0 -141
  62. package/browser/media.js +0 -198
  63. package/browser/message.js +0 -685
  64. package/browser/participant.js +0 -415
  65. package/browser/pushnotification.js +0 -49
  66. package/browser/restpaginator.js +0 -74
  67. package/browser/services/network.js +0 -223
  68. package/browser/services/readhorizon.js +0 -181
  69. package/browser/services/typingindicator.js +0 -142
  70. package/browser/session.js +0 -505
  71. package/browser/sessionerror.js +0 -93
  72. package/browser/sri.json +0 -1
  73. package/browser/synclist.js +0 -90
  74. package/browser/synclistdescriptor.js +0 -29
  75. package/browser/syncpaginator.js +0 -63
  76. package/browser/user.js +0 -431
  77. package/browser/util/deferred.js +0 -56
  78. package/browser/util/index.js +0 -108
  79. package/dist/@twilio/conversations.js +0 -35533
  80. package/dist/@twilio/conversations.min.js +0 -204
  81. package/dist/docs/AggregatedDeliveryReceipt.html +0 -948
  82. package/dist/docs/Client.html +0 -5075
  83. package/dist/docs/Conversation.html +0 -6018
  84. package/dist/docs/DetailedDeliveryReceipt.html +0 -641
  85. package/dist/docs/Media.html +0 -694
  86. package/dist/docs/Message.html +0 -1934
  87. package/dist/docs/Paginator.html +0 -605
  88. package/dist/docs/Participant.html +0 -1510
  89. package/dist/docs/PushNotification.html +0 -836
  90. package/dist/docs/SessionError.html +0 -379
  91. package/dist/docs/User.html +0 -1315
  92. package/dist/docs/classes.list.html +0 -4431
  93. package/dist/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  94. package/dist/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  95. package/dist/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  96. package/dist/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  97. package/dist/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  98. package/dist/docs/img/glyphicons-halflings-white.png +0 -0
  99. package/dist/docs/img/glyphicons-halflings.png +0 -0
  100. package/dist/docs/quicksearch.html +0 -31
  101. package/dist/docs/scripts/docstrap.lib.js +0 -11
  102. package/dist/docs/scripts/fulltext-search-ui.js +0 -89
  103. package/dist/docs/scripts/fulltext-search.js +0 -36
  104. package/dist/docs/scripts/lunr.min.js +0 -6
  105. package/dist/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  106. package/dist/docs/scripts/prettify/jquery.min.js +0 -6
  107. package/dist/docs/scripts/prettify/lang-css.js +0 -21
  108. package/dist/docs/scripts/prettify/prettify.js +0 -496
  109. package/dist/docs/scripts/sunlight.js +0 -1157
  110. package/dist/docs/scripts/toc.js +0 -203
  111. package/dist/docs/styles/darkstrap.css +0 -960
  112. package/dist/docs/styles/prettify-tomorrow.css +0 -132
  113. package/dist/docs/styles/site.cerulean.css +0 -7008
  114. package/dist/docs/styles/site.cosmo.css +0 -7061
  115. package/dist/docs/styles/site.cyborg.css +0 -7048
  116. package/dist/docs/styles/site.darkly.css +0 -7171
  117. package/dist/docs/styles/site.darkstrap.css +0 -5638
  118. package/dist/docs/styles/site.dibs-bootstrap.css +0 -5899
  119. package/dist/docs/styles/site.flatly.css +0 -7147
  120. package/dist/docs/styles/site.journal.css +0 -6973
  121. package/dist/docs/styles/site.lumen.css +0 -7298
  122. package/dist/docs/styles/site.paper.css +0 -7623
  123. package/dist/docs/styles/site.readable.css +0 -6997
  124. package/dist/docs/styles/site.sandstone.css +0 -7035
  125. package/dist/docs/styles/site.simplex.css +0 -7023
  126. package/dist/docs/styles/site.slate.css +0 -7343
  127. package/dist/docs/styles/site.spacelab.css +0 -7055
  128. package/dist/docs/styles/site.superhero.css +0 -7131
  129. package/dist/docs/styles/site.united.css +0 -6895
  130. package/dist/docs/styles/site.yeti.css +0 -7195
  131. package/dist/docs/styles/sunlight.dark.css +0 -345
  132. package/dist/docs/styles/sunlight.default.css +0 -344
  133. package/dist/sri.json +0 -1
  134. package/lib/aggregateddeliveryreceipt.d.ts +0 -98
  135. package/lib/aggregateddeliveryreceipt.js +0 -112
  136. package/lib/client.d.ts +0 -317
  137. package/lib/client.js +0 -633
  138. package/lib/configuration.d.ts +0 -21
  139. package/lib/configuration.js +0 -41
  140. package/lib/conversation.d.ts +0 -460
  141. package/lib/conversation.js +0 -940
  142. package/lib/data/conversations.d.ts +0 -57
  143. package/lib/data/conversations.js +0 -296
  144. package/lib/data/messages.d.ts +0 -75
  145. package/lib/data/messages.js +0 -208
  146. package/lib/data/participants.d.ts +0 -94
  147. package/lib/data/participants.js +0 -204
  148. package/lib/data/users.d.ts +0 -42
  149. package/lib/data/users.js +0 -113
  150. package/lib/detaileddeliveryreceipt.d.ts +0 -45
  151. package/lib/detaileddeliveryreceipt.js +0 -34
  152. package/lib/index.d.ts +0 -1
  153. package/lib/index.js +0 -3
  154. package/lib/interfaces/limits.d.ts +0 -8
  155. package/lib/interfaces/limits.js +0 -2
  156. package/lib/interfaces/notificationtypes.d.ts +0 -8
  157. package/lib/interfaces/notificationtypes.js +0 -11
  158. package/lib/interfaces/paginator.d.ts +0 -52
  159. package/lib/interfaces/paginator.js +0 -28
  160. package/lib/interfaces/responsecodes.d.ts +0 -8
  161. package/lib/interfaces/responsecodes.js +0 -10
  162. package/lib/interfaces/transport.d.ts +0 -13
  163. package/lib/interfaces/transport.js +0 -2
  164. package/lib/logger.d.ts +0 -18
  165. package/lib/logger.js +0 -35
  166. package/lib/media.d.ts +0 -52
  167. package/lib/media.js +0 -69
  168. package/lib/message.d.ts +0 -136
  169. package/lib/message.js +0 -305
  170. package/lib/participant.d.ts +0 -142
  171. package/lib/participant.js +0 -219
  172. package/lib/pushnotification.d.ts +0 -48
  173. package/lib/pushnotification.js +0 -39
  174. package/lib/restpaginator.d.ts +0 -19
  175. package/lib/restpaginator.js +0 -36
  176. package/lib/services/network.d.ts +0 -22
  177. package/lib/services/network.js +0 -87
  178. package/lib/services/readhorizon.d.ts +0 -28
  179. package/lib/services/readhorizon.js +0 -112
  180. package/lib/services/typingindicator.d.ts +0 -50
  181. package/lib/services/typingindicator.js +0 -102
  182. package/lib/session.d.ts +0 -63
  183. package/lib/session.js +0 -213
  184. package/lib/sessionerror.d.ts +0 -12
  185. package/lib/sessionerror.js +0 -24
  186. package/lib/sri.json +0 -1
  187. package/lib/synclist.d.ts +0 -24
  188. package/lib/synclist.js +0 -28
  189. package/lib/synclistdescriptor.d.ts +0 -27
  190. package/lib/synclistdescriptor.js +0 -19
  191. package/lib/syncpaginator.d.ts +0 -22
  192. package/lib/syncpaginator.js +0 -37
  193. package/lib/user.d.ts +0 -98
  194. package/lib/user.js +0 -219
  195. package/lib/util/deferred.d.ts +0 -12
  196. package/lib/util/deferred.js +0 -22
  197. package/lib/util/index.d.ts +0 -28
  198. package/lib/util/index.js +0 -82
  199. package/tools/rtd-sdk-cdn-pin/.gitrepo +0 -12
  200. package/tools/rtd-sdk-cdn-pin/README.md +0 -54
  201. package/tools/rtd-sdk-cdn-pin/bintray-settings.xml.template +0 -16
  202. package/tools/rtd-sdk-cdn-pin/cdn-common/cdn-prepare.sh +0 -67
  203. package/tools/rtd-sdk-cdn-pin/cdn-pin-latest.sh +0 -19
  204. package/tools/rtd-sdk-cdn-pin/cdn-pin.sh +0 -19
  205. package/tools/rtd-sdk-cdn-pin/cdn-upload.sh +0 -13
  206. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-bintray-android.sh +0 -34
  207. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-npm.sh +0 -18
  208. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-android.sh +0 -5
  209. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-js.sh +0 -5
  210. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-android.sh +0 -6
  211. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-js.sh +0 -5
  212. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-android.sh +0 -5
  213. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-js.sh +0 -5
  214. package/tools/rtd-sdk-cdn-pin/fetch-artifact.sh +0 -26
  215. package/tools/sdk-release-tool/.gitrepo +0 -12
  216. package/tools/sdk-release-tool/Makefile +0 -49
  217. package/tools/sdk-release-tool/README.md +0 -275
  218. package/tools/sdk-release-tool/delete +0 -3
  219. package/tools/sdk-release-tool/download +0 -3
  220. package/tools/sdk-release-tool/get-cors +0 -3
  221. package/tools/sdk-release-tool/list +0 -3
  222. package/tools/sdk-release-tool/pin +0 -3
  223. package/tools/sdk-release-tool/pin-latest +0 -3
  224. package/tools/sdk-release-tool/requirements.txt +0 -4
  225. package/tools/sdk-release-tool/sdk-release-tool +0 -3
  226. package/tools/sdk-release-tool/sdk_release_tools/__init__.py +0 -0
  227. package/tools/sdk-release-tool/sdk_release_tools/__main__.py +0 -110
  228. package/tools/sdk-release-tool/sdk_release_tools/aws.py +0 -70
  229. package/tools/sdk-release-tool/sdk_release_tools/cli.py +0 -181
  230. package/tools/sdk-release-tool/sdk_release_tools/log.py +0 -24
  231. package/tools/sdk-release-tool/sdk_release_tools/ops.py +0 -295
  232. package/tools/sdk-release-tool/sdk_release_tools/rpm.py +0 -28
  233. package/tools/sdk-release-tool/sdk_release_tools/util.py +0 -186
  234. package/tools/sdk-release-tool/sdk_release_tools/versions.py +0 -362
  235. package/tools/sdk-release-tool/signal-sdk-js.json +0 -28
  236. package/tools/sdk-release-tool/tests/test_versions.py +0 -94
  237. package/tools/sdk-release-tool/twilio-accessmanager-android.json +0 -19
  238. package/tools/sdk-release-tool/twilio-accessmanager-ios.json +0 -26
  239. package/tools/sdk-release-tool/twilio-auth-ios.json +0 -29
  240. package/tools/sdk-release-tool/twilio-authenticator-ios.json +0 -29
  241. package/tools/sdk-release-tool/twilio-chat-android-2.json +0 -19
  242. package/tools/sdk-release-tool/twilio-chat-android.json +0 -22
  243. package/tools/sdk-release-tool/twilio-chat-ios.json +0 -26
  244. package/tools/sdk-release-tool/twilio-chat-js.json +0 -27
  245. package/tools/sdk-release-tool/twilio-client-android-aar.json +0 -22
  246. package/tools/sdk-release-tool/twilio-client-android.json +0 -22
  247. package/tools/sdk-release-tool/twilio-client-ios.json +0 -20
  248. package/tools/sdk-release-tool/twilio-client-js.json +0 -17
  249. package/tools/sdk-release-tool/twilio-client-sounds-js.json +0 -14
  250. package/tools/sdk-release-tool/twilio-common-android-maven.json +0 -16
  251. package/tools/sdk-release-tool/twilio-common-android.json +0 -22
  252. package/tools/sdk-release-tool/twilio-common-ios-rtc.json +0 -25
  253. package/tools/sdk-release-tool/twilio-common-ios.json +0 -25
  254. package/tools/sdk-release-tool/twilio-common-js.json +0 -19
  255. package/tools/sdk-release-tool/twilio-conversations-android.json +0 -22
  256. package/tools/sdk-release-tool/twilio-conversations-ios.json +0 -26
  257. package/tools/sdk-release-tool/twilio-conversations-js.json +0 -27
  258. package/tools/sdk-release-tool/twilio-flex-js.json +0 -20
  259. package/tools/sdk-release-tool/twilio-flex-webchat-js.json +0 -16
  260. package/tools/sdk-release-tool/twilio-frame-chat-android.json +0 -22
  261. package/tools/sdk-release-tool/twilio-frame-chat-ios.json +0 -23
  262. package/tools/sdk-release-tool/twilio-frame-chat-js.json +0 -23
  263. package/tools/sdk-release-tool/twilio-ip-messaging-android-maven.json +0 -16
  264. package/tools/sdk-release-tool/twilio-ip-messaging-android.json +0 -22
  265. package/tools/sdk-release-tool/twilio-ip-messaging-ios.json +0 -25
  266. package/tools/sdk-release-tool/twilio-ip-messaging-js.json +0 -21
  267. package/tools/sdk-release-tool/twilio-sync-android.json +0 -22
  268. package/tools/sdk-release-tool/twilio-sync-ios.json +0 -26
  269. package/tools/sdk-release-tool/twilio-sync-js.json +0 -39
  270. package/tools/sdk-release-tool/twilio-taskrouter-js.json +0 -17
  271. package/tools/sdk-release-tool/twilio-video-android.json +0 -22
  272. package/tools/sdk-release-tool/twilio-video-cpp-linux-cross-rootfs.json +0 -13
  273. package/tools/sdk-release-tool/twilio-video-cpp.json +0 -33
  274. package/tools/sdk-release-tool/twilio-video-ios.json +0 -25
  275. package/tools/sdk-release-tool/twilio-video-js.json +0 -19
  276. package/tools/sdk-release-tool/twilio-video-jsdocs.json +0 -14
  277. package/tools/sdk-release-tool/twilio-voice-android.json +0 -22
  278. package/tools/sdk-release-tool/twilio-voice-ios.json +0 -29
  279. package/tools/sdk-release-tool/unpin +0 -3
  280. package/tools/sdk-release-tool/unpin-latest +0 -3
  281. package/tools/sdk-release-tool/upload +0 -3
  282. package/twilio-chat.js.iml +0 -9
@@ -1,1315 +0,0 @@
1
- <!DOCTYPE html><html lang="en"><head>
2
- <meta charset="utf-8">
3
- <meta name="viewport" content="width=device-width">
4
- <title>Documentation Class: User</title>
5
-
6
- <!--[if lt IE 9]>
7
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
8
- <![endif]-->
9
- <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
10
-
11
- <link type="text/css" rel="stylesheet" href="styles/site.simplex.css">
12
-
13
- </head>
14
-
15
- <body>
16
-
17
- <div class="navbar navbar-default navbar-fixed-top ">
18
- <div class="container">
19
- <div class="navbar-header">
20
- <a class="navbar-brand" href="index.html">Documentation</a>
21
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
22
- <span class="icon-bar"></span>
23
- <span class="icon-bar"></span>
24
- <span class="icon-bar"></span>
25
- </button>
26
- </div>
27
- <div class="navbar-collapse collapse" id="topNavigation">
28
- <ul class="nav navbar-nav"><li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Classes<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="Client.html"><span style="color: #999">Twilio.Conversations.</span>Client</a></li><li><a href="Conversation.html">Conversation</a></li><li><a href="Participant.html">Participant</a></li><li><a href="Message.html">Message</a></li><li><a href="Media.html">Media</a></li><li><a href="AggregatedDeliveryReceipt.html">AggregatedDeliveryReceipt</a></li><li><a href="DetailedDeliveryReceipt.html">DetailedDeliveryReceipt</a></li><li><a href="User.html">User</a></li><li><a href="Paginator.html">Paginator</a></li><li><a href="PushNotification.html">PushNotification</a></li></ul></li><li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Exceptions<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="SessionError.html">SessionError</a></li></ul></li></ul>
29
-
30
- <div class="col-sm-3 col-md-3">
31
- <form class="navbar-form" role="search">
32
- <div class="input-group">
33
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
34
- <div class="input-group-btn">
35
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
36
- </div>
37
- </div>
38
- </form>
39
- </div>
40
-
41
- </div>
42
-
43
- </div>
44
- </div>
45
-
46
-
47
- <div class="container" id="toc-content">
48
- <div class="row">
49
-
50
-
51
- <div class="col-md-8">
52
-
53
- <div id="main">
54
-
55
-
56
- <h1 class="page-title">Class: User</h1>
57
- <section>
58
-
59
- <header>
60
-
61
- <h2>
62
- User
63
- </h2>
64
-
65
- <div class="class-description">Extended user information.
66
- Note that <code>isOnline</code> and <code>isNotifiable</code> properties are eligible
67
- to use only if reachability function is enabled.
68
- You may check if it is enabled by reading value of <a href="Client.html">Client</a>&apos;s <code>reachabilityEnabled</code> property.</div>
69
-
70
-
71
- </header>
72
-
73
-
74
- <article>
75
- <div class="container-overview">
76
-
77
-
78
- <hr>
79
- <dt>
80
-
81
-
82
-
83
- </dt>
84
- <dd>
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
- <dl class="details">
103
-
104
-
105
- <h5 class="subsection-title">Properties:</h5>
106
-
107
- <dl>
108
-
109
- <table class="props table table-striped">
110
- <thead>
111
- <tr>
112
-
113
- <th>Name</th>
114
-
115
-
116
- <th>Type</th>
117
-
118
-
119
-
120
-
121
-
122
- <th class="last">Description</th>
123
- </tr>
124
- </thead>
125
-
126
- <tbody>
127
-
128
-
129
- <tr>
130
-
131
- <td class="name"><code>identity</code></td>
132
-
133
-
134
- <td class="type">
135
-
136
-
137
- <span class="param-type">String</span>
138
-
139
-
140
-
141
-
142
- </td>
143
-
144
-
145
-
146
-
147
-
148
- <td class="description last">User identity</td>
149
- </tr>
150
-
151
-
152
-
153
- <tr>
154
-
155
- <td class="name"><code>friendlyName</code></td>
156
-
157
-
158
- <td class="type">
159
-
160
-
161
- <span class="param-type">String</span>
162
-
163
-
164
-
165
-
166
- </td>
167
-
168
-
169
-
170
-
171
-
172
- <td class="description last">User friendly name, null if not set</td>
173
- </tr>
174
-
175
-
176
-
177
- <tr>
178
-
179
- <td class="name"><code>attributes</code></td>
180
-
181
-
182
- <td class="type">
183
-
184
-
185
- <span class="param-type">any</span>
186
-
187
-
188
-
189
-
190
- </td>
191
-
192
-
193
-
194
-
195
-
196
- <td class="description last">Object with custom attributes for user</td>
197
- </tr>
198
-
199
-
200
-
201
- <tr>
202
-
203
- <td class="name"><code>isOnline</code></td>
204
-
205
-
206
- <td class="type">
207
-
208
-
209
- <span class="param-type">Boolean</span>
210
-
211
-
212
-
213
-
214
- </td>
215
-
216
-
217
-
218
-
219
-
220
- <td class="description last">User real-time conversation connection status</td>
221
- </tr>
222
-
223
-
224
-
225
- <tr>
226
-
227
- <td class="name"><code>isNotifiable</code></td>
228
-
229
-
230
- <td class="type">
231
-
232
-
233
- <span class="param-type">Boolean</span>
234
-
235
-
236
-
237
-
238
- </td>
239
-
240
-
241
-
242
-
243
-
244
- <td class="description last">User push notification registration status</td>
245
- </tr>
246
-
247
-
248
-
249
- <tr>
250
-
251
- <td class="name"><code>isSubscribed</code></td>
252
-
253
-
254
- <td class="type">
255
-
256
-
257
- <span class="param-type">Boolean</span>
258
-
259
-
260
-
261
-
262
- </td>
263
-
264
-
265
-
266
-
267
-
268
- <td class="description last">Check if this user receives real-time status updates</td>
269
- </tr>
270
-
271
-
272
- </tbody>
273
- </table>
274
- </dl>
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
- </dl>
312
-
313
-
314
-
315
-
316
-
317
- <h5>Fires:</h5>
318
- <ul>
319
- <li><a href="User.html#event:updated">User#event:updated</a></li>
320
-
321
- <li><a href="User.html#event:userSubscribed">User#event:userSubscribed</a></li>
322
-
323
- <li><a href="User.html#event:userUnsubscribed">User#event:userUnsubscribed</a></li>
324
- </ul>
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
- </dd>
337
-
338
-
339
- </div>
340
-
341
-
342
-
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
- <h3 class="subsection-title">Methods</h3>
355
-
356
- <dl>
357
-
358
- <hr>
359
- <dt>
360
- <h4 class="name" id="unsubscribe"><span class="type-signature"></span>unsubscribe()</h4>
361
-
362
-
363
- </dt>
364
- <dd>
365
-
366
-
367
- <div class="description">
368
- Removes User from subscription list.
369
- </div>
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
- <dl class="details">
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
- </dl>
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
- <h5>Returns:</h5>
431
-
432
-
433
- <div class="param-desc">
434
- Promise of completion
435
- </div>
436
-
437
-
438
-
439
- <dl>
440
- <dt>
441
- Type
442
- </dt>
443
- <dd>
444
-
445
- <span class="param-type">Promise.&lt;void&gt;</span>
446
-
447
-
448
-
449
- </dd>
450
- </dl>
451
-
452
-
453
-
454
-
455
-
456
- </dd>
457
-
458
-
459
-
460
- <hr>
461
- <dt>
462
- <h4 class="name" id="updateAttributes"><span class="type-signature"></span>updateAttributes(attributes)</h4>
463
-
464
-
465
- </dt>
466
- <dd>
467
-
468
-
469
- <div class="description">
470
- Updates user attributes.
471
- </div>
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
-
480
- <h5>Parameters:</h5>
481
-
482
-
483
- <table class="params table table-striped">
484
- <thead>
485
- <tr>
486
-
487
- <th>Name</th>
488
-
489
-
490
- <th>Type</th>
491
-
492
-
493
-
494
-
495
-
496
- <th class="last">Description</th>
497
- </tr>
498
- </thead>
499
-
500
- <tbody>
501
-
502
-
503
- <tr>
504
-
505
- <td class="name"><code>attributes</code></td>
506
-
507
-
508
- <td class="type">
509
-
510
-
511
- <span class="param-type">any</span>
512
-
513
-
514
-
515
-
516
- </td>
517
-
518
-
519
-
520
-
521
-
522
- <td class="description last">new attributes for User.</td>
523
- </tr>
524
-
525
-
526
- </tbody>
527
- </table>
528
-
529
-
530
-
531
-
532
- <dl class="details">
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
- </dl>
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
- <h5>Returns:</h5>
583
-
584
-
585
-
586
-
587
- <dl>
588
- <dt>
589
- Type
590
- </dt>
591
- <dd>
592
-
593
- <span class="param-type">Promise.&lt;<a href="User.html">User</a>&gt;</span>
594
-
595
-
596
-
597
- </dd>
598
- </dl>
599
-
600
-
601
-
602
-
603
-
604
- </dd>
605
-
606
-
607
-
608
- <hr>
609
- <dt>
610
- <h4 class="name" id="updateFriendlyName"><span class="type-signature"></span>updateFriendlyName(friendlyName)</h4>
611
-
612
-
613
- </dt>
614
- <dd>
615
-
616
-
617
- <div class="description">
618
- Update Users friendlyName.
619
- </div>
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
- <h5>Parameters:</h5>
629
-
630
-
631
- <table class="params table table-striped">
632
- <thead>
633
- <tr>
634
-
635
- <th>Name</th>
636
-
637
-
638
- <th>Type</th>
639
-
640
-
641
-
642
-
643
-
644
- <th class="last">Description</th>
645
- </tr>
646
- </thead>
647
-
648
- <tbody>
649
-
650
-
651
- <tr>
652
-
653
- <td class="name"><code>friendlyName</code></td>
654
-
655
-
656
- <td class="type">
657
-
658
-
659
- <span class="param-type">String</span>
660
- |
661
-
662
- <span class="param-type">null</span>
663
-
664
-
665
-
666
-
667
- </td>
668
-
669
-
670
-
671
-
672
-
673
- <td class="description last">Updated friendlyName</td>
674
- </tr>
675
-
676
-
677
- </tbody>
678
- </table>
679
-
680
-
681
-
682
-
683
- <dl class="details">
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
-
717
-
718
-
719
- </dl>
720
-
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
- <h5>Returns:</h5>
734
-
735
-
736
-
737
-
738
- <dl>
739
- <dt>
740
- Type
741
- </dt>
742
- <dd>
743
-
744
- <span class="param-type">Promise.&lt;<a href="User.html">User</a>&gt;</span>
745
-
746
-
747
-
748
- </dd>
749
- </dl>
750
-
751
-
752
-
753
-
754
-
755
- </dd>
756
-
757
- </dl>
758
-
759
-
760
-
761
- <h3 class="subsection-title">Type Definitions</h3>
762
-
763
- <dl>
764
-
765
- <hr>
766
- <dt class="name" id="UpdateReason">
767
- <h4 id="UpdateReason">UpdateReason</h4>
768
-
769
-
770
- </dt>
771
- <dd>
772
-
773
- <div class="description">
774
- The update reason for <code>updated</code> event emitted on User
775
- </div>
776
-
777
-
778
-
779
- <h5>Type:</h5>
780
- <ul>
781
- <li>
782
-
783
- <span class="param-type">&apos;friendlyName&apos;</span>
784
- |
785
-
786
- <span class="param-type">&apos;attributes&apos;</span>
787
- |
788
-
789
- <span class="param-type">&apos;reachabilityOnline&apos;</span>
790
- |
791
-
792
- <span class="param-type">&apos;reachabilityNotifiable&apos;</span>
793
-
794
-
795
-
796
- </li>
797
- </ul>
798
-
799
-
800
-
801
- <dl class="details">
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
-
816
-
817
-
818
-
819
-
820
-
821
-
822
-
823
-
824
-
825
-
826
-
827
-
828
-
829
-
830
-
831
-
832
-
833
-
834
-
835
-
836
-
837
- </dl>
838
-
839
-
840
-
841
- </dd>
842
-
843
- </dl>
844
-
845
-
846
-
847
- <h3 class="subsection-title">Events</h3>
848
-
849
- <dl>
850
-
851
- <hr>
852
- <dt>
853
- <h4 class="name" id="event:updated">updated</h4>
854
-
855
-
856
- </dt>
857
- <dd>
858
-
859
-
860
- <div class="description">
861
- Fired when User&apos;s properties or reachability status have been updated.
862
- </div>
863
-
864
-
865
-
866
-
867
-
868
- <h5>Type:
869
- <span class="param-type">Object</span>
870
-
871
-
872
- </h5>
873
-
874
-
875
-
876
-
877
-
878
-
879
- <dl class="details">
880
-
881
-
882
- <h5 class="subsection-title">Properties:</h5>
883
-
884
- <dl>
885
-
886
- <table class="props table table-striped">
887
- <thead>
888
- <tr>
889
-
890
- <th>Name</th>
891
-
892
-
893
- <th>Type</th>
894
-
895
-
896
-
897
-
898
-
899
- <th class="last">Description</th>
900
- </tr>
901
- </thead>
902
-
903
- <tbody>
904
-
905
-
906
- <tr>
907
-
908
- <td class="name"><code>user</code></td>
909
-
910
-
911
- <td class="type">
912
-
913
-
914
- <span class="param-type"><a href="User.html">User</a></span>
915
-
916
-
917
-
918
-
919
- </td>
920
-
921
-
922
-
923
-
924
-
925
- <td class="description last">Updated User</td>
926
- </tr>
927
-
928
-
929
-
930
- <tr>
931
-
932
- <td class="name"><code>updateReasons</code></td>
933
-
934
-
935
- <td class="type">
936
-
937
-
938
- <span class="param-type">Array.&lt;<a href="User.html#UpdateReason">User#UpdateReason</a>&gt;</span>
939
-
940
-
941
-
942
-
943
- </td>
944
-
945
-
946
-
947
-
948
-
949
- <td class="description last">Array of User&apos;s updated event reasons</td>
950
- </tr>
951
-
952
-
953
- </tbody>
954
- </table>
955
- </dl>
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
-
971
-
972
-
973
-
974
-
975
-
976
-
977
-
978
-
979
-
980
-
981
-
982
-
983
-
984
-
985
-
986
-
987
-
988
-
989
-
990
-
991
-
992
- </dl>
993
-
994
-
995
-
996
-
997
-
998
-
999
-
1000
-
1001
-
1002
-
1003
-
1004
-
1005
-
1006
-
1007
-
1008
- </dd>
1009
-
1010
-
1011
-
1012
- <hr>
1013
- <dt>
1014
- <h4 class="name" id="event:userSubscribed">userSubscribed</h4>
1015
-
1016
-
1017
- </dt>
1018
- <dd>
1019
-
1020
-
1021
- <div class="description">
1022
- Fired when Client is subscribed to User.
1023
- </div>
1024
-
1025
-
1026
-
1027
-
1028
-
1029
- <h5>Type:
1030
- <span class="param-type"><a href="User.html">User</a></span>
1031
-
1032
-
1033
- </h5>
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
- <dl class="details">
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
-
1054
-
1055
-
1056
-
1057
-
1058
-
1059
-
1060
-
1061
-
1062
-
1063
-
1064
-
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
-
1072
-
1073
-
1074
-
1075
-
1076
- </dl>
1077
-
1078
-
1079
-
1080
-
1081
-
1082
-
1083
-
1084
-
1085
-
1086
-
1087
-
1088
-
1089
-
1090
-
1091
-
1092
- </dd>
1093
-
1094
-
1095
-
1096
- <hr>
1097
- <dt>
1098
- <h4 class="name" id="event:userUnsubscribed">userUnsubscribed</h4>
1099
-
1100
-
1101
- </dt>
1102
- <dd>
1103
-
1104
-
1105
- <div class="description">
1106
- Fired when Client is unsubscribed from this User.
1107
- </div>
1108
-
1109
-
1110
-
1111
-
1112
-
1113
- <h5>Type:
1114
- <span class="param-type"><a href="User.html">User</a></span>
1115
-
1116
-
1117
- </h5>
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
- <dl class="details">
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
-
1148
-
1149
-
1150
-
1151
-
1152
-
1153
-
1154
-
1155
-
1156
-
1157
-
1158
-
1159
-
1160
- </dl>
1161
-
1162
-
1163
-
1164
-
1165
-
1166
-
1167
-
1168
-
1169
-
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
- </dd>
1177
-
1178
- </dl>
1179
-
1180
- </article>
1181
-
1182
- </section>
1183
-
1184
-
1185
-
1186
-
1187
- </div>
1188
- </div>
1189
-
1190
- <div class="clearfix"></div>
1191
-
1192
-
1193
- <div class="col-md-3">
1194
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
1195
- </div>
1196
-
1197
-
1198
- </div>
1199
- </div>
1200
-
1201
-
1202
- <div class="modal fade" id="searchResults">
1203
- <div class="modal-dialog">
1204
- <div class="modal-content">
1205
- <div class="modal-header">
1206
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&#xD7;</span></button>
1207
- <h4 class="modal-title">Search results</h4>
1208
- </div>
1209
- <div class="modal-body"></div>
1210
- <div class="modal-footer">
1211
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
1212
- </div>
1213
- </div><!-- /.modal-content -->
1214
- </div><!-- /.modal-dialog -->
1215
- </div>
1216
-
1217
-
1218
- <footer>
1219
-
1220
-
1221
- <span class="jsdoc-message">
1222
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
1223
-
1224
- on 2021-06-30T16:21:28+00:00
1225
-
1226
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
1227
- </span>
1228
- </footer>
1229
-
1230
- <script src="scripts/docstrap.lib.js"></script>
1231
- <script src="scripts/toc.js"></script>
1232
-
1233
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
1234
-
1235
-
1236
- <script>
1237
- $( function () {
1238
- $( "[id*='$']" ).each( function () {
1239
- var $this = $( this );
1240
-
1241
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
1242
- } );
1243
-
1244
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
1245
- var $this = $( this );
1246
-
1247
- var example = $this.find( "code" );
1248
- exampleText = example.html();
1249
- var lang = /{@lang (.*?)}/.exec( exampleText );
1250
- if ( lang && lang[1] ) {
1251
- exampleText = exampleText.replace( lang[0], "" );
1252
- example.html( exampleText );
1253
- lang = lang[1];
1254
- } else {
1255
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
1256
- lang = langClassMatch ? langClassMatch[1] : "javascript";
1257
- }
1258
-
1259
- if ( lang ) {
1260
-
1261
- $this
1262
- .addClass( "sunlight-highlight-" + lang )
1263
- .addClass( "linenums" )
1264
- .html( example.html() );
1265
-
1266
- }
1267
- } );
1268
-
1269
- Sunlight.highlightAll( {
1270
- lineNumbers : false,
1271
- showMenu : true,
1272
- enableDoclinks : true
1273
- } );
1274
-
1275
- $.catchAnchorLinks( {
1276
- navbarOffset: 10
1277
- } );
1278
- $( "#toc" ).toc( {
1279
- anchorName : function ( i, heading, prefix ) {
1280
- return $( heading ).attr( "id" ) || ( prefix + i );
1281
- },
1282
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
1283
- showAndHide : false,
1284
- smoothScrolling: true
1285
- } );
1286
-
1287
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
1288
- $( '.dropdown-toggle' ).dropdown();
1289
-
1290
- $( "table" ).each( function () {
1291
- var $this = $( this );
1292
- $this.addClass('table');
1293
- } );
1294
-
1295
- } );
1296
- </script>
1297
-
1298
-
1299
-
1300
- <!--Navigation and Symbol Display-->
1301
-
1302
-
1303
- <!--Google Analytics-->
1304
-
1305
-
1306
-
1307
- <script type="text/javascript">
1308
- $(document).ready(function() {
1309
- SearcherDisplay.init();
1310
- });
1311
- </script>
1312
-
1313
-
1314
-
1315
- </body></html>