@capgo/cli 7.95.5 → 7.95.6
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/index.js +171 -171
- package/dist/package.json +11 -11
- package/dist/src/api/channels.d.ts +31 -117
- package/dist/src/sdk.js +133 -133
- package/dist/src/types/supabase.types.d.ts +17 -84
- package/dist/src/utils.d.ts +14 -57
- package/package.json +11 -11
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.95.
|
|
4
|
+
"version": "7.95.6",
|
|
5
5
|
"description": "A CLI to upload to capgo servers",
|
|
6
6
|
"author": "Martin martin@capgo.app",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -88,9 +88,18 @@
|
|
|
88
88
|
"test:payload-split": "bun test/test-payload-split.mjs",
|
|
89
89
|
"test": "bun run build && bun run test:version-detection:setup && bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:onboarding-recovery && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && bun run test:init-guardrails && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
|
|
90
90
|
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"@inkjs/ui": "^2.0.0",
|
|
93
|
+
"ink": "^5.2.1",
|
|
94
|
+
"ink-spinner": "^5.0.0",
|
|
95
|
+
"jsonwebtoken": "^9.0.3",
|
|
96
|
+
"node-forge": "^1.3.3",
|
|
97
|
+
"qrcode": "^1.5.4",
|
|
98
|
+
"react": "^18.3.1"
|
|
99
|
+
},
|
|
91
100
|
"devDependencies": {
|
|
92
101
|
"@antfu/eslint-config": "^7.0.0",
|
|
93
|
-
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client@0.9.
|
|
102
|
+
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client@0.9.6",
|
|
94
103
|
"@capacitor/cli": "^8.0.0",
|
|
95
104
|
"@capgo/find-package-manager": "^0.0.18",
|
|
96
105
|
"@clack/prompts": "^1.0.0",
|
|
@@ -125,14 +134,5 @@
|
|
|
125
134
|
"typescript": "^5.9.3",
|
|
126
135
|
"ws": "^8.18.3",
|
|
127
136
|
"zod": "^4.3.6"
|
|
128
|
-
},
|
|
129
|
-
"dependencies": {
|
|
130
|
-
"@inkjs/ui": "^2.0.0",
|
|
131
|
-
"ink": "^5.2.1",
|
|
132
|
-
"ink-spinner": "^5.0.0",
|
|
133
|
-
"jsonwebtoken": "^9.0.3",
|
|
134
|
-
"node-forge": "^1.3.3",
|
|
135
|
-
"qrcode": "^1.5.4",
|
|
136
|
-
"react": "^18.3.1"
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -14,7 +14,7 @@ export declare function findUnknownVersion(supabase: SupabaseClient<Database>, a
|
|
|
14
14
|
id: number;
|
|
15
15
|
}>;
|
|
16
16
|
export declare function createChannel(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['channels']['Insert']): import("@supabase/postgrest-js").PostgrestBuilder<{
|
|
17
|
-
PostgrestVersion: "
|
|
17
|
+
PostgrestVersion: "14.1";
|
|
18
18
|
}, {
|
|
19
19
|
allow_dev: boolean;
|
|
20
20
|
allow_device: boolean;
|
|
@@ -38,10 +38,10 @@ export declare function createChannel(supabase: SupabaseClient<Database>, update
|
|
|
38
38
|
version: number;
|
|
39
39
|
}, false>;
|
|
40
40
|
export declare function delChannel(supabase: SupabaseClient<Database>, name: string, appId: string, _userId: string): import("@supabase/postgrest-js").PostgrestBuilder<{
|
|
41
|
-
PostgrestVersion: "
|
|
41
|
+
PostgrestVersion: "14.1";
|
|
42
42
|
}, never, false>;
|
|
43
43
|
export declare function findChannel(supabase: SupabaseClient<Database>, appId: string, name: string): import("@supabase/postgrest-js").PostgrestBuilder<{
|
|
44
|
-
PostgrestVersion: "
|
|
44
|
+
PostgrestVersion: "14.1";
|
|
45
45
|
}, {
|
|
46
46
|
allow_dev: boolean;
|
|
47
47
|
allow_device: boolean;
|
|
@@ -65,7 +65,7 @@ export declare function findChannel(supabase: SupabaseClient<Database>, appId: s
|
|
|
65
65
|
version: number;
|
|
66
66
|
}, false>;
|
|
67
67
|
export declare function findChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/postgrest-js").PostgrestFilterBuilder<{
|
|
68
|
-
PostgrestVersion: "
|
|
68
|
+
PostgrestVersion: "14.1";
|
|
69
69
|
}, {
|
|
70
70
|
Tables: {
|
|
71
71
|
apikeys: {
|
|
@@ -492,6 +492,12 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
492
492
|
isOneToOne: false;
|
|
493
493
|
referencedRelation: "apps";
|
|
494
494
|
referencedColumns: ["app_id"];
|
|
495
|
+
}, {
|
|
496
|
+
foreignKeyName: "build_logs_org_id_fkey";
|
|
497
|
+
columns: ["org_id"];
|
|
498
|
+
isOneToOne: false;
|
|
499
|
+
referencedRelation: "orgs";
|
|
500
|
+
referencedColumns: ["id"];
|
|
495
501
|
}];
|
|
496
502
|
};
|
|
497
503
|
build_requests: {
|
|
@@ -1227,7 +1233,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1227
1233
|
paying: number | null;
|
|
1228
1234
|
paying_monthly: number | null;
|
|
1229
1235
|
paying_yearly: number | null;
|
|
1230
|
-
plan_enterprise: number;
|
|
1236
|
+
plan_enterprise: number | null;
|
|
1231
1237
|
plan_enterprise_monthly: number;
|
|
1232
1238
|
plan_enterprise_yearly: number;
|
|
1233
1239
|
plan_maker: number | null;
|
|
@@ -1296,7 +1302,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1296
1302
|
paying?: number | null;
|
|
1297
1303
|
paying_monthly?: number | null;
|
|
1298
1304
|
paying_yearly?: number | null;
|
|
1299
|
-
plan_enterprise?: number;
|
|
1305
|
+
plan_enterprise?: number | null;
|
|
1300
1306
|
plan_enterprise_monthly?: number;
|
|
1301
1307
|
plan_enterprise_yearly?: number;
|
|
1302
1308
|
plan_maker?: number | null;
|
|
@@ -1365,7 +1371,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
1365
1371
|
paying?: number | null;
|
|
1366
1372
|
paying_monthly?: number | null;
|
|
1367
1373
|
paying_yearly?: number | null;
|
|
1368
|
-
plan_enterprise?: number;
|
|
1374
|
+
plan_enterprise?: number | null;
|
|
1369
1375
|
plan_enterprise_monthly?: number;
|
|
1370
1376
|
plan_enterprise_yearly?: number;
|
|
1371
1377
|
plan_maker?: number | null;
|
|
@@ -3636,24 +3642,18 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
3636
3642
|
app_count: number;
|
|
3637
3643
|
can_use_more: boolean;
|
|
3638
3644
|
created_by: string;
|
|
3639
|
-
credit_available: number;
|
|
3640
|
-
credit_next_expiration: string;
|
|
3641
|
-
credit_total: number;
|
|
3642
3645
|
gid: string;
|
|
3643
3646
|
is_canceled: boolean;
|
|
3644
3647
|
is_yearly: boolean;
|
|
3645
3648
|
logo: string;
|
|
3646
3649
|
management_email: string;
|
|
3647
|
-
max_apikey_expiration_days: number;
|
|
3648
3650
|
name: string;
|
|
3649
|
-
next_stats_update_at: string;
|
|
3650
3651
|
paying: boolean;
|
|
3651
|
-
require_apikey_expiration: boolean;
|
|
3652
3652
|
role: string;
|
|
3653
|
-
stats_updated_at: string;
|
|
3654
3653
|
subscription_end: string;
|
|
3655
3654
|
subscription_start: string;
|
|
3656
3655
|
trial_left: number;
|
|
3656
|
+
use_new_rbac: boolean;
|
|
3657
3657
|
}[];
|
|
3658
3658
|
} | {
|
|
3659
3659
|
Args: {
|
|
@@ -3663,24 +3663,18 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
3663
3663
|
app_count: number;
|
|
3664
3664
|
can_use_more: boolean;
|
|
3665
3665
|
created_by: string;
|
|
3666
|
-
credit_available: number;
|
|
3667
|
-
credit_next_expiration: string;
|
|
3668
|
-
credit_total: number;
|
|
3669
3666
|
gid: string;
|
|
3670
3667
|
is_canceled: boolean;
|
|
3671
3668
|
is_yearly: boolean;
|
|
3672
3669
|
logo: string;
|
|
3673
3670
|
management_email: string;
|
|
3674
|
-
max_apikey_expiration_days: number;
|
|
3675
3671
|
name: string;
|
|
3676
|
-
next_stats_update_at: string;
|
|
3677
3672
|
paying: boolean;
|
|
3678
|
-
require_apikey_expiration: boolean;
|
|
3679
3673
|
role: string;
|
|
3680
|
-
stats_updated_at: string;
|
|
3681
3674
|
subscription_end: string;
|
|
3682
3675
|
subscription_start: string;
|
|
3683
3676
|
trial_left: number;
|
|
3677
|
+
use_new_rbac: boolean;
|
|
3684
3678
|
}[];
|
|
3685
3679
|
};
|
|
3686
3680
|
get_orgs_v7: {
|
|
@@ -4204,7 +4198,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
4204
4198
|
};
|
|
4205
4199
|
is_recent_email_otp_verified: {
|
|
4206
4200
|
Args: {
|
|
4207
|
-
|
|
4201
|
+
user_id: string;
|
|
4208
4202
|
};
|
|
4209
4203
|
Returns: boolean;
|
|
4210
4204
|
};
|
|
@@ -4993,43 +4987,6 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
4993
4987
|
};
|
|
4994
4988
|
Returns: string;
|
|
4995
4989
|
};
|
|
4996
|
-
reset_and_seed_app_data: {
|
|
4997
|
-
Args: {
|
|
4998
|
-
p_admin_user_id?: string;
|
|
4999
|
-
p_app_id: string;
|
|
5000
|
-
p_org_id?: string;
|
|
5001
|
-
p_plan_product_id?: string;
|
|
5002
|
-
p_stripe_customer_id?: string;
|
|
5003
|
-
p_user_id?: string;
|
|
5004
|
-
};
|
|
5005
|
-
Returns: undefined;
|
|
5006
|
-
};
|
|
5007
|
-
reset_and_seed_app_stats_data: {
|
|
5008
|
-
Args: {
|
|
5009
|
-
p_app_id: string;
|
|
5010
|
-
};
|
|
5011
|
-
Returns: undefined;
|
|
5012
|
-
};
|
|
5013
|
-
reset_and_seed_data: {
|
|
5014
|
-
Args: never;
|
|
5015
|
-
Returns: undefined;
|
|
5016
|
-
};
|
|
5017
|
-
reset_and_seed_stats_data: {
|
|
5018
|
-
Args: never;
|
|
5019
|
-
Returns: undefined;
|
|
5020
|
-
};
|
|
5021
|
-
reset_app_data: {
|
|
5022
|
-
Args: {
|
|
5023
|
-
p_app_id: string;
|
|
5024
|
-
};
|
|
5025
|
-
Returns: undefined;
|
|
5026
|
-
};
|
|
5027
|
-
reset_app_stats_data: {
|
|
5028
|
-
Args: {
|
|
5029
|
-
p_app_id: string;
|
|
5030
|
-
};
|
|
5031
|
-
Returns: undefined;
|
|
5032
|
-
};
|
|
5033
4990
|
restore_deleted_account: {
|
|
5034
4991
|
Args: never;
|
|
5035
4992
|
Returns: undefined;
|
|
@@ -5219,7 +5176,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
5219
5176
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
5220
5177
|
key_mode: "read" | "write" | "all" | "upload";
|
|
5221
5178
|
platform_os: "ios" | "android" | "electron";
|
|
5222
|
-
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" | "
|
|
5179
|
+
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" | "keyMismatch" | "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" | "download_0" | "disableProdBuild" | "disableDevice" | "disablePlatformElectron" | "customIdBlocked";
|
|
5223
5180
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
5224
5181
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
5225
5182
|
user_role: "read" | "upload" | "write" | "admin";
|
|
@@ -5287,7 +5244,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
|
|
|
5287
5244
|
referencedColumns: ["id"];
|
|
5288
5245
|
}], "GET">;
|
|
5289
5246
|
export declare function delChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/postgrest-js").PostgrestFilterBuilder<{
|
|
5290
|
-
PostgrestVersion: "
|
|
5247
|
+
PostgrestVersion: "14.1";
|
|
5291
5248
|
}, {
|
|
5292
5249
|
Tables: {
|
|
5293
5250
|
apikeys: {
|
|
@@ -5714,6 +5671,12 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5714
5671
|
isOneToOne: false;
|
|
5715
5672
|
referencedRelation: "apps";
|
|
5716
5673
|
referencedColumns: ["app_id"];
|
|
5674
|
+
}, {
|
|
5675
|
+
foreignKeyName: "build_logs_org_id_fkey";
|
|
5676
|
+
columns: ["org_id"];
|
|
5677
|
+
isOneToOne: false;
|
|
5678
|
+
referencedRelation: "orgs";
|
|
5679
|
+
referencedColumns: ["id"];
|
|
5717
5680
|
}];
|
|
5718
5681
|
};
|
|
5719
5682
|
build_requests: {
|
|
@@ -6449,7 +6412,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
6449
6412
|
paying: number | null;
|
|
6450
6413
|
paying_monthly: number | null;
|
|
6451
6414
|
paying_yearly: number | null;
|
|
6452
|
-
plan_enterprise: number;
|
|
6415
|
+
plan_enterprise: number | null;
|
|
6453
6416
|
plan_enterprise_monthly: number;
|
|
6454
6417
|
plan_enterprise_yearly: number;
|
|
6455
6418
|
plan_maker: number | null;
|
|
@@ -6518,7 +6481,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
6518
6481
|
paying?: number | null;
|
|
6519
6482
|
paying_monthly?: number | null;
|
|
6520
6483
|
paying_yearly?: number | null;
|
|
6521
|
-
plan_enterprise?: number;
|
|
6484
|
+
plan_enterprise?: number | null;
|
|
6522
6485
|
plan_enterprise_monthly?: number;
|
|
6523
6486
|
plan_enterprise_yearly?: number;
|
|
6524
6487
|
plan_maker?: number | null;
|
|
@@ -6587,7 +6550,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
6587
6550
|
paying?: number | null;
|
|
6588
6551
|
paying_monthly?: number | null;
|
|
6589
6552
|
paying_yearly?: number | null;
|
|
6590
|
-
plan_enterprise?: number;
|
|
6553
|
+
plan_enterprise?: number | null;
|
|
6591
6554
|
plan_enterprise_monthly?: number;
|
|
6592
6555
|
plan_enterprise_yearly?: number;
|
|
6593
6556
|
plan_maker?: number | null;
|
|
@@ -8858,24 +8821,18 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
8858
8821
|
app_count: number;
|
|
8859
8822
|
can_use_more: boolean;
|
|
8860
8823
|
created_by: string;
|
|
8861
|
-
credit_available: number;
|
|
8862
|
-
credit_next_expiration: string;
|
|
8863
|
-
credit_total: number;
|
|
8864
8824
|
gid: string;
|
|
8865
8825
|
is_canceled: boolean;
|
|
8866
8826
|
is_yearly: boolean;
|
|
8867
8827
|
logo: string;
|
|
8868
8828
|
management_email: string;
|
|
8869
|
-
max_apikey_expiration_days: number;
|
|
8870
8829
|
name: string;
|
|
8871
|
-
next_stats_update_at: string;
|
|
8872
8830
|
paying: boolean;
|
|
8873
|
-
require_apikey_expiration: boolean;
|
|
8874
8831
|
role: string;
|
|
8875
|
-
stats_updated_at: string;
|
|
8876
8832
|
subscription_end: string;
|
|
8877
8833
|
subscription_start: string;
|
|
8878
8834
|
trial_left: number;
|
|
8835
|
+
use_new_rbac: boolean;
|
|
8879
8836
|
}[];
|
|
8880
8837
|
} | {
|
|
8881
8838
|
Args: {
|
|
@@ -8885,24 +8842,18 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
8885
8842
|
app_count: number;
|
|
8886
8843
|
can_use_more: boolean;
|
|
8887
8844
|
created_by: string;
|
|
8888
|
-
credit_available: number;
|
|
8889
|
-
credit_next_expiration: string;
|
|
8890
|
-
credit_total: number;
|
|
8891
8845
|
gid: string;
|
|
8892
8846
|
is_canceled: boolean;
|
|
8893
8847
|
is_yearly: boolean;
|
|
8894
8848
|
logo: string;
|
|
8895
8849
|
management_email: string;
|
|
8896
|
-
max_apikey_expiration_days: number;
|
|
8897
8850
|
name: string;
|
|
8898
|
-
next_stats_update_at: string;
|
|
8899
8851
|
paying: boolean;
|
|
8900
|
-
require_apikey_expiration: boolean;
|
|
8901
8852
|
role: string;
|
|
8902
|
-
stats_updated_at: string;
|
|
8903
8853
|
subscription_end: string;
|
|
8904
8854
|
subscription_start: string;
|
|
8905
8855
|
trial_left: number;
|
|
8856
|
+
use_new_rbac: boolean;
|
|
8906
8857
|
}[];
|
|
8907
8858
|
};
|
|
8908
8859
|
get_orgs_v7: {
|
|
@@ -9426,7 +9377,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
9426
9377
|
};
|
|
9427
9378
|
is_recent_email_otp_verified: {
|
|
9428
9379
|
Args: {
|
|
9429
|
-
|
|
9380
|
+
user_id: string;
|
|
9430
9381
|
};
|
|
9431
9382
|
Returns: boolean;
|
|
9432
9383
|
};
|
|
@@ -10215,43 +10166,6 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
10215
10166
|
};
|
|
10216
10167
|
Returns: string;
|
|
10217
10168
|
};
|
|
10218
|
-
reset_and_seed_app_data: {
|
|
10219
|
-
Args: {
|
|
10220
|
-
p_admin_user_id?: string;
|
|
10221
|
-
p_app_id: string;
|
|
10222
|
-
p_org_id?: string;
|
|
10223
|
-
p_plan_product_id?: string;
|
|
10224
|
-
p_stripe_customer_id?: string;
|
|
10225
|
-
p_user_id?: string;
|
|
10226
|
-
};
|
|
10227
|
-
Returns: undefined;
|
|
10228
|
-
};
|
|
10229
|
-
reset_and_seed_app_stats_data: {
|
|
10230
|
-
Args: {
|
|
10231
|
-
p_app_id: string;
|
|
10232
|
-
};
|
|
10233
|
-
Returns: undefined;
|
|
10234
|
-
};
|
|
10235
|
-
reset_and_seed_data: {
|
|
10236
|
-
Args: never;
|
|
10237
|
-
Returns: undefined;
|
|
10238
|
-
};
|
|
10239
|
-
reset_and_seed_stats_data: {
|
|
10240
|
-
Args: never;
|
|
10241
|
-
Returns: undefined;
|
|
10242
|
-
};
|
|
10243
|
-
reset_app_data: {
|
|
10244
|
-
Args: {
|
|
10245
|
-
p_app_id: string;
|
|
10246
|
-
};
|
|
10247
|
-
Returns: undefined;
|
|
10248
|
-
};
|
|
10249
|
-
reset_app_stats_data: {
|
|
10250
|
-
Args: {
|
|
10251
|
-
p_app_id: string;
|
|
10252
|
-
};
|
|
10253
|
-
Returns: undefined;
|
|
10254
|
-
};
|
|
10255
10169
|
restore_deleted_account: {
|
|
10256
10170
|
Args: never;
|
|
10257
10171
|
Returns: undefined;
|
|
@@ -10441,7 +10355,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
10441
10355
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
10442
10356
|
key_mode: "read" | "write" | "all" | "upload";
|
|
10443
10357
|
platform_os: "ios" | "android" | "electron";
|
|
10444
|
-
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" | "
|
|
10358
|
+
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" | "keyMismatch" | "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" | "download_0" | "disableProdBuild" | "disableDevice" | "disablePlatformElectron" | "customIdBlocked";
|
|
10445
10359
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
10446
10360
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
10447
10361
|
user_role: "read" | "upload" | "write" | "admin";
|