@capgo/cli 7.95.12 → 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 -5143
- 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/utils.d.ts +0 -4
- package/package.json +1 -1
- package/dist/src/schemas/crypto.d.ts +0 -6
package/dist/src/utils.d.ts
CHANGED
|
@@ -5259,7 +5259,6 @@ export declare function isPayingOrg(supabase: SupabaseClient<Database>, orgId: s
|
|
|
5259
5259
|
export declare function isTrialOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<number>;
|
|
5260
5260
|
export declare function isAllowedActionOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<boolean>;
|
|
5261
5261
|
export declare function isAllowedActionAppIdApiKey(supabase: SupabaseClient<Database>, appId: string, apikey: string): Promise<boolean>;
|
|
5262
|
-
export declare function isAllowedApp(supabase: SupabaseClient<Database>, apikey: string, appId: string): Promise<boolean>;
|
|
5263
5262
|
export declare enum OrganizationPerm {
|
|
5264
5263
|
none = 0,
|
|
5265
5264
|
read = 1,
|
|
@@ -5299,7 +5298,6 @@ export declare function generateManifest(path: string): Promise<{
|
|
|
5299
5298
|
hash: string;
|
|
5300
5299
|
}[]>;
|
|
5301
5300
|
export type manifestType = Awaited<ReturnType<typeof generateManifest>>;
|
|
5302
|
-
export type { uploadUrlsType } from './schemas/common';
|
|
5303
5301
|
export declare function zipFile(filePath: string): Promise<Buffer>;
|
|
5304
5302
|
export declare function zipFileUnix(filePath: string): Buffer<ArrayBuffer>;
|
|
5305
5303
|
export declare function zipFileWindows(filePath: string): Promise<Buffer>;
|
|
@@ -5331,7 +5329,6 @@ export declare function sendEvent(capgkey: string, payload: TrackOptions & {
|
|
|
5331
5329
|
notifyConsole?: boolean;
|
|
5332
5330
|
}, verbose?: boolean): Promise<void>;
|
|
5333
5331
|
export declare function show2FADeniedError(organizationName?: string): never;
|
|
5334
|
-
export declare function getOrganization(supabase: SupabaseClient<Database>, roles: string[]): Promise<Organization>;
|
|
5335
5332
|
export declare function filterOrgsByPermission(supabase: SupabaseClient<Database>, apikey: string, orgs: Organization[], permissionKey: string): Promise<Organization[]>;
|
|
5336
5333
|
export declare function getOrganizationListWithPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string): Promise<{
|
|
5337
5334
|
allOrganizations: Organization[];
|
|
@@ -5351,7 +5348,6 @@ export declare function assertCliPermission(supabase: SupabaseClient<Database>,
|
|
|
5351
5348
|
}): Promise<void>;
|
|
5352
5349
|
export declare function assertOrgPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string, orgId: string, message: string, silent: boolean): Promise<void>;
|
|
5353
5350
|
export declare function getOrganizationId(supabase: SupabaseClient<Database>, appId: string): Promise<string>;
|
|
5354
|
-
export declare function requireUpdateMetadata(supabase: SupabaseClient<Database>, channel: string, appId: string): Promise<boolean>;
|
|
5355
5351
|
export declare function getHumanDate(createdA: string | null): string;
|
|
5356
5352
|
export declare function getPMAndCommand(): {
|
|
5357
5353
|
pm: PackageManagerType;
|
package/package.json
CHANGED