@periskope/types 0.6.260 → 0.6.262
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 +107 -174
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/supabase.types.js +0 -76
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +19 -19
- package/src/index.ts +4 -4
- package/src/object.types.ts +100 -100
- package/src/rules.types.ts +2109 -2109
- package/src/supabase.types.ts +202 -277
- package/src/types.ts +1232 -1231
- package/tsconfig.json +18 -18
- package/tsconfig.tsbuildinfo +1 -0
- package/update_package.ps1 +21 -21
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,6 +2,31 @@ export type Json = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
} | any;
|
|
4
4
|
export type Database = {
|
|
5
|
+
graphql_public: {
|
|
6
|
+
Tables: {
|
|
7
|
+
[_ in never]: never;
|
|
8
|
+
};
|
|
9
|
+
Views: {
|
|
10
|
+
[_ in never]: never;
|
|
11
|
+
};
|
|
12
|
+
Functions: {
|
|
13
|
+
graphql: {
|
|
14
|
+
Args: {
|
|
15
|
+
operationName?: string;
|
|
16
|
+
query?: string;
|
|
17
|
+
variables?: Json;
|
|
18
|
+
extensions?: Json;
|
|
19
|
+
};
|
|
20
|
+
Returns: Json;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
Enums: {
|
|
24
|
+
[_ in never]: never;
|
|
25
|
+
};
|
|
26
|
+
CompositeTypes: {
|
|
27
|
+
[_ in never]: never;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
5
30
|
internal: {
|
|
6
31
|
Tables: {
|
|
7
32
|
config: {
|
|
@@ -188,6 +213,45 @@ export type Database = {
|
|
|
188
213
|
};
|
|
189
214
|
public: {
|
|
190
215
|
Tables: {
|
|
216
|
+
tbl_ai_contexts: {
|
|
217
|
+
Row: {
|
|
218
|
+
answer: string;
|
|
219
|
+
attachments: string[] | null;
|
|
220
|
+
context_id: string;
|
|
221
|
+
created_at: string | null;
|
|
222
|
+
document_id: string | null;
|
|
223
|
+
embedding: string;
|
|
224
|
+
metadata: Json | null;
|
|
225
|
+
org_id: string;
|
|
226
|
+
question: string;
|
|
227
|
+
type: Database["public"]["Enums"]["enum_ai_context_type"] | null;
|
|
228
|
+
};
|
|
229
|
+
Insert: {
|
|
230
|
+
answer: string;
|
|
231
|
+
attachments?: string[] | null;
|
|
232
|
+
context_id?: string;
|
|
233
|
+
created_at?: string | null;
|
|
234
|
+
document_id?: string | null;
|
|
235
|
+
embedding: string;
|
|
236
|
+
metadata?: Json | null;
|
|
237
|
+
org_id: string;
|
|
238
|
+
question: string;
|
|
239
|
+
type?: Database["public"]["Enums"]["enum_ai_context_type"] | null;
|
|
240
|
+
};
|
|
241
|
+
Update: {
|
|
242
|
+
answer?: string;
|
|
243
|
+
attachments?: string[] | null;
|
|
244
|
+
context_id?: string;
|
|
245
|
+
created_at?: string | null;
|
|
246
|
+
document_id?: string | null;
|
|
247
|
+
embedding?: string;
|
|
248
|
+
metadata?: Json | null;
|
|
249
|
+
org_id?: string;
|
|
250
|
+
question?: string;
|
|
251
|
+
type?: Database["public"]["Enums"]["enum_ai_context_type"] | null;
|
|
252
|
+
};
|
|
253
|
+
Relationships: [];
|
|
254
|
+
};
|
|
191
255
|
tbl_api_logs: {
|
|
192
256
|
Row: {
|
|
193
257
|
org_id: string;
|
|
@@ -822,6 +886,7 @@ export type Database = {
|
|
|
822
886
|
};
|
|
823
887
|
tbl_chat_properties: {
|
|
824
888
|
Row: {
|
|
889
|
+
ai_metadata: Json | null;
|
|
825
890
|
assigned_to: string | null;
|
|
826
891
|
chat_access: Json | null;
|
|
827
892
|
chat_id: string;
|
|
@@ -841,6 +906,7 @@ export type Database = {
|
|
|
841
906
|
zohodesk_metadata: Json | null;
|
|
842
907
|
};
|
|
843
908
|
Insert: {
|
|
909
|
+
ai_metadata?: Json | null;
|
|
844
910
|
assigned_to?: string | null;
|
|
845
911
|
chat_access?: Json | null;
|
|
846
912
|
chat_id: string;
|
|
@@ -860,6 +926,7 @@ export type Database = {
|
|
|
860
926
|
zohodesk_metadata?: Json | null;
|
|
861
927
|
};
|
|
862
928
|
Update: {
|
|
929
|
+
ai_metadata?: Json | null;
|
|
863
930
|
assigned_to?: string | null;
|
|
864
931
|
chat_access?: Json | null;
|
|
865
932
|
chat_id?: string;
|
|
@@ -1133,7 +1200,7 @@ export type Database = {
|
|
|
1133
1200
|
is_my_contact: boolean | null;
|
|
1134
1201
|
is_user: boolean | null;
|
|
1135
1202
|
is_wa_contact: boolean | null;
|
|
1136
|
-
label_ids: Json;
|
|
1203
|
+
label_ids: Json | null;
|
|
1137
1204
|
name: string | null;
|
|
1138
1205
|
number: string | null;
|
|
1139
1206
|
org_id: string;
|
|
@@ -1162,7 +1229,7 @@ export type Database = {
|
|
|
1162
1229
|
is_my_contact?: boolean | null;
|
|
1163
1230
|
is_user?: boolean | null;
|
|
1164
1231
|
is_wa_contact?: boolean | null;
|
|
1165
|
-
label_ids?: Json;
|
|
1232
|
+
label_ids?: Json | null;
|
|
1166
1233
|
name?: string | null;
|
|
1167
1234
|
number?: string | null;
|
|
1168
1235
|
org_id: string;
|
|
@@ -1191,7 +1258,7 @@ export type Database = {
|
|
|
1191
1258
|
is_my_contact?: boolean | null;
|
|
1192
1259
|
is_user?: boolean | null;
|
|
1193
1260
|
is_wa_contact?: boolean | null;
|
|
1194
|
-
label_ids?: Json;
|
|
1261
|
+
label_ids?: Json | null;
|
|
1195
1262
|
name?: string | null;
|
|
1196
1263
|
number?: string | null;
|
|
1197
1264
|
org_id?: string;
|
|
@@ -1641,6 +1708,13 @@ export type Database = {
|
|
|
1641
1708
|
user_id?: string | null;
|
|
1642
1709
|
};
|
|
1643
1710
|
Relationships: [
|
|
1711
|
+
{
|
|
1712
|
+
foreignKeyName: "tbl_org_members_fkey_auth_users";
|
|
1713
|
+
columns: ["user_id"];
|
|
1714
|
+
isOneToOne: false;
|
|
1715
|
+
referencedRelation: "users";
|
|
1716
|
+
referencedColumns: ["id"];
|
|
1717
|
+
},
|
|
1644
1718
|
{
|
|
1645
1719
|
foreignKeyName: "tbl_org_members_fkey_tbl_org";
|
|
1646
1720
|
columns: ["org_id"];
|
|
@@ -2162,6 +2236,7 @@ export type Database = {
|
|
|
2162
2236
|
view_chats: {
|
|
2163
2237
|
Row: {
|
|
2164
2238
|
add_members_admins_only: boolean | null;
|
|
2239
|
+
ai_metadata: Json | null;
|
|
2165
2240
|
assigned_to: string | null;
|
|
2166
2241
|
chat_access: Json | null;
|
|
2167
2242
|
chat_id: string | null;
|
|
@@ -2520,6 +2595,13 @@ export type Database = {
|
|
|
2520
2595
|
};
|
|
2521
2596
|
Returns: Json;
|
|
2522
2597
|
};
|
|
2598
|
+
get_relevant_context: {
|
|
2599
|
+
Args: {
|
|
2600
|
+
org_id_input: string;
|
|
2601
|
+
query_embedding_input: string;
|
|
2602
|
+
};
|
|
2603
|
+
Returns: Json;
|
|
2604
|
+
};
|
|
2523
2605
|
get_team_metrics_between_dates: {
|
|
2524
2606
|
Args: {
|
|
2525
2607
|
org_id_input: string;
|
|
@@ -2728,11 +2810,12 @@ export type Database = {
|
|
|
2728
2810
|
};
|
|
2729
2811
|
};
|
|
2730
2812
|
Enums: {
|
|
2813
|
+
enum_ai_context_type: "faq" | "document";
|
|
2731
2814
|
enum_broadcast_status: "inprogress" | "completed" | "stopped" | "expired";
|
|
2732
2815
|
enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
|
|
2733
2816
|
enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
|
|
2734
2817
|
enum_credit_transaction_type: "credit" | "debit";
|
|
2735
|
-
enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "org.
|
|
2818
|
+
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";
|
|
2736
2819
|
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "gsheets";
|
|
2737
2820
|
enum_member_role: "admin" | "member";
|
|
2738
2821
|
};
|
|
@@ -2808,7 +2891,6 @@ export type Database = {
|
|
|
2808
2891
|
created_at: string | null;
|
|
2809
2892
|
id: string;
|
|
2810
2893
|
last_accessed_at: string | null;
|
|
2811
|
-
level: number | null;
|
|
2812
2894
|
metadata: Json | null;
|
|
2813
2895
|
name: string | null;
|
|
2814
2896
|
owner: string | null;
|
|
@@ -2823,7 +2905,6 @@ export type Database = {
|
|
|
2823
2905
|
created_at?: string | null;
|
|
2824
2906
|
id?: string;
|
|
2825
2907
|
last_accessed_at?: string | null;
|
|
2826
|
-
level?: number | null;
|
|
2827
2908
|
metadata?: Json | null;
|
|
2828
2909
|
name?: string | null;
|
|
2829
2910
|
owner?: string | null;
|
|
@@ -2838,7 +2919,6 @@ export type Database = {
|
|
|
2838
2919
|
created_at?: string | null;
|
|
2839
2920
|
id?: string;
|
|
2840
2921
|
last_accessed_at?: string | null;
|
|
2841
|
-
level?: number | null;
|
|
2842
2922
|
metadata?: Json | null;
|
|
2843
2923
|
name?: string | null;
|
|
2844
2924
|
owner?: string | null;
|
|
@@ -2858,38 +2938,6 @@ export type Database = {
|
|
|
2858
2938
|
}
|
|
2859
2939
|
];
|
|
2860
2940
|
};
|
|
2861
|
-
prefixes: {
|
|
2862
|
-
Row: {
|
|
2863
|
-
bucket_id: string;
|
|
2864
|
-
created_at: string | null;
|
|
2865
|
-
level: number;
|
|
2866
|
-
name: string;
|
|
2867
|
-
updated_at: string | null;
|
|
2868
|
-
};
|
|
2869
|
-
Insert: {
|
|
2870
|
-
bucket_id: string;
|
|
2871
|
-
created_at?: string | null;
|
|
2872
|
-
level?: number;
|
|
2873
|
-
name: string;
|
|
2874
|
-
updated_at?: string | null;
|
|
2875
|
-
};
|
|
2876
|
-
Update: {
|
|
2877
|
-
bucket_id?: string;
|
|
2878
|
-
created_at?: string | null;
|
|
2879
|
-
level?: number;
|
|
2880
|
-
name?: string;
|
|
2881
|
-
updated_at?: string | null;
|
|
2882
|
-
};
|
|
2883
|
-
Relationships: [
|
|
2884
|
-
{
|
|
2885
|
-
foreignKeyName: "prefixes_bucketId_fkey";
|
|
2886
|
-
columns: ["bucket_id"];
|
|
2887
|
-
isOneToOne: false;
|
|
2888
|
-
referencedRelation: "buckets";
|
|
2889
|
-
referencedColumns: ["id"];
|
|
2890
|
-
}
|
|
2891
|
-
];
|
|
2892
|
-
};
|
|
2893
2941
|
s3_multipart_uploads: {
|
|
2894
2942
|
Row: {
|
|
2895
2943
|
bucket_id: string;
|
|
@@ -2993,13 +3041,6 @@ export type Database = {
|
|
|
2993
3041
|
[_ in never]: never;
|
|
2994
3042
|
};
|
|
2995
3043
|
Functions: {
|
|
2996
|
-
add_prefixes: {
|
|
2997
|
-
Args: {
|
|
2998
|
-
_bucket_id: string;
|
|
2999
|
-
_name: string;
|
|
3000
|
-
};
|
|
3001
|
-
Returns: undefined;
|
|
3002
|
-
};
|
|
3003
3044
|
can_insert_object: {
|
|
3004
3045
|
Args: {
|
|
3005
3046
|
bucketid: string;
|
|
@@ -3009,13 +3050,6 @@ export type Database = {
|
|
|
3009
3050
|
};
|
|
3010
3051
|
Returns: undefined;
|
|
3011
3052
|
};
|
|
3012
|
-
delete_prefix: {
|
|
3013
|
-
Args: {
|
|
3014
|
-
_bucket_id: string;
|
|
3015
|
-
_name: string;
|
|
3016
|
-
};
|
|
3017
|
-
Returns: boolean;
|
|
3018
|
-
};
|
|
3019
3053
|
extension: {
|
|
3020
3054
|
Args: {
|
|
3021
3055
|
name: string;
|
|
@@ -3034,24 +3068,6 @@ export type Database = {
|
|
|
3034
3068
|
};
|
|
3035
3069
|
Returns: string[];
|
|
3036
3070
|
};
|
|
3037
|
-
get_level: {
|
|
3038
|
-
Args: {
|
|
3039
|
-
name: string;
|
|
3040
|
-
};
|
|
3041
|
-
Returns: number;
|
|
3042
|
-
};
|
|
3043
|
-
get_prefix: {
|
|
3044
|
-
Args: {
|
|
3045
|
-
name: string;
|
|
3046
|
-
};
|
|
3047
|
-
Returns: string;
|
|
3048
|
-
};
|
|
3049
|
-
get_prefixes: {
|
|
3050
|
-
Args: {
|
|
3051
|
-
name: string;
|
|
3052
|
-
};
|
|
3053
|
-
Returns: string[];
|
|
3054
|
-
};
|
|
3055
3071
|
get_size_by_bucket: {
|
|
3056
3072
|
Args: Record<PropertyKey, never>;
|
|
3057
3073
|
Returns: {
|
|
@@ -3114,63 +3130,6 @@ export type Database = {
|
|
|
3114
3130
|
metadata: Json;
|
|
3115
3131
|
}[];
|
|
3116
3132
|
};
|
|
3117
|
-
search_legacy_v1: {
|
|
3118
|
-
Args: {
|
|
3119
|
-
prefix: string;
|
|
3120
|
-
bucketname: string;
|
|
3121
|
-
limits?: number;
|
|
3122
|
-
levels?: number;
|
|
3123
|
-
offsets?: number;
|
|
3124
|
-
search?: string;
|
|
3125
|
-
sortcolumn?: string;
|
|
3126
|
-
sortorder?: string;
|
|
3127
|
-
};
|
|
3128
|
-
Returns: {
|
|
3129
|
-
name: string;
|
|
3130
|
-
id: string;
|
|
3131
|
-
updated_at: string;
|
|
3132
|
-
created_at: string;
|
|
3133
|
-
last_accessed_at: string;
|
|
3134
|
-
metadata: Json;
|
|
3135
|
-
}[];
|
|
3136
|
-
};
|
|
3137
|
-
search_v1_optimised: {
|
|
3138
|
-
Args: {
|
|
3139
|
-
prefix: string;
|
|
3140
|
-
bucketname: string;
|
|
3141
|
-
limits?: number;
|
|
3142
|
-
levels?: number;
|
|
3143
|
-
offsets?: number;
|
|
3144
|
-
search?: string;
|
|
3145
|
-
sortcolumn?: string;
|
|
3146
|
-
sortorder?: string;
|
|
3147
|
-
};
|
|
3148
|
-
Returns: {
|
|
3149
|
-
name: string;
|
|
3150
|
-
id: string;
|
|
3151
|
-
updated_at: string;
|
|
3152
|
-
created_at: string;
|
|
3153
|
-
last_accessed_at: string;
|
|
3154
|
-
metadata: Json;
|
|
3155
|
-
}[];
|
|
3156
|
-
};
|
|
3157
|
-
search_v2: {
|
|
3158
|
-
Args: {
|
|
3159
|
-
prefix: string;
|
|
3160
|
-
bucket_name: string;
|
|
3161
|
-
limits?: number;
|
|
3162
|
-
levels?: number;
|
|
3163
|
-
start_after?: string;
|
|
3164
|
-
};
|
|
3165
|
-
Returns: {
|
|
3166
|
-
key: string;
|
|
3167
|
-
name: string;
|
|
3168
|
-
id: string;
|
|
3169
|
-
updated_at: string;
|
|
3170
|
-
created_at: string;
|
|
3171
|
-
metadata: Json;
|
|
3172
|
-
}[];
|
|
3173
|
-
};
|
|
3174
3133
|
};
|
|
3175
3134
|
Enums: {
|
|
3176
3135
|
[_ in never]: never;
|
|
@@ -3180,72 +3139,46 @@ export type Database = {
|
|
|
3180
3139
|
};
|
|
3181
3140
|
};
|
|
3182
3141
|
};
|
|
3183
|
-
type
|
|
3184
|
-
export type Tables<
|
|
3142
|
+
type PublicSchema = Database[Extract<keyof Database, "public">];
|
|
3143
|
+
export type Tables<PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & PublicSchema["Views"]) | {
|
|
3185
3144
|
schema: keyof Database;
|
|
3186
|
-
}, TableName extends
|
|
3145
|
+
}, TableName extends PublicTableNameOrOptions extends {
|
|
3187
3146
|
schema: keyof Database;
|
|
3188
|
-
} ? keyof (Database[
|
|
3147
|
+
} ? keyof (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"]) : never = never> = PublicTableNameOrOptions extends {
|
|
3189
3148
|
schema: keyof Database;
|
|
3190
|
-
} ? (Database[
|
|
3149
|
+
} ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
3191
3150
|
Row: infer R;
|
|
3192
|
-
} ? R : never :
|
|
3151
|
+
} ? R : never : PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & PublicSchema["Views"]) ? (PublicSchema["Tables"] & PublicSchema["Views"])[PublicTableNameOrOptions] extends {
|
|
3193
3152
|
Row: infer R;
|
|
3194
3153
|
} ? R : never : never;
|
|
3195
|
-
export type TablesInsert<
|
|
3154
|
+
export type TablesInsert<PublicTableNameOrOptions extends keyof PublicSchema["Tables"] | {
|
|
3196
3155
|
schema: keyof Database;
|
|
3197
|
-
}, TableName extends
|
|
3156
|
+
}, TableName extends PublicTableNameOrOptions extends {
|
|
3198
3157
|
schema: keyof Database;
|
|
3199
|
-
} ? keyof Database[
|
|
3158
|
+
} ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] : never = never> = PublicTableNameOrOptions extends {
|
|
3200
3159
|
schema: keyof Database;
|
|
3201
|
-
} ? Database[
|
|
3160
|
+
} ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
3202
3161
|
Insert: infer I;
|
|
3203
|
-
} ? I : never :
|
|
3162
|
+
} ? I : never : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] ? PublicSchema["Tables"][PublicTableNameOrOptions] extends {
|
|
3204
3163
|
Insert: infer I;
|
|
3205
3164
|
} ? I : never : never;
|
|
3206
|
-
export type TablesUpdate<
|
|
3165
|
+
export type TablesUpdate<PublicTableNameOrOptions extends keyof PublicSchema["Tables"] | {
|
|
3207
3166
|
schema: keyof Database;
|
|
3208
|
-
}, TableName extends
|
|
3167
|
+
}, TableName extends PublicTableNameOrOptions extends {
|
|
3209
3168
|
schema: keyof Database;
|
|
3210
|
-
} ? keyof Database[
|
|
3169
|
+
} ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] : never = never> = PublicTableNameOrOptions extends {
|
|
3211
3170
|
schema: keyof Database;
|
|
3212
|
-
} ? Database[
|
|
3171
|
+
} ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
3213
3172
|
Update: infer U;
|
|
3214
|
-
} ? U : never :
|
|
3173
|
+
} ? U : never : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] ? PublicSchema["Tables"][PublicTableNameOrOptions] extends {
|
|
3215
3174
|
Update: infer U;
|
|
3216
3175
|
} ? U : never : never;
|
|
3217
|
-
export type Enums<
|
|
3218
|
-
schema: keyof Database;
|
|
3219
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
3220
|
-
schema: keyof Database;
|
|
3221
|
-
} ? keyof Database[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
3176
|
+
export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] | {
|
|
3222
3177
|
schema: keyof Database;
|
|
3223
|
-
}
|
|
3224
|
-
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
3178
|
+
}, EnumName extends PublicEnumNameOrOptions extends {
|
|
3225
3179
|
schema: keyof Database;
|
|
3226
|
-
}
|
|
3180
|
+
} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
|
|
3227
3181
|
schema: keyof Database;
|
|
3228
|
-
} ?
|
|
3229
|
-
schema: keyof Database;
|
|
3230
|
-
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
3231
|
-
export declare const Constants: {
|
|
3232
|
-
readonly internal: {
|
|
3233
|
-
readonly Enums: {};
|
|
3234
|
-
};
|
|
3235
|
-
readonly public: {
|
|
3236
|
-
readonly Enums: {
|
|
3237
|
-
readonly enum_broadcast_status: readonly ["inprogress", "completed", "stopped", "expired"];
|
|
3238
|
-
readonly enum_chat_colors: readonly ["#B4876E", "#A5B337", "#06CF9C", "#25D366", "#02A698", "#7D9EF1", "#007BFC", "#5E47DE", "#7F66FF", "#9333EA", "#FA6533", "#C4532D", "#DC2626", "#FF2E74", "#DB2777"];
|
|
3239
|
-
readonly enum_chat_tickets_status: readonly ["open", "inprogress", "closed", "archived"];
|
|
3240
|
-
readonly enum_credit_transaction_type: readonly ["credit", "debit"];
|
|
3241
|
-
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"];
|
|
3242
|
-
readonly enum_integration_type: readonly ["zapier", "pabbly", "api", "webhook", "hubspot", "freshdesk", "slack", "jira", "salesforce", "zohodesk", "gsheets"];
|
|
3243
|
-
readonly enum_member_role: readonly ["admin", "member"];
|
|
3244
|
-
};
|
|
3245
|
-
};
|
|
3246
|
-
readonly storage: {
|
|
3247
|
-
readonly Enums: {};
|
|
3248
|
-
};
|
|
3249
|
-
};
|
|
3182
|
+
} ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] ? PublicSchema["Enums"][PublicEnumNameOrOptions] : never;
|
|
3250
3183
|
export {};
|
|
3251
3184
|
//# sourceMappingURL=supabase.types.d.ts.map
|