@capgo/cli 8.8.0 → 8.8.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/dist/index.js +313 -310
- package/dist/package.json +1 -1
- package/dist/src/api/channels.d.ts +2 -2
- package/dist/src/build/onboarding/apple-api.d.ts +2 -1
- package/dist/src/build/onboarding/types.d.ts +1 -1
- package/dist/src/sdk.js +205 -205
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -5729,11 +5729,11 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
|
|
|
5729
5729
|
isOneToOne: false;
|
|
5730
5730
|
referencedRelation: "orgs";
|
|
5731
5731
|
referencedColumns: ["id"];
|
|
5732
|
-
}], "DELETE">;
|
|
5732
|
+
}], "DELETE", false>;
|
|
5733
5733
|
export declare function findBundleIdByChannelName(supabase: SupabaseClient<Database>, appId: string, name: string): PromiseLike<{
|
|
5734
5734
|
id: number;
|
|
5735
5735
|
name: string;
|
|
5736
|
-
} | null
|
|
5736
|
+
} | null>;
|
|
5737
5737
|
export type { Channel } from '../schemas/channel';
|
|
5738
5738
|
type Channel = import('../schemas/channel').Channel;
|
|
5739
5739
|
export declare function displayChannels(data: Channel[], silent?: boolean): void;
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
export declare function generateJwt(keyId: string, issuerId: string, p8Content: string): string;
|
|
6
6
|
export declare class AppleApiHttpError extends Error {
|
|
7
7
|
readonly status: number;
|
|
8
|
-
|
|
8
|
+
readonly code?: string;
|
|
9
|
+
constructor(status: number, message: string, code?: string);
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* Verify the API key works and try to detect the team ID from existing certificates.
|
|
@@ -18,7 +18,7 @@ export interface OnboardingResult {
|
|
|
18
18
|
summary?: OnboardingCompletionSummary;
|
|
19
19
|
}
|
|
20
20
|
export type OnboardingStep = 'welcome' | 'resume-prompt' | 'platform-select' | 'adding-platform' | 'credentials-exist' | 'backing-up' | 'setup-method-select' | 'import-scanning' | 'import-distribution-mode' | 'import-pick-identity' | 'import-pick-profile' | 'import-validating-all-certs' | 'import-checking-apple-cert' | 'import-no-match-recovery' | 'import-portal-explanation' | 'import-provide-profile-path' | 'import-create-profile-only' | 'import-export-warning' | 'import-exporting' | 'p8-source-select' | 'asc-key-generating' | 'asc-key-created' | 'api-key-instructions' | 'p8-method-select' | 'input-p8-path' | 'input-key-id' | 'input-issuer-id' | 'verifying-key' | 'verify-app' | 'creating-certificate' | 'cert-limit-prompt' | 'revoking-certificate' | 'creating-profile' | 'duplicate-profile-prompt' | 'deleting-duplicate-profiles' | 'saving-credentials' | 'detecting-ci-secrets' | 'ci-secrets-setup' | 'ci-secrets-target-select' | 'ask-ci-secrets' | 'checking-ci-secrets' | 'confirm-ci-secret-overwrite' | 'uploading-ci-secrets' | 'ci-secrets-failed' | 'ask-github-actions-setup' | 'confirm-secrets-push' | 'ask-export-env' | 'exporting-env' | 'confirm-env-export-overwrite' | 'overwrite-and-export-env' | 'pick-package-manager' | 'pick-build-script' | 'pick-build-script-custom' | 'preview-workflow-file' | 'view-workflow-diff' | 'writing-workflow-file' | 'ask-build' | 'requesting-build' | 'ai-analysis-prompt' | 'ai-analysis-running' | 'ai-analysis-result' | 'ai-analysis-result-scroll' | 'build-complete' | 'no-platform' | 'error' | 'support-confirm' | 'support-log-view' | 'support-uploading';
|
|
21
|
-
export type OnboardingErrorCategory = 'apple_api_unauthorized' | 'apple_api_rate_limited' | 'cert_limit_reached' | 'profile_creation_failed' | 'p8_invalid' | 'keychain_no_identities' | 'keychain_export_failed' | 'profile_no_match' | 'profile_read_failed' | 'unknown';
|
|
21
|
+
export type OnboardingErrorCategory = 'apple_api_unauthorized' | 'apple_api_forbidden' | 'apple_agreements_missing' | 'apple_api_rate_limited' | 'cert_limit_reached' | 'profile_creation_failed' | 'p8_invalid' | 'keychain_no_identities' | 'keychain_export_failed' | 'profile_no_match' | 'profile_read_failed' | 'unknown';
|
|
22
22
|
export interface ApiKeyData {
|
|
23
23
|
keyId: string;
|
|
24
24
|
issuerId: string;
|