2019-08-12 13:07:51 +00:00
|
|
|
schema {
|
|
|
|
query: Query
|
2019-10-17 15:29:13 +00:00
|
|
|
mutation: Mutation
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AccountAddressCreate {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountAddressDelete {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountAddressUpdate {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type AccountError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: AccountErrorCode!
|
2021-05-06 11:38:15 +00:00
|
|
|
addressType: AddressTypeEnum
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AccountErrorCode {
|
|
|
|
ACTIVATE_OWN_ACCOUNT
|
|
|
|
ACTIVATE_SUPERUSER_ACCOUNT
|
2020-04-23 15:43:08 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
2019-09-26 10:14:07 +00:00
|
|
|
DEACTIVATE_OWN_ACCOUNT
|
|
|
|
DEACTIVATE_SUPERUSER_ACCOUNT
|
|
|
|
DELETE_NON_STAFF_USER
|
|
|
|
DELETE_OWN_ACCOUNT
|
|
|
|
DELETE_STAFF_ACCOUNT
|
|
|
|
DELETE_SUPERUSER_ACCOUNT
|
|
|
|
GRAPHQL_ERROR
|
2020-12-01 13:13:05 +00:00
|
|
|
INACTIVE
|
2019-09-26 10:14:07 +00:00
|
|
|
INVALID
|
|
|
|
INVALID_PASSWORD
|
2020-04-20 11:11:07 +00:00
|
|
|
LEFT_NOT_MANAGEABLE_PERMISSION
|
|
|
|
INVALID_CREDENTIALS
|
2019-09-26 10:14:07 +00:00
|
|
|
NOT_FOUND
|
2020-04-20 11:11:07 +00:00
|
|
|
OUT_OF_SCOPE_USER
|
|
|
|
OUT_OF_SCOPE_GROUP
|
|
|
|
OUT_OF_SCOPE_PERMISSION
|
2019-09-26 10:14:07 +00:00
|
|
|
PASSWORD_ENTIRELY_NUMERIC
|
|
|
|
PASSWORD_TOO_COMMON
|
|
|
|
PASSWORD_TOO_SHORT
|
|
|
|
PASSWORD_TOO_SIMILAR
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2020-07-01 11:11:08 +00:00
|
|
|
JWT_SIGNATURE_EXPIRED
|
|
|
|
JWT_INVALID_TOKEN
|
|
|
|
JWT_DECODE_ERROR
|
|
|
|
JWT_MISSING_TOKEN
|
|
|
|
JWT_INVALID_CSRF_TOKEN
|
2021-05-12 14:17:53 +00:00
|
|
|
CHANNEL_INACTIVE
|
|
|
|
MISSING_CHANNEL_SLUG
|
2021-10-19 08:38:54 +00:00
|
|
|
ACCOUNT_NOT_CONFIRMED
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input AccountInput {
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
2021-09-27 14:06:21 +00:00
|
|
|
languageCode: LanguageCodeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
defaultBillingAddress: AddressInput
|
|
|
|
defaultShippingAddress: AddressInput
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountRegister {
|
2019-12-30 12:55:37 +00:00
|
|
|
requiresConfirmation: Boolean
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
input AccountRegisterInput {
|
2021-09-27 14:06:21 +00:00
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
languageCode: LanguageCodeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
email: String!
|
|
|
|
password: String!
|
2020-03-03 11:20:39 +00:00
|
|
|
redirectUrl: String
|
2021-04-26 07:49:55 +00:00
|
|
|
metadata: [MetadataInput!]
|
2021-05-12 14:17:53 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AccountRequestDeletion {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AccountSetDefaultAddress {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AccountUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
type Address implements Node {
|
|
|
|
id: ID!
|
|
|
|
firstName: String!
|
|
|
|
lastName: String!
|
|
|
|
companyName: String!
|
|
|
|
streetAddress1: String!
|
|
|
|
streetAddress2: String!
|
|
|
|
city: String!
|
|
|
|
cityArea: String!
|
|
|
|
postalCode: String!
|
|
|
|
country: CountryDisplay!
|
|
|
|
countryArea: String!
|
|
|
|
phone: String
|
|
|
|
isDefaultShippingAddress: Boolean
|
|
|
|
isDefaultBillingAddress: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddressCreate {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddressDelete {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
input AddressInput {
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
companyName: String
|
|
|
|
streetAddress1: String
|
|
|
|
streetAddress2: String
|
|
|
|
city: String
|
|
|
|
cityArea: String
|
|
|
|
postalCode: String
|
2019-10-25 12:18:52 +00:00
|
|
|
country: CountryCode
|
2019-08-12 13:07:51 +00:00
|
|
|
countryArea: String
|
|
|
|
phone: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddressSetDefault {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AddressTypeEnum {
|
|
|
|
BILLING
|
|
|
|
SHIPPING
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddressUpdate {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
address: Address
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddressValidationData {
|
|
|
|
countryCode: String
|
|
|
|
countryName: String
|
|
|
|
addressFormat: String
|
|
|
|
addressLatinFormat: String
|
|
|
|
allowedFields: [String]
|
|
|
|
requiredFields: [String]
|
|
|
|
upperFields: [String]
|
|
|
|
countryAreaType: String
|
|
|
|
countryAreaChoices: [ChoiceValue]
|
|
|
|
cityType: String
|
|
|
|
cityChoices: [ChoiceValue]
|
|
|
|
cityAreaType: String
|
|
|
|
cityAreaChoices: [ChoiceValue]
|
|
|
|
postalCodeType: String
|
|
|
|
postalCodeMatchers: [String]
|
|
|
|
postalCodeExamples: [String]
|
|
|
|
postalCodePrefix: String
|
|
|
|
}
|
|
|
|
|
2020-11-12 13:47:44 +00:00
|
|
|
type Allocation implements Node {
|
|
|
|
id: ID!
|
|
|
|
quantity: Int!
|
|
|
|
warehouse: Warehouse!
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type App implements Node & ObjectWithMetadata {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
created: DateTime
|
|
|
|
isActive: Boolean
|
|
|
|
permissions: [Permission]
|
|
|
|
tokens: [AppToken]
|
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2020-07-22 10:54:15 +00:00
|
|
|
type: AppTypeEnum
|
2020-04-22 14:41:07 +00:00
|
|
|
webhooks: [Webhook]
|
2020-07-22 10:54:15 +00:00
|
|
|
aboutApp: String
|
|
|
|
dataPrivacy: String
|
|
|
|
dataPrivacyUrl: String
|
|
|
|
homepageUrl: String
|
|
|
|
supportUrl: String
|
|
|
|
configurationUrl: String
|
|
|
|
appUrl: String
|
|
|
|
version: String
|
|
|
|
accessToken: String
|
2021-08-20 13:58:53 +00:00
|
|
|
extensions: [AppExtension!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AppActivate {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
app: App
|
2020-04-22 14:41:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AppCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [AppCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppCountableEdge {
|
|
|
|
node: App!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppCreate {
|
|
|
|
authToken: String
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
app: App
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type AppDeactivate {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
app: App
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type AppDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
app: App
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type AppDeleteFailedInstallation {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
appInstallation: AppInstallation
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type AppError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: AppErrorCode!
|
|
|
|
permissions: [PermissionEnum!]
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AppErrorCode {
|
2020-07-22 10:54:15 +00:00
|
|
|
FORBIDDEN
|
2020-04-22 14:41:07 +00:00
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
2020-07-22 10:54:15 +00:00
|
|
|
INVALID_STATUS
|
|
|
|
INVALID_PERMISSION
|
|
|
|
INVALID_URL_FORMAT
|
|
|
|
INVALID_MANIFEST_FORMAT
|
|
|
|
MANIFEST_URL_CANT_CONNECT
|
2020-04-22 14:41:07 +00:00
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
OUT_OF_SCOPE_APP
|
|
|
|
OUT_OF_SCOPE_PERMISSION
|
|
|
|
}
|
|
|
|
|
2021-08-20 13:58:53 +00:00
|
|
|
type AppExtension implements Node {
|
|
|
|
id: ID!
|
|
|
|
app: App!
|
|
|
|
label: String!
|
|
|
|
url: String!
|
|
|
|
view: AppExtensionViewEnum!
|
|
|
|
type: AppExtensionTypeEnum!
|
|
|
|
target: AppExtensionTargetEnum!
|
|
|
|
permissions: [Permission!]!
|
|
|
|
accessToken: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppExtensionCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [AppExtensionCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppExtensionCountableEdge {
|
|
|
|
node: AppExtension!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input AppExtensionFilterInput {
|
|
|
|
view: AppExtensionViewEnum
|
|
|
|
type: AppExtensionTypeEnum
|
|
|
|
target: AppExtensionTargetEnum
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AppExtensionTargetEnum {
|
|
|
|
MORE_ACTIONS
|
|
|
|
CREATE
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AppExtensionTypeEnum {
|
|
|
|
OVERVIEW
|
|
|
|
DETAILS
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AppExtensionViewEnum {
|
|
|
|
PRODUCT
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type AppFetchManifest {
|
|
|
|
manifest: Manifest
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
input AppFilterInput {
|
|
|
|
search: String
|
|
|
|
isActive: Boolean
|
2020-07-22 10:54:15 +00:00
|
|
|
type: AppTypeEnum
|
2020-04-22 14:41:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input AppInput {
|
|
|
|
name: String
|
|
|
|
permissions: [PermissionEnum]
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type AppInstall {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
appInstallation: AppInstallation
|
|
|
|
}
|
|
|
|
|
|
|
|
input AppInstallInput {
|
|
|
|
appName: String
|
|
|
|
manifestUrl: String
|
|
|
|
activateAfterInstallation: Boolean = true
|
|
|
|
permissions: [PermissionEnum]
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppInstallation implements Node & Job {
|
|
|
|
appName: String!
|
|
|
|
manifestUrl: String!
|
|
|
|
id: ID!
|
2020-08-11 11:53:04 +00:00
|
|
|
status: JobStatusEnum!
|
|
|
|
createdAt: DateTime!
|
|
|
|
updatedAt: DateTime!
|
|
|
|
message: String
|
2020-07-22 10:54:15 +00:00
|
|
|
}
|
|
|
|
|
2021-08-20 13:58:53 +00:00
|
|
|
type AppManifestExtension {
|
|
|
|
permissions: [Permission!]!
|
|
|
|
label: String!
|
|
|
|
url: String!
|
|
|
|
view: AppExtensionViewEnum!
|
|
|
|
type: AppExtensionTypeEnum!
|
|
|
|
target: AppExtensionTargetEnum!
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type AppRetryInstall {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
appInstallation: AppInstallation
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
enum AppSortField {
|
|
|
|
NAME
|
|
|
|
CREATION_DATE
|
|
|
|
}
|
|
|
|
|
|
|
|
input AppSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: AppSortField!
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppToken implements Node {
|
|
|
|
name: String
|
|
|
|
authToken: String
|
|
|
|
id: ID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppTokenCreate {
|
|
|
|
authToken: String
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
appToken: AppToken
|
|
|
|
}
|
|
|
|
|
|
|
|
type AppTokenDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
appToken: AppToken
|
|
|
|
}
|
|
|
|
|
|
|
|
input AppTokenInput {
|
|
|
|
name: String
|
|
|
|
app: ID!
|
|
|
|
}
|
|
|
|
|
2020-06-10 13:39:10 +00:00
|
|
|
type AppTokenVerify {
|
|
|
|
valid: Boolean!
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-06-10 13:39:10 +00:00
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
enum AppTypeEnum {
|
|
|
|
LOCAL
|
|
|
|
THIRDPARTY
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type AppUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
appErrors: [AppError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AppError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
app: App
|
|
|
|
}
|
|
|
|
|
2021-04-29 08:58:03 +00:00
|
|
|
enum AreaUnitsEnum {
|
|
|
|
SQ_CM
|
|
|
|
SQ_M
|
|
|
|
SQ_KM
|
|
|
|
SQ_FT
|
|
|
|
SQ_YD
|
|
|
|
SQ_INCH
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AssignNavigation {
|
|
|
|
menu: Menu
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-10-19 08:38:54 +00:00
|
|
|
type AssignedVariantAttribute {
|
|
|
|
attribute: Attribute!
|
|
|
|
variantSelection: Boolean!
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Attribute implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
2022-01-25 12:44:19 +00:00
|
|
|
productTypes(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductTypeCountableConnection!
|
|
|
|
productVariantTypes(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductTypeCountableConnection!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
inputType: AttributeInputTypeEnum
|
2021-01-07 11:01:24 +00:00
|
|
|
entityType: AttributeEntityTypeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String
|
|
|
|
slug: String
|
2020-11-19 14:42:14 +00:00
|
|
|
type: AttributeTypeEnum
|
2021-04-29 08:58:03 +00:00
|
|
|
unit: MeasurementUnitsEnum
|
2022-01-25 12:44:19 +00:00
|
|
|
choices(
|
|
|
|
sortBy: AttributeChoicesSortingInput
|
|
|
|
filter: AttributeValueFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AttributeValueCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
valueRequired: Boolean!
|
|
|
|
visibleInStorefront: Boolean!
|
|
|
|
filterableInStorefront: Boolean!
|
|
|
|
filterableInDashboard: Boolean!
|
|
|
|
availableInGrid: Boolean!
|
|
|
|
translation(languageCode: LanguageCodeEnum!): AttributeTranslation
|
|
|
|
storefrontSearchPosition: Int!
|
2021-08-05 09:26:17 +00:00
|
|
|
withChoices: Boolean!
|
2022-01-25 12:44:19 +00:00
|
|
|
productTypes(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductTypeCountableConnection!
|
|
|
|
productVariantTypes(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductTypeCountableConnection!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-06-02 19:11:30 +00:00
|
|
|
enum AttributeChoicesSortField {
|
|
|
|
NAME
|
|
|
|
SLUG
|
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeChoicesSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: AttributeChoicesSortField!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AttributeCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [AttributeCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeCountableEdge {
|
|
|
|
node: Attribute!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeCreate {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeCreateInput {
|
|
|
|
inputType: AttributeInputTypeEnum
|
2021-01-07 11:01:24 +00:00
|
|
|
entityType: AttributeEntityTypeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String!
|
|
|
|
slug: String
|
2020-11-19 14:42:14 +00:00
|
|
|
type: AttributeTypeEnum!
|
2021-04-29 08:58:03 +00:00
|
|
|
unit: MeasurementUnitsEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
values: [AttributeValueCreateInput]
|
|
|
|
valueRequired: Boolean
|
|
|
|
isVariantOnly: Boolean
|
|
|
|
visibleInStorefront: Boolean
|
|
|
|
filterableInStorefront: Boolean
|
|
|
|
filterableInDashboard: Boolean
|
|
|
|
storefrontSearchPosition: Int
|
|
|
|
availableInGrid: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attribute: Attribute
|
|
|
|
}
|
|
|
|
|
2021-01-07 11:01:24 +00:00
|
|
|
enum AttributeEntityTypeEnum {
|
|
|
|
PAGE
|
2021-01-20 16:37:36 +00:00
|
|
|
PRODUCT
|
2021-01-07 11:01:24 +00:00
|
|
|
}
|
|
|
|
|
2020-11-19 14:42:14 +00:00
|
|
|
type AttributeError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: AttributeErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AttributeErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input AttributeFilterInput {
|
|
|
|
valueRequired: Boolean
|
|
|
|
isVariantOnly: Boolean
|
|
|
|
visibleInStorefront: Boolean
|
|
|
|
filterableInStorefront: Boolean
|
|
|
|
filterableInDashboard: Boolean
|
|
|
|
availableInGrid: Boolean
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-08-12 13:07:51 +00:00
|
|
|
search: String
|
2019-08-28 14:53:57 +00:00
|
|
|
ids: [ID]
|
2020-11-19 14:42:14 +00:00
|
|
|
type: AttributeTypeEnum
|
2019-09-26 15:06:14 +00:00
|
|
|
inCollection: ID
|
|
|
|
inCategory: ID
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeInput {
|
|
|
|
slug: String!
|
2020-01-17 15:16:05 +00:00
|
|
|
values: [String]
|
2021-04-29 08:58:03 +00:00
|
|
|
valuesRange: IntRangeInput
|
2021-07-29 12:15:14 +00:00
|
|
|
dateTime: DateTimeRangeInput
|
|
|
|
date: DateRangeInput
|
2021-06-19 23:13:16 +00:00
|
|
|
boolean: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AttributeInputTypeEnum {
|
|
|
|
DROPDOWN
|
|
|
|
MULTISELECT
|
2020-12-16 10:53:28 +00:00
|
|
|
FILE
|
2021-01-07 11:01:24 +00:00
|
|
|
REFERENCE
|
2021-04-29 08:58:03 +00:00
|
|
|
NUMERIC
|
2021-04-09 07:51:49 +00:00
|
|
|
RICH_TEXT
|
2021-09-21 13:16:21 +00:00
|
|
|
SWATCH
|
2021-06-19 23:13:16 +00:00
|
|
|
BOOLEAN
|
2021-07-29 12:15:14 +00:00
|
|
|
DATE
|
|
|
|
DATE_TIME
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeReorderValues {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AttributeSortField {
|
|
|
|
NAME
|
|
|
|
SLUG
|
|
|
|
VALUE_REQUIRED
|
|
|
|
IS_VARIANT_ONLY
|
|
|
|
VISIBLE_IN_STOREFRONT
|
|
|
|
FILTERABLE_IN_STOREFRONT
|
|
|
|
FILTERABLE_IN_DASHBOARD
|
|
|
|
STOREFRONT_SEARCH_POSITION
|
|
|
|
AVAILABLE_IN_GRID
|
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: AttributeSortField!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type AttributeTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
translation(languageCode: LanguageCodeEnum!): AttributeTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
attribute: Attribute
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AttributeTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attribute: Attribute
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum AttributeTypeEnum {
|
2020-11-19 14:42:14 +00:00
|
|
|
PRODUCT_TYPE
|
|
|
|
PAGE_TYPE
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeUpdate {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeUpdateInput {
|
|
|
|
name: String
|
|
|
|
slug: String
|
2021-04-29 08:58:03 +00:00
|
|
|
unit: MeasurementUnitsEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
removeValues: [ID]
|
2021-09-21 13:16:21 +00:00
|
|
|
addValues: [AttributeValueUpdateInput]
|
2019-08-12 13:07:51 +00:00
|
|
|
valueRequired: Boolean
|
|
|
|
isVariantOnly: Boolean
|
|
|
|
visibleInStorefront: Boolean
|
|
|
|
filterableInStorefront: Boolean
|
|
|
|
filterableInDashboard: Boolean
|
|
|
|
storefrontSearchPosition: Int
|
|
|
|
availableInGrid: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeValue implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
slug: String
|
2021-04-16 12:33:14 +00:00
|
|
|
value: String
|
2019-08-12 13:07:51 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
|
|
|
|
inputType: AttributeInputTypeEnum
|
2021-01-07 11:01:24 +00:00
|
|
|
reference: ID
|
2020-12-16 10:53:28 +00:00
|
|
|
file: File
|
2021-04-09 07:51:49 +00:00
|
|
|
richText: JSONString
|
2021-06-19 23:13:16 +00:00
|
|
|
boolean: Boolean
|
2021-07-29 12:15:14 +00:00
|
|
|
date: Date
|
|
|
|
dateTime: DateTime
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeValueBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-05-24 11:01:18 +00:00
|
|
|
type AttributeValueCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [AttributeValueCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeValueCountableEdge {
|
|
|
|
node: AttributeValue!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AttributeValueCreate {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attributeValue: AttributeValue
|
|
|
|
}
|
|
|
|
|
|
|
|
input AttributeValueCreateInput {
|
2021-03-29 10:28:59 +00:00
|
|
|
value: String
|
2021-04-09 07:51:49 +00:00
|
|
|
richText: JSONString
|
2021-09-21 13:16:21 +00:00
|
|
|
fileUrl: String
|
|
|
|
contentType: String
|
|
|
|
name: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeValueDelete {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attributeValue: AttributeValue
|
|
|
|
}
|
|
|
|
|
2021-05-28 09:59:25 +00:00
|
|
|
input AttributeValueFilterInput {
|
|
|
|
search: String
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input AttributeValueInput {
|
|
|
|
id: ID
|
2021-07-01 11:20:01 +00:00
|
|
|
values: [String!]
|
2020-12-16 10:53:28 +00:00
|
|
|
file: String
|
|
|
|
contentType: String
|
2021-01-07 11:01:24 +00:00
|
|
|
references: [ID!]
|
2021-04-09 07:51:49 +00:00
|
|
|
richText: JSONString
|
2021-06-19 23:13:16 +00:00
|
|
|
boolean: Boolean
|
2021-07-29 12:15:14 +00:00
|
|
|
date: Date
|
|
|
|
dateTime: DateTime
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type AttributeValueTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
2021-08-05 09:26:17 +00:00
|
|
|
richText: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeValue: AttributeValue
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AttributeValueTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attributeValue: AttributeValue
|
|
|
|
}
|
|
|
|
|
|
|
|
type AttributeValueTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
2021-04-09 07:51:49 +00:00
|
|
|
richText: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
2021-04-09 07:51:49 +00:00
|
|
|
input AttributeValueTranslationInput {
|
|
|
|
name: String
|
|
|
|
richText: JSONString
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type AttributeValueUpdate {
|
|
|
|
attribute: Attribute
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeErrors: [AttributeError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AttributeError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
attributeValue: AttributeValue
|
|
|
|
}
|
|
|
|
|
2021-09-21 13:16:21 +00:00
|
|
|
input AttributeValueUpdateInput {
|
|
|
|
value: String
|
|
|
|
richText: JSONString
|
|
|
|
fileUrl: String
|
|
|
|
contentType: String
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
2020-12-16 10:53:28 +00:00
|
|
|
input BulkAttributeValueInput {
|
|
|
|
id: ID
|
2021-07-29 12:15:14 +00:00
|
|
|
values: [String!]
|
|
|
|
boolean: Boolean
|
2020-12-16 10:53:28 +00:00
|
|
|
}
|
|
|
|
|
2019-09-26 15:06:14 +00:00
|
|
|
type BulkProductError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: ProductErrorCode!
|
2020-10-03 09:52:59 +00:00
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
2019-09-26 15:06:14 +00:00
|
|
|
index: Int
|
2020-04-22 14:41:07 +00:00
|
|
|
warehouses: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2020-03-09 14:59:58 +00:00
|
|
|
type BulkStockError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ProductErrorCode!
|
2020-10-03 09:52:59 +00:00
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
2020-03-09 14:59:58 +00:00
|
|
|
index: Int
|
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
input CardInput {
|
|
|
|
code: String!
|
|
|
|
cvc: String
|
|
|
|
money: MoneyInput!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input CatalogueInput {
|
|
|
|
products: [ID]
|
|
|
|
categories: [ID]
|
|
|
|
collections: [ID]
|
2021-09-30 12:51:13 +00:00
|
|
|
variants: [ID]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Category implements Node & ObjectWithMetadata {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
slug: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
parent: Category
|
|
|
|
level: Int!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
|
|
|
ancestors(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CategoryCountableConnection
|
|
|
|
products(
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
|
|
|
children(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CategoryCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
backgroundImage(size: Int): Image
|
|
|
|
translation(languageCode: LanguageCodeEnum!): CategoryTranslation
|
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [CategoryCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryCountableEdge {
|
|
|
|
node: Category!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
category: Category
|
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
category: Category
|
|
|
|
}
|
|
|
|
|
2019-09-10 11:28:18 +00:00
|
|
|
input CategoryFilterInput {
|
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2020-01-17 15:16:05 +00:00
|
|
|
ids: [ID]
|
2019-09-10 11:28:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input CategoryInput {
|
2021-01-22 11:13:40 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String
|
|
|
|
slug: String
|
|
|
|
seo: SeoInput
|
|
|
|
backgroundImage: Upload
|
|
|
|
backgroundImageAlt: String
|
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum CategorySortField {
|
|
|
|
NAME
|
|
|
|
PRODUCT_COUNT
|
|
|
|
SUBCATEGORY_COUNT
|
|
|
|
}
|
|
|
|
|
|
|
|
input CategorySortingInput {
|
|
|
|
direction: OrderDirection!
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2020-01-17 15:16:05 +00:00
|
|
|
field: CategorySortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type CategoryTranslatableContent implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-11-27 10:00:36 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): CategoryTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
category: Category
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type CategoryTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
category: Category
|
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryTranslation implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
2021-06-02 19:11:30 +00:00
|
|
|
name: String
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CategoryUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
category: Category
|
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type Channel implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
isActive: Boolean!
|
|
|
|
slug: String!
|
|
|
|
currencyCode: String!
|
2020-12-21 12:50:04 +00:00
|
|
|
hasOrders: Boolean!
|
2021-08-25 10:45:23 +00:00
|
|
|
defaultCountry: CountryDisplay!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelActivate {
|
|
|
|
channel: Channel
|
2022-01-25 12:44:19 +00:00
|
|
|
channelErrors: [ChannelError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ChannelError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
channelErrors: [ChannelError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ChannelError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: Channel
|
|
|
|
}
|
|
|
|
|
|
|
|
input ChannelCreateInput {
|
|
|
|
isActive: Boolean
|
|
|
|
name: String!
|
|
|
|
slug: String!
|
|
|
|
currencyCode: String!
|
2021-08-25 10:45:23 +00:00
|
|
|
defaultCountry: CountryCode!
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
addShippingZones: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelDeactivate {
|
|
|
|
channel: Channel
|
2022-01-25 12:44:19 +00:00
|
|
|
channelErrors: [ChannelError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ChannelError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
channelErrors: [ChannelError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ChannelError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: Channel
|
|
|
|
}
|
|
|
|
|
|
|
|
input ChannelDeleteInput {
|
2021-06-01 12:25:43 +00:00
|
|
|
channelId: ID!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ChannelErrorCode!
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
shippingZones: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ChannelErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
CHANNELS_CURRENCY_MUST_BE_THE_SAME
|
2020-12-21 12:50:04 +00:00
|
|
|
CHANNEL_WITH_ORDERS
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
channelErrors: [ChannelError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ChannelError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: Channel
|
|
|
|
}
|
|
|
|
|
|
|
|
input ChannelUpdateInput {
|
|
|
|
isActive: Boolean
|
|
|
|
name: String
|
|
|
|
slug: String
|
2021-08-25 10:45:23 +00:00
|
|
|
defaultCountry: CountryCode
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
addShippingZones: [ID!]
|
|
|
|
removeShippingZones: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Checkout implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
created: DateTime!
|
|
|
|
lastChange: DateTime!
|
|
|
|
user: User
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: Channel!
|
2019-08-12 13:07:51 +00:00
|
|
|
billingAddress: Address
|
|
|
|
shippingAddress: Address
|
|
|
|
note: String!
|
2019-08-28 14:53:57 +00:00
|
|
|
discount: Money
|
2019-08-12 13:07:51 +00:00
|
|
|
discountName: String
|
|
|
|
translatedDiscountName: String
|
|
|
|
voucherCode: String
|
|
|
|
giftCards: [GiftCard]
|
|
|
|
id: ID!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
availableShippingMethods: [ShippingMethod]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `shippingMethods` instead."
|
|
|
|
)
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethods: [ShippingMethod]!
|
2021-08-27 08:10:41 +00:00
|
|
|
availableCollectionPoints: [Warehouse!]!
|
2020-06-10 13:39:10 +00:00
|
|
|
availablePaymentGateways: [PaymentGateway!]!
|
2022-01-24 13:50:17 +00:00
|
|
|
email: String
|
2019-08-12 13:07:51 +00:00
|
|
|
isShippingRequired: Boolean!
|
2021-05-12 14:17:53 +00:00
|
|
|
quantity: Int!
|
2021-10-13 11:35:00 +00:00
|
|
|
stockReservationExpires: DateTime
|
2019-08-12 13:07:51 +00:00
|
|
|
lines: [CheckoutLine]
|
|
|
|
shippingPrice: TaxedMoney
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingMethod: ShippingMethod
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `deliveryMethod` instead."
|
|
|
|
)
|
2021-08-27 08:10:41 +00:00
|
|
|
deliveryMethod: DeliveryMethod
|
2019-08-12 13:07:51 +00:00
|
|
|
subtotalPrice: TaxedMoney
|
2020-06-10 13:39:10 +00:00
|
|
|
token: UUID!
|
2019-08-12 13:07:51 +00:00
|
|
|
totalPrice: TaxedMoney
|
2021-04-16 12:33:14 +00:00
|
|
|
languageCode: LanguageCodeEnum!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutAddPromoCode {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutBillingAddressUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutComplete {
|
|
|
|
order: Order
|
2020-03-03 11:20:39 +00:00
|
|
|
confirmationNeeded: Boolean!
|
2020-08-26 10:33:03 +00:00
|
|
|
confirmationData: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [CheckoutCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutCountableEdge {
|
|
|
|
node: Checkout!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
created: Boolean
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Always returns `True`."
|
|
|
|
)
|
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
checkout: Checkout
|
|
|
|
}
|
|
|
|
|
|
|
|
input CheckoutCreateInput {
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
lines: [CheckoutLineInput]!
|
|
|
|
email: String
|
|
|
|
shippingAddress: AddressInput
|
|
|
|
billingAddress: AddressInput
|
2021-04-16 12:33:14 +00:00
|
|
|
languageCode: LanguageCodeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutCustomerAttach {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutCustomerDetach {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-08-27 08:10:41 +00:00
|
|
|
type CheckoutDeliveryMethodUpdate {
|
|
|
|
checkout: Checkout
|
|
|
|
errors: [CheckoutError!]!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type CheckoutEmailUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: CheckoutErrorCode!
|
2020-09-03 10:25:16 +00:00
|
|
|
variants: [ID!]
|
2021-12-13 14:43:30 +00:00
|
|
|
lines: [ID!]
|
2021-05-06 11:38:15 +00:00
|
|
|
addressType: AddressTypeEnum
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum CheckoutErrorCode {
|
|
|
|
BILLING_ADDRESS_NOT_SET
|
|
|
|
CHECKOUT_NOT_FULLY_PAID
|
|
|
|
GRAPHQL_ERROR
|
2020-06-10 13:39:10 +00:00
|
|
|
PRODUCT_NOT_PUBLISHED
|
2020-09-03 10:25:16 +00:00
|
|
|
PRODUCT_UNAVAILABLE_FOR_PURCHASE
|
2019-09-26 10:14:07 +00:00
|
|
|
INSUFFICIENT_STOCK
|
|
|
|
INVALID
|
|
|
|
INVALID_SHIPPING_METHOD
|
|
|
|
NOT_FOUND
|
|
|
|
PAYMENT_ERROR
|
|
|
|
QUANTITY_GREATER_THAN_LIMIT
|
|
|
|
REQUIRED
|
|
|
|
SHIPPING_ADDRESS_NOT_SET
|
|
|
|
SHIPPING_METHOD_NOT_APPLICABLE
|
2021-08-27 08:10:41 +00:00
|
|
|
DELIVERY_METHOD_NOT_APPLICABLE
|
2019-09-26 10:14:07 +00:00
|
|
|
SHIPPING_METHOD_NOT_SET
|
|
|
|
SHIPPING_NOT_REQUIRED
|
|
|
|
TAX_ERROR
|
|
|
|
UNIQUE
|
|
|
|
VOUCHER_NOT_APPLICABLE
|
2021-09-14 13:57:02 +00:00
|
|
|
GIFT_CARD_NOT_APPLICABLE
|
2019-09-26 10:14:07 +00:00
|
|
|
ZERO_QUANTITY
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
MISSING_CHANNEL_SLUG
|
|
|
|
CHANNEL_INACTIVE
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
UNAVAILABLE_VARIANT_IN_CHANNEL
|
2022-01-24 13:50:17 +00:00
|
|
|
EMAIL_NOT_SET
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
input CheckoutFilterInput {
|
|
|
|
customer: String
|
|
|
|
created: DateRangeInput
|
|
|
|
search: String
|
|
|
|
metadata: [MetadataFilter]
|
|
|
|
channels: [ID]
|
|
|
|
}
|
|
|
|
|
2021-03-31 13:11:58 +00:00
|
|
|
type CheckoutLanguageCodeUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2021-03-31 13:11:58 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type CheckoutLine implements Node {
|
|
|
|
id: ID!
|
|
|
|
variant: ProductVariant!
|
|
|
|
quantity: Int!
|
|
|
|
totalPrice: TaxedMoney
|
|
|
|
requiresShipping: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutLineCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [CheckoutLineCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutLineCountableEdge {
|
|
|
|
node: CheckoutLine!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutLineDelete {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input CheckoutLineInput {
|
|
|
|
quantity: Int!
|
|
|
|
variantId: ID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutLinesAdd {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
type CheckoutLinesDelete {
|
|
|
|
checkout: Checkout
|
|
|
|
errors: [CheckoutError!]!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type CheckoutLinesUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutPaymentCreate {
|
|
|
|
checkout: Checkout
|
|
|
|
payment: Payment
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PaymentError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutRemovePromoCode {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutShippingAddressUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CheckoutShippingMethodUpdate {
|
|
|
|
checkout: Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutErrors: [CheckoutError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CheckoutError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
enum CheckoutSortField {
|
|
|
|
CREATION_DATE
|
|
|
|
CUSTOMER
|
|
|
|
PAYMENT
|
|
|
|
}
|
|
|
|
|
|
|
|
input CheckoutSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: CheckoutSortField!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ChoiceValue {
|
|
|
|
raw: String
|
|
|
|
verbose: String
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Collection implements Node & ObjectWithMetadata {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
slug: String!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2021-09-27 14:06:21 +00:00
|
|
|
channel: String
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
|
|
|
products(
|
|
|
|
filter: ProductFilterInput
|
|
|
|
sortBy: ProductOrder
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
backgroundImage(size: Int): Image
|
|
|
|
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelListings: [CollectionChannelListing!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionAddProducts {
|
|
|
|
collection: Collection
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type CollectionChannelListing implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
publicationDate: Date
|
|
|
|
isPublished: Boolean!
|
|
|
|
channel: Channel!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionChannelListingError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ProductErrorCode!
|
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionChannelListingUpdate {
|
|
|
|
collection: Collection
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionChannelListingErrors: [CollectionChannelListingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionChannelListingError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input CollectionChannelListingUpdateInput {
|
|
|
|
addChannels: [PublishableChannelListingInput!]
|
|
|
|
removeChannels: [ID!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [CollectionCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionCountableEdge {
|
|
|
|
node: Collection!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
collection: Collection
|
|
|
|
}
|
|
|
|
|
|
|
|
input CollectionCreateInput {
|
|
|
|
isPublished: Boolean
|
|
|
|
name: String
|
|
|
|
slug: String
|
2021-01-22 11:13:40 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
backgroundImage: Upload
|
|
|
|
backgroundImageAlt: String
|
|
|
|
seo: SeoInput
|
|
|
|
publicationDate: Date
|
|
|
|
products: [ID]
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
collection: Collection
|
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type CollectionError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
products: [ID!]
|
|
|
|
code: CollectionErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum CollectionErrorCode {
|
|
|
|
DUPLICATED_INPUT_ITEM
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input CollectionFilterInput {
|
|
|
|
published: CollectionPublished
|
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2020-01-17 15:16:05 +00:00
|
|
|
ids: [ID]
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input CollectionInput {
|
|
|
|
isPublished: Boolean
|
|
|
|
name: String
|
|
|
|
slug: String
|
2021-01-22 11:13:40 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
backgroundImage: Upload
|
|
|
|
backgroundImageAlt: String
|
|
|
|
seo: SeoInput
|
|
|
|
publicationDate: Date
|
|
|
|
}
|
|
|
|
|
|
|
|
enum CollectionPublished {
|
|
|
|
PUBLISHED
|
|
|
|
HIDDEN
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionRemoveProducts {
|
|
|
|
collection: Collection
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionReorderProducts {
|
|
|
|
collection: Collection
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum CollectionSortField {
|
|
|
|
NAME
|
|
|
|
AVAILABILITY
|
|
|
|
PRODUCT_COUNT
|
2020-10-20 11:20:55 +00:00
|
|
|
PUBLICATION_DATE
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input CollectionSortingInput {
|
|
|
|
direction: OrderDirection!
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2020-01-17 15:16:05 +00:00
|
|
|
field: CollectionSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type CollectionTranslatableContent implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-11-27 10:00:36 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
collection: Collection
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type CollectionTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
collection: Collection
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionTranslation implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
2021-06-02 19:11:30 +00:00
|
|
|
name: String
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionErrors: [CollectionError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [CollectionError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
collection: Collection
|
|
|
|
}
|
|
|
|
|
|
|
|
type ConfigurationItem {
|
|
|
|
name: String!
|
2019-11-07 12:07:12 +00:00
|
|
|
value: String
|
2019-08-12 13:07:51 +00:00
|
|
|
type: ConfigurationTypeFieldEnum
|
|
|
|
helpText: String
|
|
|
|
label: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input ConfigurationItemInput {
|
|
|
|
name: String!
|
2019-11-27 10:00:36 +00:00
|
|
|
value: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ConfigurationTypeFieldEnum {
|
|
|
|
STRING
|
2021-03-31 13:11:58 +00:00
|
|
|
MULTILINE
|
2019-08-12 13:07:51 +00:00
|
|
|
BOOLEAN
|
2019-11-07 12:07:12 +00:00
|
|
|
SECRET
|
|
|
|
PASSWORD
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
SECRETMULTILINE
|
2021-06-02 19:11:30 +00:00
|
|
|
OUTPUT
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type ConfirmAccount {
|
2020-04-20 11:11:07 +00:00
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ConfirmEmailChange {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum CountryCode {
|
|
|
|
AF
|
|
|
|
AX
|
|
|
|
AL
|
|
|
|
DZ
|
|
|
|
AS
|
|
|
|
AD
|
|
|
|
AO
|
|
|
|
AI
|
|
|
|
AQ
|
|
|
|
AG
|
|
|
|
AR
|
|
|
|
AM
|
|
|
|
AW
|
|
|
|
AU
|
|
|
|
AT
|
|
|
|
AZ
|
|
|
|
BS
|
|
|
|
BH
|
|
|
|
BD
|
|
|
|
BB
|
|
|
|
BY
|
|
|
|
BE
|
|
|
|
BZ
|
|
|
|
BJ
|
|
|
|
BM
|
|
|
|
BT
|
|
|
|
BO
|
|
|
|
BQ
|
|
|
|
BA
|
|
|
|
BW
|
|
|
|
BV
|
|
|
|
BR
|
|
|
|
IO
|
|
|
|
BN
|
|
|
|
BG
|
|
|
|
BF
|
|
|
|
BI
|
|
|
|
CV
|
|
|
|
KH
|
|
|
|
CM
|
|
|
|
CA
|
|
|
|
KY
|
|
|
|
CF
|
|
|
|
TD
|
|
|
|
CL
|
|
|
|
CN
|
|
|
|
CX
|
|
|
|
CC
|
|
|
|
CO
|
|
|
|
KM
|
|
|
|
CG
|
|
|
|
CD
|
|
|
|
CK
|
|
|
|
CR
|
|
|
|
CI
|
|
|
|
HR
|
|
|
|
CU
|
|
|
|
CW
|
|
|
|
CY
|
|
|
|
CZ
|
|
|
|
DK
|
|
|
|
DJ
|
|
|
|
DM
|
|
|
|
DO
|
|
|
|
EC
|
|
|
|
EG
|
|
|
|
SV
|
|
|
|
GQ
|
|
|
|
ER
|
|
|
|
EE
|
|
|
|
SZ
|
|
|
|
ET
|
|
|
|
EU
|
|
|
|
FK
|
|
|
|
FO
|
|
|
|
FJ
|
|
|
|
FI
|
|
|
|
FR
|
|
|
|
GF
|
|
|
|
PF
|
|
|
|
TF
|
|
|
|
GA
|
|
|
|
GM
|
|
|
|
GE
|
|
|
|
DE
|
|
|
|
GH
|
|
|
|
GI
|
|
|
|
GR
|
|
|
|
GL
|
|
|
|
GD
|
|
|
|
GP
|
|
|
|
GU
|
|
|
|
GT
|
|
|
|
GG
|
|
|
|
GN
|
|
|
|
GW
|
|
|
|
GY
|
|
|
|
HT
|
|
|
|
HM
|
|
|
|
VA
|
|
|
|
HN
|
|
|
|
HK
|
|
|
|
HU
|
|
|
|
IS
|
|
|
|
IN
|
|
|
|
ID
|
|
|
|
IR
|
|
|
|
IQ
|
|
|
|
IE
|
|
|
|
IM
|
|
|
|
IL
|
|
|
|
IT
|
|
|
|
JM
|
|
|
|
JP
|
|
|
|
JE
|
|
|
|
JO
|
|
|
|
KZ
|
|
|
|
KE
|
|
|
|
KI
|
|
|
|
KW
|
|
|
|
KG
|
|
|
|
LA
|
|
|
|
LV
|
|
|
|
LB
|
|
|
|
LS
|
|
|
|
LR
|
|
|
|
LY
|
|
|
|
LI
|
|
|
|
LT
|
|
|
|
LU
|
|
|
|
MO
|
|
|
|
MG
|
|
|
|
MW
|
|
|
|
MY
|
|
|
|
MV
|
|
|
|
ML
|
|
|
|
MT
|
|
|
|
MH
|
|
|
|
MQ
|
|
|
|
MR
|
|
|
|
MU
|
|
|
|
YT
|
|
|
|
MX
|
|
|
|
FM
|
|
|
|
MD
|
|
|
|
MC
|
|
|
|
MN
|
|
|
|
ME
|
|
|
|
MS
|
|
|
|
MA
|
|
|
|
MZ
|
|
|
|
MM
|
|
|
|
NA
|
|
|
|
NR
|
|
|
|
NP
|
|
|
|
NL
|
|
|
|
NC
|
|
|
|
NZ
|
|
|
|
NI
|
|
|
|
NE
|
|
|
|
NG
|
|
|
|
NU
|
|
|
|
NF
|
|
|
|
KP
|
2019-08-28 14:53:57 +00:00
|
|
|
MK
|
2019-08-12 13:07:51 +00:00
|
|
|
MP
|
|
|
|
NO
|
|
|
|
OM
|
|
|
|
PK
|
|
|
|
PW
|
|
|
|
PS
|
|
|
|
PA
|
|
|
|
PG
|
|
|
|
PY
|
|
|
|
PE
|
|
|
|
PH
|
|
|
|
PN
|
|
|
|
PL
|
|
|
|
PT
|
|
|
|
PR
|
|
|
|
QA
|
|
|
|
RE
|
|
|
|
RO
|
|
|
|
RU
|
|
|
|
RW
|
|
|
|
BL
|
|
|
|
SH
|
|
|
|
KN
|
|
|
|
LC
|
|
|
|
MF
|
|
|
|
PM
|
|
|
|
VC
|
|
|
|
WS
|
|
|
|
SM
|
|
|
|
ST
|
|
|
|
SA
|
|
|
|
SN
|
|
|
|
RS
|
|
|
|
SC
|
|
|
|
SL
|
|
|
|
SG
|
|
|
|
SX
|
|
|
|
SK
|
|
|
|
SI
|
|
|
|
SB
|
|
|
|
SO
|
|
|
|
ZA
|
|
|
|
GS
|
|
|
|
KR
|
|
|
|
SS
|
|
|
|
ES
|
|
|
|
LK
|
|
|
|
SD
|
|
|
|
SR
|
|
|
|
SJ
|
|
|
|
SE
|
|
|
|
CH
|
|
|
|
SY
|
|
|
|
TW
|
|
|
|
TJ
|
|
|
|
TZ
|
|
|
|
TH
|
|
|
|
TL
|
|
|
|
TG
|
|
|
|
TK
|
|
|
|
TO
|
|
|
|
TT
|
|
|
|
TN
|
|
|
|
TR
|
|
|
|
TM
|
|
|
|
TC
|
|
|
|
TV
|
|
|
|
UG
|
|
|
|
UA
|
|
|
|
AE
|
|
|
|
GB
|
|
|
|
UM
|
|
|
|
US
|
|
|
|
UY
|
|
|
|
UZ
|
|
|
|
VU
|
|
|
|
VE
|
|
|
|
VN
|
|
|
|
VG
|
|
|
|
VI
|
|
|
|
WF
|
|
|
|
EH
|
|
|
|
YE
|
|
|
|
ZM
|
|
|
|
ZW
|
|
|
|
}
|
|
|
|
|
|
|
|
type CountryDisplay {
|
|
|
|
code: String!
|
|
|
|
country: String!
|
|
|
|
vat: VAT
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateToken {
|
2020-07-01 11:11:08 +00:00
|
|
|
token: String
|
|
|
|
refreshToken: String
|
|
|
|
csrfToken: String
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CreditCard {
|
|
|
|
brand: String!
|
2020-08-11 11:53:04 +00:00
|
|
|
firstDigits: String
|
2019-08-12 13:07:51 +00:00
|
|
|
lastDigits: String!
|
2020-08-11 11:53:04 +00:00
|
|
|
expMonth: Int
|
|
|
|
expYear: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CustomerBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CustomerCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
type CustomerDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
type CustomerEvent implements Node {
|
|
|
|
id: ID!
|
|
|
|
date: DateTime
|
|
|
|
type: CustomerEventsEnum
|
2020-03-03 11:20:39 +00:00
|
|
|
user: User
|
2021-08-05 09:26:17 +00:00
|
|
|
app: App
|
2019-08-12 13:07:51 +00:00
|
|
|
message: String
|
|
|
|
count: Int
|
|
|
|
order: Order
|
|
|
|
orderLine: OrderLine
|
|
|
|
}
|
|
|
|
|
|
|
|
enum CustomerEventsEnum {
|
|
|
|
ACCOUNT_CREATED
|
|
|
|
PASSWORD_RESET_LINK_SENT
|
|
|
|
PASSWORD_RESET
|
2020-01-17 15:16:05 +00:00
|
|
|
EMAIL_CHANGED_REQUEST
|
|
|
|
PASSWORD_CHANGED
|
|
|
|
EMAIL_CHANGED
|
2019-08-12 13:07:51 +00:00
|
|
|
PLACED_ORDER
|
|
|
|
NOTE_ADDED_TO_ORDER
|
|
|
|
DIGITAL_LINK_DOWNLOADED
|
|
|
|
CUSTOMER_DELETED
|
|
|
|
NAME_ASSIGNED
|
|
|
|
EMAIL_ASSIGNED
|
|
|
|
NOTE_ADDED
|
|
|
|
}
|
|
|
|
|
|
|
|
input CustomerFilterInput {
|
|
|
|
dateJoined: DateRangeInput
|
|
|
|
numberOfOrders: IntRangeInput
|
|
|
|
placedOrders: DateRangeInput
|
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input CustomerInput {
|
|
|
|
defaultBillingAddress: AddressInput
|
|
|
|
defaultShippingAddress: AddressInput
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
email: String
|
|
|
|
isActive: Boolean
|
|
|
|
note: String
|
2021-04-16 12:33:14 +00:00
|
|
|
languageCode: LanguageCodeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type CustomerUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
scalar Date
|
|
|
|
|
|
|
|
input DateRangeInput {
|
|
|
|
gte: Date
|
|
|
|
lte: Date
|
|
|
|
}
|
|
|
|
|
|
|
|
scalar DateTime
|
|
|
|
|
|
|
|
input DateTimeRangeInput {
|
|
|
|
gte: DateTime
|
|
|
|
lte: DateTime
|
|
|
|
}
|
|
|
|
|
2020-07-01 11:11:08 +00:00
|
|
|
type DeactivateAllUserTokens {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type DeleteMetadata {
|
2022-01-25 12:44:19 +00:00
|
|
|
metadataErrors: [MetadataError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MetadataError!]!
|
2020-03-03 11:20:39 +00:00
|
|
|
item: ObjectWithMetadata
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeletePrivateMetadata {
|
2022-01-25 12:44:19 +00:00
|
|
|
metadataErrors: [MetadataError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MetadataError!]!
|
2020-03-03 11:20:39 +00:00
|
|
|
item: ObjectWithMetadata
|
|
|
|
}
|
|
|
|
|
2021-08-27 08:10:41 +00:00
|
|
|
union DeliveryMethod = Warehouse | ShippingMethod
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type DigitalContent implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
useDefaultSettings: Boolean!
|
|
|
|
automaticFulfillment: Boolean!
|
|
|
|
contentFile: String!
|
|
|
|
maxDownloads: Int
|
|
|
|
urlValidDays: Int
|
|
|
|
urls: [DigitalContentUrl]
|
|
|
|
id: ID!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2021-03-16 09:03:11 +00:00
|
|
|
productVariant: ProductVariant!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [DigitalContentCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentCountableEdge {
|
|
|
|
node: DigitalContent!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentCreate {
|
|
|
|
variant: ProductVariant
|
|
|
|
content: DigitalContent
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentDelete {
|
|
|
|
variant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input DigitalContentInput {
|
|
|
|
useDefaultSettings: Boolean!
|
|
|
|
maxDownloads: Int
|
|
|
|
urlValidDays: Int
|
|
|
|
automaticFulfillment: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentUpdate {
|
|
|
|
variant: ProductVariant
|
|
|
|
content: DigitalContent
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input DigitalContentUploadInput {
|
|
|
|
useDefaultSettings: Boolean!
|
|
|
|
maxDownloads: Int
|
|
|
|
urlValidDays: Int
|
|
|
|
automaticFulfillment: Boolean
|
|
|
|
contentFile: Upload!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentUrl implements Node {
|
|
|
|
content: DigitalContent!
|
|
|
|
created: DateTime!
|
|
|
|
downloadNum: Int!
|
|
|
|
id: ID!
|
|
|
|
url: String
|
2020-06-10 13:39:10 +00:00
|
|
|
token: UUID!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DigitalContentUrlCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
digitalContentUrl: DigitalContentUrl
|
|
|
|
}
|
|
|
|
|
|
|
|
input DigitalContentUrlCreateInput {
|
|
|
|
content: ID!
|
|
|
|
}
|
|
|
|
|
2020-03-23 17:59:10 +00:00
|
|
|
type DiscountError {
|
|
|
|
field: String
|
|
|
|
message: String
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
products: [ID!]
|
2020-03-23 17:59:10 +00:00
|
|
|
code: DiscountErrorCode!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
2020-03-23 17:59:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum DiscountErrorCode {
|
|
|
|
ALREADY_EXISTS
|
2020-04-20 11:11:07 +00:00
|
|
|
GRAPHQL_ERROR
|
2020-03-23 17:59:10 +00:00
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT
|
|
|
|
DUPLICATED_INPUT_ITEM
|
2020-03-23 17:59:10 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum DiscountStatusEnum {
|
|
|
|
ACTIVE
|
|
|
|
EXPIRED
|
|
|
|
SCHEDULED
|
|
|
|
}
|
|
|
|
|
|
|
|
enum DiscountValueTypeEnum {
|
|
|
|
FIXED
|
|
|
|
PERCENTAGE
|
|
|
|
}
|
|
|
|
|
2021-04-29 08:58:03 +00:00
|
|
|
enum DistanceUnitsEnum {
|
|
|
|
CM
|
|
|
|
M
|
|
|
|
KM
|
|
|
|
FT
|
|
|
|
YD
|
|
|
|
INCH
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Domain {
|
|
|
|
host: String!
|
|
|
|
sslEnabled: Boolean!
|
|
|
|
url: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderComplete {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
order: Order
|
|
|
|
}
|
|
|
|
|
|
|
|
input DraftOrderCreateInput {
|
|
|
|
billingAddress: AddressInput
|
|
|
|
user: ID
|
|
|
|
userEmail: String
|
2020-09-07 10:48:19 +00:00
|
|
|
discount: PositiveDecimal
|
2019-08-12 13:07:51 +00:00
|
|
|
shippingAddress: AddressInput
|
|
|
|
shippingMethod: ID
|
|
|
|
voucher: ID
|
2019-11-27 10:00:36 +00:00
|
|
|
customerNote: String
|
2021-06-01 12:25:43 +00:00
|
|
|
channelId: ID
|
2020-11-23 11:38:28 +00:00
|
|
|
redirectUrl: String
|
2019-08-12 13:07:51 +00:00
|
|
|
lines: [OrderLineCreateInput]
|
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
order: Order
|
|
|
|
}
|
|
|
|
|
|
|
|
input DraftOrderInput {
|
|
|
|
billingAddress: AddressInput
|
|
|
|
user: ID
|
|
|
|
userEmail: String
|
2020-09-07 10:48:19 +00:00
|
|
|
discount: PositiveDecimal
|
2019-08-12 13:07:51 +00:00
|
|
|
shippingAddress: AddressInput
|
|
|
|
shippingMethod: ID
|
|
|
|
voucher: ID
|
2019-11-27 10:00:36 +00:00
|
|
|
customerNote: String
|
2021-06-01 12:25:43 +00:00
|
|
|
channelId: ID
|
2020-11-23 11:38:28 +00:00
|
|
|
redirectUrl: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderLinesBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type DraftOrderUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
order: Order
|
|
|
|
}
|
|
|
|
|
2022-01-25 09:27:59 +00:00
|
|
|
type EventDelivery implements Node {
|
|
|
|
id: ID!
|
|
|
|
createdAt: DateTime!
|
|
|
|
status: EventDeliveryStatusEnum!
|
|
|
|
eventType: WebhookEventTypeEnum!
|
2022-01-25 12:44:19 +00:00
|
|
|
attempts(
|
|
|
|
sortBy: EventDeliveryAttemptSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): EventDeliveryAttemptCountableConnection
|
2022-01-25 09:27:59 +00:00
|
|
|
payload: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryAttempt implements Node {
|
|
|
|
id: ID!
|
|
|
|
createdAt: DateTime!
|
|
|
|
taskId: String
|
|
|
|
duration: Float
|
|
|
|
response: String
|
|
|
|
responseHeaders: String
|
|
|
|
requestHeaders: String
|
|
|
|
status: EventDeliveryStatusEnum!
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryAttemptCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [EventDeliveryAttemptCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryAttemptCountableEdge {
|
|
|
|
node: EventDeliveryAttempt!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum EventDeliveryAttemptSortField {
|
|
|
|
CREATED_AT
|
|
|
|
}
|
|
|
|
|
|
|
|
input EventDeliveryAttemptSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: EventDeliveryAttemptSortField!
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [EventDeliveryCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryCountableEdge {
|
|
|
|
node: EventDelivery!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input EventDeliveryFilterInput {
|
|
|
|
status: EventDeliveryStatusEnum
|
|
|
|
eventType: WebhookEventTypeEnum
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventDeliveryRetry {
|
|
|
|
delivery: EventDelivery
|
|
|
|
errors: [WebhookError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum EventDeliverySortField {
|
|
|
|
CREATED_AT
|
|
|
|
}
|
|
|
|
|
|
|
|
input EventDeliverySortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: EventDeliverySortField!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum EventDeliveryStatusEnum {
|
|
|
|
PENDING
|
|
|
|
SUCCESS
|
|
|
|
FAILED
|
|
|
|
}
|
|
|
|
|
2020-07-30 09:54:16 +00:00
|
|
|
type ExportError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ExportErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ExportErrorCode {
|
2021-06-21 09:02:17 +00:00
|
|
|
GRAPHQL_ERROR
|
2020-07-30 09:54:16 +00:00
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportEvent implements Node {
|
|
|
|
id: ID!
|
|
|
|
date: DateTime!
|
|
|
|
type: ExportEventsEnum!
|
|
|
|
user: User
|
|
|
|
app: App
|
|
|
|
message: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ExportEventsEnum {
|
|
|
|
EXPORT_PENDING
|
|
|
|
EXPORT_SUCCESS
|
|
|
|
EXPORT_FAILED
|
|
|
|
EXPORT_DELETED
|
|
|
|
EXPORTED_FILE_SENT
|
|
|
|
EXPORT_FAILED_INFO_SENT
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportFile implements Node & Job {
|
|
|
|
id: ID!
|
|
|
|
user: User
|
|
|
|
app: App
|
|
|
|
status: JobStatusEnum!
|
|
|
|
createdAt: DateTime!
|
|
|
|
updatedAt: DateTime!
|
2020-08-11 11:53:04 +00:00
|
|
|
message: String
|
2020-07-30 09:54:16 +00:00
|
|
|
url: String
|
|
|
|
events: [ExportEvent!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportFileCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [ExportFileCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportFileCountableEdge {
|
|
|
|
node: ExportFile!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ExportFileFilterInput {
|
|
|
|
createdAt: DateTimeRangeInput
|
|
|
|
updatedAt: DateTimeRangeInput
|
|
|
|
status: JobStatusEnum
|
|
|
|
user: String
|
|
|
|
app: String
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ExportFileSortField {
|
|
|
|
STATUS
|
|
|
|
CREATED_AT
|
|
|
|
UPDATED_AT
|
|
|
|
}
|
|
|
|
|
|
|
|
input ExportFileSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: ExportFileSortField!
|
|
|
|
}
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
type ExportGiftCards {
|
|
|
|
exportFile: ExportFile
|
|
|
|
errors: [ExportError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ExportGiftCardsInput {
|
|
|
|
scope: ExportScope!
|
|
|
|
filter: GiftCardFilterInput
|
|
|
|
ids: [ID!]
|
|
|
|
fileType: FileTypesEnum!
|
|
|
|
}
|
|
|
|
|
2020-07-30 09:54:16 +00:00
|
|
|
input ExportInfoInput {
|
|
|
|
attributes: [ID!]
|
|
|
|
warehouses: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
2020-07-30 09:54:16 +00:00
|
|
|
fields: [ProductFieldEnum!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportProducts {
|
|
|
|
exportFile: ExportFile
|
2022-01-25 12:44:19 +00:00
|
|
|
exportErrors: [ExportError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ExportError!]!
|
2020-07-30 09:54:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ExportProductsInput {
|
|
|
|
scope: ExportScope!
|
|
|
|
filter: ProductFilterInput
|
|
|
|
ids: [ID!]
|
|
|
|
exportInfo: ExportInfoInput
|
|
|
|
fileType: FileTypesEnum!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ExportScope {
|
|
|
|
ALL
|
|
|
|
IDS
|
|
|
|
FILTER
|
|
|
|
}
|
|
|
|
|
2021-01-26 22:04:54 +00:00
|
|
|
type ExternalAuthentication {
|
|
|
|
id: String!
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExternalAuthenticationUrl {
|
|
|
|
authenticationData: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ExternalLogout {
|
|
|
|
logoutData: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
}
|
|
|
|
|
2021-09-03 12:27:34 +00:00
|
|
|
type ExternalNotificationError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ExternalNotificationErrorCodes!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ExternalNotificationErrorCodes {
|
|
|
|
REQUIRED
|
|
|
|
INVALID_MODEL_TYPE
|
|
|
|
NOT_FOUND
|
|
|
|
CHANNEL_INACTIVE
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExternalNotificationTrigger {
|
|
|
|
errors: [ExternalNotificationError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ExternalNotificationTriggerInput {
|
|
|
|
ids: [ID]!
|
|
|
|
extraPayload: JSONString
|
|
|
|
externalEventType: String!
|
|
|
|
}
|
|
|
|
|
2021-01-26 22:04:54 +00:00
|
|
|
type ExternalObtainAccessTokens {
|
|
|
|
token: String
|
|
|
|
refreshToken: String
|
|
|
|
csrfToken: String
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ExternalRefresh {
|
|
|
|
token: String
|
|
|
|
refreshToken: String
|
|
|
|
csrfToken: String
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ExternalVerify {
|
|
|
|
user: User
|
|
|
|
isValid: Boolean!
|
|
|
|
verifyData: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
}
|
|
|
|
|
2020-12-16 10:53:28 +00:00
|
|
|
type File {
|
|
|
|
url: String!
|
|
|
|
contentType: String
|
|
|
|
}
|
|
|
|
|
2020-07-30 09:54:16 +00:00
|
|
|
enum FileTypesEnum {
|
|
|
|
CSV
|
|
|
|
XLSX
|
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type FileUpload {
|
2020-12-16 10:53:28 +00:00
|
|
|
uploadedFile: File
|
2022-01-25 12:44:19 +00:00
|
|
|
uploadErrors: [UploadError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [UploadError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Fulfillment implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
fulfillmentOrder: Int!
|
|
|
|
status: FulfillmentStatus!
|
|
|
|
trackingNumber: String!
|
2019-11-27 10:00:36 +00:00
|
|
|
created: DateTime!
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
lines: [FulfillmentLine]
|
|
|
|
statusDisplay: String
|
2020-04-22 14:41:07 +00:00
|
|
|
warehouse: Warehouse
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-08-20 14:36:05 +00:00
|
|
|
type FulfillmentApprove {
|
|
|
|
fulfillment: Fulfillment
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-08-20 14:36:05 +00:00
|
|
|
errors: [OrderError!]!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type FulfillmentCancel {
|
|
|
|
fulfillment: Fulfillment
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input FulfillmentCancelInput {
|
2021-08-25 10:45:23 +00:00
|
|
|
warehouseId: ID
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type FulfillmentLine implements Node {
|
|
|
|
id: ID!
|
|
|
|
quantity: Int!
|
|
|
|
orderLine: OrderLine
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:13:05 +00:00
|
|
|
type FulfillmentRefundProducts {
|
|
|
|
fulfillment: Fulfillment
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2020-12-01 13:13:05 +00:00
|
|
|
}
|
|
|
|
|
2021-01-20 16:16:43 +00:00
|
|
|
type FulfillmentReturnProducts {
|
|
|
|
returnFulfillment: Fulfillment
|
|
|
|
replaceFulfillment: Fulfillment
|
|
|
|
order: Order
|
|
|
|
replaceOrder: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2021-01-20 16:16:43 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum FulfillmentStatus {
|
|
|
|
FULFILLED
|
2020-12-01 13:13:05 +00:00
|
|
|
REFUNDED
|
2021-01-20 16:16:43 +00:00
|
|
|
RETURNED
|
|
|
|
REPLACED
|
|
|
|
REFUNDED_AND_RETURNED
|
2019-08-12 13:07:51 +00:00
|
|
|
CANCELED
|
2021-08-20 14:36:05 +00:00
|
|
|
WAITING_FOR_APPROVAL
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type FulfillmentUpdateTracking {
|
|
|
|
fulfillment: Fulfillment
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input FulfillmentUpdateTrackingInput {
|
|
|
|
trackingNumber: String
|
2020-01-09 11:13:24 +00:00
|
|
|
notifyCustomer: Boolean = false
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-10-09 06:56:46 +00:00
|
|
|
type GatewayConfigLine {
|
|
|
|
field: String!
|
|
|
|
value: String
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
scalar GenericScalar
|
|
|
|
|
2021-08-16 13:44:00 +00:00
|
|
|
type GiftCard implements Node & ObjectWithMetadata {
|
|
|
|
code: String!
|
|
|
|
isActive: Boolean!
|
|
|
|
expiryDate: Date
|
2022-01-25 12:44:19 +00:00
|
|
|
tags: [GiftCardTag!]
|
2019-08-12 13:07:51 +00:00
|
|
|
created: DateTime!
|
|
|
|
lastUsedOn: DateTime
|
|
|
|
initialBalance: Money
|
|
|
|
currentBalance: Money
|
|
|
|
id: ID!
|
2021-08-16 13:44:00 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
last4CodeChars: String!
|
2021-08-16 13:44:00 +00:00
|
|
|
createdBy: User
|
|
|
|
usedBy: User
|
|
|
|
createdByEmail: String
|
|
|
|
usedByEmail: String
|
|
|
|
app: App
|
|
|
|
product: Product
|
|
|
|
events: [GiftCardEvent!]!
|
2021-09-14 13:57:02 +00:00
|
|
|
boughtInChannel: String
|
2022-01-25 12:44:19 +00:00
|
|
|
user: User
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `createdBy` field instead."
|
|
|
|
)
|
|
|
|
endDate: DateTime
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `expiryDate` field instead."
|
|
|
|
)
|
|
|
|
startDate: DateTime
|
|
|
|
@deprecated(reason: "This field will be removed in Saleor 4.0.")
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardActivate {
|
|
|
|
giftCard: GiftCard
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardErrors: [GiftCardError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [GiftCardError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
type GiftCardAddNote {
|
|
|
|
giftCard: GiftCard
|
|
|
|
event: GiftCardEvent
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardAddNoteInput {
|
|
|
|
message: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardBulkActivate {
|
|
|
|
count: Int!
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
type GiftCardBulkCreate {
|
|
|
|
count: Int!
|
|
|
|
giftCards: [GiftCard!]!
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardBulkCreateInput {
|
|
|
|
count: Int!
|
|
|
|
balance: PriceInput!
|
|
|
|
tags: [String!]
|
|
|
|
expiryDate: Date
|
|
|
|
isActive: Boolean!
|
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
type GiftCardBulkDeactivate {
|
|
|
|
count: Int!
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardBulkDelete {
|
|
|
|
count: Int!
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type GiftCardCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [GiftCardCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
type GiftCardTagCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [GiftCardTagCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardTagCountableEdge {
|
|
|
|
node: GiftCardTag!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardTagFilterInput {
|
|
|
|
search: String
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type GiftCardCountableEdge {
|
|
|
|
node: GiftCard!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardErrors: [GiftCardError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [GiftCardError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
giftCard: GiftCard
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardCreateInput {
|
2022-01-25 12:44:19 +00:00
|
|
|
addTags: [String!]
|
2021-09-14 13:57:02 +00:00
|
|
|
expiryDate: Date
|
2019-08-12 13:07:51 +00:00
|
|
|
startDate: Date
|
|
|
|
endDate: Date
|
2021-08-16 13:44:00 +00:00
|
|
|
balance: PriceInput!
|
2019-08-12 13:07:51 +00:00
|
|
|
userEmail: String
|
2021-09-14 13:57:02 +00:00
|
|
|
channel: String
|
|
|
|
isActive: Boolean!
|
2019-08-12 13:07:51 +00:00
|
|
|
code: String
|
2021-08-16 13:44:00 +00:00
|
|
|
note: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardDeactivate {
|
|
|
|
giftCard: GiftCard
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardErrors: [GiftCardError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [GiftCardError!]!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 13:44:00 +00:00
|
|
|
type GiftCardDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardErrors: [GiftCardError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-08-16 13:44:00 +00:00
|
|
|
errors: [GiftCardError!]!
|
|
|
|
giftCard: GiftCard
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type GiftCardError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: GiftCardErrorCode!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum GiftCardErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 13:44:00 +00:00
|
|
|
type GiftCardEvent implements Node {
|
|
|
|
id: ID!
|
|
|
|
date: DateTime
|
|
|
|
type: GiftCardEventsEnum
|
|
|
|
user: User
|
|
|
|
app: App
|
|
|
|
message: String
|
|
|
|
email: String
|
|
|
|
orderId: ID
|
|
|
|
orderNumber: String
|
2022-01-25 12:44:19 +00:00
|
|
|
tags: [String!]
|
|
|
|
oldTags: [String!]
|
2021-08-16 13:44:00 +00:00
|
|
|
balance: GiftCardEventBalance
|
2021-09-14 13:57:02 +00:00
|
|
|
expiryDate: Date
|
|
|
|
oldExpiryDate: Date
|
2021-08-16 13:44:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardEventBalance {
|
2021-09-14 13:57:02 +00:00
|
|
|
initialBalance: Money
|
2021-08-16 13:44:00 +00:00
|
|
|
currentBalance: Money!
|
|
|
|
oldInitialBalance: Money
|
|
|
|
oldCurrentBalance: Money
|
|
|
|
}
|
|
|
|
|
|
|
|
enum GiftCardEventsEnum {
|
|
|
|
ISSUED
|
|
|
|
BOUGHT
|
|
|
|
UPDATED
|
|
|
|
ACTIVATED
|
|
|
|
DEACTIVATED
|
|
|
|
BALANCE_RESET
|
2021-09-14 13:57:02 +00:00
|
|
|
EXPIRY_DATE_UPDATED
|
2022-01-25 12:44:19 +00:00
|
|
|
TAGS_UPDATED
|
2021-08-16 13:44:00 +00:00
|
|
|
SENT_TO_CUSTOMER
|
|
|
|
RESENT
|
2021-09-14 13:57:02 +00:00
|
|
|
NOTE_ADDED
|
|
|
|
USED_IN_ORDER
|
2021-08-16 13:44:00 +00:00
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
input GiftCardFilterInput {
|
|
|
|
isActive: Boolean
|
2021-12-07 09:43:24 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-09-14 13:57:02 +00:00
|
|
|
tags: [String]
|
|
|
|
products: [ID]
|
|
|
|
usedBy: [ID]
|
|
|
|
currency: String
|
|
|
|
currentBalance: PriceRangeInput
|
|
|
|
initialBalance: PriceRangeInput
|
2021-10-13 11:42:20 +00:00
|
|
|
code: String
|
2021-09-14 13:57:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardResend {
|
|
|
|
giftCard: GiftCard
|
|
|
|
errors: [GiftCardError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardResendInput {
|
|
|
|
id: ID!
|
|
|
|
email: String
|
|
|
|
channel: String!
|
2021-08-16 13:44:00 +00:00
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
type GiftCardSettings {
|
|
|
|
expiryType: GiftCardSettingsExpiryTypeEnum!
|
|
|
|
expiryPeriod: TimePeriod
|
|
|
|
}
|
|
|
|
|
|
|
|
type GiftCardSettingsError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: GiftCardSettingsErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum GiftCardSettingsErrorCode {
|
|
|
|
INVALID
|
|
|
|
REQUIRED
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
}
|
|
|
|
|
|
|
|
enum GiftCardSettingsExpiryTypeEnum {
|
2021-08-16 13:44:00 +00:00
|
|
|
NEVER_EXPIRE
|
|
|
|
EXPIRY_PERIOD
|
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
type GiftCardSettingsUpdate {
|
|
|
|
giftCardSettings: GiftCardSettings
|
|
|
|
errors: [GiftCardSettingsError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardSettingsUpdateInput {
|
|
|
|
expiryType: GiftCardSettingsExpiryTypeEnum
|
|
|
|
expiryPeriod: TimePeriodInputType
|
|
|
|
}
|
|
|
|
|
|
|
|
enum GiftCardSortField {
|
|
|
|
TAG
|
|
|
|
PRODUCT
|
|
|
|
USED_BY
|
|
|
|
CURRENT_BALANCE
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: GiftCardSortField!
|
2021-08-16 13:44:00 +00:00
|
|
|
}
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
type GiftCardTag implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type GiftCardUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardErrors: [GiftCardError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [GiftCardError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
giftCard: GiftCard
|
|
|
|
}
|
|
|
|
|
|
|
|
input GiftCardUpdateInput {
|
2022-01-25 12:44:19 +00:00
|
|
|
addTags: [String!]
|
|
|
|
removeTags: [String!]
|
2021-09-14 13:57:02 +00:00
|
|
|
expiryDate: Date
|
2019-08-12 13:07:51 +00:00
|
|
|
startDate: Date
|
|
|
|
endDate: Date
|
2021-08-16 13:44:00 +00:00
|
|
|
balanceAmount: PositiveDecimal
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Group implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
2020-04-20 11:11:07 +00:00
|
|
|
permissions: [Permission]
|
2020-03-03 11:20:39 +00:00
|
|
|
users: [User]
|
2020-04-20 11:11:07 +00:00
|
|
|
userCanManage: Boolean!
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type GroupCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [GroupCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type GroupCountableEdge {
|
|
|
|
node: Group!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Image {
|
|
|
|
url: String!
|
|
|
|
alt: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input IntRangeInput {
|
|
|
|
gte: Int
|
|
|
|
lte: Int
|
|
|
|
}
|
|
|
|
|
2020-06-22 16:34:59 +00:00
|
|
|
type Invoice implements ObjectWithMetadata & Job & Node {
|
|
|
|
id: ID!
|
|
|
|
metadata: [MetadataItem]!
|
|
|
|
status: JobStatusEnum!
|
|
|
|
number: String
|
|
|
|
externalUrl: String
|
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
createdAt: DateTime!
|
|
|
|
updatedAt: DateTime!
|
2020-08-11 11:53:04 +00:00
|
|
|
message: String
|
2020-06-22 16:34:59 +00:00
|
|
|
url: String
|
|
|
|
}
|
|
|
|
|
2020-06-25 11:36:43 +00:00
|
|
|
type InvoiceCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
|
|
|
input InvoiceCreateInput {
|
|
|
|
number: String!
|
|
|
|
url: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type InvoiceDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
2020-06-22 16:34:59 +00:00
|
|
|
type InvoiceError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: InvoiceErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum InvoiceErrorCode {
|
|
|
|
REQUIRED
|
|
|
|
NOT_READY
|
|
|
|
URL_NOT_SET
|
|
|
|
EMAIL_NOT_SET
|
|
|
|
NUMBER_NOT_SET
|
|
|
|
NOT_FOUND
|
|
|
|
INVALID_STATUS
|
2021-12-23 12:42:10 +00:00
|
|
|
NO_INVOICE_PLUGIN
|
2020-06-22 16:34:59 +00:00
|
|
|
}
|
|
|
|
|
2020-06-25 11:36:43 +00:00
|
|
|
type InvoiceRequest {
|
2020-07-01 14:58:29 +00:00
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
|
|
|
type InvoiceRequestDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
2021-03-31 13:11:58 +00:00
|
|
|
type InvoiceSendNotification {
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
|
|
|
type InvoiceUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
invoiceErrors: [InvoiceError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [InvoiceError!]!
|
2020-06-25 11:36:43 +00:00
|
|
|
invoice: Invoice
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
scalar JSONString
|
|
|
|
|
2020-06-22 16:34:59 +00:00
|
|
|
interface Job {
|
|
|
|
status: JobStatusEnum!
|
|
|
|
createdAt: DateTime!
|
|
|
|
updatedAt: DateTime!
|
2020-08-11 11:53:04 +00:00
|
|
|
message: String
|
2020-06-22 16:34:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum JobStatusEnum {
|
|
|
|
PENDING
|
|
|
|
SUCCESS
|
|
|
|
FAILED
|
|
|
|
DELETED
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum LanguageCodeEnum {
|
2021-08-20 12:25:51 +00:00
|
|
|
AF
|
|
|
|
AF_NA
|
|
|
|
AF_ZA
|
|
|
|
AGQ
|
|
|
|
AGQ_CM
|
|
|
|
AK
|
|
|
|
AK_GH
|
|
|
|
AM
|
|
|
|
AM_ET
|
2019-08-12 13:07:51 +00:00
|
|
|
AR
|
2021-08-20 12:25:51 +00:00
|
|
|
AR_AE
|
|
|
|
AR_BH
|
|
|
|
AR_DJ
|
|
|
|
AR_DZ
|
|
|
|
AR_EG
|
|
|
|
AR_EH
|
|
|
|
AR_ER
|
|
|
|
AR_IL
|
|
|
|
AR_IQ
|
|
|
|
AR_JO
|
|
|
|
AR_KM
|
|
|
|
AR_KW
|
|
|
|
AR_LB
|
|
|
|
AR_LY
|
|
|
|
AR_MA
|
|
|
|
AR_MR
|
|
|
|
AR_OM
|
|
|
|
AR_PS
|
|
|
|
AR_QA
|
|
|
|
AR_SA
|
|
|
|
AR_SD
|
|
|
|
AR_SO
|
|
|
|
AR_SS
|
|
|
|
AR_SY
|
|
|
|
AR_TD
|
|
|
|
AR_TN
|
|
|
|
AR_YE
|
|
|
|
AS
|
|
|
|
AS_IN
|
|
|
|
ASA
|
|
|
|
ASA_TZ
|
|
|
|
AST
|
|
|
|
AST_ES
|
2019-08-12 13:07:51 +00:00
|
|
|
AZ
|
2021-08-20 12:25:51 +00:00
|
|
|
AZ_CYRL
|
|
|
|
AZ_CYRL_AZ
|
|
|
|
AZ_LATN
|
|
|
|
AZ_LATN_AZ
|
|
|
|
BAS
|
|
|
|
BAS_CM
|
|
|
|
BE
|
|
|
|
BE_BY
|
|
|
|
BEM
|
|
|
|
BEM_ZM
|
|
|
|
BEZ
|
|
|
|
BEZ_TZ
|
2019-08-12 13:07:51 +00:00
|
|
|
BG
|
2021-08-20 12:25:51 +00:00
|
|
|
BG_BG
|
|
|
|
BM
|
|
|
|
BM_ML
|
2019-08-12 13:07:51 +00:00
|
|
|
BN
|
2021-08-20 12:25:51 +00:00
|
|
|
BN_BD
|
|
|
|
BN_IN
|
|
|
|
BO
|
|
|
|
BO_CN
|
|
|
|
BO_IN
|
|
|
|
BR
|
|
|
|
BR_FR
|
|
|
|
BRX
|
|
|
|
BRX_IN
|
|
|
|
BS
|
|
|
|
BS_CYRL
|
|
|
|
BS_CYRL_BA
|
|
|
|
BS_LATN
|
|
|
|
BS_LATN_BA
|
2019-08-12 13:07:51 +00:00
|
|
|
CA
|
2021-08-20 12:25:51 +00:00
|
|
|
CA_AD
|
|
|
|
CA_ES
|
|
|
|
CA_ES_VALENCIA
|
|
|
|
CA_FR
|
|
|
|
CA_IT
|
|
|
|
CCP
|
|
|
|
CCP_BD
|
|
|
|
CCP_IN
|
|
|
|
CE
|
|
|
|
CE_RU
|
|
|
|
CEB
|
|
|
|
CEB_PH
|
|
|
|
CGG
|
|
|
|
CGG_UG
|
|
|
|
CHR
|
|
|
|
CHR_US
|
|
|
|
CKB
|
|
|
|
CKB_IQ
|
|
|
|
CKB_IR
|
2019-08-12 13:07:51 +00:00
|
|
|
CS
|
2021-08-20 12:25:51 +00:00
|
|
|
CS_CZ
|
|
|
|
CU
|
|
|
|
CU_RU
|
|
|
|
CY
|
|
|
|
CY_GB
|
2019-08-12 13:07:51 +00:00
|
|
|
DA
|
2021-08-20 12:25:51 +00:00
|
|
|
DA_DK
|
|
|
|
DA_GL
|
|
|
|
DAV
|
|
|
|
DAV_KE
|
2019-08-12 13:07:51 +00:00
|
|
|
DE
|
2021-08-20 12:25:51 +00:00
|
|
|
DE_AT
|
|
|
|
DE_BE
|
|
|
|
DE_CH
|
|
|
|
DE_DE
|
|
|
|
DE_IT
|
|
|
|
DE_LI
|
|
|
|
DE_LU
|
|
|
|
DJE
|
|
|
|
DJE_NE
|
|
|
|
DSB
|
|
|
|
DSB_DE
|
|
|
|
DUA
|
|
|
|
DUA_CM
|
|
|
|
DYO
|
|
|
|
DYO_SN
|
|
|
|
DZ
|
|
|
|
DZ_BT
|
|
|
|
EBU
|
|
|
|
EBU_KE
|
|
|
|
EE
|
|
|
|
EE_GH
|
|
|
|
EE_TG
|
2019-08-12 13:07:51 +00:00
|
|
|
EL
|
2021-08-20 12:25:51 +00:00
|
|
|
EL_CY
|
|
|
|
EL_GR
|
2019-08-12 13:07:51 +00:00
|
|
|
EN
|
2021-08-20 12:25:51 +00:00
|
|
|
EN_AE
|
|
|
|
EN_AG
|
|
|
|
EN_AI
|
|
|
|
EN_AS
|
|
|
|
EN_AT
|
|
|
|
EN_AU
|
|
|
|
EN_BB
|
|
|
|
EN_BE
|
|
|
|
EN_BI
|
|
|
|
EN_BM
|
|
|
|
EN_BS
|
|
|
|
EN_BW
|
|
|
|
EN_BZ
|
|
|
|
EN_CA
|
|
|
|
EN_CC
|
|
|
|
EN_CH
|
|
|
|
EN_CK
|
|
|
|
EN_CM
|
|
|
|
EN_CX
|
|
|
|
EN_CY
|
|
|
|
EN_DE
|
|
|
|
EN_DG
|
|
|
|
EN_DK
|
|
|
|
EN_DM
|
|
|
|
EN_ER
|
|
|
|
EN_FI
|
|
|
|
EN_FJ
|
|
|
|
EN_FK
|
|
|
|
EN_FM
|
|
|
|
EN_GB
|
|
|
|
EN_GD
|
|
|
|
EN_GG
|
|
|
|
EN_GH
|
|
|
|
EN_GI
|
|
|
|
EN_GM
|
|
|
|
EN_GU
|
|
|
|
EN_GY
|
|
|
|
EN_HK
|
|
|
|
EN_IE
|
|
|
|
EN_IL
|
|
|
|
EN_IM
|
|
|
|
EN_IN
|
|
|
|
EN_IO
|
|
|
|
EN_JE
|
|
|
|
EN_JM
|
|
|
|
EN_KE
|
|
|
|
EN_KI
|
|
|
|
EN_KN
|
|
|
|
EN_KY
|
|
|
|
EN_LC
|
|
|
|
EN_LR
|
|
|
|
EN_LS
|
|
|
|
EN_MG
|
|
|
|
EN_MH
|
|
|
|
EN_MO
|
|
|
|
EN_MP
|
|
|
|
EN_MS
|
|
|
|
EN_MT
|
|
|
|
EN_MU
|
|
|
|
EN_MW
|
|
|
|
EN_MY
|
|
|
|
EN_NA
|
|
|
|
EN_NF
|
|
|
|
EN_NG
|
|
|
|
EN_NL
|
|
|
|
EN_NR
|
|
|
|
EN_NU
|
|
|
|
EN_NZ
|
|
|
|
EN_PG
|
|
|
|
EN_PH
|
|
|
|
EN_PK
|
|
|
|
EN_PN
|
|
|
|
EN_PR
|
|
|
|
EN_PW
|
|
|
|
EN_RW
|
|
|
|
EN_SB
|
|
|
|
EN_SC
|
|
|
|
EN_SD
|
|
|
|
EN_SE
|
|
|
|
EN_SG
|
|
|
|
EN_SH
|
|
|
|
EN_SI
|
|
|
|
EN_SL
|
|
|
|
EN_SS
|
|
|
|
EN_SX
|
|
|
|
EN_SZ
|
|
|
|
EN_TC
|
|
|
|
EN_TK
|
|
|
|
EN_TO
|
|
|
|
EN_TT
|
|
|
|
EN_TV
|
|
|
|
EN_TZ
|
|
|
|
EN_UG
|
|
|
|
EN_UM
|
|
|
|
EN_US
|
|
|
|
EN_VC
|
|
|
|
EN_VG
|
|
|
|
EN_VI
|
|
|
|
EN_VU
|
|
|
|
EN_WS
|
|
|
|
EN_ZA
|
|
|
|
EN_ZM
|
|
|
|
EN_ZW
|
|
|
|
EO
|
2019-08-12 13:07:51 +00:00
|
|
|
ES
|
2021-08-20 12:25:51 +00:00
|
|
|
ES_AR
|
|
|
|
ES_BO
|
|
|
|
ES_BR
|
|
|
|
ES_BZ
|
|
|
|
ES_CL
|
2019-08-12 13:07:51 +00:00
|
|
|
ES_CO
|
2021-08-20 12:25:51 +00:00
|
|
|
ES_CR
|
|
|
|
ES_CU
|
|
|
|
ES_DO
|
|
|
|
ES_EA
|
|
|
|
ES_EC
|
|
|
|
ES_ES
|
|
|
|
ES_GQ
|
|
|
|
ES_GT
|
|
|
|
ES_HN
|
|
|
|
ES_IC
|
|
|
|
ES_MX
|
|
|
|
ES_NI
|
|
|
|
ES_PA
|
|
|
|
ES_PE
|
|
|
|
ES_PH
|
|
|
|
ES_PR
|
|
|
|
ES_PY
|
|
|
|
ES_SV
|
|
|
|
ES_US
|
|
|
|
ES_UY
|
|
|
|
ES_VE
|
2019-08-12 13:07:51 +00:00
|
|
|
ET
|
2021-08-20 12:25:51 +00:00
|
|
|
ET_EE
|
|
|
|
EU
|
|
|
|
EU_ES
|
|
|
|
EWO
|
|
|
|
EWO_CM
|
2019-08-12 13:07:51 +00:00
|
|
|
FA
|
2021-08-20 12:25:51 +00:00
|
|
|
FA_AF
|
|
|
|
FA_IR
|
|
|
|
FF
|
|
|
|
FF_ADLM
|
|
|
|
FF_ADLM_BF
|
|
|
|
FF_ADLM_CM
|
|
|
|
FF_ADLM_GH
|
|
|
|
FF_ADLM_GM
|
|
|
|
FF_ADLM_GN
|
|
|
|
FF_ADLM_GW
|
|
|
|
FF_ADLM_LR
|
|
|
|
FF_ADLM_MR
|
|
|
|
FF_ADLM_NE
|
|
|
|
FF_ADLM_NG
|
|
|
|
FF_ADLM_SL
|
|
|
|
FF_ADLM_SN
|
|
|
|
FF_LATN
|
|
|
|
FF_LATN_BF
|
|
|
|
FF_LATN_CM
|
|
|
|
FF_LATN_GH
|
|
|
|
FF_LATN_GM
|
|
|
|
FF_LATN_GN
|
|
|
|
FF_LATN_GW
|
|
|
|
FF_LATN_LR
|
|
|
|
FF_LATN_MR
|
|
|
|
FF_LATN_NE
|
|
|
|
FF_LATN_NG
|
|
|
|
FF_LATN_SL
|
|
|
|
FF_LATN_SN
|
2020-06-10 13:39:10 +00:00
|
|
|
FI
|
2021-08-20 12:25:51 +00:00
|
|
|
FI_FI
|
|
|
|
FIL
|
|
|
|
FIL_PH
|
|
|
|
FO
|
|
|
|
FO_DK
|
|
|
|
FO_FO
|
2019-08-12 13:07:51 +00:00
|
|
|
FR
|
2021-08-20 12:25:51 +00:00
|
|
|
FR_BE
|
|
|
|
FR_BF
|
|
|
|
FR_BI
|
|
|
|
FR_BJ
|
|
|
|
FR_BL
|
|
|
|
FR_CA
|
|
|
|
FR_CD
|
|
|
|
FR_CF
|
|
|
|
FR_CG
|
|
|
|
FR_CH
|
|
|
|
FR_CI
|
|
|
|
FR_CM
|
|
|
|
FR_DJ
|
|
|
|
FR_DZ
|
|
|
|
FR_FR
|
|
|
|
FR_GA
|
|
|
|
FR_GF
|
|
|
|
FR_GN
|
|
|
|
FR_GP
|
|
|
|
FR_GQ
|
|
|
|
FR_HT
|
|
|
|
FR_KM
|
|
|
|
FR_LU
|
|
|
|
FR_MA
|
|
|
|
FR_MC
|
|
|
|
FR_MF
|
|
|
|
FR_MG
|
|
|
|
FR_ML
|
|
|
|
FR_MQ
|
|
|
|
FR_MR
|
|
|
|
FR_MU
|
|
|
|
FR_NC
|
|
|
|
FR_NE
|
|
|
|
FR_PF
|
|
|
|
FR_PM
|
|
|
|
FR_RE
|
|
|
|
FR_RW
|
|
|
|
FR_SC
|
|
|
|
FR_SN
|
|
|
|
FR_SY
|
|
|
|
FR_TD
|
|
|
|
FR_TG
|
|
|
|
FR_TN
|
|
|
|
FR_VU
|
|
|
|
FR_WF
|
|
|
|
FR_YT
|
|
|
|
FUR
|
|
|
|
FUR_IT
|
|
|
|
FY
|
|
|
|
FY_NL
|
|
|
|
GA
|
|
|
|
GA_GB
|
|
|
|
GA_IE
|
|
|
|
GD
|
|
|
|
GD_GB
|
|
|
|
GL
|
|
|
|
GL_ES
|
|
|
|
GSW
|
|
|
|
GSW_CH
|
|
|
|
GSW_FR
|
|
|
|
GSW_LI
|
|
|
|
GU
|
|
|
|
GU_IN
|
|
|
|
GUZ
|
|
|
|
GUZ_KE
|
|
|
|
GV
|
|
|
|
GV_IM
|
|
|
|
HA
|
|
|
|
HA_GH
|
|
|
|
HA_NE
|
|
|
|
HA_NG
|
|
|
|
HAW
|
|
|
|
HAW_US
|
|
|
|
HE
|
|
|
|
HE_IL
|
2019-08-12 13:07:51 +00:00
|
|
|
HI
|
2021-08-20 12:25:51 +00:00
|
|
|
HI_IN
|
|
|
|
HR
|
|
|
|
HR_BA
|
|
|
|
HR_HR
|
|
|
|
HSB
|
|
|
|
HSB_DE
|
2019-08-12 13:07:51 +00:00
|
|
|
HU
|
2021-08-20 12:25:51 +00:00
|
|
|
HU_HU
|
2019-08-12 13:07:51 +00:00
|
|
|
HY
|
2021-08-20 12:25:51 +00:00
|
|
|
HY_AM
|
|
|
|
IA
|
2019-08-12 13:07:51 +00:00
|
|
|
ID
|
2021-08-20 12:25:51 +00:00
|
|
|
ID_ID
|
|
|
|
IG
|
|
|
|
IG_NG
|
|
|
|
II
|
|
|
|
II_CN
|
2019-08-12 13:07:51 +00:00
|
|
|
IS
|
2021-08-20 12:25:51 +00:00
|
|
|
IS_IS
|
2019-08-12 13:07:51 +00:00
|
|
|
IT
|
2021-08-20 12:25:51 +00:00
|
|
|
IT_CH
|
|
|
|
IT_IT
|
|
|
|
IT_SM
|
|
|
|
IT_VA
|
2019-08-12 13:07:51 +00:00
|
|
|
JA
|
2021-08-20 12:25:51 +00:00
|
|
|
JA_JP
|
|
|
|
JGO
|
|
|
|
JGO_CM
|
|
|
|
JMC
|
|
|
|
JMC_TZ
|
|
|
|
JV
|
|
|
|
JV_ID
|
2020-11-12 13:47:44 +00:00
|
|
|
KA
|
2021-08-20 12:25:51 +00:00
|
|
|
KA_GE
|
|
|
|
KAB
|
|
|
|
KAB_DZ
|
|
|
|
KAM
|
|
|
|
KAM_KE
|
|
|
|
KDE
|
|
|
|
KDE_TZ
|
|
|
|
KEA
|
|
|
|
KEA_CV
|
|
|
|
KHQ
|
|
|
|
KHQ_ML
|
|
|
|
KI
|
|
|
|
KI_KE
|
|
|
|
KK
|
|
|
|
KK_KZ
|
|
|
|
KKJ
|
|
|
|
KKJ_CM
|
|
|
|
KL
|
|
|
|
KL_GL
|
|
|
|
KLN
|
|
|
|
KLN_KE
|
2020-09-07 10:48:19 +00:00
|
|
|
KM
|
2021-08-20 12:25:51 +00:00
|
|
|
KM_KH
|
|
|
|
KN
|
|
|
|
KN_IN
|
2019-08-12 13:07:51 +00:00
|
|
|
KO
|
2021-08-20 12:25:51 +00:00
|
|
|
KO_KP
|
|
|
|
KO_KR
|
|
|
|
KOK
|
|
|
|
KOK_IN
|
|
|
|
KS
|
|
|
|
KS_ARAB
|
|
|
|
KS_ARAB_IN
|
|
|
|
KSB
|
|
|
|
KSB_TZ
|
|
|
|
KSF
|
|
|
|
KSF_CM
|
|
|
|
KSH
|
|
|
|
KSH_DE
|
|
|
|
KU
|
|
|
|
KU_TR
|
|
|
|
KW
|
|
|
|
KW_GB
|
|
|
|
KY
|
|
|
|
KY_KG
|
|
|
|
LAG
|
|
|
|
LAG_TZ
|
|
|
|
LB
|
|
|
|
LB_LU
|
|
|
|
LG
|
|
|
|
LG_UG
|
|
|
|
LKT
|
|
|
|
LKT_US
|
|
|
|
LN
|
|
|
|
LN_AO
|
|
|
|
LN_CD
|
|
|
|
LN_CF
|
|
|
|
LN_CG
|
|
|
|
LO
|
|
|
|
LO_LA
|
|
|
|
LRC
|
|
|
|
LRC_IQ
|
|
|
|
LRC_IR
|
2019-08-12 13:07:51 +00:00
|
|
|
LT
|
2021-08-20 12:25:51 +00:00
|
|
|
LT_LT
|
|
|
|
LU
|
|
|
|
LU_CD
|
|
|
|
LUO
|
|
|
|
LUO_KE
|
|
|
|
LUY
|
|
|
|
LUY_KE
|
|
|
|
LV
|
|
|
|
LV_LV
|
|
|
|
MAI
|
|
|
|
MAI_IN
|
|
|
|
MAS
|
|
|
|
MAS_KE
|
|
|
|
MAS_TZ
|
|
|
|
MER
|
|
|
|
MER_KE
|
|
|
|
MFE
|
|
|
|
MFE_MU
|
|
|
|
MG
|
|
|
|
MG_MG
|
|
|
|
MGH
|
|
|
|
MGH_MZ
|
|
|
|
MGO
|
|
|
|
MGO_CM
|
|
|
|
MI
|
|
|
|
MI_NZ
|
|
|
|
MK
|
|
|
|
MK_MK
|
|
|
|
ML
|
|
|
|
ML_IN
|
2019-08-12 13:07:51 +00:00
|
|
|
MN
|
2021-08-20 12:25:51 +00:00
|
|
|
MN_MN
|
|
|
|
MNI
|
|
|
|
MNI_BENG
|
|
|
|
MNI_BENG_IN
|
|
|
|
MR
|
|
|
|
MR_IN
|
|
|
|
MS
|
|
|
|
MS_BN
|
|
|
|
MS_ID
|
|
|
|
MS_MY
|
|
|
|
MS_SG
|
|
|
|
MT
|
|
|
|
MT_MT
|
|
|
|
MUA
|
|
|
|
MUA_CM
|
2020-09-07 10:48:19 +00:00
|
|
|
MY
|
2021-08-20 12:25:51 +00:00
|
|
|
MY_MM
|
|
|
|
MZN
|
|
|
|
MZN_IR
|
|
|
|
NAQ
|
|
|
|
NAQ_NA
|
2019-08-12 13:07:51 +00:00
|
|
|
NB
|
2021-08-20 12:25:51 +00:00
|
|
|
NB_NO
|
|
|
|
NB_SJ
|
|
|
|
ND
|
|
|
|
ND_ZW
|
|
|
|
NDS
|
|
|
|
NDS_DE
|
|
|
|
NDS_NL
|
|
|
|
NE
|
|
|
|
NE_IN
|
|
|
|
NE_NP
|
2019-08-12 13:07:51 +00:00
|
|
|
NL
|
2021-08-20 12:25:51 +00:00
|
|
|
NL_AW
|
|
|
|
NL_BE
|
|
|
|
NL_BQ
|
|
|
|
NL_CW
|
|
|
|
NL_NL
|
|
|
|
NL_SR
|
|
|
|
NL_SX
|
|
|
|
NMG
|
|
|
|
NMG_CM
|
|
|
|
NN
|
|
|
|
NN_NO
|
|
|
|
NNH
|
|
|
|
NNH_CM
|
|
|
|
NUS
|
|
|
|
NUS_SS
|
|
|
|
NYN
|
|
|
|
NYN_UG
|
|
|
|
OM
|
|
|
|
OM_ET
|
|
|
|
OM_KE
|
|
|
|
OR
|
|
|
|
OR_IN
|
|
|
|
OS
|
|
|
|
OS_GE
|
|
|
|
OS_RU
|
|
|
|
PA
|
|
|
|
PA_ARAB
|
|
|
|
PA_ARAB_PK
|
|
|
|
PA_GURU
|
|
|
|
PA_GURU_IN
|
|
|
|
PCM
|
|
|
|
PCM_NG
|
2019-08-12 13:07:51 +00:00
|
|
|
PL
|
2021-08-20 12:25:51 +00:00
|
|
|
PL_PL
|
|
|
|
PRG
|
|
|
|
PS
|
|
|
|
PS_AF
|
|
|
|
PS_PK
|
2019-08-12 13:07:51 +00:00
|
|
|
PT
|
2021-08-20 12:25:51 +00:00
|
|
|
PT_AO
|
2019-08-12 13:07:51 +00:00
|
|
|
PT_BR
|
2021-08-20 12:25:51 +00:00
|
|
|
PT_CH
|
|
|
|
PT_CV
|
|
|
|
PT_GQ
|
|
|
|
PT_GW
|
|
|
|
PT_LU
|
|
|
|
PT_MO
|
|
|
|
PT_MZ
|
|
|
|
PT_PT
|
|
|
|
PT_ST
|
|
|
|
PT_TL
|
|
|
|
QU
|
|
|
|
QU_BO
|
|
|
|
QU_EC
|
|
|
|
QU_PE
|
|
|
|
RM
|
|
|
|
RM_CH
|
|
|
|
RN
|
|
|
|
RN_BI
|
2019-08-12 13:07:51 +00:00
|
|
|
RO
|
2021-08-20 12:25:51 +00:00
|
|
|
RO_MD
|
|
|
|
RO_RO
|
|
|
|
ROF
|
|
|
|
ROF_TZ
|
2019-08-12 13:07:51 +00:00
|
|
|
RU
|
2021-08-20 12:25:51 +00:00
|
|
|
RU_BY
|
|
|
|
RU_KG
|
|
|
|
RU_KZ
|
|
|
|
RU_MD
|
|
|
|
RU_RU
|
|
|
|
RU_UA
|
|
|
|
RW
|
|
|
|
RW_RW
|
|
|
|
RWK
|
|
|
|
RWK_TZ
|
|
|
|
SAH
|
|
|
|
SAH_RU
|
|
|
|
SAQ
|
|
|
|
SAQ_KE
|
|
|
|
SAT
|
|
|
|
SAT_OLCK
|
|
|
|
SAT_OLCK_IN
|
|
|
|
SBP
|
|
|
|
SBP_TZ
|
|
|
|
SD
|
|
|
|
SD_ARAB
|
|
|
|
SD_ARAB_PK
|
|
|
|
SD_DEVA
|
|
|
|
SD_DEVA_IN
|
|
|
|
SE
|
|
|
|
SE_FI
|
|
|
|
SE_NO
|
|
|
|
SE_SE
|
|
|
|
SEH
|
|
|
|
SEH_MZ
|
|
|
|
SES
|
|
|
|
SES_ML
|
|
|
|
SG
|
|
|
|
SG_CF
|
|
|
|
SHI
|
|
|
|
SHI_LATN
|
|
|
|
SHI_LATN_MA
|
|
|
|
SHI_TFNG
|
|
|
|
SHI_TFNG_MA
|
|
|
|
SI
|
|
|
|
SI_LK
|
2019-08-12 13:07:51 +00:00
|
|
|
SK
|
2021-08-20 12:25:51 +00:00
|
|
|
SK_SK
|
2020-06-10 13:39:10 +00:00
|
|
|
SL
|
2021-08-20 12:25:51 +00:00
|
|
|
SL_SI
|
|
|
|
SMN
|
|
|
|
SMN_FI
|
|
|
|
SN
|
|
|
|
SN_ZW
|
|
|
|
SO
|
|
|
|
SO_DJ
|
|
|
|
SO_ET
|
|
|
|
SO_KE
|
|
|
|
SO_SO
|
2019-08-12 13:07:51 +00:00
|
|
|
SQ
|
2021-08-20 12:25:51 +00:00
|
|
|
SQ_AL
|
|
|
|
SQ_MK
|
|
|
|
SQ_XK
|
2019-08-12 13:07:51 +00:00
|
|
|
SR
|
2021-08-20 12:25:51 +00:00
|
|
|
SR_CYRL
|
|
|
|
SR_CYRL_BA
|
|
|
|
SR_CYRL_ME
|
|
|
|
SR_CYRL_RS
|
|
|
|
SR_CYRL_XK
|
|
|
|
SR_LATN
|
|
|
|
SR_LATN_BA
|
|
|
|
SR_LATN_ME
|
|
|
|
SR_LATN_RS
|
|
|
|
SR_LATN_XK
|
|
|
|
SU
|
|
|
|
SU_LATN
|
|
|
|
SU_LATN_ID
|
2019-08-12 13:07:51 +00:00
|
|
|
SV
|
2021-08-20 12:25:51 +00:00
|
|
|
SV_AX
|
|
|
|
SV_FI
|
|
|
|
SV_SE
|
2020-06-10 13:39:10 +00:00
|
|
|
SW
|
2021-08-20 12:25:51 +00:00
|
|
|
SW_CD
|
|
|
|
SW_KE
|
|
|
|
SW_TZ
|
|
|
|
SW_UG
|
2020-06-10 13:39:10 +00:00
|
|
|
TA
|
2021-08-20 12:25:51 +00:00
|
|
|
TA_IN
|
|
|
|
TA_LK
|
|
|
|
TA_MY
|
|
|
|
TA_SG
|
|
|
|
TE
|
|
|
|
TE_IN
|
|
|
|
TEO
|
|
|
|
TEO_KE
|
|
|
|
TEO_UG
|
|
|
|
TG
|
|
|
|
TG_TJ
|
2019-08-12 13:07:51 +00:00
|
|
|
TH
|
2021-08-20 12:25:51 +00:00
|
|
|
TH_TH
|
|
|
|
TI
|
|
|
|
TI_ER
|
|
|
|
TI_ET
|
|
|
|
TK
|
|
|
|
TK_TM
|
|
|
|
TO
|
|
|
|
TO_TO
|
2019-08-12 13:07:51 +00:00
|
|
|
TR
|
2021-08-20 12:25:51 +00:00
|
|
|
TR_CY
|
|
|
|
TR_TR
|
|
|
|
TT
|
|
|
|
TT_RU
|
|
|
|
TWQ
|
|
|
|
TWQ_NE
|
|
|
|
TZM
|
|
|
|
TZM_MA
|
|
|
|
UG
|
|
|
|
UG_CN
|
2019-08-12 13:07:51 +00:00
|
|
|
UK
|
2021-08-20 12:25:51 +00:00
|
|
|
UK_UA
|
|
|
|
UR
|
|
|
|
UR_IN
|
|
|
|
UR_PK
|
|
|
|
UZ
|
|
|
|
UZ_ARAB
|
|
|
|
UZ_ARAB_AF
|
|
|
|
UZ_CYRL
|
|
|
|
UZ_CYRL_UZ
|
|
|
|
UZ_LATN
|
|
|
|
UZ_LATN_UZ
|
|
|
|
VAI
|
|
|
|
VAI_LATN
|
|
|
|
VAI_LATN_LR
|
|
|
|
VAI_VAII
|
|
|
|
VAI_VAII_LR
|
2019-08-12 13:07:51 +00:00
|
|
|
VI
|
2021-08-20 12:25:51 +00:00
|
|
|
VI_VN
|
|
|
|
VO
|
|
|
|
VUN
|
|
|
|
VUN_TZ
|
|
|
|
WAE
|
|
|
|
WAE_CH
|
|
|
|
WO
|
|
|
|
WO_SN
|
|
|
|
XH
|
|
|
|
XH_ZA
|
|
|
|
XOG
|
|
|
|
XOG_UG
|
|
|
|
YAV
|
|
|
|
YAV_CM
|
|
|
|
YI
|
|
|
|
YO
|
|
|
|
YO_BJ
|
|
|
|
YO_NG
|
|
|
|
YUE
|
|
|
|
YUE_HANS
|
|
|
|
YUE_HANS_CN
|
|
|
|
YUE_HANT
|
|
|
|
YUE_HANT_HK
|
|
|
|
ZGH
|
|
|
|
ZGH_MA
|
|
|
|
ZH
|
2019-08-12 13:07:51 +00:00
|
|
|
ZH_HANS
|
2021-08-20 12:25:51 +00:00
|
|
|
ZH_HANS_CN
|
|
|
|
ZH_HANS_HK
|
|
|
|
ZH_HANS_MO
|
|
|
|
ZH_HANS_SG
|
2019-08-12 13:07:51 +00:00
|
|
|
ZH_HANT
|
2021-08-20 12:25:51 +00:00
|
|
|
ZH_HANT_HK
|
|
|
|
ZH_HANT_MO
|
|
|
|
ZH_HANT_TW
|
|
|
|
ZU
|
|
|
|
ZU_ZA
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type LanguageDisplay {
|
|
|
|
code: LanguageCodeEnum!
|
|
|
|
language: String!
|
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type LimitInfo {
|
|
|
|
currentUsage: Limits!
|
|
|
|
allowedUsage: Limits!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Limits {
|
|
|
|
channels: Int
|
|
|
|
orders: Int
|
|
|
|
productVariants: Int
|
|
|
|
staffUsers: Int
|
|
|
|
warehouses: Int
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:54:15 +00:00
|
|
|
type Manifest {
|
|
|
|
identifier: String!
|
|
|
|
version: String!
|
|
|
|
name: String!
|
|
|
|
about: String
|
|
|
|
permissions: [Permission]
|
|
|
|
appUrl: String
|
|
|
|
configurationUrl: String
|
|
|
|
tokenTargetUrl: String
|
|
|
|
dataPrivacy: String
|
|
|
|
dataPrivacyUrl: String
|
|
|
|
homepageUrl: String
|
|
|
|
supportUrl: String
|
2021-08-20 13:58:53 +00:00
|
|
|
extensions: [AppManifestExtension!]!
|
2020-07-22 10:54:15 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Margin {
|
|
|
|
start: Int
|
|
|
|
stop: Int
|
|
|
|
}
|
|
|
|
|
2021-04-29 08:58:03 +00:00
|
|
|
enum MeasurementUnitsEnum {
|
|
|
|
CM
|
|
|
|
M
|
|
|
|
KM
|
|
|
|
FT
|
|
|
|
YD
|
|
|
|
INCH
|
|
|
|
SQ_CM
|
|
|
|
SQ_M
|
|
|
|
SQ_KM
|
|
|
|
SQ_FT
|
|
|
|
SQ_YD
|
|
|
|
SQ_INCH
|
|
|
|
CUBIC_MILLIMETER
|
|
|
|
CUBIC_CENTIMETER
|
|
|
|
CUBIC_DECIMETER
|
|
|
|
CUBIC_METER
|
|
|
|
LITER
|
|
|
|
CUBIC_FOOT
|
|
|
|
CUBIC_INCH
|
|
|
|
CUBIC_YARD
|
|
|
|
QT
|
|
|
|
PINT
|
|
|
|
FL_OZ
|
|
|
|
ACRE_IN
|
|
|
|
ACRE_FT
|
|
|
|
G
|
|
|
|
LB
|
|
|
|
OZ
|
|
|
|
KG
|
|
|
|
TONNE
|
|
|
|
}
|
|
|
|
|
2021-01-20 16:37:36 +00:00
|
|
|
type Menu implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
2020-10-20 11:20:55 +00:00
|
|
|
slug: String!
|
2021-01-20 16:37:36 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
items: [MenuItem]
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type MenuCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [MenuCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuCountableEdge {
|
|
|
|
node: Menu!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menu: Menu
|
|
|
|
}
|
|
|
|
|
|
|
|
input MenuCreateInput {
|
|
|
|
name: String!
|
2020-10-20 11:20:55 +00:00
|
|
|
slug: String
|
2019-08-12 13:07:51 +00:00
|
|
|
items: [MenuItemInput]
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menu: Menu
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type MenuError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: MenuErrorCode!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum MenuErrorCode {
|
|
|
|
CANNOT_ASSIGN_NODE
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
INVALID_MENU_ITEM
|
|
|
|
NO_MENU_ITEM_PROVIDED
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
TOO_MANY_MENU_ITEMS
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
2019-09-10 11:28:18 +00:00
|
|
|
input MenuFilterInput {
|
|
|
|
search: String
|
2020-10-20 11:20:55 +00:00
|
|
|
slug: [String]
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-09-10 11:28:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input MenuInput {
|
|
|
|
name: String
|
2020-10-20 11:20:55 +00:00
|
|
|
slug: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-01-20 16:37:36 +00:00
|
|
|
type MenuItem implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
2019-11-27 10:00:36 +00:00
|
|
|
name: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
menu: Menu!
|
|
|
|
parent: MenuItem
|
|
|
|
category: Category
|
|
|
|
collection: Collection
|
|
|
|
page: Page
|
|
|
|
level: Int!
|
2021-01-20 16:37:36 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
children: [MenuItem]
|
|
|
|
url: String
|
|
|
|
translation(languageCode: LanguageCodeEnum!): MenuItemTranslation
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [MenuItemCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemCountableEdge {
|
|
|
|
node: MenuItem!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menuItem: MenuItem
|
|
|
|
}
|
|
|
|
|
|
|
|
input MenuItemCreateInput {
|
|
|
|
name: String!
|
|
|
|
url: String
|
|
|
|
category: ID
|
|
|
|
collection: ID
|
|
|
|
page: ID
|
|
|
|
menu: ID!
|
|
|
|
parent: ID
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menuItem: MenuItem
|
|
|
|
}
|
|
|
|
|
2019-09-10 11:28:18 +00:00
|
|
|
input MenuItemFilterInput {
|
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-09-10 11:28:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input MenuItemInput {
|
|
|
|
name: String
|
|
|
|
url: String
|
|
|
|
category: ID
|
|
|
|
collection: ID
|
|
|
|
page: ID
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemMove {
|
|
|
|
menu: Menu
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input MenuItemMoveInput {
|
|
|
|
itemId: ID!
|
|
|
|
parentId: ID
|
|
|
|
sortOrder: Int
|
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
input MenuItemSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: MenuItemsSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type MenuItemTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
translation(languageCode: LanguageCodeEnum!): MenuItemTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
menuItem: MenuItem
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type MenuItemTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menuItem: MenuItem
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
type MenuItemUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menuItem: MenuItem
|
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum MenuItemsSortField {
|
|
|
|
NAME
|
|
|
|
}
|
|
|
|
|
|
|
|
enum MenuSortField {
|
|
|
|
NAME
|
|
|
|
ITEMS_COUNT
|
|
|
|
}
|
|
|
|
|
|
|
|
input MenuSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: MenuSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type MenuUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
menuErrors: [MenuError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MenuError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
menu: Menu
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type MetadataError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: MetadataErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum MetadataErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
2020-10-15 11:37:30 +00:00
|
|
|
REQUIRED
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
2021-06-28 13:51:19 +00:00
|
|
|
input MetadataFilter {
|
|
|
|
key: String!
|
|
|
|
value: String
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
input MetadataInput {
|
|
|
|
key: String!
|
|
|
|
value: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type MetadataItem {
|
|
|
|
key: String!
|
|
|
|
value: String!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Money {
|
|
|
|
currency: String!
|
|
|
|
amount: Float!
|
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
input MoneyInput {
|
|
|
|
currency: String!
|
|
|
|
amount: PositiveDecimal!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type MoneyRange {
|
|
|
|
start: Money
|
|
|
|
stop: Money
|
|
|
|
}
|
|
|
|
|
|
|
|
input MoveProductInput {
|
|
|
|
productId: ID!
|
|
|
|
sortOrder: Int
|
|
|
|
}
|
|
|
|
|
2019-10-17 15:29:13 +00:00
|
|
|
type Mutation {
|
2019-09-26 15:06:14 +00:00
|
|
|
webhookCreate(input: WebhookCreateInput!): WebhookCreate
|
|
|
|
webhookDelete(id: ID!): WebhookDelete
|
|
|
|
webhookUpdate(id: ID!, input: WebhookUpdateInput!): WebhookUpdate
|
2022-01-25 09:27:59 +00:00
|
|
|
eventDeliveryRetry(id: ID!): EventDeliveryRetry
|
2020-01-17 15:16:05 +00:00
|
|
|
createWarehouse(input: WarehouseCreateInput!): WarehouseCreate
|
|
|
|
updateWarehouse(id: ID!, input: WarehouseUpdateInput!): WarehouseUpdate
|
|
|
|
deleteWarehouse(id: ID!): WarehouseDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
assignWarehouseShippingZone(
|
|
|
|
id: ID!
|
|
|
|
shippingZoneIds: [ID!]!
|
|
|
|
): WarehouseShippingZoneAssign
|
|
|
|
unassignWarehouseShippingZone(
|
|
|
|
id: ID!
|
|
|
|
shippingZoneIds: [ID!]!
|
|
|
|
): WarehouseShippingZoneUnassign
|
|
|
|
staffNotificationRecipientCreate(
|
|
|
|
input: StaffNotificationRecipientInput!
|
|
|
|
): StaffNotificationRecipientCreate
|
|
|
|
staffNotificationRecipientUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: StaffNotificationRecipientInput!
|
|
|
|
): StaffNotificationRecipientUpdate
|
2020-01-17 15:16:05 +00:00
|
|
|
staffNotificationRecipientDelete(id: ID!): StaffNotificationRecipientDelete
|
2019-08-12 13:07:51 +00:00
|
|
|
shopDomainUpdate(input: SiteDomainInput): ShopDomainUpdate
|
|
|
|
shopSettingsUpdate(input: ShopSettingsInput!): ShopSettingsUpdate
|
|
|
|
shopFetchTaxRates: ShopFetchTaxRates
|
2022-01-25 12:44:19 +00:00
|
|
|
shopSettingsTranslate(
|
|
|
|
input: ShopSettingsTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): ShopSettingsTranslate
|
2019-08-12 13:07:51 +00:00
|
|
|
shopAddressUpdate(input: AddressInput): ShopAddressUpdate
|
2020-11-30 13:19:57 +00:00
|
|
|
orderSettingsUpdate(input: OrderSettingsUpdateInput!): OrderSettingsUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardSettingsUpdate(
|
|
|
|
input: GiftCardSettingsUpdateInput!
|
|
|
|
): GiftCardSettingsUpdate
|
|
|
|
shippingMethodChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: ShippingMethodChannelListingInput!
|
|
|
|
): ShippingMethodChannelListingUpdate
|
2019-08-12 13:07:51 +00:00
|
|
|
shippingPriceCreate(input: ShippingPriceInput!): ShippingPriceCreate
|
|
|
|
shippingPriceDelete(id: ID!): ShippingPriceDelete
|
|
|
|
shippingPriceBulkDelete(ids: [ID]!): ShippingPriceBulkDelete
|
|
|
|
shippingPriceUpdate(id: ID!, input: ShippingPriceInput!): ShippingPriceUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingPriceTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: ShippingPriceTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): ShippingPriceTranslate
|
|
|
|
shippingPriceExcludeProducts(
|
|
|
|
id: ID!
|
|
|
|
input: ShippingPriceExcludeProductsInput!
|
|
|
|
): ShippingPriceExcludeProducts
|
|
|
|
shippingPriceRemoveProductFromExclude(
|
|
|
|
id: ID!
|
|
|
|
products: [ID]!
|
|
|
|
): ShippingPriceRemoveProductFromExclude
|
2020-04-20 11:11:07 +00:00
|
|
|
shippingZoneCreate(input: ShippingZoneCreateInput!): ShippingZoneCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
shippingZoneDelete(id: ID!): ShippingZoneDelete
|
|
|
|
shippingZoneBulkDelete(ids: [ID]!): ShippingZoneBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingZoneUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: ShippingZoneUpdateInput!
|
|
|
|
): ShippingZoneUpdate
|
|
|
|
productAttributeAssign(
|
|
|
|
operations: [ProductAttributeAssignInput]!
|
|
|
|
productTypeId: ID!
|
|
|
|
): ProductAttributeAssign
|
|
|
|
productAttributeAssignmentUpdate(
|
|
|
|
operations: [ProductAttributeAssignmentUpdateInput]!
|
|
|
|
productTypeId: ID!
|
|
|
|
): ProductAttributeAssignmentUpdate
|
|
|
|
productAttributeUnassign(
|
|
|
|
attributeIds: [ID]!
|
|
|
|
productTypeId: ID!
|
|
|
|
): ProductAttributeUnassign
|
2019-08-12 13:07:51 +00:00
|
|
|
categoryCreate(input: CategoryInput!, parent: ID): CategoryCreate
|
|
|
|
categoryDelete(id: ID!): CategoryDelete
|
|
|
|
categoryBulkDelete(ids: [ID]!): CategoryBulkDelete
|
|
|
|
categoryUpdate(id: ID!, input: CategoryInput!): CategoryUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
categoryTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: TranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): CategoryTranslate
|
|
|
|
collectionAddProducts(
|
|
|
|
collectionId: ID!
|
|
|
|
products: [ID]!
|
|
|
|
): CollectionAddProducts
|
2019-08-12 13:07:51 +00:00
|
|
|
collectionCreate(input: CollectionCreateInput!): CollectionCreate
|
|
|
|
collectionDelete(id: ID!): CollectionDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionReorderProducts(
|
|
|
|
collectionId: ID!
|
|
|
|
moves: [MoveProductInput]!
|
|
|
|
): CollectionReorderProducts
|
2019-08-12 13:07:51 +00:00
|
|
|
collectionBulkDelete(ids: [ID]!): CollectionBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionRemoveProducts(
|
|
|
|
collectionId: ID!
|
|
|
|
products: [ID]!
|
|
|
|
): CollectionRemoveProducts
|
2019-08-12 13:07:51 +00:00
|
|
|
collectionUpdate(id: ID!, input: CollectionInput!): CollectionUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
collectionTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: TranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): CollectionTranslate
|
|
|
|
collectionChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: CollectionChannelListingUpdateInput!
|
|
|
|
): CollectionChannelListingUpdate
|
2019-08-12 13:07:51 +00:00
|
|
|
productCreate(input: ProductCreateInput!): ProductCreate
|
|
|
|
productDelete(id: ID!): ProductDelete
|
|
|
|
productBulkDelete(ids: [ID]!): ProductBulkDelete
|
|
|
|
productUpdate(id: ID!, input: ProductInput!): ProductUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
productTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: TranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): ProductTranslate
|
|
|
|
productChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: ProductChannelListingUpdateInput!
|
|
|
|
): ProductChannelListingUpdate
|
2021-03-17 13:07:48 +00:00
|
|
|
productMediaCreate(input: ProductMediaCreateInput!): ProductMediaCreate
|
2022-01-25 12:44:19 +00:00
|
|
|
productVariantReorder(
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
productId: ID!
|
|
|
|
): ProductVariantReorder
|
2021-03-17 13:07:48 +00:00
|
|
|
productMediaDelete(id: ID!): ProductMediaDelete
|
|
|
|
productMediaBulkDelete(ids: [ID]!): ProductMediaBulkDelete
|
|
|
|
productMediaReorder(mediaIds: [ID]!, productId: ID!): ProductMediaReorder
|
2022-01-25 12:44:19 +00:00
|
|
|
productMediaUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: ProductMediaUpdateInput!
|
|
|
|
): ProductMediaUpdate
|
2019-08-12 13:07:51 +00:00
|
|
|
productTypeCreate(input: ProductTypeInput!): ProductTypeCreate
|
|
|
|
productTypeDelete(id: ID!): ProductTypeDelete
|
|
|
|
productTypeBulkDelete(ids: [ID]!): ProductTypeBulkDelete
|
|
|
|
productTypeUpdate(id: ID!, input: ProductTypeInput!): ProductTypeUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
productTypeReorderAttributes(
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
productTypeId: ID!
|
|
|
|
type: ProductAttributeType!
|
|
|
|
): ProductTypeReorderAttributes
|
|
|
|
productReorderAttributeValues(
|
|
|
|
attributeId: ID!
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
productId: ID!
|
|
|
|
): ProductReorderAttributeValues
|
|
|
|
digitalContentCreate(
|
|
|
|
input: DigitalContentUploadInput!
|
|
|
|
variantId: ID!
|
|
|
|
): DigitalContentCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
digitalContentDelete(variantId: ID!): DigitalContentDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
digitalContentUpdate(
|
|
|
|
input: DigitalContentInput!
|
|
|
|
variantId: ID!
|
|
|
|
): DigitalContentUpdate
|
|
|
|
digitalContentUrlCreate(
|
|
|
|
input: DigitalContentUrlCreateInput!
|
|
|
|
): DigitalContentUrlCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariantCreate(input: ProductVariantCreateInput!): ProductVariantCreate
|
|
|
|
productVariantDelete(id: ID!): ProductVariantDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
productVariantBulkCreate(
|
|
|
|
product: ID!
|
|
|
|
variants: [ProductVariantBulkCreateInput]!
|
|
|
|
): ProductVariantBulkCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariantBulkDelete(ids: [ID]!): ProductVariantBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
productVariantStocksCreate(
|
|
|
|
stocks: [StockInput!]!
|
|
|
|
variantId: ID!
|
|
|
|
): ProductVariantStocksCreate
|
|
|
|
productVariantStocksDelete(
|
|
|
|
variantId: ID!
|
|
|
|
warehouseIds: [ID!]
|
|
|
|
): ProductVariantStocksDelete
|
|
|
|
productVariantStocksUpdate(
|
|
|
|
stocks: [StockInput!]!
|
|
|
|
variantId: ID!
|
|
|
|
): ProductVariantStocksUpdate
|
|
|
|
productVariantUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: ProductVariantInput!
|
|
|
|
): ProductVariantUpdate
|
|
|
|
productVariantSetDefault(
|
|
|
|
productId: ID!
|
|
|
|
variantId: ID!
|
|
|
|
): ProductVariantSetDefault
|
|
|
|
productVariantTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: NameTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): ProductVariantTranslate
|
|
|
|
productVariantChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: [ProductVariantChannelListingAddInput!]!
|
|
|
|
): ProductVariantChannelListingUpdate
|
|
|
|
productVariantReorderAttributeValues(
|
|
|
|
attributeId: ID!
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
variantId: ID!
|
|
|
|
): ProductVariantReorderAttributeValues
|
2021-10-01 12:41:31 +00:00
|
|
|
productVariantPreorderDeactivate(id: ID!): ProductVariantPreorderDeactivate
|
2021-03-17 13:07:48 +00:00
|
|
|
variantMediaAssign(mediaId: ID!, variantId: ID!): VariantMediaAssign
|
|
|
|
variantMediaUnassign(mediaId: ID!, variantId: ID!): VariantMediaUnassign
|
2020-09-07 10:48:19 +00:00
|
|
|
paymentCapture(amount: PositiveDecimal, paymentId: ID!): PaymentCapture
|
|
|
|
paymentRefund(amount: PositiveDecimal, paymentId: ID!): PaymentRefund
|
2019-08-12 13:07:51 +00:00
|
|
|
paymentVoid(paymentId: ID!): PaymentVoid
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentInitialize(
|
|
|
|
channel: String
|
|
|
|
gateway: String!
|
|
|
|
paymentData: JSONString
|
|
|
|
): PaymentInitialize
|
2021-12-13 14:43:30 +00:00
|
|
|
paymentCheckBalance(input: PaymentCheckBalanceInput!): PaymentCheckBalance
|
2020-11-19 14:42:14 +00:00
|
|
|
pageCreate(input: PageCreateInput!): PageCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
pageDelete(id: ID!): PageDelete
|
|
|
|
pageBulkDelete(ids: [ID]!): PageBulkDelete
|
|
|
|
pageBulkPublish(ids: [ID]!, isPublished: Boolean!): PageBulkPublish
|
|
|
|
pageUpdate(id: ID!, input: PageInput!): PageUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
pageTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: PageTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): PageTranslate
|
2020-11-19 14:42:14 +00:00
|
|
|
pageTypeCreate(input: PageTypeCreateInput!): PageTypeCreate
|
|
|
|
pageTypeUpdate(id: ID, input: PageTypeUpdateInput!): PageTypeUpdate
|
|
|
|
pageTypeDelete(id: ID!): PageTypeDelete
|
|
|
|
pageTypeBulkDelete(ids: [ID!]!): PageTypeBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
pageAttributeAssign(
|
|
|
|
attributeIds: [ID!]!
|
|
|
|
pageTypeId: ID!
|
|
|
|
): PageAttributeAssign
|
|
|
|
pageAttributeUnassign(
|
|
|
|
attributeIds: [ID!]!
|
|
|
|
pageTypeId: ID!
|
|
|
|
): PageAttributeUnassign
|
|
|
|
pageTypeReorderAttributes(
|
|
|
|
moves: [ReorderInput!]!
|
|
|
|
pageTypeId: ID!
|
|
|
|
): PageTypeReorderAttributes
|
|
|
|
pageReorderAttributeValues(
|
|
|
|
attributeId: ID!
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
pageId: ID!
|
|
|
|
): PageReorderAttributeValues
|
2019-08-12 13:07:51 +00:00
|
|
|
draftOrderComplete(id: ID!): DraftOrderComplete
|
|
|
|
draftOrderCreate(input: DraftOrderCreateInput!): DraftOrderCreate
|
|
|
|
draftOrderDelete(id: ID!): DraftOrderDelete
|
|
|
|
draftOrderBulkDelete(ids: [ID]!): DraftOrderBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
draftOrderLinesBulkDelete(ids: [ID]!): DraftOrderLinesBulkDelete
|
|
|
|
@deprecated(reason: "This field will be removed in Saleor 4.0.")
|
2019-08-12 13:07:51 +00:00
|
|
|
draftOrderUpdate(id: ID!, input: DraftOrderInput!): DraftOrderUpdate
|
|
|
|
orderAddNote(order: ID!, input: OrderAddNoteInput!): OrderAddNote
|
2020-04-22 14:41:07 +00:00
|
|
|
orderCancel(id: ID!): OrderCancel
|
2020-09-07 10:48:19 +00:00
|
|
|
orderCapture(amount: PositiveDecimal!, id: ID!): OrderCapture
|
2020-11-30 13:19:57 +00:00
|
|
|
orderConfirm(id: ID!): OrderConfirm
|
2020-04-22 14:41:07 +00:00
|
|
|
orderFulfill(input: OrderFulfillInput!, order: ID): OrderFulfill
|
2022-01-25 12:44:19 +00:00
|
|
|
orderFulfillmentCancel(
|
|
|
|
id: ID!
|
|
|
|
input: FulfillmentCancelInput
|
|
|
|
): FulfillmentCancel
|
|
|
|
orderFulfillmentApprove(
|
|
|
|
allowStockToBeExceeded: Boolean = false
|
|
|
|
id: ID!
|
|
|
|
notifyCustomer: Boolean!
|
|
|
|
): FulfillmentApprove
|
|
|
|
orderFulfillmentUpdateTracking(
|
|
|
|
id: ID!
|
|
|
|
input: FulfillmentUpdateTrackingInput!
|
|
|
|
): FulfillmentUpdateTracking
|
|
|
|
orderFulfillmentRefundProducts(
|
|
|
|
input: OrderRefundProductsInput!
|
|
|
|
order: ID!
|
|
|
|
): FulfillmentRefundProducts
|
|
|
|
orderFulfillmentReturnProducts(
|
|
|
|
input: OrderReturnProductsInput!
|
|
|
|
order: ID!
|
|
|
|
): FulfillmentReturnProducts
|
2021-01-27 09:49:35 +00:00
|
|
|
orderLinesCreate(id: ID!, input: [OrderLineCreateInput]!): OrderLinesCreate
|
|
|
|
orderLineDelete(id: ID!): OrderLineDelete
|
|
|
|
orderLineUpdate(id: ID!, input: OrderLineInput!): OrderLineUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
orderDiscountAdd(
|
|
|
|
input: OrderDiscountCommonInput!
|
|
|
|
orderId: ID!
|
|
|
|
): OrderDiscountAdd
|
|
|
|
orderDiscountUpdate(
|
|
|
|
discountId: ID!
|
|
|
|
input: OrderDiscountCommonInput!
|
|
|
|
): OrderDiscountUpdate
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
orderDiscountDelete(discountId: ID!): OrderDiscountDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
orderLineDiscountUpdate(
|
|
|
|
input: OrderDiscountCommonInput!
|
|
|
|
orderLineId: ID!
|
|
|
|
): OrderLineDiscountUpdate
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
orderLineDiscountRemove(orderLineId: ID!): OrderLineDiscountRemove
|
2020-11-24 16:02:50 +00:00
|
|
|
orderMarkAsPaid(id: ID!, transactionReference: String): OrderMarkAsPaid
|
2020-09-07 10:48:19 +00:00
|
|
|
orderRefund(amount: PositiveDecimal!, id: ID!): OrderRefund
|
2019-08-12 13:07:51 +00:00
|
|
|
orderUpdate(id: ID!, input: OrderUpdateInput!): OrderUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
orderUpdateShipping(
|
|
|
|
order: ID!
|
|
|
|
input: OrderUpdateShippingInput!
|
|
|
|
): OrderUpdateShipping
|
2019-08-12 13:07:51 +00:00
|
|
|
orderVoid(id: ID!): OrderVoid
|
2020-04-22 14:41:07 +00:00
|
|
|
orderBulkCancel(ids: [ID]!): OrderBulkCancel
|
2020-04-20 11:11:07 +00:00
|
|
|
deleteMetadata(id: ID!, keys: [String!]!): DeleteMetadata
|
|
|
|
deletePrivateMetadata(id: ID!, keys: [String!]!): DeletePrivateMetadata
|
|
|
|
updateMetadata(id: ID!, input: [MetadataInput!]!): UpdateMetadata
|
2022-01-25 12:44:19 +00:00
|
|
|
updatePrivateMetadata(
|
|
|
|
id: ID!
|
|
|
|
input: [MetadataInput!]!
|
|
|
|
): UpdatePrivateMetadata
|
2019-08-12 13:07:51 +00:00
|
|
|
assignNavigation(menu: ID, navigationType: NavigationType!): AssignNavigation
|
|
|
|
menuCreate(input: MenuCreateInput!): MenuCreate
|
|
|
|
menuDelete(id: ID!): MenuDelete
|
|
|
|
menuBulkDelete(ids: [ID]!): MenuBulkDelete
|
|
|
|
menuUpdate(id: ID!, input: MenuInput!): MenuUpdate
|
|
|
|
menuItemCreate(input: MenuItemCreateInput!): MenuItemCreate
|
|
|
|
menuItemDelete(id: ID!): MenuItemDelete
|
|
|
|
menuItemBulkDelete(ids: [ID]!): MenuItemBulkDelete
|
|
|
|
menuItemUpdate(id: ID!, input: MenuItemInput!): MenuItemUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
menuItemTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: NameTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): MenuItemTranslate
|
2019-08-12 13:07:51 +00:00
|
|
|
menuItemMove(menu: ID!, moves: [MenuItemMoveInput]!): MenuItemMove
|
2020-06-25 11:36:43 +00:00
|
|
|
invoiceRequest(number: String, orderId: ID!): InvoiceRequest
|
|
|
|
invoiceRequestDelete(id: ID!): InvoiceRequestDelete
|
|
|
|
invoiceCreate(input: InvoiceCreateInput!, orderId: ID!): InvoiceCreate
|
|
|
|
invoiceDelete(id: ID!): InvoiceDelete
|
|
|
|
invoiceUpdate(id: ID!, input: UpdateInvoiceInput!): InvoiceUpdate
|
2021-04-16 12:33:14 +00:00
|
|
|
invoiceSendNotification(id: ID!): InvoiceSendNotification
|
2019-08-12 13:07:51 +00:00
|
|
|
giftCardActivate(id: ID!): GiftCardActivate
|
|
|
|
giftCardCreate(input: GiftCardCreateInput!): GiftCardCreate
|
2021-08-16 13:44:00 +00:00
|
|
|
giftCardDelete(id: ID!): GiftCardDelete
|
2019-08-12 13:07:51 +00:00
|
|
|
giftCardDeactivate(id: ID!): GiftCardDeactivate
|
|
|
|
giftCardUpdate(id: ID!, input: GiftCardUpdateInput!): GiftCardUpdate
|
2021-09-14 13:57:02 +00:00
|
|
|
giftCardResend(input: GiftCardResendInput!): GiftCardResend
|
|
|
|
giftCardAddNote(id: ID!, input: GiftCardAddNoteInput!): GiftCardAddNote
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardBulkCreate(input: GiftCardBulkCreateInput!): GiftCardBulkCreate
|
2021-09-14 13:57:02 +00:00
|
|
|
giftCardBulkDelete(ids: [ID]!): GiftCardBulkDelete
|
|
|
|
giftCardBulkActivate(ids: [ID]!): GiftCardBulkActivate
|
|
|
|
giftCardBulkDeactivate(ids: [ID]!): GiftCardBulkDeactivate
|
2021-06-01 12:25:43 +00:00
|
|
|
pluginUpdate(channelId: ID, id: ID!, input: PluginUpdateInput!): PluginUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
externalNotificationTrigger(
|
|
|
|
channel: String!
|
|
|
|
input: ExternalNotificationTriggerInput!
|
|
|
|
pluginId: String
|
|
|
|
): ExternalNotificationTrigger
|
2019-08-12 13:07:51 +00:00
|
|
|
saleCreate(input: SaleInput!): SaleCreate
|
|
|
|
saleDelete(id: ID!): SaleDelete
|
|
|
|
saleBulkDelete(ids: [ID]!): SaleBulkDelete
|
|
|
|
saleUpdate(id: ID!, input: SaleInput!): SaleUpdate
|
|
|
|
saleCataloguesAdd(id: ID!, input: CatalogueInput!): SaleAddCatalogues
|
|
|
|
saleCataloguesRemove(id: ID!, input: CatalogueInput!): SaleRemoveCatalogues
|
2022-01-25 12:44:19 +00:00
|
|
|
saleTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: NameTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): SaleTranslate
|
|
|
|
saleChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: SaleChannelListingInput!
|
|
|
|
): SaleChannelListingUpdate
|
2019-08-12 13:07:51 +00:00
|
|
|
voucherCreate(input: VoucherInput!): VoucherCreate
|
|
|
|
voucherDelete(id: ID!): VoucherDelete
|
|
|
|
voucherBulkDelete(ids: [ID]!): VoucherBulkDelete
|
|
|
|
voucherUpdate(id: ID!, input: VoucherInput!): VoucherUpdate
|
|
|
|
voucherCataloguesAdd(id: ID!, input: CatalogueInput!): VoucherAddCatalogues
|
2022-01-25 12:44:19 +00:00
|
|
|
voucherCataloguesRemove(
|
|
|
|
id: ID!
|
|
|
|
input: CatalogueInput!
|
|
|
|
): VoucherRemoveCatalogues
|
|
|
|
voucherTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: NameTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): VoucherTranslate
|
|
|
|
voucherChannelListingUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: VoucherChannelListingInput!
|
|
|
|
): VoucherChannelListingUpdate
|
2020-08-11 11:53:04 +00:00
|
|
|
exportProducts(input: ExportProductsInput!): ExportProducts
|
2022-01-25 12:44:19 +00:00
|
|
|
exportGiftCards(input: ExportGiftCardsInput!): ExportGiftCards
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
fileUpload(file: Upload!): FileUpload
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutAddPromoCode(
|
|
|
|
checkoutId: ID
|
|
|
|
promoCode: String!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutAddPromoCode
|
|
|
|
checkoutBillingAddressUpdate(
|
|
|
|
billingAddress: AddressInput!
|
|
|
|
checkoutId: ID
|
|
|
|
token: UUID
|
|
|
|
): CheckoutBillingAddressUpdate
|
|
|
|
checkoutComplete(
|
|
|
|
checkoutId: ID
|
|
|
|
paymentData: JSONString
|
|
|
|
redirectUrl: String
|
|
|
|
storeSource: Boolean = false
|
|
|
|
token: UUID
|
|
|
|
): CheckoutComplete
|
2019-08-12 13:07:51 +00:00
|
|
|
checkoutCreate(input: CheckoutCreateInput!): CheckoutCreate
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutCustomerAttach(
|
|
|
|
checkoutId: ID
|
|
|
|
customerId: ID
|
|
|
|
token: UUID
|
|
|
|
): CheckoutCustomerAttach
|
2021-07-01 11:20:01 +00:00
|
|
|
checkoutCustomerDetach(checkoutId: ID, token: UUID): CheckoutCustomerDetach
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutEmailUpdate(
|
|
|
|
checkoutId: ID
|
|
|
|
email: String!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutEmailUpdate
|
|
|
|
checkoutLineDelete(
|
|
|
|
checkoutId: ID
|
|
|
|
lineId: ID
|
|
|
|
token: UUID
|
|
|
|
): CheckoutLineDelete
|
|
|
|
@deprecated(
|
|
|
|
reason: "DEPRECATED: Will be removed in Saleor 4.0. Use `checkoutLinesDelete` instead."
|
|
|
|
)
|
2021-12-13 14:43:30 +00:00
|
|
|
checkoutLinesDelete(linesIds: [ID]!, token: UUID!): CheckoutLinesDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
checkoutLinesAdd(
|
|
|
|
checkoutId: ID
|
|
|
|
lines: [CheckoutLineInput]!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutLinesAdd
|
|
|
|
checkoutLinesUpdate(
|
|
|
|
checkoutId: ID
|
|
|
|
lines: [CheckoutLineInput]!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutLinesUpdate
|
|
|
|
checkoutRemovePromoCode(
|
|
|
|
checkoutId: ID
|
|
|
|
promoCode: String
|
|
|
|
promoCodeId: ID
|
|
|
|
token: UUID
|
|
|
|
): CheckoutRemovePromoCode
|
|
|
|
checkoutPaymentCreate(
|
|
|
|
checkoutId: ID
|
|
|
|
input: PaymentInput!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutPaymentCreate
|
|
|
|
checkoutShippingAddressUpdate(
|
|
|
|
checkoutId: ID
|
|
|
|
shippingAddress: AddressInput!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutShippingAddressUpdate
|
|
|
|
checkoutShippingMethodUpdate(
|
|
|
|
checkoutId: ID
|
|
|
|
shippingMethodId: ID!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutShippingMethodUpdate
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `checkoutDeliveryMethodUpdate` instead."
|
|
|
|
)
|
|
|
|
checkoutDeliveryMethodUpdate(
|
|
|
|
deliveryMethodId: ID
|
|
|
|
token: UUID
|
|
|
|
): CheckoutDeliveryMethodUpdate
|
|
|
|
checkoutLanguageCodeUpdate(
|
|
|
|
checkoutId: ID
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
token: UUID
|
|
|
|
): CheckoutLanguageCodeUpdate
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelCreate(input: ChannelCreateInput!): ChannelCreate
|
|
|
|
channelUpdate(id: ID!, input: ChannelUpdateInput!): ChannelUpdate
|
2020-12-21 12:50:04 +00:00
|
|
|
channelDelete(id: ID!, input: ChannelDeleteInput): ChannelDelete
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelActivate(id: ID!): ChannelActivate
|
|
|
|
channelDeactivate(id: ID!): ChannelDeactivate
|
2020-11-19 14:42:14 +00:00
|
|
|
attributeCreate(input: AttributeCreateInput!): AttributeCreate
|
|
|
|
attributeDelete(id: ID!): AttributeDelete
|
|
|
|
attributeUpdate(id: ID!, input: AttributeUpdateInput!): AttributeUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: NameTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): AttributeTranslate
|
2020-11-19 14:42:14 +00:00
|
|
|
attributeBulkDelete(ids: [ID]!): AttributeBulkDelete
|
|
|
|
attributeValueBulkDelete(ids: [ID]!): AttributeValueBulkDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeValueCreate(
|
|
|
|
attribute: ID!
|
|
|
|
input: AttributeValueCreateInput!
|
|
|
|
): AttributeValueCreate
|
2020-11-19 14:42:14 +00:00
|
|
|
attributeValueDelete(id: ID!): AttributeValueDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
attributeValueUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: AttributeValueUpdateInput!
|
|
|
|
): AttributeValueUpdate
|
|
|
|
attributeValueTranslate(
|
|
|
|
id: ID!
|
|
|
|
input: AttributeValueTranslationInput!
|
|
|
|
languageCode: LanguageCodeEnum!
|
|
|
|
): AttributeValueTranslate
|
|
|
|
attributeReorderValues(
|
|
|
|
attributeId: ID!
|
|
|
|
moves: [ReorderInput]!
|
|
|
|
): AttributeReorderValues
|
2020-04-22 14:41:07 +00:00
|
|
|
appCreate(input: AppInput!): AppCreate
|
|
|
|
appUpdate(id: ID!, input: AppInput!): AppUpdate
|
|
|
|
appDelete(id: ID!): AppDelete
|
|
|
|
appTokenCreate(input: AppTokenInput!): AppTokenCreate
|
|
|
|
appTokenDelete(id: ID!): AppTokenDelete
|
2020-06-10 13:39:10 +00:00
|
|
|
appTokenVerify(token: String!): AppTokenVerify
|
2020-07-22 10:54:15 +00:00
|
|
|
appInstall(input: AppInstallInput!): AppInstall
|
2022-01-25 12:44:19 +00:00
|
|
|
appRetryInstall(
|
|
|
|
activateAfterInstallation: Boolean = true
|
|
|
|
id: ID!
|
|
|
|
): AppRetryInstall
|
2020-07-22 10:54:15 +00:00
|
|
|
appDeleteFailedInstallation(id: ID!): AppDeleteFailedInstallation
|
|
|
|
appFetchManifest(manifestUrl: String!): AppFetchManifest
|
|
|
|
appActivate(id: ID!): AppActivate
|
|
|
|
appDeactivate(id: ID!): AppDeactivate
|
2020-08-11 11:53:04 +00:00
|
|
|
tokenCreate(email: String!, password: String!): CreateToken
|
|
|
|
tokenRefresh(csrfToken: String, refreshToken: String): RefreshToken
|
|
|
|
tokenVerify(token: String!): VerifyToken
|
|
|
|
tokensDeactivateAll: DeactivateAllUserTokens
|
2022-01-25 12:44:19 +00:00
|
|
|
externalAuthenticationUrl(
|
|
|
|
input: JSONString!
|
|
|
|
pluginId: String!
|
|
|
|
): ExternalAuthenticationUrl
|
|
|
|
externalObtainAccessTokens(
|
|
|
|
input: JSONString!
|
|
|
|
pluginId: String!
|
|
|
|
): ExternalObtainAccessTokens
|
2021-01-26 22:04:54 +00:00
|
|
|
externalRefresh(input: JSONString!, pluginId: String!): ExternalRefresh
|
|
|
|
externalLogout(input: JSONString!, pluginId: String!): ExternalLogout
|
|
|
|
externalVerify(input: JSONString!, pluginId: String!): ExternalVerify
|
2022-01-25 12:44:19 +00:00
|
|
|
requestPasswordReset(
|
|
|
|
channel: String
|
|
|
|
email: String!
|
|
|
|
redirectUrl: String!
|
|
|
|
): RequestPasswordReset
|
2020-01-17 15:16:05 +00:00
|
|
|
confirmAccount(email: String!, token: String!): ConfirmAccount
|
2020-07-01 11:11:08 +00:00
|
|
|
setPassword(email: String!, password: String!, token: String!): SetPassword
|
2019-08-28 14:53:57 +00:00
|
|
|
passwordChange(newPassword: String!, oldPassword: String!): PasswordChange
|
2022-01-25 12:44:19 +00:00
|
|
|
requestEmailChange(
|
|
|
|
channel: String
|
|
|
|
newEmail: String!
|
|
|
|
password: String!
|
|
|
|
redirectUrl: String!
|
|
|
|
): RequestEmailChange
|
2021-05-12 14:17:53 +00:00
|
|
|
confirmEmailChange(channel: String, token: String!): ConfirmEmailChange
|
2022-01-25 12:44:19 +00:00
|
|
|
accountAddressCreate(
|
|
|
|
input: AddressInput!
|
|
|
|
type: AddressTypeEnum
|
|
|
|
): AccountAddressCreate
|
2019-08-12 13:07:51 +00:00
|
|
|
accountAddressUpdate(id: ID!, input: AddressInput!): AccountAddressUpdate
|
|
|
|
accountAddressDelete(id: ID!): AccountAddressDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
accountSetDefaultAddress(
|
|
|
|
id: ID!
|
|
|
|
type: AddressTypeEnum!
|
|
|
|
): AccountSetDefaultAddress
|
2019-08-12 13:07:51 +00:00
|
|
|
accountRegister(input: AccountRegisterInput!): AccountRegister
|
|
|
|
accountUpdate(input: AccountInput!): AccountUpdate
|
2022-01-25 12:44:19 +00:00
|
|
|
accountRequestDeletion(
|
|
|
|
channel: String
|
|
|
|
redirectUrl: String!
|
|
|
|
): AccountRequestDeletion
|
2019-08-12 13:07:51 +00:00
|
|
|
accountDelete(token: String!): AccountDelete
|
|
|
|
addressCreate(input: AddressInput!, userId: ID!): AddressCreate
|
|
|
|
addressUpdate(id: ID!, input: AddressInput!): AddressUpdate
|
|
|
|
addressDelete(id: ID!): AddressDelete
|
2022-01-25 12:44:19 +00:00
|
|
|
addressSetDefault(
|
|
|
|
addressId: ID!
|
|
|
|
type: AddressTypeEnum!
|
|
|
|
userId: ID!
|
|
|
|
): AddressSetDefault
|
2019-08-12 13:07:51 +00:00
|
|
|
customerCreate(input: UserCreateInput!): CustomerCreate
|
|
|
|
customerUpdate(id: ID!, input: CustomerInput!): CustomerUpdate
|
|
|
|
customerDelete(id: ID!): CustomerDelete
|
|
|
|
customerBulkDelete(ids: [ID]!): CustomerBulkDelete
|
|
|
|
staffCreate(input: StaffCreateInput!): StaffCreate
|
2020-04-20 11:11:07 +00:00
|
|
|
staffUpdate(id: ID!, input: StaffUpdateInput!): StaffUpdate
|
2019-08-12 13:07:51 +00:00
|
|
|
staffDelete(id: ID!): StaffDelete
|
|
|
|
staffBulkDelete(ids: [ID]!): StaffBulkDelete
|
|
|
|
userAvatarUpdate(image: Upload!): UserAvatarUpdate
|
|
|
|
userAvatarDelete: UserAvatarDelete
|
|
|
|
userBulkSetActive(ids: [ID]!, isActive: Boolean!): UserBulkSetActive
|
2022-01-25 12:44:19 +00:00
|
|
|
permissionGroupCreate(
|
|
|
|
input: PermissionGroupCreateInput!
|
|
|
|
): PermissionGroupCreate
|
|
|
|
permissionGroupUpdate(
|
|
|
|
id: ID!
|
|
|
|
input: PermissionGroupUpdateInput!
|
|
|
|
): PermissionGroupUpdate
|
2020-03-03 11:20:39 +00:00
|
|
|
permissionGroupDelete(id: ID!): PermissionGroupDelete
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input NameTranslationInput {
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
enum NavigationType {
|
|
|
|
MAIN
|
|
|
|
SECONDARY
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Node {
|
|
|
|
id: ID!
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
interface ObjectWithMetadata {
|
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Order implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
created: DateTime!
|
|
|
|
status: OrderStatus!
|
|
|
|
user: User
|
|
|
|
trackingClientId: String!
|
|
|
|
billingAddress: Address
|
|
|
|
shippingAddress: Address
|
|
|
|
shippingMethodName: String
|
2021-08-27 08:10:41 +00:00
|
|
|
collectionPointName: String
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel: Channel!
|
2021-01-22 11:13:40 +00:00
|
|
|
shippingPrice: TaxedMoney!
|
2021-01-20 16:37:36 +00:00
|
|
|
shippingTaxRate: Float!
|
2019-08-12 13:07:51 +00:00
|
|
|
token: String!
|
|
|
|
voucher: Voucher
|
|
|
|
giftCards: [GiftCard]
|
|
|
|
displayGrossPrices: Boolean!
|
|
|
|
customerNote: String!
|
|
|
|
weight: Weight
|
2020-11-23 11:38:28 +00:00
|
|
|
redirectUrl: String
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
fulfillments: [Fulfillment]!
|
|
|
|
lines: [OrderLine]!
|
|
|
|
actions: [OrderAction]!
|
2022-01-25 12:44:19 +00:00
|
|
|
availableShippingMethods: [ShippingMethod]
|
|
|
|
@deprecated(
|
|
|
|
reason: "Use `shippingMethods`, this field will be removed in 4.0"
|
|
|
|
)
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethods: [ShippingMethod]
|
2021-08-27 08:10:41 +00:00
|
|
|
availableCollectionPoints: [Warehouse!]!
|
2020-06-22 16:34:59 +00:00
|
|
|
invoices: [Invoice]
|
2019-08-12 13:07:51 +00:00
|
|
|
number: String
|
2021-05-24 13:50:41 +00:00
|
|
|
original: ID
|
|
|
|
origin: OrderOriginEnum!
|
2021-01-22 11:13:40 +00:00
|
|
|
isPaid: Boolean!
|
|
|
|
paymentStatus: PaymentChargeStatusEnum!
|
|
|
|
paymentStatusDisplay: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
payments: [Payment]
|
2021-01-22 11:13:40 +00:00
|
|
|
total: TaxedMoney!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
undiscountedTotal: TaxedMoney!
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingMethod: ShippingMethod
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `deliveryMethod` instead."
|
|
|
|
)
|
2021-01-22 11:13:40 +00:00
|
|
|
subtotal: TaxedMoney!
|
2019-08-12 13:07:51 +00:00
|
|
|
statusDisplay: String
|
|
|
|
canFinalize: Boolean!
|
2021-01-22 11:13:40 +00:00
|
|
|
totalAuthorized: Money!
|
|
|
|
totalCaptured: Money!
|
2019-08-12 13:07:51 +00:00
|
|
|
events: [OrderEvent]
|
|
|
|
totalBalance: Money!
|
|
|
|
userEmail: String
|
|
|
|
isShippingRequired: Boolean!
|
2021-08-27 08:10:41 +00:00
|
|
|
deliveryMethod: DeliveryMethod
|
2022-01-25 12:44:19 +00:00
|
|
|
languageCode: String!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `languageCodeEnum` field to fetch the language code. "
|
|
|
|
)
|
2021-03-31 13:11:58 +00:00
|
|
|
languageCodeEnum: LanguageCodeEnum!
|
2022-01-25 12:44:19 +00:00
|
|
|
discount: Money
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use discounts field."
|
|
|
|
)
|
|
|
|
discountName: String
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use discounts field."
|
|
|
|
)
|
|
|
|
translatedDiscountName: String
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use discounts field. "
|
|
|
|
)
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
discounts: [OrderDiscount!]
|
2021-06-21 11:13:54 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderAction {
|
|
|
|
CAPTURE
|
|
|
|
MARK_AS_PAID
|
|
|
|
REFUND
|
|
|
|
VOID
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderAddNote {
|
|
|
|
order: Order
|
|
|
|
event: OrderEvent
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderAddNoteInput {
|
2020-03-09 14:59:58 +00:00
|
|
|
message: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderBulkCancel {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderCancel {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderCapture {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-30 13:19:57 +00:00
|
|
|
type OrderConfirm {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2020-11-30 13:19:57 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [OrderCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderCountableEdge {
|
|
|
|
node: Order!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderDirection {
|
|
|
|
ASC
|
|
|
|
DESC
|
|
|
|
}
|
|
|
|
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
type OrderDiscount implements Node {
|
|
|
|
id: ID!
|
|
|
|
type: OrderDiscountType!
|
|
|
|
valueType: DiscountValueTypeEnum!
|
|
|
|
value: PositiveDecimal!
|
|
|
|
name: String
|
|
|
|
translatedName: String
|
|
|
|
reason: String
|
|
|
|
amount: Money!
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderDiscountAdd {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderDiscountCommonInput {
|
|
|
|
valueType: DiscountValueTypeEnum!
|
|
|
|
value: PositiveDecimal!
|
|
|
|
reason: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderDiscountDelete {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderDiscountType {
|
|
|
|
VOUCHER
|
|
|
|
MANUAL
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderDiscountUpdate {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input OrderDraftFilterInput {
|
|
|
|
customer: String
|
|
|
|
created: DateRangeInput
|
2019-09-10 11:28:18 +00:00
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-01-20 16:37:36 +00:00
|
|
|
channels: [ID]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type OrderError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: OrderErrorCode!
|
2020-04-22 14:41:07 +00:00
|
|
|
warehouse: ID
|
2021-06-21 11:13:54 +00:00
|
|
|
orderLines: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
variants: [ID!]
|
2021-05-06 11:38:15 +00:00
|
|
|
addressType: AddressTypeEnum
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderErrorCode {
|
2020-03-03 11:20:39 +00:00
|
|
|
BILLING_ADDRESS_NOT_SET
|
2019-09-26 10:14:07 +00:00
|
|
|
CANNOT_CANCEL_FULFILLMENT
|
|
|
|
CANNOT_CANCEL_ORDER
|
|
|
|
CANNOT_DELETE
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
CANNOT_DISCOUNT
|
2019-09-26 10:14:07 +00:00
|
|
|
CANNOT_REFUND
|
2021-08-20 14:36:05 +00:00
|
|
|
CANNOT_FULFILL_UNPAID_ORDER
|
2019-09-26 10:14:07 +00:00
|
|
|
CAPTURE_INACTIVE_PAYMENT
|
2021-09-27 14:06:21 +00:00
|
|
|
GIFT_CARD_LINE
|
2019-09-26 10:14:07 +00:00
|
|
|
NOT_EDITABLE
|
|
|
|
FULFILL_ORDER_LINE
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
2020-06-10 13:39:10 +00:00
|
|
|
PRODUCT_NOT_PUBLISHED
|
2020-09-03 10:25:16 +00:00
|
|
|
PRODUCT_UNAVAILABLE_FOR_PURCHASE
|
2019-09-26 10:14:07 +00:00
|
|
|
NOT_FOUND
|
|
|
|
ORDER_NO_SHIPPING_ADDRESS
|
|
|
|
PAYMENT_ERROR
|
|
|
|
PAYMENT_MISSING
|
|
|
|
REQUIRED
|
|
|
|
SHIPPING_METHOD_NOT_APPLICABLE
|
|
|
|
SHIPPING_METHOD_REQUIRED
|
2020-09-17 14:37:33 +00:00
|
|
|
TAX_ERROR
|
2019-09-26 10:14:07 +00:00
|
|
|
UNIQUE
|
|
|
|
VOID_INACTIVE_PAYMENT
|
|
|
|
ZERO_QUANTITY
|
2021-01-20 16:16:43 +00:00
|
|
|
INVALID_QUANTITY
|
2020-04-23 15:43:08 +00:00
|
|
|
INSUFFICIENT_STOCK
|
2020-04-22 14:41:07 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
NOT_AVAILABLE_IN_CHANNEL
|
|
|
|
CHANNEL_INACTIVE
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderEvent implements Node {
|
|
|
|
id: ID!
|
|
|
|
date: DateTime
|
|
|
|
type: OrderEventsEnum
|
2020-03-03 11:20:39 +00:00
|
|
|
user: User
|
2021-08-05 09:26:17 +00:00
|
|
|
app: App
|
2019-08-12 13:07:51 +00:00
|
|
|
message: String
|
|
|
|
email: String
|
|
|
|
emailType: OrderEventsEmailsEnum
|
|
|
|
amount: Float
|
|
|
|
paymentId: String
|
|
|
|
paymentGateway: String
|
|
|
|
quantity: Int
|
|
|
|
composedId: String
|
|
|
|
orderNumber: String
|
2020-07-15 17:19:50 +00:00
|
|
|
invoiceNumber: String
|
2019-08-12 13:07:51 +00:00
|
|
|
oversoldItems: [String]
|
|
|
|
lines: [OrderEventOrderLineObject]
|
|
|
|
fulfilledItems: [FulfillmentLine]
|
2020-04-22 14:41:07 +00:00
|
|
|
warehouse: Warehouse
|
2020-11-24 16:02:50 +00:00
|
|
|
transactionReference: String
|
2020-12-01 13:13:05 +00:00
|
|
|
shippingCostsIncluded: Boolean
|
2021-01-20 16:16:43 +00:00
|
|
|
relatedOrder: Order
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
discount: OrderEventDiscountObject
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderEventCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [OrderEventCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderEventCountableEdge {
|
|
|
|
node: OrderEvent!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
type OrderEventDiscountObject {
|
|
|
|
valueType: DiscountValueTypeEnum!
|
|
|
|
value: PositiveDecimal!
|
|
|
|
reason: String
|
|
|
|
amount: Money
|
|
|
|
oldValueType: DiscountValueTypeEnum
|
|
|
|
oldValue: PositiveDecimal
|
|
|
|
oldAmount: Money
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderEventOrderLineObject {
|
|
|
|
quantity: Int
|
|
|
|
orderLine: OrderLine
|
|
|
|
itemName: String
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
discount: OrderEventDiscountObject
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderEventsEmailsEnum {
|
|
|
|
PAYMENT_CONFIRMATION
|
2020-11-30 13:19:57 +00:00
|
|
|
CONFIRMED
|
2019-08-12 13:07:51 +00:00
|
|
|
SHIPPING_CONFIRMATION
|
|
|
|
TRACKING_UPDATED
|
|
|
|
ORDER_CONFIRMATION
|
2020-08-26 10:33:03 +00:00
|
|
|
ORDER_CANCEL
|
|
|
|
ORDER_REFUND
|
2019-08-12 13:07:51 +00:00
|
|
|
FULFILLMENT_CONFIRMATION
|
|
|
|
DIGITAL_LINKS
|
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderEventsEnum {
|
|
|
|
DRAFT_CREATED
|
2021-01-20 16:16:43 +00:00
|
|
|
DRAFT_CREATED_FROM_REPLACE
|
2021-01-27 09:49:35 +00:00
|
|
|
ADDED_PRODUCTS
|
|
|
|
REMOVED_PRODUCTS
|
2019-08-12 13:07:51 +00:00
|
|
|
PLACED
|
|
|
|
PLACED_FROM_DRAFT
|
|
|
|
OVERSOLD_ITEMS
|
|
|
|
CANCELED
|
|
|
|
ORDER_MARKED_AS_PAID
|
|
|
|
ORDER_FULLY_PAID
|
2021-01-20 16:16:43 +00:00
|
|
|
ORDER_REPLACEMENT_CREATED
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
ORDER_DISCOUNT_ADDED
|
2021-03-16 09:03:11 +00:00
|
|
|
ORDER_DISCOUNT_AUTOMATICALLY_UPDATED
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
ORDER_DISCOUNT_UPDATED
|
|
|
|
ORDER_DISCOUNT_DELETED
|
|
|
|
ORDER_LINE_DISCOUNT_UPDATED
|
|
|
|
ORDER_LINE_DISCOUNT_REMOVED
|
2021-06-21 11:13:54 +00:00
|
|
|
ORDER_LINE_PRODUCT_DELETED
|
|
|
|
ORDER_LINE_VARIANT_DELETED
|
2019-08-12 13:07:51 +00:00
|
|
|
UPDATED_ADDRESS
|
|
|
|
EMAIL_SENT
|
2020-11-30 13:19:57 +00:00
|
|
|
CONFIRMED
|
2020-07-01 11:11:08 +00:00
|
|
|
PAYMENT_AUTHORIZED
|
2019-08-12 13:07:51 +00:00
|
|
|
PAYMENT_CAPTURED
|
2020-08-26 10:33:03 +00:00
|
|
|
EXTERNAL_SERVICE_NOTIFICATION
|
2019-08-12 13:07:51 +00:00
|
|
|
PAYMENT_REFUNDED
|
|
|
|
PAYMENT_VOIDED
|
|
|
|
PAYMENT_FAILED
|
2020-07-15 17:19:50 +00:00
|
|
|
INVOICE_REQUESTED
|
|
|
|
INVOICE_GENERATED
|
2020-07-17 08:10:01 +00:00
|
|
|
INVOICE_UPDATED
|
2020-07-15 17:19:50 +00:00
|
|
|
INVOICE_SENT
|
2019-08-12 13:07:51 +00:00
|
|
|
FULFILLMENT_CANCELED
|
|
|
|
FULFILLMENT_RESTOCKED_ITEMS
|
|
|
|
FULFILLMENT_FULFILLED_ITEMS
|
2020-12-01 13:13:05 +00:00
|
|
|
FULFILLMENT_REFUNDED
|
2021-01-20 16:16:43 +00:00
|
|
|
FULFILLMENT_RETURNED
|
|
|
|
FULFILLMENT_REPLACED
|
2021-08-20 14:36:05 +00:00
|
|
|
FULFILLMENT_AWAITS_APPROVAL
|
2019-08-12 13:07:51 +00:00
|
|
|
TRACKING_UPDATED
|
|
|
|
NOTE_ADDED
|
|
|
|
OTHER
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderFilterInput {
|
|
|
|
paymentStatus: [PaymentChargeStatusEnum]
|
|
|
|
status: [OrderStatusFilter]
|
|
|
|
customer: String
|
|
|
|
created: DateRangeInput
|
2019-09-10 11:28:18 +00:00
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-01-13 09:50:54 +00:00
|
|
|
channels: [ID]
|
2021-12-02 15:42:01 +00:00
|
|
|
isClickAndCollect: Boolean
|
|
|
|
isPreorder: Boolean
|
2021-12-23 12:42:10 +00:00
|
|
|
ids: [ID]
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCardUsed: Boolean
|
|
|
|
giftCardBought: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type OrderFulfill {
|
|
|
|
fulfillments: [Fulfillment]
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderFulfillInput {
|
|
|
|
lines: [OrderFulfillLineInput!]!
|
|
|
|
notifyCustomer: Boolean
|
2021-09-27 14:06:21 +00:00
|
|
|
allowStockToBeExceeded: Boolean = false
|
2020-04-22 14:41:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderFulfillLineInput {
|
|
|
|
orderLineId: ID
|
|
|
|
stocks: [OrderFulfillStockInput!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderFulfillStockInput {
|
2020-10-15 11:37:30 +00:00
|
|
|
quantity: Int!
|
|
|
|
warehouse: ID!
|
2020-04-22 14:41:07 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderLine implements Node {
|
|
|
|
id: ID!
|
|
|
|
productName: String!
|
2019-09-10 11:28:18 +00:00
|
|
|
variantName: String!
|
2021-09-30 13:08:22 +00:00
|
|
|
productSku: String
|
|
|
|
productVariantId: String
|
2019-08-12 13:07:51 +00:00
|
|
|
isShippingRequired: Boolean!
|
|
|
|
quantity: Int!
|
|
|
|
quantityFulfilled: Int!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
unitDiscountReason: String
|
2019-08-12 13:07:51 +00:00
|
|
|
taxRate: Float!
|
|
|
|
digitalContentUrl: DigitalContentUrl
|
|
|
|
thumbnail(size: Int): Image
|
2021-01-22 11:13:40 +00:00
|
|
|
unitPrice: TaxedMoney!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
undiscountedUnitPrice: TaxedMoney!
|
|
|
|
unitDiscount: Money!
|
|
|
|
unitDiscountValue: PositiveDecimal!
|
2021-01-22 11:13:40 +00:00
|
|
|
totalPrice: TaxedMoney!
|
2019-08-12 13:07:51 +00:00
|
|
|
variant: ProductVariant
|
2019-09-10 11:28:18 +00:00
|
|
|
translatedProductName: String!
|
|
|
|
translatedVariantName: String!
|
2020-11-12 13:47:44 +00:00
|
|
|
allocations: [Allocation!]
|
2021-08-20 14:36:05 +00:00
|
|
|
quantityToFulfill: Int!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
unitDiscountType: DiscountValueTypeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderLineCreateInput {
|
|
|
|
quantity: Int!
|
|
|
|
variantId: ID!
|
|
|
|
}
|
|
|
|
|
2021-01-27 09:49:35 +00:00
|
|
|
type OrderLineDelete {
|
|
|
|
order: Order
|
|
|
|
orderLine: OrderLine
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2021-01-27 09:49:35 +00:00
|
|
|
}
|
|
|
|
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
type OrderLineDiscountRemove {
|
|
|
|
orderLine: OrderLine
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderLineDiscountUpdate {
|
|
|
|
orderLine: OrderLine
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types
* wip
* Add diiscount modal component
* Refactor action dialog - move buttons to separate component so they can be reused
* Add discount provider to keep logic of discounts separated and wrap proper components
* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc
* UUpdate lots of types, fragments, schema etc
* Update quries and mutations
* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc
* Add order line discount provider + consumer, same for order discount
* Fix ts wip
* Update schema and types
* Update order discount provider
* Add nnetto price to order details fragment and update lots of types
* Adjust fixtures to order details containing net total
* Move both order and order line provider to same dir to make types and utils more accessible
* Update schema to match master
* Update schema and types
* Update order history, add some related components, add events etc.
* Fix types
* Fix schema to match master
* Update messages
* Update changelog
* Retrigger build
* Add stories and update common modal to display floats properly
* Add and update stories and tests
* Add optional displaying of reason in case it's empty
* Make user name label for history events return email if last name and first name are absent
* Update schema, types, and mutations to properly refresh
* Remove unnecessary imports
* Add discounts decorator to draft details page storybook
* Fixs after review
* Update messages
* Small fixes to timeline events
* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette
* Updaste tests, messages
* Fixs after review
* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode
* Add change to changelog
* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null
* Refactor selecting employee name in utils
* Add conditional to extended timeline event when orderline is null
2021-03-05 14:52:02 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input OrderLineInput {
|
|
|
|
quantity: Int!
|
|
|
|
}
|
|
|
|
|
2021-01-27 09:49:35 +00:00
|
|
|
type OrderLineUpdate {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2021-01-27 09:49:35 +00:00
|
|
|
orderLine: OrderLine
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderLinesCreate {
|
|
|
|
order: Order
|
|
|
|
orderLines: [OrderLine!]
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2021-01-27 09:49:35 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderMarkAsPaid {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-05-24 13:50:41 +00:00
|
|
|
enum OrderOriginEnum {
|
|
|
|
CHECKOUT
|
|
|
|
DRAFT
|
|
|
|
REISSUE
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type OrderRefund {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-12-01 13:13:05 +00:00
|
|
|
input OrderRefundFulfillmentLineInput {
|
2020-12-01 15:42:25 +00:00
|
|
|
fulfillmentLineId: ID!
|
2020-12-01 13:13:05 +00:00
|
|
|
quantity: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderRefundLineInput {
|
2020-12-01 15:42:25 +00:00
|
|
|
orderLineId: ID!
|
2020-12-01 13:13:05 +00:00
|
|
|
quantity: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderRefundProductsInput {
|
|
|
|
orderLines: [OrderRefundLineInput!]
|
|
|
|
fulfillmentLines: [OrderRefundFulfillmentLineInput!]
|
|
|
|
amountToRefund: PositiveDecimal
|
|
|
|
includeShippingCosts: Boolean = false
|
|
|
|
}
|
|
|
|
|
2021-01-20 16:16:43 +00:00
|
|
|
input OrderReturnFulfillmentLineInput {
|
|
|
|
fulfillmentLineId: ID!
|
|
|
|
quantity: Int!
|
|
|
|
replace: Boolean = false
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderReturnLineInput {
|
|
|
|
orderLineId: ID!
|
|
|
|
quantity: Int!
|
|
|
|
replace: Boolean = false
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderReturnProductsInput {
|
|
|
|
orderLines: [OrderReturnLineInput!]
|
|
|
|
fulfillmentLines: [OrderReturnFulfillmentLineInput!]
|
|
|
|
amountToRefund: PositiveDecimal
|
|
|
|
includeShippingCosts: Boolean = false
|
|
|
|
refund: Boolean = false
|
|
|
|
}
|
|
|
|
|
2020-11-30 13:19:57 +00:00
|
|
|
type OrderSettings {
|
|
|
|
automaticallyConfirmAllNewOrders: Boolean!
|
2021-09-14 13:57:02 +00:00
|
|
|
automaticallyFulfillNonShippableGiftCard: Boolean!
|
2020-11-30 13:19:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OrderSettingsError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: OrderSettingsErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderSettingsErrorCode {
|
|
|
|
INVALID
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderSettingsUpdate {
|
|
|
|
orderSettings: OrderSettings
|
2022-01-25 12:44:19 +00:00
|
|
|
orderSettingsErrors: [OrderSettingsError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderSettingsError!]!
|
2020-11-30 13:19:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderSettingsUpdateInput {
|
2021-09-14 13:57:02 +00:00
|
|
|
automaticallyConfirmAllNewOrders: Boolean
|
|
|
|
automaticallyFulfillNonShippableGiftCard: Boolean
|
2020-11-30 13:19:57 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum OrderSortField {
|
|
|
|
NUMBER
|
|
|
|
CREATION_DATE
|
|
|
|
CUSTOMER
|
|
|
|
PAYMENT
|
|
|
|
FULFILLMENT_STATUS
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: OrderSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum OrderStatus {
|
|
|
|
DRAFT
|
2020-11-30 13:19:57 +00:00
|
|
|
UNCONFIRMED
|
2019-08-12 13:07:51 +00:00
|
|
|
UNFULFILLED
|
|
|
|
PARTIALLY_FULFILLED
|
2021-01-20 16:16:43 +00:00
|
|
|
PARTIALLY_RETURNED
|
|
|
|
RETURNED
|
2019-08-12 13:07:51 +00:00
|
|
|
FULFILLED
|
|
|
|
CANCELED
|
|
|
|
}
|
|
|
|
|
|
|
|
enum OrderStatusFilter {
|
|
|
|
READY_TO_FULFILL
|
|
|
|
READY_TO_CAPTURE
|
|
|
|
UNFULFILLED
|
2020-11-30 13:19:57 +00:00
|
|
|
UNCONFIRMED
|
2019-08-12 13:07:51 +00:00
|
|
|
PARTIALLY_FULFILLED
|
|
|
|
FULFILLED
|
|
|
|
CANCELED
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
order: Order
|
|
|
|
}
|
|
|
|
|
|
|
|
input OrderUpdateInput {
|
|
|
|
billingAddress: AddressInput
|
|
|
|
userEmail: String
|
|
|
|
shippingAddress: AddressInput
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderUpdateShipping {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input OrderUpdateShippingInput {
|
|
|
|
shippingMethod: ID
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderVoid {
|
|
|
|
order: Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orderErrors: [OrderError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [OrderError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-10-20 11:20:55 +00:00
|
|
|
type Page implements Node & ObjectWithMetadata {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
title: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
content: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
publicationDate: Date
|
|
|
|
isPublished: Boolean!
|
|
|
|
slug: String!
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType: PageType!
|
2019-08-12 13:07:51 +00:00
|
|
|
created: DateTime!
|
2020-10-20 11:20:55 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
contentJson: JSONString!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `content` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): PageTranslation
|
2020-11-19 14:42:14 +00:00
|
|
|
attributes: [SelectedAttribute!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageAttributeAssign {
|
|
|
|
pageType: PageType
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageAttributeUnassign {
|
|
|
|
pageType: PageType
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageBulkPublish {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [PageCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageCountableEdge {
|
|
|
|
node: Page!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
page: Page
|
|
|
|
}
|
|
|
|
|
2020-11-19 14:42:14 +00:00
|
|
|
input PageCreateInput {
|
|
|
|
slug: String
|
|
|
|
title: String
|
2021-01-22 11:13:40 +00:00
|
|
|
content: JSONString
|
2020-11-19 14:42:14 +00:00
|
|
|
attributes: [AttributeValueInput!]
|
|
|
|
isPublished: Boolean
|
|
|
|
publicationDate: String
|
|
|
|
seo: SeoInput
|
|
|
|
pageType: ID!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PageDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
page: Page
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type PageError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: PageErrorCode!
|
2020-11-19 14:42:14 +00:00
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum PageErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2020-11-19 14:42:14 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
|
|
|
ATTRIBUTE_ALREADY_ASSIGNED
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
2019-09-10 11:28:18 +00:00
|
|
|
input PageFilterInput {
|
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-05-12 14:17:53 +00:00
|
|
|
pageTypes: [ID]
|
2021-06-02 19:11:30 +00:00
|
|
|
ids: [ID]
|
2019-09-10 11:28:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PageInfo {
|
|
|
|
hasNextPage: Boolean!
|
|
|
|
hasPreviousPage: Boolean!
|
|
|
|
startCursor: String
|
|
|
|
endCursor: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageInput {
|
|
|
|
slug: String
|
|
|
|
title: String
|
2021-01-22 11:13:40 +00:00
|
|
|
content: JSONString
|
2020-11-19 14:42:14 +00:00
|
|
|
attributes: [AttributeValueInput!]
|
2019-08-12 13:07:51 +00:00
|
|
|
isPublished: Boolean
|
|
|
|
publicationDate: String
|
|
|
|
seo: SeoInput
|
|
|
|
}
|
|
|
|
|
2021-01-07 11:01:24 +00:00
|
|
|
type PageReorderAttributeValues {
|
|
|
|
page: Page
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2021-01-07 11:01:24 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum PageSortField {
|
|
|
|
TITLE
|
|
|
|
SLUG
|
|
|
|
VISIBILITY
|
|
|
|
CREATION_DATE
|
|
|
|
PUBLICATION_DATE
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: PageSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type PageTranslatableContent implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-11-27 10:00:36 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
title: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
content: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
contentJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `content` field instead."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): PageTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
page: Page
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2021-08-05 09:26:17 +00:00
|
|
|
attributeValues: [AttributeValueTranslatableContent!]!
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PageTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-11-27 10:00:36 +00:00
|
|
|
page: PageTranslatableContent
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageTranslation implements Node {
|
2021-05-24 13:50:41 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
2021-06-02 19:11:30 +00:00
|
|
|
title: String
|
2021-02-17 11:58:09 +00:00
|
|
|
content: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
2022-01-25 12:44:19 +00:00
|
|
|
contentJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `content` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input PageTranslationInput {
|
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
title: String
|
2021-01-22 11:13:40 +00:00
|
|
|
content: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-19 14:42:14 +00:00
|
|
|
type PageType implements Node & ObjectWithMetadata {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
slug: String!
|
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
|
|
|
attributes: [Attribute]
|
2022-01-25 12:44:19 +00:00
|
|
|
availableAttributes(
|
|
|
|
filter: AttributeFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AttributeCountableConnection
|
2020-11-19 14:42:14 +00:00
|
|
|
hasPages: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [PageTypeCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeCountableEdge {
|
|
|
|
node: PageType!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType: PageType
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageTypeCreateInput {
|
|
|
|
name: String
|
|
|
|
slug: String
|
|
|
|
addAttributes: [ID!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType: PageType
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageTypeFilterInput {
|
|
|
|
search: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeReorderAttributes {
|
|
|
|
pageType: PageType
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum PageTypeSortField {
|
|
|
|
NAME
|
|
|
|
SLUG
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageTypeSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: PageTypeSortField!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PageTypeUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType: PageType
|
|
|
|
}
|
|
|
|
|
|
|
|
input PageTypeUpdateInput {
|
|
|
|
name: String
|
|
|
|
slug: String
|
|
|
|
addAttributes: [ID!]
|
|
|
|
removeAttributes: [ID!]
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PageUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
pageErrors: [PageError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PageError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
page: Page
|
|
|
|
}
|
|
|
|
|
2019-08-28 14:53:57 +00:00
|
|
|
type PasswordChange {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-28 14:53:57 +00:00
|
|
|
}
|
|
|
|
|
2021-09-27 14:06:21 +00:00
|
|
|
type Payment implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
gateway: String!
|
|
|
|
isActive: Boolean!
|
|
|
|
created: DateTime!
|
|
|
|
modified: DateTime!
|
|
|
|
token: String!
|
|
|
|
checkout: Checkout
|
|
|
|
order: Order
|
2021-04-09 07:51:49 +00:00
|
|
|
paymentMethodType: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
customerIpAddress: String
|
2021-09-27 14:06:21 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
chargeStatus: PaymentChargeStatusEnum!
|
|
|
|
actions: [OrderAction]!
|
|
|
|
total: Money
|
|
|
|
capturedAmount: Money
|
|
|
|
transactions: [Transaction]
|
|
|
|
availableCaptureAmount: Money
|
|
|
|
availableRefundAmount: Money
|
|
|
|
creditCard: CreditCard
|
|
|
|
}
|
|
|
|
|
|
|
|
type PaymentCapture {
|
|
|
|
payment: Payment
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PaymentError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum PaymentChargeStatusEnum {
|
|
|
|
NOT_CHARGED
|
2020-08-26 10:33:03 +00:00
|
|
|
PENDING
|
2019-08-12 13:07:51 +00:00
|
|
|
PARTIALLY_CHARGED
|
|
|
|
FULLY_CHARGED
|
|
|
|
PARTIALLY_REFUNDED
|
|
|
|
FULLY_REFUNDED
|
2020-08-26 10:33:03 +00:00
|
|
|
REFUSED
|
|
|
|
CANCELLED
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
type PaymentCheckBalance {
|
|
|
|
data: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-12-13 14:43:30 +00:00
|
|
|
errors: [PaymentError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input PaymentCheckBalanceInput {
|
|
|
|
gatewayId: String!
|
|
|
|
method: String!
|
|
|
|
channel: String!
|
|
|
|
card: CardInput!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PaymentCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [PaymentCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type PaymentCountableEdge {
|
|
|
|
node: Payment!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type PaymentError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: PaymentErrorCode!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum PaymentErrorCode {
|
|
|
|
BILLING_ADDRESS_NOT_SET
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
2020-07-01 11:11:08 +00:00
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2019-09-26 10:14:07 +00:00
|
|
|
PARTIAL_PAYMENT_NOT_ALLOWED
|
2020-06-10 13:39:10 +00:00
|
|
|
SHIPPING_ADDRESS_NOT_SET
|
|
|
|
INVALID_SHIPPING_METHOD
|
|
|
|
SHIPPING_METHOD_NOT_SET
|
2019-09-26 10:14:07 +00:00
|
|
|
PAYMENT_ERROR
|
2020-07-01 11:11:08 +00:00
|
|
|
NOT_SUPPORTED_GATEWAY
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
CHANNEL_INACTIVE
|
2021-12-13 14:43:30 +00:00
|
|
|
BALANCE_CHECK_ERROR
|
2022-01-24 13:50:17 +00:00
|
|
|
CHECKOUT_EMAIL_NOT_SET
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
2021-04-16 12:33:14 +00:00
|
|
|
input PaymentFilterInput {
|
|
|
|
checkouts: [ID]
|
|
|
|
}
|
|
|
|
|
2019-10-09 06:56:46 +00:00
|
|
|
type PaymentGateway {
|
|
|
|
name: String!
|
2020-06-10 13:39:10 +00:00
|
|
|
id: ID!
|
2019-10-09 06:56:46 +00:00
|
|
|
config: [GatewayConfigLine!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
currencies: [String]!
|
2019-10-09 06:56:46 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type PaymentInitialize {
|
|
|
|
initializedPayment: PaymentInitialized
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PaymentError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PaymentInitialized {
|
|
|
|
gateway: String!
|
|
|
|
name: String!
|
|
|
|
data: JSONString
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input PaymentInput {
|
2019-09-26 15:06:14 +00:00
|
|
|
gateway: String!
|
2020-08-26 10:33:03 +00:00
|
|
|
token: String
|
2020-09-07 10:48:19 +00:00
|
|
|
amount: PositiveDecimal
|
2020-08-26 10:33:03 +00:00
|
|
|
returnUrl: String
|
2021-09-27 14:06:21 +00:00
|
|
|
storePaymentMethod: StorePaymentMethodEnum = none
|
|
|
|
metadata: [MetadataInput!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PaymentRefund {
|
2019-08-28 14:53:57 +00:00
|
|
|
payment: Payment
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PaymentError!]!
|
2019-08-28 14:53:57 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type PaymentSource {
|
|
|
|
gateway: String!
|
2021-08-05 09:26:17 +00:00
|
|
|
paymentMethodId: String
|
2019-08-12 13:07:51 +00:00
|
|
|
creditCardInfo: CreditCard
|
2021-09-27 14:06:21 +00:00
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PaymentVoid {
|
|
|
|
payment: Payment
|
2022-01-25 12:44:19 +00:00
|
|
|
paymentErrors: [PaymentError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PaymentError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type Permission {
|
2019-08-12 13:07:51 +00:00
|
|
|
code: PermissionEnum!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum PermissionEnum {
|
|
|
|
MANAGE_USERS
|
|
|
|
MANAGE_STAFF
|
2021-09-03 12:27:34 +00:00
|
|
|
IMPERSONATE_USER
|
2020-04-22 10:17:19 +00:00
|
|
|
MANAGE_APPS
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
MANAGE_CHANNELS
|
2019-08-12 13:07:51 +00:00
|
|
|
MANAGE_DISCOUNTS
|
|
|
|
MANAGE_PLUGINS
|
2020-01-17 15:16:05 +00:00
|
|
|
MANAGE_GIFT_CARD
|
2019-08-12 13:07:51 +00:00
|
|
|
MANAGE_MENUS
|
|
|
|
MANAGE_ORDERS
|
|
|
|
MANAGE_PAGES
|
2020-11-19 14:42:14 +00:00
|
|
|
MANAGE_PAGE_TYPES_AND_ATTRIBUTES
|
2021-06-08 10:33:21 +00:00
|
|
|
HANDLE_PAYMENTS
|
2019-08-12 13:07:51 +00:00
|
|
|
MANAGE_PRODUCTS
|
2020-10-15 11:37:30 +00:00
|
|
|
MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES
|
2019-08-12 13:07:51 +00:00
|
|
|
MANAGE_SHIPPING
|
|
|
|
MANAGE_SETTINGS
|
|
|
|
MANAGE_TRANSLATIONS
|
2020-01-09 11:13:24 +00:00
|
|
|
MANAGE_CHECKOUTS
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type PermissionGroupCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
permissionGroupErrors: [PermissionGroupError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PermissionGroupError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
group: Group
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input PermissionGroupCreateInput {
|
2020-04-20 11:11:07 +00:00
|
|
|
addPermissions: [PermissionEnum!]
|
|
|
|
addUsers: [ID!]
|
2020-03-03 11:20:39 +00:00
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PermissionGroupDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
permissionGroupErrors: [PermissionGroupError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PermissionGroupError!]!
|
2020-03-03 11:20:39 +00:00
|
|
|
group: Group
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type PermissionGroupError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: PermissionGroupErrorCode!
|
|
|
|
permissions: [PermissionEnum!]
|
|
|
|
users: [ID!]
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
enum PermissionGroupErrorCode {
|
|
|
|
ASSIGN_NON_STAFF_MEMBER
|
2020-04-23 15:43:08 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
2020-04-20 11:11:07 +00:00
|
|
|
CANNOT_REMOVE_FROM_LAST_GROUP
|
|
|
|
LEFT_NOT_MANAGEABLE_PERMISSION
|
|
|
|
OUT_OF_SCOPE_PERMISSION
|
|
|
|
OUT_OF_SCOPE_USER
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
|
|
|
input PermissionGroupFilterInput {
|
|
|
|
search: String
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum PermissionGroupSortField {
|
|
|
|
NAME
|
|
|
|
}
|
|
|
|
|
|
|
|
input PermissionGroupSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: PermissionGroupSortField!
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type PermissionGroupUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
permissionGroupErrors: [PermissionGroupError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PermissionGroupError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
group: Group
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
input PermissionGroupUpdateInput {
|
|
|
|
addPermissions: [PermissionEnum!]
|
|
|
|
addUsers: [ID!]
|
|
|
|
name: String
|
|
|
|
removePermissions: [PermissionEnum!]
|
|
|
|
removeUsers: [ID!]
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
type Plugin {
|
2020-04-20 11:11:07 +00:00
|
|
|
id: ID!
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String!
|
|
|
|
description: String!
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
globalConfiguration: PluginConfiguration
|
|
|
|
channelConfigurations: [PluginConfiguration!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PluginConfiguration {
|
2019-08-12 13:07:51 +00:00
|
|
|
active: Boolean!
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
channel: Channel
|
2019-08-12 13:07:51 +00:00
|
|
|
configuration: [ConfigurationItem]
|
|
|
|
}
|
|
|
|
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
enum PluginConfigurationType {
|
|
|
|
PER_CHANNEL
|
|
|
|
GLOBAL
|
|
|
|
}
|
|
|
|
|
2019-08-28 14:53:57 +00:00
|
|
|
type PluginCountableConnection {
|
2019-08-12 13:07:51 +00:00
|
|
|
pageInfo: PageInfo!
|
2019-08-28 14:53:57 +00:00
|
|
|
edges: [PluginCountableEdge!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
2019-08-28 14:53:57 +00:00
|
|
|
type PluginCountableEdge {
|
|
|
|
node: Plugin!
|
2019-08-12 13:07:51 +00:00
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type PluginError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: PluginErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum PluginErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
PLUGIN_MISCONFIGURED
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
2019-09-10 11:28:18 +00:00
|
|
|
input PluginFilterInput {
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
statusInChannels: PluginStatusInChannelsInput
|
2019-09-10 11:28:18 +00:00
|
|
|
search: String
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
type: PluginConfigurationType
|
2019-09-10 11:28:18 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum PluginSortField {
|
|
|
|
NAME
|
|
|
|
IS_ACTIVE
|
|
|
|
}
|
|
|
|
|
|
|
|
input PluginSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: PluginSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
Feature - channels per plugin (#1093)
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 13:58:09 +00:00
|
|
|
input PluginStatusInChannelsInput {
|
|
|
|
active: Boolean!
|
|
|
|
channels: [ID!]!
|
|
|
|
}
|
|
|
|
|
2019-08-28 14:53:57 +00:00
|
|
|
type PluginUpdate {
|
|
|
|
plugin: Plugin
|
2022-01-25 12:44:19 +00:00
|
|
|
pluginsErrors: [PluginError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [PluginError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-08-28 14:53:57 +00:00
|
|
|
input PluginUpdateInput {
|
2019-08-12 13:07:51 +00:00
|
|
|
active: Boolean
|
|
|
|
configuration: [ConfigurationItemInput]
|
|
|
|
}
|
|
|
|
|
2020-09-07 10:48:19 +00:00
|
|
|
scalar PositiveDecimal
|
|
|
|
|
2021-02-23 08:58:25 +00:00
|
|
|
enum PostalCodeRuleInclusionTypeEnum {
|
|
|
|
INCLUDE
|
|
|
|
EXCLUDE
|
|
|
|
}
|
|
|
|
|
2021-10-01 12:41:31 +00:00
|
|
|
type PreorderData {
|
|
|
|
globalThreshold: Int
|
|
|
|
globalSoldUnits: Int!
|
|
|
|
endDate: DateTime
|
|
|
|
}
|
|
|
|
|
|
|
|
input PreorderSettingsInput {
|
|
|
|
globalThreshold: Int
|
|
|
|
endDate: DateTime
|
|
|
|
}
|
|
|
|
|
|
|
|
type PreorderThreshold {
|
|
|
|
quantity: Int
|
|
|
|
soldUnits: Int!
|
|
|
|
}
|
|
|
|
|
2021-08-16 13:44:00 +00:00
|
|
|
input PriceInput {
|
|
|
|
currency: String!
|
|
|
|
amount: PositiveDecimal!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input PriceRangeInput {
|
|
|
|
gte: Float
|
|
|
|
lte: Float
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type Product implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
productType: ProductType!
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String!
|
2019-11-27 10:00:36 +00:00
|
|
|
category: Category
|
2019-08-12 13:07:51 +00:00
|
|
|
updatedAt: DateTime
|
|
|
|
chargeTaxes: Boolean!
|
|
|
|
weight: Weight
|
2020-09-25 12:33:01 +00:00
|
|
|
defaultVariant: ProductVariant
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
rating: Float
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2021-09-27 14:06:21 +00:00
|
|
|
channel: String
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
thumbnail(size: Int): Image
|
2021-02-17 11:58:09 +00:00
|
|
|
pricing(address: AddressInput): ProductPricingInfo
|
|
|
|
isAvailable(address: AddressInput): Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
taxType: TaxType
|
|
|
|
attributes: [SelectedAttribute!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelListings: [ProductChannelListing!]
|
2021-06-21 09:02:17 +00:00
|
|
|
mediaById(id: ID): ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
imageById(id: ID): ProductImage
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `mediaById` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
variants: [ProductVariant]
|
2021-03-29 10:28:59 +00:00
|
|
|
media: [ProductMedia!]
|
2022-01-25 12:44:19 +00:00
|
|
|
images: [ProductImage]
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `media` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
collections: [Collection]
|
|
|
|
translation(languageCode: LanguageCodeEnum!): ProductTranslation
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
availableForPurchase: Date
|
2020-09-03 10:25:16 +00:00
|
|
|
isAvailableForPurchase: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-19 14:42:14 +00:00
|
|
|
type ProductAttributeAssign {
|
|
|
|
productType: ProductType
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductAttributeAssignInput {
|
|
|
|
id: ID!
|
|
|
|
type: ProductAttributeType!
|
2021-10-19 08:38:54 +00:00
|
|
|
variantSelection: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductAttributeAssignmentUpdate {
|
|
|
|
productType: ProductType
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-10-19 08:38:54 +00:00
|
|
|
errors: [ProductError!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductAttributeAssignmentUpdateInput {
|
|
|
|
id: ID!
|
|
|
|
variantSelection: Boolean!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ProductAttributeType {
|
|
|
|
PRODUCT
|
|
|
|
VARIANT
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductAttributeUnassign {
|
|
|
|
productType: ProductType
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2020-11-19 14:42:14 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type ProductChannelListing implements Node {
|
|
|
|
id: ID!
|
|
|
|
publicationDate: Date
|
|
|
|
isPublished: Boolean!
|
|
|
|
channel: Channel!
|
|
|
|
visibleInListings: Boolean!
|
|
|
|
availableForPurchase: Date
|
|
|
|
discountedPrice: Money
|
|
|
|
purchaseCost: MoneyRange
|
|
|
|
margin: Margin
|
|
|
|
isAvailableForPurchase: Boolean
|
2021-02-17 11:58:09 +00:00
|
|
|
pricing(address: AddressInput): ProductPricingInfo
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductChannelListingAddInput {
|
|
|
|
channelId: ID!
|
|
|
|
isPublished: Boolean
|
|
|
|
publicationDate: Date
|
|
|
|
visibleInListings: Boolean
|
|
|
|
isAvailableForPurchase: Boolean
|
|
|
|
availableForPurchaseDate: Date
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
addVariants: [ID!]
|
|
|
|
removeVariants: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductChannelListingError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: ProductErrorCode!
|
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
variants: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductChannelListingUpdate {
|
|
|
|
product: Product
|
2022-01-25 12:44:19 +00:00
|
|
|
productChannelListingErrors: [ProductChannelListingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductChannelListingError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductChannelListingUpdateInput {
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
updateChannels: [ProductChannelListingAddInput!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
removeChannels: [ID!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [ProductCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductCountableEdge {
|
|
|
|
node: Product!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductCreateInput {
|
2021-03-17 13:07:48 +00:00
|
|
|
attributes: [AttributeValueInput!]
|
2019-08-12 13:07:51 +00:00
|
|
|
category: ID
|
|
|
|
chargeTaxes: Boolean
|
2021-03-17 13:07:48 +00:00
|
|
|
collections: [ID!]
|
2021-01-22 11:13:40 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String
|
2019-08-12 13:07:51 +00:00
|
|
|
taxCode: String
|
|
|
|
seo: SeoInput
|
|
|
|
weight: WeightScalar
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
rating: Float
|
2019-08-12 13:07:51 +00:00
|
|
|
productType: ID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:14:07 +00:00
|
|
|
type ProductError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: ProductErrorCode!
|
2020-10-03 09:52:59 +00:00
|
|
|
attributes: [ID!]
|
2021-01-07 11:01:24 +00:00
|
|
|
values: [ID!]
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ProductErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
ATTRIBUTE_ALREADY_ASSIGNED
|
|
|
|
ATTRIBUTE_CANNOT_BE_ASSIGNED
|
|
|
|
ATTRIBUTE_VARIANTS_DISABLED
|
2020-04-23 15:43:08 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
2019-09-26 10:14:07 +00:00
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
PRODUCT_WITHOUT_CATEGORY
|
2019-09-26 10:14:07 +00:00
|
|
|
NOT_PRODUCTS_IMAGE
|
2020-10-03 09:52:59 +00:00
|
|
|
NOT_PRODUCTS_VARIANT
|
2019-09-26 10:14:07 +00:00
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
VARIANT_NO_DIGITAL_CONTENT
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT
|
|
|
|
PRODUCT_NOT_ASSIGNED_TO_CHANNEL
|
2021-03-17 13:07:48 +00:00
|
|
|
UNSUPPORTED_MEDIA_PROVIDER
|
2021-10-01 12:41:31 +00:00
|
|
|
PREORDER_VARIANT_CANNOT_BE_DEACTIVATED
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
2020-07-30 09:54:16 +00:00
|
|
|
enum ProductFieldEnum {
|
|
|
|
NAME
|
|
|
|
DESCRIPTION
|
|
|
|
PRODUCT_TYPE
|
|
|
|
CATEGORY
|
|
|
|
PRODUCT_WEIGHT
|
|
|
|
COLLECTIONS
|
|
|
|
CHARGE_TAXES
|
2021-04-12 15:23:37 +00:00
|
|
|
PRODUCT_MEDIA
|
2021-09-30 13:08:22 +00:00
|
|
|
VARIANT_ID
|
2020-07-30 09:54:16 +00:00
|
|
|
VARIANT_SKU
|
|
|
|
VARIANT_WEIGHT
|
2021-04-12 15:23:37 +00:00
|
|
|
VARIANT_MEDIA
|
2020-07-30 09:54:16 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input ProductFilterInput {
|
|
|
|
isPublished: Boolean
|
|
|
|
collections: [ID]
|
|
|
|
categories: [ID]
|
2019-11-27 10:00:36 +00:00
|
|
|
hasCategory: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
attributes: [AttributeInput]
|
|
|
|
stockAvailability: StockAvailability
|
2020-03-09 14:59:58 +00:00
|
|
|
stocks: ProductStockFilterInput
|
2019-08-12 13:07:51 +00:00
|
|
|
search: String
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2020-06-10 13:39:10 +00:00
|
|
|
price: PriceRangeInput
|
2019-08-28 14:53:57 +00:00
|
|
|
minimalPrice: PriceRangeInput
|
2020-01-17 15:16:05 +00:00
|
|
|
productTypes: [ID]
|
2021-09-14 13:57:02 +00:00
|
|
|
giftCard: Boolean
|
2020-10-20 11:20:55 +00:00
|
|
|
ids: [ID]
|
2021-10-01 12:41:31 +00:00
|
|
|
hasPreorderedVariants: Boolean
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type ProductImage {
|
|
|
|
id: ID!
|
|
|
|
alt: String
|
|
|
|
sortOrder: Int
|
|
|
|
url(size: Int): String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductInput {
|
|
|
|
attributes: [AttributeValueInput!]
|
|
|
|
category: ID
|
|
|
|
chargeTaxes: Boolean
|
|
|
|
collections: [ID!]
|
|
|
|
description: JSONString
|
|
|
|
name: String
|
|
|
|
slug: String
|
|
|
|
taxCode: String
|
|
|
|
seo: SeoInput
|
|
|
|
weight: WeightScalar
|
|
|
|
rating: Float
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductMedia implements Node {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
2020-01-09 11:13:24 +00:00
|
|
|
sortOrder: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
alt: String!
|
2021-03-17 13:07:48 +00:00
|
|
|
type: ProductMediaType!
|
|
|
|
oembedData: JSONString!
|
2019-08-12 13:07:51 +00:00
|
|
|
url(size: Int): String!
|
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type ProductMediaBulkDelete {
|
2019-08-12 13:07:51 +00:00
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type ProductMediaCreate {
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
2021-03-17 13:07:48 +00:00
|
|
|
media: ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
input ProductMediaCreateInput {
|
2019-08-12 13:07:51 +00:00
|
|
|
alt: String
|
2021-03-17 13:07:48 +00:00
|
|
|
image: Upload
|
2019-08-12 13:07:51 +00:00
|
|
|
product: ID!
|
2021-03-17 13:07:48 +00:00
|
|
|
mediaUrl: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type ProductMediaDelete {
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
2021-03-17 13:07:48 +00:00
|
|
|
media: ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type ProductMediaReorder {
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
2021-03-17 13:07:48 +00:00
|
|
|
media: [ProductMedia!]
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
enum ProductMediaType {
|
|
|
|
IMAGE
|
|
|
|
VIDEO
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductMediaUpdate {
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
2021-03-17 13:07:48 +00:00
|
|
|
media: ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
input ProductMediaUpdateInput {
|
2019-08-12 13:07:51 +00:00
|
|
|
alt: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductOrder {
|
|
|
|
direction: OrderDirection!
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2019-12-17 17:13:56 +00:00
|
|
|
attributeId: ID
|
|
|
|
field: ProductOrderField
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ProductOrderField {
|
|
|
|
NAME
|
2021-02-17 11:58:09 +00:00
|
|
|
RANK
|
2019-08-12 13:07:51 +00:00
|
|
|
PRICE
|
2019-08-28 14:53:57 +00:00
|
|
|
MINIMAL_PRICE
|
2019-08-12 13:07:51 +00:00
|
|
|
DATE
|
2019-09-10 11:28:18 +00:00
|
|
|
TYPE
|
|
|
|
PUBLISHED
|
2020-10-20 11:20:55 +00:00
|
|
|
PUBLICATION_DATE
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
COLLECTION
|
|
|
|
RATING
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductPricingInfo {
|
|
|
|
onSale: Boolean
|
|
|
|
discount: TaxedMoney
|
|
|
|
discountLocalCurrency: TaxedMoney
|
|
|
|
priceRange: TaxedMoneyRange
|
|
|
|
priceRangeUndiscounted: TaxedMoneyRange
|
|
|
|
priceRangeLocalCurrency: TaxedMoneyRange
|
|
|
|
}
|
|
|
|
|
2021-01-07 11:01:24 +00:00
|
|
|
type ProductReorderAttributeValues {
|
|
|
|
product: Product
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2021-01-07 11:01:24 +00:00
|
|
|
}
|
|
|
|
|
2020-03-09 14:59:58 +00:00
|
|
|
input ProductStockFilterInput {
|
|
|
|
warehouseIds: [ID!]
|
|
|
|
quantity: IntRangeInput
|
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type ProductTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String!
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): ProductTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
product: Product
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2021-08-05 09:26:17 +00:00
|
|
|
attributeValues: [AttributeValueTranslatableContent!]!
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
2021-06-02 19:11:30 +00:00
|
|
|
name: String
|
2021-02-17 11:58:09 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
2022-01-25 12:44:19 +00:00
|
|
|
descriptionJson: JSONString
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `description` field instead."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type ProductType implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
hasVariants: Boolean!
|
|
|
|
isShippingRequired: Boolean!
|
|
|
|
isDigital: Boolean!
|
|
|
|
weight: Weight
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2021-09-14 13:57:02 +00:00
|
|
|
kind: ProductTypeKindEnum!
|
2022-01-25 12:44:19 +00:00
|
|
|
products(
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the top-level `products` query with the `productTypes` filter."
|
|
|
|
)
|
2019-08-12 13:07:51 +00:00
|
|
|
taxType: TaxType
|
2022-01-25 12:44:19 +00:00
|
|
|
variantAttributes(variantSelection: VariantAttributeScope): [Attribute]
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `assignedVariantAttributes` instead."
|
|
|
|
)
|
|
|
|
assignedVariantAttributes(
|
|
|
|
variantSelection: VariantAttributeScope
|
|
|
|
): [AssignedVariantAttribute]
|
2019-08-12 13:07:51 +00:00
|
|
|
productAttributes: [Attribute]
|
2022-01-25 12:44:19 +00:00
|
|
|
availableAttributes(
|
|
|
|
filter: AttributeFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AttributeCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTypeBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ProductTypeConfigurable {
|
|
|
|
CONFIGURABLE
|
|
|
|
SIMPLE
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTypeCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [ProductTypeCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTypeCountableEdge {
|
|
|
|
node: ProductType!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTypeCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productType: ProductType
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductTypeDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productType: ProductType
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ProductTypeEnum {
|
|
|
|
DIGITAL
|
|
|
|
SHIPPABLE
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductTypeFilterInput {
|
2019-08-28 14:53:57 +00:00
|
|
|
search: String
|
2019-08-12 13:07:51 +00:00
|
|
|
configurable: ProductTypeConfigurable
|
|
|
|
productType: ProductTypeEnum
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-09-14 13:57:02 +00:00
|
|
|
kind: ProductTypeKindEnum
|
2020-01-17 15:16:05 +00:00
|
|
|
ids: [ID]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductTypeInput {
|
|
|
|
name: String
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String
|
2021-09-14 13:57:02 +00:00
|
|
|
kind: ProductTypeKindEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
hasVariants: Boolean
|
|
|
|
productAttributes: [ID]
|
|
|
|
variantAttributes: [ID]
|
|
|
|
isShippingRequired: Boolean
|
|
|
|
isDigital: Boolean
|
|
|
|
weight: WeightScalar
|
|
|
|
taxCode: String
|
|
|
|
}
|
|
|
|
|
2021-09-14 13:57:02 +00:00
|
|
|
enum ProductTypeKindEnum {
|
|
|
|
NORMAL
|
|
|
|
GIFT_CARD
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductTypeReorderAttributes {
|
|
|
|
productType: ProductType
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum ProductTypeSortField {
|
|
|
|
NAME
|
|
|
|
DIGITAL
|
|
|
|
SHIPPING_REQUIRED
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductTypeSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: ProductTypeSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductTypeUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productType: ProductType
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type ProductVariant implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
2021-09-30 13:08:22 +00:00
|
|
|
sku: String
|
2019-08-12 13:07:51 +00:00
|
|
|
product: Product!
|
|
|
|
trackInventory: Boolean!
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityLimitPerCustomer: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
weight: Weight
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2021-09-27 14:06:21 +00:00
|
|
|
channel: String
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelListings: [ProductVariantChannelListing!]
|
2021-02-17 11:58:09 +00:00
|
|
|
pricing(address: AddressInput): VariantPricingInfo
|
2020-12-16 10:53:28 +00:00
|
|
|
attributes(variantSelection: VariantAttributeScope): [SelectedAttribute!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
margin: Int
|
|
|
|
quantityOrdered: Int
|
|
|
|
revenue(period: ReportingPeriod): TaxedMoney
|
2022-01-25 12:44:19 +00:00
|
|
|
images: [ProductImage]
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `media` field instead."
|
|
|
|
)
|
2021-03-17 13:07:48 +00:00
|
|
|
media: [ProductMedia!]
|
2019-08-12 13:07:51 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation
|
|
|
|
digitalContent: DigitalContent
|
2021-02-17 11:58:09 +00:00
|
|
|
stocks(address: AddressInput, countryCode: CountryCode): [Stock]
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityAvailable(address: AddressInput, countryCode: CountryCode): Int
|
2021-10-01 12:41:31 +00:00
|
|
|
preorder: PreorderData
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-09-26 15:06:14 +00:00
|
|
|
type ProductVariantBulkCreate {
|
|
|
|
count: Int!
|
|
|
|
productVariants: [ProductVariant!]!
|
2022-01-25 12:44:19 +00:00
|
|
|
bulkProductErrors: [BulkProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [BulkProductError!]!
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductVariantBulkCreateInput {
|
2021-07-01 11:20:01 +00:00
|
|
|
attributes: [BulkAttributeValueInput!]!
|
2021-09-30 13:08:22 +00:00
|
|
|
sku: String
|
2019-09-26 15:06:14 +00:00
|
|
|
trackInventory: Boolean
|
|
|
|
weight: WeightScalar
|
2021-10-01 12:41:31 +00:00
|
|
|
preorder: PreorderSettingsInput
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityLimitPerCustomer: Int
|
2020-04-22 14:41:07 +00:00
|
|
|
stocks: [StockInput!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelListings: [ProductVariantChannelListingAddInput!]
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductVariantBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type ProductVariantChannelListing implements Node {
|
|
|
|
id: ID!
|
|
|
|
channel: Channel!
|
|
|
|
price: Money
|
|
|
|
costPrice: Money
|
|
|
|
margin: Int
|
2021-10-01 12:41:31 +00:00
|
|
|
preorderThreshold: PreorderThreshold
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ProductVariantChannelListingAddInput {
|
|
|
|
channelId: ID!
|
|
|
|
price: PositiveDecimal!
|
|
|
|
costPrice: PositiveDecimal
|
2021-10-01 12:41:31 +00:00
|
|
|
preorderThreshold: Int
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantChannelListingUpdate {
|
|
|
|
variant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
productChannelListingErrors: [ProductChannelListingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductChannelListingError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductVariantCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [ProductVariantCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantCountableEdge {
|
|
|
|
node: ProductVariant!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProductVariantCreateInput {
|
2021-07-01 11:20:01 +00:00
|
|
|
attributes: [AttributeValueInput!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
sku: String
|
|
|
|
trackInventory: Boolean
|
|
|
|
weight: WeightScalar
|
2021-10-01 12:41:31 +00:00
|
|
|
preorder: PreorderSettingsInput
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityLimitPerCustomer: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
product: ID!
|
2020-03-09 14:59:58 +00:00
|
|
|
stocks: [StockInput!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
|
|
|
}
|
|
|
|
|
2020-10-15 11:37:30 +00:00
|
|
|
input ProductVariantFilterInput {
|
|
|
|
search: String
|
|
|
|
sku: [String]
|
2021-06-28 13:51:19 +00:00
|
|
|
metadata: [MetadataFilter]
|
2021-10-01 12:41:31 +00:00
|
|
|
isPreorder: Boolean
|
2020-10-15 11:37:30 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input ProductVariantInput {
|
2021-07-01 11:20:01 +00:00
|
|
|
attributes: [AttributeValueInput!]
|
2019-08-12 13:07:51 +00:00
|
|
|
sku: String
|
|
|
|
trackInventory: Boolean
|
|
|
|
weight: WeightScalar
|
2021-10-01 12:41:31 +00:00
|
|
|
preorder: PreorderSettingsInput
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityLimitPerCustomer: Int
|
2021-10-01 12:41:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantPreorderDeactivate {
|
|
|
|
productVariant: ProductVariant
|
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-09-17 14:37:33 +00:00
|
|
|
type ProductVariantReorder {
|
|
|
|
product: Product
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2020-09-17 14:37:33 +00:00
|
|
|
}
|
|
|
|
|
2021-01-07 11:01:24 +00:00
|
|
|
type ProductVariantReorderAttributeValues {
|
|
|
|
productVariant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2021-01-07 11:01:24 +00:00
|
|
|
}
|
|
|
|
|
2020-09-25 12:33:01 +00:00
|
|
|
type ProductVariantSetDefault {
|
|
|
|
product: Product
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2020-09-25 12:33:01 +00:00
|
|
|
}
|
|
|
|
|
2020-03-09 14:59:58 +00:00
|
|
|
type ProductVariantStocksCreate {
|
|
|
|
productVariant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
bulkStockErrors: [BulkStockError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [BulkStockError!]!
|
2020-03-09 14:59:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantStocksDelete {
|
|
|
|
productVariant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
stockErrors: [StockError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [StockError!]!
|
2020-03-09 14:59:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantStocksUpdate {
|
|
|
|
productVariant: ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
bulkStockErrors: [BulkStockError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [BulkStockError!]!
|
2020-03-09 14:59:58 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type ProductVariantTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
productVariant: ProductVariant
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2021-08-05 09:26:17 +00:00
|
|
|
attributeValues: [AttributeValueTranslatableContent!]!
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ProductVariantTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProductVariantUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
input PublishableChannelListingInput {
|
|
|
|
channelId: ID!
|
|
|
|
isPublished: Boolean
|
|
|
|
publicationDate: Date
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Query {
|
2019-09-26 15:06:14 +00:00
|
|
|
webhook(id: ID!): Webhook
|
2022-01-25 12:44:19 +00:00
|
|
|
webhookEvents: [WebhookEvent]
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `WebhookEventTypeAsyncEnum` and `WebhookEventTypeSyncEnum` to get available event types."
|
|
|
|
)
|
2020-03-03 11:20:39 +00:00
|
|
|
webhookSamplePayload(eventType: WebhookSampleEventTypeEnum!): JSONString
|
2020-01-17 15:16:05 +00:00
|
|
|
warehouse(id: ID!): Warehouse
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouses(
|
|
|
|
filter: WarehouseFilterInput
|
|
|
|
sortBy: WarehouseSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): WarehouseCountableConnection
|
|
|
|
translations(
|
|
|
|
kind: TranslatableKinds!
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): TranslatableItemConnection
|
2020-01-17 15:16:05 +00:00
|
|
|
translation(id: ID!, kind: TranslatableKinds!): TranslatableItem
|
|
|
|
stock(id: ID!): Stock
|
2022-01-25 12:44:19 +00:00
|
|
|
stocks(
|
|
|
|
filter: StockFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): StockCountableConnection
|
2020-03-03 11:20:39 +00:00
|
|
|
shop: Shop!
|
2020-11-30 13:19:57 +00:00
|
|
|
orderSettings: OrderSettings
|
2021-09-14 13:57:02 +00:00
|
|
|
giftCardSettings: GiftCardSettings!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
shippingZone(id: ID!, channel: String): ShippingZone
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingZones(
|
|
|
|
filter: ShippingZoneFilterInput
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ShippingZoneCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
digitalContent(id: ID!): DigitalContent
|
2022-01-25 12:44:19 +00:00
|
|
|
digitalContents(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): DigitalContentCountableConnection
|
|
|
|
categories(
|
|
|
|
filter: CategoryFilterInput
|
|
|
|
sortBy: CategorySortingInput
|
|
|
|
level: Int
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CategoryCountableConnection
|
2020-06-10 13:39:10 +00:00
|
|
|
category(id: ID, slug: String): Category
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
collection(id: ID, slug: String, channel: String): Collection
|
2022-01-25 12:44:19 +00:00
|
|
|
collections(
|
|
|
|
filter: CollectionFilterInput
|
|
|
|
sortBy: CollectionSortingInput
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CollectionCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
product(id: ID, slug: String, channel: String): Product
|
2022-01-25 12:44:19 +00:00
|
|
|
products(
|
|
|
|
filter: ProductFilterInput
|
|
|
|
sortBy: ProductOrder
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
productType(id: ID!): ProductType
|
2022-01-25 12:44:19 +00:00
|
|
|
productTypes(
|
|
|
|
filter: ProductTypeFilterInput
|
|
|
|
sortBy: ProductTypeSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductTypeCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
productVariant(id: ID, sku: String, channel: String): ProductVariant
|
2022-01-25 12:44:19 +00:00
|
|
|
productVariants(
|
|
|
|
ids: [ID]
|
|
|
|
channel: String
|
|
|
|
filter: ProductVariantFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductVariantCountableConnection
|
|
|
|
reportProductSales(
|
|
|
|
period: ReportingPeriod!
|
|
|
|
channel: String!
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductVariantCountableConnection
|
2019-09-26 10:14:07 +00:00
|
|
|
payment(id: ID!): Payment
|
2022-01-25 12:44:19 +00:00
|
|
|
payments(
|
|
|
|
filter: PaymentFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): PaymentCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
page(id: ID, slug: String): Page
|
2022-01-25 12:44:19 +00:00
|
|
|
pages(
|
|
|
|
sortBy: PageSortingInput
|
|
|
|
filter: PageFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): PageCountableConnection
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType(id: ID!): PageType
|
2022-01-25 12:44:19 +00:00
|
|
|
pageTypes(
|
|
|
|
sortBy: PageTypeSortingInput
|
|
|
|
filter: PageTypeFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): PageTypeCountableConnection
|
|
|
|
homepageEvents(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): OrderEventCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
order(id: ID!): Order
|
2022-01-25 12:44:19 +00:00
|
|
|
orders(
|
|
|
|
sortBy: OrderSortingInput
|
|
|
|
filter: OrderFilterInput
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): OrderCountableConnection
|
|
|
|
draftOrders(
|
|
|
|
sortBy: OrderSortingInput
|
|
|
|
filter: OrderDraftFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): OrderCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
ordersTotal(period: ReportingPeriod, channel: String): TaxedMoney
|
2019-09-26 10:14:07 +00:00
|
|
|
orderByToken(token: UUID!): Order
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
menu(channel: String, id: ID, name: String, slug: String): Menu
|
2022-01-25 12:44:19 +00:00
|
|
|
menus(
|
|
|
|
channel: String
|
|
|
|
sortBy: MenuSortingInput
|
|
|
|
filter: MenuFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): MenuCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
menuItem(id: ID!, channel: String): MenuItem
|
2022-01-25 12:44:19 +00:00
|
|
|
menuItems(
|
|
|
|
channel: String
|
|
|
|
sortBy: MenuItemSortingInput
|
|
|
|
filter: MenuItemFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): MenuItemCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
giftCard(id: ID!): GiftCard
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCards(
|
|
|
|
sortBy: GiftCardSortingInput
|
|
|
|
filter: GiftCardFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): GiftCardCountableConnection
|
|
|
|
giftCardTags(
|
|
|
|
filter: GiftCardTagFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): GiftCardTagCountableConnection
|
2021-10-13 11:42:20 +00:00
|
|
|
giftCardCurrencies: [String!]!
|
2019-08-28 14:53:57 +00:00
|
|
|
plugin(id: ID!): Plugin
|
2022-01-25 12:44:19 +00:00
|
|
|
plugins(
|
|
|
|
filter: PluginFilterInput
|
|
|
|
sortBy: PluginSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): PluginCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
sale(id: ID!, channel: String): Sale
|
2022-01-25 12:44:19 +00:00
|
|
|
sales(
|
|
|
|
filter: SaleFilterInput
|
|
|
|
sortBy: SaleSortingInput
|
|
|
|
query: String
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): SaleCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
voucher(id: ID!, channel: String): Voucher
|
2022-01-25 12:44:19 +00:00
|
|
|
vouchers(
|
|
|
|
filter: VoucherFilterInput
|
|
|
|
sortBy: VoucherSortingInput
|
|
|
|
query: String
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): VoucherCountableConnection
|
2020-07-30 09:54:16 +00:00
|
|
|
exportFile(id: ID!): ExportFile
|
2022-01-25 12:44:19 +00:00
|
|
|
exportFiles(
|
|
|
|
filter: ExportFileFilterInput
|
|
|
|
sortBy: ExportFileSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ExportFileCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
taxTypes: [TaxType]
|
2020-11-23 11:38:28 +00:00
|
|
|
checkout(token: UUID): Checkout
|
2022-01-25 12:44:19 +00:00
|
|
|
checkouts(
|
|
|
|
sortBy: CheckoutSortingInput
|
|
|
|
filter: CheckoutFilterInput
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CheckoutCountableConnection
|
|
|
|
checkoutLines(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CheckoutLineCountableConnection
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channel(id: ID): Channel
|
|
|
|
channels: [Channel!]
|
2022-01-25 12:44:19 +00:00
|
|
|
attributes(
|
|
|
|
filter: AttributeFilterInput
|
|
|
|
sortBy: AttributeSortingInput
|
|
|
|
channel: String
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AttributeCountableConnection
|
2020-12-21 12:50:04 +00:00
|
|
|
attribute(id: ID, slug: String): Attribute
|
2020-07-22 10:54:15 +00:00
|
|
|
appsInstallations: [AppInstallation!]!
|
2022-01-25 12:44:19 +00:00
|
|
|
apps(
|
|
|
|
filter: AppFilterInput
|
|
|
|
sortBy: AppSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AppCountableConnection
|
2021-03-16 09:03:11 +00:00
|
|
|
app(id: ID): App
|
2022-01-25 12:44:19 +00:00
|
|
|
appExtensions(
|
|
|
|
filter: AppExtensionFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): AppExtensionCountableConnection
|
2021-08-20 13:58:53 +00:00
|
|
|
appExtension(id: ID!): AppExtension
|
2022-01-25 12:44:19 +00:00
|
|
|
addressValidationRules(
|
|
|
|
countryCode: CountryCode!
|
|
|
|
countryArea: String
|
|
|
|
city: String
|
|
|
|
cityArea: String
|
|
|
|
): AddressValidationData
|
2020-01-09 11:13:24 +00:00
|
|
|
address(id: ID!): Address
|
2022-01-25 12:44:19 +00:00
|
|
|
customers(
|
|
|
|
filter: CustomerFilterInput
|
|
|
|
sortBy: UserSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): UserCountableConnection
|
|
|
|
permissionGroups(
|
|
|
|
filter: PermissionGroupFilterInput
|
|
|
|
sortBy: PermissionGroupSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): GroupCountableConnection
|
2020-03-03 11:20:39 +00:00
|
|
|
permissionGroup(id: ID!): Group
|
2019-08-12 13:07:51 +00:00
|
|
|
me: User
|
2022-01-25 12:44:19 +00:00
|
|
|
staffUsers(
|
|
|
|
filter: StaffUserInput
|
|
|
|
sortBy: UserSortingInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): UserCountableConnection
|
2021-01-20 16:37:36 +00:00
|
|
|
user(id: ID, email: String): User
|
2019-10-17 15:29:13 +00:00
|
|
|
_entities(representations: [_Any]): [_Entity]
|
|
|
|
_service: _Service
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ReducedRate {
|
|
|
|
rate: Float!
|
2021-05-24 13:50:41 +00:00
|
|
|
rateType: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-22 14:41:07 +00:00
|
|
|
type RefreshToken {
|
2019-08-12 13:07:51 +00:00
|
|
|
token: String
|
2020-07-01 11:11:08 +00:00
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ReorderInput {
|
|
|
|
id: ID!
|
|
|
|
sortOrder: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ReportingPeriod {
|
|
|
|
TODAY
|
|
|
|
THIS_MONTH
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type RequestEmailChange {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type RequestPasswordReset {
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-07-29 12:47:22 +00:00
|
|
|
type Sale implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
type: SaleType!
|
|
|
|
startDate: DateTime!
|
|
|
|
endDate: DateTime
|
2021-07-29 12:47:22 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
categories(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CategoryCountableConnection
|
|
|
|
collections(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CollectionCountableConnection
|
|
|
|
products(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
|
|
|
variants(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductVariantCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): SaleTranslation
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channelListings: [SaleChannelListing!]
|
|
|
|
discountValue: Float
|
|
|
|
currency: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SaleAddCatalogues {
|
|
|
|
sale: Sale
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SaleBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type SaleChannelListing implements Node {
|
|
|
|
id: ID!
|
|
|
|
channel: Channel!
|
|
|
|
discountValue: Float!
|
|
|
|
currency: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input SaleChannelListingAddInput {
|
|
|
|
channelId: ID!
|
|
|
|
discountValue: PositiveDecimal!
|
|
|
|
}
|
|
|
|
|
|
|
|
input SaleChannelListingInput {
|
|
|
|
addChannels: [SaleChannelListingAddInput!]
|
|
|
|
removeChannels: [ID!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleChannelListingUpdate {
|
|
|
|
sale: Sale
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type SaleCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [SaleCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleCountableEdge {
|
|
|
|
node: Sale!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
sale: Sale
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
sale: Sale
|
|
|
|
}
|
|
|
|
|
|
|
|
input SaleFilterInput {
|
|
|
|
status: [DiscountStatusEnum]
|
|
|
|
saleType: DiscountValueTypeEnum
|
|
|
|
started: DateTimeRangeInput
|
|
|
|
search: String
|
2021-08-05 09:26:17 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input SaleInput {
|
|
|
|
name: String
|
|
|
|
type: DiscountValueTypeEnum
|
2020-09-07 10:48:19 +00:00
|
|
|
value: PositiveDecimal
|
2019-08-12 13:07:51 +00:00
|
|
|
products: [ID]
|
2021-09-30 12:51:13 +00:00
|
|
|
variants: [ID]
|
2019-08-12 13:07:51 +00:00
|
|
|
categories: [ID]
|
|
|
|
collections: [ID]
|
|
|
|
startDate: DateTime
|
|
|
|
endDate: DateTime
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleRemoveCatalogues {
|
|
|
|
sale: Sale
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum SaleSortField {
|
|
|
|
NAME
|
|
|
|
START_DATE
|
|
|
|
END_DATE
|
|
|
|
VALUE
|
|
|
|
TYPE
|
|
|
|
}
|
|
|
|
|
|
|
|
input SaleSortingInput {
|
|
|
|
direction: OrderDirection!
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2020-01-17 15:16:05 +00:00
|
|
|
field: SaleSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type SaleTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
translation(languageCode: LanguageCodeEnum!): SaleTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
sale: Sale
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type SaleTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
sale: Sale
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum SaleType {
|
|
|
|
FIXED
|
|
|
|
PERCENTAGE
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaleUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
sale: Sale
|
|
|
|
}
|
|
|
|
|
|
|
|
type SelectedAttribute {
|
|
|
|
attribute: Attribute!
|
|
|
|
values: [AttributeValue]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input SeoInput {
|
|
|
|
title: String
|
|
|
|
description: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type SetPassword {
|
2020-07-01 11:11:08 +00:00
|
|
|
token: String
|
|
|
|
refreshToken: String
|
|
|
|
csrfToken: String
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: ShippingErrorCode!
|
2020-04-20 11:11:07 +00:00
|
|
|
warehouses: [ID!]
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
channels: [ID!]
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ShippingErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
MAX_LESS_THAN_MIN
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2020-04-23 15:43:08 +00:00
|
|
|
DUPLICATED_INPUT_ITEM
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 13:47:44 +00:00
|
|
|
type ShippingMethod implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
2020-11-12 13:47:44 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
type: ShippingMethodTypeEnum
|
|
|
|
@deprecated(reason: "This field will be removed in Saleor 4.0.")
|
2021-12-07 09:43:24 +00:00
|
|
|
name: String!
|
|
|
|
description: JSONString
|
2022-01-24 13:50:17 +00:00
|
|
|
maximumDeliveryDays: Int
|
|
|
|
minimumDeliveryDays: Int
|
2022-01-25 12:44:19 +00:00
|
|
|
maximumOrderWeight: Weight
|
|
|
|
@deprecated(reason: "This field will be removed in Saleor 4.0.")
|
|
|
|
minimumOrderWeight: Weight
|
|
|
|
@deprecated(reason: "This field will be removed in Saleor 4.0.")
|
2019-08-12 13:07:51 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation
|
2022-01-24 13:50:17 +00:00
|
|
|
price: Money!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
maximumOrderPrice: Money
|
|
|
|
minimumOrderPrice: Money
|
2022-01-24 13:50:17 +00:00
|
|
|
active: Boolean!
|
|
|
|
message: String
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingMethodChannelListing implements Node {
|
|
|
|
id: ID!
|
|
|
|
channel: Channel!
|
|
|
|
minimumOrderPrice: Money
|
|
|
|
maximumOrderPrice: Money
|
|
|
|
price: Money
|
|
|
|
}
|
|
|
|
|
|
|
|
input ShippingMethodChannelListingAddInput {
|
|
|
|
channelId: ID!
|
|
|
|
price: PositiveDecimal
|
|
|
|
minimumOrderPrice: PositiveDecimal
|
|
|
|
maximumOrderPrice: PositiveDecimal
|
|
|
|
}
|
|
|
|
|
|
|
|
input ShippingMethodChannelListingInput {
|
|
|
|
addChannels: [ShippingMethodChannelListingAddInput!]
|
|
|
|
removeChannels: [ID!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingMethodChannelListingUpdate {
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-02-23 08:58:25 +00:00
|
|
|
type ShippingMethodPostalCodeRule implements Node {
|
|
|
|
start: String
|
|
|
|
end: String
|
|
|
|
inclusionType: PostalCodeRuleInclusionTypeEnum
|
|
|
|
id: ID!
|
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type ShippingMethodTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
2021-04-16 12:33:14 +00:00
|
|
|
description: JSONString
|
2019-11-27 10:00:36 +00:00
|
|
|
translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ShippingMethodTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
2021-04-16 12:33:14 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
2022-01-24 13:50:17 +00:00
|
|
|
type ShippingMethodType implements Node & ObjectWithMetadata {
|
|
|
|
id: ID!
|
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
|
|
|
name: String!
|
|
|
|
description: JSONString
|
|
|
|
type: ShippingMethodTypeEnum
|
|
|
|
translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation
|
|
|
|
channelListings: [ShippingMethodChannelListing!]
|
|
|
|
maximumOrderPrice: Money
|
|
|
|
minimumOrderPrice: Money
|
|
|
|
postalCodeRules: [ShippingMethodPostalCodeRule]
|
2022-01-25 12:44:19 +00:00
|
|
|
excludedProducts(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
2022-01-24 13:50:17 +00:00
|
|
|
minimumOrderWeight: Weight
|
|
|
|
maximumOrderWeight: Weight
|
|
|
|
maximumDeliveryDays: Int
|
|
|
|
minimumDeliveryDays: Int
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum ShippingMethodTypeEnum {
|
|
|
|
PRICE
|
|
|
|
WEIGHT
|
|
|
|
}
|
|
|
|
|
2021-02-23 08:58:25 +00:00
|
|
|
input ShippingPostalCodeRulesCreateInputRange {
|
|
|
|
start: String!
|
2020-12-01 15:42:25 +00:00
|
|
|
end: String
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ShippingPriceBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingPriceCreate {
|
|
|
|
shippingZone: ShippingZone
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingPriceDelete {
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2019-08-12 13:07:51 +00:00
|
|
|
shippingZone: ShippingZone
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-12-01 15:42:25 +00:00
|
|
|
type ShippingPriceExcludeProducts {
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2020-12-01 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ShippingPriceExcludeProductsInput {
|
|
|
|
products: [ID]!
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input ShippingPriceInput {
|
|
|
|
name: String
|
2021-04-16 12:33:14 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
minimumOrderWeight: WeightScalar
|
|
|
|
maximumOrderWeight: WeightScalar
|
2020-12-16 10:53:28 +00:00
|
|
|
maximumDeliveryDays: Int
|
|
|
|
minimumDeliveryDays: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
type: ShippingMethodTypeEnum
|
|
|
|
shippingZone: ID
|
2021-02-23 08:58:25 +00:00
|
|
|
addPostalCodeRules: [ShippingPostalCodeRulesCreateInputRange!]
|
|
|
|
deletePostalCodeRules: [ID!]
|
|
|
|
inclusionType: PostalCodeRuleInclusionTypeEnum
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-12-01 15:42:25 +00:00
|
|
|
type ShippingPriceRemoveProductFromExclude {
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2020-12-01 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ShippingPriceTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-04-16 12:33:14 +00:00
|
|
|
input ShippingPriceTranslationInput {
|
|
|
|
name: String
|
|
|
|
description: JSONString
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ShippingPriceUpdate {
|
|
|
|
shippingZone: ShippingZone
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethod: ShippingMethodType
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 13:47:44 +00:00
|
|
|
type ShippingZone implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
default: Boolean!
|
2020-11-12 13:47:44 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
priceRange: MoneyRange
|
|
|
|
countries: [CountryDisplay]
|
2022-01-24 13:50:17 +00:00
|
|
|
shippingMethods: [ShippingMethodType]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
warehouses: [Warehouse!]!
|
|
|
|
channels: [Channel!]!
|
2020-12-30 12:25:40 +00:00
|
|
|
description: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingZoneBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingZoneCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [ShippingZoneCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingZoneCountableEdge {
|
|
|
|
node: ShippingZone!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingZoneCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
shippingZone: ShippingZone
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
input ShippingZoneCreateInput {
|
2019-08-12 13:07:51 +00:00
|
|
|
name: String
|
2021-01-05 11:31:06 +00:00
|
|
|
description: String
|
2019-08-12 13:07:51 +00:00
|
|
|
countries: [String]
|
|
|
|
default: Boolean
|
2020-04-20 11:11:07 +00:00
|
|
|
addWarehouses: [ID]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
addChannels: [ID!]
|
2020-04-20 11:11:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShippingZoneDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2020-04-20 11:11:07 +00:00
|
|
|
shippingZone: ShippingZone
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
input ShippingZoneFilterInput {
|
|
|
|
search: String
|
2021-05-12 10:41:15 +00:00
|
|
|
channels: [ID]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type ShippingZoneUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingErrors: [ShippingError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShippingError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
shippingZone: ShippingZone
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
input ShippingZoneUpdateInput {
|
|
|
|
name: String
|
2021-01-05 11:31:06 +00:00
|
|
|
description: String
|
2020-04-20 11:11:07 +00:00
|
|
|
countries: [String]
|
|
|
|
default: Boolean
|
|
|
|
addWarehouses: [ID]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
addChannels: [ID!]
|
2020-04-20 11:11:07 +00:00
|
|
|
removeWarehouses: [ID]
|
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061)
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 13:44:25 +00:00
|
|
|
removeChannels: [ID!]
|
2020-04-20 11:11:07 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Shop {
|
2022-01-25 12:44:19 +00:00
|
|
|
availablePaymentGateways(
|
|
|
|
currency: String
|
|
|
|
channel: String
|
|
|
|
): [PaymentGateway!]!
|
2021-01-26 22:04:54 +00:00
|
|
|
availableExternalAuthentications: [ExternalAuthentication!]!
|
2022-01-25 12:44:19 +00:00
|
|
|
availableShippingMethods(
|
|
|
|
channel: String!
|
|
|
|
address: AddressInput
|
|
|
|
): [ShippingMethod]
|
2021-08-16 13:44:00 +00:00
|
|
|
channelCurrencies: [String!]!
|
2020-06-10 13:39:10 +00:00
|
|
|
countries(languageCode: LanguageCodeEnum): [CountryDisplay!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
defaultCountry: CountryDisplay
|
2019-10-25 12:18:52 +00:00
|
|
|
defaultMailSenderName: String
|
|
|
|
defaultMailSenderAddress: String
|
2019-08-12 13:07:51 +00:00
|
|
|
description: String
|
|
|
|
domain: Domain!
|
|
|
|
languages: [LanguageDisplay]!
|
|
|
|
name: String!
|
2020-04-20 11:11:07 +00:00
|
|
|
permissions: [Permission]!
|
2019-08-12 13:07:51 +00:00
|
|
|
phonePrefixes: [String]!
|
|
|
|
headerText: String
|
|
|
|
includeTaxesInPrices: Boolean!
|
2021-08-20 14:36:05 +00:00
|
|
|
fulfillmentAutoApprove: Boolean!
|
|
|
|
fulfillmentAllowUnpaid: Boolean!
|
2019-08-12 13:07:51 +00:00
|
|
|
displayGrossPrices: Boolean!
|
|
|
|
chargeTaxesOnShipping: Boolean!
|
|
|
|
trackInventoryByDefault: Boolean
|
|
|
|
defaultWeightUnit: WeightUnitsEnum
|
|
|
|
translation(languageCode: LanguageCodeEnum!): ShopTranslation
|
|
|
|
automaticFulfillmentDigitalProducts: Boolean
|
2021-10-13 11:35:00 +00:00
|
|
|
reserveStockDurationAnonymousUser: Int
|
|
|
|
reserveStockDurationAuthenticatedUser: Int
|
2021-12-07 09:43:24 +00:00
|
|
|
limitQuantityPerCheckout: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
defaultDigitalMaxDownloads: Int
|
|
|
|
defaultDigitalUrlValidDays: Int
|
|
|
|
companyAddress: Address
|
2019-10-25 12:18:52 +00:00
|
|
|
customerSetPasswordUrl: String
|
2020-01-17 15:16:05 +00:00
|
|
|
staffNotificationRecipients: [StaffNotificationRecipient]
|
2021-03-17 13:07:48 +00:00
|
|
|
limits: LimitInfo!
|
2021-03-16 09:03:11 +00:00
|
|
|
version: String!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopAddressUpdate {
|
|
|
|
shop: Shop
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopDomainUpdate {
|
|
|
|
shop: Shop
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: ShopErrorCode!
|
2019-09-26 10:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum ShopErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
CANNOT_FETCH_TAX_RATES
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopFetchTaxRates {
|
|
|
|
shop: Shop
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ShopSettingsInput {
|
|
|
|
headerText: String
|
|
|
|
description: String
|
|
|
|
includeTaxesInPrices: Boolean
|
|
|
|
displayGrossPrices: Boolean
|
|
|
|
chargeTaxesOnShipping: Boolean
|
|
|
|
trackInventoryByDefault: Boolean
|
|
|
|
defaultWeightUnit: WeightUnitsEnum
|
|
|
|
automaticFulfillmentDigitalProducts: Boolean
|
2021-08-20 14:36:05 +00:00
|
|
|
fulfillmentAutoApprove: Boolean
|
|
|
|
fulfillmentAllowUnpaid: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
defaultDigitalMaxDownloads: Int
|
|
|
|
defaultDigitalUrlValidDays: Int
|
2019-10-25 12:18:52 +00:00
|
|
|
defaultMailSenderName: String
|
|
|
|
defaultMailSenderAddress: String
|
|
|
|
customerSetPasswordUrl: String
|
2021-10-13 11:35:00 +00:00
|
|
|
reserveStockDurationAnonymousUser: Int
|
|
|
|
reserveStockDurationAuthenticatedUser: Int
|
2021-12-07 09:43:24 +00:00
|
|
|
limitQuantityPerCheckout: Int
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopSettingsTranslate {
|
|
|
|
shop: Shop
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input ShopSettingsTranslationInput {
|
|
|
|
headerText: String
|
|
|
|
description: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShopSettingsUpdate {
|
|
|
|
shop: Shop
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ShopTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
headerText: String!
|
|
|
|
description: String!
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
input SiteDomainInput {
|
|
|
|
domain: String
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type StaffBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
staffErrors: [StaffError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [StaffError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type StaffCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
staffErrors: [StaffError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [StaffError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
|
|
|
input StaffCreateInput {
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
email: String
|
|
|
|
isActive: Boolean
|
|
|
|
note: String
|
2020-04-20 11:11:07 +00:00
|
|
|
addGroups: [ID!]
|
2019-09-10 11:28:18 +00:00
|
|
|
redirectUrl: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type StaffDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
staffErrors: [StaffError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [StaffError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type StaffError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: AccountErrorCode!
|
2021-05-06 11:38:15 +00:00
|
|
|
addressType: AddressTypeEnum
|
2020-04-20 11:11:07 +00:00
|
|
|
permissions: [PermissionEnum!]
|
|
|
|
groups: [ID!]
|
|
|
|
users: [ID!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum StaffMemberStatus {
|
|
|
|
ACTIVE
|
|
|
|
DEACTIVATED
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type StaffNotificationRecipient implements Node {
|
|
|
|
user: User
|
|
|
|
active: Boolean
|
|
|
|
id: ID!
|
|
|
|
email: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type StaffNotificationRecipientCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
staffNotificationRecipient: StaffNotificationRecipient
|
|
|
|
}
|
|
|
|
|
|
|
|
type StaffNotificationRecipientDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
staffNotificationRecipient: StaffNotificationRecipient
|
|
|
|
}
|
|
|
|
|
|
|
|
input StaffNotificationRecipientInput {
|
|
|
|
user: ID
|
|
|
|
email: String
|
|
|
|
active: Boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
type StaffNotificationRecipientUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
shopErrors: [ShopError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ShopError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
staffNotificationRecipient: StaffNotificationRecipient
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type StaffUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
staffErrors: [StaffError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [StaffError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
user: User
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
input StaffUpdateInput {
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
email: String
|
|
|
|
isActive: Boolean
|
|
|
|
note: String
|
|
|
|
addGroups: [ID!]
|
|
|
|
removeGroups: [ID!]
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input StaffUserInput {
|
|
|
|
status: StaffMemberStatus
|
|
|
|
search: String
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type Stock implements Node {
|
|
|
|
warehouse: Warehouse!
|
|
|
|
productVariant: ProductVariant!
|
|
|
|
quantity: Int!
|
|
|
|
id: ID!
|
2020-04-22 14:41:07 +00:00
|
|
|
quantityAllocated: Int!
|
2021-12-07 09:43:24 +00:00
|
|
|
quantityReserved: Int!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
enum StockAvailability {
|
|
|
|
IN_STOCK
|
|
|
|
OUT_OF_STOCK
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type StockCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [StockCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type StockCountableEdge {
|
|
|
|
node: Stock!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
2020-03-09 14:59:58 +00:00
|
|
|
type StockError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: StockErrorCode!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2020-03-09 14:59:58 +00:00
|
|
|
enum StockErrorCode {
|
2020-01-17 15:16:05 +00:00
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
|
|
|
input StockFilterInput {
|
|
|
|
quantity: Float
|
|
|
|
search: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input StockInput {
|
|
|
|
warehouse: ID!
|
2021-04-12 15:23:37 +00:00
|
|
|
quantity: Int!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2021-09-27 14:06:21 +00:00
|
|
|
enum StorePaymentMethodEnum {
|
|
|
|
ON_SESSION
|
|
|
|
OFF_SESSION
|
|
|
|
NONE
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type TaxType {
|
|
|
|
description: String
|
|
|
|
taxCode: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaxedMoney {
|
|
|
|
currency: String!
|
|
|
|
gross: Money!
|
|
|
|
net: Money!
|
|
|
|
tax: Money!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaxedMoneyRange {
|
|
|
|
start: TaxedMoney
|
|
|
|
stop: TaxedMoney
|
|
|
|
}
|
|
|
|
|
2021-08-16 13:44:00 +00:00
|
|
|
type TimePeriod {
|
|
|
|
amount: Int!
|
|
|
|
type: TimePeriodTypeEnum!
|
|
|
|
}
|
|
|
|
|
|
|
|
input TimePeriodInputType {
|
|
|
|
amount: Int!
|
|
|
|
type: TimePeriodTypeEnum!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TimePeriodTypeEnum {
|
|
|
|
DAY
|
2021-09-14 13:57:02 +00:00
|
|
|
WEEK
|
2021-08-16 13:44:00 +00:00
|
|
|
MONTH
|
|
|
|
YEAR
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Transaction implements Node {
|
|
|
|
id: ID!
|
|
|
|
created: DateTime!
|
|
|
|
payment: Payment!
|
|
|
|
token: String!
|
|
|
|
kind: TransactionKind!
|
|
|
|
isSuccess: Boolean!
|
2021-04-16 12:33:14 +00:00
|
|
|
error: String
|
|
|
|
gatewayResponse: JSONString!
|
2019-08-12 13:07:51 +00:00
|
|
|
amount: Money
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TransactionKind {
|
2020-12-01 13:13:05 +00:00
|
|
|
EXTERNAL
|
2019-08-12 13:07:51 +00:00
|
|
|
AUTH
|
2020-08-26 10:33:03 +00:00
|
|
|
PENDING
|
|
|
|
ACTION_TO_CONFIRM
|
2019-08-12 13:07:51 +00:00
|
|
|
REFUND
|
2020-08-26 10:33:03 +00:00
|
|
|
REFUND_ONGOING
|
2019-08-12 13:07:51 +00:00
|
|
|
CAPTURE
|
|
|
|
VOID
|
2019-08-28 14:53:57 +00:00
|
|
|
CONFIRM
|
2020-08-26 10:33:03 +00:00
|
|
|
CANCEL
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
union TranslatableItem =
|
|
|
|
ProductTranslatableContent
|
|
|
|
| CollectionTranslatableContent
|
|
|
|
| CategoryTranslatableContent
|
|
|
|
| AttributeTranslatableContent
|
|
|
|
| AttributeValueTranslatableContent
|
|
|
|
| ProductVariantTranslatableContent
|
|
|
|
| PageTranslatableContent
|
|
|
|
| ShippingMethodTranslatableContent
|
|
|
|
| SaleTranslatableContent
|
|
|
|
| VoucherTranslatableContent
|
|
|
|
| MenuItemTranslatableContent
|
2019-08-12 13:07:51 +00:00
|
|
|
|
|
|
|
type TranslatableItemConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [TranslatableItemEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type TranslatableItemEdge {
|
|
|
|
node: TranslatableItem!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TranslatableKinds {
|
|
|
|
ATTRIBUTE
|
|
|
|
ATTRIBUTE_VALUE
|
|
|
|
CATEGORY
|
|
|
|
COLLECTION
|
|
|
|
MENU_ITEM
|
|
|
|
PAGE
|
|
|
|
PRODUCT
|
|
|
|
SALE
|
|
|
|
SHIPPING_METHOD
|
|
|
|
VARIANT
|
|
|
|
VOUCHER
|
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type TranslationError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: TranslationErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TranslationErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
input TranslationInput {
|
|
|
|
seoTitle: String
|
|
|
|
seoDescription: String
|
|
|
|
name: String
|
2021-01-22 11:13:40 +00:00
|
|
|
description: JSONString
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
scalar UUID
|
|
|
|
|
2020-06-22 16:34:59 +00:00
|
|
|
input UpdateInvoiceInput {
|
|
|
|
number: String
|
|
|
|
url: String
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type UpdateMetadata {
|
2022-01-25 12:44:19 +00:00
|
|
|
metadataErrors: [MetadataError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MetadataError!]!
|
2020-03-03 11:20:39 +00:00
|
|
|
item: ObjectWithMetadata
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdatePrivateMetadata {
|
2022-01-25 12:44:19 +00:00
|
|
|
metadataErrors: [MetadataError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [MetadataError!]!
|
2020-03-03 11:20:39 +00:00
|
|
|
item: ObjectWithMetadata
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
scalar Upload
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type UploadError {
|
|
|
|
field: String
|
|
|
|
message: String
|
|
|
|
code: UploadErrorCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum UploadErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type User implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
lastLogin: DateTime
|
|
|
|
email: String!
|
|
|
|
firstName: String!
|
|
|
|
lastName: String!
|
|
|
|
isStaff: Boolean!
|
|
|
|
isActive: Boolean!
|
|
|
|
note: String
|
|
|
|
dateJoined: DateTime!
|
|
|
|
defaultShippingAddress: Address
|
|
|
|
defaultBillingAddress: Address
|
2020-03-03 11:20:39 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2019-08-12 13:07:51 +00:00
|
|
|
addresses: [Address]
|
2022-01-25 12:44:19 +00:00
|
|
|
checkout: Checkout
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use the `checkout_tokens` field to fetch the user checkouts."
|
|
|
|
)
|
2020-11-23 11:38:28 +00:00
|
|
|
checkoutTokens(channel: String): [UUID!]
|
2022-01-25 12:44:19 +00:00
|
|
|
giftCards(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): GiftCardCountableConnection
|
|
|
|
orders(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): OrderCountableConnection
|
2020-04-20 11:11:07 +00:00
|
|
|
userPermissions: [UserPermission]
|
|
|
|
permissionGroups: [Group]
|
|
|
|
editableGroups: [Group]
|
2019-08-12 13:07:51 +00:00
|
|
|
avatar(size: Int): Image
|
|
|
|
events: [CustomerEvent]
|
2021-05-12 14:17:53 +00:00
|
|
|
storedPaymentSources(channel: String): [PaymentSource]
|
2021-04-16 12:33:14 +00:00
|
|
|
languageCode: LanguageCodeEnum!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserAvatarDelete {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserAvatarUpdate {
|
|
|
|
user: User
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserBulkSetActive {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [UserCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserCountableEdge {
|
|
|
|
node: User!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UserCreateInput {
|
|
|
|
defaultBillingAddress: AddressInput
|
|
|
|
defaultShippingAddress: AddressInput
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
email: String
|
|
|
|
isActive: Boolean
|
|
|
|
note: String
|
2021-04-16 12:33:14 +00:00
|
|
|
languageCode: LanguageCodeEnum
|
2019-09-10 11:28:18 +00:00
|
|
|
redirectUrl: String
|
2021-05-12 14:17:53 +00:00
|
|
|
channel: String
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-20 11:11:07 +00:00
|
|
|
type UserPermission {
|
|
|
|
code: PermissionEnum!
|
|
|
|
name: String!
|
|
|
|
sourcePermissionGroups(userId: ID!): [Group!]
|
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum UserSortField {
|
|
|
|
FIRST_NAME
|
|
|
|
LAST_NAME
|
|
|
|
EMAIL
|
|
|
|
ORDER_COUNT
|
|
|
|
}
|
|
|
|
|
|
|
|
input UserSortingInput {
|
|
|
|
direction: OrderDirection!
|
2020-01-17 15:16:05 +00:00
|
|
|
field: UserSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type VAT {
|
|
|
|
countryCode: String!
|
|
|
|
standardRate: Float
|
|
|
|
reducedRates: [ReducedRate]!
|
|
|
|
}
|
|
|
|
|
2020-12-16 10:53:28 +00:00
|
|
|
enum VariantAttributeScope {
|
|
|
|
ALL
|
|
|
|
VARIANT_SELECTION
|
|
|
|
NOT_VARIANT_SELECTION
|
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type VariantMediaAssign {
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
2021-03-17 13:07:48 +00:00
|
|
|
media: ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-17 13:07:48 +00:00
|
|
|
type VariantMediaUnassign {
|
2019-08-12 13:07:51 +00:00
|
|
|
productVariant: ProductVariant
|
2021-03-17 13:07:48 +00:00
|
|
|
media: ProductMedia
|
2022-01-25 12:44:19 +00:00
|
|
|
productErrors: [ProductError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [ProductError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type VariantPricingInfo {
|
|
|
|
onSale: Boolean
|
|
|
|
discount: TaxedMoney
|
|
|
|
discountLocalCurrency: TaxedMoney
|
|
|
|
price: TaxedMoney
|
|
|
|
priceUndiscounted: TaxedMoney
|
|
|
|
priceLocalCurrency: TaxedMoney
|
|
|
|
}
|
|
|
|
|
|
|
|
type VerifyToken {
|
|
|
|
user: User
|
2020-07-01 11:11:08 +00:00
|
|
|
isValid: Boolean!
|
|
|
|
payload: GenericScalar
|
2022-01-25 12:44:19 +00:00
|
|
|
accountErrors: [AccountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [AccountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2021-04-29 08:58:03 +00:00
|
|
|
enum VolumeUnitsEnum {
|
|
|
|
CUBIC_MILLIMETER
|
|
|
|
CUBIC_CENTIMETER
|
|
|
|
CUBIC_DECIMETER
|
|
|
|
CUBIC_METER
|
|
|
|
LITER
|
|
|
|
CUBIC_FOOT
|
|
|
|
CUBIC_INCH
|
|
|
|
CUBIC_YARD
|
|
|
|
QT
|
|
|
|
PINT
|
|
|
|
FL_OZ
|
|
|
|
ACRE_IN
|
|
|
|
ACRE_FT
|
|
|
|
}
|
|
|
|
|
2021-07-29 12:47:22 +00:00
|
|
|
type Voucher implements Node & ObjectWithMetadata {
|
2019-08-12 13:07:51 +00:00
|
|
|
id: ID!
|
|
|
|
name: String
|
2019-11-27 10:00:36 +00:00
|
|
|
type: VoucherTypeEnum!
|
2019-08-12 13:07:51 +00:00
|
|
|
code: String!
|
|
|
|
usageLimit: Int
|
|
|
|
used: Int!
|
|
|
|
startDate: DateTime!
|
|
|
|
endDate: DateTime
|
|
|
|
applyOncePerOrder: Boolean!
|
|
|
|
applyOncePerCustomer: Boolean!
|
2021-06-21 09:02:17 +00:00
|
|
|
onlyForStaff: Boolean!
|
2019-08-12 13:07:51 +00:00
|
|
|
discountValueType: DiscountValueTypeEnum!
|
|
|
|
minCheckoutItemsQuantity: Int
|
2021-07-29 12:47:22 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
categories(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CategoryCountableConnection
|
|
|
|
collections(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): CollectionCountableConnection
|
|
|
|
products(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductCountableConnection
|
|
|
|
variants(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ProductVariantCountableConnection
|
2019-08-12 13:07:51 +00:00
|
|
|
countries: [CountryDisplay]
|
|
|
|
translation(languageCode: LanguageCodeEnum!): VoucherTranslation
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
discountValue: Float
|
|
|
|
currency: String
|
|
|
|
minSpent: Money
|
|
|
|
channelListings: [VoucherChannelListing!]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherAddCatalogues {
|
|
|
|
voucher: Voucher
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherBulkDelete {
|
|
|
|
count: Int!
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
type VoucherChannelListing implements Node {
|
|
|
|
id: ID!
|
|
|
|
channel: Channel!
|
|
|
|
discountValue: Float!
|
|
|
|
currency: String!
|
|
|
|
minSpent: Money
|
|
|
|
}
|
|
|
|
|
|
|
|
input VoucherChannelListingAddInput {
|
|
|
|
channelId: ID!
|
|
|
|
discountValue: PositiveDecimal
|
|
|
|
minAmountSpent: PositiveDecimal
|
|
|
|
}
|
|
|
|
|
|
|
|
input VoucherChannelListingInput {
|
|
|
|
addChannels: [VoucherChannelListingAddInput!]
|
|
|
|
removeChannels: [ID!]
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherChannelListingUpdate {
|
|
|
|
voucher: Voucher
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
Multichannel (#833)
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598)
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609)
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655)
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662)
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698)
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702)
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724)
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727)
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739)
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743)
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746)
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750)
* update sale views with channels
* small fixes in discounts
* order views with channels (#752)
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755)
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762)
* update translations
* fix translation types
* update messages
* update Availability component (#766)
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785)
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791)
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801)
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803)
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804)
* channels currency code select (#806)
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 16:10:42 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type VoucherCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [VoucherCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherCountableEdge {
|
|
|
|
node: Voucher!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
voucher: Voucher
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
voucher: Voucher
|
|
|
|
}
|
|
|
|
|
|
|
|
enum VoucherDiscountType {
|
|
|
|
FIXED
|
|
|
|
PERCENTAGE
|
|
|
|
SHIPPING
|
|
|
|
}
|
|
|
|
|
|
|
|
input VoucherFilterInput {
|
|
|
|
status: [DiscountStatusEnum]
|
|
|
|
timesUsed: IntRangeInput
|
|
|
|
discountType: [VoucherDiscountType]
|
|
|
|
started: DateTimeRangeInput
|
|
|
|
search: String
|
2021-08-05 09:26:17 +00:00
|
|
|
metadata: [MetadataFilter]
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input VoucherInput {
|
|
|
|
type: VoucherTypeEnum
|
|
|
|
name: String
|
|
|
|
code: String
|
|
|
|
startDate: DateTime
|
|
|
|
endDate: DateTime
|
|
|
|
discountValueType: DiscountValueTypeEnum
|
|
|
|
products: [ID]
|
2021-10-13 11:35:00 +00:00
|
|
|
variants: [ID]
|
2019-08-12 13:07:51 +00:00
|
|
|
collections: [ID]
|
|
|
|
categories: [ID]
|
|
|
|
minCheckoutItemsQuantity: Int
|
|
|
|
countries: [String]
|
|
|
|
applyOncePerOrder: Boolean
|
|
|
|
applyOncePerCustomer: Boolean
|
2021-06-21 09:02:17 +00:00
|
|
|
onlyForStaff: Boolean
|
2019-08-12 13:07:51 +00:00
|
|
|
usageLimit: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherRemoveCatalogues {
|
|
|
|
voucher: Voucher
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 17:13:56 +00:00
|
|
|
enum VoucherSortField {
|
|
|
|
CODE
|
|
|
|
START_DATE
|
|
|
|
END_DATE
|
|
|
|
VALUE
|
|
|
|
TYPE
|
|
|
|
USAGE_LIMIT
|
|
|
|
MINIMUM_SPENT_AMOUNT
|
|
|
|
}
|
|
|
|
|
|
|
|
input VoucherSortingInput {
|
|
|
|
direction: OrderDirection!
|
2021-08-05 09:26:17 +00:00
|
|
|
channel: String
|
2020-01-17 15:16:05 +00:00
|
|
|
field: VoucherSortField!
|
2019-12-17 17:13:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-27 10:00:36 +00:00
|
|
|
type VoucherTranslatableContent implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
translation(languageCode: LanguageCodeEnum!): VoucherTranslation
|
2022-01-25 12:44:19 +00:00
|
|
|
voucher: Voucher
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries."
|
|
|
|
)
|
2019-11-27 10:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type VoucherTranslate {
|
2022-01-25 12:44:19 +00:00
|
|
|
translationErrors: [TranslationError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [TranslationError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
voucher: Voucher
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherTranslation implements Node {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
language: LanguageDisplay!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum VoucherTypeEnum {
|
|
|
|
SHIPPING
|
|
|
|
ENTIRE_ORDER
|
|
|
|
SPECIFIC_PRODUCT
|
|
|
|
}
|
|
|
|
|
|
|
|
type VoucherUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
discountErrors: [DiscountError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [DiscountError!]!
|
2019-08-12 13:07:51 +00:00
|
|
|
voucher: Voucher
|
|
|
|
}
|
|
|
|
|
2021-01-22 11:13:40 +00:00
|
|
|
type Warehouse implements Node & ObjectWithMetadata {
|
2020-01-17 15:16:05 +00:00
|
|
|
id: ID!
|
|
|
|
name: String!
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String!
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingZones(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ShippingZoneCountableConnection!
|
2020-01-17 15:16:05 +00:00
|
|
|
address: Address!
|
|
|
|
email: String!
|
2021-08-27 08:10:41 +00:00
|
|
|
isPrivate: Boolean!
|
2021-01-22 11:13:40 +00:00
|
|
|
privateMetadata: [MetadataItem]!
|
|
|
|
metadata: [MetadataItem]!
|
2022-01-25 12:44:19 +00:00
|
|
|
companyName: String!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `Address.companyName` instead."
|
|
|
|
)
|
2021-08-27 08:10:41 +00:00
|
|
|
clickAndCollectOption: WarehouseClickAndCollectOptionEnum!
|
2022-01-25 12:44:19 +00:00
|
|
|
shippingZones(
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): ShippingZoneCountableConnection!
|
2021-08-27 08:10:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum WarehouseClickAndCollectOptionEnum {
|
|
|
|
DISABLED
|
|
|
|
LOCAL
|
|
|
|
ALL
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseCountableConnection {
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
edges: [WarehouseCountableEdge!]!
|
|
|
|
totalCount: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseCountableEdge {
|
|
|
|
node: Warehouse!
|
|
|
|
cursor: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouseErrors: [WarehouseError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WarehouseError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
warehouse: Warehouse
|
|
|
|
}
|
|
|
|
|
|
|
|
input WarehouseCreateInput {
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String
|
2020-01-17 15:16:05 +00:00
|
|
|
email: String
|
2020-03-03 11:20:39 +00:00
|
|
|
name: String!
|
2021-06-14 13:31:49 +00:00
|
|
|
address: AddressInput!
|
2020-03-03 11:20:39 +00:00
|
|
|
shippingZones: [ID]
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouseErrors: [WarehouseError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WarehouseError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
warehouse: Warehouse
|
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: WarehouseErrorCode!
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum WarehouseErrorCode {
|
|
|
|
ALREADY_EXISTS
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
|
|
|
input WarehouseFilterInput {
|
2021-08-27 08:10:41 +00:00
|
|
|
clickAndCollectOption: WarehouseClickAndCollectOptionEnum
|
2020-01-17 15:16:05 +00:00
|
|
|
search: String
|
2020-04-20 11:11:07 +00:00
|
|
|
ids: [ID]
|
2021-08-27 08:10:41 +00:00
|
|
|
isPrivate: Boolean
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
type WarehouseShippingZoneAssign {
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouseErrors: [WarehouseError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WarehouseError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
warehouse: Warehouse
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type WarehouseShippingZoneUnassign {
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouseErrors: [WarehouseError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WarehouseError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
warehouse: Warehouse
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum WarehouseSortField {
|
|
|
|
NAME
|
|
|
|
}
|
|
|
|
|
|
|
|
input WarehouseSortingInput {
|
|
|
|
direction: OrderDirection!
|
|
|
|
field: WarehouseSortField!
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:16:05 +00:00
|
|
|
type WarehouseUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
warehouseErrors: [WarehouseError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WarehouseError!]!
|
2020-01-17 15:16:05 +00:00
|
|
|
warehouse: Warehouse
|
|
|
|
}
|
|
|
|
|
|
|
|
input WarehouseUpdateInput {
|
2020-03-03 11:20:39 +00:00
|
|
|
slug: String
|
2020-01-17 15:16:05 +00:00
|
|
|
email: String
|
2020-03-03 11:20:39 +00:00
|
|
|
name: String
|
2021-06-14 13:31:49 +00:00
|
|
|
address: AddressInput
|
2021-08-27 08:10:41 +00:00
|
|
|
clickAndCollectOption: WarehouseClickAndCollectOptionEnum
|
|
|
|
isPrivate: Boolean
|
2020-01-17 15:16:05 +00:00
|
|
|
}
|
|
|
|
|
2019-09-26 15:06:14 +00:00
|
|
|
type Webhook implements Node {
|
2020-03-03 11:20:39 +00:00
|
|
|
name: String!
|
2019-09-26 15:06:14 +00:00
|
|
|
targetUrl: String!
|
|
|
|
isActive: Boolean!
|
|
|
|
secretKey: String
|
|
|
|
id: ID!
|
2022-01-25 12:44:19 +00:00
|
|
|
events: [WebhookEvent!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead."
|
|
|
|
)
|
2021-12-13 14:43:30 +00:00
|
|
|
syncEvents: [WebhookEventSync!]!
|
|
|
|
asyncEvents: [WebhookEventAsync!]!
|
2020-04-22 14:41:07 +00:00
|
|
|
app: App!
|
2022-01-25 12:44:19 +00:00
|
|
|
eventDeliveries(
|
|
|
|
sortBy: EventDeliverySortingInput
|
|
|
|
filter: EventDeliveryFilterInput
|
|
|
|
before: String
|
|
|
|
after: String
|
|
|
|
first: Int
|
|
|
|
last: Int
|
|
|
|
): EventDeliveryCountableConnection
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type WebhookCreate {
|
2022-01-25 12:44:19 +00:00
|
|
|
webhookErrors: [WebhookError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WebhookError!]!
|
2019-09-26 15:06:14 +00:00
|
|
|
webhook: Webhook
|
|
|
|
}
|
|
|
|
|
|
|
|
input WebhookCreateInput {
|
2019-10-09 06:56:46 +00:00
|
|
|
name: String
|
2019-09-26 15:06:14 +00:00
|
|
|
targetUrl: String
|
|
|
|
events: [WebhookEventTypeEnum]
|
2021-12-23 12:42:10 +00:00
|
|
|
asyncEvents: [WebhookEventTypeAsyncEnum!]
|
|
|
|
syncEvents: [WebhookEventTypeSyncEnum!]
|
2020-04-22 14:41:07 +00:00
|
|
|
app: ID
|
2019-09-26 15:06:14 +00:00
|
|
|
isActive: Boolean
|
|
|
|
secretKey: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type WebhookDelete {
|
2022-01-25 12:44:19 +00:00
|
|
|
webhookErrors: [WebhookError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WebhookError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
webhook: Webhook
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type WebhookError {
|
|
|
|
field: String
|
|
|
|
message: String
|
2020-03-03 11:20:39 +00:00
|
|
|
code: WebhookErrorCode!
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum WebhookErrorCode {
|
|
|
|
GRAPHQL_ERROR
|
|
|
|
INVALID
|
|
|
|
NOT_FOUND
|
|
|
|
REQUIRED
|
|
|
|
UNIQUE
|
|
|
|
}
|
|
|
|
|
|
|
|
type WebhookEvent {
|
2020-03-03 11:20:39 +00:00
|
|
|
eventType: WebhookEventTypeEnum!
|
|
|
|
name: String!
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2021-12-13 14:43:30 +00:00
|
|
|
type WebhookEventAsync {
|
2021-12-23 12:42:10 +00:00
|
|
|
eventType: WebhookEventTypeAsyncEnum!
|
2021-12-13 14:43:30 +00:00
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type WebhookEventSync {
|
2021-12-23 12:42:10 +00:00
|
|
|
eventType: WebhookEventTypeSyncEnum!
|
2021-12-13 14:43:30 +00:00
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
2021-12-23 12:42:10 +00:00
|
|
|
enum WebhookEventTypeAsyncEnum {
|
2021-12-13 14:43:30 +00:00
|
|
|
ANY_EVENTS
|
|
|
|
ORDER_CREATED
|
|
|
|
ORDER_CONFIRMED
|
|
|
|
ORDER_FULLY_PAID
|
|
|
|
ORDER_UPDATED
|
|
|
|
ORDER_CANCELLED
|
|
|
|
ORDER_FULFILLED
|
|
|
|
DRAFT_ORDER_CREATED
|
|
|
|
DRAFT_ORDER_UPDATED
|
|
|
|
DRAFT_ORDER_DELETED
|
|
|
|
SALE_CREATED
|
|
|
|
SALE_UPDATED
|
|
|
|
SALE_DELETED
|
|
|
|
INVOICE_REQUESTED
|
|
|
|
INVOICE_DELETED
|
|
|
|
INVOICE_SENT
|
|
|
|
CUSTOMER_CREATED
|
|
|
|
CUSTOMER_UPDATED
|
2022-01-25 09:27:59 +00:00
|
|
|
COLLECTION_CREATED
|
|
|
|
COLLECTION_UPDATED
|
|
|
|
COLLECTION_DELETED
|
2021-12-13 14:43:30 +00:00
|
|
|
PRODUCT_CREATED
|
|
|
|
PRODUCT_UPDATED
|
|
|
|
PRODUCT_DELETED
|
|
|
|
PRODUCT_VARIANT_CREATED
|
|
|
|
PRODUCT_VARIANT_UPDATED
|
|
|
|
PRODUCT_VARIANT_DELETED
|
|
|
|
PRODUCT_VARIANT_OUT_OF_STOCK
|
|
|
|
PRODUCT_VARIANT_BACK_IN_STOCK
|
|
|
|
CHECKOUT_CREATED
|
|
|
|
CHECKOUT_UPDATED
|
|
|
|
FULFILLMENT_CREATED
|
|
|
|
FULFILLMENT_CANCELED
|
|
|
|
NOTIFY_USER
|
|
|
|
PAGE_CREATED
|
|
|
|
PAGE_UPDATED
|
|
|
|
PAGE_DELETED
|
|
|
|
TRANSLATION_CREATED
|
|
|
|
TRANSLATION_UPDATED
|
|
|
|
}
|
|
|
|
|
2019-09-26 15:06:14 +00:00
|
|
|
enum WebhookEventTypeEnum {
|
2019-10-15 10:06:19 +00:00
|
|
|
ANY_EVENTS
|
2019-09-26 15:06:14 +00:00
|
|
|
ORDER_CREATED
|
2020-11-30 13:19:57 +00:00
|
|
|
ORDER_CONFIRMED
|
2019-09-26 15:06:14 +00:00
|
|
|
ORDER_FULLY_PAID
|
|
|
|
ORDER_UPDATED
|
|
|
|
ORDER_CANCELLED
|
2019-10-17 15:29:13 +00:00
|
|
|
ORDER_FULFILLED
|
2021-09-27 14:06:21 +00:00
|
|
|
DRAFT_ORDER_CREATED
|
|
|
|
DRAFT_ORDER_UPDATED
|
|
|
|
DRAFT_ORDER_DELETED
|
2021-09-30 13:06:39 +00:00
|
|
|
SALE_CREATED
|
|
|
|
SALE_UPDATED
|
|
|
|
SALE_DELETED
|
2020-06-22 16:34:59 +00:00
|
|
|
INVOICE_REQUESTED
|
|
|
|
INVOICE_DELETED
|
|
|
|
INVOICE_SENT
|
2019-09-26 15:06:14 +00:00
|
|
|
CUSTOMER_CREATED
|
2021-02-18 13:50:57 +00:00
|
|
|
CUSTOMER_UPDATED
|
2022-01-25 09:27:59 +00:00
|
|
|
COLLECTION_CREATED
|
|
|
|
COLLECTION_UPDATED
|
|
|
|
COLLECTION_DELETED
|
2019-09-26 15:06:14 +00:00
|
|
|
PRODUCT_CREATED
|
2020-09-17 14:37:33 +00:00
|
|
|
PRODUCT_UPDATED
|
2021-02-17 11:58:09 +00:00
|
|
|
PRODUCT_DELETED
|
2021-03-16 09:03:11 +00:00
|
|
|
PRODUCT_VARIANT_CREATED
|
|
|
|
PRODUCT_VARIANT_UPDATED
|
|
|
|
PRODUCT_VARIANT_DELETED
|
2021-09-03 11:36:35 +00:00
|
|
|
PRODUCT_VARIANT_OUT_OF_STOCK
|
|
|
|
PRODUCT_VARIANT_BACK_IN_STOCK
|
2020-08-11 11:53:04 +00:00
|
|
|
CHECKOUT_CREATED
|
|
|
|
CHECKOUT_UPDATED
|
2020-03-03 11:20:39 +00:00
|
|
|
FULFILLMENT_CREATED
|
2021-08-25 10:45:23 +00:00
|
|
|
FULFILLMENT_CANCELED
|
2021-03-31 13:11:58 +00:00
|
|
|
NOTIFY_USER
|
2021-02-17 11:58:09 +00:00
|
|
|
PAGE_CREATED
|
|
|
|
PAGE_UPDATED
|
|
|
|
PAGE_DELETED
|
2022-01-25 09:27:59 +00:00
|
|
|
TRANSLATION_CREATED
|
|
|
|
TRANSLATION_UPDATED
|
2021-06-08 10:33:21 +00:00
|
|
|
PAYMENT_AUTHORIZE
|
|
|
|
PAYMENT_CAPTURE
|
|
|
|
PAYMENT_CONFIRM
|
|
|
|
PAYMENT_LIST_GATEWAYS
|
|
|
|
PAYMENT_PROCESS
|
|
|
|
PAYMENT_REFUND
|
|
|
|
PAYMENT_VOID
|
2021-12-07 09:43:24 +00:00
|
|
|
SHIPPING_LIST_METHODS_FOR_CHECKOUT
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2021-12-23 12:42:10 +00:00
|
|
|
enum WebhookEventTypeSyncEnum {
|
2021-12-13 14:43:30 +00:00
|
|
|
PAYMENT_AUTHORIZE
|
|
|
|
PAYMENT_CAPTURE
|
|
|
|
PAYMENT_CONFIRM
|
|
|
|
PAYMENT_LIST_GATEWAYS
|
|
|
|
PAYMENT_PROCESS
|
|
|
|
PAYMENT_REFUND
|
|
|
|
PAYMENT_VOID
|
|
|
|
SHIPPING_LIST_METHODS_FOR_CHECKOUT
|
|
|
|
}
|
|
|
|
|
2020-03-03 11:20:39 +00:00
|
|
|
enum WebhookSampleEventTypeEnum {
|
|
|
|
ORDER_CREATED
|
2020-11-30 13:19:57 +00:00
|
|
|
ORDER_CONFIRMED
|
2020-03-03 11:20:39 +00:00
|
|
|
ORDER_FULLY_PAID
|
|
|
|
ORDER_UPDATED
|
|
|
|
ORDER_CANCELLED
|
|
|
|
ORDER_FULFILLED
|
2021-09-27 14:06:21 +00:00
|
|
|
DRAFT_ORDER_CREATED
|
|
|
|
DRAFT_ORDER_UPDATED
|
|
|
|
DRAFT_ORDER_DELETED
|
2021-09-30 13:06:39 +00:00
|
|
|
SALE_CREATED
|
|
|
|
SALE_UPDATED
|
|
|
|
SALE_DELETED
|
2020-06-22 16:34:59 +00:00
|
|
|
INVOICE_REQUESTED
|
|
|
|
INVOICE_DELETED
|
|
|
|
INVOICE_SENT
|
2020-03-03 11:20:39 +00:00
|
|
|
CUSTOMER_CREATED
|
2021-02-18 13:50:57 +00:00
|
|
|
CUSTOMER_UPDATED
|
2022-01-25 09:27:59 +00:00
|
|
|
COLLECTION_CREATED
|
|
|
|
COLLECTION_UPDATED
|
|
|
|
COLLECTION_DELETED
|
2020-03-03 11:20:39 +00:00
|
|
|
PRODUCT_CREATED
|
2020-09-17 14:37:33 +00:00
|
|
|
PRODUCT_UPDATED
|
2021-02-17 11:58:09 +00:00
|
|
|
PRODUCT_DELETED
|
2021-03-16 09:03:11 +00:00
|
|
|
PRODUCT_VARIANT_CREATED
|
|
|
|
PRODUCT_VARIANT_UPDATED
|
|
|
|
PRODUCT_VARIANT_DELETED
|
2021-09-03 11:36:35 +00:00
|
|
|
PRODUCT_VARIANT_OUT_OF_STOCK
|
|
|
|
PRODUCT_VARIANT_BACK_IN_STOCK
|
2020-08-11 11:53:04 +00:00
|
|
|
CHECKOUT_CREATED
|
|
|
|
CHECKOUT_UPDATED
|
2020-03-03 11:20:39 +00:00
|
|
|
FULFILLMENT_CREATED
|
2021-08-25 10:45:23 +00:00
|
|
|
FULFILLMENT_CANCELED
|
2021-04-16 12:33:14 +00:00
|
|
|
NOTIFY_USER
|
2021-02-17 11:58:09 +00:00
|
|
|
PAGE_CREATED
|
|
|
|
PAGE_UPDATED
|
|
|
|
PAGE_DELETED
|
2021-08-05 09:26:17 +00:00
|
|
|
TRANSLATION_CREATED
|
|
|
|
TRANSLATION_UPDATED
|
2020-03-03 11:20:39 +00:00
|
|
|
}
|
|
|
|
|
2019-09-26 15:06:14 +00:00
|
|
|
type WebhookUpdate {
|
2022-01-25 12:44:19 +00:00
|
|
|
webhookErrors: [WebhookError!]!
|
|
|
|
@deprecated(
|
|
|
|
reason: "This field will be removed in Saleor 4.0. Use `errors` field instead."
|
|
|
|
)
|
2021-04-26 07:49:55 +00:00
|
|
|
errors: [WebhookError!]!
|
2020-07-01 11:11:08 +00:00
|
|
|
webhook: Webhook
|
2019-09-26 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input WebhookUpdateInput {
|
2019-10-09 06:56:46 +00:00
|
|
|
name: String
|
2019-09-26 15:06:14 +00:00
|
|
|
targetUrl: String
|
|
|
|
events: [WebhookEventTypeEnum]
|
2021-12-23 12:42:10 +00:00
|
|
|
asyncEvents: [WebhookEventTypeAsyncEnum!]
|
|
|
|
syncEvents: [WebhookEventTypeSyncEnum!]
|
2020-04-22 14:41:07 +00:00
|
|
|
app: ID
|
2019-09-26 15:06:14 +00:00
|
|
|
isActive: Boolean
|
|
|
|
secretKey: String
|
|
|
|
}
|
|
|
|
|
2019-08-12 13:07:51 +00:00
|
|
|
type Weight {
|
2020-08-11 11:53:04 +00:00
|
|
|
unit: WeightUnitsEnum!
|
2019-08-12 13:07:51 +00:00
|
|
|
value: Float!
|
|
|
|
}
|
|
|
|
|
|
|
|
scalar WeightScalar
|
|
|
|
|
|
|
|
enum WeightUnitsEnum {
|
2021-04-29 08:58:03 +00:00
|
|
|
G
|
2019-08-12 13:07:51 +00:00
|
|
|
LB
|
|
|
|
OZ
|
2021-04-29 08:58:03 +00:00
|
|
|
KG
|
|
|
|
TONNE
|
2019-08-12 13:07:51 +00:00
|
|
|
}
|
2019-10-17 15:29:13 +00:00
|
|
|
|
|
|
|
scalar _Any
|
|
|
|
|
2022-01-25 12:44:19 +00:00
|
|
|
union _Entity =
|
|
|
|
App
|
|
|
|
| Address
|
|
|
|
| User
|
|
|
|
| Group
|
|
|
|
| ProductVariant
|
|
|
|
| Product
|
|
|
|
| ProductType
|
|
|
|
| Collection
|
|
|
|
| Category
|
|
|
|
| ProductMedia
|
|
|
|
| PageType
|
2019-10-17 15:29:13 +00:00
|
|
|
|
|
|
|
type _Service {
|
|
|
|
sdl: String
|
2021-09-30 12:51:13 +00:00
|
|
|
}
|