@donotuse/eas-cli 18.5.0-rc.1
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 +2520 -0
- package/bin/dev +10 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +6 -0
- package/bin/run.cmd +3 -0
- package/build/ApiV2Error.d.ts +17 -0
- package/build/ApiV2Error.js +20 -0
- package/build/analytics/AnalyticsManager.d.ts +79 -0
- package/build/analytics/AnalyticsManager.js +189 -0
- package/build/analytics/common.d.ts +7 -0
- package/build/analytics/common.js +18 -0
- package/build/api.d.ts +23 -0
- package/build/api.js +111 -0
- package/build/branch/actions/SelectBranch.d.ts +33 -0
- package/build/branch/actions/SelectBranch.js +67 -0
- package/build/branch/delete.d.ts +5 -0
- package/build/branch/delete.js +23 -0
- package/build/branch/queries.d.ts +23 -0
- package/build/branch/queries.js +127 -0
- package/build/branch/utils.d.ts +5 -0
- package/build/branch/utils.js +13 -0
- package/build/build/android/build.d.ts +9 -0
- package/build/build/android/build.js +126 -0
- package/build/build/android/graphql.d.ts +3 -0
- package/build/build/android/graphql.js +40 -0
- package/build/build/android/prepareJob.d.ts +9 -0
- package/build/build/android/prepareJob.js +101 -0
- package/build/build/android/syncProjectConfiguration.d.ts +12 -0
- package/build/build/android/syncProjectConfiguration.js +57 -0
- package/build/build/android/version.d.ts +42 -0
- package/build/build/android/version.js +186 -0
- package/build/build/build.d.ts +32 -0
- package/build/build/build.js +530 -0
- package/build/build/configure.d.ts +27 -0
- package/build/build/configure.js +110 -0
- package/build/build/context.d.ts +64 -0
- package/build/build/context.js +2 -0
- package/build/build/createContext.d.ts +35 -0
- package/build/build/createContext.js +145 -0
- package/build/build/errors.d.ts +25 -0
- package/build/build/errors.js +40 -0
- package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +14 -0
- package/build/build/evaluateConfigWithEnvVarsAsync.js +70 -0
- package/build/build/graphql.d.ts +13 -0
- package/build/build/graphql.js +106 -0
- package/build/build/ios/build.d.ts +5 -0
- package/build/build/ios/build.js +94 -0
- package/build/build/ios/credentials.d.ts +8 -0
- package/build/build/ios/credentials.js +43 -0
- package/build/build/ios/graphql.d.ts +6 -0
- package/build/build/ios/graphql.js +49 -0
- package/build/build/ios/prepareJob.d.ts +12 -0
- package/build/build/ios/prepareJob.js +119 -0
- package/build/build/ios/syncProjectConfiguration.d.ts +13 -0
- package/build/build/ios/syncProjectConfiguration.js +35 -0
- package/build/build/ios/version.d.ts +49 -0
- package/build/build/ios/version.js +273 -0
- package/build/build/local.d.ts +28 -0
- package/build/build/local.js +100 -0
- package/build/build/metadata.d.ts +8 -0
- package/build/build/metadata.js +137 -0
- package/build/build/queries.d.ts +22 -0
- package/build/build/queries.js +135 -0
- package/build/build/runBuildAndSubmit.d.ts +44 -0
- package/build/build/runBuildAndSubmit.js +420 -0
- package/build/build/types.d.ts +34 -0
- package/build/build/types.js +20 -0
- package/build/build/utils/appJson.d.ts +6 -0
- package/build/build/utils/appJson.js +25 -0
- package/build/build/utils/credentials.d.ts +3 -0
- package/build/build/utils/credentials.js +18 -0
- package/build/build/utils/devClient.d.ts +9 -0
- package/build/build/utils/devClient.js +96 -0
- package/build/build/utils/environment.d.ts +5 -0
- package/build/build/utils/environment.js +9 -0
- package/build/build/utils/formatBuild.d.ts +4 -0
- package/build/build/utils/formatBuild.js +157 -0
- package/build/build/utils/printBuildInfo.d.ts +5 -0
- package/build/build/utils/printBuildInfo.js +127 -0
- package/build/build/utils/repository.d.ts +19 -0
- package/build/build/utils/repository.js +195 -0
- package/build/build/utils/resourceClass.d.ts +4 -0
- package/build/build/utils/resourceClass.js +52 -0
- package/build/build/utils/url.d.ts +9 -0
- package/build/build/utils/url.js +46 -0
- package/build/build/utils/version.d.ts +7 -0
- package/build/build/utils/version.js +36 -0
- package/build/build/validate.d.ts +5 -0
- package/build/build/validate.js +159 -0
- package/build/channel/actions/SelectChannel.d.ts +33 -0
- package/build/channel/actions/SelectChannel.js +67 -0
- package/build/channel/branch-mapping.d.ts +55 -0
- package/build/channel/branch-mapping.js +145 -0
- package/build/channel/delete.d.ts +5 -0
- package/build/channel/delete.js +23 -0
- package/build/channel/errors.d.ts +3 -0
- package/build/channel/errors.js +9 -0
- package/build/channel/print-utils.d.ts +7 -0
- package/build/channel/print-utils.js +57 -0
- package/build/channel/queries.d.ts +46 -0
- package/build/channel/queries.js +274 -0
- package/build/channel/utils.d.ts +13 -0
- package/build/channel/utils.js +15 -0
- package/build/commandUtils/EasCommand.d.ts +151 -0
- package/build/commandUtils/EasCommand.js +214 -0
- package/build/commandUtils/builds.d.ts +16 -0
- package/build/commandUtils/builds.js +84 -0
- package/build/commandUtils/context/AnalyticsContextField.d.ts +5 -0
- package/build/commandUtils/context/AnalyticsContextField.js +10 -0
- package/build/commandUtils/context/ContextField.d.ts +16 -0
- package/build/commandUtils/context/ContextField.js +5 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.d.ts +14 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.js +25 -0
- package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +14 -0
- package/build/commandUtils/context/DynamicProjectConfigContextField.js +84 -0
- package/build/commandUtils/context/LoggedInContextField.d.ts +15 -0
- package/build/commandUtils/context/LoggedInContextField.js +23 -0
- package/build/commandUtils/context/MaybeLoggedInContextField.d.ts +17 -0
- package/build/commandUtils/context/MaybeLoggedInContextField.js +25 -0
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.d.ts +13 -0
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +52 -0
- package/build/commandUtils/context/PrivateProjectConfigContextField.d.ts +13 -0
- package/build/commandUtils/context/PrivateProjectConfigContextField.js +39 -0
- package/build/commandUtils/context/ProjectDirContextField.d.ts +4 -0
- package/build/commandUtils/context/ProjectDirContextField.js +11 -0
- package/build/commandUtils/context/ProjectIdContextField.d.ts +4 -0
- package/build/commandUtils/context/ProjectIdContextField.js +19 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.d.ts +5 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.js +36 -0
- package/build/commandUtils/context/SessionManagementContextField.d.ts +5 -0
- package/build/commandUtils/context/SessionManagementContextField.js +10 -0
- package/build/commandUtils/context/VcsClientContextField.d.ts +7 -0
- package/build/commandUtils/context/VcsClientContextField.js +19 -0
- package/build/commandUtils/context/contextUtils/createGraphqlClient.d.ts +7 -0
- package/build/commandUtils/context/contextUtils/createGraphqlClient.js +41 -0
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.d.ts +19 -0
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +103 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +38 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +139 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +6 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +30 -0
- package/build/commandUtils/errors.d.ts +3 -0
- package/build/commandUtils/errors.js +11 -0
- package/build/commandUtils/experienceParser.d.ts +6 -0
- package/build/commandUtils/experienceParser.js +42 -0
- package/build/commandUtils/flags.d.ts +43 -0
- package/build/commandUtils/flags.js +88 -0
- package/build/commandUtils/gating/FeatureGateEnvOverrides.d.ts +7 -0
- package/build/commandUtils/gating/FeatureGateEnvOverrides.js +34 -0
- package/build/commandUtils/gating/FeatureGateKey.d.ts +4 -0
- package/build/commandUtils/gating/FeatureGateKey.js +11 -0
- package/build/commandUtils/gating/FeatureGateTestOverrides.d.ts +5 -0
- package/build/commandUtils/gating/FeatureGateTestOverrides.js +17 -0
- package/build/commandUtils/gating/FeatureGating.d.ts +16 -0
- package/build/commandUtils/gating/FeatureGating.js +61 -0
- package/build/commandUtils/new/commands.d.ts +4 -0
- package/build/commandUtils/new/commands.js +69 -0
- package/build/commandUtils/new/configs.d.ts +24 -0
- package/build/commandUtils/new/configs.js +129 -0
- package/build/commandUtils/new/projectFiles.d.ts +8 -0
- package/build/commandUtils/new/projectFiles.js +157 -0
- package/build/commandUtils/new/templates/.eas/workflows/create-development-builds.yml +21 -0
- package/build/commandUtils/new/templates/.eas/workflows/create-draft.yml +15 -0
- package/build/commandUtils/new/templates/.eas/workflows/deploy-to-production.yml +68 -0
- package/build/commandUtils/new/templates/AGENTS.md +162 -0
- package/build/commandUtils/new/templates/CLAUDE.md +9 -0
- package/build/commandUtils/new/templates/readme-additions.md +36 -0
- package/build/commandUtils/new/utils.d.ts +6 -0
- package/build/commandUtils/new/utils.js +20 -0
- package/build/commandUtils/pagination.d.ts +17 -0
- package/build/commandUtils/pagination.js +39 -0
- package/build/commandUtils/projectNameValidation.d.ts +8 -0
- package/build/commandUtils/projectNameValidation.js +30 -0
- package/build/commandUtils/usageUtils.d.ts +58 -0
- package/build/commandUtils/usageUtils.js +204 -0
- package/build/commandUtils/workflow/buildProfileUtils.d.ts +36 -0
- package/build/commandUtils/workflow/buildProfileUtils.js +209 -0
- package/build/commandUtils/workflow/creation.d.ts +20 -0
- package/build/commandUtils/workflow/creation.js +462 -0
- package/build/commandUtils/workflow/fetchLogs.d.ts +6 -0
- package/build/commandUtils/workflow/fetchLogs.js +44 -0
- package/build/commandUtils/workflow/inputs.d.ts +40 -0
- package/build/commandUtils/workflow/inputs.js +165 -0
- package/build/commandUtils/workflow/parse.d.ts +3 -0
- package/build/commandUtils/workflow/parse.js +12 -0
- package/build/commandUtils/workflow/stateMachine.d.ts +44 -0
- package/build/commandUtils/workflow/stateMachine.js +212 -0
- package/build/commandUtils/workflow/types.d.ts +40 -0
- package/build/commandUtils/workflow/types.js +13 -0
- package/build/commandUtils/workflow/utils.d.ts +33 -0
- package/build/commandUtils/workflow/utils.js +325 -0
- package/build/commandUtils/workflow/validation.d.ts +7 -0
- package/build/commandUtils/workflow/validation.js +159 -0
- package/build/commands/account/login.d.ts +14 -0
- package/build/commands/account/login.js +49 -0
- package/build/commands/account/logout.d.ts +9 -0
- package/build/commands/account/logout.js +18 -0
- package/build/commands/account/usage.d.ts +15 -0
- package/build/commands/account/usage.js +326 -0
- package/build/commands/account/view.d.ts +11 -0
- package/build/commands/account/view.js +67 -0
- package/build/commands/analytics.d.ts +8 -0
- package/build/commands/analytics.js +27 -0
- package/build/commands/branch/create.d.ts +17 -0
- package/build/commands/branch/create.js +65 -0
- package/build/commands/branch/delete.d.ts +16 -0
- package/build/commands/branch/delete.js +102 -0
- package/build/commands/branch/list.d.ts +15 -0
- package/build/commands/branch/list.js +32 -0
- package/build/commands/branch/publish.d.ts +6 -0
- package/build/commands/branch/publish.js +12 -0
- package/build/commands/branch/rename.d.ts +15 -0
- package/build/commands/branch/rename.js +99 -0
- package/build/commands/branch/view.d.ts +18 -0
- package/build/commands/branch/view.js +63 -0
- package/build/commands/build/cancel.d.ts +24 -0
- package/build/commands/build/cancel.js +131 -0
- package/build/commands/build/configure.d.ts +13 -0
- package/build/commands/build/configure.js +99 -0
- package/build/commands/build/delete.d.ts +24 -0
- package/build/commands/build/delete.js +114 -0
- package/build/commands/build/dev.d.ts +26 -0
- package/build/commands/build/dev.js +262 -0
- package/build/commands/build/download.d.ts +20 -0
- package/build/commands/build/download.js +116 -0
- package/build/commands/build/index.d.ts +39 -0
- package/build/commands/build/index.js +301 -0
- package/build/commands/build/inspect.d.ts +30 -0
- package/build/commands/build/inspect.js +153 -0
- package/build/commands/build/internal.d.ts +25 -0
- package/build/commands/build/internal.js +87 -0
- package/build/commands/build/list.d.ts +31 -0
- package/build/commands/build/list.js +157 -0
- package/build/commands/build/resign.d.ts +63 -0
- package/build/commands/build/resign.js +233 -0
- package/build/commands/build/run.d.ts +21 -0
- package/build/commands/build/run.js +191 -0
- package/build/commands/build/version/get.d.ts +18 -0
- package/build/commands/build/version/get.js +114 -0
- package/build/commands/build/version/set.d.ts +16 -0
- package/build/commands/build/version/set.js +105 -0
- package/build/commands/build/version/sync.d.ts +18 -0
- package/build/commands/build/version/sync.js +149 -0
- package/build/commands/build/view.d.ts +16 -0
- package/build/commands/build/view.js +77 -0
- package/build/commands/channel/create.d.ts +16 -0
- package/build/commands/channel/create.js +60 -0
- package/build/commands/channel/delete.d.ts +16 -0
- package/build/commands/channel/delete.js +84 -0
- package/build/commands/channel/edit.d.ts +20 -0
- package/build/commands/channel/edit.js +113 -0
- package/build/commands/channel/list.d.ts +15 -0
- package/build/commands/channel/list.js +36 -0
- package/build/commands/channel/pause.d.ts +20 -0
- package/build/commands/channel/pause.js +87 -0
- package/build/commands/channel/resume.d.ts +20 -0
- package/build/commands/channel/resume.js +87 -0
- package/build/commands/channel/rollout.d.ts +33 -0
- package/build/commands/channel/rollout.js +141 -0
- package/build/commands/channel/view.d.ts +18 -0
- package/build/commands/channel/view.js +61 -0
- package/build/commands/config.d.ts +19 -0
- package/build/commands/config.js +106 -0
- package/build/commands/credentials/configure-build.d.ts +18 -0
- package/build/commands/credentials/configure-build.js +42 -0
- package/build/commands/credentials/index.d.ts +16 -0
- package/build/commands/credentials/index.js +28 -0
- package/build/commands/deploy/alias/delete.d.ts +21 -0
- package/build/commands/deploy/alias/delete.js +101 -0
- package/build/commands/deploy/alias/index.d.ts +21 -0
- package/build/commands/deploy/alias/index.js +165 -0
- package/build/commands/deploy/alias.d.ts +21 -0
- package/build/commands/deploy/alias.js +165 -0
- package/build/commands/deploy/delete.d.ts +21 -0
- package/build/commands/deploy/delete.js +87 -0
- package/build/commands/deploy/index.d.ts +26 -0
- package/build/commands/deploy/index.js +370 -0
- package/build/commands/device/create.d.ts +9 -0
- package/build/commands/device/create.js +30 -0
- package/build/commands/device/delete.d.ts +24 -0
- package/build/commands/device/delete.js +135 -0
- package/build/commands/device/list.d.ts +16 -0
- package/build/commands/device/list.js +60 -0
- package/build/commands/device/rename.d.ts +24 -0
- package/build/commands/device/rename.js +125 -0
- package/build/commands/device/view.d.ts +12 -0
- package/build/commands/device/view.js +54 -0
- package/build/commands/diagnostics.d.ts +10 -0
- package/build/commands/diagnostics.js +61 -0
- package/build/commands/env/create.d.ts +26 -0
- package/build/commands/env/create.js +226 -0
- package/build/commands/env/delete.d.ts +19 -0
- package/build/commands/env/delete.js +115 -0
- package/build/commands/env/exec.d.ts +22 -0
- package/build/commands/env/exec.js +158 -0
- package/build/commands/env/get.d.ts +20 -0
- package/build/commands/env/get.js +130 -0
- package/build/commands/env/link.d.ts +23 -0
- package/build/commands/env/link.js +128 -0
- package/build/commands/env/list.d.ts +20 -0
- package/build/commands/env/list.js +123 -0
- package/build/commands/env/pull.d.ts +18 -0
- package/build/commands/env/pull.js +106 -0
- package/build/commands/env/push.d.ts +29 -0
- package/build/commands/env/push.js +193 -0
- package/build/commands/env/unlink.d.ts +22 -0
- package/build/commands/env/unlink.js +117 -0
- package/build/commands/env/update.d.ts +26 -0
- package/build/commands/env/update.js +229 -0
- package/build/commands/fingerprint/compare.d.ts +26 -0
- package/build/commands/fingerprint/compare.js +600 -0
- package/build/commands/fingerprint/generate.d.ts +23 -0
- package/build/commands/fingerprint/generate.js +123 -0
- package/build/commands/go.d.ts +23 -0
- package/build/commands/go.js +483 -0
- package/build/commands/metadata/lint.d.ts +12 -0
- package/build/commands/metadata/lint.js +73 -0
- package/build/commands/metadata/pull.d.ts +14 -0
- package/build/commands/metadata/pull.js +81 -0
- package/build/commands/metadata/push.d.ts +14 -0
- package/build/commands/metadata/push.js +75 -0
- package/build/commands/open.d.ts +9 -0
- package/build/commands/open.js +41 -0
- package/build/commands/project/info.d.ts +9 -0
- package/build/commands/project/info.js +45 -0
- package/build/commands/project/init.d.ts +22 -0
- package/build/commands/project/init.js +317 -0
- package/build/commands/project/new.d.ts +34 -0
- package/build/commands/project/new.js +120 -0
- package/build/commands/project/onboarding.d.ts +14 -0
- package/build/commands/project/onboarding.js +372 -0
- package/build/commands/secret/create.d.ts +20 -0
- package/build/commands/secret/create.js +187 -0
- package/build/commands/secret/delete.d.ts +14 -0
- package/build/commands/secret/delete.js +70 -0
- package/build/commands/secret/list.d.ts +10 -0
- package/build/commands/secret/list.js +38 -0
- package/build/commands/secret/push.d.ts +17 -0
- package/build/commands/secret/push.js +150 -0
- package/build/commands/submit/internal.d.ts +24 -0
- package/build/commands/submit/internal.js +167 -0
- package/build/commands/submit.d.ts +29 -0
- package/build/commands/submit.js +166 -0
- package/build/commands/update/configure.d.ts +16 -0
- package/build/commands/update/configure.js +63 -0
- package/build/commands/update/delete.d.ts +15 -0
- package/build/commands/update/delete.js +58 -0
- package/build/commands/update/edit.d.ts +18 -0
- package/build/commands/update/edit.js +138 -0
- package/build/commands/update/index.d.ts +38 -0
- package/build/commands/update/index.js +545 -0
- package/build/commands/update/list.d.ts +20 -0
- package/build/commands/update/list.js +113 -0
- package/build/commands/update/republish.d.ts +23 -0
- package/build/commands/update/republish.js +150 -0
- package/build/commands/update/revert-update-rollout.d.ts +24 -0
- package/build/commands/update/revert-update-rollout.js +263 -0
- package/build/commands/update/roll-back-to-embedded.d.ts +22 -0
- package/build/commands/update/roll-back-to-embedded.js +150 -0
- package/build/commands/update/rollback.d.ts +8 -0
- package/build/commands/update/rollback.js +39 -0
- package/build/commands/update/view.d.ts +14 -0
- package/build/commands/update/view.js +43 -0
- package/build/commands/upload.d.ts +18 -0
- package/build/commands/upload.js +367 -0
- package/build/commands/webhook/create.d.ts +16 -0
- package/build/commands/webhook/create.js +47 -0
- package/build/commands/webhook/delete.d.ts +15 -0
- package/build/commands/webhook/delete.js +102 -0
- package/build/commands/webhook/list.d.ts +14 -0
- package/build/commands/webhook/list.js +62 -0
- package/build/commands/webhook/update.d.ts +16 -0
- package/build/commands/webhook/update.js +52 -0
- package/build/commands/webhook/view.d.ts +11 -0
- package/build/commands/webhook/view.js +36 -0
- package/build/commands/worker/alias.d.ts +22 -0
- package/build/commands/worker/alias.js +169 -0
- package/build/commands/worker/deploy.d.ts +76 -0
- package/build/commands/worker/deploy.js +323 -0
- package/build/commands/workflow/cancel.d.ts +13 -0
- package/build/commands/workflow/cancel.js +81 -0
- package/build/commands/workflow/create.d.ts +17 -0
- package/build/commands/workflow/create.js +171 -0
- package/build/commands/workflow/list.d.ts +13 -0
- package/build/commands/workflow/list.js +53 -0
- package/build/commands/workflow/logs.d.ts +17 -0
- package/build/commands/workflow/logs.js +96 -0
- package/build/commands/workflow/run.d.ts +63 -0
- package/build/commands/workflow/run.js +318 -0
- package/build/commands/workflow/runs.d.ts +16 -0
- package/build/commands/workflow/runs.js +73 -0
- package/build/commands/workflow/status.d.ts +31 -0
- package/build/commands/workflow/status.js +111 -0
- package/build/commands/workflow/validate.d.ts +18 -0
- package/build/commands/workflow/validate.js +51 -0
- package/build/commands/workflow/view.d.ts +16 -0
- package/build/commands/workflow/view.js +169 -0
- package/build/credentials/android/AndroidCredentialsProvider.d.ts +23 -0
- package/build/credentials/android/AndroidCredentialsProvider.js +44 -0
- package/build/credentials/android/actions/AssignFcm.d.ts +8 -0
- package/build/credentials/android/actions/AssignFcm.js +20 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.d.ts +8 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.js +20 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.d.ts +8 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.js +20 -0
- package/build/credentials/android/actions/BuildCredentialsUtils.d.ts +20 -0
- package/build/credentials/android/actions/BuildCredentialsUtils.js +115 -0
- package/build/credentials/android/actions/CreateFcm.d.ts +7 -0
- package/build/credentials/android/actions/CreateFcm.js +30 -0
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.d.ts +9 -0
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +63 -0
- package/build/credentials/android/actions/CreateKeystore.d.ts +8 -0
- package/build/credentials/android/actions/CreateKeystore.js +34 -0
- package/build/credentials/android/actions/DownloadKeystore.d.ts +19 -0
- package/build/credentials/android/actions/DownloadKeystore.js +68 -0
- package/build/credentials/android/actions/RemoveFcm.d.ts +7 -0
- package/build/credentials/android/actions/RemoveFcm.js +34 -0
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.d.ts +12 -0
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.js +50 -0
- package/build/credentials/android/actions/RemoveKeystore.d.ts +9 -0
- package/build/credentials/android/actions/RemoveKeystore.js +45 -0
- package/build/credentials/android/actions/SetUpBuildCredentials.d.ts +33 -0
- package/build/credentials/android/actions/SetUpBuildCredentials.js +72 -0
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +8 -0
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.js +69 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.d.ts +10 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.js +60 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.d.ts +10 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.js +60 -0
- package/build/credentials/android/actions/UpdateCredentialsJson.d.ts +5 -0
- package/build/credentials/android/actions/UpdateCredentialsJson.js +14 -0
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.d.ts +7 -0
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.js +24 -0
- package/build/credentials/android/api/GraphqlClient.d.ts +41 -0
- package/build/credentials/android/api/GraphqlClient.js +151 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.d.ts +8 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +80 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.d.ts +10 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.js +112 -0
- package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.js +48 -0
- package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.js +54 -0
- package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.js +54 -0
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.d.ts +8 -0
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.js +51 -0
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +11 -0
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +69 -0
- package/build/credentials/android/credentials.d.ts +26 -0
- package/build/credentials/android/credentials.js +32 -0
- package/build/credentials/android/utils/googleServiceAccountKey.d.ts +7 -0
- package/build/credentials/android/utils/googleServiceAccountKey.js +123 -0
- package/build/credentials/android/utils/keystore.d.ts +5 -0
- package/build/credentials/android/utils/keystore.js +144 -0
- package/build/credentials/android/utils/keystoreNew.d.ts +5 -0
- package/build/credentials/android/utils/keystoreNew.js +84 -0
- package/build/credentials/android/utils/printCredentials.d.ts +8 -0
- package/build/credentials/android/utils/printCredentials.js +160 -0
- package/build/credentials/context.d.ts +50 -0
- package/build/credentials/context.js +89 -0
- package/build/credentials/credentialsJson/read.d.ts +7 -0
- package/build/credentials/credentialsJson/read.js +90 -0
- package/build/credentials/credentialsJson/types.d.ts +34 -0
- package/build/credentials/credentialsJson/types.js +26 -0
- package/build/credentials/credentialsJson/update.d.ts +14 -0
- package/build/credentials/credentialsJson/update.js +208 -0
- package/build/credentials/credentialsJson/utils.d.ts +4 -0
- package/build/credentials/credentialsJson/utils.js +26 -0
- package/build/credentials/errors.d.ts +19 -0
- package/build/credentials/errors.js +44 -0
- package/build/credentials/ios/IosCredentialsProvider.d.ts +23 -0
- package/build/credentials/ios/IosCredentialsProvider.js +132 -0
- package/build/credentials/ios/actions/AppleTeamFormatting.d.ts +2 -0
- package/build/credentials/ios/actions/AppleTeamFormatting.js +6 -0
- package/build/credentials/ios/actions/AppleTeamUtils.d.ts +4 -0
- package/build/credentials/ios/actions/AppleTeamUtils.js +12 -0
- package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +20 -0
- package/build/credentials/ios/actions/AscApiKeyUtils.js +196 -0
- package/build/credentials/ios/actions/AssignAscApiKey.d.ts +9 -0
- package/build/credentials/ios/actions/AssignAscApiKey.js +29 -0
- package/build/credentials/ios/actions/AssignPushKey.d.ts +8 -0
- package/build/credentials/ios/actions/AssignPushKey.js +22 -0
- package/build/credentials/ios/actions/BuildCredentialsUtils.d.ts +11 -0
- package/build/credentials/ios/actions/BuildCredentialsUtils.js +63 -0
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.d.ts +14 -0
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +81 -0
- package/build/credentials/ios/actions/CreateAscApiKey.d.ts +8 -0
- package/build/credentials/ios/actions/CreateAscApiKey.js +18 -0
- package/build/credentials/ios/actions/CreateDistributionCertificate.d.ts +8 -0
- package/build/credentials/ios/actions/CreateDistributionCertificate.js +19 -0
- package/build/credentials/ios/actions/CreateProvisioningProfile.d.ts +14 -0
- package/build/credentials/ios/actions/CreateProvisioningProfile.js +72 -0
- package/build/credentials/ios/actions/CreatePushKey.d.ts +7 -0
- package/build/credentials/ios/actions/CreatePushKey.js +22 -0
- package/build/credentials/ios/actions/DeviceUtils.d.ts +3 -0
- package/build/credentials/ios/actions/DeviceUtils.js +40 -0
- package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +14 -0
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +192 -0
- package/build/credentials/ios/actions/ProvisioningProfileUtils.d.ts +5 -0
- package/build/credentials/ios/actions/ProvisioningProfileUtils.js +22 -0
- package/build/credentials/ios/actions/PushKeyUtils.d.ts +11 -0
- package/build/credentials/ios/actions/PushKeyUtils.js +175 -0
- package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +12 -0
- package/build/credentials/ios/actions/RemoveAscApiKey.js +56 -0
- package/build/credentials/ios/actions/RemoveDistributionCertificate.d.ts +14 -0
- package/build/credentials/ios/actions/RemoveDistributionCertificate.js +88 -0
- package/build/credentials/ios/actions/RemoveProvisioningProfile.d.ts +9 -0
- package/build/credentials/ios/actions/RemoveProvisioningProfile.js +27 -0
- package/build/credentials/ios/actions/RemovePushKey.d.ts +12 -0
- package/build/credentials/ios/actions/RemovePushKey.js +64 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.d.ts +21 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +254 -0
- package/build/credentials/ios/actions/SetUpAscApiKey.d.ts +21 -0
- package/build/credentials/ios/actions/SetUpAscApiKey.js +122 -0
- package/build/credentials/ios/actions/SetUpBuildCredentials.d.ts +15 -0
- package/build/credentials/ios/actions/SetUpBuildCredentials.js +76 -0
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +11 -0
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.js +49 -0
- package/build/credentials/ios/actions/SetUpDistributionCertificate.d.ts +17 -0
- package/build/credentials/ios/actions/SetUpDistributionCertificate.js +144 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.d.ts +24 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +94 -0
- package/build/credentials/ios/actions/SetUpProvisioningProfile.d.ts +19 -0
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +102 -0
- package/build/credentials/ios/actions/SetUpPushKey.d.ts +10 -0
- package/build/credentials/ios/actions/SetUpPushKey.js +83 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +20 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +55 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.d.ts +14 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.js +112 -0
- package/build/credentials/ios/actions/UpdateCredentialsJson.d.ts +10 -0
- package/build/credentials/ios/actions/UpdateCredentialsJson.js +22 -0
- package/build/credentials/ios/api/GraphqlClient.d.ts +60 -0
- package/build/credentials/ios/api/GraphqlClient.js +300 -0
- package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.js +54 -0
- package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.d.ts +5 -0
- package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.js +37 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +70 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.d.ts +5 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.js +35 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.d.ts +9 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.js +60 -0
- package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.d.ts +13 -0
- package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.js +91 -0
- package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.js +51 -0
- package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.js +51 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.js +87 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.js +84 -0
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +69 -0
- package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.d.ts +5 -0
- package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.js +37 -0
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +27 -0
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +145 -0
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.d.ts +15 -0
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +119 -0
- package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.d.ts +15 -0
- package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +72 -0
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +69 -0
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.d.ts +6 -0
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +52 -0
- package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.d.ts +8 -0
- package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.js +46 -0
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.js +77 -0
- package/build/credentials/ios/api/graphql/types/AppLookupParams.d.ts +7 -0
- package/build/credentials/ios/api/graphql/types/AppLookupParams.js +2 -0
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +33 -0
- package/build/credentials/ios/appstore/AppStoreApi.js +106 -0
- package/build/credentials/ios/appstore/Credentials.d.ts +9 -0
- package/build/credentials/ios/appstore/Credentials.js +35 -0
- package/build/credentials/ios/appstore/Credentials.types.d.ts +60 -0
- package/build/credentials/ios/appstore/Credentials.types.js +2 -0
- package/build/credentials/ios/appstore/CredentialsUtils.d.ts +18 -0
- package/build/credentials/ios/appstore/CredentialsUtils.js +78 -0
- package/build/credentials/ios/appstore/ascApiKey.d.ts +36 -0
- package/build/credentials/ios/appstore/ascApiKey.js +172 -0
- package/build/credentials/ios/appstore/authenticate.d.ts +20 -0
- package/build/credentials/ios/appstore/authenticate.js +171 -0
- package/build/credentials/ios/appstore/authenticateTypes.d.ts +41 -0
- package/build/credentials/ios/appstore/authenticateTypes.js +16 -0
- package/build/credentials/ios/appstore/bundleId.d.ts +3 -0
- package/build/credentials/ios/appstore/bundleId.js +43 -0
- package/build/credentials/ios/appstore/bundleIdCapabilities.d.ts +27 -0
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +148 -0
- package/build/credentials/ios/appstore/capabilityIdentifiers.d.ts +18 -0
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +109 -0
- package/build/credentials/ios/appstore/capabilityList.d.ts +32 -0
- package/build/credentials/ios/appstore/capabilityList.js +656 -0
- package/build/credentials/ios/appstore/constants.d.ts +1 -0
- package/build/credentials/ios/appstore/constants.js +6 -0
- package/build/credentials/ios/appstore/contractMessages.d.ts +7 -0
- package/build/credentials/ios/appstore/contractMessages.js +101 -0
- package/build/credentials/ios/appstore/distributionCertificate.d.ts +14 -0
- package/build/credentials/ios/appstore/distributionCertificate.js +111 -0
- package/build/credentials/ios/appstore/ensureAppExists.d.ts +53 -0
- package/build/credentials/ios/appstore/ensureAppExists.js +247 -0
- package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +6 -0
- package/build/credentials/ios/appstore/ensureTestFlightGroup.js +175 -0
- package/build/credentials/ios/appstore/keychain.d.ts +10 -0
- package/build/credentials/ios/appstore/keychain.js +67 -0
- package/build/credentials/ios/appstore/provisioningProfile.d.ts +11 -0
- package/build/credentials/ios/appstore/provisioningProfile.js +181 -0
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.d.ts +4 -0
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +192 -0
- package/build/credentials/ios/appstore/pushKey.d.ts +18 -0
- package/build/credentials/ios/appstore/pushKey.js +82 -0
- package/build/credentials/ios/appstore/resolveCredentials.d.ts +19 -0
- package/build/credentials/ios/appstore/resolveCredentials.js +256 -0
- package/build/credentials/ios/credentials.d.ts +57 -0
- package/build/credentials/ios/credentials.js +105 -0
- package/build/credentials/ios/errors.d.ts +3 -0
- package/build/credentials/ios/errors.js +9 -0
- package/build/credentials/ios/types.d.ts +28 -0
- package/build/credentials/ios/types.js +37 -0
- package/build/credentials/ios/utils/authType.d.ts +3 -0
- package/build/credentials/ios/utils/authType.js +7 -0
- package/build/credentials/ios/utils/convertHTMLToASCII.d.ts +4 -0
- package/build/credentials/ios/utils/convertHTMLToASCII.js +58 -0
- package/build/credentials/ios/utils/p12Certificate.d.ts +4 -0
- package/build/credentials/ios/utils/p12Certificate.js +59 -0
- package/build/credentials/ios/utils/printCredentials.d.ts +5 -0
- package/build/credentials/ios/utils/printCredentials.js +251 -0
- package/build/credentials/ios/utils/provisioningProfile.d.ts +11 -0
- package/build/credentials/ios/utils/provisioningProfile.js +41 -0
- package/build/credentials/ios/validators/validateAscApiKey.d.ts +5 -0
- package/build/credentials/ios/validators/validateAscApiKey.js +20 -0
- package/build/credentials/ios/validators/validateDistributionCertificate.d.ts +3 -0
- package/build/credentials/ios/validators/validateDistributionCertificate.js +9 -0
- package/build/credentials/ios/validators/validateProvisioningProfile.d.ts +5 -0
- package/build/credentials/ios/validators/validateProvisioningProfile.js +114 -0
- package/build/credentials/ios/validators/validatePushKey.d.ts +3 -0
- package/build/credentials/ios/validators/validatePushKey.js +9 -0
- package/build/credentials/manager/Actions.d.ts +62 -0
- package/build/credentials/manager/Actions.js +63 -0
- package/build/credentials/manager/AndroidActions.d.ts +8 -0
- package/build/credentials/manager/AndroidActions.js +158 -0
- package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.d.ts +10 -0
- package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.js +38 -0
- package/build/credentials/manager/CreateAndroidBuildCredentials.d.ts +8 -0
- package/build/credentials/manager/CreateAndroidBuildCredentials.js +34 -0
- package/build/credentials/manager/HelperActions.d.ts +18 -0
- package/build/credentials/manager/HelperActions.js +15 -0
- package/build/credentials/manager/IosActions.d.ts +7 -0
- package/build/credentials/manager/IosActions.js +150 -0
- package/build/credentials/manager/ManageAndroid.d.ts +14 -0
- package/build/credentials/manager/ManageAndroid.js +223 -0
- package/build/credentials/manager/ManageIos.d.ts +22 -0
- package/build/credentials/manager/ManageIos.js +338 -0
- package/build/credentials/manager/SelectAndroidBuildCredentials.d.ts +27 -0
- package/build/credentials/manager/SelectAndroidBuildCredentials.js +98 -0
- package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +9 -0
- package/build/credentials/manager/SelectBuildProfileFromEasJson.js +38 -0
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.d.ts +10 -0
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +63 -0
- package/build/credentials/manager/SelectPlatform.d.ts +17 -0
- package/build/credentials/manager/SelectPlatform.js +33 -0
- package/build/credentials/manager/SetDefaultAndroidKeystore.d.ts +8 -0
- package/build/credentials/manager/SetDefaultAndroidKeystore.js +42 -0
- package/build/credentials/manager/SetUpAndroidBuildCredentials.d.ts +7 -0
- package/build/credentials/manager/SetUpAndroidBuildCredentials.js +49 -0
- package/build/credentials/manager/SetUpBuildCredentialsCommandAction.d.ts +20 -0
- package/build/credentials/manager/SetUpBuildCredentialsCommandAction.js +36 -0
- package/build/credentials/manager/SetUpIosBuildCredentials.d.ts +7 -0
- package/build/credentials/manager/SetUpIosBuildCredentials.js +59 -0
- package/build/credentials/utils/promptForCredentials.d.ts +17 -0
- package/build/credentials/utils/promptForCredentials.js +107 -0
- package/build/devices/actions/create/action.d.ts +19 -0
- package/build/devices/actions/create/action.js +81 -0
- package/build/devices/actions/create/currentMachineMethod.d.ts +3 -0
- package/build/devices/actions/create/currentMachineMethod.js +98 -0
- package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
- package/build/devices/actions/create/developerPortalMethod.js +89 -0
- package/build/devices/actions/create/inputMethod.d.ts +3 -0
- package/build/devices/actions/create/inputMethod.js +62 -0
- package/build/devices/actions/create/registrationUrlMethod.d.ts +3 -0
- package/build/devices/actions/create/registrationUrlMethod.js +27 -0
- package/build/devices/actions/create/utils.d.ts +10 -0
- package/build/devices/actions/create/utils.js +72 -0
- package/build/devices/context.d.ts +15 -0
- package/build/devices/context.js +11 -0
- package/build/devices/manager.d.ts +19 -0
- package/build/devices/manager.js +82 -0
- package/build/devices/queries.d.ts +22 -0
- package/build/devices/queries.js +145 -0
- package/build/devices/udids.d.ts +2 -0
- package/build/devices/udids.js +27 -0
- package/build/devices/utils/errors.d.ts +6 -0
- package/build/devices/utils/errors.js +15 -0
- package/build/devices/utils/formatDevice.d.ts +7 -0
- package/build/devices/utils/formatDevice.js +49 -0
- package/build/eas-update/utils.d.ts +18 -0
- package/build/eas-update/utils.js +6 -0
- package/build/easMultiselect.d.ts +24 -0
- package/build/easMultiselect.js +50 -0
- package/build/env.d.ts +24 -0
- package/build/env.js +25 -0
- package/build/fetch.d.ts +9 -0
- package/build/fetch.js +36 -0
- package/build/fingerprint/cli.d.ts +29 -0
- package/build/fingerprint/cli.js +126 -0
- package/build/fingerprint/diff.d.ts +33 -0
- package/build/fingerprint/diff.js +122 -0
- package/build/fingerprint/types.d.ts +96 -0
- package/build/fingerprint/types.js +5 -0
- package/build/fingerprint/utils.d.ts +11 -0
- package/build/fingerprint/utils.js +92 -0
- package/build/graphql/client.d.ts +3 -0
- package/build/graphql/client.js +27 -0
- package/build/graphql/generated.d.ts +19152 -0
- package/build/graphql/generated.js +1079 -0
- package/build/graphql/mutations/AppMutation.d.ts +7 -0
- package/build/graphql/mutations/AppMutation.js +27 -0
- package/build/graphql/mutations/AppVersionMutation.d.ts +12 -0
- package/build/graphql/mutations/AppVersionMutation.js +27 -0
- package/build/graphql/mutations/BuildMutation.d.ts +28 -0
- package/build/graphql/mutations/BuildMutation.js +107 -0
- package/build/graphql/mutations/EnvironmentSecretMutation.d.ts +17 -0
- package/build/graphql/mutations/EnvironmentSecretMutation.js +65 -0
- package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +11 -0
- package/build/graphql/mutations/EnvironmentVariableMutation.js +98 -0
- package/build/graphql/mutations/FingerprintMutation.d.ts +8 -0
- package/build/graphql/mutations/FingerprintMutation.js +29 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.d.ts +4 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +23 -0
- package/build/graphql/mutations/LocalBuildMutation.d.ts +5 -0
- package/build/graphql/mutations/LocalBuildMutation.js +38 -0
- package/build/graphql/mutations/PublishMutation.d.ts +8 -0
- package/build/graphql/mutations/PublishMutation.js +85 -0
- package/build/graphql/mutations/SubmissionMutation.d.ts +6 -0
- package/build/graphql/mutations/SubmissionMutation.js +71 -0
- package/build/graphql/mutations/UploadSessionMutation.d.ts +14 -0
- package/build/graphql/mutations/UploadSessionMutation.js +41 -0
- package/build/graphql/mutations/UserPreferencesMutation.d.ts +10 -0
- package/build/graphql/mutations/UserPreferencesMutation.js +41 -0
- package/build/graphql/mutations/WebhookMutation.d.ts +7 -0
- package/build/graphql/mutations/WebhookMutation.js +55 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +21 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.js +59 -0
- package/build/graphql/mutations/WorkflowRunMutation.d.ts +27 -0
- package/build/graphql/mutations/WorkflowRunMutation.js +98 -0
- package/build/graphql/queries/AccountQuery.d.ts +15 -0
- package/build/graphql/queries/AccountQuery.js +197 -0
- package/build/graphql/queries/AppQuery.d.ts +8 -0
- package/build/graphql/queries/AppQuery.js +106 -0
- package/build/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +8 -0
- package/build/graphql/queries/AppStoreConnectApiKeyQuery.js +32 -0
- package/build/graphql/queries/AppVersionQuery.d.ts +5 -0
- package/build/graphql/queries/AppVersionQuery.js +32 -0
- package/build/graphql/queries/AssetQuery.d.ts +5 -0
- package/build/graphql/queries/AssetQuery.js +27 -0
- package/build/graphql/queries/BackgroundJobReceiptQuery.d.ts +5 -0
- package/build/graphql/queries/BackgroundJobReceiptQuery.js +28 -0
- package/build/graphql/queries/BranchQuery.d.ts +23 -0
- package/build/graphql/queries/BranchQuery.js +190 -0
- package/build/graphql/queries/BuildQuery.d.ts +14 -0
- package/build/graphql/queries/BuildQuery.js +95 -0
- package/build/graphql/queries/ChannelQuery.d.ts +14 -0
- package/build/graphql/queries/ChannelQuery.js +156 -0
- package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +16 -0
- package/build/graphql/queries/EnvironmentSecretsQuery.js +51 -0
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +36 -0
- package/build/graphql/queries/EnvironmentVariablesQuery.js +144 -0
- package/build/graphql/queries/FingerprintQuery.d.ts +16 -0
- package/build/graphql/queries/FingerprintQuery.js +61 -0
- package/build/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +6 -0
- package/build/graphql/queries/GoogleServiceAccountKeyQuery.js +25 -0
- package/build/graphql/queries/PublishQuery.d.ts +6 -0
- package/build/graphql/queries/PublishQuery.js +45 -0
- package/build/graphql/queries/RuntimeQuery.d.ts +6 -0
- package/build/graphql/queries/RuntimeQuery.js +70 -0
- package/build/graphql/queries/StatuspageServiceQuery.d.ts +5 -0
- package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
- package/build/graphql/queries/SubmissionQuery.d.ts +15 -0
- package/build/graphql/queries/SubmissionQuery.js +58 -0
- package/build/graphql/queries/UpdateQuery.d.ts +8 -0
- package/build/graphql/queries/UpdateQuery.js +115 -0
- package/build/graphql/queries/UserQuery.d.ts +5 -0
- package/build/graphql/queries/UserQuery.js +58 -0
- package/build/graphql/queries/WebhookQuery.d.ts +6 -0
- package/build/graphql/queries/WebhookQuery.js +49 -0
- package/build/graphql/queries/WorkflowJobQuery.d.ts +7 -0
- package/build/graphql/queries/WorkflowJobQuery.js +29 -0
- package/build/graphql/queries/WorkflowRunQuery.d.ts +11 -0
- package/build/graphql/queries/WorkflowRunQuery.js +100 -0
- package/build/graphql/types/Account.d.ts +12 -0
- package/build/graphql/types/Account.js +162 -0
- package/build/graphql/types/App.d.ts +1 -0
- package/build/graphql/types/App.js +27 -0
- package/build/graphql/types/AppPlatform.d.ts +4 -0
- package/build/graphql/types/AppPlatform.js +25 -0
- package/build/graphql/types/BackgroundJobReceipt.d.ts +1 -0
- package/build/graphql/types/BackgroundJobReceipt.js +20 -0
- package/build/graphql/types/Build.d.ts +3 -0
- package/build/graphql/types/Build.js +99 -0
- package/build/graphql/types/EnvironmentSecret.d.ts +8 -0
- package/build/graphql/types/EnvironmentSecret.js +27 -0
- package/build/graphql/types/EnvironmentVariable.d.ts +1 -0
- package/build/graphql/types/EnvironmentVariable.js +18 -0
- package/build/graphql/types/EnvironmentVariableWithSecret.d.ts +1 -0
- package/build/graphql/types/EnvironmentVariableWithSecret.js +18 -0
- package/build/graphql/types/Fingerprint.d.ts +1 -0
- package/build/graphql/types/Fingerprint.js +30 -0
- package/build/graphql/types/Runtime.d.ts +1 -0
- package/build/graphql/types/Runtime.js +11 -0
- package/build/graphql/types/StatuspageService.d.ts +1 -0
- package/build/graphql/types/StatuspageService.js +19 -0
- package/build/graphql/types/Submission.d.ts +1 -0
- package/build/graphql/types/Submission.js +36 -0
- package/build/graphql/types/Update.d.ts +1 -0
- package/build/graphql/types/Update.js +60 -0
- package/build/graphql/types/UpdateBranch.d.ts +1 -0
- package/build/graphql/types/UpdateBranch.js +20 -0
- package/build/graphql/types/UpdateBranchBasicInfo.d.ts +1 -0
- package/build/graphql/types/UpdateBranchBasicInfo.js +11 -0
- package/build/graphql/types/UpdateChannelBasicInfo.d.ts +1 -0
- package/build/graphql/types/UpdateChannelBasicInfo.js +12 -0
- package/build/graphql/types/Webhook.d.ts +1 -0
- package/build/graphql/types/Webhook.js +14 -0
- package/build/graphql/types/Workflow.d.ts +1 -0
- package/build/graphql/types/Workflow.js +25 -0
- package/build/graphql/types/WorkflowJob.d.ts +1 -0
- package/build/graphql/types/WorkflowJob.js +46 -0
- package/build/graphql/types/WorkflowRun.d.ts +1 -0
- package/build/graphql/types/WorkflowRun.js +38 -0
- package/build/graphql/types/credentials/AndroidAppBuildCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidAppBuildCredentials.js +20 -0
- package/build/graphql/types/credentials/AndroidAppCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidAppCredentials.js +40 -0
- package/build/graphql/types/credentials/AndroidFcm.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidFcm.js +26 -0
- package/build/graphql/types/credentials/AndroidKeystore.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidKeystore.js +20 -0
- package/build/graphql/types/credentials/AppStoreConnectApiKey.d.ts +1 -0
- package/build/graphql/types/credentials/AppStoreConnectApiKey.js +23 -0
- package/build/graphql/types/credentials/AppleAppIdentifier.d.ts +1 -0
- package/build/graphql/types/credentials/AppleAppIdentifier.js +11 -0
- package/build/graphql/types/credentials/AppleDevice.d.ts +3 -0
- package/build/graphql/types/credentials/AppleDevice.js +22 -0
- package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.d.ts +1 -0
- package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.js +10 -0
- package/build/graphql/types/credentials/AppleDistributionCertificate.d.ts +1 -0
- package/build/graphql/types/credentials/AppleDistributionCertificate.js +48 -0
- package/build/graphql/types/credentials/AppleProvisioningProfile.d.ts +2 -0
- package/build/graphql/types/credentials/AppleProvisioningProfile.js +34 -0
- package/build/graphql/types/credentials/ApplePushKey.d.ts +1 -0
- package/build/graphql/types/credentials/ApplePushKey.js +34 -0
- package/build/graphql/types/credentials/AppleTeam.d.ts +1 -0
- package/build/graphql/types/credentials/AppleTeam.js +12 -0
- package/build/graphql/types/credentials/GoogleServiceAccountKey.d.ts +1 -0
- package/build/graphql/types/credentials/GoogleServiceAccountKey.js +16 -0
- package/build/graphql/types/credentials/IosAppBuildCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/IosAppBuildCredentials.js +24 -0
- package/build/graphql/types/credentials/IosAppCredentials.d.ts +2 -0
- package/build/graphql/types/credentials/IosAppCredentials.js +53 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +5 -0
- package/build/log.d.ts +46 -0
- package/build/log.js +113 -0
- package/build/metadata/apple/config/reader.d.ts +26 -0
- package/build/metadata/apple/config/reader.js +166 -0
- package/build/metadata/apple/config/writer.d.ts +24 -0
- package/build/metadata/apple/config/writer.js +153 -0
- package/build/metadata/apple/data.d.ts +20 -0
- package/build/metadata/apple/data.js +2 -0
- package/build/metadata/apple/rules/index.d.ts +1 -0
- package/build/metadata/apple/rules/index.js +6 -0
- package/build/metadata/apple/rules/infoKeywordLength.d.ts +6 -0
- package/build/metadata/apple/rules/infoKeywordLength.js +33 -0
- package/build/metadata/apple/rules/infoRestrictedWords.d.ts +6 -0
- package/build/metadata/apple/rules/infoRestrictedWords.js +55 -0
- package/build/metadata/apple/task.d.ts +24 -0
- package/build/metadata/apple/task.js +6 -0
- package/build/metadata/apple/tasks/age-rating.d.ts +12 -0
- package/build/metadata/apple/tasks/age-rating.js +35 -0
- package/build/metadata/apple/tasks/app-info.d.ts +14 -0
- package/build/metadata/apple/tasks/app-info.js +81 -0
- package/build/metadata/apple/tasks/app-review-detail.d.ts +13 -0
- package/build/metadata/apple/tasks/app-review-detail.js +45 -0
- package/build/metadata/apple/tasks/app-version.d.ts +30 -0
- package/build/metadata/apple/tasks/app-version.js +216 -0
- package/build/metadata/apple/tasks/index.d.ts +10 -0
- package/build/metadata/apple/tasks/index.js +18 -0
- package/build/metadata/apple/types.d.ts +43 -0
- package/build/metadata/apple/types.js +2 -0
- package/build/metadata/auth.d.ts +20 -0
- package/build/metadata/auth.js +31 -0
- package/build/metadata/config/issue.d.ts +21 -0
- package/build/metadata/config/issue.js +9 -0
- package/build/metadata/config/resolve.d.ts +27 -0
- package/build/metadata/config/resolve.js +74 -0
- package/build/metadata/config/schema.d.ts +7 -0
- package/build/metadata/config/schema.js +2 -0
- package/build/metadata/config/validate.d.ts +3 -0
- package/build/metadata/config/validate.js +44 -0
- package/build/metadata/download.d.ts +15 -0
- package/build/metadata/download.js +70 -0
- package/build/metadata/errors.d.ts +42 -0
- package/build/metadata/errors.js +92 -0
- package/build/metadata/upload.d.ts +17 -0
- package/build/metadata/upload.js +73 -0
- package/build/metadata/utils/ajv.d.ts +10 -0
- package/build/metadata/utils/ajv.js +29 -0
- package/build/metadata/utils/asc.d.ts +3 -0
- package/build/metadata/utils/asc.js +2 -0
- package/build/metadata/utils/date.d.ts +12 -0
- package/build/metadata/utils/date.js +29 -0
- package/build/metadata/utils/log.d.ts +16 -0
- package/build/metadata/utils/log.js +22 -0
- package/build/metadata/utils/retry.d.ts +8 -0
- package/build/metadata/utils/retry.js +20 -0
- package/build/metadata/utils/telemetry.d.ts +19 -0
- package/build/metadata/utils/telemetry.js +82 -0
- package/build/onboarding/git.d.ts +16 -0
- package/build/onboarding/git.js +88 -0
- package/build/onboarding/installDependencies.d.ts +8 -0
- package/build/onboarding/installDependencies.js +27 -0
- package/build/onboarding/runCommand.d.ts +9 -0
- package/build/onboarding/runCommand.js +68 -0
- package/build/ora.d.ts +9 -0
- package/build/ora.js +101 -0
- package/build/platform.d.ts +17 -0
- package/build/platform.js +90 -0
- package/build/project/android/applicationId.d.ts +20 -0
- package/build/project/android/applicationId.js +152 -0
- package/build/project/android/gradle.d.ts +9 -0
- package/build/project/android/gradle.js +41 -0
- package/build/project/android/gradleUtils.d.ts +42 -0
- package/build/project/android/gradleUtils.js +85 -0
- package/build/project/android/versions.d.ts +3 -0
- package/build/project/android/versions.js +23 -0
- package/build/project/applicationIdentifier.d.ts +16 -0
- package/build/project/applicationIdentifier.js +55 -0
- package/build/project/customBuildConfig.d.ts +13 -0
- package/build/project/customBuildConfig.js +49 -0
- package/build/project/discourageExpoGoForProdAsync.d.ts +4 -0
- package/build/project/discourageExpoGoForProdAsync.js +46 -0
- package/build/project/expoConfig.d.ts +19 -0
- package/build/project/expoConfig.js +108 -0
- package/build/project/expoSdk.d.ts +3 -0
- package/build/project/expoSdk.js +29 -0
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.d.ts +21 -0
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +86 -0
- package/build/project/ios/bundleIdentifier.d.ts +22 -0
- package/build/project/ios/bundleIdentifier.js +151 -0
- package/build/project/ios/entitlements.d.ts +9 -0
- package/build/project/ios/entitlements.js +61 -0
- package/build/project/ios/exemptEncryption.d.ts +7 -0
- package/build/project/ios/exemptEncryption.js +81 -0
- package/build/project/ios/scheme.d.ts +18 -0
- package/build/project/ios/scheme.js +69 -0
- package/build/project/ios/target.d.ts +38 -0
- package/build/project/ios/target.js +230 -0
- package/build/project/ios/versions.d.ts +3 -0
- package/build/project/ios/versions.js +17 -0
- package/build/project/maybeUploadAssetMapAsync.d.ts +3 -0
- package/build/project/maybeUploadAssetMapAsync.js +39 -0
- package/build/project/maybeUploadFingerprintAsync.d.ts +15 -0
- package/build/project/maybeUploadFingerprintAsync.js +51 -0
- package/build/project/metroConfig.d.ts +3 -0
- package/build/project/metroConfig.js +71 -0
- package/build/project/projectUtils.d.ts +26 -0
- package/build/project/projectUtils.js +134 -0
- package/build/project/publish.d.ts +233 -0
- package/build/project/publish.js +681 -0
- package/build/project/remoteVersionSource.d.ts +17 -0
- package/build/project/remoteVersionSource.js +153 -0
- package/build/project/resolveRuntimeVersionAsync.d.ts +31 -0
- package/build/project/resolveRuntimeVersionAsync.js +51 -0
- package/build/project/uploadAccountScopedFileAsync.d.ts +14 -0
- package/build/project/uploadAccountScopedFileAsync.js +34 -0
- package/build/project/uploadAccountScopedProjectSourceAsync.d.ts +13 -0
- package/build/project/uploadAccountScopedProjectSourceAsync.js +43 -0
- package/build/project/workflow.d.ts +5 -0
- package/build/project/workflow.js +50 -0
- package/build/prompts.d.ts +22 -0
- package/build/prompts.js +76 -0
- package/build/rollout/actions/CreateRollout.d.ts +24 -0
- package/build/rollout/actions/CreateRollout.js +239 -0
- package/build/rollout/actions/EditRollout.d.ts +16 -0
- package/build/rollout/actions/EditRollout.js +83 -0
- package/build/rollout/actions/EndRollout.d.ts +25 -0
- package/build/rollout/actions/EndRollout.js +165 -0
- package/build/rollout/actions/ManageRollout.d.ts +24 -0
- package/build/rollout/actions/ManageRollout.js +90 -0
- package/build/rollout/actions/NonInteractiveRollout.d.ts +23 -0
- package/build/rollout/actions/NonInteractiveRollout.js +115 -0
- package/build/rollout/actions/RolloutMainMenu.d.ts +27 -0
- package/build/rollout/actions/RolloutMainMenu.js +122 -0
- package/build/rollout/actions/SelectRollout.d.ts +8 -0
- package/build/rollout/actions/SelectRollout.js +33 -0
- package/build/rollout/actions/SelectRuntime.d.ts +19 -0
- package/build/rollout/actions/SelectRuntime.js +160 -0
- package/build/rollout/branch-mapping.d.ts +128 -0
- package/build/rollout/branch-mapping.js +271 -0
- package/build/rollout/utils.d.ts +10 -0
- package/build/rollout/utils.js +91 -0
- package/build/run/android/aapt.d.ts +5 -0
- package/build/run/android/aapt.js +50 -0
- package/build/run/android/adb.d.ts +23 -0
- package/build/run/android/adb.js +116 -0
- package/build/run/android/emulator.d.ts +7 -0
- package/build/run/android/emulator.js +109 -0
- package/build/run/android/run.d.ts +1 -0
- package/build/run/android/run.js +15 -0
- package/build/run/android/sdk.d.ts +2 -0
- package/build/run/android/sdk.js +29 -0
- package/build/run/android/systemRequirements.d.ts +1 -0
- package/build/run/android/systemRequirements.js +23 -0
- package/build/run/ios/run.d.ts +1 -0
- package/build/run/ios/run.js +30 -0
- package/build/run/ios/simctl.d.ts +2 -0
- package/build/run/ios/simctl.js +7 -0
- package/build/run/ios/simulator.d.ts +21 -0
- package/build/run/ios/simulator.js +160 -0
- package/build/run/ios/systemRequirements.d.ts +1 -0
- package/build/run/ios/systemRequirements.js +81 -0
- package/build/run/ios/xcode.d.ts +19 -0
- package/build/run/ios/xcode.js +63 -0
- package/build/run/ios/xcrun.d.ts +4 -0
- package/build/run/ios/xcrun.js +66 -0
- package/build/run/run.d.ts +9 -0
- package/build/run/run.js +21 -0
- package/build/run/utils.d.ts +2 -0
- package/build/run/utils.js +17 -0
- package/build/submit/ArchiveSource.d.ts +58 -0
- package/build/submit/ArchiveSource.js +412 -0
- package/build/submit/BaseSubmitter.d.ts +36 -0
- package/build/submit/BaseSubmitter.js +88 -0
- package/build/submit/android/AndroidSubmitCommand.d.ts +14 -0
- package/build/submit/android/AndroidSubmitCommand.js +125 -0
- package/build/submit/android/AndroidSubmitter.d.ts +23 -0
- package/build/submit/android/AndroidSubmitter.js +110 -0
- package/build/submit/android/ServiceAccountSource.d.ts +41 -0
- package/build/submit/android/ServiceAccountSource.js +120 -0
- package/build/submit/commons.d.ts +5 -0
- package/build/submit/commons.js +64 -0
- package/build/submit/context.d.ts +56 -0
- package/build/submit/context.js +53 -0
- package/build/submit/ios/AppProduce.d.ts +7 -0
- package/build/submit/ios/AppProduce.js +77 -0
- package/build/submit/ios/AppSpecificPasswordSource.d.ts +20 -0
- package/build/submit/ios/AppSpecificPasswordSource.js +57 -0
- package/build/submit/ios/AscApiKeySource.d.ts +39 -0
- package/build/submit/ios/AscApiKeySource.js +115 -0
- package/build/submit/ios/IosSubmitCommand.d.ts +14 -0
- package/build/submit/ios/IosSubmitCommand.js +156 -0
- package/build/submit/ios/IosSubmitter.d.ts +31 -0
- package/build/submit/ios/IosSubmitter.js +141 -0
- package/build/submit/ios/utils/language.d.ts +9 -0
- package/build/submit/ios/utils/language.js +244 -0
- package/build/submit/submit.d.ts +9 -0
- package/build/submit/submit.js +81 -0
- package/build/submit/utils/builds.d.ts +5 -0
- package/build/submit/utils/builds.js +29 -0
- package/build/submit/utils/errors.d.ts +5 -0
- package/build/submit/utils/errors.js +23 -0
- package/build/submit/utils/files.d.ts +3 -0
- package/build/submit/utils/files.js +27 -0
- package/build/submit/utils/logs.d.ts +5 -0
- package/build/submit/utils/logs.js +68 -0
- package/build/submit/utils/summary.d.ts +8 -0
- package/build/submit/utils/summary.js +60 -0
- package/build/submit/utils/urls.d.ts +3 -0
- package/build/submit/utils/urls.js +24 -0
- package/build/submit/utils/wait.d.ts +3 -0
- package/build/submit/utils/wait.js +113 -0
- package/build/update/android/UpdatesModule.d.ts +12 -0
- package/build/update/android/UpdatesModule.js +53 -0
- package/build/update/configure.d.ts +36 -0
- package/build/update/configure.js +292 -0
- package/build/update/delete.d.ts +5 -0
- package/build/update/delete.js +23 -0
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.d.ts +5 -0
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +45 -0
- package/build/update/ios/UpdatesModule.d.ts +11 -0
- package/build/update/ios/UpdatesModule.js +41 -0
- package/build/update/queries.d.ts +33 -0
- package/build/update/queries.js +232 -0
- package/build/update/republish.d.ts +56 -0
- package/build/update/republish.js +416 -0
- package/build/update/roll-back-to-embedded.d.ts +18 -0
- package/build/update/roll-back-to-embedded.js +118 -0
- package/build/update/utils.d.ts +64 -0
- package/build/update/utils.js +267 -0
- package/build/uploads.d.ts +16 -0
- package/build/uploads.js +100 -0
- package/build/user/SessionManager.d.ts +76 -0
- package/build/user/SessionManager.js +268 -0
- package/build/user/User.d.ts +9 -0
- package/build/user/User.js +34 -0
- package/build/user/UserSettings.d.ts +10 -0
- package/build/user/UserSettings.js +13 -0
- package/build/user/actions.d.ts +3 -0
- package/build/user/actions.js +9 -0
- package/build/user/expoBrowserAuthFlowLauncher.d.ts +3 -0
- package/build/user/expoBrowserAuthFlowLauncher.js +72 -0
- package/build/user/expoSsoLauncher.d.ts +3 -0
- package/build/user/expoSsoLauncher.js +98 -0
- package/build/user/fetchSessionSecretAndSsoUser.d.ts +5 -0
- package/build/user/fetchSessionSecretAndSsoUser.js +18 -0
- package/build/user/fetchSessionSecretAndUser.d.ts +9 -0
- package/build/user/fetchSessionSecretAndUser.js +22 -0
- package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.d.ts +7 -0
- package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.js +14 -0
- package/build/user/fetchUser.d.ts +6 -0
- package/build/user/fetchUser.js +28 -0
- package/build/utils/buildDistribution.d.ts +3 -0
- package/build/utils/buildDistribution.js +20 -0
- package/build/utils/code-signing.d.ts +25 -0
- package/build/utils/code-signing.js +130 -0
- package/build/utils/date.d.ts +4 -0
- package/build/utils/date.js +36 -0
- package/build/utils/download.d.ts +3 -0
- package/build/utils/download.js +155 -0
- package/build/utils/easCli.d.ts +1 -0
- package/build/utils/easCli.js +5 -0
- package/build/utils/expoCli.d.ts +17 -0
- package/build/utils/expoCli.js +105 -0
- package/build/utils/expoUpdatesCli.d.ts +11 -0
- package/build/utils/expoUpdatesCli.js +49 -0
- package/build/utils/expodash/areSetsEqual.d.ts +1 -0
- package/build/utils/expodash/areSetsEqual.js +6 -0
- package/build/utils/expodash/capitalize.d.ts +1 -0
- package/build/utils/expodash/capitalize.js +6 -0
- package/build/utils/expodash/chunk.d.ts +1 -0
- package/build/utils/expodash/chunk.js +16 -0
- package/build/utils/expodash/differenceBy.d.ts +1 -0
- package/build/utils/expodash/differenceBy.js +7 -0
- package/build/utils/expodash/filter.d.ts +2 -0
- package/build/utils/expodash/filter.js +7 -0
- package/build/utils/expodash/groupBy.d.ts +1 -0
- package/build/utils/expodash/groupBy.js +13 -0
- package/build/utils/expodash/intersection.d.ts +1 -0
- package/build/utils/expodash/intersection.js +8 -0
- package/build/utils/expodash/mapMapAsync.d.ts +1 -0
- package/build/utils/expodash/mapMapAsync.js +12 -0
- package/build/utils/expodash/memoize.d.ts +2 -0
- package/build/utils/expodash/memoize.js +16 -0
- package/build/utils/expodash/pick.d.ts +1 -0
- package/build/utils/expodash/pick.js +11 -0
- package/build/utils/expodash/sortBy.d.ts +1 -0
- package/build/utils/expodash/sortBy.js +11 -0
- package/build/utils/expodash/uniq.d.ts +1 -0
- package/build/utils/expodash/uniq.js +7 -0
- package/build/utils/expodash/uniqBy.d.ts +1 -0
- package/build/utils/expodash/uniqBy.js +14 -0
- package/build/utils/expodash/zipObject.d.ts +1 -0
- package/build/utils/expodash/zipObject.js +13 -0
- package/build/utils/files.d.ts +2 -0
- package/build/utils/files.js +52 -0
- package/build/utils/filterAsync.d.ts +7 -0
- package/build/utils/filterAsync.js +11 -0
- package/build/utils/fingerprint.d.ts +97 -0
- package/build/utils/fingerprint.js +5 -0
- package/build/utils/fingerprintCli.d.ts +28 -0
- package/build/utils/fingerprintCli.js +110 -0
- package/build/utils/fingerprintDiff.d.ts +33 -0
- package/build/utils/fingerprintDiff.js +122 -0
- package/build/utils/formatFields.d.ts +9 -0
- package/build/utils/formatFields.js +19 -0
- package/build/utils/image.d.ts +6 -0
- package/build/utils/image.js +107 -0
- package/build/utils/json.d.ts +2 -0
- package/build/utils/json.js +42 -0
- package/build/utils/paths.d.ts +7 -0
- package/build/utils/paths.js +43 -0
- package/build/utils/plist.d.ts +4 -0
- package/build/utils/plist.js +51 -0
- package/build/utils/pollForBackgroundJobReceiptAsync.d.ts +29 -0
- package/build/utils/pollForBackgroundJobReceiptAsync.js +92 -0
- package/build/utils/profiles.d.ts +21 -0
- package/build/utils/profiles.js +89 -0
- package/build/utils/progress.d.ts +15 -0
- package/build/utils/progress.js +64 -0
- package/build/utils/promise.d.ts +7 -0
- package/build/utils/promise.js +12 -0
- package/build/utils/prompts.d.ts +32 -0
- package/build/utils/prompts.js +219 -0
- package/build/utils/queries.d.ts +31 -0
- package/build/utils/queries.js +68 -0
- package/build/utils/relay.d.ts +104 -0
- package/build/utils/relay.js +255 -0
- package/build/utils/statuspageService.d.ts +3 -0
- package/build/utils/statuspageService.js +44 -0
- package/build/utils/timer.d.ts +12 -0
- package/build/utils/timer.js +54 -0
- package/build/utils/usage/checkForOverages.d.ts +12 -0
- package/build/utils/usage/checkForOverages.js +59 -0
- package/build/utils/variableUtils.d.ts +6 -0
- package/build/utils/variableUtils.js +61 -0
- package/build/utils/workflowFile.d.ts +14 -0
- package/build/utils/workflowFile.js +58 -0
- package/build/vcs/clients/git.d.ts +37 -0
- package/build/vcs/clients/git.js +456 -0
- package/build/vcs/clients/gitNoCommit.d.ts +8 -0
- package/build/vcs/clients/gitNoCommit.js +42 -0
- package/build/vcs/clients/noVcs.d.ts +11 -0
- package/build/vcs/clients/noVcs.js +52 -0
- package/build/vcs/git.d.ts +13 -0
- package/build/vcs/git.js +59 -0
- package/build/vcs/index.d.ts +2 -0
- package/build/vcs/index.js +25 -0
- package/build/vcs/local.d.ts +25 -0
- package/build/vcs/local.js +117 -0
- package/build/vcs/vcs.d.ts +25 -0
- package/build/vcs/vcs.js +61 -0
- package/build/webhooks/formatWebhook.d.ts +2 -0
- package/build/webhooks/formatWebhook.js +14 -0
- package/build/webhooks/input.d.ts +9 -0
- package/build/webhooks/input.js +83 -0
- package/build/worker/assets.d.ts +54 -0
- package/build/worker/assets.js +193 -0
- package/build/worker/deployment.d.ts +61 -0
- package/build/worker/deployment.js +184 -0
- package/build/worker/fragments/WorkerDeployment.d.ts +1 -0
- package/build/worker/fragments/WorkerDeployment.js +14 -0
- package/build/worker/fragments/WorkerDeploymentAlias.d.ts +1 -0
- package/build/worker/fragments/WorkerDeploymentAlias.js +12 -0
- package/build/worker/mutations.d.ts +28 -0
- package/build/worker/mutations.js +105 -0
- package/build/worker/queries.d.ts +14 -0
- package/build/worker/queries.js +103 -0
- package/build/worker/upload.d.ts +33 -0
- package/build/worker/upload.js +213 -0
- package/build/worker/utils/logs.d.ts +36 -0
- package/build/worker/utils/logs.js +54 -0
- package/build/worker/utils/multipart.d.ts +11 -0
- package/build/worker/utils/multipart.js +98 -0
- package/package.json +246 -0
- package/schema/metadata-0.json +828 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetUpTargetBuildCredentialsFromCredentialsJson = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const BuildCredentialsUtils_1 = require("./BuildCredentialsUtils");
|
|
8
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
9
|
+
const prompts_1 = require("../../../prompts");
|
|
10
|
+
const printCredentials_1 = require("../utils/printCredentials");
|
|
11
|
+
const provisioningProfile_1 = require("../utils/provisioningProfile");
|
|
12
|
+
class SetUpTargetBuildCredentialsFromCredentialsJson {
|
|
13
|
+
app;
|
|
14
|
+
distributionType;
|
|
15
|
+
targetCredentials;
|
|
16
|
+
constructor(app, distributionType, targetCredentials) {
|
|
17
|
+
this.app = app;
|
|
18
|
+
this.distributionType = distributionType;
|
|
19
|
+
this.targetCredentials = targetCredentials;
|
|
20
|
+
}
|
|
21
|
+
async runAsync(ctx) {
|
|
22
|
+
// currently configured credentials
|
|
23
|
+
const buildCredentials = await (0, BuildCredentialsUtils_1.getBuildCredentialsAsync)(ctx, this.app, this.distributionType);
|
|
24
|
+
const currentDistributionCertificate = await (0, BuildCredentialsUtils_1.getDistributionCertificateAsync)(ctx, this.app, this.distributionType);
|
|
25
|
+
const currentProfile = await (0, BuildCredentialsUtils_1.getProvisioningProfileAsync)(ctx, this.app, this.distributionType);
|
|
26
|
+
const appInfo = `@${this.app.account.name}/${this.app.projectName} (${this.app.bundleIdentifier})`;
|
|
27
|
+
// new credentials from local json
|
|
28
|
+
const appleTeamFromProvisioningProfile = (0, provisioningProfile_1.readAppleTeam)(this.targetCredentials.provisioningProfile);
|
|
29
|
+
const appleTeam = await ctx.ios.createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(ctx.graphqlClient, this.app.account.id, {
|
|
30
|
+
appleTeamIdentifier: appleTeamFromProvisioningProfile.teamId,
|
|
31
|
+
appleTeamName: appleTeamFromProvisioningProfile.teamName,
|
|
32
|
+
});
|
|
33
|
+
const distributionCertificateToAssign = await this.getDistributionCertificateToAssignAsync(ctx, appleTeam, currentDistributionCertificate);
|
|
34
|
+
const provisioningProfileToAssign = await this.getProvisioningProfileToAssignAsync(ctx, appleTeam, currentProfile);
|
|
35
|
+
const didCredentialsChange = !currentDistributionCertificate ||
|
|
36
|
+
!currentProfile ||
|
|
37
|
+
currentDistributionCertificate.id !== distributionCertificateToAssign.id ||
|
|
38
|
+
currentProfile.id !== provisioningProfileToAssign.id;
|
|
39
|
+
if (!didCredentialsChange) {
|
|
40
|
+
log_1.default.log('Credentials have already been configured to your credentials json.');
|
|
41
|
+
return (0, nullthrows_1.default)(buildCredentials, 'buildCredentials should have been defined.');
|
|
42
|
+
}
|
|
43
|
+
if (buildCredentials) {
|
|
44
|
+
log_1.default.log('Currently configured credentials:');
|
|
45
|
+
displaySingleTargetProjectCredentials(this.app, buildCredentials);
|
|
46
|
+
if (!ctx.nonInteractive) {
|
|
47
|
+
const confirm = await (0, prompts_1.confirmAsync)({
|
|
48
|
+
message: `Would you like to replace this configuration with credentials from credentials json?`,
|
|
49
|
+
});
|
|
50
|
+
if (!confirm) {
|
|
51
|
+
throw new Error('Aborting setup of build credentials from credentials json');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
log_1.default.log(`Assigning credentials from credentials json to ${appInfo}...`);
|
|
56
|
+
const newBuildCredentials = await (0, BuildCredentialsUtils_1.assignBuildCredentialsAsync)(ctx, this.app, this.distributionType, distributionCertificateToAssign, provisioningProfileToAssign, appleTeam);
|
|
57
|
+
log_1.default.log('New credentials configuration:');
|
|
58
|
+
displaySingleTargetProjectCredentials(this.app, newBuildCredentials);
|
|
59
|
+
log_1.default.newLine();
|
|
60
|
+
log_1.default.log(chalk_1.default.green(`All credentials are ready to build ${appInfo}`));
|
|
61
|
+
log_1.default.newLine();
|
|
62
|
+
return newBuildCredentials;
|
|
63
|
+
}
|
|
64
|
+
async getDistributionCertificateToAssignAsync(ctx, appleTeam, currentDistributionCertificate) {
|
|
65
|
+
const { certificateP12, certificatePassword } = this.targetCredentials.distributionCertificate;
|
|
66
|
+
if (!currentDistributionCertificate) {
|
|
67
|
+
return await ctx.ios.createDistributionCertificateAsync(ctx.graphqlClient, this.app.account, {
|
|
68
|
+
certP12: certificateP12,
|
|
69
|
+
certPassword: certificatePassword,
|
|
70
|
+
teamId: appleTeam.appleTeamIdentifier,
|
|
71
|
+
teamName: appleTeam.appleTeamName ?? undefined,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
const isSameCertificate = currentDistributionCertificate.certificateP12 === certificateP12;
|
|
75
|
+
if (!isSameCertificate) {
|
|
76
|
+
return await ctx.ios.createDistributionCertificateAsync(ctx.graphqlClient, this.app.account, {
|
|
77
|
+
certP12: certificateP12,
|
|
78
|
+
certPassword: certificatePassword,
|
|
79
|
+
teamId: appleTeam.appleTeamIdentifier,
|
|
80
|
+
teamName: appleTeam.appleTeamName ?? undefined,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
// If the configured Distribution Certificate is the same as the new one, just use the currently configured certificate
|
|
84
|
+
return currentDistributionCertificate;
|
|
85
|
+
}
|
|
86
|
+
async getProvisioningProfileToAssignAsync(ctx, appleTeam, currentProvisioningProfile) {
|
|
87
|
+
const { provisioningProfile } = this.targetCredentials;
|
|
88
|
+
if (!currentProvisioningProfile) {
|
|
89
|
+
return await this.createNewProvisioningProfileAsync(ctx, appleTeam);
|
|
90
|
+
}
|
|
91
|
+
const isSameProfile = currentProvisioningProfile.provisioningProfile === provisioningProfile;
|
|
92
|
+
if (!isSameProfile) {
|
|
93
|
+
return await this.createNewProvisioningProfileAsync(ctx, appleTeam);
|
|
94
|
+
}
|
|
95
|
+
// If the configured Provisioning Profile is the same as the new one, just use the currently configured profile
|
|
96
|
+
return currentProvisioningProfile;
|
|
97
|
+
}
|
|
98
|
+
async createNewProvisioningProfileAsync(ctx, appleTeam) {
|
|
99
|
+
const { provisioningProfile } = this.targetCredentials;
|
|
100
|
+
const appleAppIdentifier = await ctx.ios.createOrGetExistingAppleAppIdentifierAsync(ctx.graphqlClient, this.app, appleTeam);
|
|
101
|
+
return await ctx.ios.createProvisioningProfileAsync(ctx.graphqlClient, this.app, appleAppIdentifier, {
|
|
102
|
+
appleProvisioningProfile: provisioningProfile,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.SetUpTargetBuildCredentialsFromCredentialsJson = SetUpTargetBuildCredentialsFromCredentialsJson;
|
|
107
|
+
function displaySingleTargetProjectCredentials(app, buildCredentials) {
|
|
108
|
+
const targetName = app.projectName;
|
|
109
|
+
(0, printCredentials_1.displayProjectCredentials)(app, { [targetName]: buildCredentials }, [
|
|
110
|
+
{ targetName, bundleIdentifier: app.bundleIdentifier },
|
|
111
|
+
]);
|
|
112
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IosDistributionType } from '../../../graphql/generated';
|
|
2
|
+
import { CredentialsContext } from '../../context';
|
|
3
|
+
import { App, Target } from '../types';
|
|
4
|
+
export declare class UpdateCredentialsJson {
|
|
5
|
+
private readonly app;
|
|
6
|
+
private readonly targets;
|
|
7
|
+
private readonly distributionType;
|
|
8
|
+
constructor(app: App, targets: Target[], distributionType: IosDistributionType);
|
|
9
|
+
runAsync(ctx: CredentialsContext): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCredentialsJson = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
6
|
+
const update_1 = require("../../credentialsJson/update");
|
|
7
|
+
class UpdateCredentialsJson {
|
|
8
|
+
app;
|
|
9
|
+
targets;
|
|
10
|
+
distributionType;
|
|
11
|
+
constructor(app, targets, distributionType) {
|
|
12
|
+
this.app = app;
|
|
13
|
+
this.targets = targets;
|
|
14
|
+
this.distributionType = distributionType;
|
|
15
|
+
}
|
|
16
|
+
async runAsync(ctx) {
|
|
17
|
+
log_1.default.log('Updating iOS credentials in credentials.json');
|
|
18
|
+
await (0, update_1.updateIosCredentialsAsync)(ctx, this.app, this.targets, this.distributionType);
|
|
19
|
+
log_1.default.succeed('iOS part of your local credentials.json is synced with values stored on EAS servers.');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.UpdateCredentialsJson = UpdateCredentialsJson;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AppleDistributionCertificateMutationResult } from './graphql/mutations/AppleDistributionCertificateMutation';
|
|
2
|
+
import { AppleProvisioningProfileMutationResult } from './graphql/mutations/AppleProvisioningProfileMutation';
|
|
3
|
+
import { AppleProvisioningProfileQueryResult } from './graphql/queries/AppleProvisioningProfileQuery';
|
|
4
|
+
import { AppLookupParams } from './graphql/types/AppLookupParams';
|
|
5
|
+
import { ExpoGraphqlClient } from '../../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
6
|
+
import { AccountFragment, AppStoreConnectApiKeyFragment, AppleAppIdentifierFragment, AppleDeviceFragment, AppleDistributionCertificateFragment, ApplePushKeyFragment, AppleTeamFragment, CommonIosAppCredentialsFragment, IosAppBuildCredentialsFragment, IosDistributionType } from '../../../graphql/generated';
|
|
7
|
+
import { DistributionCertificate, PushKey } from '../appstore/Credentials.types';
|
|
8
|
+
import { MinimalAscApiKey } from '../credentials';
|
|
9
|
+
export declare function createOrUpdateIosAppBuildCredentialsAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams, { appleTeam, appleAppIdentifierId, iosDistributionType, appleProvisioningProfileId, appleDistributionCertificateId, }: {
|
|
10
|
+
appleTeam: AppleTeamFragment;
|
|
11
|
+
appleAppIdentifierId: string;
|
|
12
|
+
iosDistributionType: IosDistributionType;
|
|
13
|
+
appleProvisioningProfileId: string;
|
|
14
|
+
appleDistributionCertificateId: string;
|
|
15
|
+
}): Promise<IosAppBuildCredentialsFragment>;
|
|
16
|
+
export declare function getIosAppCredentialsWithBuildCredentialsAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams, { iosDistributionType }: {
|
|
17
|
+
iosDistributionType?: IosDistributionType;
|
|
18
|
+
}): Promise<CommonIosAppCredentialsFragment | null>;
|
|
19
|
+
export declare function getIosAppCredentialsWithCommonFieldsAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams): Promise<CommonIosAppCredentialsFragment | null>;
|
|
20
|
+
export declare function createOrGetIosAppCredentialsWithCommonFieldsAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams, { appleTeam, }: {
|
|
21
|
+
appleTeam?: AppleTeamFragment;
|
|
22
|
+
}): Promise<CommonIosAppCredentialsFragment>;
|
|
23
|
+
export declare function updateIosAppCredentialsAsync(graphqlClient: ExpoGraphqlClient, appCredentials: CommonIosAppCredentialsFragment, { applePushKeyId, ascApiKeyIdForSubmissions, }: {
|
|
24
|
+
applePushKeyId?: string;
|
|
25
|
+
ascApiKeyIdForSubmissions?: string;
|
|
26
|
+
}): Promise<CommonIosAppCredentialsFragment>;
|
|
27
|
+
export declare function createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(graphqlClient: ExpoGraphqlClient, accountId: string, { appleTeamIdentifier, appleTeamName }: {
|
|
28
|
+
appleTeamIdentifier: string;
|
|
29
|
+
appleTeamName?: string;
|
|
30
|
+
}): Promise<AppleTeamFragment>;
|
|
31
|
+
export declare function createOrGetExistingAppleAppIdentifierAsync(graphqlClient: ExpoGraphqlClient, { account, projectName, bundleIdentifier, parentBundleIdentifier }: AppLookupParams, appleTeam: AppleTeamFragment | null): Promise<AppleAppIdentifierFragment>;
|
|
32
|
+
export declare function getDevicesForAppleTeamAsync(graphqlClient: ExpoGraphqlClient, { account }: AppLookupParams, { appleTeamIdentifier }: AppleTeamFragment, { useCache }?: {
|
|
33
|
+
useCache?: boolean;
|
|
34
|
+
}): Promise<AppleDeviceFragment[]>;
|
|
35
|
+
export declare function createProvisioningProfileAsync(graphqlClient: ExpoGraphqlClient, { account }: AppLookupParams, appleAppIdentifier: AppleAppIdentifierFragment, appleProvisioningProfileInput: {
|
|
36
|
+
appleProvisioningProfile: string;
|
|
37
|
+
developerPortalIdentifier?: string;
|
|
38
|
+
}): Promise<AppleProvisioningProfileMutationResult>;
|
|
39
|
+
export declare function getProvisioningProfileAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams, iosDistributionType: IosDistributionType, { appleTeam }?: {
|
|
40
|
+
appleTeam: AppleTeamFragment | null;
|
|
41
|
+
}): Promise<AppleProvisioningProfileQueryResult | null>;
|
|
42
|
+
export declare function updateProvisioningProfileAsync(graphqlClient: ExpoGraphqlClient, appleProvisioningProfileId: string, appleProvisioningProfileInput: {
|
|
43
|
+
appleProvisioningProfile: string;
|
|
44
|
+
developerPortalIdentifier?: string;
|
|
45
|
+
}): Promise<AppleProvisioningProfileMutationResult>;
|
|
46
|
+
export declare function deleteProvisioningProfilesAsync(graphqlClient: ExpoGraphqlClient, appleProvisioningProfileIds: string[]): Promise<void>;
|
|
47
|
+
export declare function getDistributionCertificateForAppAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams, iosDistributionType: IosDistributionType, { appleTeam }?: {
|
|
48
|
+
appleTeam: AppleTeamFragment | null;
|
|
49
|
+
}): Promise<AppleDistributionCertificateFragment | null>;
|
|
50
|
+
export declare function getDistributionCertificatesForAccountAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment): Promise<AppleDistributionCertificateFragment[]>;
|
|
51
|
+
export declare function createDistributionCertificateAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment, distCert: DistributionCertificate): Promise<AppleDistributionCertificateMutationResult>;
|
|
52
|
+
export declare function deleteDistributionCertificateAsync(graphqlClient: ExpoGraphqlClient, distributionCertificateId: string): Promise<void>;
|
|
53
|
+
export declare function createPushKeyAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment, pushKey: PushKey): Promise<ApplePushKeyFragment>;
|
|
54
|
+
export declare function getPushKeysForAccountAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment): Promise<ApplePushKeyFragment[]>;
|
|
55
|
+
export declare function getPushKeyForAppAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams): Promise<ApplePushKeyFragment | null>;
|
|
56
|
+
export declare function deletePushKeyAsync(graphqlClient: ExpoGraphqlClient, pushKeyId: string): Promise<void>;
|
|
57
|
+
export declare function createAscApiKeyAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment, ascApiKey: MinimalAscApiKey): Promise<AppStoreConnectApiKeyFragment>;
|
|
58
|
+
export declare function getAscApiKeysForAccountAsync(graphqlClient: ExpoGraphqlClient, account: AccountFragment): Promise<AppStoreConnectApiKeyFragment[]>;
|
|
59
|
+
export declare function getAscApiKeyForAppSubmissionsAsync(graphqlClient: ExpoGraphqlClient, appLookupParams: AppLookupParams): Promise<AppStoreConnectApiKeyFragment | null>;
|
|
60
|
+
export declare function deleteAscApiKeyAsync(graphqlClient: ExpoGraphqlClient, ascApiKeyId: string): Promise<void>;
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createOrUpdateIosAppBuildCredentialsAsync = createOrUpdateIosAppBuildCredentialsAsync;
|
|
4
|
+
exports.getIosAppCredentialsWithBuildCredentialsAsync = getIosAppCredentialsWithBuildCredentialsAsync;
|
|
5
|
+
exports.getIosAppCredentialsWithCommonFieldsAsync = getIosAppCredentialsWithCommonFieldsAsync;
|
|
6
|
+
exports.createOrGetIosAppCredentialsWithCommonFieldsAsync = createOrGetIosAppCredentialsWithCommonFieldsAsync;
|
|
7
|
+
exports.updateIosAppCredentialsAsync = updateIosAppCredentialsAsync;
|
|
8
|
+
exports.createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync = createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync;
|
|
9
|
+
exports.createOrGetExistingAppleAppIdentifierAsync = createOrGetExistingAppleAppIdentifierAsync;
|
|
10
|
+
exports.getDevicesForAppleTeamAsync = getDevicesForAppleTeamAsync;
|
|
11
|
+
exports.createProvisioningProfileAsync = createProvisioningProfileAsync;
|
|
12
|
+
exports.getProvisioningProfileAsync = getProvisioningProfileAsync;
|
|
13
|
+
exports.updateProvisioningProfileAsync = updateProvisioningProfileAsync;
|
|
14
|
+
exports.deleteProvisioningProfilesAsync = deleteProvisioningProfilesAsync;
|
|
15
|
+
exports.getDistributionCertificateForAppAsync = getDistributionCertificateForAppAsync;
|
|
16
|
+
exports.getDistributionCertificatesForAccountAsync = getDistributionCertificatesForAccountAsync;
|
|
17
|
+
exports.createDistributionCertificateAsync = createDistributionCertificateAsync;
|
|
18
|
+
exports.deleteDistributionCertificateAsync = deleteDistributionCertificateAsync;
|
|
19
|
+
exports.createPushKeyAsync = createPushKeyAsync;
|
|
20
|
+
exports.getPushKeysForAccountAsync = getPushKeysForAccountAsync;
|
|
21
|
+
exports.getPushKeyForAppAsync = getPushKeyForAppAsync;
|
|
22
|
+
exports.deletePushKeyAsync = deletePushKeyAsync;
|
|
23
|
+
exports.createAscApiKeyAsync = createAscApiKeyAsync;
|
|
24
|
+
exports.getAscApiKeysForAccountAsync = getAscApiKeysForAccountAsync;
|
|
25
|
+
exports.getAscApiKeyForAppSubmissionsAsync = getAscApiKeyForAppSubmissionsAsync;
|
|
26
|
+
exports.deleteAscApiKeyAsync = deleteAscApiKeyAsync;
|
|
27
|
+
const tslib_1 = require("tslib");
|
|
28
|
+
const apple_utils_1 = require("@expo/apple-utils");
|
|
29
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
30
|
+
const AppStoreConnectApiKeyMutation_1 = require("./graphql/mutations/AppStoreConnectApiKeyMutation");
|
|
31
|
+
const AppleAppIdentifierMutation_1 = require("./graphql/mutations/AppleAppIdentifierMutation");
|
|
32
|
+
const AppleDistributionCertificateMutation_1 = require("./graphql/mutations/AppleDistributionCertificateMutation");
|
|
33
|
+
const AppleProvisioningProfileMutation_1 = require("./graphql/mutations/AppleProvisioningProfileMutation");
|
|
34
|
+
const ApplePushKeyMutation_1 = require("./graphql/mutations/ApplePushKeyMutation");
|
|
35
|
+
const AppleTeamMutation_1 = require("./graphql/mutations/AppleTeamMutation");
|
|
36
|
+
const IosAppBuildCredentialsMutation_1 = require("./graphql/mutations/IosAppBuildCredentialsMutation");
|
|
37
|
+
const IosAppCredentialsMutation_1 = require("./graphql/mutations/IosAppCredentialsMutation");
|
|
38
|
+
const AppStoreConnectApiKeyQuery_1 = require("./graphql/queries/AppStoreConnectApiKeyQuery");
|
|
39
|
+
const AppleAppIdentifierQuery_1 = require("./graphql/queries/AppleAppIdentifierQuery");
|
|
40
|
+
const AppleDeviceQuery_1 = require("./graphql/queries/AppleDeviceQuery");
|
|
41
|
+
const AppleDistributionCertificateQuery_1 = require("./graphql/queries/AppleDistributionCertificateQuery");
|
|
42
|
+
const AppleProvisioningProfileQuery_1 = require("./graphql/queries/AppleProvisioningProfileQuery");
|
|
43
|
+
const ApplePushKeyQuery_1 = require("./graphql/queries/ApplePushKeyQuery");
|
|
44
|
+
const AppleTeamQuery_1 = require("./graphql/queries/AppleTeamQuery");
|
|
45
|
+
const IosAppCredentialsQuery_1 = require("./graphql/queries/IosAppCredentialsQuery");
|
|
46
|
+
const generated_1 = require("../../../graphql/generated");
|
|
47
|
+
const AppQuery_1 = require("../../../graphql/queries/AppQuery");
|
|
48
|
+
const bundleIdentifier_1 = require("../../../project/ios/bundleIdentifier");
|
|
49
|
+
const errors_1 = require("../errors");
|
|
50
|
+
async function getAppAsync(graphqlClient, appLookupParams) {
|
|
51
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
52
|
+
return await AppQuery_1.AppQuery.byFullNameAsync(graphqlClient, projectFullName);
|
|
53
|
+
}
|
|
54
|
+
async function createOrUpdateIosAppBuildCredentialsAsync(graphqlClient, appLookupParams, { appleTeam, appleAppIdentifierId, iosDistributionType, appleProvisioningProfileId, appleDistributionCertificateId, }) {
|
|
55
|
+
const iosAppCredentials = await createOrGetExistingIosAppCredentialsWithBuildCredentialsAsync(graphqlClient, appLookupParams, {
|
|
56
|
+
appleTeam,
|
|
57
|
+
appleAppIdentifierId,
|
|
58
|
+
iosDistributionType,
|
|
59
|
+
});
|
|
60
|
+
const iosAppBuildCredentials = iosAppCredentials.iosAppBuildCredentialsList?.[0];
|
|
61
|
+
if (!iosAppBuildCredentials) {
|
|
62
|
+
return await IosAppBuildCredentialsMutation_1.IosAppBuildCredentialsMutation.createIosAppBuildCredentialsAsync(graphqlClient, {
|
|
63
|
+
iosDistributionType,
|
|
64
|
+
distributionCertificateId: appleDistributionCertificateId,
|
|
65
|
+
provisioningProfileId: appleProvisioningProfileId,
|
|
66
|
+
}, iosAppCredentials.id);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
await IosAppBuildCredentialsMutation_1.IosAppBuildCredentialsMutation.setDistributionCertificateAsync(graphqlClient, iosAppBuildCredentials.id, appleDistributionCertificateId);
|
|
70
|
+
return await IosAppBuildCredentialsMutation_1.IosAppBuildCredentialsMutation.setProvisioningProfileAsync(graphqlClient, iosAppBuildCredentials.id, appleProvisioningProfileId);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async function getIosAppCredentialsWithBuildCredentialsAsync(graphqlClient, appLookupParams, { iosDistributionType }) {
|
|
74
|
+
const { account, bundleIdentifier } = appLookupParams;
|
|
75
|
+
const appleAppIdentifier = await AppleAppIdentifierQuery_1.AppleAppIdentifierQuery.byBundleIdentifierAsync(graphqlClient, account.name, bundleIdentifier);
|
|
76
|
+
if (!appleAppIdentifier) {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
80
|
+
return await IosAppCredentialsQuery_1.IosAppCredentialsQuery.withBuildCredentialsByAppIdentifierIdAsync(graphqlClient, projectFullName, {
|
|
81
|
+
appleAppIdentifierId: appleAppIdentifier.id,
|
|
82
|
+
iosDistributionType,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
async function getIosAppCredentialsWithCommonFieldsAsync(graphqlClient, appLookupParams) {
|
|
86
|
+
const { account, bundleIdentifier } = appLookupParams;
|
|
87
|
+
const appleAppIdentifier = await AppleAppIdentifierQuery_1.AppleAppIdentifierQuery.byBundleIdentifierAsync(graphqlClient, account.name, bundleIdentifier);
|
|
88
|
+
if (!appleAppIdentifier) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
92
|
+
return await IosAppCredentialsQuery_1.IosAppCredentialsQuery.withCommonFieldsByAppIdentifierIdAsync(graphqlClient, projectFullName, {
|
|
93
|
+
appleAppIdentifierId: appleAppIdentifier.id,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
async function createOrGetIosAppCredentialsWithCommonFieldsAsync(graphqlClient, appLookupParams, { appleTeam, }) {
|
|
97
|
+
const maybeIosAppCredentials = await getIosAppCredentialsWithCommonFieldsAsync(graphqlClient, appLookupParams);
|
|
98
|
+
if (maybeIosAppCredentials) {
|
|
99
|
+
return maybeIosAppCredentials;
|
|
100
|
+
}
|
|
101
|
+
const [app, appleAppIdentifier] = await Promise.all([
|
|
102
|
+
getAppAsync(graphqlClient, appLookupParams),
|
|
103
|
+
createOrGetExistingAppleAppIdentifierAsync(graphqlClient, appLookupParams, appleTeam ?? null),
|
|
104
|
+
]);
|
|
105
|
+
return await IosAppCredentialsMutation_1.IosAppCredentialsMutation.createIosAppCredentialsAsync(graphqlClient, { appleTeamId: appleTeam?.id }, app.id, appleAppIdentifier.id);
|
|
106
|
+
}
|
|
107
|
+
async function updateIosAppCredentialsAsync(graphqlClient, appCredentials, { applePushKeyId, ascApiKeyIdForSubmissions, }) {
|
|
108
|
+
let updatedAppCredentials = appCredentials;
|
|
109
|
+
if (applePushKeyId) {
|
|
110
|
+
updatedAppCredentials = await IosAppCredentialsMutation_1.IosAppCredentialsMutation.setPushKeyAsync(graphqlClient, updatedAppCredentials.id, applePushKeyId);
|
|
111
|
+
}
|
|
112
|
+
if (ascApiKeyIdForSubmissions) {
|
|
113
|
+
updatedAppCredentials =
|
|
114
|
+
await IosAppCredentialsMutation_1.IosAppCredentialsMutation.setAppStoreConnectApiKeyForSubmissionsAsync(graphqlClient, updatedAppCredentials.id, ascApiKeyIdForSubmissions);
|
|
115
|
+
}
|
|
116
|
+
return updatedAppCredentials;
|
|
117
|
+
}
|
|
118
|
+
async function createOrGetExistingIosAppCredentialsWithBuildCredentialsAsync(graphqlClient, appLookupParams, { appleTeam, appleAppIdentifierId, iosDistributionType, }) {
|
|
119
|
+
const maybeIosAppCredentials = await getIosAppCredentialsWithBuildCredentialsAsync(graphqlClient, appLookupParams, {
|
|
120
|
+
iosDistributionType,
|
|
121
|
+
});
|
|
122
|
+
if (maybeIosAppCredentials) {
|
|
123
|
+
return maybeIosAppCredentials;
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
const [app, appleAppIdentifier] = await Promise.all([
|
|
127
|
+
getAppAsync(graphqlClient, appLookupParams),
|
|
128
|
+
createOrGetExistingAppleAppIdentifierAsync(graphqlClient, appLookupParams, appleTeam ?? null),
|
|
129
|
+
]);
|
|
130
|
+
await IosAppCredentialsMutation_1.IosAppCredentialsMutation.createIosAppCredentialsAsync(graphqlClient, { appleTeamId: appleTeam?.id }, app.id, appleAppIdentifier.id);
|
|
131
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
132
|
+
return (0, nullthrows_1.default)(await IosAppCredentialsQuery_1.IosAppCredentialsQuery.withBuildCredentialsByAppIdentifierIdAsync(graphqlClient, projectFullName, {
|
|
133
|
+
appleAppIdentifierId,
|
|
134
|
+
iosDistributionType,
|
|
135
|
+
}));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
async function createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(graphqlClient, accountId, { appleTeamIdentifier, appleTeamName }) {
|
|
139
|
+
const appleTeam = await AppleTeamQuery_1.AppleTeamQuery.getByAppleTeamIdentifierAsync(graphqlClient, accountId, appleTeamIdentifier);
|
|
140
|
+
if (appleTeam) {
|
|
141
|
+
const didAppleTeamNameChange = appleTeamName && appleTeam && appleTeamName !== appleTeam.appleTeamName;
|
|
142
|
+
if (didAppleTeamNameChange) {
|
|
143
|
+
return await AppleTeamMutation_1.AppleTeamMutation.updateAppleTeamAsync(graphqlClient, {
|
|
144
|
+
appleTeamName,
|
|
145
|
+
}, appleTeam.id);
|
|
146
|
+
}
|
|
147
|
+
return appleTeam;
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
return await AppleTeamMutation_1.AppleTeamMutation.createAppleTeamAsync(graphqlClient, { appleTeamIdentifier, appleTeamName }, accountId);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
async function createOrGetExistingAppleAppIdentifierAsync(graphqlClient, { account, projectName, bundleIdentifier, parentBundleIdentifier }, appleTeam) {
|
|
154
|
+
const appleAppIdentifier = await AppleAppIdentifierQuery_1.AppleAppIdentifierQuery.byBundleIdentifierAsync(graphqlClient, account.name, bundleIdentifier);
|
|
155
|
+
if (appleAppIdentifier) {
|
|
156
|
+
return appleAppIdentifier;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
if ((0, bundleIdentifier_1.isWildcardBundleIdentifier)(bundleIdentifier) && !appleTeam) {
|
|
160
|
+
throw new errors_1.AppleTeamMissingError(`An Apple Team is required for wildcard bundle identifier: ${bundleIdentifier}`);
|
|
161
|
+
}
|
|
162
|
+
const parentAppleAppIdentifier = parentBundleIdentifier
|
|
163
|
+
? await createOrGetExistingAppleAppIdentifierAsync(graphqlClient, { account, projectName, bundleIdentifier: parentBundleIdentifier }, appleTeam)
|
|
164
|
+
: null;
|
|
165
|
+
return await AppleAppIdentifierMutation_1.AppleAppIdentifierMutation.createAppleAppIdentifierAsync(graphqlClient, {
|
|
166
|
+
bundleIdentifier,
|
|
167
|
+
appleTeamId: appleTeam?.id,
|
|
168
|
+
parentAppleAppId: parentAppleAppIdentifier?.id,
|
|
169
|
+
}, account.id);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
async function getDevicesForAppleTeamAsync(graphqlClient, { account }, { appleTeamIdentifier }, { useCache = true } = {}) {
|
|
173
|
+
return await AppleDeviceQuery_1.AppleDeviceQuery.getAllByAppleTeamIdentifierAsync(graphqlClient, account.name, appleTeamIdentifier, {
|
|
174
|
+
useCache,
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
async function createProvisioningProfileAsync(graphqlClient, { account }, appleAppIdentifier, appleProvisioningProfileInput) {
|
|
178
|
+
return await AppleProvisioningProfileMutation_1.AppleProvisioningProfileMutation.createAppleProvisioningProfileAsync(graphqlClient, appleProvisioningProfileInput, account.id, appleAppIdentifier.id);
|
|
179
|
+
}
|
|
180
|
+
async function getProvisioningProfileAsync(graphqlClient, appLookupParams, iosDistributionType, { appleTeam } = { appleTeam: null }) {
|
|
181
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
182
|
+
const appleAppIdentifier = await createOrGetExistingAppleAppIdentifierAsync(graphqlClient, appLookupParams, appleTeam);
|
|
183
|
+
return await AppleProvisioningProfileQuery_1.AppleProvisioningProfileQuery.getForAppAsync(graphqlClient, projectFullName, {
|
|
184
|
+
appleAppIdentifierId: appleAppIdentifier.id,
|
|
185
|
+
iosDistributionType,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
async function updateProvisioningProfileAsync(graphqlClient, appleProvisioningProfileId, appleProvisioningProfileInput) {
|
|
189
|
+
return await AppleProvisioningProfileMutation_1.AppleProvisioningProfileMutation.updateAppleProvisioningProfileAsync(graphqlClient, appleProvisioningProfileId, appleProvisioningProfileInput);
|
|
190
|
+
}
|
|
191
|
+
async function deleteProvisioningProfilesAsync(graphqlClient, appleProvisioningProfileIds) {
|
|
192
|
+
await AppleProvisioningProfileMutation_1.AppleProvisioningProfileMutation.deleteAppleProvisioningProfilesAsync(graphqlClient, appleProvisioningProfileIds);
|
|
193
|
+
}
|
|
194
|
+
async function getDistributionCertificateForAppAsync(graphqlClient, appLookupParams, iosDistributionType, { appleTeam } = { appleTeam: null }) {
|
|
195
|
+
const projectFullName = formatProjectFullName(appLookupParams);
|
|
196
|
+
const appleAppIdentifier = await createOrGetExistingAppleAppIdentifierAsync(graphqlClient, appLookupParams, appleTeam);
|
|
197
|
+
return await AppleDistributionCertificateQuery_1.AppleDistributionCertificateQuery.getForAppAsync(graphqlClient, projectFullName, {
|
|
198
|
+
appleAppIdentifierId: appleAppIdentifier.id,
|
|
199
|
+
iosDistributionType,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
async function getDistributionCertificatesForAccountAsync(graphqlClient, account) {
|
|
203
|
+
return await AppleDistributionCertificateQuery_1.AppleDistributionCertificateQuery.getAllForAccountAsync(graphqlClient, account.name);
|
|
204
|
+
}
|
|
205
|
+
async function createDistributionCertificateAsync(graphqlClient, account, distCert) {
|
|
206
|
+
const appleTeam = await createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(graphqlClient, account.id, {
|
|
207
|
+
appleTeamIdentifier: distCert.teamId,
|
|
208
|
+
appleTeamName: distCert.teamName,
|
|
209
|
+
});
|
|
210
|
+
return await AppleDistributionCertificateMutation_1.AppleDistributionCertificateMutation.createAppleDistributionCertificateAsync(graphqlClient, {
|
|
211
|
+
certP12: distCert.certP12,
|
|
212
|
+
certPassword: distCert.certPassword,
|
|
213
|
+
certPrivateSigningKey: distCert.certPrivateSigningKey,
|
|
214
|
+
developerPortalIdentifier: distCert.certId,
|
|
215
|
+
appleTeamId: appleTeam.id,
|
|
216
|
+
}, account.id);
|
|
217
|
+
}
|
|
218
|
+
async function deleteDistributionCertificateAsync(graphqlClient, distributionCertificateId) {
|
|
219
|
+
await AppleDistributionCertificateMutation_1.AppleDistributionCertificateMutation.deleteAppleDistributionCertificateAsync(graphqlClient, distributionCertificateId);
|
|
220
|
+
}
|
|
221
|
+
async function createPushKeyAsync(graphqlClient, account, pushKey) {
|
|
222
|
+
const appleTeam = await createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(graphqlClient, account.id, {
|
|
223
|
+
appleTeamIdentifier: pushKey.teamId,
|
|
224
|
+
appleTeamName: pushKey.teamName,
|
|
225
|
+
});
|
|
226
|
+
return await ApplePushKeyMutation_1.ApplePushKeyMutation.createApplePushKeyAsync(graphqlClient, {
|
|
227
|
+
keyP8: pushKey.apnsKeyP8,
|
|
228
|
+
keyIdentifier: pushKey.apnsKeyId,
|
|
229
|
+
appleTeamId: appleTeam.id,
|
|
230
|
+
}, account.id);
|
|
231
|
+
}
|
|
232
|
+
async function getPushKeysForAccountAsync(graphqlClient, account) {
|
|
233
|
+
return await ApplePushKeyQuery_1.ApplePushKeyQuery.getAllForAccountAsync(graphqlClient, account.name);
|
|
234
|
+
}
|
|
235
|
+
async function getPushKeyForAppAsync(graphqlClient, appLookupParams) {
|
|
236
|
+
const maybeIosAppCredentials = await getIosAppCredentialsWithCommonFieldsAsync(graphqlClient, appLookupParams);
|
|
237
|
+
return maybeIosAppCredentials?.pushKey ?? null;
|
|
238
|
+
}
|
|
239
|
+
async function deletePushKeyAsync(graphqlClient, pushKeyId) {
|
|
240
|
+
await ApplePushKeyMutation_1.ApplePushKeyMutation.deleteApplePushKeyAsync(graphqlClient, pushKeyId);
|
|
241
|
+
}
|
|
242
|
+
async function createAscApiKeyAsync(graphqlClient, account, ascApiKey) {
|
|
243
|
+
const maybeAppleTeam = ascApiKey.teamId
|
|
244
|
+
? await createOrGetExistingAppleTeamAndUpdateNameIfChangedAsync(graphqlClient, account.id, {
|
|
245
|
+
appleTeamIdentifier: ascApiKey.teamId,
|
|
246
|
+
appleTeamName: ascApiKey.teamName,
|
|
247
|
+
})
|
|
248
|
+
: null;
|
|
249
|
+
return await AppStoreConnectApiKeyMutation_1.AppStoreConnectApiKeyMutation.createAppStoreConnectApiKeyAsync(graphqlClient, {
|
|
250
|
+
issuerIdentifier: ascApiKey.issuerId,
|
|
251
|
+
keyIdentifier: ascApiKey.keyId,
|
|
252
|
+
keyP8: ascApiKey.keyP8,
|
|
253
|
+
name: ascApiKey.name ?? null,
|
|
254
|
+
roles: ascApiKey.roles?.map(role => convertUserRoleToGraphqlType(role)) ?? null,
|
|
255
|
+
appleTeamId: maybeAppleTeam ? maybeAppleTeam.id : null,
|
|
256
|
+
}, account.id);
|
|
257
|
+
}
|
|
258
|
+
async function getAscApiKeysForAccountAsync(graphqlClient, account) {
|
|
259
|
+
return await AppStoreConnectApiKeyQuery_1.AppStoreConnectApiKeyQuery.getAllForAccountAsync(graphqlClient, account.name);
|
|
260
|
+
}
|
|
261
|
+
async function getAscApiKeyForAppSubmissionsAsync(graphqlClient, appLookupParams) {
|
|
262
|
+
const maybeIosAppCredentials = await getIosAppCredentialsWithCommonFieldsAsync(graphqlClient, appLookupParams);
|
|
263
|
+
return maybeIosAppCredentials?.appStoreConnectApiKeyForSubmissions ?? null;
|
|
264
|
+
}
|
|
265
|
+
async function deleteAscApiKeyAsync(graphqlClient, ascApiKeyId) {
|
|
266
|
+
await AppStoreConnectApiKeyMutation_1.AppStoreConnectApiKeyMutation.deleteAppStoreConnectApiKeyAsync(graphqlClient, ascApiKeyId);
|
|
267
|
+
}
|
|
268
|
+
function convertUserRoleToGraphqlType(userRole) {
|
|
269
|
+
switch (userRole) {
|
|
270
|
+
case apple_utils_1.UserRole.ADMIN:
|
|
271
|
+
return generated_1.AppStoreConnectUserRole.Admin;
|
|
272
|
+
case apple_utils_1.UserRole.ACCESS_TO_REPORTS:
|
|
273
|
+
return generated_1.AppStoreConnectUserRole.AccessToReports;
|
|
274
|
+
case apple_utils_1.UserRole.ACCOUNT_HOLDER:
|
|
275
|
+
return generated_1.AppStoreConnectUserRole.AccountHolder;
|
|
276
|
+
case apple_utils_1.UserRole.APP_MANAGER:
|
|
277
|
+
return generated_1.AppStoreConnectUserRole.AppManager;
|
|
278
|
+
case apple_utils_1.UserRole.CLOUD_MANAGED_APP_DISTRIBUTION:
|
|
279
|
+
return generated_1.AppStoreConnectUserRole.CloudManagedAppDistribution;
|
|
280
|
+
case apple_utils_1.UserRole.CLOUD_MANAGED_DEVELOPER_ID:
|
|
281
|
+
return generated_1.AppStoreConnectUserRole.CloudManagedDeveloperId;
|
|
282
|
+
case apple_utils_1.UserRole.CREATE_APPS:
|
|
283
|
+
return generated_1.AppStoreConnectUserRole.CreateApps;
|
|
284
|
+
case apple_utils_1.UserRole.CUSTOMER_SUPPORT:
|
|
285
|
+
return generated_1.AppStoreConnectUserRole.CustomerSupport;
|
|
286
|
+
case apple_utils_1.UserRole.DEVELOPER:
|
|
287
|
+
return generated_1.AppStoreConnectUserRole.Developer;
|
|
288
|
+
case apple_utils_1.UserRole.FINANCE:
|
|
289
|
+
return generated_1.AppStoreConnectUserRole.Finance;
|
|
290
|
+
case apple_utils_1.UserRole.MARKETING:
|
|
291
|
+
return generated_1.AppStoreConnectUserRole.Marketing;
|
|
292
|
+
case apple_utils_1.UserRole.READ_ONLY:
|
|
293
|
+
return generated_1.AppStoreConnectUserRole.ReadOnly;
|
|
294
|
+
case apple_utils_1.UserRole.SALES:
|
|
295
|
+
return generated_1.AppStoreConnectUserRole.Sales;
|
|
296
|
+
case apple_utils_1.UserRole.TECHNICAL:
|
|
297
|
+
return generated_1.AppStoreConnectUserRole.Technical;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
const formatProjectFullName = ({ account, projectName }) => `@${account.name}/${projectName}`;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { AppStoreConnectApiKeyFragment, AppStoreConnectApiKeyInput } from '../../../../../graphql/generated';
|
|
3
|
+
export declare const AppStoreConnectApiKeyMutation: {
|
|
4
|
+
createAppStoreConnectApiKeyAsync(graphqlClient: ExpoGraphqlClient, appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput, accountId: string): Promise<AppStoreConnectApiKeyFragment>;
|
|
5
|
+
deleteAppStoreConnectApiKeyAsync(graphqlClient: ExpoGraphqlClient, appStoreConnectApiKeyId: string): Promise<void>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppStoreConnectApiKeyMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const graphql_1 = require("graphql");
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
|
+
const client_1 = require("../../../../../graphql/client");
|
|
9
|
+
const AppStoreConnectApiKey_1 = require("../../../../../graphql/types/credentials/AppStoreConnectApiKey");
|
|
10
|
+
exports.AppStoreConnectApiKeyMutation = {
|
|
11
|
+
async createAppStoreConnectApiKeyAsync(graphqlClient, appStoreConnectApiKeyInput, accountId) {
|
|
12
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
13
|
+
.mutation((0, graphql_tag_1.default) `
|
|
14
|
+
mutation CreateAppStoreConnectApiKeyMutation(
|
|
15
|
+
$appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput!
|
|
16
|
+
$accountId: ID!
|
|
17
|
+
) {
|
|
18
|
+
appStoreConnectApiKey {
|
|
19
|
+
createAppStoreConnectApiKey(
|
|
20
|
+
appStoreConnectApiKeyInput: $appStoreConnectApiKeyInput
|
|
21
|
+
accountId: $accountId
|
|
22
|
+
) {
|
|
23
|
+
id
|
|
24
|
+
...AppStoreConnectApiKeyFragment
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
${(0, graphql_1.print)(AppStoreConnectApiKey_1.AppStoreConnectApiKeyFragmentNode)}
|
|
29
|
+
`, {
|
|
30
|
+
appStoreConnectApiKeyInput,
|
|
31
|
+
accountId,
|
|
32
|
+
})
|
|
33
|
+
.toPromise());
|
|
34
|
+
(0, assert_1.default)(data.appStoreConnectApiKey.createAppStoreConnectApiKey, 'GraphQL: `createAppStoreConnectApiKey` not defined in server response');
|
|
35
|
+
return data.appStoreConnectApiKey.createAppStoreConnectApiKey;
|
|
36
|
+
},
|
|
37
|
+
async deleteAppStoreConnectApiKeyAsync(graphqlClient, appStoreConnectApiKeyId) {
|
|
38
|
+
await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
39
|
+
.mutation((0, graphql_tag_1.default) `
|
|
40
|
+
mutation DeleteAppStoreConnectApiKeyMutation($appStoreConnectApiKeyId: ID!) {
|
|
41
|
+
appStoreConnectApiKey {
|
|
42
|
+
deleteAppStoreConnectApiKey(id: $appStoreConnectApiKeyId) {
|
|
43
|
+
id
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`, {
|
|
48
|
+
appStoreConnectApiKeyId,
|
|
49
|
+
}, {
|
|
50
|
+
additionalTypenames: ['AppStoreConnectApiKey', 'IosAppCredentials'],
|
|
51
|
+
})
|
|
52
|
+
.toPromise());
|
|
53
|
+
},
|
|
54
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { AppleAppIdentifierFragment, AppleAppIdentifierInput } from '../../../../../graphql/generated';
|
|
3
|
+
export declare const AppleAppIdentifierMutation: {
|
|
4
|
+
createAppleAppIdentifierAsync(graphqlClient: ExpoGraphqlClient, appleAppIdentifierInput: AppleAppIdentifierInput, accountId: string): Promise<AppleAppIdentifierFragment>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppleAppIdentifierMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const graphql_1 = require("graphql");
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
|
+
const client_1 = require("../../../../../graphql/client");
|
|
9
|
+
const AppleAppIdentifier_1 = require("../../../../../graphql/types/credentials/AppleAppIdentifier");
|
|
10
|
+
exports.AppleAppIdentifierMutation = {
|
|
11
|
+
async createAppleAppIdentifierAsync(graphqlClient, appleAppIdentifierInput, accountId) {
|
|
12
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
13
|
+
.mutation((0, graphql_tag_1.default) `
|
|
14
|
+
mutation CreateAppleAppIdentifierMutation(
|
|
15
|
+
$appleAppIdentifierInput: AppleAppIdentifierInput!
|
|
16
|
+
$accountId: ID!
|
|
17
|
+
) {
|
|
18
|
+
appleAppIdentifier {
|
|
19
|
+
createAppleAppIdentifier(
|
|
20
|
+
appleAppIdentifierInput: $appleAppIdentifierInput
|
|
21
|
+
accountId: $accountId
|
|
22
|
+
) {
|
|
23
|
+
id
|
|
24
|
+
...AppleAppIdentifierFragment
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
${(0, graphql_1.print)(AppleAppIdentifier_1.AppleAppIdentifierFragmentNode)}
|
|
29
|
+
`, {
|
|
30
|
+
appleAppIdentifierInput,
|
|
31
|
+
accountId,
|
|
32
|
+
})
|
|
33
|
+
.toPromise());
|
|
34
|
+
(0, assert_1.default)(data.appleAppIdentifier.createAppleAppIdentifier, 'GraphQL: `createAppleAppIdentifier` not defined in server response');
|
|
35
|
+
return data.appleAppIdentifier.createAppleAppIdentifier;
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { AppleDeviceFragment, AppleDeviceInput, AppleDeviceUpdateInput } from '../../../../../graphql/generated';
|
|
3
|
+
export declare const AppleDeviceMutation: {
|
|
4
|
+
createAppleDeviceAsync(graphqlClient: ExpoGraphqlClient, appleDeviceInput: AppleDeviceInput, accountId: string): Promise<AppleDeviceFragment>;
|
|
5
|
+
deleteAppleDeviceAsync(graphqlClient: ExpoGraphqlClient, deviceId: string): Promise<string>;
|
|
6
|
+
updateAppleDeviceAsync(graphqlClient: ExpoGraphqlClient, id: string, appleDeviceUpdateInput: AppleDeviceUpdateInput): Promise<AppleDeviceFragment>;
|
|
7
|
+
};
|