@periskope/types 0.6.263 → 0.6.265

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.
package/dist/index.d.ts CHANGED
@@ -2,5 +2,4 @@ export * from './object.types';
2
2
  export * from './rules.types';
3
3
  export * from './supabase.types';
4
4
  export * from './types';
5
- export * from './workflows.types';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
package/dist/index.js CHANGED
@@ -18,4 +18,3 @@ __exportStar(require("./object.types"), exports);
18
18
  __exportStar(require("./rules.types"), exports);
19
19
  __exportStar(require("./supabase.types"), exports);
20
20
  __exportStar(require("./types"), exports);
21
- __exportStar(require("./workflows.types"), exports);
@@ -685,6 +685,7 @@ export type Database = {
685
685
  body: string | null;
686
686
  chat_id: string | null;
687
687
  from_me: boolean | null;
688
+ is_deleted: boolean | null;
688
689
  is_private_note: boolean;
689
690
  media: Json | null;
690
691
  mentioned_ids: string[] | null;
@@ -706,6 +707,7 @@ export type Database = {
706
707
  body?: string | null;
707
708
  chat_id?: string | null;
708
709
  from_me?: boolean | null;
710
+ is_deleted?: boolean | null;
709
711
  is_private_note?: boolean;
710
712
  media?: Json | null;
711
713
  mentioned_ids?: string[] | null;
@@ -727,6 +729,7 @@ export type Database = {
727
729
  body?: string | null;
728
730
  chat_id?: string | null;
729
731
  from_me?: boolean | null;
732
+ is_deleted?: boolean | null;
730
733
  is_private_note?: boolean;
731
734
  media?: Json | null;
732
735
  mentioned_ids?: string[] | null;
@@ -837,6 +840,7 @@ export type Database = {
837
840
  label_ids: Json | null;
838
841
  latest_message_timestamp: string | null;
839
842
  org_id: string;
843
+ snooze_metadata: Json | null;
840
844
  updated_at: string | null;
841
845
  zohodesk_metadata: Json | null;
842
846
  };
@@ -856,6 +860,7 @@ export type Database = {
856
860
  label_ids?: Json | null;
857
861
  latest_message_timestamp?: string | null;
858
862
  org_id: string;
863
+ snooze_metadata?: Json | null;
859
864
  updated_at?: string | null;
860
865
  zohodesk_metadata?: Json | null;
861
866
  };
@@ -875,6 +880,7 @@ export type Database = {
875
880
  label_ids?: Json | null;
876
881
  latest_message_timestamp?: string | null;
877
882
  org_id?: string;
883
+ snooze_metadata?: Json | null;
878
884
  updated_at?: string | null;
879
885
  zohodesk_metadata?: Json | null;
880
886
  };
@@ -1884,63 +1890,6 @@ export type Database = {
1884
1890
  }
1885
1891
  ];
1886
1892
  };
1887
- tbl_org_workflows: {
1888
- Row: {
1889
- actions: Json;
1890
- created_at: string;
1891
- deleted_at: string | null;
1892
- id: string;
1893
- is_active: boolean;
1894
- name: string;
1895
- org_id: string;
1896
- trigger: string;
1897
- trigger_metadata: Json;
1898
- updated_at: string;
1899
- updated_by: string;
1900
- };
1901
- Insert: {
1902
- actions?: Json;
1903
- created_at?: string;
1904
- deleted_at?: string | null;
1905
- id?: string;
1906
- is_active?: boolean;
1907
- name: string;
1908
- org_id: string;
1909
- trigger: string;
1910
- trigger_metadata?: Json;
1911
- updated_at?: string;
1912
- updated_by: string;
1913
- };
1914
- Update: {
1915
- actions?: Json;
1916
- created_at?: string;
1917
- deleted_at?: string | null;
1918
- id?: string;
1919
- is_active?: boolean;
1920
- name?: string;
1921
- org_id?: string;
1922
- trigger?: string;
1923
- trigger_metadata?: Json;
1924
- updated_at?: string;
1925
- updated_by?: string;
1926
- };
1927
- Relationships: [
1928
- {
1929
- foreignKeyName: "tbl_org_workflows_org_id_fkey";
1930
- columns: ["org_id"];
1931
- isOneToOne: false;
1932
- referencedRelation: "tbl_org";
1933
- referencedColumns: ["org_id"];
1934
- },
1935
- {
1936
- foreignKeyName: "tbl_org_workflows_org_id_fkey";
1937
- columns: ["org_id"];
1938
- isOneToOne: false;
1939
- referencedRelation: "view_org";
1940
- referencedColumns: ["org_id"];
1941
- }
1942
- ];
1943
- };
1944
1893
  tbl_quick_replies: {
1945
1894
  Row: {
1946
1895
  command: string | null;
@@ -2232,6 +2181,7 @@ export type Database = {
2232
2181
  flag_count_map: Json | null;
2233
2182
  freshdesk_metadata: Json | null;
2234
2183
  group_description: string | null;
2184
+ group_metadata: Json | null;
2235
2185
  hubspot_metadata: Json | null;
2236
2186
  info_admins_only: boolean | null;
2237
2187
  initiated_by: string | null;
@@ -2246,6 +2196,7 @@ export type Database = {
2246
2196
  org_id: string | null;
2247
2197
  org_phone: string | null;
2248
2198
  pinned_messages: Json | null;
2199
+ snooze_metadata: Json | null;
2249
2200
  updated_at: string | null;
2250
2201
  zohodesk_metadata: Json | null;
2251
2202
  };
@@ -2789,7 +2740,7 @@ export type Database = {
2789
2740
  enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
2790
2741
  enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
2791
2742
  enum_credit_transaction_type: "credit" | "debit";
2792
- enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "org.subscription.trial_will_end" | "chat.created" | "chat.updated" | "chat.notification.created" | "message.created" | "message.updated" | "message.deleted" | "message.ack.updated" | "reaction.created" | "reaction.updated" | "ticket.created" | "ticket.updated" | "ticket.deleted" | "org.integrations.updated" | "message.flagged" | "message.unflagged" | "chat.label.updated" | "reaction.added" | "message.ticket.attached" | "org.phone.created" | "org.phone.updated" | "org.phone.connected" | "org.phone.disconnected" | "org.phone.qr";
2743
+ enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "org.subscription.trial_will_end" | "chat.created" | "chat.updated" | "chat.notification.created" | "message.created" | "message.updated" | "message.deleted" | "message.ack.updated" | "reaction.created" | "reaction.updated" | "ticket.created" | "ticket.updated" | "ticket.deleted" | "org.integrations.updated" | "message.flagged" | "message.unflagged" | "chat.label.updated" | "reaction.added" | "message.ticket.attached" | "org.phone.created" | "org.phone.connected" | "org.phone.disconnected" | "org.phone.qr" | "org.phone.updated";
2793
2744
  enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "gsheets";
2794
2745
  enum_member_role: "admin" | "member";
2795
2746
  };
@@ -3295,7 +3246,7 @@ export declare const Constants: {
3295
3246
  readonly enum_chat_colors: readonly ["#B4876E", "#A5B337", "#06CF9C", "#25D366", "#02A698", "#7D9EF1", "#007BFC", "#5E47DE", "#7F66FF", "#9333EA", "#FA6533", "#C4532D", "#DC2626", "#FF2E74", "#DB2777"];
3296
3247
  readonly enum_chat_tickets_status: readonly ["open", "inprogress", "closed", "archived"];
3297
3248
  readonly enum_credit_transaction_type: readonly ["credit", "debit"];
3298
- readonly enum_integration_name: readonly ["org.created", "org.updated", "org.member.created", "org.member.updated", "org.phone.created", "org.phone.connected", "org.phone.disconnected", "org.subscription.trial_will_end", "chat.created", "chat.updated", "chat.notification.created", "message.created", "message.updated", "message.deleted", "message.ack.updated", "reaction.created", "reaction.updated", "ticket.created", "ticket.updated", "ticket.deleted", "org.integrations.updated", "message.flagged", "message.unflagged", "chat.label.updated", "reaction.added", "message.ticket.attached", "org.phone.qr"];
3249
+ readonly enum_integration_name: readonly ["org.created", "org.updated", "org.member.created", "org.member.updated", "org.subscription.trial_will_end", "chat.created", "chat.updated", "chat.notification.created", "message.created", "message.updated", "message.deleted", "message.ack.updated", "reaction.created", "reaction.updated", "ticket.created", "ticket.updated", "ticket.deleted", "org.integrations.updated", "message.flagged", "message.unflagged", "chat.label.updated", "reaction.added", "message.ticket.attached", "org.phone.created", "org.phone.connected", "org.phone.disconnected", "org.phone.qr", "org.phone.updated"];
3299
3250
  readonly enum_integration_type: readonly ["zapier", "pabbly", "api", "webhook", "hubspot", "freshdesk", "slack", "jira", "salesforce", "zohodesk", "gsheets"];
3300
3251
  readonly enum_member_role: readonly ["admin", "member"];
3301
3252
  };