@periskope/types 0.6.379 → 0.6.380
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/.turbo/daemon/2a480df21ee2b3e0-turbo.log.2025-07-29 +1 -0
- package/dist/supabase.types.d.ts +45 -288
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/supabase.types.js +2 -3
- package/dist/types.d.ts +83 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/supabase.types.ts +47 -281
- package/src/types.ts +89 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2025-07-29T13:18:35.926605Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
|
package/dist/supabase.types.d.ts
CHANGED
|
@@ -979,6 +979,7 @@ export type Database = {
|
|
|
979
979
|
snooze_metadata: Json | null;
|
|
980
980
|
updated_at: string | null;
|
|
981
981
|
zohodesk_metadata: Json | null;
|
|
982
|
+
zohocrm_metadata: Json | null;
|
|
982
983
|
};
|
|
983
984
|
Insert: {
|
|
984
985
|
ai_metadata?: Json | null;
|
|
@@ -1003,6 +1004,7 @@ export type Database = {
|
|
|
1003
1004
|
snooze_metadata?: Json | null;
|
|
1004
1005
|
updated_at?: string | null;
|
|
1005
1006
|
zohodesk_metadata?: Json | null;
|
|
1007
|
+
zohocrm_metadata?: Json | null;
|
|
1006
1008
|
};
|
|
1007
1009
|
Update: {
|
|
1008
1010
|
ai_metadata?: Json | null;
|
|
@@ -1027,6 +1029,7 @@ export type Database = {
|
|
|
1027
1029
|
snooze_metadata?: Json | null;
|
|
1028
1030
|
updated_at?: string | null;
|
|
1029
1031
|
zohodesk_metadata?: Json | null;
|
|
1032
|
+
zohocrm_metadata?: Json | null;
|
|
1030
1033
|
};
|
|
1031
1034
|
Relationships: [];
|
|
1032
1035
|
};
|
|
@@ -2538,6 +2541,7 @@ export type Database = {
|
|
|
2538
2541
|
is_hubspot_connected: boolean | null;
|
|
2539
2542
|
is_platform: boolean | null;
|
|
2540
2543
|
is_zohodesk_connected: boolean | null;
|
|
2544
|
+
is_zohocrm_connected: boolean | null;
|
|
2541
2545
|
org_alias: string | null;
|
|
2542
2546
|
org_id: string | null;
|
|
2543
2547
|
org_image: string | null;
|
|
@@ -2570,6 +2574,7 @@ export type Database = {
|
|
|
2570
2574
|
is_hubspot_connected?: never;
|
|
2571
2575
|
is_platform?: boolean | null;
|
|
2572
2576
|
is_zohodesk_connected?: never;
|
|
2577
|
+
is_zohocrm_connected?: never;
|
|
2573
2578
|
org_alias?: string | null;
|
|
2574
2579
|
org_id?: string | null;
|
|
2575
2580
|
org_image?: string | null;
|
|
@@ -2602,6 +2607,7 @@ export type Database = {
|
|
|
2602
2607
|
is_hubspot_connected?: never;
|
|
2603
2608
|
is_platform?: boolean | null;
|
|
2604
2609
|
is_zohodesk_connected?: never;
|
|
2610
|
+
is_zohocrm_connected?: never;
|
|
2605
2611
|
org_alias?: string | null;
|
|
2606
2612
|
org_id?: string | null;
|
|
2607
2613
|
org_image?: string | null;
|
|
@@ -3179,7 +3185,7 @@ export type Database = {
|
|
|
3179
3185
|
enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
|
|
3180
3186
|
enum_credit_transaction_type: "credit" | "debit";
|
|
3181
3187
|
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" | "note.created" | "chat.custom_properties.updated";
|
|
3182
|
-
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "gsheets";
|
|
3188
|
+
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "zohocrm" | "gsheets";
|
|
3183
3189
|
enum_member_role: "admin" | "member";
|
|
3184
3190
|
};
|
|
3185
3191
|
CompositeTypes: {
|
|
@@ -3199,7 +3205,6 @@ export type Database = {
|
|
|
3199
3205
|
owner: string | null;
|
|
3200
3206
|
owner_id: string | null;
|
|
3201
3207
|
public: boolean | null;
|
|
3202
|
-
type: Database["storage"]["Enums"]["buckettype"];
|
|
3203
3208
|
updated_at: string | null;
|
|
3204
3209
|
};
|
|
3205
3210
|
Insert: {
|
|
@@ -3212,7 +3217,6 @@ export type Database = {
|
|
|
3212
3217
|
owner?: string | null;
|
|
3213
3218
|
owner_id?: string | null;
|
|
3214
3219
|
public?: boolean | null;
|
|
3215
|
-
type?: Database["storage"]["Enums"]["buckettype"];
|
|
3216
3220
|
updated_at?: string | null;
|
|
3217
3221
|
};
|
|
3218
3222
|
Update: {
|
|
@@ -3225,112 +3229,10 @@ export type Database = {
|
|
|
3225
3229
|
owner?: string | null;
|
|
3226
3230
|
owner_id?: string | null;
|
|
3227
3231
|
public?: boolean | null;
|
|
3228
|
-
type?: Database["storage"]["Enums"]["buckettype"];
|
|
3229
3232
|
updated_at?: string | null;
|
|
3230
3233
|
};
|
|
3231
3234
|
Relationships: [];
|
|
3232
3235
|
};
|
|
3233
|
-
buckets_analytics: {
|
|
3234
|
-
Row: {
|
|
3235
|
-
created_at: string;
|
|
3236
|
-
format: string;
|
|
3237
|
-
id: string;
|
|
3238
|
-
type: Database["storage"]["Enums"]["buckettype"];
|
|
3239
|
-
updated_at: string;
|
|
3240
|
-
};
|
|
3241
|
-
Insert: {
|
|
3242
|
-
created_at?: string;
|
|
3243
|
-
format?: string;
|
|
3244
|
-
id: string;
|
|
3245
|
-
type?: Database["storage"]["Enums"]["buckettype"];
|
|
3246
|
-
updated_at?: string;
|
|
3247
|
-
};
|
|
3248
|
-
Update: {
|
|
3249
|
-
created_at?: string;
|
|
3250
|
-
format?: string;
|
|
3251
|
-
id?: string;
|
|
3252
|
-
type?: Database["storage"]["Enums"]["buckettype"];
|
|
3253
|
-
updated_at?: string;
|
|
3254
|
-
};
|
|
3255
|
-
Relationships: [];
|
|
3256
|
-
};
|
|
3257
|
-
iceberg_namespaces: {
|
|
3258
|
-
Row: {
|
|
3259
|
-
bucket_id: string;
|
|
3260
|
-
created_at: string;
|
|
3261
|
-
id: string;
|
|
3262
|
-
name: string;
|
|
3263
|
-
updated_at: string;
|
|
3264
|
-
};
|
|
3265
|
-
Insert: {
|
|
3266
|
-
bucket_id: string;
|
|
3267
|
-
created_at?: string;
|
|
3268
|
-
id?: string;
|
|
3269
|
-
name: string;
|
|
3270
|
-
updated_at?: string;
|
|
3271
|
-
};
|
|
3272
|
-
Update: {
|
|
3273
|
-
bucket_id?: string;
|
|
3274
|
-
created_at?: string;
|
|
3275
|
-
id?: string;
|
|
3276
|
-
name?: string;
|
|
3277
|
-
updated_at?: string;
|
|
3278
|
-
};
|
|
3279
|
-
Relationships: [
|
|
3280
|
-
{
|
|
3281
|
-
foreignKeyName: "iceberg_namespaces_bucket_id_fkey";
|
|
3282
|
-
columns: ["bucket_id"];
|
|
3283
|
-
isOneToOne: false;
|
|
3284
|
-
referencedRelation: "buckets_analytics";
|
|
3285
|
-
referencedColumns: ["id"];
|
|
3286
|
-
}
|
|
3287
|
-
];
|
|
3288
|
-
};
|
|
3289
|
-
iceberg_tables: {
|
|
3290
|
-
Row: {
|
|
3291
|
-
bucket_id: string;
|
|
3292
|
-
created_at: string;
|
|
3293
|
-
id: string;
|
|
3294
|
-
location: string;
|
|
3295
|
-
name: string;
|
|
3296
|
-
namespace_id: string;
|
|
3297
|
-
updated_at: string;
|
|
3298
|
-
};
|
|
3299
|
-
Insert: {
|
|
3300
|
-
bucket_id: string;
|
|
3301
|
-
created_at?: string;
|
|
3302
|
-
id?: string;
|
|
3303
|
-
location: string;
|
|
3304
|
-
name: string;
|
|
3305
|
-
namespace_id: string;
|
|
3306
|
-
updated_at?: string;
|
|
3307
|
-
};
|
|
3308
|
-
Update: {
|
|
3309
|
-
bucket_id?: string;
|
|
3310
|
-
created_at?: string;
|
|
3311
|
-
id?: string;
|
|
3312
|
-
location?: string;
|
|
3313
|
-
name?: string;
|
|
3314
|
-
namespace_id?: string;
|
|
3315
|
-
updated_at?: string;
|
|
3316
|
-
};
|
|
3317
|
-
Relationships: [
|
|
3318
|
-
{
|
|
3319
|
-
foreignKeyName: "iceberg_tables_bucket_id_fkey";
|
|
3320
|
-
columns: ["bucket_id"];
|
|
3321
|
-
isOneToOne: false;
|
|
3322
|
-
referencedRelation: "buckets_analytics";
|
|
3323
|
-
referencedColumns: ["id"];
|
|
3324
|
-
},
|
|
3325
|
-
{
|
|
3326
|
-
foreignKeyName: "iceberg_tables_namespace_id_fkey";
|
|
3327
|
-
columns: ["namespace_id"];
|
|
3328
|
-
isOneToOne: false;
|
|
3329
|
-
referencedRelation: "iceberg_namespaces";
|
|
3330
|
-
referencedColumns: ["id"];
|
|
3331
|
-
}
|
|
3332
|
-
];
|
|
3333
|
-
};
|
|
3334
3236
|
migrations: {
|
|
3335
3237
|
Row: {
|
|
3336
3238
|
executed_at: string | null;
|
|
@@ -3358,7 +3260,6 @@ export type Database = {
|
|
|
3358
3260
|
created_at: string | null;
|
|
3359
3261
|
id: string;
|
|
3360
3262
|
last_accessed_at: string | null;
|
|
3361
|
-
level: number | null;
|
|
3362
3263
|
metadata: Json | null;
|
|
3363
3264
|
name: string | null;
|
|
3364
3265
|
owner: string | null;
|
|
@@ -3373,7 +3274,6 @@ export type Database = {
|
|
|
3373
3274
|
created_at?: string | null;
|
|
3374
3275
|
id?: string;
|
|
3375
3276
|
last_accessed_at?: string | null;
|
|
3376
|
-
level?: number | null;
|
|
3377
3277
|
metadata?: Json | null;
|
|
3378
3278
|
name?: string | null;
|
|
3379
3279
|
owner?: string | null;
|
|
@@ -3388,7 +3288,6 @@ export type Database = {
|
|
|
3388
3288
|
created_at?: string | null;
|
|
3389
3289
|
id?: string;
|
|
3390
3290
|
last_accessed_at?: string | null;
|
|
3391
|
-
level?: number | null;
|
|
3392
3291
|
metadata?: Json | null;
|
|
3393
3292
|
name?: string | null;
|
|
3394
3293
|
owner?: string | null;
|
|
@@ -3408,38 +3307,6 @@ export type Database = {
|
|
|
3408
3307
|
}
|
|
3409
3308
|
];
|
|
3410
3309
|
};
|
|
3411
|
-
prefixes: {
|
|
3412
|
-
Row: {
|
|
3413
|
-
bucket_id: string;
|
|
3414
|
-
created_at: string | null;
|
|
3415
|
-
level: number;
|
|
3416
|
-
name: string;
|
|
3417
|
-
updated_at: string | null;
|
|
3418
|
-
};
|
|
3419
|
-
Insert: {
|
|
3420
|
-
bucket_id: string;
|
|
3421
|
-
created_at?: string | null;
|
|
3422
|
-
level?: number;
|
|
3423
|
-
name: string;
|
|
3424
|
-
updated_at?: string | null;
|
|
3425
|
-
};
|
|
3426
|
-
Update: {
|
|
3427
|
-
bucket_id?: string;
|
|
3428
|
-
created_at?: string | null;
|
|
3429
|
-
level?: number;
|
|
3430
|
-
name?: string;
|
|
3431
|
-
updated_at?: string | null;
|
|
3432
|
-
};
|
|
3433
|
-
Relationships: [
|
|
3434
|
-
{
|
|
3435
|
-
foreignKeyName: "prefixes_bucketId_fkey";
|
|
3436
|
-
columns: ["bucket_id"];
|
|
3437
|
-
isOneToOne: false;
|
|
3438
|
-
referencedRelation: "buckets";
|
|
3439
|
-
referencedColumns: ["id"];
|
|
3440
|
-
}
|
|
3441
|
-
];
|
|
3442
|
-
};
|
|
3443
3310
|
s3_multipart_uploads: {
|
|
3444
3311
|
Row: {
|
|
3445
3312
|
bucket_id: string;
|
|
@@ -3543,36 +3410,15 @@ export type Database = {
|
|
|
3543
3410
|
[_ in never]: never;
|
|
3544
3411
|
};
|
|
3545
3412
|
Functions: {
|
|
3546
|
-
add_prefixes: {
|
|
3547
|
-
Args: {
|
|
3548
|
-
_bucket_id: string;
|
|
3549
|
-
_name: string;
|
|
3550
|
-
};
|
|
3551
|
-
Returns: undefined;
|
|
3552
|
-
};
|
|
3553
3413
|
can_insert_object: {
|
|
3554
3414
|
Args: {
|
|
3555
3415
|
bucketid: string;
|
|
3556
|
-
metadata: Json;
|
|
3557
3416
|
name: string;
|
|
3558
3417
|
owner: string;
|
|
3418
|
+
metadata: Json;
|
|
3559
3419
|
};
|
|
3560
3420
|
Returns: undefined;
|
|
3561
3421
|
};
|
|
3562
|
-
delete_leaf_prefixes: {
|
|
3563
|
-
Args: {
|
|
3564
|
-
bucket_ids: string[];
|
|
3565
|
-
names: string[];
|
|
3566
|
-
};
|
|
3567
|
-
Returns: undefined;
|
|
3568
|
-
};
|
|
3569
|
-
delete_prefix: {
|
|
3570
|
-
Args: {
|
|
3571
|
-
_bucket_id: string;
|
|
3572
|
-
_name: string;
|
|
3573
|
-
};
|
|
3574
|
-
Returns: boolean;
|
|
3575
|
-
};
|
|
3576
3422
|
extension: {
|
|
3577
3423
|
Args: {
|
|
3578
3424
|
name: string;
|
|
@@ -3591,212 +3437,125 @@ export type Database = {
|
|
|
3591
3437
|
};
|
|
3592
3438
|
Returns: string[];
|
|
3593
3439
|
};
|
|
3594
|
-
get_level: {
|
|
3595
|
-
Args: {
|
|
3596
|
-
name: string;
|
|
3597
|
-
};
|
|
3598
|
-
Returns: number;
|
|
3599
|
-
};
|
|
3600
|
-
get_prefix: {
|
|
3601
|
-
Args: {
|
|
3602
|
-
name: string;
|
|
3603
|
-
};
|
|
3604
|
-
Returns: string;
|
|
3605
|
-
};
|
|
3606
|
-
get_prefixes: {
|
|
3607
|
-
Args: {
|
|
3608
|
-
name: string;
|
|
3609
|
-
};
|
|
3610
|
-
Returns: string[];
|
|
3611
|
-
};
|
|
3612
3440
|
get_size_by_bucket: {
|
|
3613
3441
|
Args: Record<PropertyKey, never>;
|
|
3614
3442
|
Returns: {
|
|
3615
|
-
bucket_id: string;
|
|
3616
3443
|
size: number;
|
|
3444
|
+
bucket_id: string;
|
|
3617
3445
|
}[];
|
|
3618
3446
|
};
|
|
3619
3447
|
list_multipart_uploads_with_delimiter: {
|
|
3620
3448
|
Args: {
|
|
3621
3449
|
bucket_id: string;
|
|
3450
|
+
prefix_param: string;
|
|
3622
3451
|
delimiter_param: string;
|
|
3623
3452
|
max_keys?: number;
|
|
3624
3453
|
next_key_token?: string;
|
|
3625
3454
|
next_upload_token?: string;
|
|
3626
|
-
prefix_param: string;
|
|
3627
3455
|
};
|
|
3628
3456
|
Returns: {
|
|
3629
|
-
created_at: string;
|
|
3630
|
-
id: string;
|
|
3631
3457
|
key: string;
|
|
3458
|
+
id: string;
|
|
3459
|
+
created_at: string;
|
|
3632
3460
|
}[];
|
|
3633
3461
|
};
|
|
3634
3462
|
list_objects_with_delimiter: {
|
|
3635
3463
|
Args: {
|
|
3636
3464
|
bucket_id: string;
|
|
3465
|
+
prefix_param: string;
|
|
3637
3466
|
delimiter_param: string;
|
|
3638
3467
|
max_keys?: number;
|
|
3639
|
-
next_token?: string;
|
|
3640
|
-
prefix_param: string;
|
|
3641
3468
|
start_after?: string;
|
|
3469
|
+
next_token?: string;
|
|
3642
3470
|
};
|
|
3643
3471
|
Returns: {
|
|
3472
|
+
name: string;
|
|
3644
3473
|
id: string;
|
|
3645
3474
|
metadata: Json;
|
|
3646
|
-
name: string;
|
|
3647
3475
|
updated_at: string;
|
|
3648
3476
|
}[];
|
|
3649
3477
|
};
|
|
3650
|
-
lock_top_prefixes: {
|
|
3651
|
-
Args: {
|
|
3652
|
-
bucket_ids: string[];
|
|
3653
|
-
names: string[];
|
|
3654
|
-
};
|
|
3655
|
-
Returns: undefined;
|
|
3656
|
-
};
|
|
3657
3478
|
operation: {
|
|
3658
3479
|
Args: Record<PropertyKey, never>;
|
|
3659
3480
|
Returns: string;
|
|
3660
3481
|
};
|
|
3661
3482
|
search: {
|
|
3662
3483
|
Args: {
|
|
3663
|
-
bucketname: string;
|
|
3664
|
-
levels?: number;
|
|
3665
|
-
limits?: number;
|
|
3666
|
-
offsets?: number;
|
|
3667
3484
|
prefix: string;
|
|
3668
|
-
search?: string;
|
|
3669
|
-
sortcolumn?: string;
|
|
3670
|
-
sortorder?: string;
|
|
3671
|
-
};
|
|
3672
|
-
Returns: {
|
|
3673
|
-
created_at: string;
|
|
3674
|
-
id: string;
|
|
3675
|
-
last_accessed_at: string;
|
|
3676
|
-
metadata: Json;
|
|
3677
|
-
name: string;
|
|
3678
|
-
updated_at: string;
|
|
3679
|
-
}[];
|
|
3680
|
-
};
|
|
3681
|
-
search_legacy_v1: {
|
|
3682
|
-
Args: {
|
|
3683
3485
|
bucketname: string;
|
|
3684
|
-
levels?: number;
|
|
3685
3486
|
limits?: number;
|
|
3686
|
-
offsets?: number;
|
|
3687
|
-
prefix: string;
|
|
3688
|
-
search?: string;
|
|
3689
|
-
sortcolumn?: string;
|
|
3690
|
-
sortorder?: string;
|
|
3691
|
-
};
|
|
3692
|
-
Returns: {
|
|
3693
|
-
created_at: string;
|
|
3694
|
-
id: string;
|
|
3695
|
-
last_accessed_at: string;
|
|
3696
|
-
metadata: Json;
|
|
3697
|
-
name: string;
|
|
3698
|
-
updated_at: string;
|
|
3699
|
-
}[];
|
|
3700
|
-
};
|
|
3701
|
-
search_v1_optimised: {
|
|
3702
|
-
Args: {
|
|
3703
|
-
bucketname: string;
|
|
3704
3487
|
levels?: number;
|
|
3705
|
-
limits?: number;
|
|
3706
3488
|
offsets?: number;
|
|
3707
|
-
prefix: string;
|
|
3708
3489
|
search?: string;
|
|
3709
3490
|
sortcolumn?: string;
|
|
3710
3491
|
sortorder?: string;
|
|
3711
3492
|
};
|
|
3712
3493
|
Returns: {
|
|
3713
|
-
created_at: string;
|
|
3714
|
-
id: string;
|
|
3715
|
-
last_accessed_at: string;
|
|
3716
|
-
metadata: Json;
|
|
3717
3494
|
name: string;
|
|
3495
|
+
id: string;
|
|
3718
3496
|
updated_at: string;
|
|
3719
|
-
}[];
|
|
3720
|
-
};
|
|
3721
|
-
search_v2: {
|
|
3722
|
-
Args: {
|
|
3723
|
-
bucket_name: string;
|
|
3724
|
-
levels?: number;
|
|
3725
|
-
limits?: number;
|
|
3726
|
-
prefix: string;
|
|
3727
|
-
sort_column?: string;
|
|
3728
|
-
sort_column_after?: string;
|
|
3729
|
-
sort_order?: string;
|
|
3730
|
-
start_after?: string;
|
|
3731
|
-
};
|
|
3732
|
-
Returns: {
|
|
3733
3497
|
created_at: string;
|
|
3734
|
-
id: string;
|
|
3735
|
-
key: string;
|
|
3736
3498
|
last_accessed_at: string;
|
|
3737
3499
|
metadata: Json;
|
|
3738
|
-
name: string;
|
|
3739
|
-
updated_at: string;
|
|
3740
3500
|
}[];
|
|
3741
3501
|
};
|
|
3742
3502
|
};
|
|
3743
3503
|
Enums: {
|
|
3744
|
-
|
|
3504
|
+
[_ in never]: never;
|
|
3745
3505
|
};
|
|
3746
3506
|
CompositeTypes: {
|
|
3747
3507
|
[_ in never]: never;
|
|
3748
3508
|
};
|
|
3749
3509
|
};
|
|
3750
3510
|
};
|
|
3751
|
-
type
|
|
3752
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
3511
|
+
type DefaultSchema = Database[Extract<keyof Database, "public">];
|
|
3753
3512
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
3754
|
-
schema: keyof
|
|
3513
|
+
schema: keyof Database;
|
|
3755
3514
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3756
|
-
schema: keyof
|
|
3757
|
-
} ? keyof (
|
|
3758
|
-
schema: keyof
|
|
3759
|
-
} ? (
|
|
3515
|
+
schema: keyof Database;
|
|
3516
|
+
} ? keyof (Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & Database[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3517
|
+
schema: keyof Database;
|
|
3518
|
+
} ? (Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & Database[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
3760
3519
|
Row: infer R;
|
|
3761
3520
|
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
3762
3521
|
Row: infer R;
|
|
3763
3522
|
} ? R : never : never;
|
|
3764
3523
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
3765
|
-
schema: keyof
|
|
3524
|
+
schema: keyof Database;
|
|
3766
3525
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3767
|
-
schema: keyof
|
|
3768
|
-
} ? keyof
|
|
3769
|
-
schema: keyof
|
|
3770
|
-
} ?
|
|
3526
|
+
schema: keyof Database;
|
|
3527
|
+
} ? keyof Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3528
|
+
schema: keyof Database;
|
|
3529
|
+
} ? Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
3771
3530
|
Insert: infer I;
|
|
3772
3531
|
} ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
|
|
3773
3532
|
Insert: infer I;
|
|
3774
3533
|
} ? I : never : never;
|
|
3775
3534
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
3776
|
-
schema: keyof
|
|
3535
|
+
schema: keyof Database;
|
|
3777
3536
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3778
|
-
schema: keyof
|
|
3779
|
-
} ? keyof
|
|
3780
|
-
schema: keyof
|
|
3781
|
-
} ?
|
|
3537
|
+
schema: keyof Database;
|
|
3538
|
+
} ? keyof Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3539
|
+
schema: keyof Database;
|
|
3540
|
+
} ? Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
3782
3541
|
Update: infer U;
|
|
3783
3542
|
} ? U : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
|
|
3784
3543
|
Update: infer U;
|
|
3785
3544
|
} ? U : never : never;
|
|
3786
3545
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
3787
|
-
schema: keyof
|
|
3546
|
+
schema: keyof Database;
|
|
3788
3547
|
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
3789
|
-
schema: keyof
|
|
3790
|
-
} ? keyof
|
|
3791
|
-
schema: keyof
|
|
3792
|
-
} ?
|
|
3548
|
+
schema: keyof Database;
|
|
3549
|
+
} ? keyof Database[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
3550
|
+
schema: keyof Database;
|
|
3551
|
+
} ? Database[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
3793
3552
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
3794
|
-
schema: keyof
|
|
3553
|
+
schema: keyof Database;
|
|
3795
3554
|
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
3796
|
-
schema: keyof
|
|
3797
|
-
} ? keyof
|
|
3798
|
-
schema: keyof
|
|
3799
|
-
} ?
|
|
3555
|
+
schema: keyof Database;
|
|
3556
|
+
} ? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
3557
|
+
schema: keyof Database;
|
|
3558
|
+
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
3800
3559
|
export declare const Constants: {
|
|
3801
3560
|
readonly internal: {
|
|
3802
3561
|
readonly Enums: {};
|
|
@@ -3809,14 +3568,12 @@ export declare const Constants: {
|
|
|
3809
3568
|
readonly enum_chat_tickets_status: readonly ["open", "inprogress", "closed", "archived"];
|
|
3810
3569
|
readonly enum_credit_transaction_type: readonly ["credit", "debit"];
|
|
3811
3570
|
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", "note.created", "chat.custom_properties.updated"];
|
|
3812
|
-
readonly enum_integration_type: readonly ["zapier", "pabbly", "api", "webhook", "hubspot", "freshdesk", "slack", "jira", "salesforce", "zohodesk", "gsheets"];
|
|
3571
|
+
readonly enum_integration_type: readonly ["zapier", "pabbly", "api", "webhook", "hubspot", "freshdesk", "slack", "jira", "salesforce", "zohodesk", "zohocrm", "gsheets"];
|
|
3813
3572
|
readonly enum_member_role: readonly ["admin", "member"];
|
|
3814
3573
|
};
|
|
3815
3574
|
};
|
|
3816
3575
|
readonly storage: {
|
|
3817
|
-
readonly Enums: {
|
|
3818
|
-
readonly buckettype: readonly ["STANDARD", "ANALYTICS"];
|
|
3819
|
-
};
|
|
3576
|
+
readonly Enums: {};
|
|
3820
3577
|
};
|
|
3821
3578
|
};
|
|
3822
3579
|
export {};
|