@capgo/cli 8.90.0 → 8.90.2
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 +92 -92
- package/dist/index.js +1080 -1027
- package/dist/notify-app-ready-worker.js +201 -207
- package/dist/onboarding-worker.js +472 -473
- package/dist/package.json +19 -23
- package/dist/src/analytics/api-perf.d.ts +39 -0
- package/dist/src/analytics/cli-headers.d.ts +0 -1
- package/dist/src/analytics/error-category.d.ts +1 -1
- package/dist/src/analytics/org-resolver.d.ts +2 -6
- package/dist/src/analytics/track.d.ts +1 -3
- package/dist/src/api/app.d.ts +31 -19
- package/dist/src/api/channels.d.ts +25 -52
- package/dist/src/api/cli-data.d.ts +27 -0
- package/dist/src/api/http-error.d.ts +9 -0
- package/dist/src/api/preflight.d.ts +53 -0
- package/dist/src/api/versions.d.ts +15 -59
- package/dist/src/app/add.d.ts +5 -9
- package/dist/src/app/debug.d.ts +1 -2
- package/dist/src/app/default-channels.d.ts +7 -9
- package/dist/src/app/list.d.ts +3 -70
- package/dist/src/auth/session.d.ts +1 -2
- package/dist/src/build/onboarding/android/ui/app.d.ts +2 -3
- package/dist/src/build/onboarding/app-selection.d.ts +2 -4
- package/dist/src/build/onboarding/appflow/tail.d.ts +1 -1
- package/dist/src/build/onboarding/command.d.ts +2 -3
- package/dist/src/build/onboarding/login.d.ts +1 -2
- package/dist/src/build/onboarding/ui/app.d.ts +2 -3
- package/dist/src/build/onboarding/ui/appflow-app.d.ts +1 -1
- package/dist/src/build/onboarding/ui/shell.d.ts +2 -3
- package/dist/src/build/prescan/command.d.ts +1 -2
- package/dist/src/build/prescan/context.d.ts +2 -3
- package/dist/src/build/prescan/types.d.ts +3 -4
- package/dist/src/bundle/auto-bump-ai.d.ts +6 -9
- package/dist/src/bundle/finalize-upload.d.ts +2 -4
- package/dist/src/bundle/list.d.ts +1 -25
- package/dist/src/bundle/manifest-upload.d.ts +1 -1
- package/dist/src/bundle/unlink.d.ts +1 -2
- package/dist/src/bundle/upload.d.ts +3 -3
- package/dist/src/channel/add.d.ts +3 -4
- package/dist/src/init/builder-setup.d.ts +1 -1
- package/dist/src/init/channel-selection.d.ts +2 -3
- package/dist/src/init/onboarding-report.d.ts +2 -4
- package/dist/src/init/replay.d.ts +2 -3
- package/dist/src/login.d.ts +1 -2
- package/dist/src/mcp/tool-schemas.d.ts +5 -5
- package/dist/src/observe/command.d.ts +1 -2
- package/dist/src/onboarding/background-api.d.ts +1 -1
- package/dist/src/onboarding/background-check.d.ts +0 -1
- package/dist/src/onboarding/background.d.ts +1 -2
- package/dist/src/organization/add.d.ts +2 -24
- package/dist/src/organization/list.d.ts +4 -34
- package/dist/src/organization/set.d.ts +4 -6
- package/dist/src/preview/qr.d.ts +1 -2
- package/dist/src/recovery/app-id.d.ts +1 -2
- package/dist/src/schemas/account.d.ts +2 -2
- package/dist/src/schemas/app.d.ts +6 -6
- package/dist/src/schemas/base.d.ts +2 -2
- package/dist/src/schemas/build.d.ts +4 -4
- package/dist/src/schemas/bundle.d.ts +13 -13
- package/dist/src/schemas/channel.d.ts +10 -10
- package/dist/src/schemas/onboarding.d.ts +1 -1
- package/dist/src/schemas/organization.d.ts +8 -8
- package/dist/src/schemas/sdk.d.ts +52 -52
- package/dist/src/sdk.d.ts +19 -8
- package/dist/src/sdk.js +449 -484
- package/dist/src/shared/network-error.d.ts +2 -2
- package/dist/src/shared/two-factor-compliance.d.ts +1 -1
- package/dist/src/types/api.d.ts +214 -0
- package/dist/src/user/whoami.d.ts +3 -4
- package/dist/src/utils.d.ts +135 -10894
- package/dist/updater-installed-worker.js +183 -189
- package/package.json +19 -23
- package/skills/usage/SKILL.md +2 -2
- package/dist/src/analytics/supabase-perf.d.ts +0 -48
- package/dist/src/types/supabase.types.d.ts +0 -5588
|
@@ -50,8 +50,8 @@ export declare const mcpUploadBundleInputSchema: z.ZodObject<{
|
|
|
50
50
|
major: "major";
|
|
51
51
|
minor: "minor";
|
|
52
52
|
patch: "patch";
|
|
53
|
-
metadata: "metadata";
|
|
54
53
|
ai: "ai";
|
|
54
|
+
metadata: "metadata";
|
|
55
55
|
}>>;
|
|
56
56
|
encrypt: z.ZodOptional<z.ZodBoolean>;
|
|
57
57
|
acceptIncompatible: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -196,13 +196,13 @@ export declare const mcpRemoveOrganizationMemberInputSchema: z.ZodObject<{
|
|
|
196
196
|
}, z.core.$strip>;
|
|
197
197
|
export declare const mcpGetAccountInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
198
198
|
export declare const mcpUpdateAccountInputSchema: z.ZodObject<{
|
|
199
|
-
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
-
country: z.ZodOptional<z.ZodString>;
|
|
201
199
|
emailPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
202
200
|
firstName: z.ZodOptional<z.ZodString>;
|
|
203
201
|
lastName: z.ZodOptional<z.ZodString>;
|
|
202
|
+
country: z.ZodOptional<z.ZodString>;
|
|
204
203
|
discordUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
204
|
formatLocale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
206
206
|
newsletter: z.ZodOptional<z.ZodBoolean>;
|
|
207
207
|
}, z.core.$strip>;
|
|
208
208
|
export declare const mcpSearchDocsInputSchema: z.ZodObject<{
|
|
@@ -228,15 +228,15 @@ export declare const mcpObserveInputSchema: z.ZodObject<{
|
|
|
228
228
|
oldest: "oldest";
|
|
229
229
|
}>>;
|
|
230
230
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
231
|
-
action: z.ZodOptional<z.ZodString>;
|
|
232
231
|
view: z.ZodOptional<z.ZodEnum<{
|
|
233
232
|
device: "device";
|
|
234
|
-
events: "events";
|
|
235
233
|
summary: "summary";
|
|
236
234
|
metrics: "metrics";
|
|
235
|
+
events: "events";
|
|
237
236
|
routes: "routes";
|
|
238
237
|
versions: "versions";
|
|
239
238
|
}>>;
|
|
239
|
+
action: z.ZodOptional<z.ZodString>;
|
|
240
240
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
days: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>, z.ZodLiteral<7>, z.ZodLiteral<30>]>>;
|
|
242
242
|
versionName: z.ZodOptional<z.ZodString>;
|
|
@@ -8,7 +8,6 @@ export interface ObserveCliOptions {
|
|
|
8
8
|
sort?: string;
|
|
9
9
|
limit?: string;
|
|
10
10
|
json?: boolean;
|
|
11
|
-
|
|
12
|
-
supaAnon?: string;
|
|
11
|
+
apiHost?: string;
|
|
13
12
|
}
|
|
14
13
|
export declare function observeCommand(view: ObserveView, appIdArg: string | undefined, options: ObserveCliOptions, deviceIdArg?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { OnboardingCheckOptions } from './background';
|
|
2
|
-
export declare function isTrustedOnboardingApiHost(apiHost: string, options: Pick<OnboardingCheckOptions, '
|
|
2
|
+
export declare function isTrustedOnboardingApiHost(apiHost: string, options: Pick<OnboardingCheckOptions, 'apiHost'>, trustedOrigins: readonly string[]): boolean;
|
|
@@ -9,8 +9,7 @@ export interface OnboardingCheckOptions {
|
|
|
9
9
|
capacitorConfig?: string;
|
|
10
10
|
packageJson?: string;
|
|
11
11
|
mainFile?: string;
|
|
12
|
-
|
|
13
|
-
supaAnon?: string;
|
|
12
|
+
apiHost?: string;
|
|
14
13
|
setupNotice?: boolean;
|
|
15
14
|
}
|
|
16
15
|
export declare function startOnboardingCheck(command: Command, commandPath: string, workerUrl: URL, attemptIds?: string[], ci?: boolean): void;
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
import type { OrganizationAddOptions } from '../schemas/organization';
|
|
2
2
|
export declare function addOrganizationInternal(options: OrganizationAddOptions, silent?: boolean): Promise<{
|
|
3
|
-
created_at: string | null;
|
|
4
|
-
created_by: string;
|
|
5
|
-
customer_id: string | null;
|
|
6
|
-
email_preferences: import("../types/supabase.types").Json;
|
|
7
|
-
enforce_encrypted_bundles: boolean;
|
|
8
|
-
enforce_hashed_api_keys: boolean;
|
|
9
|
-
enforcing_2fa: boolean;
|
|
10
|
-
has_usage_credits: boolean;
|
|
11
|
-
id: string;
|
|
12
|
-
last_stats_updated_at: string | null;
|
|
13
|
-
logo: string | null;
|
|
14
|
-
management_email: string;
|
|
15
|
-
max_apikey_expiration_days: number | null;
|
|
16
3
|
name: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
require_apikey_expiration: boolean;
|
|
20
|
-
required_encryption_key: string | null;
|
|
21
|
-
stats_refresh_requested_at: string | null;
|
|
22
|
-
stats_updated_at: string | null;
|
|
23
|
-
support_channel_set_at: string | null;
|
|
24
|
-
support_channel_type: string | null;
|
|
25
|
-
support_channel_url: string | null;
|
|
26
|
-
updated_at: string | null;
|
|
27
|
-
website: string | null;
|
|
4
|
+
management_email: string;
|
|
5
|
+
id: string;
|
|
28
6
|
}>;
|
|
29
7
|
export declare function addOrganization(options: OrganizationAddOptions): Promise<void>;
|
|
@@ -1,36 +1,6 @@
|
|
|
1
1
|
import type { OptionsBase } from '../schemas/base';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
created_at: string;
|
|
7
|
-
created_by: string;
|
|
8
|
-
credit_available: number;
|
|
9
|
-
credit_next_expiration: string;
|
|
10
|
-
credit_total: number;
|
|
11
|
-
enforce_encrypted_bundles: boolean;
|
|
12
|
-
enforce_hashed_api_keys: boolean;
|
|
13
|
-
enforcing_2fa: boolean;
|
|
14
|
-
gid: string;
|
|
15
|
-
is_canceled: boolean;
|
|
16
|
-
is_invite: boolean;
|
|
17
|
-
is_yearly: boolean;
|
|
18
|
-
logo: string;
|
|
19
|
-
management_email: string;
|
|
20
|
-
max_apikey_expiration_days: number;
|
|
21
|
-
name: string;
|
|
22
|
-
next_stats_update_at: string;
|
|
23
|
-
password_has_access: boolean;
|
|
24
|
-
password_policy_config: import("../types/supabase.types").Json;
|
|
25
|
-
paying: boolean;
|
|
26
|
-
require_apikey_expiration: boolean;
|
|
27
|
-
required_encryption_key: string;
|
|
28
|
-
role: string;
|
|
29
|
-
stats_refresh_requested_at: string;
|
|
30
|
-
stats_updated_at: string;
|
|
31
|
-
subscription_end: string;
|
|
32
|
-
subscription_start: string;
|
|
33
|
-
trial_left: number;
|
|
34
|
-
website: string;
|
|
35
|
-
}[]>;
|
|
2
|
+
import type { Organization } from '../utils';
|
|
3
|
+
export declare function listOrganizationsInternal(options: OptionsBase, silent?: boolean): Promise<(Organization & {
|
|
4
|
+
allowed?: boolean;
|
|
5
|
+
})[]>;
|
|
36
6
|
export declare function listOrganizations(options: OptionsBase): Promise<void>;
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import type { OrganizationSetOptions } from '../schemas/organization';
|
|
2
|
-
|
|
3
|
-
export declare const resolveConfiguredOrganizationUpdateApiHost: typeof resolveConfiguredCapgoPublicApiHost;
|
|
4
|
-
export declare function resolveOrganizationUpdateApiHost(options: Pick<OrganizationSetOptions, 'supaHost' | 'supaAnon'>, silent: boolean): Promise<string>;
|
|
2
|
+
export declare function resolveOrganizationUpdateApiHost(options: Pick<OrganizationSetOptions, 'apiHost'>, silent: boolean): Promise<string>;
|
|
5
3
|
export declare function setOrganizationInternal(orgId: string, options: OrganizationSetOptions, silent?: boolean): Promise<{
|
|
6
4
|
orgId: string;
|
|
7
5
|
name: string;
|
|
8
|
-
email: string;
|
|
6
|
+
email: string | undefined;
|
|
9
7
|
passwordPolicy: boolean;
|
|
10
8
|
enforce2fa?: undefined;
|
|
11
9
|
} | {
|
|
12
10
|
orgId: string;
|
|
13
11
|
name: string;
|
|
14
|
-
email: string;
|
|
12
|
+
email: string | undefined;
|
|
15
13
|
passwordPolicy?: undefined;
|
|
16
14
|
enforce2fa?: undefined;
|
|
17
15
|
} | {
|
|
18
16
|
orgId: string;
|
|
19
17
|
name: string;
|
|
20
|
-
email: string;
|
|
18
|
+
email: string | undefined;
|
|
21
19
|
enforce2fa: boolean | undefined;
|
|
22
20
|
passwordPolicy?: undefined;
|
|
23
21
|
}>;
|
package/dist/src/preview/qr.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ import { type PreviewWebEnv } from './web-url';
|
|
|
3
3
|
import { invokeCapgoCliApi } from '../utils';
|
|
4
4
|
export interface CapgoPreviewHttpOptions {
|
|
5
5
|
apikey: string;
|
|
6
|
-
|
|
7
|
-
supaAnon?: string;
|
|
6
|
+
apiHost?: string;
|
|
8
7
|
/** Injectable for unit tests; defaults to invokeCapgoCliApi. */
|
|
9
8
|
invoke?: typeof invokeCapgoCliApi;
|
|
10
9
|
}
|
|
@@ -9,7 +9,6 @@ export interface ResolveAppIdOptions {
|
|
|
9
9
|
packageJsonPaths?: string[];
|
|
10
10
|
interactive?: boolean;
|
|
11
11
|
json?: boolean;
|
|
12
|
-
|
|
13
|
-
supaAnon?: string;
|
|
12
|
+
apiHost?: string;
|
|
14
13
|
}
|
|
15
14
|
export declare function resolveAppIdWithRecovery(options: ResolveAppIdOptions): Promise<string>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const accountSetOptionsSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
6
6
|
firstName: z.ZodOptional<z.ZodString>;
|
|
7
7
|
lastName: z.ZodOptional<z.ZodString>;
|
|
8
8
|
country: z.ZodOptional<z.ZodString>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const appOptionsSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
6
6
|
blockProviderInfraRequests: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
buildTimeoutMinutes: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
iosStoreUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -28,15 +28,15 @@ export declare const appOptionsSchema: z.ZodObject<{
|
|
|
28
28
|
export type AppOptions = z.infer<typeof appOptionsSchema>;
|
|
29
29
|
export declare const appDebugOptionsSchema: z.ZodObject<{
|
|
30
30
|
apikey: z.ZodString;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
32
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
33
33
|
device: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type AppDebugOptions = z.infer<typeof appDebugOptionsSchema>;
|
|
36
36
|
export declare const appSettingOptionsSchema: z.ZodObject<{
|
|
37
37
|
apikey: z.ZodString;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
39
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
40
40
|
bool: z.ZodOptional<z.ZodString>;
|
|
41
41
|
string: z.ZodOptional<z.ZodString>;
|
|
42
42
|
}, z.core.$strip>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const optionsBaseSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
export type OptionsBase = z.infer<typeof optionsBaseSchema>;
|
|
@@ -31,8 +31,8 @@ export declare const buildCacheOptionSchema: z.ZodOptional<z.ZodBoolean>;
|
|
|
31
31
|
export declare const buildCacheKeyOptionSchema: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
32
32
|
export declare const buildRequestOptionsSchema: z.ZodObject<{
|
|
33
33
|
apikey: z.ZodString;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
35
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
36
36
|
path: z.ZodOptional<z.ZodString>;
|
|
37
37
|
nodeModules: z.ZodOptional<z.ZodString>;
|
|
38
38
|
platform: z.ZodOptional<z.ZodEnum<{
|
|
@@ -118,8 +118,8 @@ export declare const buildRequestOptionsSchema: z.ZodObject<{
|
|
|
118
118
|
export type BuildRequestOptions = z.infer<typeof buildRequestOptionsSchema>;
|
|
119
119
|
export declare const buildNeededOptionsSchema: z.ZodObject<{
|
|
120
120
|
apikey: z.ZodString;
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
122
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
123
123
|
channel: z.ZodOptional<z.ZodString>;
|
|
124
124
|
packageJson: z.ZodOptional<z.ZodString>;
|
|
125
125
|
nodeModules: z.ZodOptional<z.ZodString>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const optionsUploadSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
6
6
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
7
7
|
cordova: "cordova";
|
|
8
8
|
}>>;
|
|
@@ -37,8 +37,8 @@ export declare const optionsUploadSchema: z.ZodObject<{
|
|
|
37
37
|
major: "major";
|
|
38
38
|
minor: "minor";
|
|
39
39
|
patch: "patch";
|
|
40
|
-
metadata: "metadata";
|
|
41
40
|
ai: "ai";
|
|
41
|
+
metadata: "metadata";
|
|
42
42
|
}>>;
|
|
43
43
|
ignoreMetadataCheck: z.ZodOptional<z.ZodBoolean>;
|
|
44
44
|
failOnIncompatible: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -116,8 +116,8 @@ export declare const uploadBundleResultSchema: z.ZodObject<{
|
|
|
116
116
|
export type UploadBundleResult = z.infer<typeof uploadBundleResultSchema>;
|
|
117
117
|
export declare const bundleZipOptionsSchema: z.ZodObject<{
|
|
118
118
|
apikey: z.ZodString;
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
120
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
121
121
|
bundle: z.ZodOptional<z.ZodString>;
|
|
122
122
|
path: z.ZodOptional<z.ZodString>;
|
|
123
123
|
codeCheck: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -130,15 +130,15 @@ export declare const bundleZipOptionsSchema: z.ZodObject<{
|
|
|
130
130
|
export type BundleZipOptions = z.infer<typeof bundleZipOptionsSchema>;
|
|
131
131
|
export declare const bundleDeleteOptionsSchema: z.ZodObject<{
|
|
132
132
|
apikey: z.ZodString;
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
134
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
135
135
|
bundle: z.ZodString;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
137
|
export type BundleDeleteOptions = z.infer<typeof bundleDeleteOptionsSchema>;
|
|
138
138
|
export declare const bundleCompatibilityOptionsSchema: z.ZodObject<{
|
|
139
139
|
apikey: z.ZodString;
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
141
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
142
142
|
channel: z.ZodOptional<z.ZodString>;
|
|
143
143
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
144
144
|
packageJson: z.ZodOptional<z.ZodString>;
|
|
@@ -147,8 +147,8 @@ export declare const bundleCompatibilityOptionsSchema: z.ZodObject<{
|
|
|
147
147
|
export type BundleCompatibilityOptions = z.infer<typeof bundleCompatibilityOptionsSchema>;
|
|
148
148
|
export declare const bundleReleaseTypeOptionsSchema: z.ZodObject<{
|
|
149
149
|
apikey: z.ZodString;
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
151
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
152
152
|
channel: z.ZodOptional<z.ZodString>;
|
|
153
153
|
packageJson: z.ZodOptional<z.ZodString>;
|
|
154
154
|
nodeModules: z.ZodOptional<z.ZodString>;
|
|
@@ -156,8 +156,8 @@ export declare const bundleReleaseTypeOptionsSchema: z.ZodObject<{
|
|
|
156
156
|
export type BundleReleaseTypeOptions = z.infer<typeof bundleReleaseTypeOptionsSchema>;
|
|
157
157
|
export declare const bundleCleanupOptionsSchema: z.ZodObject<{
|
|
158
158
|
apikey: z.ZodString;
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
160
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
161
161
|
version: z.ZodString;
|
|
162
162
|
bundle: z.ZodString;
|
|
163
163
|
keep: z.ZodNumber;
|
|
@@ -19,32 +19,32 @@ export declare const channelSchema: z.ZodObject<{
|
|
|
19
19
|
export type Channel = z.infer<typeof channelSchema>;
|
|
20
20
|
export declare const channelAddOptionsSchema: z.ZodObject<{
|
|
21
21
|
apikey: z.ZodString;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
23
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
24
24
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
selfAssign: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
export type ChannelAddOptions = z.infer<typeof channelAddOptionsSchema>;
|
|
28
28
|
export declare const channelDeleteOptionsSchema: z.ZodObject<{
|
|
29
29
|
apikey: z.ZodString;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
31
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
32
32
|
deleteBundle: z.ZodBoolean;
|
|
33
33
|
successIfNotFound: z.ZodBoolean;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type ChannelDeleteOptions = z.infer<typeof channelDeleteOptionsSchema>;
|
|
36
36
|
export declare const channelCurrentBundleOptionsSchema: z.ZodObject<{
|
|
37
37
|
apikey: z.ZodString;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
39
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
40
40
|
channel: z.ZodOptional<z.ZodString>;
|
|
41
41
|
quiet: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
}, z.core.$strip>;
|
|
43
43
|
export type ChannelCurrentBundleOptions = z.infer<typeof channelCurrentBundleOptionsSchema>;
|
|
44
44
|
export declare const channelPromoteOptionsSchema: z.ZodObject<{
|
|
45
45
|
apikey: z.ZodString;
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
47
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
48
48
|
ignoreMetadataCheck: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
acceptIncompatible: z.ZodOptional<z.ZodBoolean>;
|
|
50
50
|
sendUpdateNotification: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -52,8 +52,8 @@ export declare const channelPromoteOptionsSchema: z.ZodObject<{
|
|
|
52
52
|
export type ChannelPromoteOptions = z.infer<typeof channelPromoteOptionsSchema>;
|
|
53
53
|
export declare const optionsSetChannelSchema: z.ZodObject<{
|
|
54
54
|
apikey: z.ZodString;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
56
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
57
57
|
bundle: z.ZodOptional<z.ZodString>;
|
|
58
58
|
state: z.ZodOptional<z.ZodString>;
|
|
59
59
|
downgrade: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -110,8 +110,8 @@ export declare const onboardingNextStepSchema: z.ZodObject<{
|
|
|
110
110
|
buildScript: z.ZodOptional<z.ZodString>;
|
|
111
111
|
buildScriptCustom: z.ZodOptional<z.ZodString>;
|
|
112
112
|
workflowFileAction: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
write: "write";
|
|
114
113
|
view: "view";
|
|
114
|
+
write: "write";
|
|
115
115
|
cancel: "cancel";
|
|
116
116
|
}>>;
|
|
117
117
|
setupMethod: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const organizationAddOptionsSchema: z.ZodObject<{
|
|
3
3
|
apikey: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
6
6
|
name: z.ZodOptional<z.ZodString>;
|
|
7
7
|
email: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type OrganizationAddOptions = z.infer<typeof organizationAddOptionsSchema>;
|
|
10
10
|
export declare const organizationDeleteOptionsSchema: z.ZodObject<{
|
|
11
11
|
apikey: z.ZodString;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
13
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
14
14
|
autoConfirm: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
export type OrganizationDeleteOptions = z.infer<typeof organizationDeleteOptionsSchema>;
|
|
@@ -24,8 +24,8 @@ export declare const passwordPolicyConfigSchema: z.ZodObject<{
|
|
|
24
24
|
export type PasswordPolicyConfig = z.infer<typeof passwordPolicyConfigSchema>;
|
|
25
25
|
export declare const organizationSetOptionsSchema: z.ZodObject<{
|
|
26
26
|
apikey: z.ZodString;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
28
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
29
29
|
name: z.ZodOptional<z.ZodString>;
|
|
30
30
|
email: z.ZodOptional<z.ZodString>;
|
|
31
31
|
enforce2fa: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -53,8 +53,8 @@ export declare const organizationMemberRoleSchema: z.ZodEnum<{
|
|
|
53
53
|
export type OrganizationMemberRole = z.infer<typeof organizationMemberRoleSchema>;
|
|
54
54
|
export declare const organizationMemberOptionsSchema: z.ZodObject<{
|
|
55
55
|
apikey: z.ZodString;
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
57
|
+
filesHost: z.ZodOptional<z.ZodString>;
|
|
58
58
|
email: z.ZodOptional<z.ZodString>;
|
|
59
59
|
role: z.ZodOptional<z.ZodString>;
|
|
60
60
|
}, z.core.$strip>;
|