@koloseum/types 0.2.4 → 0.2.5
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 +403 -114
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ export type Database = {
|
|
|
67
67
|
Row: {
|
|
68
68
|
created_at: string | null;
|
|
69
69
|
description: string | null;
|
|
70
|
-
|
|
70
|
+
discontinued_at: string | null;
|
|
71
71
|
id: string;
|
|
72
72
|
metadata: Json | null;
|
|
73
73
|
name: string;
|
|
@@ -76,7 +76,7 @@ export type Database = {
|
|
|
76
76
|
Insert: {
|
|
77
77
|
created_at?: string | null;
|
|
78
78
|
description?: string | null;
|
|
79
|
-
|
|
79
|
+
discontinued_at?: string | null;
|
|
80
80
|
id?: string;
|
|
81
81
|
metadata?: Json | null;
|
|
82
82
|
name: string;
|
|
@@ -85,7 +85,7 @@ export type Database = {
|
|
|
85
85
|
Update: {
|
|
86
86
|
created_at?: string | null;
|
|
87
87
|
description?: string | null;
|
|
88
|
-
|
|
88
|
+
discontinued_at?: string | null;
|
|
89
89
|
id?: string;
|
|
90
90
|
metadata?: Json | null;
|
|
91
91
|
name?: string;
|
|
@@ -152,8 +152,8 @@ export type Database = {
|
|
|
152
152
|
id: string;
|
|
153
153
|
metadata: Json | null;
|
|
154
154
|
name: string;
|
|
155
|
-
start_time: string
|
|
156
|
-
venue: Json
|
|
155
|
+
start_time: string;
|
|
156
|
+
venue: Json;
|
|
157
157
|
};
|
|
158
158
|
Insert: {
|
|
159
159
|
created_at?: string | null;
|
|
@@ -164,8 +164,8 @@ export type Database = {
|
|
|
164
164
|
id?: string;
|
|
165
165
|
metadata?: Json | null;
|
|
166
166
|
name: string;
|
|
167
|
-
start_time
|
|
168
|
-
venue
|
|
167
|
+
start_time: string;
|
|
168
|
+
venue: Json;
|
|
169
169
|
};
|
|
170
170
|
Update: {
|
|
171
171
|
created_at?: string | null;
|
|
@@ -176,8 +176,8 @@ export type Database = {
|
|
|
176
176
|
id?: string;
|
|
177
177
|
metadata?: Json | null;
|
|
178
178
|
name?: string;
|
|
179
|
-
start_time?: string
|
|
180
|
-
venue?: Json
|
|
179
|
+
start_time?: string;
|
|
180
|
+
venue?: Json;
|
|
181
181
|
};
|
|
182
182
|
Relationships: [
|
|
183
183
|
{
|
|
@@ -826,7 +826,7 @@ export type Database = {
|
|
|
826
826
|
Row: {
|
|
827
827
|
created_at: string;
|
|
828
828
|
description: string | null;
|
|
829
|
-
|
|
829
|
+
discontinued_at: string | null;
|
|
830
830
|
id: string;
|
|
831
831
|
metadata: Json | null;
|
|
832
832
|
name: string;
|
|
@@ -835,7 +835,7 @@ export type Database = {
|
|
|
835
835
|
Insert: {
|
|
836
836
|
created_at?: string;
|
|
837
837
|
description?: string | null;
|
|
838
|
-
|
|
838
|
+
discontinued_at?: string | null;
|
|
839
839
|
id?: string;
|
|
840
840
|
metadata?: Json | null;
|
|
841
841
|
name: string;
|
|
@@ -844,7 +844,7 @@ export type Database = {
|
|
|
844
844
|
Update: {
|
|
845
845
|
created_at?: string;
|
|
846
846
|
description?: string | null;
|
|
847
|
-
|
|
847
|
+
discontinued_at?: string | null;
|
|
848
848
|
id?: string;
|
|
849
849
|
metadata?: Json | null;
|
|
850
850
|
name?: string;
|
|
@@ -1049,7 +1049,7 @@ export type Database = {
|
|
|
1049
1049
|
Row: {
|
|
1050
1050
|
created_at: string;
|
|
1051
1051
|
description: string | null;
|
|
1052
|
-
|
|
1052
|
+
discontinued_at: string | null;
|
|
1053
1053
|
id: string;
|
|
1054
1054
|
league_id: string;
|
|
1055
1055
|
metadata: Json | null;
|
|
@@ -1059,7 +1059,7 @@ export type Database = {
|
|
|
1059
1059
|
Insert: {
|
|
1060
1060
|
created_at?: string;
|
|
1061
1061
|
description?: string | null;
|
|
1062
|
-
|
|
1062
|
+
discontinued_at?: string | null;
|
|
1063
1063
|
id?: string;
|
|
1064
1064
|
league_id: string;
|
|
1065
1065
|
metadata?: Json | null;
|
|
@@ -1069,7 +1069,7 @@ export type Database = {
|
|
|
1069
1069
|
Update: {
|
|
1070
1070
|
created_at?: string;
|
|
1071
1071
|
description?: string | null;
|
|
1072
|
-
|
|
1072
|
+
discontinued_at?: string | null;
|
|
1073
1073
|
id?: string;
|
|
1074
1074
|
league_id?: string;
|
|
1075
1075
|
metadata?: Json | null;
|
|
@@ -1095,8 +1095,8 @@ export type Database = {
|
|
|
1095
1095
|
metadata: Json | null;
|
|
1096
1096
|
name: string;
|
|
1097
1097
|
season_id: string;
|
|
1098
|
-
start_time: string
|
|
1099
|
-
venue: Json
|
|
1098
|
+
start_time: string;
|
|
1099
|
+
venue: Json;
|
|
1100
1100
|
};
|
|
1101
1101
|
Insert: {
|
|
1102
1102
|
created_at?: string;
|
|
@@ -1106,8 +1106,8 @@ export type Database = {
|
|
|
1106
1106
|
metadata?: Json | null;
|
|
1107
1107
|
name: string;
|
|
1108
1108
|
season_id: string;
|
|
1109
|
-
start_time
|
|
1110
|
-
venue
|
|
1109
|
+
start_time: string;
|
|
1110
|
+
venue: Json;
|
|
1111
1111
|
};
|
|
1112
1112
|
Update: {
|
|
1113
1113
|
created_at?: string;
|
|
@@ -1117,8 +1117,8 @@ export type Database = {
|
|
|
1117
1117
|
metadata?: Json | null;
|
|
1118
1118
|
name?: string;
|
|
1119
1119
|
season_id?: string;
|
|
1120
|
-
start_time?: string
|
|
1121
|
-
venue?: Json
|
|
1120
|
+
start_time?: string;
|
|
1121
|
+
venue?: Json;
|
|
1122
1122
|
};
|
|
1123
1123
|
Relationships: [
|
|
1124
1124
|
{
|
|
@@ -1275,11 +1275,11 @@ export type Database = {
|
|
|
1275
1275
|
description: string | null;
|
|
1276
1276
|
end_time: string | null;
|
|
1277
1277
|
id: string;
|
|
1278
|
+
lounge_branch_id: string;
|
|
1278
1279
|
metadata: Json | null;
|
|
1279
1280
|
name: string;
|
|
1280
1281
|
participant_type: Database["competitions"]["Enums"]["event_participant_type"];
|
|
1281
|
-
start_time: string
|
|
1282
|
-
venue: Json | null;
|
|
1282
|
+
start_time: string;
|
|
1283
1283
|
};
|
|
1284
1284
|
Insert: {
|
|
1285
1285
|
created_at?: string;
|
|
@@ -1287,11 +1287,11 @@ export type Database = {
|
|
|
1287
1287
|
description?: string | null;
|
|
1288
1288
|
end_time?: string | null;
|
|
1289
1289
|
id?: string;
|
|
1290
|
+
lounge_branch_id: string;
|
|
1290
1291
|
metadata?: Json | null;
|
|
1291
1292
|
name: string;
|
|
1292
1293
|
participant_type: Database["competitions"]["Enums"]["event_participant_type"];
|
|
1293
|
-
start_time
|
|
1294
|
-
venue?: Json | null;
|
|
1294
|
+
start_time: string;
|
|
1295
1295
|
};
|
|
1296
1296
|
Update: {
|
|
1297
1297
|
created_at?: string;
|
|
@@ -1299,11 +1299,11 @@ export type Database = {
|
|
|
1299
1299
|
description?: string | null;
|
|
1300
1300
|
end_time?: string | null;
|
|
1301
1301
|
id?: string;
|
|
1302
|
+
lounge_branch_id?: string;
|
|
1302
1303
|
metadata?: Json | null;
|
|
1303
1304
|
name?: string;
|
|
1304
1305
|
participant_type?: Database["competitions"]["Enums"]["event_participant_type"];
|
|
1305
|
-
start_time?: string
|
|
1306
|
-
venue?: Json | null;
|
|
1306
|
+
start_time?: string;
|
|
1307
1307
|
};
|
|
1308
1308
|
Relationships: [];
|
|
1309
1309
|
};
|
|
@@ -1620,8 +1620,8 @@ export type Database = {
|
|
|
1620
1620
|
authorise_competition: {
|
|
1621
1621
|
Args: {
|
|
1622
1622
|
p_challenges_id?: string;
|
|
1623
|
-
p_locals_tournament_id?: string;
|
|
1624
1623
|
p_league_id?: string;
|
|
1624
|
+
p_locals_tournament_id?: string;
|
|
1625
1625
|
p_permission: string;
|
|
1626
1626
|
};
|
|
1627
1627
|
Returns: boolean;
|
|
@@ -1649,40 +1649,40 @@ export type Database = {
|
|
|
1649
1649
|
};
|
|
1650
1650
|
has_competition_access: {
|
|
1651
1651
|
Args: {
|
|
1652
|
-
p_locals_tournament_id?: string;
|
|
1653
|
-
p_user_id?: string;
|
|
1654
1652
|
p_challenges_id?: string;
|
|
1655
1653
|
p_league_id?: string;
|
|
1654
|
+
p_locals_tournament_id?: string;
|
|
1655
|
+
p_user_id?: string;
|
|
1656
1656
|
};
|
|
1657
1657
|
Returns: boolean;
|
|
1658
1658
|
};
|
|
1659
1659
|
is_challenges_organiser: {
|
|
1660
1660
|
Args: {
|
|
1661
|
-
p_user_id?: string;
|
|
1662
1661
|
p_challenges_id: string;
|
|
1662
|
+
p_user_id?: string;
|
|
1663
1663
|
};
|
|
1664
1664
|
Returns: boolean;
|
|
1665
1665
|
};
|
|
1666
1666
|
is_challenges_staff: {
|
|
1667
1667
|
Args: {
|
|
1668
|
+
p_challenges_id: string;
|
|
1668
1669
|
p_permission: string;
|
|
1669
1670
|
p_user_id?: string;
|
|
1670
|
-
p_challenges_id: string;
|
|
1671
1671
|
};
|
|
1672
1672
|
Returns: boolean;
|
|
1673
1673
|
};
|
|
1674
1674
|
is_league_organiser: {
|
|
1675
1675
|
Args: {
|
|
1676
|
-
p_user_id?: string;
|
|
1677
1676
|
p_league_id: string;
|
|
1677
|
+
p_user_id?: string;
|
|
1678
1678
|
};
|
|
1679
1679
|
Returns: boolean;
|
|
1680
1680
|
};
|
|
1681
1681
|
is_league_staff: {
|
|
1682
1682
|
Args: {
|
|
1683
|
-
p_user_id?: string;
|
|
1684
|
-
p_permission: string;
|
|
1685
1683
|
p_league_id: string;
|
|
1684
|
+
p_permission: string;
|
|
1685
|
+
p_user_id?: string;
|
|
1686
1686
|
};
|
|
1687
1687
|
Returns: boolean;
|
|
1688
1688
|
};
|
|
@@ -1695,23 +1695,23 @@ export type Database = {
|
|
|
1695
1695
|
};
|
|
1696
1696
|
is_locals_staff: {
|
|
1697
1697
|
Args: {
|
|
1698
|
-
p_permission: string;
|
|
1699
1698
|
p_locals_tournament_id: string;
|
|
1699
|
+
p_permission: string;
|
|
1700
1700
|
p_user_id?: string;
|
|
1701
1701
|
};
|
|
1702
1702
|
Returns: boolean;
|
|
1703
1703
|
};
|
|
1704
1704
|
is_penalty_active: {
|
|
1705
1705
|
Args: {
|
|
1706
|
-
p_expires_at?: string;
|
|
1707
1706
|
p_applied_at: string;
|
|
1707
|
+
p_expires_at?: string;
|
|
1708
1708
|
};
|
|
1709
1709
|
Returns: boolean;
|
|
1710
1710
|
};
|
|
1711
1711
|
perform_phase_seeding: {
|
|
1712
1712
|
Args: {
|
|
1713
|
-
p_participant_type: Database["competitions"]["Enums"]["event_participant_type"];
|
|
1714
1713
|
p_config_id: string;
|
|
1714
|
+
p_participant_type: Database["competitions"]["Enums"]["event_participant_type"];
|
|
1715
1715
|
};
|
|
1716
1716
|
Returns: undefined;
|
|
1717
1717
|
};
|
|
@@ -3190,8 +3190,8 @@ export type Database = {
|
|
|
3190
3190
|
};
|
|
3191
3191
|
check_annual_update_limit: {
|
|
3192
3192
|
Args: {
|
|
3193
|
-
p_field: string;
|
|
3194
3193
|
p_account_type: Database["compliance"]["Enums"]["account_type"];
|
|
3194
|
+
p_field: string;
|
|
3195
3195
|
p_user_id: string;
|
|
3196
3196
|
};
|
|
3197
3197
|
Returns: boolean;
|
|
@@ -3204,51 +3204,51 @@ export type Database = {
|
|
|
3204
3204
|
Args: {
|
|
3205
3205
|
p_company_name: string;
|
|
3206
3206
|
p_email?: string;
|
|
3207
|
-
p_trade_name?: string;
|
|
3208
3207
|
p_phone?: string;
|
|
3209
|
-
p_website?: string;
|
|
3210
3208
|
p_registration_date: string;
|
|
3209
|
+
p_trade_name?: string;
|
|
3210
|
+
p_website?: string;
|
|
3211
3211
|
};
|
|
3212
3212
|
Returns: string;
|
|
3213
3213
|
};
|
|
3214
3214
|
create_player: {
|
|
3215
3215
|
Args: {
|
|
3216
3216
|
p_birth_date: string;
|
|
3217
|
-
p_sex: Database["compliance"]["Enums"]["sex"];
|
|
3218
|
-
p_nationality: string;
|
|
3219
|
-
p_last_name: string;
|
|
3220
3217
|
p_first_name: string;
|
|
3221
3218
|
p_gender_identity?: Database["compliance"]["Enums"]["gender_identity"];
|
|
3219
|
+
p_last_name: string;
|
|
3220
|
+
p_middle_names?: string;
|
|
3221
|
+
p_nationality: string;
|
|
3222
3222
|
p_pronouns?: Database["compliance"]["Enums"]["pronouns"][];
|
|
3223
|
-
p_show_pronouns?: boolean;
|
|
3224
|
-
p_show_birth_date?: boolean;
|
|
3225
3223
|
p_pseudonym?: string;
|
|
3226
|
-
|
|
3224
|
+
p_sex: Database["compliance"]["Enums"]["sex"];
|
|
3225
|
+
p_show_birth_date?: boolean;
|
|
3226
|
+
p_show_pronouns?: boolean;
|
|
3227
3227
|
};
|
|
3228
3228
|
Returns: string;
|
|
3229
3229
|
};
|
|
3230
3230
|
create_player_minor_rep: {
|
|
3231
3231
|
Args: {
|
|
3232
|
-
|
|
3232
|
+
p_birth_date: string;
|
|
3233
3233
|
p_first_name: string;
|
|
3234
|
-
p_phone: string;
|
|
3235
|
-
p_relation: Database["compliance"]["Enums"]["minor_relation"];
|
|
3236
|
-
p_middle_names?: string;
|
|
3237
3234
|
p_gender_identity?: Database["compliance"]["Enums"]["gender_identity"];
|
|
3238
|
-
|
|
3235
|
+
p_last_name: string;
|
|
3236
|
+
p_middle_names?: string;
|
|
3239
3237
|
p_nationality: string;
|
|
3240
|
-
|
|
3238
|
+
p_other_relation?: string;
|
|
3239
|
+
p_phone: string;
|
|
3240
|
+
p_pronouns?: Database["compliance"]["Enums"]["pronouns"][];
|
|
3241
|
+
p_relation: Database["compliance"]["Enums"]["minor_relation"];
|
|
3241
3242
|
p_sex: Database["compliance"]["Enums"]["sex"];
|
|
3242
|
-
p_last_name: string;
|
|
3243
3243
|
};
|
|
3244
3244
|
Returns: string;
|
|
3245
3245
|
};
|
|
3246
3246
|
create_varsity_stint: {
|
|
3247
3247
|
Args: {
|
|
3248
|
-
p_formatted_institution_name?: string;
|
|
3249
|
-
p_institution_code: string;
|
|
3250
3248
|
p_enrollment_year: number;
|
|
3251
3249
|
p_exit_year: number;
|
|
3250
|
+
p_formatted_institution_name?: string;
|
|
3251
|
+
p_institution_code: string;
|
|
3252
3252
|
p_institution_name_issue?: Database["compliance"]["Enums"]["institution_name_issue"];
|
|
3253
3253
|
};
|
|
3254
3254
|
Returns: string;
|
|
@@ -3264,15 +3264,15 @@ export type Database = {
|
|
|
3264
3264
|
input_string: string;
|
|
3265
3265
|
};
|
|
3266
3266
|
Returns: {
|
|
3267
|
-
middle_names: string;
|
|
3268
3267
|
first_name: string;
|
|
3269
3268
|
last_name: string;
|
|
3269
|
+
middle_names: string;
|
|
3270
3270
|
}[];
|
|
3271
3271
|
};
|
|
3272
3272
|
generate_platform_id: {
|
|
3273
3273
|
Args: {
|
|
3274
|
-
is_for_branch?: boolean;
|
|
3275
3274
|
account_type: Database["compliance"]["Enums"]["account_type"];
|
|
3275
|
+
is_for_branch?: boolean;
|
|
3276
3276
|
is_for_staff?: boolean;
|
|
3277
3277
|
};
|
|
3278
3278
|
Returns: string;
|
|
@@ -3283,35 +3283,35 @@ export type Database = {
|
|
|
3283
3283
|
};
|
|
3284
3284
|
get_competition_organiser_ids: {
|
|
3285
3285
|
Args: {
|
|
3286
|
-
search?: string;
|
|
3287
3286
|
include_staff?: boolean;
|
|
3287
|
+
search?: string;
|
|
3288
3288
|
};
|
|
3289
3289
|
Returns: Json;
|
|
3290
3290
|
};
|
|
3291
3291
|
get_data_update_requests: {
|
|
3292
3292
|
Args: {
|
|
3293
|
-
search?: string;
|
|
3294
3293
|
is_for_minor_rep?: boolean;
|
|
3294
|
+
search?: string;
|
|
3295
3295
|
};
|
|
3296
3296
|
Returns: {
|
|
3297
|
-
status: Database["compliance"]["Enums"]["data_update_request_status"];
|
|
3298
|
-
id: string;
|
|
3299
3297
|
account_type: Database["compliance"]["Enums"]["account_type"];
|
|
3300
|
-
updates: Json;
|
|
3301
|
-
rejection_reason: string;
|
|
3302
3298
|
created_at: string;
|
|
3299
|
+
id: string;
|
|
3300
|
+
rejection_reason: string;
|
|
3301
|
+
status: Database["compliance"]["Enums"]["data_update_request_status"];
|
|
3303
3302
|
updated_at: string;
|
|
3303
|
+
updates: Json;
|
|
3304
3304
|
}[];
|
|
3305
3305
|
};
|
|
3306
3306
|
get_data_updates: {
|
|
3307
3307
|
Args: {
|
|
3308
|
-
search?: string;
|
|
3309
3308
|
is_for_minor_rep?: boolean;
|
|
3309
|
+
search?: string;
|
|
3310
3310
|
};
|
|
3311
3311
|
Returns: {
|
|
3312
|
-
id: string;
|
|
3313
|
-
created_at: string;
|
|
3314
3312
|
account_type: Database["compliance"]["Enums"]["account_type"];
|
|
3313
|
+
created_at: string;
|
|
3314
|
+
id: string;
|
|
3315
3315
|
updates: Json;
|
|
3316
3316
|
}[];
|
|
3317
3317
|
};
|
|
@@ -3357,8 +3357,8 @@ export type Database = {
|
|
|
3357
3357
|
};
|
|
3358
3358
|
Returns: {
|
|
3359
3359
|
enrollment_year: number;
|
|
3360
|
-
graduated: boolean;
|
|
3361
3360
|
exit_year: number;
|
|
3361
|
+
graduated: boolean;
|
|
3362
3362
|
institution_code: string;
|
|
3363
3363
|
institution_name: string;
|
|
3364
3364
|
}[];
|
|
@@ -3386,24 +3386,24 @@ export type Database = {
|
|
|
3386
3386
|
};
|
|
3387
3387
|
log_phone_verification: {
|
|
3388
3388
|
Args: {
|
|
3389
|
+
p_created_at?: string;
|
|
3389
3390
|
p_phone?: string;
|
|
3390
|
-
|
|
3391
|
+
p_send_code_attempts?: Json;
|
|
3391
3392
|
p_status: Database["compliance"]["Enums"]["twilio_verification_status"];
|
|
3393
|
+
p_twilio_sid: string;
|
|
3392
3394
|
p_updated_at: string;
|
|
3393
|
-
p_created_at?: string;
|
|
3394
|
-
p_send_code_attempts?: Json;
|
|
3395
3395
|
};
|
|
3396
3396
|
Returns: undefined;
|
|
3397
3397
|
};
|
|
3398
3398
|
log_system_event: {
|
|
3399
3399
|
Args: {
|
|
3400
|
+
p_event_name?: string;
|
|
3401
|
+
p_event_payload?: Json;
|
|
3402
|
+
p_player_id: string;
|
|
3403
|
+
p_source_app: string;
|
|
3400
3404
|
p_source_identifier: string;
|
|
3401
3405
|
p_source_type: string;
|
|
3402
|
-
p_source_app: string;
|
|
3403
|
-
p_player_id: string;
|
|
3404
3406
|
p_user_id: string;
|
|
3405
|
-
p_event_payload?: Json;
|
|
3406
|
-
p_event_name?: string;
|
|
3407
3407
|
};
|
|
3408
3408
|
Returns: string;
|
|
3409
3409
|
};
|
|
@@ -3413,32 +3413,32 @@ export type Database = {
|
|
|
3413
3413
|
search_type?: string;
|
|
3414
3414
|
};
|
|
3415
3415
|
Returns: {
|
|
3416
|
-
trade_name: string;
|
|
3417
|
-
id: string;
|
|
3418
|
-
user_id: string;
|
|
3419
3416
|
company_name: string;
|
|
3417
|
+
created_at: string;
|
|
3418
|
+
id: string;
|
|
3420
3419
|
registration_date: string;
|
|
3420
|
+
trade_name: string;
|
|
3421
|
+
user_id: string;
|
|
3421
3422
|
website: string;
|
|
3422
|
-
created_at: string;
|
|
3423
3423
|
}[];
|
|
3424
3424
|
};
|
|
3425
3425
|
search_players: {
|
|
3426
3426
|
Args: {
|
|
3427
|
+
enforce_preferences?: boolean;
|
|
3427
3428
|
search_term: string;
|
|
3428
3429
|
search_type?: string;
|
|
3429
|
-
enforce_preferences?: boolean;
|
|
3430
3430
|
};
|
|
3431
3431
|
Returns: {
|
|
3432
|
-
middle_names: string;
|
|
3433
|
-
last_name: string;
|
|
3434
3432
|
birth_date: string;
|
|
3435
|
-
nationality: string;
|
|
3436
|
-
pseudonym: string;
|
|
3437
|
-
pronouns: Database["compliance"]["Enums"]["pronouns"][];
|
|
3438
3433
|
created_at: string;
|
|
3434
|
+
first_name: string;
|
|
3439
3435
|
id: string;
|
|
3436
|
+
last_name: string;
|
|
3437
|
+
middle_names: string;
|
|
3438
|
+
nationality: string;
|
|
3439
|
+
pronouns: Database["compliance"]["Enums"]["pronouns"][];
|
|
3440
|
+
pseudonym: string;
|
|
3440
3441
|
user_id: string;
|
|
3441
|
-
first_name: string;
|
|
3442
3442
|
}[];
|
|
3443
3443
|
};
|
|
3444
3444
|
submit_gaming_and_socials_data: {
|
|
@@ -3451,11 +3451,11 @@ export type Database = {
|
|
|
3451
3451
|
};
|
|
3452
3452
|
validate_data_update_log_fields: {
|
|
3453
3453
|
Args: {
|
|
3454
|
-
p_is_for_minor_rep: boolean;
|
|
3455
3454
|
p_account_type: Database["compliance"]["Enums"]["account_type"];
|
|
3456
3455
|
p_is_for_branch: boolean;
|
|
3457
|
-
|
|
3456
|
+
p_is_for_minor_rep: boolean;
|
|
3458
3457
|
p_new_record?: Record<string, unknown>;
|
|
3458
|
+
p_old_record?: Record<string, unknown>;
|
|
3459
3459
|
p_user_id?: string;
|
|
3460
3460
|
};
|
|
3461
3461
|
Returns: undefined;
|
|
@@ -3484,6 +3484,31 @@ export type Database = {
|
|
|
3484
3484
|
[_ in never]: never;
|
|
3485
3485
|
};
|
|
3486
3486
|
};
|
|
3487
|
+
graphql_public: {
|
|
3488
|
+
Tables: {
|
|
3489
|
+
[_ in never]: never;
|
|
3490
|
+
};
|
|
3491
|
+
Views: {
|
|
3492
|
+
[_ in never]: never;
|
|
3493
|
+
};
|
|
3494
|
+
Functions: {
|
|
3495
|
+
graphql: {
|
|
3496
|
+
Args: {
|
|
3497
|
+
extensions?: Json;
|
|
3498
|
+
operationName?: string;
|
|
3499
|
+
query?: string;
|
|
3500
|
+
variables?: Json;
|
|
3501
|
+
};
|
|
3502
|
+
Returns: Json;
|
|
3503
|
+
};
|
|
3504
|
+
};
|
|
3505
|
+
Enums: {
|
|
3506
|
+
[_ in never]: never;
|
|
3507
|
+
};
|
|
3508
|
+
CompositeTypes: {
|
|
3509
|
+
[_ in never]: never;
|
|
3510
|
+
};
|
|
3511
|
+
};
|
|
3487
3512
|
public: {
|
|
3488
3513
|
Tables: {
|
|
3489
3514
|
countries: {
|
|
@@ -3753,10 +3778,10 @@ export type Database = {
|
|
|
3753
3778
|
search_type?: string;
|
|
3754
3779
|
};
|
|
3755
3780
|
Returns: {
|
|
3781
|
+
created_at: string;
|
|
3756
3782
|
id: string;
|
|
3757
3783
|
name: string;
|
|
3758
3784
|
registration_date: string;
|
|
3759
|
-
created_at: string;
|
|
3760
3785
|
}[];
|
|
3761
3786
|
};
|
|
3762
3787
|
search_active_players: {
|
|
@@ -3765,15 +3790,15 @@ export type Database = {
|
|
|
3765
3790
|
search_type?: string;
|
|
3766
3791
|
};
|
|
3767
3792
|
Returns: {
|
|
3768
|
-
id: string;
|
|
3769
3793
|
birth_date: string;
|
|
3794
|
+
created_at: string;
|
|
3795
|
+
first_name: string;
|
|
3796
|
+
id: string;
|
|
3770
3797
|
last_name: string;
|
|
3771
3798
|
middle_names: string;
|
|
3772
|
-
|
|
3773
|
-
created_at: string;
|
|
3799
|
+
nationality: string;
|
|
3774
3800
|
pronouns: Database["compliance"]["Enums"]["pronouns"][];
|
|
3775
3801
|
pseudonym: string;
|
|
3776
|
-
nationality: string;
|
|
3777
3802
|
}[];
|
|
3778
3803
|
};
|
|
3779
3804
|
};
|
|
@@ -3784,51 +3809,312 @@ export type Database = {
|
|
|
3784
3809
|
[_ in never]: never;
|
|
3785
3810
|
};
|
|
3786
3811
|
};
|
|
3787
|
-
|
|
3812
|
+
storage: {
|
|
3788
3813
|
Tables: {
|
|
3789
|
-
|
|
3814
|
+
buckets: {
|
|
3815
|
+
Row: {
|
|
3816
|
+
allowed_mime_types: string[] | null;
|
|
3817
|
+
avif_autodetection: boolean | null;
|
|
3818
|
+
created_at: string | null;
|
|
3819
|
+
file_size_limit: number | null;
|
|
3820
|
+
id: string;
|
|
3821
|
+
name: string;
|
|
3822
|
+
owner: string | null;
|
|
3823
|
+
owner_id: string | null;
|
|
3824
|
+
public: boolean | null;
|
|
3825
|
+
updated_at: string | null;
|
|
3826
|
+
};
|
|
3827
|
+
Insert: {
|
|
3828
|
+
allowed_mime_types?: string[] | null;
|
|
3829
|
+
avif_autodetection?: boolean | null;
|
|
3830
|
+
created_at?: string | null;
|
|
3831
|
+
file_size_limit?: number | null;
|
|
3832
|
+
id: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
owner?: string | null;
|
|
3835
|
+
owner_id?: string | null;
|
|
3836
|
+
public?: boolean | null;
|
|
3837
|
+
updated_at?: string | null;
|
|
3838
|
+
};
|
|
3839
|
+
Update: {
|
|
3840
|
+
allowed_mime_types?: string[] | null;
|
|
3841
|
+
avif_autodetection?: boolean | null;
|
|
3842
|
+
created_at?: string | null;
|
|
3843
|
+
file_size_limit?: number | null;
|
|
3844
|
+
id?: string;
|
|
3845
|
+
name?: string;
|
|
3846
|
+
owner?: string | null;
|
|
3847
|
+
owner_id?: string | null;
|
|
3848
|
+
public?: boolean | null;
|
|
3849
|
+
updated_at?: string | null;
|
|
3850
|
+
};
|
|
3851
|
+
Relationships: [];
|
|
3852
|
+
};
|
|
3853
|
+
migrations: {
|
|
3854
|
+
Row: {
|
|
3855
|
+
executed_at: string | null;
|
|
3856
|
+
hash: string;
|
|
3857
|
+
id: number;
|
|
3858
|
+
name: string;
|
|
3859
|
+
};
|
|
3860
|
+
Insert: {
|
|
3861
|
+
executed_at?: string | null;
|
|
3862
|
+
hash: string;
|
|
3863
|
+
id: number;
|
|
3864
|
+
name: string;
|
|
3865
|
+
};
|
|
3866
|
+
Update: {
|
|
3867
|
+
executed_at?: string | null;
|
|
3868
|
+
hash?: string;
|
|
3869
|
+
id?: number;
|
|
3870
|
+
name?: string;
|
|
3871
|
+
};
|
|
3872
|
+
Relationships: [];
|
|
3873
|
+
};
|
|
3874
|
+
objects: {
|
|
3875
|
+
Row: {
|
|
3876
|
+
bucket_id: string | null;
|
|
3877
|
+
created_at: string | null;
|
|
3878
|
+
id: string;
|
|
3879
|
+
last_accessed_at: string | null;
|
|
3880
|
+
metadata: Json | null;
|
|
3881
|
+
name: string | null;
|
|
3882
|
+
owner: string | null;
|
|
3883
|
+
owner_id: string | null;
|
|
3884
|
+
path_tokens: string[] | null;
|
|
3885
|
+
updated_at: string | null;
|
|
3886
|
+
user_metadata: Json | null;
|
|
3887
|
+
version: string | null;
|
|
3888
|
+
};
|
|
3889
|
+
Insert: {
|
|
3890
|
+
bucket_id?: string | null;
|
|
3891
|
+
created_at?: string | null;
|
|
3892
|
+
id?: string;
|
|
3893
|
+
last_accessed_at?: string | null;
|
|
3894
|
+
metadata?: Json | null;
|
|
3895
|
+
name?: string | null;
|
|
3896
|
+
owner?: string | null;
|
|
3897
|
+
owner_id?: string | null;
|
|
3898
|
+
path_tokens?: string[] | null;
|
|
3899
|
+
updated_at?: string | null;
|
|
3900
|
+
user_metadata?: Json | null;
|
|
3901
|
+
version?: string | null;
|
|
3902
|
+
};
|
|
3903
|
+
Update: {
|
|
3904
|
+
bucket_id?: string | null;
|
|
3905
|
+
created_at?: string | null;
|
|
3906
|
+
id?: string;
|
|
3907
|
+
last_accessed_at?: string | null;
|
|
3908
|
+
metadata?: Json | null;
|
|
3909
|
+
name?: string | null;
|
|
3910
|
+
owner?: string | null;
|
|
3911
|
+
owner_id?: string | null;
|
|
3912
|
+
path_tokens?: string[] | null;
|
|
3913
|
+
updated_at?: string | null;
|
|
3914
|
+
user_metadata?: Json | null;
|
|
3915
|
+
version?: string | null;
|
|
3916
|
+
};
|
|
3917
|
+
Relationships: [
|
|
3918
|
+
{
|
|
3919
|
+
foreignKeyName: "objects_bucketId_fkey";
|
|
3920
|
+
columns: ["bucket_id"];
|
|
3921
|
+
isOneToOne: false;
|
|
3922
|
+
referencedRelation: "buckets";
|
|
3923
|
+
referencedColumns: ["id"];
|
|
3924
|
+
}
|
|
3925
|
+
];
|
|
3926
|
+
};
|
|
3927
|
+
s3_multipart_uploads: {
|
|
3928
|
+
Row: {
|
|
3929
|
+
bucket_id: string;
|
|
3930
|
+
created_at: string;
|
|
3931
|
+
id: string;
|
|
3932
|
+
in_progress_size: number;
|
|
3933
|
+
key: string;
|
|
3934
|
+
owner_id: string | null;
|
|
3935
|
+
upload_signature: string;
|
|
3936
|
+
user_metadata: Json | null;
|
|
3937
|
+
version: string;
|
|
3938
|
+
};
|
|
3939
|
+
Insert: {
|
|
3940
|
+
bucket_id: string;
|
|
3941
|
+
created_at?: string;
|
|
3942
|
+
id: string;
|
|
3943
|
+
in_progress_size?: number;
|
|
3944
|
+
key: string;
|
|
3945
|
+
owner_id?: string | null;
|
|
3946
|
+
upload_signature: string;
|
|
3947
|
+
user_metadata?: Json | null;
|
|
3948
|
+
version: string;
|
|
3949
|
+
};
|
|
3950
|
+
Update: {
|
|
3951
|
+
bucket_id?: string;
|
|
3952
|
+
created_at?: string;
|
|
3953
|
+
id?: string;
|
|
3954
|
+
in_progress_size?: number;
|
|
3955
|
+
key?: string;
|
|
3956
|
+
owner_id?: string | null;
|
|
3957
|
+
upload_signature?: string;
|
|
3958
|
+
user_metadata?: Json | null;
|
|
3959
|
+
version?: string;
|
|
3960
|
+
};
|
|
3961
|
+
Relationships: [
|
|
3962
|
+
{
|
|
3963
|
+
foreignKeyName: "s3_multipart_uploads_bucket_id_fkey";
|
|
3964
|
+
columns: ["bucket_id"];
|
|
3965
|
+
isOneToOne: false;
|
|
3966
|
+
referencedRelation: "buckets";
|
|
3967
|
+
referencedColumns: ["id"];
|
|
3968
|
+
}
|
|
3969
|
+
];
|
|
3970
|
+
};
|
|
3971
|
+
s3_multipart_uploads_parts: {
|
|
3972
|
+
Row: {
|
|
3973
|
+
bucket_id: string;
|
|
3974
|
+
created_at: string;
|
|
3975
|
+
etag: string;
|
|
3976
|
+
id: string;
|
|
3977
|
+
key: string;
|
|
3978
|
+
owner_id: string | null;
|
|
3979
|
+
part_number: number;
|
|
3980
|
+
size: number;
|
|
3981
|
+
upload_id: string;
|
|
3982
|
+
version: string;
|
|
3983
|
+
};
|
|
3984
|
+
Insert: {
|
|
3985
|
+
bucket_id: string;
|
|
3986
|
+
created_at?: string;
|
|
3987
|
+
etag: string;
|
|
3988
|
+
id?: string;
|
|
3989
|
+
key: string;
|
|
3990
|
+
owner_id?: string | null;
|
|
3991
|
+
part_number: number;
|
|
3992
|
+
size?: number;
|
|
3993
|
+
upload_id: string;
|
|
3994
|
+
version: string;
|
|
3995
|
+
};
|
|
3996
|
+
Update: {
|
|
3997
|
+
bucket_id?: string;
|
|
3998
|
+
created_at?: string;
|
|
3999
|
+
etag?: string;
|
|
4000
|
+
id?: string;
|
|
4001
|
+
key?: string;
|
|
4002
|
+
owner_id?: string | null;
|
|
4003
|
+
part_number?: number;
|
|
4004
|
+
size?: number;
|
|
4005
|
+
upload_id?: string;
|
|
4006
|
+
version?: string;
|
|
4007
|
+
};
|
|
4008
|
+
Relationships: [
|
|
4009
|
+
{
|
|
4010
|
+
foreignKeyName: "s3_multipart_uploads_parts_bucket_id_fkey";
|
|
4011
|
+
columns: ["bucket_id"];
|
|
4012
|
+
isOneToOne: false;
|
|
4013
|
+
referencedRelation: "buckets";
|
|
4014
|
+
referencedColumns: ["id"];
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
foreignKeyName: "s3_multipart_uploads_parts_upload_id_fkey";
|
|
4018
|
+
columns: ["upload_id"];
|
|
4019
|
+
isOneToOne: false;
|
|
4020
|
+
referencedRelation: "s3_multipart_uploads";
|
|
4021
|
+
referencedColumns: ["id"];
|
|
4022
|
+
}
|
|
4023
|
+
];
|
|
4024
|
+
};
|
|
3790
4025
|
};
|
|
3791
4026
|
Views: {
|
|
3792
4027
|
[_ in never]: never;
|
|
3793
4028
|
};
|
|
3794
4029
|
Functions: {
|
|
3795
|
-
|
|
4030
|
+
can_insert_object: {
|
|
3796
4031
|
Args: {
|
|
3797
|
-
|
|
4032
|
+
bucketid: string;
|
|
4033
|
+
metadata: Json;
|
|
4034
|
+
name: string;
|
|
4035
|
+
owner: string;
|
|
4036
|
+
};
|
|
4037
|
+
Returns: undefined;
|
|
4038
|
+
};
|
|
4039
|
+
extension: {
|
|
4040
|
+
Args: {
|
|
4041
|
+
name: string;
|
|
3798
4042
|
};
|
|
3799
4043
|
Returns: string;
|
|
3800
4044
|
};
|
|
3801
|
-
|
|
4045
|
+
filename: {
|
|
3802
4046
|
Args: {
|
|
3803
|
-
|
|
3804
|
-
p_format: string;
|
|
4047
|
+
name: string;
|
|
3805
4048
|
};
|
|
3806
4049
|
Returns: string;
|
|
3807
4050
|
};
|
|
3808
|
-
|
|
4051
|
+
foldername: {
|
|
3809
4052
|
Args: {
|
|
3810
|
-
|
|
4053
|
+
name: string;
|
|
3811
4054
|
};
|
|
3812
|
-
Returns:
|
|
4055
|
+
Returns: string[];
|
|
4056
|
+
};
|
|
4057
|
+
get_size_by_bucket: {
|
|
4058
|
+
Args: Record<PropertyKey, never>;
|
|
4059
|
+
Returns: {
|
|
4060
|
+
bucket_id: string;
|
|
4061
|
+
size: number;
|
|
4062
|
+
}[];
|
|
3813
4063
|
};
|
|
3814
|
-
|
|
4064
|
+
list_multipart_uploads_with_delimiter: {
|
|
3815
4065
|
Args: {
|
|
3816
|
-
|
|
4066
|
+
bucket_id: string;
|
|
4067
|
+
delimiter_param: string;
|
|
4068
|
+
max_keys?: number;
|
|
4069
|
+
next_key_token?: string;
|
|
4070
|
+
next_upload_token?: string;
|
|
4071
|
+
prefix_param: string;
|
|
3817
4072
|
};
|
|
3818
|
-
Returns:
|
|
4073
|
+
Returns: {
|
|
4074
|
+
created_at: string;
|
|
4075
|
+
id: string;
|
|
4076
|
+
key: string;
|
|
4077
|
+
}[];
|
|
3819
4078
|
};
|
|
3820
|
-
|
|
4079
|
+
list_objects_with_delimiter: {
|
|
3821
4080
|
Args: {
|
|
3822
|
-
|
|
3823
|
-
|
|
4081
|
+
bucket_id: string;
|
|
4082
|
+
delimiter_param: string;
|
|
4083
|
+
max_keys?: number;
|
|
4084
|
+
next_token?: string;
|
|
4085
|
+
prefix_param: string;
|
|
4086
|
+
start_after?: string;
|
|
3824
4087
|
};
|
|
3825
|
-
Returns:
|
|
4088
|
+
Returns: {
|
|
4089
|
+
id: string;
|
|
4090
|
+
metadata: Json;
|
|
4091
|
+
name: string;
|
|
4092
|
+
updated_at: string;
|
|
4093
|
+
}[];
|
|
4094
|
+
};
|
|
4095
|
+
operation: {
|
|
4096
|
+
Args: Record<PropertyKey, never>;
|
|
4097
|
+
Returns: string;
|
|
3826
4098
|
};
|
|
3827
|
-
|
|
4099
|
+
search: {
|
|
3828
4100
|
Args: {
|
|
3829
|
-
|
|
4101
|
+
bucketname: string;
|
|
4102
|
+
levels?: number;
|
|
4103
|
+
limits?: number;
|
|
4104
|
+
offsets?: number;
|
|
4105
|
+
prefix: string;
|
|
4106
|
+
search?: string;
|
|
4107
|
+
sortcolumn?: string;
|
|
4108
|
+
sortorder?: string;
|
|
3830
4109
|
};
|
|
3831
|
-
Returns:
|
|
4110
|
+
Returns: {
|
|
4111
|
+
created_at: string;
|
|
4112
|
+
id: string;
|
|
4113
|
+
last_accessed_at: string;
|
|
4114
|
+
metadata: Json;
|
|
4115
|
+
name: string;
|
|
4116
|
+
updated_at: string;
|
|
4117
|
+
}[];
|
|
3832
4118
|
};
|
|
3833
4119
|
};
|
|
3834
4120
|
Enums: {
|
|
@@ -3914,12 +4200,15 @@ export declare const Constants: {
|
|
|
3914
4200
|
readonly twilio_verification_status: readonly ["pending", "approved", "canceled"];
|
|
3915
4201
|
};
|
|
3916
4202
|
};
|
|
4203
|
+
readonly graphql_public: {
|
|
4204
|
+
readonly Enums: {};
|
|
4205
|
+
};
|
|
3917
4206
|
readonly public: {
|
|
3918
4207
|
readonly Enums: {
|
|
3919
4208
|
readonly social_media_platform: readonly ["facebook", "instagram", "kick", "tiktok", "twitch", "twitter", "youtube"];
|
|
3920
4209
|
};
|
|
3921
4210
|
};
|
|
3922
|
-
readonly
|
|
4211
|
+
readonly storage: {
|
|
3923
4212
|
readonly Enums: {};
|
|
3924
4213
|
};
|
|
3925
4214
|
};
|