@periskope/types 0.6.208 → 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
@@ -117,6 +117,7 @@ export type OrgMetadata = {
117
117
  ai?: {
118
118
  flag_prompt?: string;
119
119
  };
120
+ display_language?: string;
120
121
  };
121
122
 
122
123
  type AccessScopes = {
@@ -226,6 +227,10 @@ export type MessageType = Merge<
226
227
  poll_info?: PollSendType | null;
227
228
  poll_results?: PollResultType | null;
228
229
  delivery_info?: DeliveryInfoType | null;
230
+ raw_data: {
231
+ translations?: Record<string, string>;
232
+ [key: string]: unknown;
233
+ } | null;
229
234
  }
230
235
  >,
231
236
  {
@@ -812,7 +817,6 @@ export type MessageRuleInfoType = {
812
817
  | 'flag_response_time'
813
818
  | 'flag_metadata'
814
819
  | 'ack'
815
- | 'translated_body'
816
820
  >,
817
821
  {
818
822
  media: MediaType | null;