@capgo/cli 7.44.1 → 7.45.0
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/README.md +1 -0
- package/dist/index.js +80 -80
- package/dist/package.json +1 -1
- package/dist/src/api/app.d.ts +1 -0
- package/dist/src/api/app.d.ts.map +1 -1
- package/dist/src/api/channels.d.ts +230 -92
- package/dist/src/api/channels.d.ts.map +1 -1
- package/dist/src/app/list.d.ts +2 -0
- package/dist/src/app/list.d.ts.map +1 -1
- package/dist/src/app/set.d.ts.map +1 -1
- package/dist/src/channel/add.d.ts.map +1 -1
- package/dist/src/init.d.ts.map +1 -1
- package/dist/src/organisation/add.d.ts +1 -0
- package/dist/src/organisation/add.d.ts.map +1 -1
- package/dist/src/sdk.js +3 -3
- package/dist/src/types/supabase.types.d.ts +115 -49
- package/dist/src/types/supabase.types.d.ts.map +1 -1
- package/dist/src/utils.d.ts +115 -46
- package/dist/src/utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -265,6 +265,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
265
265
|
channel_device_count: number;
|
|
266
266
|
created_at: string | null;
|
|
267
267
|
default_upload_channel: string;
|
|
268
|
+
expose_metadata: boolean;
|
|
268
269
|
icon_url: string;
|
|
269
270
|
id: string | null;
|
|
270
271
|
last_version: string | null;
|
|
@@ -281,6 +282,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
281
282
|
channel_device_count?: number;
|
|
282
283
|
created_at?: string | null;
|
|
283
284
|
default_upload_channel?: string;
|
|
285
|
+
expose_metadata?: boolean;
|
|
284
286
|
icon_url: string;
|
|
285
287
|
id?: string | null;
|
|
286
288
|
last_version?: string | null;
|
|
@@ -297,6 +299,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
297
299
|
channel_device_count?: number;
|
|
298
300
|
created_at?: string | null;
|
|
299
301
|
default_upload_channel?: string;
|
|
302
|
+
expose_metadata?: boolean;
|
|
300
303
|
icon_url?: string;
|
|
301
304
|
id?: string | null;
|
|
302
305
|
last_version?: string | null;
|
|
@@ -921,22 +924,40 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
921
924
|
apps: number;
|
|
922
925
|
apps_active: number | null;
|
|
923
926
|
bundle_storage_gb: number;
|
|
927
|
+
canceled_orgs: number;
|
|
924
928
|
created_at: string | null;
|
|
929
|
+
credits_bought: number;
|
|
930
|
+
credits_consumed: number;
|
|
925
931
|
date_id: string;
|
|
926
932
|
devices_last_month: number | null;
|
|
933
|
+
mrrr: number;
|
|
927
934
|
need_upgrade: number | null;
|
|
935
|
+
new_paying_orgs: number;
|
|
928
936
|
not_paying: number | null;
|
|
929
937
|
onboarded: number | null;
|
|
930
938
|
paying: number | null;
|
|
931
939
|
paying_monthly: number | null;
|
|
932
940
|
paying_yearly: number | null;
|
|
941
|
+
plan_enterprise: number | null;
|
|
942
|
+
plan_enterprise_monthly: number;
|
|
943
|
+
plan_enterprise_yearly: number;
|
|
933
944
|
plan_maker: number | null;
|
|
934
|
-
|
|
945
|
+
plan_maker_monthly: number;
|
|
946
|
+
plan_maker_yearly: number;
|
|
935
947
|
plan_solo: number | null;
|
|
948
|
+
plan_solo_monthly: number;
|
|
949
|
+
plan_solo_yearly: number;
|
|
936
950
|
plan_team: number | null;
|
|
951
|
+
plan_team_monthly: number;
|
|
952
|
+
plan_team_yearly: number;
|
|
937
953
|
registers_today: number;
|
|
954
|
+
revenue_enterprise: number;
|
|
955
|
+
revenue_maker: number;
|
|
956
|
+
revenue_solo: number;
|
|
957
|
+
revenue_team: number;
|
|
938
958
|
stars: number;
|
|
939
959
|
success_rate: number | null;
|
|
960
|
+
total_revenue: number;
|
|
940
961
|
trial: number | null;
|
|
941
962
|
updates: number;
|
|
942
963
|
updates_external: number | null;
|
|
@@ -948,22 +969,40 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
948
969
|
apps: number;
|
|
949
970
|
apps_active?: number | null;
|
|
950
971
|
bundle_storage_gb?: number;
|
|
972
|
+
canceled_orgs?: number;
|
|
951
973
|
created_at?: string | null;
|
|
974
|
+
credits_bought?: number;
|
|
975
|
+
credits_consumed?: number;
|
|
952
976
|
date_id: string;
|
|
953
977
|
devices_last_month?: number | null;
|
|
978
|
+
mrrr?: number;
|
|
954
979
|
need_upgrade?: number | null;
|
|
980
|
+
new_paying_orgs?: number;
|
|
955
981
|
not_paying?: number | null;
|
|
956
982
|
onboarded?: number | null;
|
|
957
983
|
paying?: number | null;
|
|
958
984
|
paying_monthly?: number | null;
|
|
959
985
|
paying_yearly?: number | null;
|
|
986
|
+
plan_enterprise?: number | null;
|
|
987
|
+
plan_enterprise_monthly?: number;
|
|
988
|
+
plan_enterprise_yearly?: number;
|
|
960
989
|
plan_maker?: number | null;
|
|
961
|
-
|
|
990
|
+
plan_maker_monthly?: number;
|
|
991
|
+
plan_maker_yearly?: number;
|
|
962
992
|
plan_solo?: number | null;
|
|
993
|
+
plan_solo_monthly?: number;
|
|
994
|
+
plan_solo_yearly?: number;
|
|
963
995
|
plan_team?: number | null;
|
|
996
|
+
plan_team_monthly?: number;
|
|
997
|
+
plan_team_yearly?: number;
|
|
964
998
|
registers_today?: number;
|
|
999
|
+
revenue_enterprise?: number;
|
|
1000
|
+
revenue_maker?: number;
|
|
1001
|
+
revenue_solo?: number;
|
|
1002
|
+
revenue_team?: number;
|
|
965
1003
|
stars: number;
|
|
966
1004
|
success_rate?: number | null;
|
|
1005
|
+
total_revenue?: number;
|
|
967
1006
|
trial?: number | null;
|
|
968
1007
|
updates: number;
|
|
969
1008
|
updates_external?: number | null;
|
|
@@ -975,22 +1014,40 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
975
1014
|
apps?: number;
|
|
976
1015
|
apps_active?: number | null;
|
|
977
1016
|
bundle_storage_gb?: number;
|
|
1017
|
+
canceled_orgs?: number;
|
|
978
1018
|
created_at?: string | null;
|
|
1019
|
+
credits_bought?: number;
|
|
1020
|
+
credits_consumed?: number;
|
|
979
1021
|
date_id?: string;
|
|
980
1022
|
devices_last_month?: number | null;
|
|
1023
|
+
mrrr?: number;
|
|
981
1024
|
need_upgrade?: number | null;
|
|
1025
|
+
new_paying_orgs?: number;
|
|
982
1026
|
not_paying?: number | null;
|
|
983
1027
|
onboarded?: number | null;
|
|
984
1028
|
paying?: number | null;
|
|
985
1029
|
paying_monthly?: number | null;
|
|
986
1030
|
paying_yearly?: number | null;
|
|
1031
|
+
plan_enterprise?: number | null;
|
|
1032
|
+
plan_enterprise_monthly?: number;
|
|
1033
|
+
plan_enterprise_yearly?: number;
|
|
987
1034
|
plan_maker?: number | null;
|
|
988
|
-
|
|
1035
|
+
plan_maker_monthly?: number;
|
|
1036
|
+
plan_maker_yearly?: number;
|
|
989
1037
|
plan_solo?: number | null;
|
|
1038
|
+
plan_solo_monthly?: number;
|
|
1039
|
+
plan_solo_yearly?: number;
|
|
990
1040
|
plan_team?: number | null;
|
|
1041
|
+
plan_team_monthly?: number;
|
|
1042
|
+
plan_team_yearly?: number;
|
|
991
1043
|
registers_today?: number;
|
|
1044
|
+
revenue_enterprise?: number;
|
|
1045
|
+
revenue_maker?: number;
|
|
1046
|
+
revenue_solo?: number;
|
|
1047
|
+
revenue_team?: number;
|
|
992
1048
|
stars?: number;
|
|
993
1049
|
success_rate?: number | null;
|
|
1050
|
+
total_revenue?: number;
|
|
994
1051
|
trial?: number | null;
|
|
995
1052
|
updates?: number;
|
|
996
1053
|
updates_external?: number | null;
|
|
@@ -1132,6 +1189,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1132
1189
|
created_by: string;
|
|
1133
1190
|
customer_id: string | null;
|
|
1134
1191
|
id: string;
|
|
1192
|
+
last_stats_updated_at: string | null;
|
|
1135
1193
|
logo: string | null;
|
|
1136
1194
|
management_email: string;
|
|
1137
1195
|
name: string;
|
|
@@ -1143,6 +1201,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1143
1201
|
created_by: string;
|
|
1144
1202
|
customer_id?: string | null;
|
|
1145
1203
|
id?: string;
|
|
1204
|
+
last_stats_updated_at?: string | null;
|
|
1146
1205
|
logo?: string | null;
|
|
1147
1206
|
management_email: string;
|
|
1148
1207
|
name: string;
|
|
@@ -1154,6 +1213,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1154
1213
|
created_by?: string;
|
|
1155
1214
|
customer_id?: string | null;
|
|
1156
1215
|
id?: string;
|
|
1216
|
+
last_stats_updated_at?: string | null;
|
|
1157
1217
|
logo?: string | null;
|
|
1158
1218
|
management_email?: string;
|
|
1159
1219
|
name?: string;
|
|
@@ -1177,70 +1237,55 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1177
1237
|
plans: {
|
|
1178
1238
|
Row: {
|
|
1179
1239
|
bandwidth: number;
|
|
1180
|
-
bandwidth_unit: number | null;
|
|
1181
1240
|
build_time_unit: number;
|
|
1182
1241
|
created_at: string;
|
|
1242
|
+
credit_id: string;
|
|
1183
1243
|
description: string;
|
|
1184
1244
|
id: string;
|
|
1185
1245
|
market_desc: string | null;
|
|
1186
1246
|
mau: number;
|
|
1187
|
-
mau_unit: number | null;
|
|
1188
1247
|
name: string;
|
|
1189
1248
|
price_m: number;
|
|
1190
|
-
price_m_bandwidth_id: string | null;
|
|
1191
1249
|
price_m_id: string;
|
|
1192
|
-
price_m_mau_id: string | null;
|
|
1193
|
-
price_m_storage_id: string | null;
|
|
1194
1250
|
price_y: number;
|
|
1195
1251
|
price_y_id: string;
|
|
1196
1252
|
storage: number;
|
|
1197
|
-
storage_unit: number | null;
|
|
1198
1253
|
stripe_id: string;
|
|
1199
1254
|
updated_at: string;
|
|
1200
1255
|
};
|
|
1201
1256
|
Insert: {
|
|
1202
1257
|
bandwidth: number;
|
|
1203
|
-
bandwidth_unit?: number | null;
|
|
1204
1258
|
build_time_unit?: number;
|
|
1205
1259
|
created_at?: string;
|
|
1260
|
+
credit_id: string;
|
|
1206
1261
|
description?: string;
|
|
1207
1262
|
id?: string;
|
|
1208
1263
|
market_desc?: string | null;
|
|
1209
1264
|
mau?: number;
|
|
1210
|
-
mau_unit?: number | null;
|
|
1211
1265
|
name?: string;
|
|
1212
1266
|
price_m?: number;
|
|
1213
|
-
price_m_bandwidth_id?: string | null;
|
|
1214
1267
|
price_m_id: string;
|
|
1215
|
-
price_m_mau_id?: string | null;
|
|
1216
|
-
price_m_storage_id?: string | null;
|
|
1217
1268
|
price_y?: number;
|
|
1218
1269
|
price_y_id: string;
|
|
1219
1270
|
storage: number;
|
|
1220
|
-
storage_unit?: number | null;
|
|
1221
1271
|
stripe_id?: string;
|
|
1222
1272
|
updated_at?: string;
|
|
1223
1273
|
};
|
|
1224
1274
|
Update: {
|
|
1225
1275
|
bandwidth?: number;
|
|
1226
|
-
bandwidth_unit?: number | null;
|
|
1227
1276
|
build_time_unit?: number;
|
|
1228
1277
|
created_at?: string;
|
|
1278
|
+
credit_id?: string;
|
|
1229
1279
|
description?: string;
|
|
1230
1280
|
id?: string;
|
|
1231
1281
|
market_desc?: string | null;
|
|
1232
1282
|
mau?: number;
|
|
1233
|
-
mau_unit?: number | null;
|
|
1234
1283
|
name?: string;
|
|
1235
1284
|
price_m?: number;
|
|
1236
|
-
price_m_bandwidth_id?: string | null;
|
|
1237
1285
|
price_m_id?: string;
|
|
1238
|
-
price_m_mau_id?: string | null;
|
|
1239
|
-
price_m_storage_id?: string | null;
|
|
1240
1286
|
price_y?: number;
|
|
1241
1287
|
price_y_id?: string;
|
|
1242
1288
|
storage?: number;
|
|
1243
|
-
storage_unit?: number | null;
|
|
1244
1289
|
stripe_id?: string;
|
|
1245
1290
|
updated_at?: string;
|
|
1246
1291
|
};
|
|
@@ -1743,6 +1788,26 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1743
1788
|
referencedColumns: ["id"];
|
|
1744
1789
|
}];
|
|
1745
1790
|
};
|
|
1791
|
+
usage_credit_ledger: {
|
|
1792
|
+
Row: {
|
|
1793
|
+
amount: number | null;
|
|
1794
|
+
balance_after: number | null;
|
|
1795
|
+
billing_cycle_end: string | null;
|
|
1796
|
+
billing_cycle_start: string | null;
|
|
1797
|
+
description: string | null;
|
|
1798
|
+
details: import("../types/supabase.types").Json | null;
|
|
1799
|
+
grant_allocations: import("../types/supabase.types").Json | null;
|
|
1800
|
+
id: number | null;
|
|
1801
|
+
metric: Database["public"]["Enums"]["credit_metric_type"] | null;
|
|
1802
|
+
occurred_at: string | null;
|
|
1803
|
+
org_id: string | null;
|
|
1804
|
+
overage_amount: number | null;
|
|
1805
|
+
overage_event_id: string | null;
|
|
1806
|
+
source_ref: import("../types/supabase.types").Json | null;
|
|
1807
|
+
transaction_type: Database["public"]["Enums"]["credit_transaction_type"] | null;
|
|
1808
|
+
};
|
|
1809
|
+
Relationships: [];
|
|
1810
|
+
};
|
|
1746
1811
|
};
|
|
1747
1812
|
Functions: {
|
|
1748
1813
|
accept_invitation_to_org: {
|
|
@@ -2106,9 +2171,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2106
2171
|
}[];
|
|
2107
2172
|
};
|
|
2108
2173
|
get_metered_usage: {
|
|
2109
|
-
Args:
|
|
2110
|
-
orgid: string;
|
|
2111
|
-
};
|
|
2174
|
+
Args: never;
|
|
2112
2175
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
2113
2176
|
SetofOptions: {
|
|
2114
2177
|
from: "*";
|
|
@@ -2117,7 +2180,9 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2117
2180
|
isSetofReturn: false;
|
|
2118
2181
|
};
|
|
2119
2182
|
} | {
|
|
2120
|
-
Args:
|
|
2183
|
+
Args: {
|
|
2184
|
+
orgid: string;
|
|
2185
|
+
};
|
|
2121
2186
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
2122
2187
|
SetofOptions: {
|
|
2123
2188
|
from: "*";
|
|
@@ -2161,7 +2226,6 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2161
2226
|
get_org_members: {
|
|
2162
2227
|
Args: {
|
|
2163
2228
|
guild_id: string;
|
|
2164
|
-
user_id: string;
|
|
2165
2229
|
};
|
|
2166
2230
|
Returns: {
|
|
2167
2231
|
aid: number;
|
|
@@ -2174,6 +2238,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2174
2238
|
} | {
|
|
2175
2239
|
Args: {
|
|
2176
2240
|
guild_id: string;
|
|
2241
|
+
user_id: string;
|
|
2177
2242
|
};
|
|
2178
2243
|
Returns: {
|
|
2179
2244
|
aid: number;
|
|
@@ -2337,12 +2402,12 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2337
2402
|
get_user_id: {
|
|
2338
2403
|
Args: {
|
|
2339
2404
|
apikey: string;
|
|
2340
|
-
app_id: string;
|
|
2341
2405
|
};
|
|
2342
2406
|
Returns: string;
|
|
2343
2407
|
} | {
|
|
2344
2408
|
Args: {
|
|
2345
2409
|
apikey: string;
|
|
2410
|
+
app_id: string;
|
|
2346
2411
|
};
|
|
2347
2412
|
Returns: string;
|
|
2348
2413
|
};
|
|
@@ -2437,13 +2502,13 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2437
2502
|
Returns: boolean;
|
|
2438
2503
|
};
|
|
2439
2504
|
is_admin: {
|
|
2505
|
+
Args: never;
|
|
2506
|
+
Returns: boolean;
|
|
2507
|
+
} | {
|
|
2440
2508
|
Args: {
|
|
2441
2509
|
userid: string;
|
|
2442
2510
|
};
|
|
2443
2511
|
Returns: boolean;
|
|
2444
|
-
} | {
|
|
2445
|
-
Args: never;
|
|
2446
|
-
Returns: boolean;
|
|
2447
2512
|
};
|
|
2448
2513
|
is_allowed_action: {
|
|
2449
2514
|
Args: {
|
|
@@ -2488,12 +2553,12 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2488
2553
|
} | {
|
|
2489
2554
|
Args: {
|
|
2490
2555
|
appid: string;
|
|
2491
|
-
userid: string;
|
|
2492
2556
|
};
|
|
2493
2557
|
Returns: boolean;
|
|
2494
2558
|
} | {
|
|
2495
2559
|
Args: {
|
|
2496
2560
|
appid: string;
|
|
2561
|
+
userid: string;
|
|
2497
2562
|
};
|
|
2498
2563
|
Returns: boolean;
|
|
2499
2564
|
};
|
|
@@ -2564,13 +2629,6 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2564
2629
|
};
|
|
2565
2630
|
Returns: boolean;
|
|
2566
2631
|
};
|
|
2567
|
-
is_owner_of_org: {
|
|
2568
|
-
Args: {
|
|
2569
|
-
org_id: string;
|
|
2570
|
-
user_id: string;
|
|
2571
|
-
};
|
|
2572
|
-
Returns: boolean;
|
|
2573
|
-
};
|
|
2574
2632
|
is_paying_and_good_plan_org: {
|
|
2575
2633
|
Args: {
|
|
2576
2634
|
orgid: string;
|
|
@@ -2678,13 +2736,13 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2678
2736
|
process_function_queue: {
|
|
2679
2737
|
Args: {
|
|
2680
2738
|
batch_size?: number;
|
|
2681
|
-
|
|
2739
|
+
queue_name: string;
|
|
2682
2740
|
};
|
|
2683
2741
|
Returns: undefined;
|
|
2684
2742
|
} | {
|
|
2685
2743
|
Args: {
|
|
2686
2744
|
batch_size?: number;
|
|
2687
|
-
|
|
2745
|
+
queue_names: string[];
|
|
2688
2746
|
};
|
|
2689
2747
|
Returns: undefined;
|
|
2690
2748
|
};
|
|
@@ -2829,6 +2887,23 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2829
2887
|
};
|
|
2830
2888
|
Returns: undefined;
|
|
2831
2889
|
};
|
|
2890
|
+
top_up_usage_credits: {
|
|
2891
|
+
Args: {
|
|
2892
|
+
p_amount: number;
|
|
2893
|
+
p_expires_at?: string;
|
|
2894
|
+
p_notes?: string;
|
|
2895
|
+
p_org_id: string;
|
|
2896
|
+
p_source?: string;
|
|
2897
|
+
p_source_ref?: import("../types/supabase.types").Json;
|
|
2898
|
+
};
|
|
2899
|
+
Returns: {
|
|
2900
|
+
available_credits: number;
|
|
2901
|
+
grant_id: string;
|
|
2902
|
+
next_expiration: string;
|
|
2903
|
+
total_credits: number;
|
|
2904
|
+
transaction_id: number;
|
|
2905
|
+
}[];
|
|
2906
|
+
};
|
|
2832
2907
|
total_bundle_storage_bytes: {
|
|
2833
2908
|
Args: never;
|
|
2834
2909
|
Returns: number;
|
|
@@ -2871,16 +2946,13 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2871
2946
|
};
|
|
2872
2947
|
Enums: {
|
|
2873
2948
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
2874
|
-
app_mode: "prod" | "dev" | "livereload";
|
|
2875
2949
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
2876
2950
|
credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
|
|
2877
2951
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
2878
2952
|
key_mode: "read" | "write" | "all" | "upload";
|
|
2879
|
-
pay_as_you_go_type: "base" | "units";
|
|
2880
2953
|
platform_os: "ios" | "android";
|
|
2881
2954
|
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "disableEmulator" | "cannotGetBundle" | "checksum_fail" | "NoChannelOrOverride" | "setChannel" | "getChannel" | "rateLimited" | "disableAutoUpdate" | "ping" | "InvalidIp" | "blocked_by_server_url" | "download_manifest_start" | "download_manifest_complete" | "download_zip_start" | "download_zip_complete" | "download_manifest_file_fail" | "download_manifest_checksum_fail" | "download_manifest_brotli_fail" | "backend_refusal";
|
|
2882
2955
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
2883
|
-
usage_mode: "5min" | "day" | "month" | "cycle" | "last_saved";
|
|
2884
2956
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
2885
2957
|
user_role: "read" | "upload" | "write" | "admin";
|
|
2886
2958
|
version_action: "get" | "fail" | "install" | "uninstall";
|
|
@@ -2891,9 +2963,6 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
2891
2963
|
s3_path: string | null;
|
|
2892
2964
|
file_hash: string | null;
|
|
2893
2965
|
};
|
|
2894
|
-
match_plan: {
|
|
2895
|
-
name: string | null;
|
|
2896
|
-
};
|
|
2897
2966
|
message_update: {
|
|
2898
2967
|
msg_id: number | null;
|
|
2899
2968
|
cf_id: string | null;
|
|
@@ -3160,6 +3229,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3160
3229
|
channel_device_count: number;
|
|
3161
3230
|
created_at: string | null;
|
|
3162
3231
|
default_upload_channel: string;
|
|
3232
|
+
expose_metadata: boolean;
|
|
3163
3233
|
icon_url: string;
|
|
3164
3234
|
id: string | null;
|
|
3165
3235
|
last_version: string | null;
|
|
@@ -3176,6 +3246,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3176
3246
|
channel_device_count?: number;
|
|
3177
3247
|
created_at?: string | null;
|
|
3178
3248
|
default_upload_channel?: string;
|
|
3249
|
+
expose_metadata?: boolean;
|
|
3179
3250
|
icon_url: string;
|
|
3180
3251
|
id?: string | null;
|
|
3181
3252
|
last_version?: string | null;
|
|
@@ -3192,6 +3263,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3192
3263
|
channel_device_count?: number;
|
|
3193
3264
|
created_at?: string | null;
|
|
3194
3265
|
default_upload_channel?: string;
|
|
3266
|
+
expose_metadata?: boolean;
|
|
3195
3267
|
icon_url?: string;
|
|
3196
3268
|
id?: string | null;
|
|
3197
3269
|
last_version?: string | null;
|
|
@@ -3816,22 +3888,40 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3816
3888
|
apps: number;
|
|
3817
3889
|
apps_active: number | null;
|
|
3818
3890
|
bundle_storage_gb: number;
|
|
3891
|
+
canceled_orgs: number;
|
|
3819
3892
|
created_at: string | null;
|
|
3893
|
+
credits_bought: number;
|
|
3894
|
+
credits_consumed: number;
|
|
3820
3895
|
date_id: string;
|
|
3821
3896
|
devices_last_month: number | null;
|
|
3897
|
+
mrrr: number;
|
|
3822
3898
|
need_upgrade: number | null;
|
|
3899
|
+
new_paying_orgs: number;
|
|
3823
3900
|
not_paying: number | null;
|
|
3824
3901
|
onboarded: number | null;
|
|
3825
3902
|
paying: number | null;
|
|
3826
3903
|
paying_monthly: number | null;
|
|
3827
3904
|
paying_yearly: number | null;
|
|
3905
|
+
plan_enterprise: number | null;
|
|
3906
|
+
plan_enterprise_monthly: number;
|
|
3907
|
+
plan_enterprise_yearly: number;
|
|
3828
3908
|
plan_maker: number | null;
|
|
3829
|
-
|
|
3909
|
+
plan_maker_monthly: number;
|
|
3910
|
+
plan_maker_yearly: number;
|
|
3830
3911
|
plan_solo: number | null;
|
|
3912
|
+
plan_solo_monthly: number;
|
|
3913
|
+
plan_solo_yearly: number;
|
|
3831
3914
|
plan_team: number | null;
|
|
3915
|
+
plan_team_monthly: number;
|
|
3916
|
+
plan_team_yearly: number;
|
|
3832
3917
|
registers_today: number;
|
|
3918
|
+
revenue_enterprise: number;
|
|
3919
|
+
revenue_maker: number;
|
|
3920
|
+
revenue_solo: number;
|
|
3921
|
+
revenue_team: number;
|
|
3833
3922
|
stars: number;
|
|
3834
3923
|
success_rate: number | null;
|
|
3924
|
+
total_revenue: number;
|
|
3835
3925
|
trial: number | null;
|
|
3836
3926
|
updates: number;
|
|
3837
3927
|
updates_external: number | null;
|
|
@@ -3843,22 +3933,40 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3843
3933
|
apps: number;
|
|
3844
3934
|
apps_active?: number | null;
|
|
3845
3935
|
bundle_storage_gb?: number;
|
|
3936
|
+
canceled_orgs?: number;
|
|
3846
3937
|
created_at?: string | null;
|
|
3938
|
+
credits_bought?: number;
|
|
3939
|
+
credits_consumed?: number;
|
|
3847
3940
|
date_id: string;
|
|
3848
3941
|
devices_last_month?: number | null;
|
|
3942
|
+
mrrr?: number;
|
|
3849
3943
|
need_upgrade?: number | null;
|
|
3944
|
+
new_paying_orgs?: number;
|
|
3850
3945
|
not_paying?: number | null;
|
|
3851
3946
|
onboarded?: number | null;
|
|
3852
3947
|
paying?: number | null;
|
|
3853
3948
|
paying_monthly?: number | null;
|
|
3854
3949
|
paying_yearly?: number | null;
|
|
3950
|
+
plan_enterprise?: number | null;
|
|
3951
|
+
plan_enterprise_monthly?: number;
|
|
3952
|
+
plan_enterprise_yearly?: number;
|
|
3855
3953
|
plan_maker?: number | null;
|
|
3856
|
-
|
|
3954
|
+
plan_maker_monthly?: number;
|
|
3955
|
+
plan_maker_yearly?: number;
|
|
3857
3956
|
plan_solo?: number | null;
|
|
3957
|
+
plan_solo_monthly?: number;
|
|
3958
|
+
plan_solo_yearly?: number;
|
|
3858
3959
|
plan_team?: number | null;
|
|
3960
|
+
plan_team_monthly?: number;
|
|
3961
|
+
plan_team_yearly?: number;
|
|
3859
3962
|
registers_today?: number;
|
|
3963
|
+
revenue_enterprise?: number;
|
|
3964
|
+
revenue_maker?: number;
|
|
3965
|
+
revenue_solo?: number;
|
|
3966
|
+
revenue_team?: number;
|
|
3860
3967
|
stars: number;
|
|
3861
3968
|
success_rate?: number | null;
|
|
3969
|
+
total_revenue?: number;
|
|
3862
3970
|
trial?: number | null;
|
|
3863
3971
|
updates: number;
|
|
3864
3972
|
updates_external?: number | null;
|
|
@@ -3870,22 +3978,40 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
3870
3978
|
apps?: number;
|
|
3871
3979
|
apps_active?: number | null;
|
|
3872
3980
|
bundle_storage_gb?: number;
|
|
3981
|
+
canceled_orgs?: number;
|
|
3873
3982
|
created_at?: string | null;
|
|
3983
|
+
credits_bought?: number;
|
|
3984
|
+
credits_consumed?: number;
|
|
3874
3985
|
date_id?: string;
|
|
3875
3986
|
devices_last_month?: number | null;
|
|
3987
|
+
mrrr?: number;
|
|
3876
3988
|
need_upgrade?: number | null;
|
|
3989
|
+
new_paying_orgs?: number;
|
|
3877
3990
|
not_paying?: number | null;
|
|
3878
3991
|
onboarded?: number | null;
|
|
3879
3992
|
paying?: number | null;
|
|
3880
3993
|
paying_monthly?: number | null;
|
|
3881
3994
|
paying_yearly?: number | null;
|
|
3995
|
+
plan_enterprise?: number | null;
|
|
3996
|
+
plan_enterprise_monthly?: number;
|
|
3997
|
+
plan_enterprise_yearly?: number;
|
|
3882
3998
|
plan_maker?: number | null;
|
|
3883
|
-
|
|
3999
|
+
plan_maker_monthly?: number;
|
|
4000
|
+
plan_maker_yearly?: number;
|
|
3884
4001
|
plan_solo?: number | null;
|
|
4002
|
+
plan_solo_monthly?: number;
|
|
4003
|
+
plan_solo_yearly?: number;
|
|
3885
4004
|
plan_team?: number | null;
|
|
4005
|
+
plan_team_monthly?: number;
|
|
4006
|
+
plan_team_yearly?: number;
|
|
3886
4007
|
registers_today?: number;
|
|
4008
|
+
revenue_enterprise?: number;
|
|
4009
|
+
revenue_maker?: number;
|
|
4010
|
+
revenue_solo?: number;
|
|
4011
|
+
revenue_team?: number;
|
|
3887
4012
|
stars?: number;
|
|
3888
4013
|
success_rate?: number | null;
|
|
4014
|
+
total_revenue?: number;
|
|
3889
4015
|
trial?: number | null;
|
|
3890
4016
|
updates?: number;
|
|
3891
4017
|
updates_external?: number | null;
|
|
@@ -4027,6 +4153,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
4027
4153
|
created_by: string;
|
|
4028
4154
|
customer_id: string | null;
|
|
4029
4155
|
id: string;
|
|
4156
|
+
last_stats_updated_at: string | null;
|
|
4030
4157
|
logo: string | null;
|
|
4031
4158
|
management_email: string;
|
|
4032
4159
|
name: string;
|
|
@@ -4038,6 +4165,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
4038
4165
|
created_by: string;
|
|
4039
4166
|
customer_id?: string | null;
|
|
4040
4167
|
id?: string;
|
|
4168
|
+
last_stats_updated_at?: string | null;
|
|
4041
4169
|
logo?: string | null;
|
|
4042
4170
|
management_email: string;
|
|
4043
4171
|
name: string;
|
|
@@ -4049,6 +4177,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
4049
4177
|
created_by?: string;
|
|
4050
4178
|
customer_id?: string | null;
|
|
4051
4179
|
id?: string;
|
|
4180
|
+
last_stats_updated_at?: string | null;
|
|
4052
4181
|
logo?: string | null;
|
|
4053
4182
|
management_email?: string;
|
|
4054
4183
|
name?: string;
|
|
@@ -4072,70 +4201,55 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
4072
4201
|
plans: {
|
|
4073
4202
|
Row: {
|
|
4074
4203
|
bandwidth: number;
|
|
4075
|
-
bandwidth_unit: number | null;
|
|
4076
4204
|
build_time_unit: number;
|
|
4077
4205
|
created_at: string;
|
|
4206
|
+
credit_id: string;
|
|
4078
4207
|
description: string;
|
|
4079
4208
|
id: string;
|
|
4080
4209
|
market_desc: string | null;
|
|
4081
4210
|
mau: number;
|
|
4082
|
-
mau_unit: number | null;
|
|
4083
4211
|
name: string;
|
|
4084
4212
|
price_m: number;
|
|
4085
|
-
price_m_bandwidth_id: string | null;
|
|
4086
4213
|
price_m_id: string;
|
|
4087
|
-
price_m_mau_id: string | null;
|
|
4088
|
-
price_m_storage_id: string | null;
|
|
4089
4214
|
price_y: number;
|
|
4090
4215
|
price_y_id: string;
|
|
4091
4216
|
storage: number;
|
|
4092
|
-
storage_unit: number | null;
|
|
4093
4217
|
stripe_id: string;
|
|
4094
4218
|
updated_at: string;
|
|
4095
4219
|
};
|
|
4096
4220
|
Insert: {
|
|
4097
4221
|
bandwidth: number;
|
|
4098
|
-
bandwidth_unit?: number | null;
|
|
4099
4222
|
build_time_unit?: number;
|
|
4100
4223
|
created_at?: string;
|
|
4224
|
+
credit_id: string;
|
|
4101
4225
|
description?: string;
|
|
4102
4226
|
id?: string;
|
|
4103
4227
|
market_desc?: string | null;
|
|
4104
4228
|
mau?: number;
|
|
4105
|
-
mau_unit?: number | null;
|
|
4106
4229
|
name?: string;
|
|
4107
4230
|
price_m?: number;
|
|
4108
|
-
price_m_bandwidth_id?: string | null;
|
|
4109
4231
|
price_m_id: string;
|
|
4110
|
-
price_m_mau_id?: string | null;
|
|
4111
|
-
price_m_storage_id?: string | null;
|
|
4112
4232
|
price_y?: number;
|
|
4113
4233
|
price_y_id: string;
|
|
4114
4234
|
storage: number;
|
|
4115
|
-
storage_unit?: number | null;
|
|
4116
4235
|
stripe_id?: string;
|
|
4117
4236
|
updated_at?: string;
|
|
4118
4237
|
};
|
|
4119
4238
|
Update: {
|
|
4120
4239
|
bandwidth?: number;
|
|
4121
|
-
bandwidth_unit?: number | null;
|
|
4122
4240
|
build_time_unit?: number;
|
|
4123
4241
|
created_at?: string;
|
|
4242
|
+
credit_id?: string;
|
|
4124
4243
|
description?: string;
|
|
4125
4244
|
id?: string;
|
|
4126
4245
|
market_desc?: string | null;
|
|
4127
4246
|
mau?: number;
|
|
4128
|
-
mau_unit?: number | null;
|
|
4129
4247
|
name?: string;
|
|
4130
4248
|
price_m?: number;
|
|
4131
|
-
price_m_bandwidth_id?: string | null;
|
|
4132
4249
|
price_m_id?: string;
|
|
4133
|
-
price_m_mau_id?: string | null;
|
|
4134
|
-
price_m_storage_id?: string | null;
|
|
4135
4250
|
price_y?: number;
|
|
4136
4251
|
price_y_id?: string;
|
|
4137
4252
|
storage?: number;
|
|
4138
|
-
storage_unit?: number | null;
|
|
4139
4253
|
stripe_id?: string;
|
|
4140
4254
|
updated_at?: string;
|
|
4141
4255
|
};
|
|
@@ -4638,6 +4752,26 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
4638
4752
|
referencedColumns: ["id"];
|
|
4639
4753
|
}];
|
|
4640
4754
|
};
|
|
4755
|
+
usage_credit_ledger: {
|
|
4756
|
+
Row: {
|
|
4757
|
+
amount: number | null;
|
|
4758
|
+
balance_after: number | null;
|
|
4759
|
+
billing_cycle_end: string | null;
|
|
4760
|
+
billing_cycle_start: string | null;
|
|
4761
|
+
description: string | null;
|
|
4762
|
+
details: import("../types/supabase.types").Json | null;
|
|
4763
|
+
grant_allocations: import("../types/supabase.types").Json | null;
|
|
4764
|
+
id: number | null;
|
|
4765
|
+
metric: Database["public"]["Enums"]["credit_metric_type"] | null;
|
|
4766
|
+
occurred_at: string | null;
|
|
4767
|
+
org_id: string | null;
|
|
4768
|
+
overage_amount: number | null;
|
|
4769
|
+
overage_event_id: string | null;
|
|
4770
|
+
source_ref: import("../types/supabase.types").Json | null;
|
|
4771
|
+
transaction_type: Database["public"]["Enums"]["credit_transaction_type"] | null;
|
|
4772
|
+
};
|
|
4773
|
+
Relationships: [];
|
|
4774
|
+
};
|
|
4641
4775
|
};
|
|
4642
4776
|
Functions: {
|
|
4643
4777
|
accept_invitation_to_org: {
|
|
@@ -5001,9 +5135,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5001
5135
|
}[];
|
|
5002
5136
|
};
|
|
5003
5137
|
get_metered_usage: {
|
|
5004
|
-
Args:
|
|
5005
|
-
orgid: string;
|
|
5006
|
-
};
|
|
5138
|
+
Args: never;
|
|
5007
5139
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
5008
5140
|
SetofOptions: {
|
|
5009
5141
|
from: "*";
|
|
@@ -5012,7 +5144,9 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5012
5144
|
isSetofReturn: false;
|
|
5013
5145
|
};
|
|
5014
5146
|
} | {
|
|
5015
|
-
Args:
|
|
5147
|
+
Args: {
|
|
5148
|
+
orgid: string;
|
|
5149
|
+
};
|
|
5016
5150
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
5017
5151
|
SetofOptions: {
|
|
5018
5152
|
from: "*";
|
|
@@ -5056,7 +5190,6 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5056
5190
|
get_org_members: {
|
|
5057
5191
|
Args: {
|
|
5058
5192
|
guild_id: string;
|
|
5059
|
-
user_id: string;
|
|
5060
5193
|
};
|
|
5061
5194
|
Returns: {
|
|
5062
5195
|
aid: number;
|
|
@@ -5069,6 +5202,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5069
5202
|
} | {
|
|
5070
5203
|
Args: {
|
|
5071
5204
|
guild_id: string;
|
|
5205
|
+
user_id: string;
|
|
5072
5206
|
};
|
|
5073
5207
|
Returns: {
|
|
5074
5208
|
aid: number;
|
|
@@ -5232,12 +5366,12 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5232
5366
|
get_user_id: {
|
|
5233
5367
|
Args: {
|
|
5234
5368
|
apikey: string;
|
|
5235
|
-
app_id: string;
|
|
5236
5369
|
};
|
|
5237
5370
|
Returns: string;
|
|
5238
5371
|
} | {
|
|
5239
5372
|
Args: {
|
|
5240
5373
|
apikey: string;
|
|
5374
|
+
app_id: string;
|
|
5241
5375
|
};
|
|
5242
5376
|
Returns: string;
|
|
5243
5377
|
};
|
|
@@ -5332,13 +5466,13 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5332
5466
|
Returns: boolean;
|
|
5333
5467
|
};
|
|
5334
5468
|
is_admin: {
|
|
5469
|
+
Args: never;
|
|
5470
|
+
Returns: boolean;
|
|
5471
|
+
} | {
|
|
5335
5472
|
Args: {
|
|
5336
5473
|
userid: string;
|
|
5337
5474
|
};
|
|
5338
5475
|
Returns: boolean;
|
|
5339
|
-
} | {
|
|
5340
|
-
Args: never;
|
|
5341
|
-
Returns: boolean;
|
|
5342
5476
|
};
|
|
5343
5477
|
is_allowed_action: {
|
|
5344
5478
|
Args: {
|
|
@@ -5383,12 +5517,12 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5383
5517
|
} | {
|
|
5384
5518
|
Args: {
|
|
5385
5519
|
appid: string;
|
|
5386
|
-
userid: string;
|
|
5387
5520
|
};
|
|
5388
5521
|
Returns: boolean;
|
|
5389
5522
|
} | {
|
|
5390
5523
|
Args: {
|
|
5391
5524
|
appid: string;
|
|
5525
|
+
userid: string;
|
|
5392
5526
|
};
|
|
5393
5527
|
Returns: boolean;
|
|
5394
5528
|
};
|
|
@@ -5459,13 +5593,6 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5459
5593
|
};
|
|
5460
5594
|
Returns: boolean;
|
|
5461
5595
|
};
|
|
5462
|
-
is_owner_of_org: {
|
|
5463
|
-
Args: {
|
|
5464
|
-
org_id: string;
|
|
5465
|
-
user_id: string;
|
|
5466
|
-
};
|
|
5467
|
-
Returns: boolean;
|
|
5468
|
-
};
|
|
5469
5596
|
is_paying_and_good_plan_org: {
|
|
5470
5597
|
Args: {
|
|
5471
5598
|
orgid: string;
|
|
@@ -5573,13 +5700,13 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5573
5700
|
process_function_queue: {
|
|
5574
5701
|
Args: {
|
|
5575
5702
|
batch_size?: number;
|
|
5576
|
-
|
|
5703
|
+
queue_name: string;
|
|
5577
5704
|
};
|
|
5578
5705
|
Returns: undefined;
|
|
5579
5706
|
} | {
|
|
5580
5707
|
Args: {
|
|
5581
5708
|
batch_size?: number;
|
|
5582
|
-
|
|
5709
|
+
queue_names: string[];
|
|
5583
5710
|
};
|
|
5584
5711
|
Returns: undefined;
|
|
5585
5712
|
};
|
|
@@ -5724,6 +5851,23 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5724
5851
|
};
|
|
5725
5852
|
Returns: undefined;
|
|
5726
5853
|
};
|
|
5854
|
+
top_up_usage_credits: {
|
|
5855
|
+
Args: {
|
|
5856
|
+
p_amount: number;
|
|
5857
|
+
p_expires_at?: string;
|
|
5858
|
+
p_notes?: string;
|
|
5859
|
+
p_org_id: string;
|
|
5860
|
+
p_source?: string;
|
|
5861
|
+
p_source_ref?: import("../types/supabase.types").Json;
|
|
5862
|
+
};
|
|
5863
|
+
Returns: {
|
|
5864
|
+
available_credits: number;
|
|
5865
|
+
grant_id: string;
|
|
5866
|
+
next_expiration: string;
|
|
5867
|
+
total_credits: number;
|
|
5868
|
+
transaction_id: number;
|
|
5869
|
+
}[];
|
|
5870
|
+
};
|
|
5727
5871
|
total_bundle_storage_bytes: {
|
|
5728
5872
|
Args: never;
|
|
5729
5873
|
Returns: number;
|
|
@@ -5766,16 +5910,13 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5766
5910
|
};
|
|
5767
5911
|
Enums: {
|
|
5768
5912
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
5769
|
-
app_mode: "prod" | "dev" | "livereload";
|
|
5770
5913
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
5771
5914
|
credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
|
|
5772
5915
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
5773
5916
|
key_mode: "read" | "write" | "all" | "upload";
|
|
5774
|
-
pay_as_you_go_type: "base" | "units";
|
|
5775
5917
|
platform_os: "ios" | "android";
|
|
5776
5918
|
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "disableEmulator" | "cannotGetBundle" | "checksum_fail" | "NoChannelOrOverride" | "setChannel" | "getChannel" | "rateLimited" | "disableAutoUpdate" | "ping" | "InvalidIp" | "blocked_by_server_url" | "download_manifest_start" | "download_manifest_complete" | "download_zip_start" | "download_zip_complete" | "download_manifest_file_fail" | "download_manifest_checksum_fail" | "download_manifest_brotli_fail" | "backend_refusal";
|
|
5777
5919
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
5778
|
-
usage_mode: "5min" | "day" | "month" | "cycle" | "last_saved";
|
|
5779
5920
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
5780
5921
|
user_role: "read" | "upload" | "write" | "admin";
|
|
5781
5922
|
version_action: "get" | "fail" | "install" | "uninstall";
|
|
@@ -5786,9 +5927,6 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5786
5927
|
s3_path: string | null;
|
|
5787
5928
|
file_hash: string | null;
|
|
5788
5929
|
};
|
|
5789
|
-
match_plan: {
|
|
5790
|
-
name: string | null;
|
|
5791
|
-
};
|
|
5792
5930
|
message_update: {
|
|
5793
5931
|
msg_id: number | null;
|
|
5794
5932
|
cf_id: string | null;
|