@wildix/wda-stream-client 1.0.26 → 1.0.28

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,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MatchNotFoundException = exports.WebsocketTopic = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ForbiddenException = exports.ValidationException = void 0;
4
+ exports.MatchNotFoundException = exports.WebsocketTopic = void 0;
4
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
5
6
  class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
6
7
  constructor(opts) {
@@ -28,6 +29,18 @@ class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceExc
28
29
  }
29
30
  }
30
31
  exports.ForbiddenException = ForbiddenException;
32
+ exports.WhatsAppEventType = {
33
+ WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
34
+ WHATSAPP_STATUS: "WHATSAPP.STATUS",
35
+ };
36
+ exports.WhatsAppStatus = {
37
+ CHANNEL_CLOSED: "24H_CHANNEL_CLOSED",
38
+ DELETED: "DELETED",
39
+ DELIVERED: "DELIVERED",
40
+ ERROR: "ERROR",
41
+ READ: "READ",
42
+ SENT: "SENT",
43
+ };
31
44
  exports.CallFlowAttachmentType = {
32
45
  FAX: "FAX",
33
46
  VOICEMAIL: "VOICEMAIL",
@@ -207,6 +220,7 @@ exports.ChatStatus = {
207
220
  exports.ChatTag = {
208
221
  SMS: "sms",
209
222
  TELEPHONY: "telephony",
223
+ WHATSAPP: "whatsapp",
210
224
  };
211
225
  exports.ChatConsumeEventType = {
212
226
  CHAT_NEW: "CHAT.NEW",
@@ -321,6 +335,10 @@ var ConsumeEventInputEvent;
321
335
  return visitor.smsInbound(value.smsInbound);
322
336
  if (value.smsStatus !== undefined)
323
337
  return visitor.smsStatus(value.smsStatus);
338
+ if (value.whatsappInbound !== undefined)
339
+ return visitor.whatsappInbound(value.whatsappInbound);
340
+ if (value.whatsappStatus !== undefined)
341
+ return visitor.whatsappStatus(value.whatsappStatus);
324
342
  if (value.presence !== undefined)
325
343
  return visitor.presence(value.presence);
326
344
  if (value.presenceTelephony !== undefined)
@@ -13,7 +13,7 @@ const se_ConsumeEventCommand = async (input, context) => {
13
13
  b.bp("/v2/stream/events/consume");
14
14
  let body;
15
15
  body = JSON.stringify((0, smithy_client_1.take)(input, {
16
- 'event': _ => (0, smithy_client_1._json)(_),
16
+ 'event': _ => se_ConsumeEventInputEvent(_, context),
17
17
  }));
18
18
  b.m("POST")
19
19
  .h(headers)
@@ -31,6 +31,8 @@ const se_DescribeEventCommand = async (input, context) => {
31
31
  body = JSON.stringify((0, smithy_client_1.take)(input, {
32
32
  'SmsInboundEvent': _ => (0, smithy_client_1._json)(_),
33
33
  'SmsStatusEvent': _ => (0, smithy_client_1._json)(_),
34
+ 'WhatsAppInboundEvent': _ => se_WhatsAppInboundEvent(_, context),
35
+ 'WhatsAppStatusEvent': _ => se_WhatsAppStatusEvent(_, context),
34
36
  }));
35
37
  b.m("POST")
36
38
  .h(headers)
@@ -245,6 +247,75 @@ const de_MatchNotFoundExceptionRes = async (parsedOutput, context) => {
245
247
  });
246
248
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
247
249
  };
250
+ const se_ConsumeEventInputEvent = (input, context) => {
251
+ return models_0_1.ConsumeEventInputEvent.visit(input, {
252
+ callAgentsCancel: value => ({ "callAgentsCancel": (0, smithy_client_1._json)(value) }),
253
+ callAgentsStart: value => ({ "callAgentsStart": (0, smithy_client_1._json)(value) }),
254
+ callAttachment: value => ({ "callAttachment": (0, smithy_client_1._json)(value) }),
255
+ callEnd: value => ({ "callEnd": (0, smithy_client_1._json)(value) }),
256
+ callLive: value => ({ "callLive": (0, smithy_client_1._json)(value) }),
257
+ callRecordStart: value => ({ "callRecordStart": (0, smithy_client_1._json)(value) }),
258
+ callRecordStop: value => ({ "callRecordStop": (0, smithy_client_1._json)(value) }),
259
+ callSplit: value => ({ "callSplit": (0, smithy_client_1._json)(value) }),
260
+ callStart: value => ({ "callStart": (0, smithy_client_1._json)(value) }),
261
+ callTranscription: value => ({ "callTranscription": (0, smithy_client_1._json)(value) }),
262
+ callUpdate: value => ({ "callUpdate": (0, smithy_client_1._json)(value) }),
263
+ chatNew: value => ({ "chatNew": (0, smithy_client_1._json)(value) }),
264
+ chatUpdate: value => ({ "chatUpdate": (0, smithy_client_1._json)(value) }),
265
+ conferenceEnd: value => ({ "conferenceEnd": (0, smithy_client_1._json)(value) }),
266
+ conferenceJoin: value => ({ "conferenceJoin": (0, smithy_client_1._json)(value) }),
267
+ conferenceKeepAlive: value => ({ "conferenceKeepAlive": (0, smithy_client_1._json)(value) }),
268
+ conferenceLeave: value => ({ "conferenceLeave": (0, smithy_client_1._json)(value) }),
269
+ conferenceRecordStart: value => ({ "conferenceRecordStart": (0, smithy_client_1._json)(value) }),
270
+ conferenceRecordStop: value => ({ "conferenceRecordStop": (0, smithy_client_1._json)(value) }),
271
+ conferenceStart: value => ({ "conferenceStart": (0, smithy_client_1._json)(value) }),
272
+ conferenceTimeFrames: value => ({ "conferenceTimeFrames": (0, smithy_client_1._json)(value) }),
273
+ conferenceTranscription: value => ({ "conferenceTranscription": (0, smithy_client_1._json)(value) }),
274
+ presence: value => ({ "presence": (0, smithy_client_1._json)(value) }),
275
+ presenceTelephony: value => ({ "presenceTelephony": (0, smithy_client_1._json)(value) }),
276
+ smsInbound: value => ({ "smsInbound": (0, smithy_client_1._json)(value) }),
277
+ smsStatus: value => ({ "smsStatus": (0, smithy_client_1._json)(value) }),
278
+ whatsappInbound: value => ({ "whatsappInbound": se_WhatsAppInboundConsumeEvent(value, context) }),
279
+ whatsappStatus: value => ({ "whatsappStatus": se_WhatsAppStatusConsumeEvent(value, context) }),
280
+ _: (name, value) => ({ name: value })
281
+ });
282
+ };
283
+ const se_WhatsAppInboundConsumeEvent = (input, context) => {
284
+ return (0, smithy_client_1.take)(input, {
285
+ 'company': [],
286
+ 'data': smithy_client_1._json,
287
+ 'pbx': [],
288
+ 'time': _ => Math.round(_.getTime() / 1000),
289
+ 'type': [],
290
+ });
291
+ };
292
+ const se_WhatsAppInboundEvent = (input, context) => {
293
+ return (0, smithy_client_1.take)(input, {
294
+ 'company': [],
295
+ 'data': smithy_client_1._json,
296
+ 'pbx': [],
297
+ 'time': _ => Math.round(_.getTime() / 1000),
298
+ 'type': [],
299
+ });
300
+ };
301
+ const se_WhatsAppStatusConsumeEvent = (input, context) => {
302
+ return (0, smithy_client_1.take)(input, {
303
+ 'company': [],
304
+ 'data': smithy_client_1._json,
305
+ 'pbx': [],
306
+ 'time': _ => Math.round(_.getTime() / 1000),
307
+ 'type': [],
308
+ });
309
+ };
310
+ const se_WhatsAppStatusEvent = (input, context) => {
311
+ return (0, smithy_client_1.take)(input, {
312
+ 'company': [],
313
+ 'data': smithy_client_1._json,
314
+ 'pbx': [],
315
+ 'time': _ => Math.round(_.getTime() / 1000),
316
+ 'type': [],
317
+ });
318
+ };
248
319
  const de_Document = (output, context) => {
249
320
  return output;
250
321
  };
@@ -23,6 +23,18 @@ export class ForbiddenException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ForbiddenException.prototype);
24
24
  }
25
25
  }
26
+ export const WhatsAppEventType = {
27
+ WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
28
+ WHATSAPP_STATUS: "WHATSAPP.STATUS",
29
+ };
30
+ export const WhatsAppStatus = {
31
+ CHANNEL_CLOSED: "24H_CHANNEL_CLOSED",
32
+ DELETED: "DELETED",
33
+ DELIVERED: "DELIVERED",
34
+ ERROR: "ERROR",
35
+ READ: "READ",
36
+ SENT: "SENT",
37
+ };
26
38
  export const CallFlowAttachmentType = {
27
39
  FAX: "FAX",
28
40
  VOICEMAIL: "VOICEMAIL",
@@ -202,6 +214,7 @@ export const ChatStatus = {
202
214
  export const ChatTag = {
203
215
  SMS: "sms",
204
216
  TELEPHONY: "telephony",
217
+ WHATSAPP: "whatsapp",
205
218
  };
206
219
  export const ChatConsumeEventType = {
207
220
  CHAT_NEW: "CHAT.NEW",
@@ -316,6 +329,10 @@ export var ConsumeEventInputEvent;
316
329
  return visitor.smsInbound(value.smsInbound);
317
330
  if (value.smsStatus !== undefined)
318
331
  return visitor.smsStatus(value.smsStatus);
332
+ if (value.whatsappInbound !== undefined)
333
+ return visitor.whatsappInbound(value.whatsappInbound);
334
+ if (value.whatsappStatus !== undefined)
335
+ return visitor.whatsappStatus(value.whatsappStatus);
319
336
  if (value.presence !== undefined)
320
337
  return visitor.presence(value.presence);
321
338
  if (value.presenceTelephony !== undefined)
@@ -1,5 +1,5 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "../models/WdaStreamServiceException";
2
- import { ForbiddenException, MatchNotFoundException, ValidationException, } from "../models/models_0";
2
+ import { ConsumeEventInputEvent, ForbiddenException, MatchNotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
4
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
5
  export const se_ConsumeEventCommand = async (input, context) => {
@@ -10,7 +10,7 @@ export const se_ConsumeEventCommand = async (input, context) => {
10
10
  b.bp("/v2/stream/events/consume");
11
11
  let body;
12
12
  body = JSON.stringify(take(input, {
13
- 'event': _ => _json(_),
13
+ 'event': _ => se_ConsumeEventInputEvent(_, context),
14
14
  }));
15
15
  b.m("POST")
16
16
  .h(headers)
@@ -27,6 +27,8 @@ export const se_DescribeEventCommand = async (input, context) => {
27
27
  body = JSON.stringify(take(input, {
28
28
  'SmsInboundEvent': _ => _json(_),
29
29
  'SmsStatusEvent': _ => _json(_),
30
+ 'WhatsAppInboundEvent': _ => se_WhatsAppInboundEvent(_, context),
31
+ 'WhatsAppStatusEvent': _ => se_WhatsAppStatusEvent(_, context),
30
32
  }));
31
33
  b.m("POST")
32
34
  .h(headers)
@@ -234,6 +236,75 @@ const de_MatchNotFoundExceptionRes = async (parsedOutput, context) => {
234
236
  });
235
237
  return __decorateServiceException(exception, parsedOutput.body);
236
238
  };
239
+ const se_ConsumeEventInputEvent = (input, context) => {
240
+ return ConsumeEventInputEvent.visit(input, {
241
+ callAgentsCancel: value => ({ "callAgentsCancel": _json(value) }),
242
+ callAgentsStart: value => ({ "callAgentsStart": _json(value) }),
243
+ callAttachment: value => ({ "callAttachment": _json(value) }),
244
+ callEnd: value => ({ "callEnd": _json(value) }),
245
+ callLive: value => ({ "callLive": _json(value) }),
246
+ callRecordStart: value => ({ "callRecordStart": _json(value) }),
247
+ callRecordStop: value => ({ "callRecordStop": _json(value) }),
248
+ callSplit: value => ({ "callSplit": _json(value) }),
249
+ callStart: value => ({ "callStart": _json(value) }),
250
+ callTranscription: value => ({ "callTranscription": _json(value) }),
251
+ callUpdate: value => ({ "callUpdate": _json(value) }),
252
+ chatNew: value => ({ "chatNew": _json(value) }),
253
+ chatUpdate: value => ({ "chatUpdate": _json(value) }),
254
+ conferenceEnd: value => ({ "conferenceEnd": _json(value) }),
255
+ conferenceJoin: value => ({ "conferenceJoin": _json(value) }),
256
+ conferenceKeepAlive: value => ({ "conferenceKeepAlive": _json(value) }),
257
+ conferenceLeave: value => ({ "conferenceLeave": _json(value) }),
258
+ conferenceRecordStart: value => ({ "conferenceRecordStart": _json(value) }),
259
+ conferenceRecordStop: value => ({ "conferenceRecordStop": _json(value) }),
260
+ conferenceStart: value => ({ "conferenceStart": _json(value) }),
261
+ conferenceTimeFrames: value => ({ "conferenceTimeFrames": _json(value) }),
262
+ conferenceTranscription: value => ({ "conferenceTranscription": _json(value) }),
263
+ presence: value => ({ "presence": _json(value) }),
264
+ presenceTelephony: value => ({ "presenceTelephony": _json(value) }),
265
+ smsInbound: value => ({ "smsInbound": _json(value) }),
266
+ smsStatus: value => ({ "smsStatus": _json(value) }),
267
+ whatsappInbound: value => ({ "whatsappInbound": se_WhatsAppInboundConsumeEvent(value, context) }),
268
+ whatsappStatus: value => ({ "whatsappStatus": se_WhatsAppStatusConsumeEvent(value, context) }),
269
+ _: (name, value) => ({ name: value })
270
+ });
271
+ };
272
+ const se_WhatsAppInboundConsumeEvent = (input, context) => {
273
+ return take(input, {
274
+ 'company': [],
275
+ 'data': _json,
276
+ 'pbx': [],
277
+ 'time': _ => Math.round(_.getTime() / 1000),
278
+ 'type': [],
279
+ });
280
+ };
281
+ const se_WhatsAppInboundEvent = (input, context) => {
282
+ return take(input, {
283
+ 'company': [],
284
+ 'data': _json,
285
+ 'pbx': [],
286
+ 'time': _ => Math.round(_.getTime() / 1000),
287
+ 'type': [],
288
+ });
289
+ };
290
+ const se_WhatsAppStatusConsumeEvent = (input, context) => {
291
+ return take(input, {
292
+ 'company': [],
293
+ 'data': _json,
294
+ 'pbx': [],
295
+ 'time': _ => Math.round(_.getTime() / 1000),
296
+ 'type': [],
297
+ });
298
+ };
299
+ const se_WhatsAppStatusEvent = (input, context) => {
300
+ return take(input, {
301
+ 'company': [],
302
+ 'data': _json,
303
+ 'pbx': [],
304
+ 'time': _ => Math.round(_.getTime() / 1000),
305
+ 'type': [],
306
+ });
307
+ };
237
308
  const de_Document = (output, context) => {
238
309
  return output;
239
310
  };
@@ -488,7 +488,7 @@ declare const ConsumeEventCommand_base: {
488
488
  * customersCount: Number("int"), // required
489
489
  * },
490
490
  * tags: [ // ChatTags
491
- * "sms" || "telephony",
491
+ * "sms" || "telephony" || "whatsapp",
492
492
  * ],
493
493
  * sender: {
494
494
  * id: "STRING_VALUE", // required
@@ -565,7 +565,7 @@ declare const ConsumeEventCommand_base: {
565
565
  * customersCount: Number("int"), // required
566
566
  * },
567
567
  * tags: [
568
- * "sms" || "telephony",
568
+ * "sms" || "telephony" || "whatsapp",
569
569
  * ],
570
570
  * },
571
571
  * },
@@ -595,6 +595,36 @@ declare const ConsumeEventCommand_base: {
595
595
  * parts: Number("int"), // required
596
596
  * },
597
597
  * },
598
+ * whatsappInbound: { // WhatsAppInboundConsumeEvent
599
+ * pbx: "STRING_VALUE", // required
600
+ * company: "STRING_VALUE", // required
601
+ * time: new Date("TIMESTAMP"), // required
602
+ * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
603
+ * data: { // WhatsAppInboundEventData
604
+ * from: "STRING_VALUE", // required
605
+ * to: "STRING_VALUE", // required
606
+ * id: "STRING_VALUE", // required
607
+ * message: "STRING_VALUE", // required
608
+ * media: [ // StringList
609
+ * "STRING_VALUE",
610
+ * ],
611
+ * },
612
+ * },
613
+ * whatsappStatus: { // WhatsAppStatusConsumeEvent
614
+ * pbx: "STRING_VALUE", // required
615
+ * company: "STRING_VALUE", // required
616
+ * time: new Date("TIMESTAMP"), // required
617
+ * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
618
+ * data: { // WhatsAppStatusEventData
619
+ * from: "STRING_VALUE", // required
620
+ * to: "STRING_VALUE", // required
621
+ * id: "STRING_VALUE", // required
622
+ * status: "SENT" || "DELIVERED" || "ERROR" || "READ" || "DELETED" || "24H_CHANNEL_CLOSED", // required
623
+ * reason: "STRING_VALUE", // required
624
+ * channel: "STRING_VALUE",
625
+ * parts: Number("int"),
626
+ * },
627
+ * },
598
628
  * presence: { // PresenceConsumeEvent
599
629
  * time: Number("long"), // required
600
630
  * pbx: "STRING_VALUE", // required
@@ -61,6 +61,36 @@ declare const DescribeEventCommand_base: {
61
61
  * parts: Number("int"), // required
62
62
  * },
63
63
  * },
64
+ * WhatsAppInboundEvent: { // WhatsAppInboundEvent
65
+ * pbx: "STRING_VALUE", // required
66
+ * company: "STRING_VALUE", // required
67
+ * time: new Date("TIMESTAMP"), // required
68
+ * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
69
+ * data: { // WhatsAppInboundEventData
70
+ * from: "STRING_VALUE", // required
71
+ * to: "STRING_VALUE", // required
72
+ * id: "STRING_VALUE", // required
73
+ * message: "STRING_VALUE", // required
74
+ * media: [ // StringList
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * },
78
+ * },
79
+ * WhatsAppStatusEvent: { // WhatsAppStatusEvent
80
+ * pbx: "STRING_VALUE", // required
81
+ * company: "STRING_VALUE", // required
82
+ * time: new Date("TIMESTAMP"), // required
83
+ * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
84
+ * data: { // WhatsAppStatusEventData
85
+ * from: "STRING_VALUE", // required
86
+ * to: "STRING_VALUE", // required
87
+ * id: "STRING_VALUE", // required
88
+ * status: "SENT" || "DELIVERED" || "ERROR" || "READ" || "DELETED" || "24H_CHANNEL_CLOSED", // required
89
+ * reason: "STRING_VALUE", // required
90
+ * channel: "STRING_VALUE",
91
+ * parts: Number("int"),
92
+ * },
93
+ * },
64
94
  * };
65
95
  * const command = new DescribeEventCommand(input);
66
96
  * const response = await client.send(command);
@@ -517,7 +547,7 @@ declare const DescribeEventCommand_base: {
517
547
  * // ],
518
548
  * // customersCount: Number("int"), // required
519
549
  * // tags: [ // ChatTags
520
- * // "sms" || "telephony",
550
+ * // "sms" || "telephony" || "whatsapp",
521
551
  * // ],
522
552
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
523
553
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
@@ -539,7 +569,7 @@ declare const DescribeEventCommand_base: {
539
569
  * // service: "STRING_VALUE",
540
570
  * // serviceTitle: "STRING_VALUE",
541
571
  * // tags: [
542
- * // "sms" || "telephony",
572
+ * // "sms" || "telephony" || "whatsapp",
543
573
  * // ],
544
574
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
545
575
  * // participants: [ // ChatAnalyticsRecordParticipantList
@@ -1349,7 +1379,7 @@ declare const DescribeEventCommand_base: {
1349
1379
  * // ],
1350
1380
  * // customersCount: Number("int"), // required
1351
1381
  * // tags: [
1352
- * // "sms" || "telephony",
1382
+ * // "sms" || "telephony" || "whatsapp",
1353
1383
  * // ],
1354
1384
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
1355
1385
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
@@ -1415,7 +1445,7 @@ declare const DescribeEventCommand_base: {
1415
1445
  * // service: "STRING_VALUE",
1416
1446
  * // serviceTitle: "STRING_VALUE",
1417
1447
  * // tags: [
1418
- * // "sms" || "telephony",
1448
+ * // "sms" || "telephony" || "whatsapp",
1419
1449
  * // ],
1420
1450
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
1421
1451
  * // participants: [
@@ -267,7 +267,7 @@ declare const GetConversationsCommand_base: {
267
267
  * // ],
268
268
  * // customersCount: Number("int"), // required
269
269
  * // tags: [ // ChatTags
270
- * // "sms" || "telephony",
270
+ * // "sms" || "telephony" || "whatsapp",
271
271
  * // ],
272
272
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
273
273
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
@@ -23,6 +23,60 @@ export declare class ForbiddenException extends __BaseException {
23
23
  */
24
24
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
25
  }
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const WhatsAppEventType: {
31
+ readonly WHATSAPP_INBOUND: "WHATSAPP.INBOUND";
32
+ readonly WHATSAPP_STATUS: "WHATSAPP.STATUS";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type WhatsAppEventType = typeof WhatsAppEventType[keyof typeof WhatsAppEventType];
38
+ /**
39
+ * @public
40
+ */
41
+ export interface WhatsAppInboundEventData {
42
+ from: string;
43
+ to: string;
44
+ /**
45
+ * A unique ID of the WhatsApp message
46
+ * @public
47
+ */
48
+ id: string;
49
+ message: string;
50
+ media?: (string)[];
51
+ }
52
+ /**
53
+ * @public
54
+ * @enum
55
+ */
56
+ export declare const WhatsAppStatus: {
57
+ readonly CHANNEL_CLOSED: "24H_CHANNEL_CLOSED";
58
+ readonly DELETED: "DELETED";
59
+ readonly DELIVERED: "DELIVERED";
60
+ readonly ERROR: "ERROR";
61
+ readonly READ: "READ";
62
+ readonly SENT: "SENT";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type WhatsAppStatus = typeof WhatsAppStatus[keyof typeof WhatsAppStatus];
68
+ /**
69
+ * @public
70
+ */
71
+ export interface WhatsAppStatusEventData {
72
+ from: string;
73
+ to: string;
74
+ id: string;
75
+ status: WhatsAppStatus;
76
+ reason: string;
77
+ channel?: string;
78
+ parts?: number;
79
+ }
26
80
  /**
27
81
  * @public
28
82
  */
@@ -1122,6 +1176,7 @@ export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
1122
1176
  export declare const ChatTag: {
1123
1177
  readonly SMS: "sms";
1124
1178
  readonly TELEPHONY: "telephony";
1179
+ readonly WHATSAPP: "whatsapp";
1125
1180
  };
1126
1181
  /**
1127
1182
  * @public
@@ -1739,7 +1794,27 @@ export interface SmsStatusConsumeEvent {
1739
1794
  /**
1740
1795
  * @public
1741
1796
  */
1742
- export type ConsumeEventInputEvent = ConsumeEventInputEvent.CallAgentsCancelMember | ConsumeEventInputEvent.CallAgentsStartMember | ConsumeEventInputEvent.CallAttachmentMember | ConsumeEventInputEvent.CallEndMember | ConsumeEventInputEvent.CallLiveMember | ConsumeEventInputEvent.CallRecordStartMember | ConsumeEventInputEvent.CallRecordStopMember | ConsumeEventInputEvent.CallSplitMember | ConsumeEventInputEvent.CallStartMember | ConsumeEventInputEvent.CallTranscriptionMember | ConsumeEventInputEvent.CallUpdateMember | ConsumeEventInputEvent.ChatNewMember | ConsumeEventInputEvent.ChatUpdateMember | ConsumeEventInputEvent.ConferenceEndMember | ConsumeEventInputEvent.ConferenceJoinMember | ConsumeEventInputEvent.ConferenceKeepAliveMember | ConsumeEventInputEvent.ConferenceLeaveMember | ConsumeEventInputEvent.ConferenceRecordStartMember | ConsumeEventInputEvent.ConferenceRecordStopMember | ConsumeEventInputEvent.ConferenceStartMember | ConsumeEventInputEvent.ConferenceTimeFramesMember | ConsumeEventInputEvent.ConferenceTranscriptionMember | ConsumeEventInputEvent.PresenceMember | ConsumeEventInputEvent.PresenceTelephonyMember | ConsumeEventInputEvent.SmsInboundMember | ConsumeEventInputEvent.SmsStatusMember | ConsumeEventInputEvent.$UnknownMember;
1797
+ export interface WhatsAppInboundConsumeEvent {
1798
+ pbx: string;
1799
+ company: string;
1800
+ time: Date;
1801
+ type: WhatsAppEventType;
1802
+ data: WhatsAppInboundEventData;
1803
+ }
1804
+ /**
1805
+ * @public
1806
+ */
1807
+ export interface WhatsAppStatusConsumeEvent {
1808
+ pbx: string;
1809
+ company: string;
1810
+ time: Date;
1811
+ type: WhatsAppEventType;
1812
+ data: WhatsAppStatusEventData;
1813
+ }
1814
+ /**
1815
+ * @public
1816
+ */
1817
+ export type ConsumeEventInputEvent = ConsumeEventInputEvent.CallAgentsCancelMember | ConsumeEventInputEvent.CallAgentsStartMember | ConsumeEventInputEvent.CallAttachmentMember | ConsumeEventInputEvent.CallEndMember | ConsumeEventInputEvent.CallLiveMember | ConsumeEventInputEvent.CallRecordStartMember | ConsumeEventInputEvent.CallRecordStopMember | ConsumeEventInputEvent.CallSplitMember | ConsumeEventInputEvent.CallStartMember | ConsumeEventInputEvent.CallTranscriptionMember | ConsumeEventInputEvent.CallUpdateMember | ConsumeEventInputEvent.ChatNewMember | ConsumeEventInputEvent.ChatUpdateMember | ConsumeEventInputEvent.ConferenceEndMember | ConsumeEventInputEvent.ConferenceJoinMember | ConsumeEventInputEvent.ConferenceKeepAliveMember | ConsumeEventInputEvent.ConferenceLeaveMember | ConsumeEventInputEvent.ConferenceRecordStartMember | ConsumeEventInputEvent.ConferenceRecordStopMember | ConsumeEventInputEvent.ConferenceStartMember | ConsumeEventInputEvent.ConferenceTimeFramesMember | ConsumeEventInputEvent.ConferenceTranscriptionMember | ConsumeEventInputEvent.PresenceMember | ConsumeEventInputEvent.PresenceTelephonyMember | ConsumeEventInputEvent.SmsInboundMember | ConsumeEventInputEvent.SmsStatusMember | ConsumeEventInputEvent.WhatsappInboundMember | ConsumeEventInputEvent.WhatsappStatusMember | ConsumeEventInputEvent.$UnknownMember;
1743
1818
  /**
1744
1819
  * @public
1745
1820
  */
@@ -1769,6 +1844,8 @@ export declare namespace ConsumeEventInputEvent {
1769
1844
  chatUpdate?: never;
1770
1845
  smsInbound?: never;
1771
1846
  smsStatus?: never;
1847
+ whatsappInbound?: never;
1848
+ whatsappStatus?: never;
1772
1849
  presence?: never;
1773
1850
  presenceTelephony?: never;
1774
1851
  $unknown?: never;
@@ -1798,6 +1875,8 @@ export declare namespace ConsumeEventInputEvent {
1798
1875
  chatUpdate?: never;
1799
1876
  smsInbound?: never;
1800
1877
  smsStatus?: never;
1878
+ whatsappInbound?: never;
1879
+ whatsappStatus?: never;
1801
1880
  presence?: never;
1802
1881
  presenceTelephony?: never;
1803
1882
  $unknown?: never;
@@ -1827,6 +1906,8 @@ export declare namespace ConsumeEventInputEvent {
1827
1906
  chatUpdate?: never;
1828
1907
  smsInbound?: never;
1829
1908
  smsStatus?: never;
1909
+ whatsappInbound?: never;
1910
+ whatsappStatus?: never;
1830
1911
  presence?: never;
1831
1912
  presenceTelephony?: never;
1832
1913
  $unknown?: never;
@@ -1856,6 +1937,8 @@ export declare namespace ConsumeEventInputEvent {
1856
1937
  chatUpdate?: never;
1857
1938
  smsInbound?: never;
1858
1939
  smsStatus?: never;
1940
+ whatsappInbound?: never;
1941
+ whatsappStatus?: never;
1859
1942
  presence?: never;
1860
1943
  presenceTelephony?: never;
1861
1944
  $unknown?: never;
@@ -1885,6 +1968,8 @@ export declare namespace ConsumeEventInputEvent {
1885
1968
  chatUpdate?: never;
1886
1969
  smsInbound?: never;
1887
1970
  smsStatus?: never;
1971
+ whatsappInbound?: never;
1972
+ whatsappStatus?: never;
1888
1973
  presence?: never;
1889
1974
  presenceTelephony?: never;
1890
1975
  $unknown?: never;
@@ -1914,6 +1999,8 @@ export declare namespace ConsumeEventInputEvent {
1914
1999
  chatUpdate?: never;
1915
2000
  smsInbound?: never;
1916
2001
  smsStatus?: never;
2002
+ whatsappInbound?: never;
2003
+ whatsappStatus?: never;
1917
2004
  presence?: never;
1918
2005
  presenceTelephony?: never;
1919
2006
  $unknown?: never;
@@ -1943,6 +2030,8 @@ export declare namespace ConsumeEventInputEvent {
1943
2030
  chatUpdate?: never;
1944
2031
  smsInbound?: never;
1945
2032
  smsStatus?: never;
2033
+ whatsappInbound?: never;
2034
+ whatsappStatus?: never;
1946
2035
  presence?: never;
1947
2036
  presenceTelephony?: never;
1948
2037
  $unknown?: never;
@@ -1972,6 +2061,8 @@ export declare namespace ConsumeEventInputEvent {
1972
2061
  chatUpdate?: never;
1973
2062
  smsInbound?: never;
1974
2063
  smsStatus?: never;
2064
+ whatsappInbound?: never;
2065
+ whatsappStatus?: never;
1975
2066
  presence?: never;
1976
2067
  presenceTelephony?: never;
1977
2068
  $unknown?: never;
@@ -2001,6 +2092,8 @@ export declare namespace ConsumeEventInputEvent {
2001
2092
  chatUpdate?: never;
2002
2093
  smsInbound?: never;
2003
2094
  smsStatus?: never;
2095
+ whatsappInbound?: never;
2096
+ whatsappStatus?: never;
2004
2097
  presence?: never;
2005
2098
  presenceTelephony?: never;
2006
2099
  $unknown?: never;
@@ -2030,6 +2123,8 @@ export declare namespace ConsumeEventInputEvent {
2030
2123
  chatUpdate?: never;
2031
2124
  smsInbound?: never;
2032
2125
  smsStatus?: never;
2126
+ whatsappInbound?: never;
2127
+ whatsappStatus?: never;
2033
2128
  presence?: never;
2034
2129
  presenceTelephony?: never;
2035
2130
  $unknown?: never;
@@ -2059,6 +2154,8 @@ export declare namespace ConsumeEventInputEvent {
2059
2154
  chatUpdate?: never;
2060
2155
  smsInbound?: never;
2061
2156
  smsStatus?: never;
2157
+ whatsappInbound?: never;
2158
+ whatsappStatus?: never;
2062
2159
  presence?: never;
2063
2160
  presenceTelephony?: never;
2064
2161
  $unknown?: never;
@@ -2088,6 +2185,8 @@ export declare namespace ConsumeEventInputEvent {
2088
2185
  chatUpdate?: never;
2089
2186
  smsInbound?: never;
2090
2187
  smsStatus?: never;
2188
+ whatsappInbound?: never;
2189
+ whatsappStatus?: never;
2091
2190
  presence?: never;
2092
2191
  presenceTelephony?: never;
2093
2192
  $unknown?: never;
@@ -2117,6 +2216,8 @@ export declare namespace ConsumeEventInputEvent {
2117
2216
  chatUpdate?: never;
2118
2217
  smsInbound?: never;
2119
2218
  smsStatus?: never;
2219
+ whatsappInbound?: never;
2220
+ whatsappStatus?: never;
2120
2221
  presence?: never;
2121
2222
  presenceTelephony?: never;
2122
2223
  $unknown?: never;
@@ -2146,6 +2247,8 @@ export declare namespace ConsumeEventInputEvent {
2146
2247
  chatUpdate?: never;
2147
2248
  smsInbound?: never;
2148
2249
  smsStatus?: never;
2250
+ whatsappInbound?: never;
2251
+ whatsappStatus?: never;
2149
2252
  presence?: never;
2150
2253
  presenceTelephony?: never;
2151
2254
  $unknown?: never;
@@ -2175,6 +2278,8 @@ export declare namespace ConsumeEventInputEvent {
2175
2278
  chatUpdate?: never;
2176
2279
  smsInbound?: never;
2177
2280
  smsStatus?: never;
2281
+ whatsappInbound?: never;
2282
+ whatsappStatus?: never;
2178
2283
  presence?: never;
2179
2284
  presenceTelephony?: never;
2180
2285
  $unknown?: never;
@@ -2204,6 +2309,8 @@ export declare namespace ConsumeEventInputEvent {
2204
2309
  chatUpdate?: never;
2205
2310
  smsInbound?: never;
2206
2311
  smsStatus?: never;
2312
+ whatsappInbound?: never;
2313
+ whatsappStatus?: never;
2207
2314
  presence?: never;
2208
2315
  presenceTelephony?: never;
2209
2316
  $unknown?: never;
@@ -2233,6 +2340,8 @@ export declare namespace ConsumeEventInputEvent {
2233
2340
  chatUpdate?: never;
2234
2341
  smsInbound?: never;
2235
2342
  smsStatus?: never;
2343
+ whatsappInbound?: never;
2344
+ whatsappStatus?: never;
2236
2345
  presence?: never;
2237
2346
  presenceTelephony?: never;
2238
2347
  $unknown?: never;
@@ -2262,6 +2371,8 @@ export declare namespace ConsumeEventInputEvent {
2262
2371
  chatUpdate?: never;
2263
2372
  smsInbound?: never;
2264
2373
  smsStatus?: never;
2374
+ whatsappInbound?: never;
2375
+ whatsappStatus?: never;
2265
2376
  presence?: never;
2266
2377
  presenceTelephony?: never;
2267
2378
  $unknown?: never;
@@ -2291,6 +2402,8 @@ export declare namespace ConsumeEventInputEvent {
2291
2402
  chatUpdate?: never;
2292
2403
  smsInbound?: never;
2293
2404
  smsStatus?: never;
2405
+ whatsappInbound?: never;
2406
+ whatsappStatus?: never;
2294
2407
  presence?: never;
2295
2408
  presenceTelephony?: never;
2296
2409
  $unknown?: never;
@@ -2320,6 +2433,8 @@ export declare namespace ConsumeEventInputEvent {
2320
2433
  chatUpdate?: never;
2321
2434
  smsInbound?: never;
2322
2435
  smsStatus?: never;
2436
+ whatsappInbound?: never;
2437
+ whatsappStatus?: never;
2323
2438
  presence?: never;
2324
2439
  presenceTelephony?: never;
2325
2440
  $unknown?: never;
@@ -2349,6 +2464,8 @@ export declare namespace ConsumeEventInputEvent {
2349
2464
  chatUpdate?: never;
2350
2465
  smsInbound?: never;
2351
2466
  smsStatus?: never;
2467
+ whatsappInbound?: never;
2468
+ whatsappStatus?: never;
2352
2469
  presence?: never;
2353
2470
  presenceTelephony?: never;
2354
2471
  $unknown?: never;
@@ -2378,6 +2495,8 @@ export declare namespace ConsumeEventInputEvent {
2378
2495
  chatUpdate: ChatUpdateConsumeEvent;
2379
2496
  smsInbound?: never;
2380
2497
  smsStatus?: never;
2498
+ whatsappInbound?: never;
2499
+ whatsappStatus?: never;
2381
2500
  presence?: never;
2382
2501
  presenceTelephony?: never;
2383
2502
  $unknown?: never;
@@ -2407,6 +2526,8 @@ export declare namespace ConsumeEventInputEvent {
2407
2526
  chatUpdate?: never;
2408
2527
  smsInbound: SmsInboundConsumeEvent;
2409
2528
  smsStatus?: never;
2529
+ whatsappInbound?: never;
2530
+ whatsappStatus?: never;
2410
2531
  presence?: never;
2411
2532
  presenceTelephony?: never;
2412
2533
  $unknown?: never;
@@ -2436,6 +2557,70 @@ export declare namespace ConsumeEventInputEvent {
2436
2557
  chatUpdate?: never;
2437
2558
  smsInbound?: never;
2438
2559
  smsStatus: SmsStatusConsumeEvent;
2560
+ whatsappInbound?: never;
2561
+ whatsappStatus?: never;
2562
+ presence?: never;
2563
+ presenceTelephony?: never;
2564
+ $unknown?: never;
2565
+ }
2566
+ interface WhatsappInboundMember {
2567
+ callStart?: never;
2568
+ callUpdate?: never;
2569
+ callSplit?: never;
2570
+ callLive?: never;
2571
+ callAgentsStart?: never;
2572
+ callAgentsCancel?: never;
2573
+ callEnd?: never;
2574
+ callRecordStart?: never;
2575
+ callRecordStop?: never;
2576
+ callAttachment?: never;
2577
+ callTranscription?: never;
2578
+ conferenceTimeFrames?: never;
2579
+ conferenceStart?: never;
2580
+ conferenceJoin?: never;
2581
+ conferenceRecordStart?: never;
2582
+ conferenceTranscription?: never;
2583
+ conferenceLeave?: never;
2584
+ conferenceRecordStop?: never;
2585
+ conferenceKeepAlive?: never;
2586
+ conferenceEnd?: never;
2587
+ chatNew?: never;
2588
+ chatUpdate?: never;
2589
+ smsInbound?: never;
2590
+ smsStatus?: never;
2591
+ whatsappInbound: WhatsAppInboundConsumeEvent;
2592
+ whatsappStatus?: never;
2593
+ presence?: never;
2594
+ presenceTelephony?: never;
2595
+ $unknown?: never;
2596
+ }
2597
+ interface WhatsappStatusMember {
2598
+ callStart?: never;
2599
+ callUpdate?: never;
2600
+ callSplit?: never;
2601
+ callLive?: never;
2602
+ callAgentsStart?: never;
2603
+ callAgentsCancel?: never;
2604
+ callEnd?: never;
2605
+ callRecordStart?: never;
2606
+ callRecordStop?: never;
2607
+ callAttachment?: never;
2608
+ callTranscription?: never;
2609
+ conferenceTimeFrames?: never;
2610
+ conferenceStart?: never;
2611
+ conferenceJoin?: never;
2612
+ conferenceRecordStart?: never;
2613
+ conferenceTranscription?: never;
2614
+ conferenceLeave?: never;
2615
+ conferenceRecordStop?: never;
2616
+ conferenceKeepAlive?: never;
2617
+ conferenceEnd?: never;
2618
+ chatNew?: never;
2619
+ chatUpdate?: never;
2620
+ smsInbound?: never;
2621
+ smsStatus?: never;
2622
+ whatsappInbound?: never;
2623
+ whatsappStatus: WhatsAppStatusConsumeEvent;
2439
2624
  presence?: never;
2440
2625
  presenceTelephony?: never;
2441
2626
  $unknown?: never;
@@ -2465,6 +2650,8 @@ export declare namespace ConsumeEventInputEvent {
2465
2650
  chatUpdate?: never;
2466
2651
  smsInbound?: never;
2467
2652
  smsStatus?: never;
2653
+ whatsappInbound?: never;
2654
+ whatsappStatus?: never;
2468
2655
  presence: PresenceConsumeEvent;
2469
2656
  presenceTelephony?: never;
2470
2657
  $unknown?: never;
@@ -2494,6 +2681,8 @@ export declare namespace ConsumeEventInputEvent {
2494
2681
  chatUpdate?: never;
2495
2682
  smsInbound?: never;
2496
2683
  smsStatus?: never;
2684
+ whatsappInbound?: never;
2685
+ whatsappStatus?: never;
2497
2686
  presence?: never;
2498
2687
  presenceTelephony: PresenceTelephonyConsumeEvent;
2499
2688
  $unknown?: never;
@@ -2526,6 +2715,8 @@ export declare namespace ConsumeEventInputEvent {
2526
2715
  chatUpdate?: never;
2527
2716
  smsInbound?: never;
2528
2717
  smsStatus?: never;
2718
+ whatsappInbound?: never;
2719
+ whatsappStatus?: never;
2529
2720
  presence?: never;
2530
2721
  presenceTelephony?: never;
2531
2722
  $unknown: [string, any];
@@ -2555,6 +2746,8 @@ export declare namespace ConsumeEventInputEvent {
2555
2746
  chatUpdate: (value: ChatUpdateConsumeEvent) => T;
2556
2747
  smsInbound: (value: SmsInboundConsumeEvent) => T;
2557
2748
  smsStatus: (value: SmsStatusConsumeEvent) => T;
2749
+ whatsappInbound: (value: WhatsAppInboundConsumeEvent) => T;
2750
+ whatsappStatus: (value: WhatsAppStatusConsumeEvent) => T;
2558
2751
  presence: (value: PresenceConsumeEvent) => T;
2559
2752
  presenceTelephony: (value: PresenceTelephonyConsumeEvent) => T;
2560
2753
  _: (name: string, value: any) => T;
@@ -2592,12 +2785,34 @@ export interface SmsStatusEvent {
2592
2785
  type: SmsConsumeEventType;
2593
2786
  data: SmsStatusConsumeEventData;
2594
2787
  }
2788
+ /**
2789
+ * @public
2790
+ */
2791
+ export interface WhatsAppInboundEvent {
2792
+ pbx: string;
2793
+ company: string;
2794
+ time: Date;
2795
+ type: WhatsAppEventType;
2796
+ data: WhatsAppInboundEventData;
2797
+ }
2798
+ /**
2799
+ * @public
2800
+ */
2801
+ export interface WhatsAppStatusEvent {
2802
+ pbx: string;
2803
+ company: string;
2804
+ time: Date;
2805
+ type: WhatsAppEventType;
2806
+ data: WhatsAppStatusEventData;
2807
+ }
2595
2808
  /**
2596
2809
  * @public
2597
2810
  */
2598
2811
  export interface DescribeEventInput {
2599
2812
  SmsInboundEvent?: SmsInboundEvent;
2600
2813
  SmsStatusEvent?: SmsStatusEvent;
2814
+ WhatsAppInboundEvent?: WhatsAppInboundEvent;
2815
+ WhatsAppStatusEvent?: WhatsAppStatusEvent;
2601
2816
  }
2602
2817
  /**
2603
2818
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-stream-client",
3
3
  "description": "@wildix/wda-stream-client client",
4
- "version": "1.0.26",
4
+ "version": "1.0.28",
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",