@periskope/types 0.6.148 → 0.6.150
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/rules.types.d.ts +15 -7
- package/dist/rules.types.js +149 -54
- package/dist/supabase.types.d.ts +13 -18
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/rules.types.ts +179 -61
- package/supabase.types.ts +2649 -2654
- package/types.ts +2 -0
package/dist/supabase.types.d.ts
CHANGED
|
@@ -334,6 +334,7 @@ export type Database = {
|
|
|
334
334
|
broadcast_status: Database["public"]["Enums"]["enum_broadcast_status"] | null;
|
|
335
335
|
chat_ids: string[] | null;
|
|
336
336
|
created_at: string;
|
|
337
|
+
delay: number | null;
|
|
337
338
|
message_payload: Json | null;
|
|
338
339
|
org_id: string;
|
|
339
340
|
org_phone: string | null;
|
|
@@ -347,6 +348,7 @@ export type Database = {
|
|
|
347
348
|
broadcast_status?: Database["public"]["Enums"]["enum_broadcast_status"] | null;
|
|
348
349
|
chat_ids?: string[] | null;
|
|
349
350
|
created_at?: string;
|
|
351
|
+
delay?: number | null;
|
|
350
352
|
message_payload?: Json | null;
|
|
351
353
|
org_id: string;
|
|
352
354
|
org_phone?: string | null;
|
|
@@ -360,6 +362,7 @@ export type Database = {
|
|
|
360
362
|
broadcast_status?: Database["public"]["Enums"]["enum_broadcast_status"] | null;
|
|
361
363
|
chat_ids?: string[] | null;
|
|
362
364
|
created_at?: string;
|
|
365
|
+
delay?: number | null;
|
|
363
366
|
message_payload?: Json | null;
|
|
364
367
|
org_id?: string;
|
|
365
368
|
org_phone?: string | null;
|
|
@@ -1909,6 +1912,13 @@ export type Database = {
|
|
|
1909
1912
|
};
|
|
1910
1913
|
};
|
|
1911
1914
|
Functions: {
|
|
1915
|
+
check_feature_flag_access: {
|
|
1916
|
+
Args: {
|
|
1917
|
+
org_id_input: string;
|
|
1918
|
+
feature_input: string;
|
|
1919
|
+
};
|
|
1920
|
+
Returns: boolean;
|
|
1921
|
+
};
|
|
1912
1922
|
create_partition: {
|
|
1913
1923
|
Args: {
|
|
1914
1924
|
org_id_input: string;
|
|
@@ -2029,17 +2039,12 @@ export type Database = {
|
|
|
2029
2039
|
Returns: Json;
|
|
2030
2040
|
};
|
|
2031
2041
|
get_feature_flags: {
|
|
2032
|
-
Args:
|
|
2042
|
+
Args: {
|
|
2043
|
+
org_id_input: string;
|
|
2044
|
+
};
|
|
2033
2045
|
Returns: {
|
|
2034
2046
|
feature: string;
|
|
2035
2047
|
enabled: boolean;
|
|
2036
|
-
plans: string[];
|
|
2037
|
-
excluded_orgs: string[];
|
|
2038
|
-
exclusive_to_orgs: string[];
|
|
2039
|
-
included_orgs: string[];
|
|
2040
|
-
percentage: number;
|
|
2041
|
-
start_date: string;
|
|
2042
|
-
created_at: string;
|
|
2043
2048
|
}[];
|
|
2044
2049
|
};
|
|
2045
2050
|
get_integration_data: {
|
|
@@ -2267,7 +2272,6 @@ export type Database = {
|
|
|
2267
2272
|
owner_id: string | null;
|
|
2268
2273
|
path_tokens: string[] | null;
|
|
2269
2274
|
updated_at: string | null;
|
|
2270
|
-
user_metadata: Json | null;
|
|
2271
2275
|
version: string | null;
|
|
2272
2276
|
};
|
|
2273
2277
|
Insert: {
|
|
@@ -2281,7 +2285,6 @@ export type Database = {
|
|
|
2281
2285
|
owner_id?: string | null;
|
|
2282
2286
|
path_tokens?: string[] | null;
|
|
2283
2287
|
updated_at?: string | null;
|
|
2284
|
-
user_metadata?: Json | null;
|
|
2285
2288
|
version?: string | null;
|
|
2286
2289
|
};
|
|
2287
2290
|
Update: {
|
|
@@ -2295,7 +2298,6 @@ export type Database = {
|
|
|
2295
2298
|
owner_id?: string | null;
|
|
2296
2299
|
path_tokens?: string[] | null;
|
|
2297
2300
|
updated_at?: string | null;
|
|
2298
|
-
user_metadata?: Json | null;
|
|
2299
2301
|
version?: string | null;
|
|
2300
2302
|
};
|
|
2301
2303
|
Relationships: [
|
|
@@ -2317,7 +2319,6 @@ export type Database = {
|
|
|
2317
2319
|
key: string;
|
|
2318
2320
|
owner_id: string | null;
|
|
2319
2321
|
upload_signature: string;
|
|
2320
|
-
user_metadata: Json | null;
|
|
2321
2322
|
version: string;
|
|
2322
2323
|
};
|
|
2323
2324
|
Insert: {
|
|
@@ -2328,7 +2329,6 @@ export type Database = {
|
|
|
2328
2329
|
key: string;
|
|
2329
2330
|
owner_id?: string | null;
|
|
2330
2331
|
upload_signature: string;
|
|
2331
|
-
user_metadata?: Json | null;
|
|
2332
2332
|
version: string;
|
|
2333
2333
|
};
|
|
2334
2334
|
Update: {
|
|
@@ -2339,7 +2339,6 @@ export type Database = {
|
|
|
2339
2339
|
key?: string;
|
|
2340
2340
|
owner_id?: string | null;
|
|
2341
2341
|
upload_signature?: string;
|
|
2342
|
-
user_metadata?: Json | null;
|
|
2343
2342
|
version?: string;
|
|
2344
2343
|
};
|
|
2345
2344
|
Relationships: [
|
|
@@ -2476,10 +2475,6 @@ export type Database = {
|
|
|
2476
2475
|
updated_at: string;
|
|
2477
2476
|
}[];
|
|
2478
2477
|
};
|
|
2479
|
-
operation: {
|
|
2480
|
-
Args: Record<PropertyKey, never>;
|
|
2481
|
-
Returns: string;
|
|
2482
|
-
};
|
|
2483
2478
|
search: {
|
|
2484
2479
|
Args: {
|
|
2485
2480
|
prefix: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export type OrgMetadata = {
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
type AccessScopes = {
|
|
79
|
+
feature_flags: Record<string, boolean>;
|
|
79
80
|
integrations: boolean;
|
|
80
81
|
exports: boolean;
|
|
81
82
|
};
|
|
@@ -238,6 +239,7 @@ export type BroadcastMessagePayload = SendMessageContent & {
|
|
|
238
239
|
chat_ids: string[];
|
|
239
240
|
broadcast_id?: string;
|
|
240
241
|
variables?: BroadcastVariableType[];
|
|
242
|
+
delay?: number;
|
|
241
243
|
};
|
|
242
244
|
export type SingleMessagePayload = SendMessageContent & {
|
|
243
245
|
chat_id: string;
|