@periskope/types 0.6.113 → 0.6.114

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.
@@ -689,7 +689,6 @@ export type Database = {
689
689
  closed_at: string | null;
690
690
  created_at: string;
691
691
  due_date: string | null;
692
- freshdesk_metadata: Json | null;
693
692
  hubspot_metadata: Json | null;
694
693
  is_deleted: boolean;
695
694
  label_ids: Json | null;
@@ -702,7 +701,7 @@ export type Database = {
702
701
  status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
703
702
  subject: string;
704
703
  ticket_id: string;
705
- zohodesk_metadata: Json | null;
704
+ ticket_metadata: Json | null;
706
705
  };
707
706
  Insert: {
708
707
  assigned_by?: string | null;
@@ -712,7 +711,6 @@ export type Database = {
712
711
  closed_at?: string | null;
713
712
  created_at?: string;
714
713
  due_date?: string | null;
715
- freshdesk_metadata?: Json | null;
716
714
  hubspot_metadata?: Json | null;
717
715
  is_deleted?: boolean;
718
716
  label_ids?: Json | null;
@@ -725,7 +723,7 @@ export type Database = {
725
723
  status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
726
724
  subject: string;
727
725
  ticket_id?: string;
728
- zohodesk_metadata?: Json | null;
726
+ ticket_metadata?: Json | null;
729
727
  };
730
728
  Update: {
731
729
  assigned_by?: string | null;
@@ -735,7 +733,6 @@ export type Database = {
735
733
  closed_at?: string | null;
736
734
  created_at?: string;
737
735
  due_date?: string | null;
738
- freshdesk_metadata?: Json | null;
739
736
  hubspot_metadata?: Json | null;
740
737
  is_deleted?: boolean;
741
738
  label_ids?: Json | null;
@@ -748,7 +745,7 @@ export type Database = {
748
745
  status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
749
746
  subject?: string;
750
747
  ticket_id?: string;
751
- zohodesk_metadata?: Json | null;
748
+ ticket_metadata?: Json | null;
752
749
  };
753
750
  Relationships: [
754
751
  {
@@ -1577,9 +1574,7 @@ export type Database = {
1577
1574
  created_at: string | null;
1578
1575
  is_enterprise: boolean | null;
1579
1576
  is_free_trial: boolean | null;
1580
- is_freshdesk_connected: boolean | null;
1581
1577
  is_hubspot_connected: boolean | null;
1582
- is_zohodesk_connected: boolean | null;
1583
1578
  org_id: string | null;
1584
1579
  org_image: string | null;
1585
1580
  org_metadata: Json | null;
@@ -1600,9 +1595,7 @@ export type Database = {
1600
1595
  created_at?: string | null;
1601
1596
  is_enterprise?: never;
1602
1597
  is_free_trial?: never;
1603
- is_freshdesk_connected?: never;
1604
1598
  is_hubspot_connected?: never;
1605
- is_zohodesk_connected?: never;
1606
1599
  org_id?: string | null;
1607
1600
  org_image?: string | null;
1608
1601
  org_metadata?: Json | null;
@@ -1623,9 +1616,7 @@ export type Database = {
1623
1616
  created_at?: string | null;
1624
1617
  is_enterprise?: never;
1625
1618
  is_free_trial?: never;
1626
- is_freshdesk_connected?: never;
1627
1619
  is_hubspot_connected?: never;
1628
- is_zohodesk_connected?: never;
1629
1620
  org_id?: string | null;
1630
1621
  org_image?: string | null;
1631
1622
  org_metadata?: Json | null;
@@ -1842,8 +1833,8 @@ export type Database = {
1842
1833
  enum_broadcast_status: "inprogress" | "completed" | "stopped";
1843
1834
  enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
1844
1835
  enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
1845
- enum_integration_name: "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";
1846
- enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk";
1836
+ enum_integration_name: "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";
1837
+ enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce";
1847
1838
  enum_member_role: "admin" | "member";
1848
1839
  };
1849
1840
  CompositeTypes: {
package/dist/types.d.ts CHANGED
@@ -82,8 +82,6 @@ export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
82
82
  is_enterprise: boolean;
83
83
  is_free_trial: boolean;
84
84
  is_hubspot_connected: boolean;
85
- is_freshdesk_connected: boolean;
86
- is_zohodesk_connected: boolean;
87
85
  access_scopes: AccessScopes;
88
86
  }>, {
89
87
  org_plan: OrgPlan<AllPlans | Enterprise>;
@@ -166,7 +164,6 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
166
164
  };
167
165
  object_data?: HubspotObjectDataType;
168
166
  } | null;
169
- freshdesk_metadata: Record<string, string>;
170
167
  close_ticket_metadata?: {
171
168
  closed_by: string;
172
169
  closed_at: string;
@@ -183,7 +180,7 @@ export type NotificationType = Tables<'tbl_chat_notifications'>;
183
180
  export type ChatAccessType = Merge<Partial<Tables<'tbl_chat_access'>>, Tables<'tbl_org_members'>>;
184
181
  export declare const labelColors: string[];
185
182
  export declare const enumChatColors: readonly ["#B4876E", "#A5B337", "#06CF9C", "#25D366", "#02A698", "#7D9EF1", "#007BFC", "#5E47DE", "#7F66FF", "#9333EA", "#FA6533", "#C4532D", "#DC2626", "#FF2E74", "#DB2777"];
186
- export declare const SUPPORTED_TYPES: readonly ["chat", "sticker", "image", "video", "document", "vcard", "multi_vcard", "audio", "ptt", "poll_creation", "location"];
183
+ export declare const SUPPORTED_TYPES: readonly ["chat", "sticker", "image", "video", "document", "vcard", "multi_vcard", "audio", "ptt", "poll_creation", "location", "ciphertext"];
187
184
  export type SendMessageContent = {
188
185
  message_type?: (typeof SUPPORTED_TYPES)[number];
189
186
  body?: string;
package/dist/types.js CHANGED
@@ -54,6 +54,7 @@ exports.SUPPORTED_TYPES = [
54
54
  'ptt',
55
55
  'poll_creation',
56
56
  'location',
57
+ 'ciphertext'
57
58
  ];
58
59
  var IntegrationLogType;
59
60
  (function (IntegrationLogType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.113",
3
+ "version": "0.6.114",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",