Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Generate missing schema and types

Pacu2eae883273c18
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 9ffa771f1b..f8728f04c9 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -528,6 +528,24 @@ input CustomerInput {
defaultShippingAddress: AddressInput
}
+type CustomerPasswordReset {
+ errors: [Error]
+}
+
+input CustomerPasswordResetInput {
+ email: String!
+}
+
+type CustomerRegister {
+ errors: [Error]
+ user: User
+}
+
+input CustomerRegisterInput {
+ email: String!
+ password: String!
+}
+
type CustomerUpdate {
errors: [Error]
user: User
@@ -829,6 +847,8 @@ type Mutations {
categoryUpdate(id: ID!, input: CategoryInput!): CategoryUpdate
customerCreate(input: UserCreateInput!): CustomerCreate
customerUpdate(id: ID!, input: CustomerInput!): CustomerUpdate
+ customerPasswordReset(input: CustomerPasswordResetInput!): CustomerPasswordReset
+ customerRegister(input: CustomerRegisterInput!): CustomerRegister
staffCreate(input: StaffCreateInput!): StaffCreate
staffUpdate(id: ID!, input: StaffInput!): StaffUpdate
staffDelete(id: ID!): StaffDelete
@@ -1645,6 +1665,7 @@ type ShippingZone implements Node {
id: ID!
name: String!
countries: [String]
+ default: Boolean!
shippingMethods: [ShippingMethod]
priceRange: MoneyRange
}
@@ -1673,6 +1694,7 @@ type ShippingZoneDelete {
input ShippingZoneInput {
name: String
countries: [String]
+ default: Boolean
}
type ShippingZoneUpdate {