- specs/: Apple's App Store Connect OpenAPI 4.5.1 and the Google discovery docs for androidpublisher v3 and playdeveloperreporting v1beta1, pinned with URL, date and SHA-256 (specs/SOURCES.json) - tools/gen-api.ts: one row per operation (cli/api/apple.gen.ts 1303, cli/api/play.gen.ts 170), a scan of which operations the commands already call (cli/api/wrapped.gen.ts) and docs/api-coverage.md; CI checks freshness - cli/api/client.ts + types.ts: generic URL / parameter building, retries with Retry-After, pagination, types derived from the rows; auth reuses ascJwt and the Play service account - cli/api/gate.ts: GET runs, writes dry unless --yes in a TTY, owner-only operations need the id typed, nothing written under MCP or serve; MCP gets the read-only api_get - storebound api list | coverage | apple|play <op|METHOD path>; skill store-api, README, CHANGELOG, tests
171 lines
12 KiB
TypeScript
171 lines
12 KiB
TypeScript
// GENERATED by tools/gen-api.ts from a scan of the API calls in cli/ (outside cli/api). Do not edit: run `bun tools/gen-api.ts` (CI checks it is fresh).
|
|
// Operation id -> the source modules (cli/<module>.ts) of storebound commands that already call it.
|
|
export const WRAPPED: { apple: Record<string, string>; play: Record<string, string> } = {
|
|
apple: {
|
|
'ageRatingDeclarations_updateInstance': 'apple/appinfo',
|
|
'analyticsReportInstances_segments_getToManyRelated': 'analytics',
|
|
'analyticsReportRequests_createInstance': 'analytics',
|
|
'analyticsReportRequests_reports_getToManyRelated': 'analytics',
|
|
'analyticsReports_instances_getToManyRelated': 'analytics',
|
|
'appAvailabilitiesV2_createInstance': 'apple/appinfo',
|
|
'appEncryptionDeclarations_getCollection': 'apple/encryption',
|
|
'appInfos_ageRatingDeclaration_getToOneRelated': 'validate',
|
|
'appInfos_appInfoLocalizations_getToManyRelated': 'apple/listing validate',
|
|
'appInfos_updateInstance': 'apple/appinfo',
|
|
'appPreviewSets_appPreviews_getToManyRelated': 'apple/previews',
|
|
'appPreviewSets_createInstance': 'apple/previews',
|
|
'appPreviews_createInstance': 'apple/previews',
|
|
'appPreviews_deleteInstance': 'apple/previews',
|
|
'appPreviews_updateInstance': 'apple/previews',
|
|
'appPriceSchedules_createInstance': 'apple/appinfo',
|
|
'appScreenshotSets_appScreenshots_getToManyRelated': 'apple/ppo apple/screenshots validate',
|
|
'appScreenshotSets_createInstance': 'apple/screenshots',
|
|
'appScreenshots_createInstance': 'apple/screenshots',
|
|
'appScreenshots_deleteInstance': 'apple/screenshots',
|
|
'appScreenshots_updateInstance': 'apple/screenshots',
|
|
'appStoreReviewDetails_createInstance': 'apple/review-details',
|
|
'appStoreReviewDetails_updateInstance': 'apple/review-details',
|
|
'appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated': 'apple/ppo',
|
|
'appStoreVersionExperimentTreatmentLocalizations_createInstance': 'lib/ppo',
|
|
'appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated': 'apple/ppo',
|
|
'appStoreVersionExperimentTreatments_createInstance': 'lib/ppo',
|
|
'appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated': 'apple/ppo',
|
|
'appStoreVersionExperimentsV2_createInstance': 'lib/ppo',
|
|
'appStoreVersionExperimentsV2_updateInstance': 'lib/ppo',
|
|
'appStoreVersionLocalizations_appPreviewSets_getToManyRelated': 'apple/previews',
|
|
'appStoreVersionLocalizations_appScreenshotSets_getToManyRelated': 'apple/screenshots validate',
|
|
'appStoreVersionPhasedReleases_createInstance': 'apple/release',
|
|
'appStoreVersionPhasedReleases_updateInstance': 'apple/release',
|
|
'appStoreVersionReleaseRequests_createInstance': 'apple/release',
|
|
'appStoreVersions_appStoreReviewDetail_getToOneRelated': 'apple/review-details validate',
|
|
'appStoreVersions_appStoreVersionLocalizations_getToManyRelated': 'apple/listing apple/previews apple/screenshots validate',
|
|
'appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated': 'apple/release apple/status',
|
|
'appStoreVersions_build_getToOneRelated': 'validate',
|
|
'appStoreVersions_build_updateToOneRelationship': 'apple/listing',
|
|
'appStoreVersions_createInstance': 'apple/listing',
|
|
'appStoreVersions_updateInstance': 'apple/listing',
|
|
'apps_analyticsReportRequests_getToManyRelated': 'analytics',
|
|
'apps_appAvailabilityV2_getToOneRelated': 'apple/appinfo validate',
|
|
'apps_appInfos_getToManyRelated': 'apple/asc',
|
|
'apps_appPricePoints_getToManyRelated': 'apple/appinfo',
|
|
'apps_appPriceSchedule_getToOneRelated': 'apple/appinfo validate',
|
|
'apps_appStoreVersionExperimentsV2_getToManyRelated': 'apple/ppo',
|
|
'apps_appStoreVersions_getToManyRelated': 'apple/asc apple/release apple/review-details apple/status lib/store-apps validate',
|
|
'apps_betaAppLocalizations_getToManyRelated': 'apple/testflight',
|
|
'apps_betaAppReviewDetail_getToOneRelated': 'apple/testflight',
|
|
'apps_betaFeedbackCrashSubmissions_getToManyRelated': 'health',
|
|
'apps_betaGroups_getToManyRelated': 'apple/testflight',
|
|
'apps_customerReviews_getToManyRelated': 'reviews',
|
|
'apps_getCollection': 'apple/asc apple/bundle apps lib/store-apps',
|
|
'apps_getInstance': 'apple/status',
|
|
'apps_inAppPurchasesV2_getToManyRelated': 'apple/iap apple/iap-review apple/status catalog prices validate',
|
|
'apps_perfPowerMetrics_getToManyRelated': 'health',
|
|
'apps_subscriptionGroups_getToManyRelated': 'apple/subscriptions catalog validate',
|
|
'apps_updateInstance': 'apple/appinfo',
|
|
'betaAppLocalizations_createInstance': 'lib/testflight',
|
|
'betaAppLocalizations_updateInstance': 'lib/testflight',
|
|
'betaAppReviewDetails_updateInstance': 'lib/testflight',
|
|
'betaAppReviewSubmissions_createInstance': 'lib/testflight',
|
|
'betaBuildLocalizations_createInstance': 'lib/testflight',
|
|
'betaBuildLocalizations_updateInstance': 'lib/testflight',
|
|
'betaGroups_betaTesters_createToManyRelationship': 'lib/testflight',
|
|
'betaGroups_betaTesters_deleteToManyRelationship': 'lib/testflight',
|
|
'betaGroups_betaTesters_getToManyRelated': 'apple/testflight',
|
|
'betaGroups_builds_createToManyRelationship': 'lib/testflight',
|
|
'betaGroups_builds_getToManyRelated': 'apple/testflight',
|
|
'betaGroups_createInstance': 'lib/testflight',
|
|
'betaGroups_getCollection': 'apple/testflight',
|
|
'betaTesterInvitations_createInstance': 'lib/testflight',
|
|
'betaTesters_createInstance': 'lib/testflight',
|
|
'betaTesters_getCollection': 'apple/testflight',
|
|
'builds_appEncryptionDeclaration_getToOneRelated': 'validate',
|
|
'builds_betaAppReviewSubmission_getToOneRelated': 'apple/testflight',
|
|
'builds_betaBuildLocalizations_getToManyRelated': 'apple/testflight',
|
|
'builds_diagnosticSignatures_getToManyRelated': 'health',
|
|
'builds_getCollection': 'apple/encryption apple/listing apple/next-build apple/status apple/testflight health lib/store-apps',
|
|
'builds_updateInstance': 'apple/encryption',
|
|
'bundleIds_createInstance': 'apple/bundle',
|
|
'bundleIds_getCollection': 'apple/bundle',
|
|
'customerReviewResponses_createInstance': 'lib/reviews',
|
|
'inAppPurchaseAppStoreReviewScreenshots_createInstance': 'apple/iap-review',
|
|
'inAppPurchaseAppStoreReviewScreenshots_deleteInstance': 'apple/iap-review',
|
|
'inAppPurchaseAppStoreReviewScreenshots_updateInstance': 'apple/iap-review',
|
|
'inAppPurchaseAvailabilities_createInstance': 'apple/iap',
|
|
'inAppPurchaseLocalizations_createInstance': 'apple/iap',
|
|
'inAppPurchasePriceSchedules_automaticPrices_getToManyRelated': 'prices',
|
|
'inAppPurchasePriceSchedules_baseTerritory_getToOneRelated': 'prices',
|
|
'inAppPurchasePriceSchedules_createInstance': 'apple/iap prices',
|
|
'inAppPurchasePriceSchedules_manualPrices_getToManyRelated': 'prices',
|
|
'inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated': 'apple/iap-review validate',
|
|
'inAppPurchasesV2_createInstance': 'apple/iap',
|
|
'inAppPurchasesV2_iapPriceSchedule_getToOneRelated': 'apple/iap catalog',
|
|
'inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated': 'apple/iap',
|
|
'inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated': 'apple/iap catalog',
|
|
'inAppPurchasesV2_pricePoints_getToManyRelated': 'apple/iap prices',
|
|
'reviewSubmissions_getCollection': 'apple/status',
|
|
'reviewSubmissions_updateInstance': 'apple/status',
|
|
'subscriptionAppStoreReviewScreenshots_createInstance': 'apple/subscriptions',
|
|
'subscriptionAppStoreReviewScreenshots_updateInstance': 'apple/subscriptions',
|
|
'subscriptionAvailabilities_createInstance': 'apple/subscriptions',
|
|
'subscriptionGroupLocalizations_createInstance': 'apple/subscriptions',
|
|
'subscriptionGroups_createInstance': 'apple/subscriptions',
|
|
'subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated': 'apple/subscriptions validate',
|
|
'subscriptionGroups_subscriptions_getToManyRelated': 'apple/subscriptions catalog validate',
|
|
'subscriptionLocalizations_createInstance': 'apple/subscriptions',
|
|
'subscriptionOfferCodeCustomCodes_createInstance': 'apple/subscriptions',
|
|
'subscriptionOfferCodes_createInstance': 'apple/subscriptions',
|
|
'subscriptionOfferCodes_customCodes_getToManyRelated': 'apple/subscriptions',
|
|
'subscriptionPricePoints_equalizations_getToManyRelated': 'apple/subscriptions',
|
|
'subscriptionPromotionalOffers_createInstance': 'apple/subscriptions',
|
|
'subscriptions_appStoreReviewScreenshot_getToOneRelated': 'apple/subscriptions validate',
|
|
'subscriptions_createInstance': 'apple/subscriptions',
|
|
'subscriptions_introductoryOffers_getToManyRelated': 'apple/subscriptions catalog',
|
|
'subscriptions_offerCodes_getToManyRelated': 'apple/subscriptions catalog',
|
|
'subscriptions_pricePoints_getToManyRelated': 'apple/subscriptions',
|
|
'subscriptions_prices_getToManyRelated': 'apple/subscriptions catalog',
|
|
'subscriptions_promotionalOffers_getToManyRelated': 'apple/subscriptions catalog',
|
|
'subscriptions_subscriptionAvailability_getToOneRelated': 'apple/subscriptions',
|
|
'subscriptions_subscriptionLocalizations_getToManyRelated': 'apple/subscriptions catalog validate',
|
|
'subscriptions_updateInstance': 'apple/subscriptions',
|
|
'territories_getCollection': 'apple/appinfo apple/iap apple/subscriptions',
|
|
},
|
|
play: {
|
|
'androidpublisher.applications.dataSafety': 'play/data-safety',
|
|
'androidpublisher.edits.apks.list': 'play/next-version-code',
|
|
'androidpublisher.edits.bundles.list': 'play/next-version-code',
|
|
'androidpublisher.edits.bundles.upload': 'play/release',
|
|
'androidpublisher.edits.commit': 'play/client',
|
|
'androidpublisher.edits.delete': 'apps play/client validate',
|
|
'androidpublisher.edits.details.get': 'apps play/listing play/status validate',
|
|
'androidpublisher.edits.details.update': 'play/listing',
|
|
'androidpublisher.edits.images.deleteall': 'play/images',
|
|
'androidpublisher.edits.images.list': 'apps play/images validate',
|
|
'androidpublisher.edits.images.upload': 'play/images',
|
|
'androidpublisher.edits.insert': 'apps play/client validate',
|
|
'androidpublisher.edits.listings.list': 'play/listing play/status validate',
|
|
'androidpublisher.edits.listings.update': 'play/listing',
|
|
'androidpublisher.edits.tracks.get': 'play/rollout',
|
|
'androidpublisher.edits.tracks.list': 'play/next-version-code play/status validate',
|
|
'androidpublisher.edits.tracks.update': 'play/release play/rollout',
|
|
'androidpublisher.edits.validate': 'play/client',
|
|
'androidpublisher.monetization.convertRegionPrices': 'play/products play/subscriptions prices',
|
|
'androidpublisher.monetization.onetimeproducts.get': 'prices',
|
|
'androidpublisher.monetization.onetimeproducts.list': 'play/products',
|
|
'androidpublisher.monetization.onetimeproducts.patch': 'play/products prices',
|
|
'androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates': 'play/products',
|
|
'androidpublisher.monetization.subscriptions.basePlans.activate': 'play/subscriptions',
|
|
'androidpublisher.monetization.subscriptions.basePlans.offers.activate': 'play/subscriptions',
|
|
'androidpublisher.monetization.subscriptions.basePlans.offers.create': 'play/subscriptions',
|
|
'androidpublisher.monetization.subscriptions.basePlans.offers.list': 'catalog play/subscriptions',
|
|
'androidpublisher.monetization.subscriptions.create': 'play/subscriptions',
|
|
'androidpublisher.monetization.subscriptions.list': 'catalog play/subscriptions validate',
|
|
'androidpublisher.monetization.subscriptions.patch': 'play/subscriptions',
|
|
'androidpublisher.reviews.list': 'reviews',
|
|
'androidpublisher.reviews.reply': 'lib/reviews',
|
|
'playdeveloperreporting.apps.search': 'apps lib/store-apps',
|
|
'playdeveloperreporting.vitals.anrrate.query': 'health',
|
|
'playdeveloperreporting.vitals.crashrate.get': 'health',
|
|
'playdeveloperreporting.vitals.crashrate.query': 'health',
|
|
'playdeveloperreporting.vitals.errors.issues.search': 'health',
|
|
},
|
|
};
|