@twilio/conversations 2.1.0-rc.7 → 2.1.0

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.
package/builds/lib.d.ts CHANGED
@@ -55,11 +55,29 @@ declare class Logger {
55
55
  static warn(...args: any[]): void;
56
56
  static error(...args: any[]): void;
57
57
  }
58
+ /**
59
+ * Represents conversation limits.
60
+ */
58
61
  interface ConversationLimits {
62
+ /**
63
+ * Maximum amount of attachments.
64
+ */
59
65
  mediaAttachmentsCountLimit: number;
66
+ /**
67
+ * Maximum attachment size in MB.
68
+ */
60
69
  mediaAttachmentSizeLimitInMb: number;
70
+ /**
71
+ * Maximum total attachment size in MB.
72
+ */
61
73
  mediaAttachmentsTotalSizeLimitInMb: number;
74
+ /**
75
+ * Allowed mime types for E-Mail histories.
76
+ */
62
77
  emailHistoriesAllowedMimeTypes: string[];
78
+ /**
79
+ * Allowed mime types for E-Mail bodies.
80
+ */
63
81
  emailBodiesAllowedMimeTypes: string[];
64
82
  }
65
83
  interface BackoffConfiguration {
@@ -1477,6 +1495,9 @@ declare class Conversation extends ReplayEventEmitter<ConversationEvents> {
1477
1495
  */
1478
1496
  get notificationLevel(): NotificationLevel;
1479
1497
  get bindings(): ConversationBindings;
1498
+ /**
1499
+ * Current conversation limits.
1500
+ */
1480
1501
  get limits(): ConversationLimits;
1481
1502
  /**
1482
1503
  * State of the conversation.
package/builds/lib.js CHANGED
@@ -4170,6 +4170,10 @@ var Conversation = /*#__PURE__*/function (_ReplayEventEmitter) {
4170
4170
  get: function get() {
4171
4171
  return this.channelState.bindings;
4172
4172
  }
4173
+ /**
4174
+ * Current conversation limits.
4175
+ */
4176
+
4173
4177
  }, {
4174
4178
  key: "limits",
4175
4179
  get: function get() {
@@ -6856,7 +6860,7 @@ function PushNotification(data) {
6856
6860
  this.data = data.data || {};
6857
6861
  };
6858
6862
 
6859
- var version = "2.1.0-rc.7";
6863
+ var version = "2.1.0";
6860
6864
 
6861
6865
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
6862
6866