@capgo/cli 7.95.11 → 7.95.13
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 +93 -93
- package/dist/package.json +1 -1
- package/dist/src/api/channels.d.ts +0 -5215
- package/dist/src/api/crypto.d.ts +5 -2
- package/dist/src/build/request.d.ts +1 -1
- package/dist/src/bundle/unlink.d.ts +8 -1
- package/dist/src/key.d.ts +0 -2
- package/dist/src/schemas/build.d.ts +0 -15
- package/dist/src/schemas/bundle.d.ts +0 -8
- package/dist/src/schemas/common.d.ts +0 -9
- package/dist/src/schemas/index.d.ts +7 -9
- package/dist/src/schemas/sdk.d.ts +0 -8
- package/dist/src/sdk.js +144 -144
- package/dist/src/types/supabase.types.d.ts +0 -36
- package/dist/src/utils.d.ts +0 -41
- package/package.json +1 -1
- package/dist/src/schemas/crypto.d.ts +0 -6
|
@@ -3286,42 +3286,6 @@ export type Database = {
|
|
|
3286
3286
|
name: string;
|
|
3287
3287
|
}[];
|
|
3288
3288
|
};
|
|
3289
|
-
get_accessible_apps_for_apikey_v2: {
|
|
3290
|
-
Args: {
|
|
3291
|
-
apikey: string;
|
|
3292
|
-
};
|
|
3293
|
-
Returns: {
|
|
3294
|
-
allow_device_custom_id: boolean;
|
|
3295
|
-
allow_preview: boolean;
|
|
3296
|
-
android_store_url: string | null;
|
|
3297
|
-
app_id: string;
|
|
3298
|
-
channel_device_count: number;
|
|
3299
|
-
created_at: string | null;
|
|
3300
|
-
default_upload_channel: string;
|
|
3301
|
-
existing_app: boolean;
|
|
3302
|
-
expose_metadata: boolean;
|
|
3303
|
-
icon_url: string;
|
|
3304
|
-
id: string | null;
|
|
3305
|
-
ios_store_url: string | null;
|
|
3306
|
-
last_version: string | null;
|
|
3307
|
-
manifest_bundle_count: number;
|
|
3308
|
-
name: string | null;
|
|
3309
|
-
need_onboarding: boolean;
|
|
3310
|
-
owner_org: string;
|
|
3311
|
-
retention: number;
|
|
3312
|
-
stats_refresh_requested_at: string | null;
|
|
3313
|
-
stats_updated_at: string | null;
|
|
3314
|
-
transfer_history: Json[] | null;
|
|
3315
|
-
updated_at: string | null;
|
|
3316
|
-
user_id: string | null;
|
|
3317
|
-
}[];
|
|
3318
|
-
SetofOptions: {
|
|
3319
|
-
from: "*";
|
|
3320
|
-
to: "apps";
|
|
3321
|
-
isOneToOne: false;
|
|
3322
|
-
isSetofReturn: true;
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
3289
|
get_account_removal_date: {
|
|
3326
3290
|
Args: never;
|
|
3327
3291
|
Returns: string;
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -3315,42 +3315,6 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3315
3315
|
name: string;
|
|
3316
3316
|
}[];
|
|
3317
3317
|
};
|
|
3318
|
-
get_accessible_apps_for_apikey_v2: {
|
|
3319
|
-
Args: {
|
|
3320
|
-
apikey: string;
|
|
3321
|
-
};
|
|
3322
|
-
Returns: {
|
|
3323
|
-
allow_device_custom_id: boolean;
|
|
3324
|
-
allow_preview: boolean;
|
|
3325
|
-
android_store_url: string | null;
|
|
3326
|
-
app_id: string;
|
|
3327
|
-
channel_device_count: number;
|
|
3328
|
-
created_at: string | null;
|
|
3329
|
-
default_upload_channel: string;
|
|
3330
|
-
existing_app: boolean;
|
|
3331
|
-
expose_metadata: boolean;
|
|
3332
|
-
icon_url: string;
|
|
3333
|
-
id: string | null;
|
|
3334
|
-
ios_store_url: string | null;
|
|
3335
|
-
last_version: string | null;
|
|
3336
|
-
manifest_bundle_count: number;
|
|
3337
|
-
name: string | null;
|
|
3338
|
-
need_onboarding: boolean;
|
|
3339
|
-
owner_org: string;
|
|
3340
|
-
retention: number;
|
|
3341
|
-
stats_refresh_requested_at: string | null;
|
|
3342
|
-
stats_updated_at: string | null;
|
|
3343
|
-
transfer_history: import("./types/supabase.types").Json[] | null;
|
|
3344
|
-
updated_at: string | null;
|
|
3345
|
-
user_id: string | null;
|
|
3346
|
-
}[];
|
|
3347
|
-
SetofOptions: {
|
|
3348
|
-
from: "*";
|
|
3349
|
-
to: "apps";
|
|
3350
|
-
isOneToOne: false;
|
|
3351
|
-
isSetofReturn: true;
|
|
3352
|
-
};
|
|
3353
|
-
};
|
|
3354
3318
|
get_account_removal_date: {
|
|
3355
3319
|
Args: never;
|
|
3356
3320
|
Returns: string;
|
|
@@ -5295,7 +5259,6 @@ export declare function isPayingOrg(supabase: SupabaseClient<Database>, orgId: s
|
|
|
5295
5259
|
export declare function isTrialOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<number>;
|
|
5296
5260
|
export declare function isAllowedActionOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<boolean>;
|
|
5297
5261
|
export declare function isAllowedActionAppIdApiKey(supabase: SupabaseClient<Database>, appId: string, apikey: string): Promise<boolean>;
|
|
5298
|
-
export declare function isAllowedApp(supabase: SupabaseClient<Database>, apikey: string, appId: string): Promise<boolean>;
|
|
5299
5262
|
export declare enum OrganizationPerm {
|
|
5300
5263
|
none = 0,
|
|
5301
5264
|
read = 1,
|
|
@@ -5335,7 +5298,6 @@ export declare function generateManifest(path: string): Promise<{
|
|
|
5335
5298
|
hash: string;
|
|
5336
5299
|
}[]>;
|
|
5337
5300
|
export type manifestType = Awaited<ReturnType<typeof generateManifest>>;
|
|
5338
|
-
export type { uploadUrlsType } from './schemas/common';
|
|
5339
5301
|
export declare function zipFile(filePath: string): Promise<Buffer>;
|
|
5340
5302
|
export declare function zipFileUnix(filePath: string): Buffer<ArrayBuffer>;
|
|
5341
5303
|
export declare function zipFileWindows(filePath: string): Promise<Buffer>;
|
|
@@ -5367,7 +5329,6 @@ export declare function sendEvent(capgkey: string, payload: TrackOptions & {
|
|
|
5367
5329
|
notifyConsole?: boolean;
|
|
5368
5330
|
}, verbose?: boolean): Promise<void>;
|
|
5369
5331
|
export declare function show2FADeniedError(organizationName?: string): never;
|
|
5370
|
-
export declare function getOrganization(supabase: SupabaseClient<Database>, roles: string[]): Promise<Organization>;
|
|
5371
5332
|
export declare function filterOrgsByPermission(supabase: SupabaseClient<Database>, apikey: string, orgs: Organization[], permissionKey: string): Promise<Organization[]>;
|
|
5372
5333
|
export declare function getOrganizationListWithPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string): Promise<{
|
|
5373
5334
|
allOrganizations: Organization[];
|
|
@@ -5386,9 +5347,7 @@ export declare function assertCliPermission(supabase: SupabaseClient<Database>,
|
|
|
5386
5347
|
silent?: boolean;
|
|
5387
5348
|
}): Promise<void>;
|
|
5388
5349
|
export declare function assertOrgPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string, orgId: string, message: string, silent: boolean): Promise<void>;
|
|
5389
|
-
export declare function getAccessibleAppsForApiKey(supabase: SupabaseClient<Database>, apikey: string): Promise<Database['public']['Tables']['apps']['Row'][]>;
|
|
5390
5350
|
export declare function getOrganizationId(supabase: SupabaseClient<Database>, appId: string): Promise<string>;
|
|
5391
|
-
export declare function requireUpdateMetadata(supabase: SupabaseClient<Database>, channel: string, appId: string): Promise<boolean>;
|
|
5392
5351
|
export declare function getHumanDate(createdA: string | null): string;
|
|
5393
5352
|
export declare function getPMAndCommand(): {
|
|
5394
5353
|
pm: PackageManagerType;
|
package/package.json
CHANGED