@koloseum/types 0.3.0 → 0.3.3
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/database-generated.d.ts +844 -40
- package/dist/database.d.ts +22 -16
- package/dist/general.d.ts +24 -6
- package/dist/players/competitions.d.ts +109 -0
- package/dist/public/auth.d.ts +3 -3
- package/package.json +7 -7
- package/dist/backroom/competitions.d.ts +0 -91
|
@@ -370,7 +370,7 @@ export type Database = {
|
|
|
370
370
|
};
|
|
371
371
|
payments: {
|
|
372
372
|
Row: {
|
|
373
|
-
|
|
373
|
+
amount_cents: number;
|
|
374
374
|
created_at: string;
|
|
375
375
|
currency_code: string;
|
|
376
376
|
id: string;
|
|
@@ -382,7 +382,7 @@ export type Database = {
|
|
|
382
382
|
user_id: string | null;
|
|
383
383
|
};
|
|
384
384
|
Insert: {
|
|
385
|
-
|
|
385
|
+
amount_cents: number;
|
|
386
386
|
created_at?: string;
|
|
387
387
|
currency_code: string;
|
|
388
388
|
id?: string;
|
|
@@ -394,7 +394,7 @@ export type Database = {
|
|
|
394
394
|
user_id?: string | null;
|
|
395
395
|
};
|
|
396
396
|
Update: {
|
|
397
|
-
|
|
397
|
+
amount_cents?: number;
|
|
398
398
|
created_at?: string;
|
|
399
399
|
currency_code?: string;
|
|
400
400
|
id?: string;
|
|
@@ -459,7 +459,7 @@ export type Database = {
|
|
|
459
459
|
};
|
|
460
460
|
prize_money_transactions: {
|
|
461
461
|
Row: {
|
|
462
|
-
|
|
462
|
+
amount_cents: number;
|
|
463
463
|
created_at: string;
|
|
464
464
|
credits_transaction_id: string | null;
|
|
465
465
|
currency_code: string;
|
|
@@ -473,7 +473,7 @@ export type Database = {
|
|
|
473
473
|
user_id: string | null;
|
|
474
474
|
};
|
|
475
475
|
Insert: {
|
|
476
|
-
|
|
476
|
+
amount_cents: number;
|
|
477
477
|
created_at?: string;
|
|
478
478
|
credits_transaction_id?: string | null;
|
|
479
479
|
currency_code: string;
|
|
@@ -487,7 +487,7 @@ export type Database = {
|
|
|
487
487
|
user_id?: string | null;
|
|
488
488
|
};
|
|
489
489
|
Update: {
|
|
490
|
-
|
|
490
|
+
amount_cents?: number;
|
|
491
491
|
created_at?: string;
|
|
492
492
|
credits_transaction_id?: string | null;
|
|
493
493
|
currency_code?: string;
|
|
@@ -2556,14 +2556,14 @@ export type Database = {
|
|
|
2556
2556
|
};
|
|
2557
2557
|
Relationships: [
|
|
2558
2558
|
{
|
|
2559
|
-
foreignKeyName: "
|
|
2559
|
+
foreignKeyName: "app_role_permissions_permission_fkey";
|
|
2560
2560
|
columns: ["permission"];
|
|
2561
2561
|
isOneToOne: false;
|
|
2562
2562
|
referencedRelation: "apps";
|
|
2563
2563
|
referencedColumns: ["app"];
|
|
2564
2564
|
},
|
|
2565
2565
|
{
|
|
2566
|
-
foreignKeyName: "
|
|
2566
|
+
foreignKeyName: "app_role_permissions_role_fkey";
|
|
2567
2567
|
columns: ["role"];
|
|
2568
2568
|
isOneToOne: false;
|
|
2569
2569
|
referencedRelation: "app_roles";
|
|
@@ -2733,7 +2733,7 @@ export type Database = {
|
|
|
2733
2733
|
};
|
|
2734
2734
|
Relationships: [
|
|
2735
2735
|
{
|
|
2736
|
-
foreignKeyName: "
|
|
2736
|
+
foreignKeyName: "data_updates_request_id_fkey";
|
|
2737
2737
|
columns: ["request_id"];
|
|
2738
2738
|
isOneToOne: true;
|
|
2739
2739
|
referencedRelation: "data_update_requests";
|
|
@@ -2747,38 +2747,45 @@ export type Database = {
|
|
|
2747
2747
|
created_at: string;
|
|
2748
2748
|
end_time: string | null;
|
|
2749
2749
|
id: string;
|
|
2750
|
+
lounge_id: string;
|
|
2750
2751
|
metadata: Json | null;
|
|
2751
2752
|
reason: string;
|
|
2752
2753
|
start_time: string;
|
|
2753
|
-
user_id: string | null;
|
|
2754
2754
|
};
|
|
2755
2755
|
Insert: {
|
|
2756
2756
|
branch_id: string;
|
|
2757
2757
|
created_at?: string;
|
|
2758
2758
|
end_time?: string | null;
|
|
2759
2759
|
id?: string;
|
|
2760
|
+
lounge_id: string;
|
|
2760
2761
|
metadata?: Json | null;
|
|
2761
2762
|
reason: string;
|
|
2762
2763
|
start_time?: string;
|
|
2763
|
-
user_id?: string | null;
|
|
2764
2764
|
};
|
|
2765
2765
|
Update: {
|
|
2766
2766
|
branch_id?: string;
|
|
2767
2767
|
created_at?: string;
|
|
2768
2768
|
end_time?: string | null;
|
|
2769
2769
|
id?: string;
|
|
2770
|
+
lounge_id?: string;
|
|
2770
2771
|
metadata?: Json | null;
|
|
2771
2772
|
reason?: string;
|
|
2772
2773
|
start_time?: string;
|
|
2773
|
-
user_id?: string | null;
|
|
2774
2774
|
};
|
|
2775
2775
|
Relationships: [
|
|
2776
2776
|
{
|
|
2777
|
-
foreignKeyName: "
|
|
2777
|
+
foreignKeyName: "lounge_branch_sanctions_branch_id_fkey";
|
|
2778
2778
|
columns: ["branch_id"];
|
|
2779
2779
|
isOneToOne: false;
|
|
2780
2780
|
referencedRelation: "lounge_branches";
|
|
2781
2781
|
referencedColumns: ["id"];
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
foreignKeyName: "lounge_branch_sanctions_lounge_id_fkey";
|
|
2785
|
+
columns: ["lounge_id"];
|
|
2786
|
+
isOneToOne: false;
|
|
2787
|
+
referencedRelation: "lounges";
|
|
2788
|
+
referencedColumns: ["id"];
|
|
2782
2789
|
}
|
|
2783
2790
|
];
|
|
2784
2791
|
};
|
|
@@ -2790,9 +2797,9 @@ export type Database = {
|
|
|
2790
2797
|
deleted_at: string | null;
|
|
2791
2798
|
email: string | null;
|
|
2792
2799
|
id: string;
|
|
2800
|
+
lounge_id: string;
|
|
2793
2801
|
name: string;
|
|
2794
2802
|
phone: string;
|
|
2795
|
-
user_id: string;
|
|
2796
2803
|
};
|
|
2797
2804
|
Insert: {
|
|
2798
2805
|
address: Json;
|
|
@@ -2801,9 +2808,9 @@ export type Database = {
|
|
|
2801
2808
|
deleted_at?: string | null;
|
|
2802
2809
|
email?: string | null;
|
|
2803
2810
|
id?: string;
|
|
2811
|
+
lounge_id?: string;
|
|
2804
2812
|
name: string;
|
|
2805
2813
|
phone: string;
|
|
2806
|
-
user_id?: string;
|
|
2807
2814
|
};
|
|
2808
2815
|
Update: {
|
|
2809
2816
|
address?: Json;
|
|
@@ -2812,11 +2819,19 @@ export type Database = {
|
|
|
2812
2819
|
deleted_at?: string | null;
|
|
2813
2820
|
email?: string | null;
|
|
2814
2821
|
id?: string;
|
|
2822
|
+
lounge_id?: string;
|
|
2815
2823
|
name?: string;
|
|
2816
2824
|
phone?: string;
|
|
2817
|
-
user_id?: string;
|
|
2818
2825
|
};
|
|
2819
|
-
Relationships: [
|
|
2826
|
+
Relationships: [
|
|
2827
|
+
{
|
|
2828
|
+
foreignKeyName: "lounge_branches_lounge_id_fkey";
|
|
2829
|
+
columns: ["lounge_id"];
|
|
2830
|
+
isOneToOne: false;
|
|
2831
|
+
referencedRelation: "lounges";
|
|
2832
|
+
referencedColumns: ["id"];
|
|
2833
|
+
}
|
|
2834
|
+
];
|
|
2820
2835
|
};
|
|
2821
2836
|
lounge_company_verification_attempts: {
|
|
2822
2837
|
Row: {
|
|
@@ -2847,31 +2862,31 @@ export type Database = {
|
|
|
2847
2862
|
};
|
|
2848
2863
|
lounge_credits_transactions: {
|
|
2849
2864
|
Row: {
|
|
2850
|
-
|
|
2865
|
+
amount_cents: number;
|
|
2851
2866
|
created_at: string;
|
|
2852
2867
|
description: string;
|
|
2853
2868
|
id: string;
|
|
2854
|
-
lounge_id: string
|
|
2869
|
+
lounge_id: string;
|
|
2855
2870
|
metadata: Json | null;
|
|
2856
2871
|
source_event_id: string | null;
|
|
2857
2872
|
user_id: string | null;
|
|
2858
2873
|
};
|
|
2859
2874
|
Insert: {
|
|
2860
|
-
|
|
2875
|
+
amount_cents: number;
|
|
2861
2876
|
created_at?: string;
|
|
2862
2877
|
description: string;
|
|
2863
2878
|
id?: string;
|
|
2864
|
-
lounge_id?: string
|
|
2879
|
+
lounge_id?: string;
|
|
2865
2880
|
metadata?: Json | null;
|
|
2866
2881
|
source_event_id?: string | null;
|
|
2867
2882
|
user_id?: string | null;
|
|
2868
2883
|
};
|
|
2869
2884
|
Update: {
|
|
2870
|
-
|
|
2885
|
+
amount_cents?: number;
|
|
2871
2886
|
created_at?: string;
|
|
2872
2887
|
description?: string;
|
|
2873
2888
|
id?: string;
|
|
2874
|
-
lounge_id?: string
|
|
2889
|
+
lounge_id?: string;
|
|
2875
2890
|
metadata?: Json | null;
|
|
2876
2891
|
source_event_id?: string | null;
|
|
2877
2892
|
user_id?: string | null;
|
|
@@ -2926,7 +2941,7 @@ export type Database = {
|
|
|
2926
2941
|
};
|
|
2927
2942
|
Relationships: [
|
|
2928
2943
|
{
|
|
2929
|
-
foreignKeyName: "
|
|
2944
|
+
foreignKeyName: "lounge_sanctions_lounge_id_fkey";
|
|
2930
2945
|
columns: ["lounge_id"];
|
|
2931
2946
|
isOneToOne: false;
|
|
2932
2947
|
referencedRelation: "lounges";
|
|
@@ -3136,7 +3151,7 @@ export type Database = {
|
|
|
3136
3151
|
};
|
|
3137
3152
|
player_credits_transactions: {
|
|
3138
3153
|
Row: {
|
|
3139
|
-
|
|
3154
|
+
amount_cents: number;
|
|
3140
3155
|
created_at: string;
|
|
3141
3156
|
description: string;
|
|
3142
3157
|
id: string;
|
|
@@ -3146,7 +3161,7 @@ export type Database = {
|
|
|
3146
3161
|
user_id: string | null;
|
|
3147
3162
|
};
|
|
3148
3163
|
Insert: {
|
|
3149
|
-
|
|
3164
|
+
amount_cents: number;
|
|
3150
3165
|
created_at?: string;
|
|
3151
3166
|
description: string;
|
|
3152
3167
|
id?: string;
|
|
@@ -3156,7 +3171,7 @@ export type Database = {
|
|
|
3156
3171
|
user_id?: string | null;
|
|
3157
3172
|
};
|
|
3158
3173
|
Update: {
|
|
3159
|
-
|
|
3174
|
+
amount_cents?: number;
|
|
3160
3175
|
created_at?: string;
|
|
3161
3176
|
description?: string;
|
|
3162
3177
|
id?: string;
|
|
@@ -3385,7 +3400,7 @@ export type Database = {
|
|
|
3385
3400
|
};
|
|
3386
3401
|
Relationships: [
|
|
3387
3402
|
{
|
|
3388
|
-
foreignKeyName: "
|
|
3403
|
+
foreignKeyName: "player_minor_reps_non_platform_id_fkey";
|
|
3389
3404
|
columns: ["non_platform_id"];
|
|
3390
3405
|
isOneToOne: false;
|
|
3391
3406
|
referencedRelation: "player_minor_rep_personal_details";
|
|
@@ -3417,7 +3432,7 @@ export type Database = {
|
|
|
3417
3432
|
};
|
|
3418
3433
|
Relationships: [
|
|
3419
3434
|
{
|
|
3420
|
-
foreignKeyName: "
|
|
3435
|
+
foreignKeyName: "player_mobile_operating_systems_player_id_fkey";
|
|
3421
3436
|
columns: ["player_id"];
|
|
3422
3437
|
isOneToOne: false;
|
|
3423
3438
|
referencedRelation: "players";
|
|
@@ -3490,7 +3505,7 @@ export type Database = {
|
|
|
3490
3505
|
};
|
|
3491
3506
|
Relationships: [
|
|
3492
3507
|
{
|
|
3493
|
-
foreignKeyName: "
|
|
3508
|
+
foreignKeyName: "player_sanctions_player_id_fkey";
|
|
3494
3509
|
columns: ["player_id"];
|
|
3495
3510
|
isOneToOne: false;
|
|
3496
3511
|
referencedRelation: "players";
|
|
@@ -3558,7 +3573,7 @@ export type Database = {
|
|
|
3558
3573
|
};
|
|
3559
3574
|
Relationships: [
|
|
3560
3575
|
{
|
|
3561
|
-
foreignKeyName: "
|
|
3576
|
+
foreignKeyName: "player_varsity_institutions_player_id_fkey";
|
|
3562
3577
|
columns: ["player_id"];
|
|
3563
3578
|
isOneToOne: false;
|
|
3564
3579
|
referencedRelation: "players";
|
|
@@ -4145,9 +4160,9 @@ export type Database = {
|
|
|
4145
4160
|
deleted_at: string | null;
|
|
4146
4161
|
email: string | null;
|
|
4147
4162
|
id: string;
|
|
4163
|
+
lounge_id: string;
|
|
4148
4164
|
name: string;
|
|
4149
4165
|
phone: string;
|
|
4150
|
-
user_id: string;
|
|
4151
4166
|
}[];
|
|
4152
4167
|
SetofOptions: {
|
|
4153
4168
|
from: "*";
|
|
@@ -4170,6 +4185,10 @@ export type Database = {
|
|
|
4170
4185
|
Args: never;
|
|
4171
4186
|
Returns: string;
|
|
4172
4187
|
};
|
|
4188
|
+
get_player_balances: {
|
|
4189
|
+
Args: never;
|
|
4190
|
+
Returns: Json;
|
|
4191
|
+
};
|
|
4173
4192
|
get_player_ids: {
|
|
4174
4193
|
Args: {
|
|
4175
4194
|
search?: string;
|
|
@@ -4610,7 +4629,7 @@ export type Database = {
|
|
|
4610
4629
|
};
|
|
4611
4630
|
Relationships: [
|
|
4612
4631
|
{
|
|
4613
|
-
foreignKeyName: "
|
|
4632
|
+
foreignKeyName: "players_nationality_fkey";
|
|
4614
4633
|
columns: ["nationality"];
|
|
4615
4634
|
isOneToOne: false;
|
|
4616
4635
|
referencedRelation: "countries";
|
|
@@ -4657,6 +4676,744 @@ export type Database = {
|
|
|
4657
4676
|
[_ in never]: never;
|
|
4658
4677
|
};
|
|
4659
4678
|
};
|
|
4679
|
+
sessions: {
|
|
4680
|
+
Tables: {
|
|
4681
|
+
lounge_branch_eatery_categories: {
|
|
4682
|
+
Row: {
|
|
4683
|
+
created_at: string;
|
|
4684
|
+
id: string;
|
|
4685
|
+
lounge_branch_id: string;
|
|
4686
|
+
name: string;
|
|
4687
|
+
sort_order: number;
|
|
4688
|
+
updated_at: string;
|
|
4689
|
+
};
|
|
4690
|
+
Insert: {
|
|
4691
|
+
created_at?: string;
|
|
4692
|
+
id?: string;
|
|
4693
|
+
lounge_branch_id: string;
|
|
4694
|
+
name: string;
|
|
4695
|
+
sort_order?: number;
|
|
4696
|
+
updated_at?: string;
|
|
4697
|
+
};
|
|
4698
|
+
Update: {
|
|
4699
|
+
created_at?: string;
|
|
4700
|
+
id?: string;
|
|
4701
|
+
lounge_branch_id?: string;
|
|
4702
|
+
name?: string;
|
|
4703
|
+
sort_order?: number;
|
|
4704
|
+
updated_at?: string;
|
|
4705
|
+
};
|
|
4706
|
+
Relationships: [];
|
|
4707
|
+
};
|
|
4708
|
+
lounge_branch_eatery_items: {
|
|
4709
|
+
Row: {
|
|
4710
|
+
category_id: string | null;
|
|
4711
|
+
created_at: string;
|
|
4712
|
+
id: string;
|
|
4713
|
+
lounge_branch_id: string;
|
|
4714
|
+
name: string;
|
|
4715
|
+
options: Json | null;
|
|
4716
|
+
updated_at: string;
|
|
4717
|
+
};
|
|
4718
|
+
Insert: {
|
|
4719
|
+
category_id?: string | null;
|
|
4720
|
+
created_at?: string;
|
|
4721
|
+
id?: string;
|
|
4722
|
+
lounge_branch_id: string;
|
|
4723
|
+
name: string;
|
|
4724
|
+
options?: Json | null;
|
|
4725
|
+
updated_at?: string;
|
|
4726
|
+
};
|
|
4727
|
+
Update: {
|
|
4728
|
+
category_id?: string | null;
|
|
4729
|
+
created_at?: string;
|
|
4730
|
+
id?: string;
|
|
4731
|
+
lounge_branch_id?: string;
|
|
4732
|
+
name?: string;
|
|
4733
|
+
options?: Json | null;
|
|
4734
|
+
updated_at?: string;
|
|
4735
|
+
};
|
|
4736
|
+
Relationships: [
|
|
4737
|
+
{
|
|
4738
|
+
foreignKeyName: "lounge_branch_eatery_items_category_id_fkey";
|
|
4739
|
+
columns: ["category_id"];
|
|
4740
|
+
isOneToOne: false;
|
|
4741
|
+
referencedRelation: "lounge_branch_eatery_categories";
|
|
4742
|
+
referencedColumns: ["id"];
|
|
4743
|
+
}
|
|
4744
|
+
];
|
|
4745
|
+
};
|
|
4746
|
+
lounge_branch_games_consoles: {
|
|
4747
|
+
Row: {
|
|
4748
|
+
created_at: string;
|
|
4749
|
+
games_consoles_id: string;
|
|
4750
|
+
id: string;
|
|
4751
|
+
lounge_branch_id: string;
|
|
4752
|
+
};
|
|
4753
|
+
Insert: {
|
|
4754
|
+
created_at?: string;
|
|
4755
|
+
games_consoles_id: string;
|
|
4756
|
+
id?: string;
|
|
4757
|
+
lounge_branch_id: string;
|
|
4758
|
+
};
|
|
4759
|
+
Update: {
|
|
4760
|
+
created_at?: string;
|
|
4761
|
+
games_consoles_id?: string;
|
|
4762
|
+
id?: string;
|
|
4763
|
+
lounge_branch_id?: string;
|
|
4764
|
+
};
|
|
4765
|
+
Relationships: [];
|
|
4766
|
+
};
|
|
4767
|
+
lounge_branch_luggage_slots: {
|
|
4768
|
+
Row: {
|
|
4769
|
+
created_at: string;
|
|
4770
|
+
id: string;
|
|
4771
|
+
in_use: boolean;
|
|
4772
|
+
lounge_branch_id: string;
|
|
4773
|
+
slot_label: string;
|
|
4774
|
+
};
|
|
4775
|
+
Insert: {
|
|
4776
|
+
created_at?: string;
|
|
4777
|
+
id?: string;
|
|
4778
|
+
in_use?: boolean;
|
|
4779
|
+
lounge_branch_id: string;
|
|
4780
|
+
slot_label: string;
|
|
4781
|
+
};
|
|
4782
|
+
Update: {
|
|
4783
|
+
created_at?: string;
|
|
4784
|
+
id?: string;
|
|
4785
|
+
in_use?: boolean;
|
|
4786
|
+
lounge_branch_id?: string;
|
|
4787
|
+
slot_label?: string;
|
|
4788
|
+
};
|
|
4789
|
+
Relationships: [];
|
|
4790
|
+
};
|
|
4791
|
+
lounge_branch_open_status: {
|
|
4792
|
+
Row: {
|
|
4793
|
+
closed_at: string | null;
|
|
4794
|
+
created_at: string;
|
|
4795
|
+
is_open: boolean;
|
|
4796
|
+
lounge_branch_id: string;
|
|
4797
|
+
opened_at: string | null;
|
|
4798
|
+
updated_at: string;
|
|
4799
|
+
updated_by: string | null;
|
|
4800
|
+
};
|
|
4801
|
+
Insert: {
|
|
4802
|
+
closed_at?: string | null;
|
|
4803
|
+
created_at?: string;
|
|
4804
|
+
is_open: boolean;
|
|
4805
|
+
lounge_branch_id: string;
|
|
4806
|
+
opened_at?: string | null;
|
|
4807
|
+
updated_at?: string;
|
|
4808
|
+
updated_by?: string | null;
|
|
4809
|
+
};
|
|
4810
|
+
Update: {
|
|
4811
|
+
closed_at?: string | null;
|
|
4812
|
+
created_at?: string;
|
|
4813
|
+
is_open?: boolean;
|
|
4814
|
+
lounge_branch_id?: string;
|
|
4815
|
+
opened_at?: string | null;
|
|
4816
|
+
updated_at?: string;
|
|
4817
|
+
updated_by?: string | null;
|
|
4818
|
+
};
|
|
4819
|
+
Relationships: [];
|
|
4820
|
+
};
|
|
4821
|
+
lounge_branch_opening_times: {
|
|
4822
|
+
Row: {
|
|
4823
|
+
created_at: string;
|
|
4824
|
+
day_of_week: number;
|
|
4825
|
+
end_time: string;
|
|
4826
|
+
id: string;
|
|
4827
|
+
lounge_branch_id: string;
|
|
4828
|
+
start_time: string;
|
|
4829
|
+
};
|
|
4830
|
+
Insert: {
|
|
4831
|
+
created_at?: string;
|
|
4832
|
+
day_of_week: number;
|
|
4833
|
+
end_time: string;
|
|
4834
|
+
id?: string;
|
|
4835
|
+
lounge_branch_id: string;
|
|
4836
|
+
start_time: string;
|
|
4837
|
+
};
|
|
4838
|
+
Update: {
|
|
4839
|
+
created_at?: string;
|
|
4840
|
+
day_of_week?: number;
|
|
4841
|
+
end_time?: string;
|
|
4842
|
+
id?: string;
|
|
4843
|
+
lounge_branch_id?: string;
|
|
4844
|
+
start_time?: string;
|
|
4845
|
+
};
|
|
4846
|
+
Relationships: [];
|
|
4847
|
+
};
|
|
4848
|
+
lounge_branch_payment_display: {
|
|
4849
|
+
Row: {
|
|
4850
|
+
created_at: string;
|
|
4851
|
+
details: Json | null;
|
|
4852
|
+
id: string;
|
|
4853
|
+
lounge_branch_id: string;
|
|
4854
|
+
name: string | null;
|
|
4855
|
+
updated_at: string;
|
|
4856
|
+
};
|
|
4857
|
+
Insert: {
|
|
4858
|
+
created_at?: string;
|
|
4859
|
+
details?: Json | null;
|
|
4860
|
+
id?: string;
|
|
4861
|
+
lounge_branch_id: string;
|
|
4862
|
+
name?: string | null;
|
|
4863
|
+
updated_at?: string;
|
|
4864
|
+
};
|
|
4865
|
+
Update: {
|
|
4866
|
+
created_at?: string;
|
|
4867
|
+
details?: Json | null;
|
|
4868
|
+
id?: string;
|
|
4869
|
+
lounge_branch_id?: string;
|
|
4870
|
+
name?: string | null;
|
|
4871
|
+
updated_at?: string;
|
|
4872
|
+
};
|
|
4873
|
+
Relationships: [];
|
|
4874
|
+
};
|
|
4875
|
+
lounge_branch_session_discount_targets: {
|
|
4876
|
+
Row: {
|
|
4877
|
+
console_id: string | null;
|
|
4878
|
+
created_at: string;
|
|
4879
|
+
discount_id: string;
|
|
4880
|
+
games_consoles_id: string | null;
|
|
4881
|
+
genres: string[] | null;
|
|
4882
|
+
id: string;
|
|
4883
|
+
include_non_regulars: boolean;
|
|
4884
|
+
include_regulars: boolean;
|
|
4885
|
+
};
|
|
4886
|
+
Insert: {
|
|
4887
|
+
console_id?: string | null;
|
|
4888
|
+
created_at?: string;
|
|
4889
|
+
discount_id: string;
|
|
4890
|
+
games_consoles_id?: string | null;
|
|
4891
|
+
genres?: string[] | null;
|
|
4892
|
+
id?: string;
|
|
4893
|
+
include_non_regulars?: boolean;
|
|
4894
|
+
include_regulars?: boolean;
|
|
4895
|
+
};
|
|
4896
|
+
Update: {
|
|
4897
|
+
console_id?: string | null;
|
|
4898
|
+
created_at?: string;
|
|
4899
|
+
discount_id?: string;
|
|
4900
|
+
games_consoles_id?: string | null;
|
|
4901
|
+
genres?: string[] | null;
|
|
4902
|
+
id?: string;
|
|
4903
|
+
include_non_regulars?: boolean;
|
|
4904
|
+
include_regulars?: boolean;
|
|
4905
|
+
};
|
|
4906
|
+
Relationships: [
|
|
4907
|
+
{
|
|
4908
|
+
foreignKeyName: "lounge_branch_session_discount_targets_discount_id_fkey";
|
|
4909
|
+
columns: ["discount_id"];
|
|
4910
|
+
isOneToOne: false;
|
|
4911
|
+
referencedRelation: "lounge_branch_session_discounts";
|
|
4912
|
+
referencedColumns: ["id"];
|
|
4913
|
+
}
|
|
4914
|
+
];
|
|
4915
|
+
};
|
|
4916
|
+
lounge_branch_session_discounts: {
|
|
4917
|
+
Row: {
|
|
4918
|
+
created_at: string;
|
|
4919
|
+
discount_type: Database["sessions"]["Enums"]["session_discount_type"];
|
|
4920
|
+
id: string;
|
|
4921
|
+
incremental_discount_percentage: number | null;
|
|
4922
|
+
maximum_discount_percentage: number | null;
|
|
4923
|
+
option_id: string;
|
|
4924
|
+
updated_at: string;
|
|
4925
|
+
valid_from: string | null;
|
|
4926
|
+
valid_until: string | null;
|
|
4927
|
+
value: number | null;
|
|
4928
|
+
};
|
|
4929
|
+
Insert: {
|
|
4930
|
+
created_at?: string;
|
|
4931
|
+
discount_type: Database["sessions"]["Enums"]["session_discount_type"];
|
|
4932
|
+
id?: string;
|
|
4933
|
+
incremental_discount_percentage?: number | null;
|
|
4934
|
+
maximum_discount_percentage?: number | null;
|
|
4935
|
+
option_id: string;
|
|
4936
|
+
updated_at?: string;
|
|
4937
|
+
valid_from?: string | null;
|
|
4938
|
+
valid_until?: string | null;
|
|
4939
|
+
value?: number | null;
|
|
4940
|
+
};
|
|
4941
|
+
Update: {
|
|
4942
|
+
created_at?: string;
|
|
4943
|
+
discount_type?: Database["sessions"]["Enums"]["session_discount_type"];
|
|
4944
|
+
id?: string;
|
|
4945
|
+
incremental_discount_percentage?: number | null;
|
|
4946
|
+
maximum_discount_percentage?: number | null;
|
|
4947
|
+
option_id?: string;
|
|
4948
|
+
updated_at?: string;
|
|
4949
|
+
valid_from?: string | null;
|
|
4950
|
+
valid_until?: string | null;
|
|
4951
|
+
value?: number | null;
|
|
4952
|
+
};
|
|
4953
|
+
Relationships: [
|
|
4954
|
+
{
|
|
4955
|
+
foreignKeyName: "lounge_branch_session_discounts_option_id_fkey";
|
|
4956
|
+
columns: ["option_id"];
|
|
4957
|
+
isOneToOne: false;
|
|
4958
|
+
referencedRelation: "lounge_branch_session_options";
|
|
4959
|
+
referencedColumns: ["id"];
|
|
4960
|
+
}
|
|
4961
|
+
];
|
|
4962
|
+
};
|
|
4963
|
+
lounge_branch_session_options: {
|
|
4964
|
+
Row: {
|
|
4965
|
+
amount_cents: number;
|
|
4966
|
+
created_at: string;
|
|
4967
|
+
games_consoles_id: string | null;
|
|
4968
|
+
id: string;
|
|
4969
|
+
lounge_branch_id: string;
|
|
4970
|
+
minimum_billing_minutes: number | null;
|
|
4971
|
+
pricing_type: Database["sessions"]["Enums"]["session_pricing_type"];
|
|
4972
|
+
unit_label: string | null;
|
|
4973
|
+
updated_at: string;
|
|
4974
|
+
};
|
|
4975
|
+
Insert: {
|
|
4976
|
+
amount_cents: number;
|
|
4977
|
+
created_at?: string;
|
|
4978
|
+
games_consoles_id?: string | null;
|
|
4979
|
+
id?: string;
|
|
4980
|
+
lounge_branch_id: string;
|
|
4981
|
+
minimum_billing_minutes?: number | null;
|
|
4982
|
+
pricing_type: Database["sessions"]["Enums"]["session_pricing_type"];
|
|
4983
|
+
unit_label?: string | null;
|
|
4984
|
+
updated_at?: string;
|
|
4985
|
+
};
|
|
4986
|
+
Update: {
|
|
4987
|
+
amount_cents?: number;
|
|
4988
|
+
created_at?: string;
|
|
4989
|
+
games_consoles_id?: string | null;
|
|
4990
|
+
id?: string;
|
|
4991
|
+
lounge_branch_id?: string;
|
|
4992
|
+
minimum_billing_minutes?: number | null;
|
|
4993
|
+
pricing_type?: Database["sessions"]["Enums"]["session_pricing_type"];
|
|
4994
|
+
unit_label?: string | null;
|
|
4995
|
+
updated_at?: string;
|
|
4996
|
+
};
|
|
4997
|
+
Relationships: [
|
|
4998
|
+
{
|
|
4999
|
+
foreignKeyName: "lounge_branch_session_options_games_consoles_id_fkey";
|
|
5000
|
+
columns: ["games_consoles_id"];
|
|
5001
|
+
isOneToOne: false;
|
|
5002
|
+
referencedRelation: "lounge_branch_games_consoles";
|
|
5003
|
+
referencedColumns: ["id"];
|
|
5004
|
+
}
|
|
5005
|
+
];
|
|
5006
|
+
};
|
|
5007
|
+
lounge_branch_stations: {
|
|
5008
|
+
Row: {
|
|
5009
|
+
capacity: number;
|
|
5010
|
+
console_id: string;
|
|
5011
|
+
created_at: string;
|
|
5012
|
+
id: string;
|
|
5013
|
+
lounge_branch_id: string;
|
|
5014
|
+
name: string;
|
|
5015
|
+
number: string;
|
|
5016
|
+
online_play: boolean | null;
|
|
5017
|
+
special_controllers: string | null;
|
|
5018
|
+
status: Database["sessions"]["Enums"]["lounge_branch_station_status"];
|
|
5019
|
+
updated_at: string;
|
|
5020
|
+
updated_by: string | null;
|
|
5021
|
+
};
|
|
5022
|
+
Insert: {
|
|
5023
|
+
capacity: number;
|
|
5024
|
+
console_id: string;
|
|
5025
|
+
created_at?: string;
|
|
5026
|
+
id?: string;
|
|
5027
|
+
lounge_branch_id: string;
|
|
5028
|
+
name: string;
|
|
5029
|
+
number: string;
|
|
5030
|
+
online_play?: boolean | null;
|
|
5031
|
+
special_controllers?: string | null;
|
|
5032
|
+
status?: Database["sessions"]["Enums"]["lounge_branch_station_status"];
|
|
5033
|
+
updated_at?: string;
|
|
5034
|
+
updated_by?: string | null;
|
|
5035
|
+
};
|
|
5036
|
+
Update: {
|
|
5037
|
+
capacity?: number;
|
|
5038
|
+
console_id?: string;
|
|
5039
|
+
created_at?: string;
|
|
5040
|
+
id?: string;
|
|
5041
|
+
lounge_branch_id?: string;
|
|
5042
|
+
name?: string;
|
|
5043
|
+
number?: string;
|
|
5044
|
+
online_play?: boolean | null;
|
|
5045
|
+
special_controllers?: string | null;
|
|
5046
|
+
status?: Database["sessions"]["Enums"]["lounge_branch_station_status"];
|
|
5047
|
+
updated_at?: string;
|
|
5048
|
+
updated_by?: string | null;
|
|
5049
|
+
};
|
|
5050
|
+
Relationships: [];
|
|
5051
|
+
};
|
|
5052
|
+
player_session_assistance_requests: {
|
|
5053
|
+
Row: {
|
|
5054
|
+
acknowledged_at: string | null;
|
|
5055
|
+
acknowledged_by: string | null;
|
|
5056
|
+
created_at: string;
|
|
5057
|
+
id: string;
|
|
5058
|
+
requested_at: string;
|
|
5059
|
+
requested_by: string;
|
|
5060
|
+
session_id: string;
|
|
5061
|
+
};
|
|
5062
|
+
Insert: {
|
|
5063
|
+
acknowledged_at?: string | null;
|
|
5064
|
+
acknowledged_by?: string | null;
|
|
5065
|
+
created_at?: string;
|
|
5066
|
+
id?: string;
|
|
5067
|
+
requested_at?: string;
|
|
5068
|
+
requested_by: string;
|
|
5069
|
+
session_id: string;
|
|
5070
|
+
};
|
|
5071
|
+
Update: {
|
|
5072
|
+
acknowledged_at?: string | null;
|
|
5073
|
+
acknowledged_by?: string | null;
|
|
5074
|
+
created_at?: string;
|
|
5075
|
+
id?: string;
|
|
5076
|
+
requested_at?: string;
|
|
5077
|
+
requested_by?: string;
|
|
5078
|
+
session_id?: string;
|
|
5079
|
+
};
|
|
5080
|
+
Relationships: [
|
|
5081
|
+
{
|
|
5082
|
+
foreignKeyName: "player_session_assistance_requests_session_id_fkey";
|
|
5083
|
+
columns: ["session_id"];
|
|
5084
|
+
isOneToOne: false;
|
|
5085
|
+
referencedRelation: "player_sessions";
|
|
5086
|
+
referencedColumns: ["id"];
|
|
5087
|
+
}
|
|
5088
|
+
];
|
|
5089
|
+
};
|
|
5090
|
+
player_session_billing: {
|
|
5091
|
+
Row: {
|
|
5092
|
+
created_at: string;
|
|
5093
|
+
discount_id: string | null;
|
|
5094
|
+
id: string;
|
|
5095
|
+
option_id: string;
|
|
5096
|
+
session_id: string;
|
|
5097
|
+
units: number | null;
|
|
5098
|
+
};
|
|
5099
|
+
Insert: {
|
|
5100
|
+
created_at?: string;
|
|
5101
|
+
discount_id?: string | null;
|
|
5102
|
+
id?: string;
|
|
5103
|
+
option_id: string;
|
|
5104
|
+
session_id: string;
|
|
5105
|
+
units?: number | null;
|
|
5106
|
+
};
|
|
5107
|
+
Update: {
|
|
5108
|
+
created_at?: string;
|
|
5109
|
+
discount_id?: string | null;
|
|
5110
|
+
id?: string;
|
|
5111
|
+
option_id?: string;
|
|
5112
|
+
session_id?: string;
|
|
5113
|
+
units?: number | null;
|
|
5114
|
+
};
|
|
5115
|
+
Relationships: [
|
|
5116
|
+
{
|
|
5117
|
+
foreignKeyName: "player_session_billing_discount_id_fkey";
|
|
5118
|
+
columns: ["discount_id"];
|
|
5119
|
+
isOneToOne: false;
|
|
5120
|
+
referencedRelation: "lounge_branch_session_discounts";
|
|
5121
|
+
referencedColumns: ["id"];
|
|
5122
|
+
},
|
|
5123
|
+
{
|
|
5124
|
+
foreignKeyName: "player_session_billing_option_id_fkey";
|
|
5125
|
+
columns: ["option_id"];
|
|
5126
|
+
isOneToOne: false;
|
|
5127
|
+
referencedRelation: "lounge_branch_session_options";
|
|
5128
|
+
referencedColumns: ["id"];
|
|
5129
|
+
},
|
|
5130
|
+
{
|
|
5131
|
+
foreignKeyName: "player_session_billing_session_id_fkey";
|
|
5132
|
+
columns: ["session_id"];
|
|
5133
|
+
isOneToOne: false;
|
|
5134
|
+
referencedRelation: "player_sessions";
|
|
5135
|
+
referencedColumns: ["id"];
|
|
5136
|
+
}
|
|
5137
|
+
];
|
|
5138
|
+
};
|
|
5139
|
+
player_session_complaints: {
|
|
5140
|
+
Row: {
|
|
5141
|
+
complaint_type: Database["sessions"]["Enums"]["session_complaint_type"];
|
|
5142
|
+
created_at: string;
|
|
5143
|
+
id: string;
|
|
5144
|
+
message: string;
|
|
5145
|
+
player_id: string;
|
|
5146
|
+
subject: string;
|
|
5147
|
+
target_lounge_branch_id: string | null;
|
|
5148
|
+
target_lounge_id: string | null;
|
|
5149
|
+
target_session_id: string | null;
|
|
5150
|
+
user_id: string | null;
|
|
5151
|
+
};
|
|
5152
|
+
Insert: {
|
|
5153
|
+
complaint_type: Database["sessions"]["Enums"]["session_complaint_type"];
|
|
5154
|
+
created_at?: string;
|
|
5155
|
+
id?: string;
|
|
5156
|
+
message: string;
|
|
5157
|
+
player_id: string;
|
|
5158
|
+
subject: string;
|
|
5159
|
+
target_lounge_branch_id?: string | null;
|
|
5160
|
+
target_lounge_id?: string | null;
|
|
5161
|
+
target_session_id?: string | null;
|
|
5162
|
+
user_id?: string | null;
|
|
5163
|
+
};
|
|
5164
|
+
Update: {
|
|
5165
|
+
complaint_type?: Database["sessions"]["Enums"]["session_complaint_type"];
|
|
5166
|
+
created_at?: string;
|
|
5167
|
+
id?: string;
|
|
5168
|
+
message?: string;
|
|
5169
|
+
player_id?: string;
|
|
5170
|
+
subject?: string;
|
|
5171
|
+
target_lounge_branch_id?: string | null;
|
|
5172
|
+
target_lounge_id?: string | null;
|
|
5173
|
+
target_session_id?: string | null;
|
|
5174
|
+
user_id?: string | null;
|
|
5175
|
+
};
|
|
5176
|
+
Relationships: [
|
|
5177
|
+
{
|
|
5178
|
+
foreignKeyName: "player_session_complaints_target_session_id_fkey";
|
|
5179
|
+
columns: ["target_session_id"];
|
|
5180
|
+
isOneToOne: false;
|
|
5181
|
+
referencedRelation: "player_sessions";
|
|
5182
|
+
referencedColumns: ["id"];
|
|
5183
|
+
}
|
|
5184
|
+
];
|
|
5185
|
+
};
|
|
5186
|
+
player_session_eatery_order_items: {
|
|
5187
|
+
Row: {
|
|
5188
|
+
created_at: string;
|
|
5189
|
+
id: string;
|
|
5190
|
+
item_id: string | null;
|
|
5191
|
+
item_snapshot: Json | null;
|
|
5192
|
+
order_id: string;
|
|
5193
|
+
quantity: number;
|
|
5194
|
+
unit_price_cents: number;
|
|
5195
|
+
};
|
|
5196
|
+
Insert: {
|
|
5197
|
+
created_at?: string;
|
|
5198
|
+
id?: string;
|
|
5199
|
+
item_id?: string | null;
|
|
5200
|
+
item_snapshot?: Json | null;
|
|
5201
|
+
order_id: string;
|
|
5202
|
+
quantity: number;
|
|
5203
|
+
unit_price_cents: number;
|
|
5204
|
+
};
|
|
5205
|
+
Update: {
|
|
5206
|
+
created_at?: string;
|
|
5207
|
+
id?: string;
|
|
5208
|
+
item_id?: string | null;
|
|
5209
|
+
item_snapshot?: Json | null;
|
|
5210
|
+
order_id?: string;
|
|
5211
|
+
quantity?: number;
|
|
5212
|
+
unit_price_cents?: number;
|
|
5213
|
+
};
|
|
5214
|
+
Relationships: [
|
|
5215
|
+
{
|
|
5216
|
+
foreignKeyName: "player_session_eatery_order_items_item_id_fkey";
|
|
5217
|
+
columns: ["item_id"];
|
|
5218
|
+
isOneToOne: false;
|
|
5219
|
+
referencedRelation: "lounge_branch_eatery_items";
|
|
5220
|
+
referencedColumns: ["id"];
|
|
5221
|
+
},
|
|
5222
|
+
{
|
|
5223
|
+
foreignKeyName: "player_session_eatery_order_items_order_id_fkey";
|
|
5224
|
+
columns: ["order_id"];
|
|
5225
|
+
isOneToOne: false;
|
|
5226
|
+
referencedRelation: "player_session_eatery_orders";
|
|
5227
|
+
referencedColumns: ["id"];
|
|
5228
|
+
}
|
|
5229
|
+
];
|
|
5230
|
+
};
|
|
5231
|
+
player_session_eatery_orders: {
|
|
5232
|
+
Row: {
|
|
5233
|
+
cancellation_reason: string | null;
|
|
5234
|
+
created_at: string;
|
|
5235
|
+
id: string;
|
|
5236
|
+
session_id: string;
|
|
5237
|
+
status: string;
|
|
5238
|
+
updated_at: string;
|
|
5239
|
+
};
|
|
5240
|
+
Insert: {
|
|
5241
|
+
cancellation_reason?: string | null;
|
|
5242
|
+
created_at?: string;
|
|
5243
|
+
id?: string;
|
|
5244
|
+
session_id: string;
|
|
5245
|
+
status?: string;
|
|
5246
|
+
updated_at?: string;
|
|
5247
|
+
};
|
|
5248
|
+
Update: {
|
|
5249
|
+
cancellation_reason?: string | null;
|
|
5250
|
+
created_at?: string;
|
|
5251
|
+
id?: string;
|
|
5252
|
+
session_id?: string;
|
|
5253
|
+
status?: string;
|
|
5254
|
+
updated_at?: string;
|
|
5255
|
+
};
|
|
5256
|
+
Relationships: [
|
|
5257
|
+
{
|
|
5258
|
+
foreignKeyName: "player_session_eatery_orders_session_id_fkey";
|
|
5259
|
+
columns: ["session_id"];
|
|
5260
|
+
isOneToOne: false;
|
|
5261
|
+
referencedRelation: "player_sessions";
|
|
5262
|
+
referencedColumns: ["id"];
|
|
5263
|
+
}
|
|
5264
|
+
];
|
|
5265
|
+
};
|
|
5266
|
+
player_session_members: {
|
|
5267
|
+
Row: {
|
|
5268
|
+
created_at: string;
|
|
5269
|
+
id: string;
|
|
5270
|
+
joined_at: string;
|
|
5271
|
+
left_at: string | null;
|
|
5272
|
+
player_id: string;
|
|
5273
|
+
role: string;
|
|
5274
|
+
session_id: string;
|
|
5275
|
+
status: Database["sessions"]["Enums"]["session_member_status"];
|
|
5276
|
+
updated_at: string;
|
|
5277
|
+
user_id: string | null;
|
|
5278
|
+
};
|
|
5279
|
+
Insert: {
|
|
5280
|
+
created_at?: string;
|
|
5281
|
+
id?: string;
|
|
5282
|
+
joined_at?: string;
|
|
5283
|
+
left_at?: string | null;
|
|
5284
|
+
player_id: string;
|
|
5285
|
+
role: string;
|
|
5286
|
+
session_id: string;
|
|
5287
|
+
status?: Database["sessions"]["Enums"]["session_member_status"];
|
|
5288
|
+
updated_at?: string;
|
|
5289
|
+
user_id?: string | null;
|
|
5290
|
+
};
|
|
5291
|
+
Update: {
|
|
5292
|
+
created_at?: string;
|
|
5293
|
+
id?: string;
|
|
5294
|
+
joined_at?: string;
|
|
5295
|
+
left_at?: string | null;
|
|
5296
|
+
player_id?: string;
|
|
5297
|
+
role?: string;
|
|
5298
|
+
session_id?: string;
|
|
5299
|
+
status?: Database["sessions"]["Enums"]["session_member_status"];
|
|
5300
|
+
updated_at?: string;
|
|
5301
|
+
user_id?: string | null;
|
|
5302
|
+
};
|
|
5303
|
+
Relationships: [
|
|
5304
|
+
{
|
|
5305
|
+
foreignKeyName: "player_session_members_session_id_fkey";
|
|
5306
|
+
columns: ["session_id"];
|
|
5307
|
+
isOneToOne: false;
|
|
5308
|
+
referencedRelation: "player_sessions";
|
|
5309
|
+
referencedColumns: ["id"];
|
|
5310
|
+
}
|
|
5311
|
+
];
|
|
5312
|
+
};
|
|
5313
|
+
player_sessions: {
|
|
5314
|
+
Row: {
|
|
5315
|
+
checkout_requested_at: string | null;
|
|
5316
|
+
created_at: string;
|
|
5317
|
+
ended_at: string | null;
|
|
5318
|
+
games_consoles_id: string;
|
|
5319
|
+
id: string;
|
|
5320
|
+
is_reservation: boolean;
|
|
5321
|
+
lounge_branch_id: string;
|
|
5322
|
+
luggage_slot_id: string | null;
|
|
5323
|
+
minor_representative_consent_verified_at: string | null;
|
|
5324
|
+
player_id: string;
|
|
5325
|
+
requested_games_consoles_id: string | null;
|
|
5326
|
+
requested_station_id: string | null;
|
|
5327
|
+
reservation_requested_at: string | null;
|
|
5328
|
+
started_at: string | null;
|
|
5329
|
+
station_id: string;
|
|
5330
|
+
status: Database["sessions"]["Enums"]["session_status"];
|
|
5331
|
+
updated_at: string;
|
|
5332
|
+
user_id: string | null;
|
|
5333
|
+
};
|
|
5334
|
+
Insert: {
|
|
5335
|
+
checkout_requested_at?: string | null;
|
|
5336
|
+
created_at?: string;
|
|
5337
|
+
ended_at?: string | null;
|
|
5338
|
+
games_consoles_id: string;
|
|
5339
|
+
id?: string;
|
|
5340
|
+
is_reservation?: boolean;
|
|
5341
|
+
lounge_branch_id: string;
|
|
5342
|
+
luggage_slot_id?: string | null;
|
|
5343
|
+
minor_representative_consent_verified_at?: string | null;
|
|
5344
|
+
player_id: string;
|
|
5345
|
+
requested_games_consoles_id?: string | null;
|
|
5346
|
+
requested_station_id?: string | null;
|
|
5347
|
+
reservation_requested_at?: string | null;
|
|
5348
|
+
started_at?: string | null;
|
|
5349
|
+
station_id: string;
|
|
5350
|
+
status: Database["sessions"]["Enums"]["session_status"];
|
|
5351
|
+
updated_at?: string;
|
|
5352
|
+
user_id?: string | null;
|
|
5353
|
+
};
|
|
5354
|
+
Update: {
|
|
5355
|
+
checkout_requested_at?: string | null;
|
|
5356
|
+
created_at?: string;
|
|
5357
|
+
ended_at?: string | null;
|
|
5358
|
+
games_consoles_id?: string;
|
|
5359
|
+
id?: string;
|
|
5360
|
+
is_reservation?: boolean;
|
|
5361
|
+
lounge_branch_id?: string;
|
|
5362
|
+
luggage_slot_id?: string | null;
|
|
5363
|
+
minor_representative_consent_verified_at?: string | null;
|
|
5364
|
+
player_id?: string;
|
|
5365
|
+
requested_games_consoles_id?: string | null;
|
|
5366
|
+
requested_station_id?: string | null;
|
|
5367
|
+
reservation_requested_at?: string | null;
|
|
5368
|
+
started_at?: string | null;
|
|
5369
|
+
station_id?: string;
|
|
5370
|
+
status?: Database["sessions"]["Enums"]["session_status"];
|
|
5371
|
+
updated_at?: string;
|
|
5372
|
+
user_id?: string | null;
|
|
5373
|
+
};
|
|
5374
|
+
Relationships: [
|
|
5375
|
+
{
|
|
5376
|
+
foreignKeyName: "player_sessions_luggage_slot_id_fkey";
|
|
5377
|
+
columns: ["luggage_slot_id"];
|
|
5378
|
+
isOneToOne: false;
|
|
5379
|
+
referencedRelation: "lounge_branch_luggage_slots";
|
|
5380
|
+
referencedColumns: ["id"];
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
foreignKeyName: "player_sessions_requested_station_id_fkey";
|
|
5384
|
+
columns: ["requested_station_id"];
|
|
5385
|
+
isOneToOne: false;
|
|
5386
|
+
referencedRelation: "lounge_branch_stations";
|
|
5387
|
+
referencedColumns: ["id"];
|
|
5388
|
+
},
|
|
5389
|
+
{
|
|
5390
|
+
foreignKeyName: "player_sessions_station_id_fkey";
|
|
5391
|
+
columns: ["station_id"];
|
|
5392
|
+
isOneToOne: false;
|
|
5393
|
+
referencedRelation: "lounge_branch_stations";
|
|
5394
|
+
referencedColumns: ["id"];
|
|
5395
|
+
}
|
|
5396
|
+
];
|
|
5397
|
+
};
|
|
5398
|
+
};
|
|
5399
|
+
Views: {
|
|
5400
|
+
[_ in never]: never;
|
|
5401
|
+
};
|
|
5402
|
+
Functions: {
|
|
5403
|
+
[_ in never]: never;
|
|
5404
|
+
};
|
|
5405
|
+
Enums: {
|
|
5406
|
+
lounge_branch_station_status: "available" | "occupied";
|
|
5407
|
+
session_complaint_type: "session" | "lounge_branch";
|
|
5408
|
+
session_discount_type: "regular" | "incremental_time";
|
|
5409
|
+
session_member_status: "pending" | "active" | "left";
|
|
5410
|
+
session_pricing_type: "time" | "unit";
|
|
5411
|
+
session_status: "pending" | "active" | "change_requested" | "checking_out" | "ended" | "cancelled";
|
|
5412
|
+
};
|
|
5413
|
+
CompositeTypes: {
|
|
5414
|
+
[_ in never]: never;
|
|
5415
|
+
};
|
|
5416
|
+
};
|
|
4660
5417
|
storage: {
|
|
4661
5418
|
Tables: {
|
|
4662
5419
|
buckets: {
|
|
@@ -5095,6 +5852,14 @@ export type Database = {
|
|
|
5095
5852
|
};
|
|
5096
5853
|
Returns: string[];
|
|
5097
5854
|
};
|
|
5855
|
+
get_common_prefix: {
|
|
5856
|
+
Args: {
|
|
5857
|
+
p_delimiter: string;
|
|
5858
|
+
p_key: string;
|
|
5859
|
+
p_prefix: string;
|
|
5860
|
+
};
|
|
5861
|
+
Returns: string;
|
|
5862
|
+
};
|
|
5098
5863
|
get_size_by_bucket: {
|
|
5099
5864
|
Args: never;
|
|
5100
5865
|
Returns: {
|
|
@@ -5119,15 +5884,18 @@ export type Database = {
|
|
|
5119
5884
|
};
|
|
5120
5885
|
list_objects_with_delimiter: {
|
|
5121
5886
|
Args: {
|
|
5122
|
-
|
|
5887
|
+
_bucket_id: string;
|
|
5123
5888
|
delimiter_param: string;
|
|
5124
5889
|
max_keys?: number;
|
|
5125
5890
|
next_token?: string;
|
|
5126
5891
|
prefix_param: string;
|
|
5892
|
+
sort_order?: string;
|
|
5127
5893
|
start_after?: string;
|
|
5128
5894
|
};
|
|
5129
5895
|
Returns: {
|
|
5896
|
+
created_at: string;
|
|
5130
5897
|
id: string;
|
|
5898
|
+
last_accessed_at: string;
|
|
5131
5899
|
metadata: Json;
|
|
5132
5900
|
name: string;
|
|
5133
5901
|
updated_at: string;
|
|
@@ -5144,6 +5912,9 @@ export type Database = {
|
|
|
5144
5912
|
limits?: number;
|
|
5145
5913
|
offsets?: number;
|
|
5146
5914
|
prefix: string;
|
|
5915
|
+
search?: string;
|
|
5916
|
+
sortcolumn?: string;
|
|
5917
|
+
sortorder?: string;
|
|
5147
5918
|
};
|
|
5148
5919
|
Returns: {
|
|
5149
5920
|
created_at: string;
|
|
@@ -5153,20 +5924,43 @@ export type Database = {
|
|
|
5153
5924
|
name: string;
|
|
5154
5925
|
updated_at: string;
|
|
5155
5926
|
}[];
|
|
5156
|
-
}
|
|
5927
|
+
};
|
|
5928
|
+
search_by_timestamp: {
|
|
5157
5929
|
Args: {
|
|
5158
|
-
|
|
5930
|
+
p_bucket_id: string;
|
|
5931
|
+
p_level: number;
|
|
5932
|
+
p_limit: number;
|
|
5933
|
+
p_prefix: string;
|
|
5934
|
+
p_sort_column: string;
|
|
5935
|
+
p_sort_column_after: string;
|
|
5936
|
+
p_sort_order: string;
|
|
5937
|
+
p_start_after: string;
|
|
5938
|
+
};
|
|
5939
|
+
Returns: {
|
|
5940
|
+
created_at: string;
|
|
5941
|
+
id: string;
|
|
5942
|
+
key: string;
|
|
5943
|
+
last_accessed_at: string;
|
|
5944
|
+
metadata: Json;
|
|
5945
|
+
name: string;
|
|
5946
|
+
updated_at: string;
|
|
5947
|
+
}[];
|
|
5948
|
+
};
|
|
5949
|
+
search_v2: {
|
|
5950
|
+
Args: {
|
|
5951
|
+
bucket_name: string;
|
|
5159
5952
|
levels?: number;
|
|
5160
5953
|
limits?: number;
|
|
5161
|
-
offsets?: number;
|
|
5162
5954
|
prefix: string;
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5955
|
+
sort_column?: string;
|
|
5956
|
+
sort_column_after?: string;
|
|
5957
|
+
sort_order?: string;
|
|
5958
|
+
start_after?: string;
|
|
5166
5959
|
};
|
|
5167
5960
|
Returns: {
|
|
5168
5961
|
created_at: string;
|
|
5169
5962
|
id: string;
|
|
5963
|
+
key: string;
|
|
5170
5964
|
last_accessed_at: string;
|
|
5171
5965
|
metadata: Json;
|
|
5172
5966
|
name: string;
|
|
@@ -5281,6 +6075,16 @@ export declare const Constants: {
|
|
|
5281
6075
|
readonly social_media_platform: readonly ["facebook", "instagram", "kick", "tiktok", "twitch", "twitter", "youtube"];
|
|
5282
6076
|
};
|
|
5283
6077
|
};
|
|
6078
|
+
readonly sessions: {
|
|
6079
|
+
readonly Enums: {
|
|
6080
|
+
readonly lounge_branch_station_status: readonly ["available", "occupied"];
|
|
6081
|
+
readonly session_complaint_type: readonly ["session", "lounge_branch"];
|
|
6082
|
+
readonly session_discount_type: readonly ["regular", "incremental_time"];
|
|
6083
|
+
readonly session_member_status: readonly ["pending", "active", "left"];
|
|
6084
|
+
readonly session_pricing_type: readonly ["time", "unit"];
|
|
6085
|
+
readonly session_status: readonly ["pending", "active", "change_requested", "checking_out", "ended", "cancelled"];
|
|
6086
|
+
};
|
|
6087
|
+
};
|
|
5284
6088
|
readonly storage: {
|
|
5285
6089
|
readonly Enums: {
|
|
5286
6090
|
readonly buckettype: readonly ["STANDARD", "ANALYTICS", "VECTOR"];
|