@periskope/types 0.6.187 → 0.6.188
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/supabase.types.d.ts +8 -3
- package/dist/types.d.ts +27 -0
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1887 -1887
- package/supabase.types.ts +3097 -3092
- package/types.ts +964 -935
package/dist/supabase.types.d.ts
CHANGED
|
@@ -829,12 +829,14 @@ export type Database = {
|
|
|
829
829
|
closed_at: number | null;
|
|
830
830
|
custom_properties: Json | null;
|
|
831
831
|
flag_count_map: Json | null;
|
|
832
|
+
freshdesk_metadata: Json | null;
|
|
832
833
|
hubspot_metadata: Json | null;
|
|
833
834
|
label_ids: Json | null;
|
|
834
835
|
latest_message_timestamp: string | null;
|
|
835
836
|
org_id: string;
|
|
836
837
|
unread_count: Json | null;
|
|
837
838
|
updated_at: string | null;
|
|
839
|
+
zohodesk_metadata: Json | null;
|
|
838
840
|
};
|
|
839
841
|
Insert: {
|
|
840
842
|
assigned_to?: string | null;
|
|
@@ -847,12 +849,14 @@ export type Database = {
|
|
|
847
849
|
closed_at?: number | null;
|
|
848
850
|
custom_properties?: Json | null;
|
|
849
851
|
flag_count_map?: Json | null;
|
|
852
|
+
freshdesk_metadata?: Json | null;
|
|
850
853
|
hubspot_metadata?: Json | null;
|
|
851
854
|
label_ids?: Json | null;
|
|
852
855
|
latest_message_timestamp?: string | null;
|
|
853
856
|
org_id: string;
|
|
854
857
|
unread_count?: Json | null;
|
|
855
858
|
updated_at?: string | null;
|
|
859
|
+
zohodesk_metadata?: Json | null;
|
|
856
860
|
};
|
|
857
861
|
Update: {
|
|
858
862
|
assigned_to?: string | null;
|
|
@@ -865,12 +869,14 @@ export type Database = {
|
|
|
865
869
|
closed_at?: number | null;
|
|
866
870
|
custom_properties?: Json | null;
|
|
867
871
|
flag_count_map?: Json | null;
|
|
872
|
+
freshdesk_metadata?: Json | null;
|
|
868
873
|
hubspot_metadata?: Json | null;
|
|
869
874
|
label_ids?: Json | null;
|
|
870
875
|
latest_message_timestamp?: string | null;
|
|
871
876
|
org_id?: string;
|
|
872
877
|
unread_count?: Json | null;
|
|
873
878
|
updated_at?: string | null;
|
|
879
|
+
zohodesk_metadata?: Json | null;
|
|
874
880
|
};
|
|
875
881
|
Relationships: [];
|
|
876
882
|
};
|
|
@@ -2143,6 +2149,7 @@ export type Database = {
|
|
|
2143
2149
|
created_at: string | null;
|
|
2144
2150
|
custom_properties: Json | null;
|
|
2145
2151
|
flag_count_map: Json | null;
|
|
2152
|
+
freshdesk_metadata: Json | null;
|
|
2146
2153
|
group_description: string | null;
|
|
2147
2154
|
hubspot_metadata: Json | null;
|
|
2148
2155
|
info_admins_only: boolean | null;
|
|
@@ -2157,6 +2164,7 @@ export type Database = {
|
|
|
2157
2164
|
org_id: string | null;
|
|
2158
2165
|
org_phone: string | null;
|
|
2159
2166
|
updated_at: string | null;
|
|
2167
|
+
zohodesk_metadata: Json | null;
|
|
2160
2168
|
};
|
|
2161
2169
|
Relationships: [];
|
|
2162
2170
|
};
|
|
@@ -2687,7 +2695,6 @@ export type Database = {
|
|
|
2687
2695
|
owner_id: string | null;
|
|
2688
2696
|
path_tokens: string[] | null;
|
|
2689
2697
|
updated_at: string | null;
|
|
2690
|
-
user_metadata: Json | null;
|
|
2691
2698
|
version: string | null;
|
|
2692
2699
|
};
|
|
2693
2700
|
Insert: {
|
|
@@ -2701,7 +2708,6 @@ export type Database = {
|
|
|
2701
2708
|
owner_id?: string | null;
|
|
2702
2709
|
path_tokens?: string[] | null;
|
|
2703
2710
|
updated_at?: string | null;
|
|
2704
|
-
user_metadata?: Json | null;
|
|
2705
2711
|
version?: string | null;
|
|
2706
2712
|
};
|
|
2707
2713
|
Update: {
|
|
@@ -2715,7 +2721,6 @@ export type Database = {
|
|
|
2715
2721
|
owner_id?: string | null;
|
|
2716
2722
|
path_tokens?: string[] | null;
|
|
2717
2723
|
updated_at?: string | null;
|
|
2718
|
-
user_metadata?: Json | null;
|
|
2719
2724
|
version?: string | null;
|
|
2720
2725
|
};
|
|
2721
2726
|
Relationships: [
|
package/dist/types.d.ts
CHANGED
|
@@ -165,6 +165,8 @@ export type ChatType = Merge<Tables<'view_chats'>, {
|
|
|
165
165
|
is_pinned?: boolean;
|
|
166
166
|
closed_at?: number | null;
|
|
167
167
|
common_chats?: string[];
|
|
168
|
+
freshdesk_metadata?: Record<string, any>;
|
|
169
|
+
zohodesk_metadata?: Record<string, any>;
|
|
168
170
|
}>;
|
|
169
171
|
export type MediaType = {
|
|
170
172
|
path?: string;
|
|
@@ -618,4 +620,29 @@ export type TaskType = OverrideProperties<Tables<'tbl_org_tasks'>, {
|
|
|
618
620
|
} | null;
|
|
619
621
|
type: 'todo' | 'chat' | 'message' | 'ticket';
|
|
620
622
|
}>;
|
|
623
|
+
type Choice = {
|
|
624
|
+
id: number;
|
|
625
|
+
label: string;
|
|
626
|
+
value: string;
|
|
627
|
+
position: number;
|
|
628
|
+
};
|
|
629
|
+
export type FreshdeskCustomFieldType = {
|
|
630
|
+
id: number;
|
|
631
|
+
name: string;
|
|
632
|
+
label: string;
|
|
633
|
+
position: number;
|
|
634
|
+
required_for_agents: boolean;
|
|
635
|
+
archived: boolean;
|
|
636
|
+
customers_can_edit: boolean;
|
|
637
|
+
label_for_customers: string;
|
|
638
|
+
required_for_customers: boolean;
|
|
639
|
+
customers_can_filter: boolean;
|
|
640
|
+
required_for_closure: boolean;
|
|
641
|
+
displayed_to_customers: boolean;
|
|
642
|
+
type: string;
|
|
643
|
+
default: boolean;
|
|
644
|
+
created_at: string;
|
|
645
|
+
updated_at: string;
|
|
646
|
+
choices?: Choice[];
|
|
647
|
+
};
|
|
621
648
|
export {};
|
package/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './rules.types';
|
|
2
|
-
export * from './supabase.types';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './rules.types';
|
|
2
|
+
export * from './supabase.types';
|
|
3
|
+
export * from './types';
|