@wildix/xbees-conversations-client 1.0.42 → 1.0.43

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.FileNotFoundException = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MessageType = exports.MessageSmsStatus = exports.FileNotFoundException = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const ConversationsServiceException_1 = require("./ConversationsServiceException");
5
5
  class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
6
6
  constructor(opts) {
@@ -75,9 +75,6 @@ exports.ChannelContextEventAttendeeStatus = {
75
75
  exports.ChannelContextSource = {
76
76
  KITE: "kite",
77
77
  };
78
- exports.ChannelWhatsAppStatus = {
79
- CHANNEL_CLOSED: "24h_channel_closed",
80
- };
81
78
  class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
82
79
  constructor(opts) {
83
80
  super({
@@ -154,12 +151,6 @@ exports.MessageSmsStatus = {
154
151
  exports.MessageType = {
155
152
  REGULAR: "regular",
156
153
  };
157
- exports.MessageWhatsAppStatus = {
158
- DELIVERED: "delivered",
159
- ERROR: "error",
160
- SENT: "sent",
161
- TRYING: "trying",
162
- };
163
154
  exports.GroupChannelUnsetOptions = {
164
155
  ACCESS: "access",
165
156
  BROADCAST: "broadcast",
@@ -68,9 +68,6 @@ export const ChannelContextEventAttendeeStatus = {
68
68
  export const ChannelContextSource = {
69
69
  KITE: "kite",
70
70
  };
71
- export const ChannelWhatsAppStatus = {
72
- CHANNEL_CLOSED: "24h_channel_closed",
73
- };
74
71
  export class ChannelAlreadyExistException extends __BaseException {
75
72
  constructor(opts) {
76
73
  super({
@@ -143,12 +140,6 @@ export const MessageSmsStatus = {
143
140
  export const MessageType = {
144
141
  REGULAR: "regular",
145
142
  };
146
- export const MessageWhatsAppStatus = {
147
- DELIVERED: "delivered",
148
- ERROR: "error",
149
- SENT: "sent",
150
- TRYING: "trying",
151
- };
152
143
  export const GroupChannelUnsetOptions = {
153
144
  ACCESS: "access",
154
145
  BROADCAST: "broadcast",
@@ -63,6 +63,7 @@ declare const AddChannelMemberCommand_base: {
63
63
  * // locale: "STRING_VALUE",
64
64
  * // timeZone: "STRING_VALUE",
65
65
  * // company: "STRING_VALUE",
66
+ * // bot: true || false,
66
67
  * // pbxDomain: "STRING_VALUE",
67
68
  * // pbxPort: "STRING_VALUE",
68
69
  * // pbxExtension: "STRING_VALUE",
@@ -70,6 +70,7 @@ declare const AddChannelMembersCommand_base: {
70
70
  * // locale: "STRING_VALUE",
71
71
  * // timeZone: "STRING_VALUE",
72
72
  * // company: "STRING_VALUE",
73
+ * // bot: true || false,
73
74
  * // pbxDomain: "STRING_VALUE",
74
75
  * // pbxPort: "STRING_VALUE",
75
76
  * // pbxExtension: "STRING_VALUE",
@@ -103,6 +103,7 @@ declare const CreateGroupChannelCommand_base: {
103
103
  * // locale: "STRING_VALUE",
104
104
  * // timeZone: "STRING_VALUE",
105
105
  * // company: "STRING_VALUE",
106
+ * // bot: true || false,
106
107
  * // pbxDomain: "STRING_VALUE",
107
108
  * // pbxPort: "STRING_VALUE",
108
109
  * // pbxExtension: "STRING_VALUE",
@@ -114,8 +115,6 @@ declare const CreateGroupChannelCommand_base: {
114
115
  * // telephony: true || false,
115
116
  * // sms: true || false,
116
117
  * // mms: true || false,
117
- * // whatsapp: true || false,
118
- * // whatsappStatus: "24h_channel_closed",
119
118
  * // broadcast: true || false,
120
119
  * // external: true || false,
121
120
  * // channelId: "STRING_VALUE", // required
@@ -85,6 +85,7 @@ declare const GetChannelCommand_base: {
85
85
  * // locale: "STRING_VALUE",
86
86
  * // timeZone: "STRING_VALUE",
87
87
  * // company: "STRING_VALUE",
88
+ * // bot: true || false,
88
89
  * // pbxDomain: "STRING_VALUE",
89
90
  * // pbxPort: "STRING_VALUE",
90
91
  * // pbxExtension: "STRING_VALUE",
@@ -96,8 +97,6 @@ declare const GetChannelCommand_base: {
96
97
  * // telephony: true || false,
97
98
  * // sms: true || false,
98
99
  * // mms: true || false,
99
- * // whatsapp: true || false,
100
- * // whatsappStatus: "24h_channel_closed",
101
100
  * // broadcast: true || false,
102
101
  * // external: true || false,
103
102
  * // channelId: "STRING_VALUE", // required
@@ -55,6 +55,7 @@ declare const GetChannelMemberCommand_base: {
55
55
  * // locale: "STRING_VALUE",
56
56
  * // timeZone: "STRING_VALUE",
57
57
  * // company: "STRING_VALUE",
58
+ * // bot: true || false,
58
59
  * // pbxDomain: "STRING_VALUE",
59
60
  * // pbxPort: "STRING_VALUE",
60
61
  * // pbxExtension: "STRING_VALUE",
@@ -67,6 +67,7 @@ declare const GetMessageCommand_base: {
67
67
  * // locale: "STRING_VALUE",
68
68
  * // timeZone: "STRING_VALUE",
69
69
  * // company: "STRING_VALUE",
70
+ * // bot: true || false,
70
71
  * // pbxDomain: "STRING_VALUE",
71
72
  * // pbxPort: "STRING_VALUE",
72
73
  * // pbxExtension: "STRING_VALUE",
@@ -104,6 +105,7 @@ declare const GetMessageCommand_base: {
104
105
  * // locale: "STRING_VALUE",
105
106
  * // timeZone: "STRING_VALUE",
106
107
  * // company: "STRING_VALUE",
108
+ * // bot: true || false,
107
109
  * // pbxDomain: "STRING_VALUE",
108
110
  * // pbxPort: "STRING_VALUE",
109
111
  * // pbxExtension: "STRING_VALUE",
@@ -141,8 +143,6 @@ declare const GetMessageCommand_base: {
141
143
  * // event: "STRING_VALUE",
142
144
  * // sms: true || false,
143
145
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
144
- * // whatsapp: true || false,
145
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
146
146
  * // messageId: "STRING_VALUE", // required
147
147
  * // channelId: "STRING_VALUE", // required
148
148
  * // user: "<User>", // required
@@ -92,6 +92,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
92
92
  * // locale: "STRING_VALUE",
93
93
  * // timeZone: "STRING_VALUE",
94
94
  * // company: "STRING_VALUE",
95
+ * // bot: true || false,
95
96
  * // pbxDomain: "STRING_VALUE",
96
97
  * // pbxPort: "STRING_VALUE",
97
98
  * // pbxExtension: "STRING_VALUE",
@@ -103,8 +104,6 @@ declare const GetOrCreateDirectChannelCommand_base: {
103
104
  * // telephony: true || false,
104
105
  * // sms: true || false,
105
106
  * // mms: true || false,
106
- * // whatsapp: true || false,
107
- * // whatsappStatus: "24h_channel_closed",
108
107
  * // broadcast: true || false,
109
108
  * // external: true || false,
110
109
  * // channelId: "STRING_VALUE", // required
@@ -57,6 +57,7 @@ declare const InviteCommand_base: {
57
57
  * // locale: "STRING_VALUE",
58
58
  * // timeZone: "STRING_VALUE",
59
59
  * // company: "STRING_VALUE",
60
+ * // bot: true || false,
60
61
  * // pbxDomain: "STRING_VALUE",
61
62
  * // pbxPort: "STRING_VALUE",
62
63
  * // pbxExtension: "STRING_VALUE",
@@ -87,6 +87,7 @@ declare const JoinChannelCommand_base: {
87
87
  * // locale: "STRING_VALUE",
88
88
  * // timeZone: "STRING_VALUE",
89
89
  * // company: "STRING_VALUE",
90
+ * // bot: true || false,
90
91
  * // pbxDomain: "STRING_VALUE",
91
92
  * // pbxPort: "STRING_VALUE",
92
93
  * // pbxExtension: "STRING_VALUE",
@@ -98,8 +99,6 @@ declare const JoinChannelCommand_base: {
98
99
  * // telephony: true || false,
99
100
  * // sms: true || false,
100
101
  * // mms: true || false,
101
- * // whatsapp: true || false,
102
- * // whatsappStatus: "24h_channel_closed",
103
102
  * // broadcast: true || false,
104
103
  * // external: true || false,
105
104
  * // channelId: "STRING_VALUE", // required
@@ -59,6 +59,7 @@ declare const ListChannelMembersCommand_base: {
59
59
  * // locale: "STRING_VALUE",
60
60
  * // timeZone: "STRING_VALUE",
61
61
  * // company: "STRING_VALUE",
62
+ * // bot: true || false,
62
63
  * // pbxDomain: "STRING_VALUE",
63
64
  * // pbxPort: "STRING_VALUE",
64
65
  * // pbxExtension: "STRING_VALUE",
@@ -88,6 +88,7 @@ declare const ListChannelsCommand_base: {
88
88
  * // locale: "STRING_VALUE",
89
89
  * // timeZone: "STRING_VALUE",
90
90
  * // company: "STRING_VALUE",
91
+ * // bot: true || false,
91
92
  * // pbxDomain: "STRING_VALUE",
92
93
  * // pbxPort: "STRING_VALUE",
93
94
  * // pbxExtension: "STRING_VALUE",
@@ -99,8 +100,6 @@ declare const ListChannelsCommand_base: {
99
100
  * // telephony: true || false,
100
101
  * // sms: true || false,
101
102
  * // mms: true || false,
102
- * // whatsapp: true || false,
103
- * // whatsappStatus: "24h_channel_closed",
104
103
  * // broadcast: true || false,
105
104
  * // external: true || false,
106
105
  * // channelId: "STRING_VALUE", // required
@@ -57,6 +57,7 @@ declare const ListMessageReactionsCommand_base: {
57
57
  * // locale: "STRING_VALUE",
58
58
  * // timeZone: "STRING_VALUE",
59
59
  * // company: "STRING_VALUE",
60
+ * // bot: true || false,
60
61
  * // pbxDomain: "STRING_VALUE",
61
62
  * // pbxPort: "STRING_VALUE",
62
63
  * // pbxExtension: "STRING_VALUE",
@@ -69,6 +69,7 @@ declare const ListMessagesCommand_base: {
69
69
  * // locale: "STRING_VALUE",
70
70
  * // timeZone: "STRING_VALUE",
71
71
  * // company: "STRING_VALUE",
72
+ * // bot: true || false,
72
73
  * // pbxDomain: "STRING_VALUE",
73
74
  * // pbxPort: "STRING_VALUE",
74
75
  * // pbxExtension: "STRING_VALUE",
@@ -106,6 +107,7 @@ declare const ListMessagesCommand_base: {
106
107
  * // locale: "STRING_VALUE",
107
108
  * // timeZone: "STRING_VALUE",
108
109
  * // company: "STRING_VALUE",
110
+ * // bot: true || false,
109
111
  * // pbxDomain: "STRING_VALUE",
110
112
  * // pbxPort: "STRING_VALUE",
111
113
  * // pbxExtension: "STRING_VALUE",
@@ -143,8 +145,6 @@ declare const ListMessagesCommand_base: {
143
145
  * // event: "STRING_VALUE",
144
146
  * // sms: true || false,
145
147
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
146
- * // whatsapp: true || false,
147
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
148
148
  * // messageId: "STRING_VALUE", // required
149
149
  * // channelId: "STRING_VALUE", // required
150
150
  * // user: "<User>", // required
@@ -98,6 +98,7 @@ declare const PartialUpdateChannelCommand_base: {
98
98
  * // locale: "STRING_VALUE",
99
99
  * // timeZone: "STRING_VALUE",
100
100
  * // company: "STRING_VALUE",
101
+ * // bot: true || false,
101
102
  * // pbxDomain: "STRING_VALUE",
102
103
  * // pbxPort: "STRING_VALUE",
103
104
  * // pbxExtension: "STRING_VALUE",
@@ -109,8 +110,6 @@ declare const PartialUpdateChannelCommand_base: {
109
110
  * // telephony: true || false,
110
111
  * // sms: true || false,
111
112
  * // mms: true || false,
112
- * // whatsapp: true || false,
113
- * // whatsappStatus: "24h_channel_closed",
114
113
  * // broadcast: true || false,
115
114
  * // external: true || false,
116
115
  * // channelId: "STRING_VALUE", // required
@@ -63,6 +63,7 @@ declare const PartialUpdateMessageCommand_base: {
63
63
  * locale: "STRING_VALUE",
64
64
  * timeZone: "STRING_VALUE",
65
65
  * company: "STRING_VALUE",
66
+ * bot: true || false,
66
67
  * pbxDomain: "STRING_VALUE",
67
68
  * pbxPort: "STRING_VALUE",
68
69
  * pbxExtension: "STRING_VALUE",
@@ -100,6 +101,7 @@ declare const PartialUpdateMessageCommand_base: {
100
101
  * locale: "STRING_VALUE",
101
102
  * timeZone: "STRING_VALUE",
102
103
  * company: "STRING_VALUE",
104
+ * bot: true || false,
103
105
  * pbxDomain: "STRING_VALUE",
104
106
  * pbxPort: "STRING_VALUE",
105
107
  * pbxExtension: "STRING_VALUE",
@@ -159,6 +161,7 @@ declare const PartialUpdateMessageCommand_base: {
159
161
  * // locale: "STRING_VALUE",
160
162
  * // timeZone: "STRING_VALUE",
161
163
  * // company: "STRING_VALUE",
164
+ * // bot: true || false,
162
165
  * // pbxDomain: "STRING_VALUE",
163
166
  * // pbxPort: "STRING_VALUE",
164
167
  * // pbxExtension: "STRING_VALUE",
@@ -196,6 +199,7 @@ declare const PartialUpdateMessageCommand_base: {
196
199
  * // locale: "STRING_VALUE",
197
200
  * // timeZone: "STRING_VALUE",
198
201
  * // company: "STRING_VALUE",
202
+ * // bot: true || false,
199
203
  * // pbxDomain: "STRING_VALUE",
200
204
  * // pbxPort: "STRING_VALUE",
201
205
  * // pbxExtension: "STRING_VALUE",
@@ -233,8 +237,6 @@ declare const PartialUpdateMessageCommand_base: {
233
237
  * // event: "STRING_VALUE",
234
238
  * // sms: true || false,
235
239
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
236
- * // whatsapp: true || false,
237
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
238
240
  * // messageId: "STRING_VALUE", // required
239
241
  * // channelId: "STRING_VALUE", // required
240
242
  * // user: "<User>", // required
@@ -75,6 +75,7 @@ declare const SendGiphyCommand_base: {
75
75
  * // locale: "STRING_VALUE",
76
76
  * // timeZone: "STRING_VALUE",
77
77
  * // company: "STRING_VALUE",
78
+ * // bot: true || false,
78
79
  * // pbxDomain: "STRING_VALUE",
79
80
  * // pbxPort: "STRING_VALUE",
80
81
  * // pbxExtension: "STRING_VALUE",
@@ -112,6 +113,7 @@ declare const SendGiphyCommand_base: {
112
113
  * // locale: "STRING_VALUE",
113
114
  * // timeZone: "STRING_VALUE",
114
115
  * // company: "STRING_VALUE",
116
+ * // bot: true || false,
115
117
  * // pbxDomain: "STRING_VALUE",
116
118
  * // pbxPort: "STRING_VALUE",
117
119
  * // pbxExtension: "STRING_VALUE",
@@ -149,8 +151,6 @@ declare const SendGiphyCommand_base: {
149
151
  * // event: "STRING_VALUE",
150
152
  * // sms: true || false,
151
153
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
152
- * // whatsapp: true || false,
153
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
154
154
  * // messageId: "STRING_VALUE", // required
155
155
  * // channelId: "STRING_VALUE", // required
156
156
  * // user: "<User>", // required
@@ -60,6 +60,7 @@ declare const SendMessageCommand_base: {
60
60
  * locale: "STRING_VALUE",
61
61
  * timeZone: "STRING_VALUE",
62
62
  * company: "STRING_VALUE",
63
+ * bot: true || false,
63
64
  * pbxDomain: "STRING_VALUE",
64
65
  * pbxPort: "STRING_VALUE",
65
66
  * pbxExtension: "STRING_VALUE",
@@ -97,6 +98,7 @@ declare const SendMessageCommand_base: {
97
98
  * locale: "STRING_VALUE",
98
99
  * timeZone: "STRING_VALUE",
99
100
  * company: "STRING_VALUE",
101
+ * bot: true || false,
100
102
  * pbxDomain: "STRING_VALUE",
101
103
  * pbxPort: "STRING_VALUE",
102
104
  * pbxExtension: "STRING_VALUE",
@@ -158,6 +160,7 @@ declare const SendMessageCommand_base: {
158
160
  * // locale: "STRING_VALUE",
159
161
  * // timeZone: "STRING_VALUE",
160
162
  * // company: "STRING_VALUE",
163
+ * // bot: true || false,
161
164
  * // pbxDomain: "STRING_VALUE",
162
165
  * // pbxPort: "STRING_VALUE",
163
166
  * // pbxExtension: "STRING_VALUE",
@@ -195,6 +198,7 @@ declare const SendMessageCommand_base: {
195
198
  * // locale: "STRING_VALUE",
196
199
  * // timeZone: "STRING_VALUE",
197
200
  * // company: "STRING_VALUE",
201
+ * // bot: true || false,
198
202
  * // pbxDomain: "STRING_VALUE",
199
203
  * // pbxPort: "STRING_VALUE",
200
204
  * // pbxExtension: "STRING_VALUE",
@@ -232,8 +236,6 @@ declare const SendMessageCommand_base: {
232
236
  * // event: "STRING_VALUE",
233
237
  * // sms: true || false,
234
238
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
235
- * // whatsapp: true || false,
236
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
237
239
  * // messageId: "STRING_VALUE", // required
238
240
  * // channelId: "STRING_VALUE", // required
239
241
  * // user: "<User>", // required
@@ -93,6 +93,7 @@ declare const UpdateChannelCommand_base: {
93
93
  * // locale: "STRING_VALUE",
94
94
  * // timeZone: "STRING_VALUE",
95
95
  * // company: "STRING_VALUE",
96
+ * // bot: true || false,
96
97
  * // pbxDomain: "STRING_VALUE",
97
98
  * // pbxPort: "STRING_VALUE",
98
99
  * // pbxExtension: "STRING_VALUE",
@@ -104,8 +105,6 @@ declare const UpdateChannelCommand_base: {
104
105
  * // telephony: true || false,
105
106
  * // sms: true || false,
106
107
  * // mms: true || false,
107
- * // whatsapp: true || false,
108
- * // whatsappStatus: "24h_channel_closed",
109
108
  * // broadcast: true || false,
110
109
  * // external: true || false,
111
110
  * // channelId: "STRING_VALUE", // required
@@ -60,6 +60,7 @@ declare const UpdateMessageCommand_base: {
60
60
  * locale: "STRING_VALUE",
61
61
  * timeZone: "STRING_VALUE",
62
62
  * company: "STRING_VALUE",
63
+ * bot: true || false,
63
64
  * pbxDomain: "STRING_VALUE",
64
65
  * pbxPort: "STRING_VALUE",
65
66
  * pbxExtension: "STRING_VALUE",
@@ -97,6 +98,7 @@ declare const UpdateMessageCommand_base: {
97
98
  * locale: "STRING_VALUE",
98
99
  * timeZone: "STRING_VALUE",
99
100
  * company: "STRING_VALUE",
101
+ * bot: true || false,
100
102
  * pbxDomain: "STRING_VALUE",
101
103
  * pbxPort: "STRING_VALUE",
102
104
  * pbxExtension: "STRING_VALUE",
@@ -157,6 +159,7 @@ declare const UpdateMessageCommand_base: {
157
159
  * // locale: "STRING_VALUE",
158
160
  * // timeZone: "STRING_VALUE",
159
161
  * // company: "STRING_VALUE",
162
+ * // bot: true || false,
160
163
  * // pbxDomain: "STRING_VALUE",
161
164
  * // pbxPort: "STRING_VALUE",
162
165
  * // pbxExtension: "STRING_VALUE",
@@ -194,6 +197,7 @@ declare const UpdateMessageCommand_base: {
194
197
  * // locale: "STRING_VALUE",
195
198
  * // timeZone: "STRING_VALUE",
196
199
  * // company: "STRING_VALUE",
200
+ * // bot: true || false,
197
201
  * // pbxDomain: "STRING_VALUE",
198
202
  * // pbxPort: "STRING_VALUE",
199
203
  * // pbxExtension: "STRING_VALUE",
@@ -231,8 +235,6 @@ declare const UpdateMessageCommand_base: {
231
235
  * // event: "STRING_VALUE",
232
236
  * // sms: true || false,
233
237
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
234
- * // whatsapp: true || false,
235
- * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
236
238
  * // messageId: "STRING_VALUE", // required
237
239
  * // channelId: "STRING_VALUE", // required
238
240
  * // user: "<User>", // required
@@ -34,6 +34,7 @@ export interface User {
34
34
  locale?: string;
35
35
  timeZone?: string;
36
36
  company?: string;
37
+ bot?: boolean;
37
38
  pbxDomain?: string;
38
39
  pbxPort?: string;
39
40
  pbxExtension?: string;
@@ -235,17 +236,6 @@ export interface ChannelContext {
235
236
  target?: string;
236
237
  events?: (ChannelContextEvent)[];
237
238
  }
238
- /**
239
- * @public
240
- * @enum
241
- */
242
- export declare const ChannelWhatsAppStatus: {
243
- readonly CHANNEL_CLOSED: "24h_channel_closed";
244
- };
245
- /**
246
- * @public
247
- */
248
- export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
249
239
  /**
250
240
  * @public
251
241
  */
@@ -278,8 +268,6 @@ export interface Channel {
278
268
  telephony?: boolean;
279
269
  sms?: boolean;
280
270
  mms?: boolean;
281
- whatsapp?: boolean;
282
- whatsappStatus?: ChannelWhatsAppStatus;
283
271
  broadcast?: boolean;
284
272
  external?: boolean;
285
273
  channelId: string;
@@ -632,20 +620,6 @@ export declare const MessageType: {
632
620
  * @public
633
621
  */
634
622
  export type MessageType = typeof MessageType[keyof typeof MessageType];
635
- /**
636
- * @public
637
- * @enum
638
- */
639
- export declare const MessageWhatsAppStatus: {
640
- readonly DELIVERED: "delivered";
641
- readonly ERROR: "error";
642
- readonly SENT: "sent";
643
- readonly TRYING: "trying";
644
- };
645
- /**
646
- * @public
647
- */
648
- export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
649
623
  /**
650
624
  * @public
651
625
  */
@@ -660,8 +634,6 @@ export interface Message {
660
634
  event?: string;
661
635
  sms?: boolean;
662
636
  smsStatus?: MessageSmsStatus;
663
- whatsapp?: boolean;
664
- whatsappStatus?: MessageWhatsAppStatus;
665
637
  messageId: string;
666
638
  channelId: string;
667
639
  user: User;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.0.42",
4
+ "version": "1.0.43",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -75,4 +75,4 @@
75
75
  "react-native": {
76
76
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
77
77
  }
78
- }
78
+ }