Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge remote-tracking branch 'origin/main' into SALEOR-6404_webhooks_in_manifest
Tomasz Magulskief4b4fa67d90
diff --cc saleor/app/installation_utils.pyindex fe575b5faa,215a94018d..047ffe7438--- a/saleor/app/installation_utils.py+++ b/saleor/app/installation_utils.py@@@ -1,9 -1,9 +1,11 @@@import requests+ from django.conf import settingsfrom django.contrib.sites.models import Site+from django.db import transactionfrom ..core.permissions import get_permission_names+ from ..plugins.manager import PluginsManager+from ..webhook.models import Webhook, WebhookEventfrom .manifest_validations import clean_manifest_datafrom .models import App, AppExtension, AppInstallationfrom .types import AppExtensionTarget, AppTypediff --cc saleor/graphql/schema.graphqlindex 499c9d8106,a04c75f060..7bcdbad252--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@@ -15835,16 -19261,10 +19262,18 @@@ type AppManifestExtensiontarget: AppExtensionTargetEnum!}+type AppManifestWebhook {+ name: String!+ events: [WebhookEventTypeEnum!]!+ query: String!+ targetUrl: String!+ isActive: Boolean!+}+"""- Activate the app. Requires one of the following permissions: MANAGE_APPS.+ Activate the app.++ Requires one of the following permissions: MANAGE_APPS."""type AppActivate {appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")