@vonage/client-sdk 1.2.0-alpha.4 → 1.2.0-alpha.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.
@@ -42,20 +42,6 @@ export type MemberLeftEvent = {
42
42
  kind: 'member:left';
43
43
  from: From;
44
44
  } & vonage.MemberLeftEventJS;
45
- /**
46
- * A UnknownEvent is a ConversationEvent with a type of 'unknown'
47
- *
48
- * @property type the type property of the UnknownEvent
49
- * @property id the id property of the UnknownEvent
50
- * @property timestamp the timestamp property of the UnknownEvent
51
- * @property conversationId the conversationId property of the UnknownEvent
52
- * @property from the from property of the UnknownEvent
53
- * @interface
54
- */
55
- export type UnknownEvent = {
56
- kind: 'unknown';
57
- from: From;
58
- } & vonage.UnknownEventJS;
59
45
  /**
60
46
  * A TextMessageEvent is a ConversationEvent with a type of 'message:text'
61
47
  *
@@ -182,4 +168,4 @@ export type TemplateMessageEvent = {
182
168
  kind: 'message:template';
183
169
  from: From;
184
170
  } & vonage.TemplateMessageEventJS;
185
- export type ConversationEvent = MemberInvitedEvent | MemberJoinedEvent | MemberLeftEvent | UnknownEvent | TextMessageEvent | CustomMessageEvent | AudioMessageEvent | VideoMessageEvent | ImageMessageEvent | FileMessageEvent | VCardMessageEvent | LocationMessageEvent | TemplateMessageEvent;
171
+ export type ConversationEvent = MemberInvitedEvent | MemberJoinedEvent | MemberLeftEvent | TextMessageEvent | CustomMessageEvent | AudioMessageEvent | VideoMessageEvent | ImageMessageEvent | FileMessageEvent | VCardMessageEvent | LocationMessageEvent | TemplateMessageEvent;
@@ -124,15 +124,6 @@ export namespace vonage {
124
124
  get body(): vonage.MemberEventBodyJS;
125
125
  readonly __doNotUseIt: __doNotImplementIt;
126
126
  }
127
- class UnknownEventJS implements vonage.ConversationEventJS {
128
- private constructor();
129
- get type(): string;
130
- get id(): Nullable<number>;
131
- get timestamp(): string;
132
- get conversationId(): string;
133
- get from(): vonage.FromJS;
134
- readonly __doNotUseIt: __doNotImplementIt;
135
- }
136
127
  }
137
128
  export namespace vonage {
138
129
  interface MessageEventJS extends vonage.ConversationEventJS {