@capgo/cli 8.29.2 → 8.29.3
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 +525 -525
- package/dist/package.json +1 -1
- package/dist/src/api/app.d.ts +4 -1
- package/dist/src/organization/set.d.ts +2 -7
- package/dist/src/schemas/auth.d.ts +2 -2
- package/dist/src/sdk.js +278 -278
- package/dist/src/utils.d.ts +11 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/src/api/app.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ export type PendingOnboardingApp = Pick<Database['public']['Tables']['apps']['Ro
|
|
|
5
5
|
export type ExistingOrganizationApp = Pick<Database['public']['Tables']['apps']['Row'], 'app_id' | 'name' | 'owner_org' | 'need_onboarding'>;
|
|
6
6
|
export declare function listPendingOnboardingApps(supabase: SupabaseClient<Database>, orgId: string): Promise<PendingOnboardingApp[]>;
|
|
7
7
|
export declare function findAppInOrganization(supabase: SupabaseClient<Database>, orgId: string, appId: string): Promise<ExistingOrganizationApp | null>;
|
|
8
|
-
export declare function completePendingOnboardingApp(
|
|
8
|
+
export declare function completePendingOnboardingApp(_supabase: SupabaseClient<Database>, orgId: string, appId: string, apikey: string, options?: {
|
|
9
|
+
supaHost?: string;
|
|
10
|
+
supaAnon?: string;
|
|
11
|
+
}): Promise<void>;
|
|
9
12
|
/**
|
|
10
13
|
* Check multiple app IDs at once for batch validation (e.g., for suggestions)
|
|
11
14
|
*/
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { OrganizationSetOptions } from '../schemas/organization';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
supaHost?: string;
|
|
5
|
-
supaKey?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function resolveConfiguredOrganizationUpdateApiHost(config: OrganizationApiHostConfig): string;
|
|
2
|
+
import { resolveConfiguredCapgoPublicApiHost } from '../utils';
|
|
3
|
+
export declare const resolveConfiguredOrganizationUpdateApiHost: typeof resolveConfiguredCapgoPublicApiHost;
|
|
8
4
|
export declare function resolveOrganizationUpdateApiHost(options: Pick<OrganizationSetOptions, 'supaHost' | 'supaAnon'>, silent: boolean): Promise<string>;
|
|
9
5
|
export declare function setOrganizationInternal(orgId: string, options: OrganizationSetOptions, silent?: boolean): Promise<{
|
|
10
6
|
orgId: string;
|
|
@@ -26,4 +22,3 @@ export declare function setOrganizationInternal(orgId: string, options: Organiza
|
|
|
26
22
|
passwordPolicy?: undefined;
|
|
27
23
|
}>;
|
|
28
24
|
export declare function setOrganization(orgId: string, options: OrganizationSetOptions): Promise<void>;
|
|
29
|
-
export {};
|
|
@@ -2,13 +2,13 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const mcpLoginInputSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
4
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
5
|
-
local: "local";
|
|
6
5
|
global: "global";
|
|
6
|
+
local: "local";
|
|
7
7
|
}>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export declare const mcpLogoutInputSchema: z.ZodObject<{
|
|
10
10
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
local: "local";
|
|
12
11
|
global: "global";
|
|
12
|
+
local: "local";
|
|
13
13
|
}>>;
|
|
14
14
|
}, z.core.$strip>;
|