@capgo/cli 7.44.2 → 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 +2 -2
- 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
|
@@ -225,6 +225,7 @@ export type Database = {
|
|
|
225
225
|
channel_device_count: number;
|
|
226
226
|
created_at: string | null;
|
|
227
227
|
default_upload_channel: string;
|
|
228
|
+
expose_metadata: boolean;
|
|
228
229
|
icon_url: string;
|
|
229
230
|
id: string | null;
|
|
230
231
|
last_version: string | null;
|
|
@@ -241,6 +242,7 @@ export type Database = {
|
|
|
241
242
|
channel_device_count?: number;
|
|
242
243
|
created_at?: string | null;
|
|
243
244
|
default_upload_channel?: string;
|
|
245
|
+
expose_metadata?: boolean;
|
|
244
246
|
icon_url: string;
|
|
245
247
|
id?: string | null;
|
|
246
248
|
last_version?: string | null;
|
|
@@ -257,6 +259,7 @@ export type Database = {
|
|
|
257
259
|
channel_device_count?: number;
|
|
258
260
|
created_at?: string | null;
|
|
259
261
|
default_upload_channel?: string;
|
|
262
|
+
expose_metadata?: boolean;
|
|
260
263
|
icon_url?: string;
|
|
261
264
|
id?: string | null;
|
|
262
265
|
last_version?: string | null;
|
|
@@ -906,22 +909,40 @@ export type Database = {
|
|
|
906
909
|
apps: number;
|
|
907
910
|
apps_active: number | null;
|
|
908
911
|
bundle_storage_gb: number;
|
|
912
|
+
canceled_orgs: number;
|
|
909
913
|
created_at: string | null;
|
|
914
|
+
credits_bought: number;
|
|
915
|
+
credits_consumed: number;
|
|
910
916
|
date_id: string;
|
|
911
917
|
devices_last_month: number | null;
|
|
918
|
+
mrrr: number;
|
|
912
919
|
need_upgrade: number | null;
|
|
920
|
+
new_paying_orgs: number;
|
|
913
921
|
not_paying: number | null;
|
|
914
922
|
onboarded: number | null;
|
|
915
923
|
paying: number | null;
|
|
916
924
|
paying_monthly: number | null;
|
|
917
925
|
paying_yearly: number | null;
|
|
926
|
+
plan_enterprise: number | null;
|
|
927
|
+
plan_enterprise_monthly: number;
|
|
928
|
+
plan_enterprise_yearly: number;
|
|
918
929
|
plan_maker: number | null;
|
|
919
|
-
|
|
930
|
+
plan_maker_monthly: number;
|
|
931
|
+
plan_maker_yearly: number;
|
|
920
932
|
plan_solo: number | null;
|
|
933
|
+
plan_solo_monthly: number;
|
|
934
|
+
plan_solo_yearly: number;
|
|
921
935
|
plan_team: number | null;
|
|
936
|
+
plan_team_monthly: number;
|
|
937
|
+
plan_team_yearly: number;
|
|
922
938
|
registers_today: number;
|
|
939
|
+
revenue_enterprise: number;
|
|
940
|
+
revenue_maker: number;
|
|
941
|
+
revenue_solo: number;
|
|
942
|
+
revenue_team: number;
|
|
923
943
|
stars: number;
|
|
924
944
|
success_rate: number | null;
|
|
945
|
+
total_revenue: number;
|
|
925
946
|
trial: number | null;
|
|
926
947
|
updates: number;
|
|
927
948
|
updates_external: number | null;
|
|
@@ -933,22 +954,40 @@ export type Database = {
|
|
|
933
954
|
apps: number;
|
|
934
955
|
apps_active?: number | null;
|
|
935
956
|
bundle_storage_gb?: number;
|
|
957
|
+
canceled_orgs?: number;
|
|
936
958
|
created_at?: string | null;
|
|
959
|
+
credits_bought?: number;
|
|
960
|
+
credits_consumed?: number;
|
|
937
961
|
date_id: string;
|
|
938
962
|
devices_last_month?: number | null;
|
|
963
|
+
mrrr?: number;
|
|
939
964
|
need_upgrade?: number | null;
|
|
965
|
+
new_paying_orgs?: number;
|
|
940
966
|
not_paying?: number | null;
|
|
941
967
|
onboarded?: number | null;
|
|
942
968
|
paying?: number | null;
|
|
943
969
|
paying_monthly?: number | null;
|
|
944
970
|
paying_yearly?: number | null;
|
|
971
|
+
plan_enterprise?: number | null;
|
|
972
|
+
plan_enterprise_monthly?: number;
|
|
973
|
+
plan_enterprise_yearly?: number;
|
|
945
974
|
plan_maker?: number | null;
|
|
946
|
-
|
|
975
|
+
plan_maker_monthly?: number;
|
|
976
|
+
plan_maker_yearly?: number;
|
|
947
977
|
plan_solo?: number | null;
|
|
978
|
+
plan_solo_monthly?: number;
|
|
979
|
+
plan_solo_yearly?: number;
|
|
948
980
|
plan_team?: number | null;
|
|
981
|
+
plan_team_monthly?: number;
|
|
982
|
+
plan_team_yearly?: number;
|
|
949
983
|
registers_today?: number;
|
|
984
|
+
revenue_enterprise?: number;
|
|
985
|
+
revenue_maker?: number;
|
|
986
|
+
revenue_solo?: number;
|
|
987
|
+
revenue_team?: number;
|
|
950
988
|
stars: number;
|
|
951
989
|
success_rate?: number | null;
|
|
990
|
+
total_revenue?: number;
|
|
952
991
|
trial?: number | null;
|
|
953
992
|
updates: number;
|
|
954
993
|
updates_external?: number | null;
|
|
@@ -960,22 +999,40 @@ export type Database = {
|
|
|
960
999
|
apps?: number;
|
|
961
1000
|
apps_active?: number | null;
|
|
962
1001
|
bundle_storage_gb?: number;
|
|
1002
|
+
canceled_orgs?: number;
|
|
963
1003
|
created_at?: string | null;
|
|
1004
|
+
credits_bought?: number;
|
|
1005
|
+
credits_consumed?: number;
|
|
964
1006
|
date_id?: string;
|
|
965
1007
|
devices_last_month?: number | null;
|
|
1008
|
+
mrrr?: number;
|
|
966
1009
|
need_upgrade?: number | null;
|
|
1010
|
+
new_paying_orgs?: number;
|
|
967
1011
|
not_paying?: number | null;
|
|
968
1012
|
onboarded?: number | null;
|
|
969
1013
|
paying?: number | null;
|
|
970
1014
|
paying_monthly?: number | null;
|
|
971
1015
|
paying_yearly?: number | null;
|
|
1016
|
+
plan_enterprise?: number | null;
|
|
1017
|
+
plan_enterprise_monthly?: number;
|
|
1018
|
+
plan_enterprise_yearly?: number;
|
|
972
1019
|
plan_maker?: number | null;
|
|
973
|
-
|
|
1020
|
+
plan_maker_monthly?: number;
|
|
1021
|
+
plan_maker_yearly?: number;
|
|
974
1022
|
plan_solo?: number | null;
|
|
1023
|
+
plan_solo_monthly?: number;
|
|
1024
|
+
plan_solo_yearly?: number;
|
|
975
1025
|
plan_team?: number | null;
|
|
1026
|
+
plan_team_monthly?: number;
|
|
1027
|
+
plan_team_yearly?: number;
|
|
976
1028
|
registers_today?: number;
|
|
1029
|
+
revenue_enterprise?: number;
|
|
1030
|
+
revenue_maker?: number;
|
|
1031
|
+
revenue_solo?: number;
|
|
1032
|
+
revenue_team?: number;
|
|
977
1033
|
stars?: number;
|
|
978
1034
|
success_rate?: number | null;
|
|
1035
|
+
total_revenue?: number;
|
|
979
1036
|
trial?: number | null;
|
|
980
1037
|
updates?: number;
|
|
981
1038
|
updates_external?: number | null;
|
|
@@ -1126,6 +1183,7 @@ export type Database = {
|
|
|
1126
1183
|
created_by: string;
|
|
1127
1184
|
customer_id: string | null;
|
|
1128
1185
|
id: string;
|
|
1186
|
+
last_stats_updated_at: string | null;
|
|
1129
1187
|
logo: string | null;
|
|
1130
1188
|
management_email: string;
|
|
1131
1189
|
name: string;
|
|
@@ -1137,6 +1195,7 @@ export type Database = {
|
|
|
1137
1195
|
created_by: string;
|
|
1138
1196
|
customer_id?: string | null;
|
|
1139
1197
|
id?: string;
|
|
1198
|
+
last_stats_updated_at?: string | null;
|
|
1140
1199
|
logo?: string | null;
|
|
1141
1200
|
management_email: string;
|
|
1142
1201
|
name: string;
|
|
@@ -1148,6 +1207,7 @@ export type Database = {
|
|
|
1148
1207
|
created_by?: string;
|
|
1149
1208
|
customer_id?: string | null;
|
|
1150
1209
|
id?: string;
|
|
1210
|
+
last_stats_updated_at?: string | null;
|
|
1151
1211
|
logo?: string | null;
|
|
1152
1212
|
management_email?: string;
|
|
1153
1213
|
name?: string;
|
|
@@ -1174,70 +1234,55 @@ export type Database = {
|
|
|
1174
1234
|
plans: {
|
|
1175
1235
|
Row: {
|
|
1176
1236
|
bandwidth: number;
|
|
1177
|
-
bandwidth_unit: number | null;
|
|
1178
1237
|
build_time_unit: number;
|
|
1179
1238
|
created_at: string;
|
|
1239
|
+
credit_id: string;
|
|
1180
1240
|
description: string;
|
|
1181
1241
|
id: string;
|
|
1182
1242
|
market_desc: string | null;
|
|
1183
1243
|
mau: number;
|
|
1184
|
-
mau_unit: number | null;
|
|
1185
1244
|
name: string;
|
|
1186
1245
|
price_m: number;
|
|
1187
|
-
price_m_bandwidth_id: string | null;
|
|
1188
1246
|
price_m_id: string;
|
|
1189
|
-
price_m_mau_id: string | null;
|
|
1190
|
-
price_m_storage_id: string | null;
|
|
1191
1247
|
price_y: number;
|
|
1192
1248
|
price_y_id: string;
|
|
1193
1249
|
storage: number;
|
|
1194
|
-
storage_unit: number | null;
|
|
1195
1250
|
stripe_id: string;
|
|
1196
1251
|
updated_at: string;
|
|
1197
1252
|
};
|
|
1198
1253
|
Insert: {
|
|
1199
1254
|
bandwidth: number;
|
|
1200
|
-
bandwidth_unit?: number | null;
|
|
1201
1255
|
build_time_unit?: number;
|
|
1202
1256
|
created_at?: string;
|
|
1257
|
+
credit_id: string;
|
|
1203
1258
|
description?: string;
|
|
1204
1259
|
id?: string;
|
|
1205
1260
|
market_desc?: string | null;
|
|
1206
1261
|
mau?: number;
|
|
1207
|
-
mau_unit?: number | null;
|
|
1208
1262
|
name?: string;
|
|
1209
1263
|
price_m?: number;
|
|
1210
|
-
price_m_bandwidth_id?: string | null;
|
|
1211
1264
|
price_m_id: string;
|
|
1212
|
-
price_m_mau_id?: string | null;
|
|
1213
|
-
price_m_storage_id?: string | null;
|
|
1214
1265
|
price_y?: number;
|
|
1215
1266
|
price_y_id: string;
|
|
1216
1267
|
storage: number;
|
|
1217
|
-
storage_unit?: number | null;
|
|
1218
1268
|
stripe_id?: string;
|
|
1219
1269
|
updated_at?: string;
|
|
1220
1270
|
};
|
|
1221
1271
|
Update: {
|
|
1222
1272
|
bandwidth?: number;
|
|
1223
|
-
bandwidth_unit?: number | null;
|
|
1224
1273
|
build_time_unit?: number;
|
|
1225
1274
|
created_at?: string;
|
|
1275
|
+
credit_id?: string;
|
|
1226
1276
|
description?: string;
|
|
1227
1277
|
id?: string;
|
|
1228
1278
|
market_desc?: string | null;
|
|
1229
1279
|
mau?: number;
|
|
1230
|
-
mau_unit?: number | null;
|
|
1231
1280
|
name?: string;
|
|
1232
1281
|
price_m?: number;
|
|
1233
|
-
price_m_bandwidth_id?: string | null;
|
|
1234
1282
|
price_m_id?: string;
|
|
1235
|
-
price_m_mau_id?: string | null;
|
|
1236
|
-
price_m_storage_id?: string | null;
|
|
1237
1283
|
price_y?: number;
|
|
1238
1284
|
price_y_id?: string;
|
|
1239
1285
|
storage?: number;
|
|
1240
|
-
storage_unit?: number | null;
|
|
1241
1286
|
stripe_id?: string;
|
|
1242
1287
|
updated_at?: string;
|
|
1243
1288
|
};
|
|
@@ -1760,6 +1805,26 @@ export type Database = {
|
|
|
1760
1805
|
}
|
|
1761
1806
|
];
|
|
1762
1807
|
};
|
|
1808
|
+
usage_credit_ledger: {
|
|
1809
|
+
Row: {
|
|
1810
|
+
amount: number | null;
|
|
1811
|
+
balance_after: number | null;
|
|
1812
|
+
billing_cycle_end: string | null;
|
|
1813
|
+
billing_cycle_start: string | null;
|
|
1814
|
+
description: string | null;
|
|
1815
|
+
details: Json | null;
|
|
1816
|
+
grant_allocations: Json | null;
|
|
1817
|
+
id: number | null;
|
|
1818
|
+
metric: Database["public"]["Enums"]["credit_metric_type"] | null;
|
|
1819
|
+
occurred_at: string | null;
|
|
1820
|
+
org_id: string | null;
|
|
1821
|
+
overage_amount: number | null;
|
|
1822
|
+
overage_event_id: string | null;
|
|
1823
|
+
source_ref: Json | null;
|
|
1824
|
+
transaction_type: Database["public"]["Enums"]["credit_transaction_type"] | null;
|
|
1825
|
+
};
|
|
1826
|
+
Relationships: [];
|
|
1827
|
+
};
|
|
1763
1828
|
};
|
|
1764
1829
|
Functions: {
|
|
1765
1830
|
accept_invitation_to_org: {
|
|
@@ -2123,9 +2188,7 @@ export type Database = {
|
|
|
2123
2188
|
}[];
|
|
2124
2189
|
};
|
|
2125
2190
|
get_metered_usage: {
|
|
2126
|
-
Args:
|
|
2127
|
-
orgid: string;
|
|
2128
|
-
};
|
|
2191
|
+
Args: never;
|
|
2129
2192
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
2130
2193
|
SetofOptions: {
|
|
2131
2194
|
from: "*";
|
|
@@ -2134,7 +2197,9 @@ export type Database = {
|
|
|
2134
2197
|
isSetofReturn: false;
|
|
2135
2198
|
};
|
|
2136
2199
|
} | {
|
|
2137
|
-
Args:
|
|
2200
|
+
Args: {
|
|
2201
|
+
orgid: string;
|
|
2202
|
+
};
|
|
2138
2203
|
Returns: Database["public"]["CompositeTypes"]["stats_table"];
|
|
2139
2204
|
SetofOptions: {
|
|
2140
2205
|
from: "*";
|
|
@@ -2178,7 +2243,6 @@ export type Database = {
|
|
|
2178
2243
|
get_org_members: {
|
|
2179
2244
|
Args: {
|
|
2180
2245
|
guild_id: string;
|
|
2181
|
-
user_id: string;
|
|
2182
2246
|
};
|
|
2183
2247
|
Returns: {
|
|
2184
2248
|
aid: number;
|
|
@@ -2191,6 +2255,7 @@ export type Database = {
|
|
|
2191
2255
|
} | {
|
|
2192
2256
|
Args: {
|
|
2193
2257
|
guild_id: string;
|
|
2258
|
+
user_id: string;
|
|
2194
2259
|
};
|
|
2195
2260
|
Returns: {
|
|
2196
2261
|
aid: number;
|
|
@@ -2354,12 +2419,12 @@ export type Database = {
|
|
|
2354
2419
|
get_user_id: {
|
|
2355
2420
|
Args: {
|
|
2356
2421
|
apikey: string;
|
|
2357
|
-
app_id: string;
|
|
2358
2422
|
};
|
|
2359
2423
|
Returns: string;
|
|
2360
2424
|
} | {
|
|
2361
2425
|
Args: {
|
|
2362
2426
|
apikey: string;
|
|
2427
|
+
app_id: string;
|
|
2363
2428
|
};
|
|
2364
2429
|
Returns: string;
|
|
2365
2430
|
};
|
|
@@ -2454,13 +2519,13 @@ export type Database = {
|
|
|
2454
2519
|
Returns: boolean;
|
|
2455
2520
|
};
|
|
2456
2521
|
is_admin: {
|
|
2522
|
+
Args: never;
|
|
2523
|
+
Returns: boolean;
|
|
2524
|
+
} | {
|
|
2457
2525
|
Args: {
|
|
2458
2526
|
userid: string;
|
|
2459
2527
|
};
|
|
2460
2528
|
Returns: boolean;
|
|
2461
|
-
} | {
|
|
2462
|
-
Args: never;
|
|
2463
|
-
Returns: boolean;
|
|
2464
2529
|
};
|
|
2465
2530
|
is_allowed_action: {
|
|
2466
2531
|
Args: {
|
|
@@ -2505,12 +2570,12 @@ export type Database = {
|
|
|
2505
2570
|
} | {
|
|
2506
2571
|
Args: {
|
|
2507
2572
|
appid: string;
|
|
2508
|
-
userid: string;
|
|
2509
2573
|
};
|
|
2510
2574
|
Returns: boolean;
|
|
2511
2575
|
} | {
|
|
2512
2576
|
Args: {
|
|
2513
2577
|
appid: string;
|
|
2578
|
+
userid: string;
|
|
2514
2579
|
};
|
|
2515
2580
|
Returns: boolean;
|
|
2516
2581
|
};
|
|
@@ -2581,13 +2646,6 @@ export type Database = {
|
|
|
2581
2646
|
};
|
|
2582
2647
|
Returns: boolean;
|
|
2583
2648
|
};
|
|
2584
|
-
is_owner_of_org: {
|
|
2585
|
-
Args: {
|
|
2586
|
-
org_id: string;
|
|
2587
|
-
user_id: string;
|
|
2588
|
-
};
|
|
2589
|
-
Returns: boolean;
|
|
2590
|
-
};
|
|
2591
2649
|
is_paying_and_good_plan_org: {
|
|
2592
2650
|
Args: {
|
|
2593
2651
|
orgid: string;
|
|
@@ -2695,13 +2753,13 @@ export type Database = {
|
|
|
2695
2753
|
process_function_queue: {
|
|
2696
2754
|
Args: {
|
|
2697
2755
|
batch_size?: number;
|
|
2698
|
-
|
|
2756
|
+
queue_name: string;
|
|
2699
2757
|
};
|
|
2700
2758
|
Returns: undefined;
|
|
2701
2759
|
} | {
|
|
2702
2760
|
Args: {
|
|
2703
2761
|
batch_size?: number;
|
|
2704
|
-
|
|
2762
|
+
queue_names: string[];
|
|
2705
2763
|
};
|
|
2706
2764
|
Returns: undefined;
|
|
2707
2765
|
};
|
|
@@ -2846,6 +2904,23 @@ export type Database = {
|
|
|
2846
2904
|
};
|
|
2847
2905
|
Returns: undefined;
|
|
2848
2906
|
};
|
|
2907
|
+
top_up_usage_credits: {
|
|
2908
|
+
Args: {
|
|
2909
|
+
p_amount: number;
|
|
2910
|
+
p_expires_at?: string;
|
|
2911
|
+
p_notes?: string;
|
|
2912
|
+
p_org_id: string;
|
|
2913
|
+
p_source?: string;
|
|
2914
|
+
p_source_ref?: Json;
|
|
2915
|
+
};
|
|
2916
|
+
Returns: {
|
|
2917
|
+
available_credits: number;
|
|
2918
|
+
grant_id: string;
|
|
2919
|
+
next_expiration: string;
|
|
2920
|
+
total_credits: number;
|
|
2921
|
+
transaction_id: number;
|
|
2922
|
+
}[];
|
|
2923
|
+
};
|
|
2849
2924
|
total_bundle_storage_bytes: {
|
|
2850
2925
|
Args: never;
|
|
2851
2926
|
Returns: number;
|
|
@@ -2888,16 +2963,13 @@ export type Database = {
|
|
|
2888
2963
|
};
|
|
2889
2964
|
Enums: {
|
|
2890
2965
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
2891
|
-
app_mode: "prod" | "dev" | "livereload";
|
|
2892
2966
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
2893
2967
|
credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
|
|
2894
2968
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
2895
2969
|
key_mode: "read" | "write" | "all" | "upload";
|
|
2896
|
-
pay_as_you_go_type: "base" | "units";
|
|
2897
2970
|
platform_os: "ios" | "android";
|
|
2898
2971
|
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";
|
|
2899
2972
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
2900
|
-
usage_mode: "5min" | "day" | "month" | "cycle" | "last_saved";
|
|
2901
2973
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
2902
2974
|
user_role: "read" | "upload" | "write" | "admin";
|
|
2903
2975
|
version_action: "get" | "fail" | "install" | "uninstall";
|
|
@@ -2908,9 +2980,6 @@ export type Database = {
|
|
|
2908
2980
|
s3_path: string | null;
|
|
2909
2981
|
file_hash: string | null;
|
|
2910
2982
|
};
|
|
2911
|
-
match_plan: {
|
|
2912
|
-
name: string | null;
|
|
2913
|
-
};
|
|
2914
2983
|
message_update: {
|
|
2915
2984
|
msg_id: number | null;
|
|
2916
2985
|
cf_id: string | null;
|
|
@@ -2992,16 +3061,13 @@ export declare const Constants: {
|
|
|
2992
3061
|
readonly public: {
|
|
2993
3062
|
readonly Enums: {
|
|
2994
3063
|
readonly action_type: readonly ["mau", "storage", "bandwidth", "build_time"];
|
|
2995
|
-
readonly app_mode: readonly ["prod", "dev", "livereload"];
|
|
2996
3064
|
readonly credit_metric_type: readonly ["mau", "bandwidth", "storage", "build_time"];
|
|
2997
3065
|
readonly credit_transaction_type: readonly ["grant", "purchase", "manual_grant", "deduction", "expiry", "refund"];
|
|
2998
3066
|
readonly disable_update: readonly ["major", "minor", "patch", "version_number", "none"];
|
|
2999
3067
|
readonly key_mode: readonly ["read", "write", "all", "upload"];
|
|
3000
|
-
readonly pay_as_you_go_type: readonly ["base", "units"];
|
|
3001
3068
|
readonly platform_os: readonly ["ios", "android"];
|
|
3002
3069
|
readonly stats_action: readonly ["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"];
|
|
3003
3070
|
readonly stripe_status: readonly ["created", "succeeded", "updated", "failed", "deleted", "canceled"];
|
|
3004
|
-
readonly usage_mode: readonly ["5min", "day", "month", "cycle", "last_saved"];
|
|
3005
3071
|
readonly user_min_right: readonly ["invite_read", "invite_upload", "invite_write", "invite_admin", "invite_super_admin", "read", "upload", "write", "admin", "super_admin"];
|
|
3006
3072
|
readonly user_role: readonly ["read", "upload", "write", "admin"];
|
|
3007
3073
|
readonly version_action: readonly ["get", "fail", "install", "uninstall"];
|