@periskope/types 0.6.209 → 0.6.210

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.
@@ -570,7 +570,6 @@ export type Database = {
570
570
  timestamp: string | null
571
571
  to: string | null
572
572
  token: string | null
573
- translated_body: Json | null
574
573
  unique_id: string | null
575
574
  updated_at: string | null
576
575
  vcards: string[] | null
@@ -625,7 +624,6 @@ export type Database = {
625
624
  timestamp?: string | null
626
625
  to?: string | null
627
626
  token?: string | null
628
- translated_body?: Json | null
629
627
  unique_id?: string | null
630
628
  updated_at?: string | null
631
629
  vcards?: string[] | null
@@ -680,7 +678,6 @@ export type Database = {
680
678
  timestamp?: string | null
681
679
  to?: string | null
682
680
  token?: string | null
683
- translated_body?: Json | null
684
681
  unique_id?: string | null
685
682
  updated_at?: string | null
686
683
  vcards?: string[] | null
@@ -2571,7 +2568,6 @@ export type Database = {
2571
2568
  timestamp: string | null
2572
2569
  to: string | null
2573
2570
  token: string | null
2574
- translated_body: Json | null
2575
2571
  unique_id: string | null
2576
2572
  updated_at: string | null
2577
2573
  vcards: string[] | null
package/src/types.ts CHANGED
@@ -227,6 +227,10 @@ export type MessageType = Merge<
227
227
  poll_info?: PollSendType | null;
228
228
  poll_results?: PollResultType | null;
229
229
  delivery_info?: DeliveryInfoType | null;
230
+ raw_data: {
231
+ translations?: Record<string, string>;
232
+ [key: string]: unknown;
233
+ } | null;
230
234
  }
231
235
  >,
232
236
  {
@@ -813,7 +817,6 @@ export type MessageRuleInfoType = {
813
817
  | 'flag_response_time'
814
818
  | 'flag_metadata'
815
819
  | 'ack'
816
- | 'translated_body'
817
820
  >,
818
821
  {
819
822
  media: MediaType | null;