@twilio/conversations 2.0.1-rc.9 → 2.1.0-rc.5

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 (88) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/NOTICE.txt +679 -0
  3. package/builds/browser.js +892 -619
  4. package/builds/browser.js.map +1 -1
  5. package/builds/lib.d.ts +371 -124
  6. package/builds/lib.js +892 -619
  7. package/builds/lib.js.map +1 -1
  8. package/builds/twilio-conversations.js +1067 -939
  9. package/builds/twilio-conversations.min.js +2 -14
  10. package/dist/aggregated-delivery-receipt.js +6 -1
  11. package/dist/aggregated-delivery-receipt.js.map +1 -1
  12. package/dist/client.js +165 -142
  13. package/dist/client.js.map +1 -1
  14. package/dist/command-executor.js +16 -14
  15. package/dist/command-executor.js.map +1 -1
  16. package/dist/configuration.js +14 -10
  17. package/dist/configuration.js.map +1 -1
  18. package/dist/conversation.js +232 -159
  19. package/dist/conversation.js.map +1 -1
  20. package/dist/data/conversations.js +82 -78
  21. package/dist/data/conversations.js.map +1 -1
  22. package/dist/data/messages.js +43 -39
  23. package/dist/data/messages.js.map +1 -1
  24. package/dist/data/participants.js +100 -78
  25. package/dist/data/participants.js.map +1 -1
  26. package/dist/data/users.js +24 -22
  27. package/dist/data/users.js.map +1 -1
  28. package/dist/detailed-delivery-receipt.js +1 -1
  29. package/dist/detailed-delivery-receipt.js.map +1 -1
  30. package/dist/index.js +1 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/interfaces/attributes.js +147 -0
  33. package/dist/interfaces/attributes.js.map +1 -0
  34. package/dist/interfaces/notification-types.js +5 -5
  35. package/dist/interfaces/notification-types.js.map +1 -1
  36. package/dist/logger.js +36 -15
  37. package/dist/logger.js.map +1 -1
  38. package/dist/media.js +21 -9
  39. package/dist/media.js.map +1 -1
  40. package/dist/message-builder.js +56 -3
  41. package/dist/message-builder.js.map +1 -1
  42. package/dist/message.js +158 -78
  43. package/dist/message.js.map +1 -1
  44. package/dist/packages/conversations/package.json.js +1 -1
  45. package/dist/participant.js +101 -50
  46. package/dist/participant.js.map +1 -1
  47. package/dist/push-notification.js.map +1 -1
  48. package/dist/rest-paginator.js +16 -6
  49. package/dist/rest-paginator.js.map +1 -1
  50. package/dist/services/network.js +18 -14
  51. package/dist/services/network.js.map +1 -1
  52. package/dist/services/typing-indicator.js +20 -17
  53. package/dist/services/typing-indicator.js.map +1 -1
  54. package/dist/unsent-message.js.map +1 -1
  55. package/dist/user.js +87 -60
  56. package/dist/user.js.map +1 -1
  57. package/dist/util/deferred.js +3 -1
  58. package/dist/util/deferred.js.map +1 -1
  59. package/dist/util/index.js +6 -6
  60. package/dist/util/index.js.map +1 -1
  61. package/docs/assets/js/search.js +1 -1
  62. package/docs/classes/AggregatedDeliveryReceipt.html +15 -0
  63. package/docs/classes/Client.html +39 -30
  64. package/docs/classes/Conversation.html +52 -30
  65. package/docs/classes/DetailedDeliveryReceipt.html +16 -1
  66. package/docs/classes/Media.html +15 -0
  67. package/docs/classes/Message.html +88 -7
  68. package/docs/classes/MessageBuilder.html +93 -2
  69. package/docs/classes/Participant.html +52 -8
  70. package/docs/classes/PushNotification.html +15 -0
  71. package/docs/classes/RestPaginator.html +15 -0
  72. package/docs/classes/UnsentMessage.html +15 -0
  73. package/docs/classes/User.html +22 -7
  74. package/docs/index.html +37 -3
  75. package/docs/interfaces/ClientOptions.html +15 -0
  76. package/docs/interfaces/ConversationBindings.html +3118 -0
  77. package/docs/interfaces/ConversationEmailBinding.html +3118 -0
  78. package/docs/interfaces/ConversationState.html +15 -0
  79. package/docs/interfaces/CreateConversationOptions.html +16 -1
  80. package/docs/interfaces/LastMessage.html +15 -0
  81. package/docs/interfaces/Paginator.html +15 -0
  82. package/docs/interfaces/ParticipantBindings.html +3118 -0
  83. package/docs/interfaces/ParticipantEmailBinding.html +3118 -0
  84. package/docs/interfaces/PushNotificationData.html +15 -0
  85. package/docs/interfaces/SendEmailOptions.html +15 -0
  86. package/docs/interfaces/SendMediaOptions.html +15 -0
  87. package/docs/modules.html +37 -3
  88. package/package.json +24 -18
package/CHANGELOG.md CHANGED
@@ -3,6 +3,80 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.0-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.4...@twilio/conversations@2.1.0-rc.5) (2022-01-31)
7
+
8
+ **Note:** Version bump only for package @twilio/conversations
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.1.0-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.2...@twilio/conversations@2.1.0-rc.4) (2022-01-31)
15
+
16
+ **Note:** Version bump only for package @twilio/conversations
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.1.0-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.2...@twilio/conversations@2.1.0-rc.3) (2022-01-31)
23
+
24
+ **Note:** Version bump only for package @twilio/conversations
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.1.0-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.1...@twilio/conversations@2.1.0-rc.2) (2022-01-28)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * Fix media SID attachment ([e260ea7](https://github.com/twilio/rtd-sdk-monorepo-js/commit/e260ea7963328450043cbd4ade76cb9f230e1240))
36
+ * Fix type error ([460557d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/460557db8551d70a17e653fc92eb034ea36d3f5d))
37
+
38
+
39
+
40
+ ## [2.1.0-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.0...@twilio/conversations@2.1.0-rc.1) (2021-11-25)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * Fix last read message index not getting properly resolved in events ([97ea57f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/97ea57f8a8dc76521601ced925237b64044d558a))
46
+
47
+
48
+
49
+ ## [2.1.0-rc.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.10...@twilio/conversations@2.1.0-rc.0) (2021-11-19)
50
+
51
+
52
+ ### Features
53
+
54
+ * Add bindings to Participant & Conversation ([56afcc3](https://github.com/twilio/rtd-sdk-monorepo-js/commit/56afcc38020f024e0ec952117cb5dcc6e4f61e92))
55
+ * Add email body and history accessors ([be2de67](https://github.com/twilio/rtd-sdk-monorepo-js/commit/be2de674c5215a3054665756c85a22e35d145f58))
56
+ * Update MessageBuilder to support email payload ([ee0d00a](https://github.com/twilio/rtd-sdk-monorepo-js/commit/ee0d00a8c7e1dea478000731018c89fd2b8eb6c2))
57
+ * Use shared attributesValidator ([6d2a13f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6d2a13f87e9ad445399e5615a2eb6e4fe8b9518e))
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * Fix bindings update always coming in participantUpdated reasons ([70f554d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/70f554d3b81e3f662abc4e9a573aec6028c24c9d))
63
+ * Fix docs and signatures for single media. ([99d3512](https://github.com/twilio/rtd-sdk-monorepo-js/commit/99d3512ef5c382fe19346f0ebefe8902e332abad))
64
+ * Improve validator for attachTemporaryUrlsFor ([3e9f199](https://github.com/twilio/rtd-sdk-monorepo-js/commit/3e9f199464b4891b2d114ebdc71bcbe8c2fefd76))
65
+ * Invalid access when no email media attached ([6b1a40d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6b1a40de5a477b8047362074673788ee5ee45732))
66
+ * Prevent use of FormData in non-browser environment ([eaa2ba4](https://github.com/twilio/rtd-sdk-monorepo-js/commit/eaa2ba495506508ac531a257d78696d297581a64))
67
+ * Remove old conflicts ([2c505e7](https://github.com/twilio/rtd-sdk-monorepo-js/commit/2c505e76e054274ac3dd4352b2c951189311d67b))
68
+
69
+
70
+
71
+ ### [2.0.1-rc.10](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.9...@twilio/conversations@2.0.1-rc.10) (2021-11-16)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * Fix import isomorphic form data to conversations ([22d0712](https://github.com/twilio/rtd-sdk-monorepo-js/commit/22d0712e50b74690788642382a5f9d091d9c349d))
77
+
78
+
79
+
6
80
  ### [2.0.1-rc.9](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.8...@twilio/conversations@2.0.1-rc.9) (2021-11-12)
7
81
 
8
82
  **Note:** Version bump only for package @twilio/conversations