@snugdesk/whatsapp-widget 0.2.26 → 0.2.27

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.
@@ -20,7 +20,7 @@ import { MatRadioModule } from '@angular/material/radio';
20
20
  import * as i6 from '@angular/material/select';
21
21
  import { MatSelectModule } from '@angular/material/select';
22
22
  import * as i1$2 from '@snugdesk/core';
23
- import { CustomValidators, ModelSortDirection, CleanDeep, StorageType, InteractionProvider, InteractionChannel, InteractionStatus, InteractionDirection, InteractionContext, SnugdeskCoreModule, CustomPipesModule } from '@snugdesk/core';
23
+ import { CustomValidators, ModelSortDirection, CleanDeep, StorageType, InteractionProvider, InteractionChannel, InteractionStatus, InteractionMessageDirection, InteractionDirection, InteractionContext, SnugdeskCoreModule, CustomPipesModule } from '@snugdesk/core';
24
24
  import moment from 'moment-timezone';
25
25
  import * as i3 from '@angular/material/snack-bar';
26
26
  import { lastValueFrom } from 'rxjs';
@@ -3554,6 +3554,7 @@ class WhatsAppMessagesComponent {
3554
3554
  metadata: JSON.stringify(CleanDeep.clean(messageMetaData)),
3555
3555
  referenceMessageId: this.selectedReferenceMessage?.id,
3556
3556
  body: waMessage.messageBody?.text,
3557
+ direction: InteractionMessageDirection.OUT,
3557
3558
  createdAt: waMessageTimestamp,
3558
3559
  updatedAt: waMessageTimestamp,
3559
3560
  };