refactor
This commit is contained in:
parent
ca644c9bb0
commit
d8a770b5b3
2 changed files with 73 additions and 292 deletions
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
"arrowParens": "avoid",
|
"arrowParens": "avoid",
|
||||||
"trailingComma": "none",
|
"trailingComma": "none"
|
||||||
"printWidth": 140
|
|
||||||
}
|
}
|
||||||
|
|
362
schema.graphql
362
schema.graphql
|
@ -19,7 +19,6 @@ type AccountAddressDelete {
|
||||||
|
|
||||||
type AccountAddressUpdate {
|
type AccountAddressUpdate {
|
||||||
errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
|
errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
|
||||||
|
|
||||||
user: User
|
user: User
|
||||||
accountErrors: [AccountError!]!
|
accountErrors: [AccountError!]!
|
||||||
address: Address
|
address: Address
|
||||||
|
@ -589,10 +588,7 @@ type AttributeValue implements Node {
|
||||||
id: ID!
|
id: ID!
|
||||||
name: String
|
name: String
|
||||||
slug: String
|
slug: String
|
||||||
type: AttributeValueType
|
type: AttributeValueType @deprecated(reason: "Use the `inputType` field to determine the type of attribute's value. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(
|
|
||||||
reason: "Use the `inputType` field to determine the type of attribute's value. This field will be removed after 2020-07-31."
|
|
||||||
)
|
|
||||||
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
|
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
|
||||||
inputType: AttributeInputTypeEnum
|
inputType: AttributeInputTypeEnum
|
||||||
}
|
}
|
||||||
|
@ -1076,14 +1072,7 @@ type Collection implements Node & ObjectWithMetadata {
|
||||||
metadata: [MetadataItem]!
|
metadata: [MetadataItem]!
|
||||||
privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
|
privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
|
||||||
meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
|
meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
|
||||||
products(
|
products(filter: ProductFilterInput, sortBy: ProductOrder, before: String, after: String, first: Int, last: Int): ProductCountableConnection
|
||||||
filter: ProductFilterInput
|
|
||||||
sortBy: ProductOrder
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): ProductCountableConnection
|
|
||||||
backgroundImage(size: Int): Image
|
backgroundImage(size: Int): Image
|
||||||
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
|
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
|
||||||
}
|
}
|
||||||
|
@ -1163,12 +1152,12 @@ input CollectionFilterInput {
|
||||||
input CollectionInput {
|
input CollectionInput {
|
||||||
isPublished: Boolean
|
isPublished: Boolean
|
||||||
name: String
|
name: String
|
||||||
|
slug: String
|
||||||
description: String
|
description: String
|
||||||
descriptionJson: JSONString
|
descriptionJson: JSONString
|
||||||
backgroundImage: Upload
|
backgroundImage: Upload
|
||||||
backgroundImageAlt: String
|
backgroundImageAlt: String
|
||||||
seo: SeoInput
|
seo: SeoInput
|
||||||
slug: String
|
|
||||||
publicationDate: Date
|
publicationDate: Date
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2558,10 +2547,7 @@ type MetadataItem {
|
||||||
type Money {
|
type Money {
|
||||||
currency: String!
|
currency: String!
|
||||||
amount: Float!
|
amount: Float!
|
||||||
localized: String!
|
localized: String! @deprecated(reason: "Price formatting according to the current locale should be handled by the frontend client. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(
|
|
||||||
reason: "Price formatting according to the current locale should be handled by the frontend client. This field will be removed after 2020-07-31."
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type MoneyRange {
|
type MoneyRange {
|
||||||
|
@ -2610,14 +2596,10 @@ type Mutation {
|
||||||
attributeUnassign(attributeIds: [ID]!, productTypeId: ID!): AttributeUnassign
|
attributeUnassign(attributeIds: [ID]!, productTypeId: ID!): AttributeUnassign
|
||||||
attributeUpdate(id: ID!, input: AttributeUpdateInput!): AttributeUpdate
|
attributeUpdate(id: ID!, input: AttributeUpdateInput!): AttributeUpdate
|
||||||
attributeTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): AttributeTranslate
|
attributeTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): AttributeTranslate
|
||||||
attributeUpdateMetadata(id: ID!, input: MetaInput!): AttributeUpdateMeta
|
attributeUpdateMetadata(id: ID!, input: MetaInput!): AttributeUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
attributeClearMetadata(id: ID!, input: MetaPath!): AttributeClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
attributeClearMetadata(id: ID!, input: MetaPath!): AttributeClearMeta
|
attributeUpdatePrivateMetadata(id: ID!, input: MetaInput!): AttributeUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
attributeClearPrivateMetadata(id: ID!, input: MetaPath!): AttributeClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
attributeUpdatePrivateMetadata(id: ID!, input: MetaInput!): AttributeUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
attributeClearPrivateMetadata(id: ID!, input: MetaPath!): AttributeClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
attributeValueCreate(attribute: ID!, input: AttributeValueCreateInput!): AttributeValueCreate
|
attributeValueCreate(attribute: ID!, input: AttributeValueCreateInput!): AttributeValueCreate
|
||||||
attributeValueDelete(id: ID!): AttributeValueDelete
|
attributeValueDelete(id: ID!): AttributeValueDelete
|
||||||
attributeValueBulkDelete(ids: [ID]!): AttributeValueBulkDelete
|
attributeValueBulkDelete(ids: [ID]!): AttributeValueBulkDelete
|
||||||
|
@ -2629,14 +2611,10 @@ type Mutation {
|
||||||
categoryBulkDelete(ids: [ID]!): CategoryBulkDelete
|
categoryBulkDelete(ids: [ID]!): CategoryBulkDelete
|
||||||
categoryUpdate(id: ID!, input: CategoryInput!): CategoryUpdate
|
categoryUpdate(id: ID!, input: CategoryInput!): CategoryUpdate
|
||||||
categoryTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CategoryTranslate
|
categoryTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CategoryTranslate
|
||||||
categoryUpdateMetadata(id: ID!, input: MetaInput!): CategoryUpdateMeta
|
categoryUpdateMetadata(id: ID!, input: MetaInput!): CategoryUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
categoryClearMetadata(id: ID!, input: MetaPath!): CategoryClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
categoryClearMetadata(id: ID!, input: MetaPath!): CategoryClearMeta
|
categoryUpdatePrivateMetadata(id: ID!, input: MetaInput!): CategoryUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
categoryClearPrivateMetadata(id: ID!, input: MetaPath!): CategoryClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
categoryUpdatePrivateMetadata(id: ID!, input: MetaInput!): CategoryUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
categoryClearPrivateMetadata(id: ID!, input: MetaPath!): CategoryClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
collectionAddProducts(collectionId: ID!, products: [ID]!): CollectionAddProducts
|
collectionAddProducts(collectionId: ID!, products: [ID]!): CollectionAddProducts
|
||||||
collectionCreate(input: CollectionCreateInput!): CollectionCreate
|
collectionCreate(input: CollectionCreateInput!): CollectionCreate
|
||||||
collectionDelete(id: ID!): CollectionDelete
|
collectionDelete(id: ID!): CollectionDelete
|
||||||
|
@ -2646,28 +2624,20 @@ type Mutation {
|
||||||
collectionRemoveProducts(collectionId: ID!, products: [ID]!): CollectionRemoveProducts
|
collectionRemoveProducts(collectionId: ID!, products: [ID]!): CollectionRemoveProducts
|
||||||
collectionUpdate(id: ID!, input: CollectionInput!): CollectionUpdate
|
collectionUpdate(id: ID!, input: CollectionInput!): CollectionUpdate
|
||||||
collectionTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CollectionTranslate
|
collectionTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CollectionTranslate
|
||||||
collectionUpdateMetadata(id: ID!, input: MetaInput!): CollectionUpdateMeta
|
collectionUpdateMetadata(id: ID!, input: MetaInput!): CollectionUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
collectionClearMetadata(id: ID!, input: MetaPath!): CollectionClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
collectionClearMetadata(id: ID!, input: MetaPath!): CollectionClearMeta
|
collectionUpdatePrivateMetadata(id: ID!, input: MetaInput!): CollectionUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
collectionClearPrivateMetadata(id: ID!, input: MetaPath!): CollectionClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
collectionUpdatePrivateMetadata(id: ID!, input: MetaInput!): CollectionUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
collectionClearPrivateMetadata(id: ID!, input: MetaPath!): CollectionClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
productCreate(input: ProductCreateInput!): ProductCreate
|
productCreate(input: ProductCreateInput!): ProductCreate
|
||||||
productDelete(id: ID!): ProductDelete
|
productDelete(id: ID!): ProductDelete
|
||||||
productBulkDelete(ids: [ID]!): ProductBulkDelete
|
productBulkDelete(ids: [ID]!): ProductBulkDelete
|
||||||
productBulkPublish(ids: [ID]!, isPublished: Boolean!): ProductBulkPublish
|
productBulkPublish(ids: [ID]!, isPublished: Boolean!): ProductBulkPublish
|
||||||
productUpdate(id: ID!, input: ProductInput!): ProductUpdate
|
productUpdate(id: ID!, input: ProductInput!): ProductUpdate
|
||||||
productTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): ProductTranslate
|
productTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): ProductTranslate
|
||||||
productUpdateMetadata(id: ID!, input: MetaInput!): ProductUpdateMeta
|
productUpdateMetadata(id: ID!, input: MetaInput!): ProductUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productClearMetadata(id: ID!, input: MetaPath!): ProductClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productClearMetadata(id: ID!, input: MetaPath!): ProductClearMeta
|
productUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productClearPrivateMetadata(id: ID!, input: MetaPath!): ProductClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
productClearPrivateMetadata(id: ID!, input: MetaPath!): ProductClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
productSetAvailabilityForPurchase(isAvailable: Boolean!, productId: ID!, startDate: Date): ProductSetAvailabilityForPurchase
|
productSetAvailabilityForPurchase(isAvailable: Boolean!, productId: ID!, startDate: Date): ProductSetAvailabilityForPurchase
|
||||||
productImageCreate(input: ProductImageCreateInput!): ProductImageCreate
|
productImageCreate(input: ProductImageCreateInput!): ProductImageCreate
|
||||||
productImageDelete(id: ID!): ProductImageDelete
|
productImageDelete(id: ID!): ProductImageDelete
|
||||||
|
@ -2679,14 +2649,10 @@ type Mutation {
|
||||||
productTypeBulkDelete(ids: [ID]!): ProductTypeBulkDelete
|
productTypeBulkDelete(ids: [ID]!): ProductTypeBulkDelete
|
||||||
productTypeUpdate(id: ID!, input: ProductTypeInput!): ProductTypeUpdate
|
productTypeUpdate(id: ID!, input: ProductTypeInput!): ProductTypeUpdate
|
||||||
productTypeReorderAttributes(moves: [ReorderInput]!, productTypeId: ID!, type: AttributeTypeEnum!): ProductTypeReorderAttributes
|
productTypeReorderAttributes(moves: [ReorderInput]!, productTypeId: ID!, type: AttributeTypeEnum!): ProductTypeReorderAttributes
|
||||||
productTypeUpdateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdateMeta
|
productTypeUpdateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productTypeClearMetadata(id: ID!, input: MetaPath!): ProductTypeClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productTypeClearMetadata(id: ID!, input: MetaPath!): ProductTypeClearMeta
|
productTypeUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productTypeClearPrivateMetadata(id: ID!, input: MetaPath!): ProductTypeClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productTypeUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
productTypeClearPrivateMetadata(id: ID!, input: MetaPath!): ProductTypeClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
digitalContentCreate(input: DigitalContentUploadInput!, variantId: ID!): DigitalContentCreate
|
digitalContentCreate(input: DigitalContentUploadInput!, variantId: ID!): DigitalContentCreate
|
||||||
digitalContentDelete(variantId: ID!): DigitalContentDelete
|
digitalContentDelete(variantId: ID!): DigitalContentDelete
|
||||||
digitalContentUpdate(input: DigitalContentInput!, variantId: ID!): DigitalContentUpdate
|
digitalContentUpdate(input: DigitalContentInput!, variantId: ID!): DigitalContentUpdate
|
||||||
|
@ -2700,14 +2666,10 @@ type Mutation {
|
||||||
productVariantStocksUpdate(stocks: [StockInput!]!, variantId: ID!): ProductVariantStocksUpdate
|
productVariantStocksUpdate(stocks: [StockInput!]!, variantId: ID!): ProductVariantStocksUpdate
|
||||||
productVariantUpdate(id: ID!, input: ProductVariantInput!): ProductVariantUpdate
|
productVariantUpdate(id: ID!, input: ProductVariantInput!): ProductVariantUpdate
|
||||||
productVariantTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): ProductVariantTranslate
|
productVariantTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): ProductVariantTranslate
|
||||||
productVariantUpdateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdateMeta
|
productVariantUpdateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productVariantClearMetadata(id: ID!, input: MetaPath!): ProductVariantClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productVariantClearMetadata(id: ID!, input: MetaPath!): ProductVariantClearMeta
|
productVariantUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
productVariantClearPrivateMetadata(id: ID!, input: MetaPath!): ProductVariantClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
productVariantUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
productVariantClearPrivateMetadata(id: ID!, input: MetaPath!): ProductVariantClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
variantImageAssign(imageId: ID!, variantId: ID!): VariantImageAssign
|
variantImageAssign(imageId: ID!, variantId: ID!): VariantImageAssign
|
||||||
variantImageUnassign(imageId: ID!, variantId: ID!): VariantImageUnassign
|
variantImageUnassign(imageId: ID!, variantId: ID!): VariantImageUnassign
|
||||||
paymentCapture(amount: PositiveDecimal, paymentId: ID!): PaymentCapture
|
paymentCapture(amount: PositiveDecimal, paymentId: ID!): PaymentCapture
|
||||||
|
@ -2731,28 +2693,20 @@ type Mutation {
|
||||||
orderAddNote(order: ID!, input: OrderAddNoteInput!): OrderAddNote
|
orderAddNote(order: ID!, input: OrderAddNoteInput!): OrderAddNote
|
||||||
orderCancel(id: ID!): OrderCancel
|
orderCancel(id: ID!): OrderCancel
|
||||||
orderCapture(amount: PositiveDecimal!, id: ID!): OrderCapture
|
orderCapture(amount: PositiveDecimal!, id: ID!): OrderCapture
|
||||||
orderClearPrivateMeta(id: ID!, input: MetaPath!): OrderClearPrivateMeta
|
orderClearPrivateMeta(id: ID!, input: MetaPath!): OrderClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
orderClearMeta(input: MetaPath!, token: UUID!): OrderClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
orderClearMeta(input: MetaPath!, token: UUID!): OrderClearMeta
|
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
orderFulfill(input: OrderFulfillInput!, order: ID): OrderFulfill
|
orderFulfill(input: OrderFulfillInput!, order: ID): OrderFulfill
|
||||||
orderFulfillmentCancel(id: ID!, input: FulfillmentCancelInput!): FulfillmentCancel
|
orderFulfillmentCancel(id: ID!, input: FulfillmentCancelInput!): FulfillmentCancel
|
||||||
orderFulfillmentUpdateTracking(id: ID!, input: FulfillmentUpdateTrackingInput!): FulfillmentUpdateTracking
|
orderFulfillmentUpdateTracking(id: ID!, input: FulfillmentUpdateTrackingInput!): FulfillmentUpdateTracking
|
||||||
orderFulfillmentClearMeta(id: ID!, input: MetaPath!): FulfillmentClearMeta
|
orderFulfillmentClearMeta(id: ID!, input: MetaPath!): FulfillmentClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
orderFulfillmentClearPrivateMeta(id: ID!, input: MetaPath!): FulfillmentClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
orderFulfillmentClearPrivateMeta(id: ID!, input: MetaPath!): FulfillmentClearPrivateMeta
|
orderFulfillmentUpdateMeta(id: ID!, input: MetaInput!): FulfillmentUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
orderFulfillmentUpdatePrivateMeta(id: ID!, input: MetaInput!): FulfillmentUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
orderFulfillmentUpdateMeta(id: ID!, input: MetaInput!): FulfillmentUpdateMeta
|
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
orderFulfillmentUpdatePrivateMeta(id: ID!, input: MetaInput!): FulfillmentUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
orderMarkAsPaid(id: ID!): OrderMarkAsPaid
|
orderMarkAsPaid(id: ID!): OrderMarkAsPaid
|
||||||
orderRefund(amount: PositiveDecimal!, id: ID!): OrderRefund
|
orderRefund(amount: PositiveDecimal!, id: ID!): OrderRefund
|
||||||
orderUpdate(id: ID!, input: OrderUpdateInput!): OrderUpdate
|
orderUpdate(id: ID!, input: OrderUpdateInput!): OrderUpdate
|
||||||
orderUpdateMeta(input: MetaInput!, token: UUID!): OrderUpdateMeta
|
orderUpdateMeta(input: MetaInput!, token: UUID!): OrderUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
orderUpdatePrivateMeta(id: ID!, input: MetaInput!): OrderUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
orderUpdatePrivateMeta(id: ID!, input: MetaInput!): OrderUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
orderUpdateShipping(order: ID!, input: OrderUpdateShippingInput): OrderUpdateShipping
|
orderUpdateShipping(order: ID!, input: OrderUpdateShippingInput): OrderUpdateShipping
|
||||||
orderVoid(id: ID!): OrderVoid
|
orderVoid(id: ID!): OrderVoid
|
||||||
orderBulkCancel(ids: [ID]!): OrderBulkCancel
|
orderBulkCancel(ids: [ID]!): OrderBulkCancel
|
||||||
|
@ -2811,14 +2765,10 @@ type Mutation {
|
||||||
checkoutPaymentCreate(checkoutId: ID!, input: PaymentInput!): CheckoutPaymentCreate
|
checkoutPaymentCreate(checkoutId: ID!, input: PaymentInput!): CheckoutPaymentCreate
|
||||||
checkoutShippingAddressUpdate(checkoutId: ID!, shippingAddress: AddressInput!): CheckoutShippingAddressUpdate
|
checkoutShippingAddressUpdate(checkoutId: ID!, shippingAddress: AddressInput!): CheckoutShippingAddressUpdate
|
||||||
checkoutShippingMethodUpdate(checkoutId: ID, shippingMethodId: ID!): CheckoutShippingMethodUpdate
|
checkoutShippingMethodUpdate(checkoutId: ID, shippingMethodId: ID!): CheckoutShippingMethodUpdate
|
||||||
checkoutUpdateMetadata(id: ID!, input: MetaInput!): CheckoutUpdateMeta
|
checkoutUpdateMetadata(id: ID!, input: MetaInput!): CheckoutUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
checkoutClearMetadata(id: ID!, input: MetaPath!): CheckoutClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
checkoutClearMetadata(id: ID!, input: MetaPath!): CheckoutClearMeta
|
checkoutUpdatePrivateMetadata(id: ID!, input: MetaInput!): CheckoutUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
|
checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
checkoutUpdatePrivateMetadata(id: ID!, input: MetaInput!): CheckoutUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
|
||||||
checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
|
||||||
appCreate(input: AppInput!): AppCreate
|
appCreate(input: AppInput!): AppCreate
|
||||||
appUpdate(id: ID!, input: AppInput!): AppUpdate
|
appUpdate(id: ID!, input: AppInput!): AppUpdate
|
||||||
appDelete(id: ID!): AppDelete
|
appDelete(id: ID!): AppDelete
|
||||||
|
@ -2849,8 +2799,7 @@ type Mutation {
|
||||||
accountUpdate(input: AccountInput!): AccountUpdate
|
accountUpdate(input: AccountInput!): AccountUpdate
|
||||||
accountRequestDeletion(redirectUrl: String!): AccountRequestDeletion
|
accountRequestDeletion(redirectUrl: String!): AccountRequestDeletion
|
||||||
accountDelete(token: String!): AccountDelete
|
accountDelete(token: String!): AccountDelete
|
||||||
accountUpdateMeta(input: MetaInput!): AccountUpdateMeta
|
accountUpdateMeta(input: MetaInput!): AccountUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
|
||||||
addressCreate(input: AddressInput!, userId: ID!): AddressCreate
|
addressCreate(input: AddressInput!, userId: ID!): AddressCreate
|
||||||
addressUpdate(id: ID!, input: AddressInput!): AddressUpdate
|
addressUpdate(id: ID!, input: AddressInput!): AddressUpdate
|
||||||
addressDelete(id: ID!): AddressDelete
|
addressDelete(id: ID!): AddressDelete
|
||||||
|
@ -2866,28 +2815,17 @@ type Mutation {
|
||||||
userAvatarUpdate(image: Upload!): UserAvatarUpdate
|
userAvatarUpdate(image: Upload!): UserAvatarUpdate
|
||||||
userAvatarDelete: UserAvatarDelete
|
userAvatarDelete: UserAvatarDelete
|
||||||
userBulkSetActive(ids: [ID]!, isActive: Boolean!): UserBulkSetActive
|
userBulkSetActive(ids: [ID]!, isActive: Boolean!): UserBulkSetActive
|
||||||
userUpdateMetadata(id: ID!, input: MetaInput!): UserUpdateMeta
|
userUpdateMetadata(id: ID!, input: MetaInput!): UserUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
|
userClearMetadata(id: ID!, input: MetaPath!): UserClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
userClearMetadata(id: ID!, input: MetaPath!): UserClearMeta
|
userUpdatePrivateMetadata(id: ID!, input: MetaInput!): UserUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
|
userClearPrivateMetadata(id: ID!, input: MetaPath!): UserClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
||||||
userUpdatePrivateMetadata(id: ID!, input: MetaInput!): UserUpdatePrivateMeta
|
serviceAccountCreate(input: ServiceAccountInput!): ServiceAccountCreate @deprecated(reason: "Use the `appCreate` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
serviceAccountUpdate(id: ID!, input: ServiceAccountInput!): ServiceAccountUpdate @deprecated(reason: "Use the `appUpdate` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
userClearPrivateMetadata(id: ID!, input: MetaPath!): UserClearPrivateMeta
|
serviceAccountDelete(id: ID!): ServiceAccountDelete @deprecated(reason: "Use the `appDelete` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
|
serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation with App instead.This field will be removed after 2020-07-31.")
|
||||||
serviceAccountCreate(input: ServiceAccountInput!): ServiceAccountCreate
|
serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation with App instead.This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `appCreate` mutation instead. This field will be removed after 2020-07-31.")
|
serviceAccountTokenCreate(input: ServiceAccountTokenInput!): ServiceAccountTokenCreate @deprecated(reason: "Use the `appTokenCreate` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
serviceAccountUpdate(id: ID!, input: ServiceAccountInput!): ServiceAccountUpdate
|
serviceAccountTokenDelete(id: ID!): ServiceAccountTokenDelete @deprecated(reason: "Use the `appTokenDelete` mutation instead. This field will be removed after 2020-07-31.")
|
||||||
@deprecated(reason: "Use the `appUpdate` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccountDelete(id: ID!): ServiceAccountDelete
|
|
||||||
@deprecated(reason: "Use the `appDelete` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta
|
|
||||||
@deprecated(reason: "Use the `updatePrivateMetadata` mutation with App instead.This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta
|
|
||||||
@deprecated(reason: "Use the `deletePrivateMetadata` mutation with App instead.This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccountTokenCreate(input: ServiceAccountTokenInput!): ServiceAccountTokenCreate
|
|
||||||
@deprecated(reason: "Use the `appTokenCreate` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccountTokenDelete(id: ID!): ServiceAccountTokenDelete
|
|
||||||
@deprecated(reason: "Use the `appTokenDelete` mutation instead. This field will be removed after 2020-07-31.")
|
|
||||||
permissionGroupCreate(input: PermissionGroupCreateInput!): PermissionGroupCreate
|
permissionGroupCreate(input: PermissionGroupCreateInput!): PermissionGroupCreate
|
||||||
permissionGroupUpdate(id: ID!, input: PermissionGroupUpdateInput!): PermissionGroupUpdate
|
permissionGroupUpdate(id: ID!, input: PermissionGroupUpdateInput!): PermissionGroupUpdate
|
||||||
permissionGroupDelete(id: ID!): PermissionGroupDelete
|
permissionGroupDelete(id: ID!): PermissionGroupDelete
|
||||||
|
@ -4293,26 +4231,11 @@ type ProductVariantUpdatePrivateMeta {
|
||||||
|
|
||||||
type Query {
|
type Query {
|
||||||
webhook(id: ID!): Webhook
|
webhook(id: ID!): Webhook
|
||||||
webhooks(
|
webhooks(sortBy: WebhookSortingInput, filter: WebhookFilterInput, before: String, after: String, first: Int, last: Int): WebhookCountableConnection @deprecated(reason: "Use webhooks field on app(s) query instead. This field will be removed after 2020-07-31.")
|
||||||
sortBy: WebhookSortingInput
|
|
||||||
filter: WebhookFilterInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): WebhookCountableConnection
|
|
||||||
@deprecated(reason: "Use webhooks field on app(s) query instead. This field will be removed after 2020-07-31.")
|
|
||||||
webhookEvents: [WebhookEvent]
|
webhookEvents: [WebhookEvent]
|
||||||
webhookSamplePayload(eventType: WebhookSampleEventTypeEnum!): JSONString
|
webhookSamplePayload(eventType: WebhookSampleEventTypeEnum!): JSONString
|
||||||
warehouse(id: ID!): Warehouse
|
warehouse(id: ID!): Warehouse
|
||||||
warehouses(
|
warehouses(filter: WarehouseFilterInput, sortBy: WarehouseSortingInput, before: String, after: String, first: Int, last: Int): WarehouseCountableConnection
|
||||||
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
|
translations(kind: TranslatableKinds!, before: String, after: String, first: Int, last: Int): TranslatableItemConnection
|
||||||
translation(id: ID!, kind: TranslatableKinds!): TranslatableItem
|
translation(id: ID!, kind: TranslatableKinds!): TranslatableItem
|
||||||
stock(id: ID!): Stock
|
stock(id: ID!): Stock
|
||||||
|
@ -4322,53 +4245,16 @@ type Query {
|
||||||
shippingZones(before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection
|
shippingZones(before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection
|
||||||
digitalContent(id: ID!): DigitalContent
|
digitalContent(id: ID!): DigitalContent
|
||||||
digitalContents(before: String, after: String, first: Int, last: Int): DigitalContentCountableConnection
|
digitalContents(before: String, after: String, first: Int, last: Int): DigitalContentCountableConnection
|
||||||
attributes(
|
attributes(filter: AttributeFilterInput, sortBy: AttributeSortingInput, before: String, after: String, first: Int, last: Int): AttributeCountableConnection
|
||||||
filter: AttributeFilterInput
|
|
||||||
sortBy: AttributeSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): AttributeCountableConnection
|
|
||||||
attribute(id: ID!): Attribute
|
attribute(id: ID!): Attribute
|
||||||
categories(
|
categories(filter: CategoryFilterInput, sortBy: CategorySortingInput, level: Int, before: String, after: String, first: Int, last: Int): CategoryCountableConnection
|
||||||
filter: CategoryFilterInput
|
|
||||||
sortBy: CategorySortingInput
|
|
||||||
level: Int
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): CategoryCountableConnection
|
|
||||||
category(id: ID, slug: String): Category
|
category(id: ID, slug: String): Category
|
||||||
collection(id: ID, slug: String): Collection
|
collection(id: ID, slug: String): Collection
|
||||||
collections(
|
collections(filter: CollectionFilterInput, sortBy: CollectionSortingInput, before: String, after: String, first: Int, last: Int): CollectionCountableConnection
|
||||||
filter: CollectionFilterInput
|
|
||||||
sortBy: CollectionSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): CollectionCountableConnection
|
|
||||||
product(id: ID, slug: String): Product
|
product(id: ID, slug: String): Product
|
||||||
products(
|
products(filter: ProductFilterInput, sortBy: ProductOrder, stockAvailability: StockAvailability, before: String, after: String, first: Int, last: Int): ProductCountableConnection
|
||||||
filter: ProductFilterInput
|
|
||||||
sortBy: ProductOrder
|
|
||||||
stockAvailability: StockAvailability
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): ProductCountableConnection
|
|
||||||
productType(id: ID!): ProductType
|
productType(id: ID!): ProductType
|
||||||
productTypes(
|
productTypes(filter: ProductTypeFilterInput, sortBy: ProductTypeSortingInput, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection
|
||||||
filter: ProductTypeFilterInput
|
|
||||||
sortBy: ProductTypeSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): ProductTypeCountableConnection
|
|
||||||
productVariant(id: ID!): ProductVariant
|
productVariant(id: ID!): ProductVariant
|
||||||
productVariants(ids: [ID], before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
|
productVariants(ids: [ID], before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
|
||||||
reportProductSales(period: ReportingPeriod!, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
|
reportProductSales(period: ReportingPeriod!, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection
|
||||||
|
@ -4378,78 +4264,24 @@ type Query {
|
||||||
pages(sortBy: PageSortingInput, filter: PageFilterInput, before: String, after: String, first: Int, last: Int): PageCountableConnection
|
pages(sortBy: PageSortingInput, filter: PageFilterInput, before: String, after: String, first: Int, last: Int): PageCountableConnection
|
||||||
homepageEvents(before: String, after: String, first: Int, last: Int): OrderEventCountableConnection
|
homepageEvents(before: String, after: String, first: Int, last: Int): OrderEventCountableConnection
|
||||||
order(id: ID!): Order
|
order(id: ID!): Order
|
||||||
orders(
|
orders(sortBy: OrderSortingInput, filter: OrderFilterInput, created: ReportingPeriod, status: OrderStatusFilter, before: String, after: String, first: Int, last: Int): OrderCountableConnection
|
||||||
sortBy: OrderSortingInput
|
draftOrders(sortBy: OrderSortingInput, filter: OrderDraftFilterInput, created: ReportingPeriod, before: String, after: String, first: Int, last: Int): OrderCountableConnection
|
||||||
filter: OrderFilterInput
|
|
||||||
created: ReportingPeriod
|
|
||||||
status: OrderStatusFilter
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): OrderCountableConnection
|
|
||||||
draftOrders(
|
|
||||||
sortBy: OrderSortingInput
|
|
||||||
filter: OrderDraftFilterInput
|
|
||||||
created: ReportingPeriod
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): OrderCountableConnection
|
|
||||||
ordersTotal(period: ReportingPeriod): TaxedMoney
|
ordersTotal(period: ReportingPeriod): TaxedMoney
|
||||||
orderByToken(token: UUID!): Order
|
orderByToken(token: UUID!): Order
|
||||||
menu(id: ID, name: String): Menu
|
menu(id: ID, name: String): Menu
|
||||||
menus(sortBy: MenuSortingInput, filter: MenuFilterInput, before: String, after: String, first: Int, last: Int): MenuCountableConnection
|
menus(sortBy: MenuSortingInput, filter: MenuFilterInput, before: String, after: String, first: Int, last: Int): MenuCountableConnection
|
||||||
menuItem(id: ID!): MenuItem
|
menuItem(id: ID!): MenuItem
|
||||||
menuItems(
|
menuItems(sortBy: MenuItemSortingInput, filter: MenuItemFilterInput, before: String, after: String, first: Int, last: Int): MenuItemCountableConnection
|
||||||
sortBy: MenuItemSortingInput
|
|
||||||
filter: MenuItemFilterInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): MenuItemCountableConnection
|
|
||||||
giftCard(id: ID!): GiftCard
|
giftCard(id: ID!): GiftCard
|
||||||
giftCards(before: String, after: String, first: Int, last: Int): GiftCardCountableConnection
|
giftCards(before: String, after: String, first: Int, last: Int): GiftCardCountableConnection
|
||||||
plugin(id: ID!): Plugin
|
plugin(id: ID!): Plugin
|
||||||
plugins(
|
plugins(filter: PluginFilterInput, sortBy: PluginSortingInput, before: String, after: String, first: Int, last: Int): PluginCountableConnection
|
||||||
filter: PluginFilterInput
|
|
||||||
sortBy: PluginSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): PluginCountableConnection
|
|
||||||
sale(id: ID!): Sale
|
sale(id: ID!): Sale
|
||||||
sales(
|
sales(filter: SaleFilterInput, sortBy: SaleSortingInput, query: String, before: String, after: String, first: Int, last: Int): SaleCountableConnection
|
||||||
filter: SaleFilterInput
|
|
||||||
sortBy: SaleSortingInput
|
|
||||||
query: String
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): SaleCountableConnection
|
|
||||||
voucher(id: ID!): Voucher
|
voucher(id: ID!): Voucher
|
||||||
vouchers(
|
vouchers(filter: VoucherFilterInput, sortBy: VoucherSortingInput, query: String, before: String, after: String, first: Int, last: Int): VoucherCountableConnection
|
||||||
filter: VoucherFilterInput
|
|
||||||
sortBy: VoucherSortingInput
|
|
||||||
query: String
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): VoucherCountableConnection
|
|
||||||
exportFile(id: ID!): ExportFile
|
exportFile(id: ID!): ExportFile
|
||||||
exportFiles(
|
exportFiles(filter: ExportFileFilterInput, sortBy: ExportFileSortingInput, before: String, after: String, first: Int, last: Int): ExportFileCountableConnection
|
||||||
filter: ExportFileFilterInput
|
|
||||||
sortBy: ExportFileSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): ExportFileCountableConnection
|
|
||||||
taxTypes: [TaxType]
|
taxTypes: [TaxType]
|
||||||
checkout(token: UUID): Checkout
|
checkout(token: UUID): Checkout
|
||||||
checkouts(before: String, after: String, first: Int, last: Int): CheckoutCountableConnection
|
checkouts(before: String, after: String, first: Int, last: Int): CheckoutCountableConnection
|
||||||
|
@ -4460,40 +4292,12 @@ type Query {
|
||||||
app(id: ID!): App
|
app(id: ID!): App
|
||||||
addressValidationRules(countryCode: CountryCode!, countryArea: String, city: String, cityArea: String): AddressValidationData
|
addressValidationRules(countryCode: CountryCode!, countryArea: String, city: String, cityArea: String): AddressValidationData
|
||||||
address(id: ID!): Address
|
address(id: ID!): Address
|
||||||
customers(
|
customers(filter: CustomerFilterInput, sortBy: UserSortingInput, before: String, after: String, first: Int, last: Int): UserCountableConnection
|
||||||
filter: CustomerFilterInput
|
permissionGroups(filter: PermissionGroupFilterInput, sortBy: PermissionGroupSortingInput, before: String, after: String, first: Int, last: Int): GroupCountableConnection
|
||||||
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
|
|
||||||
permissionGroup(id: ID!): Group
|
permissionGroup(id: ID!): Group
|
||||||
me: User
|
me: User
|
||||||
staffUsers(
|
staffUsers(filter: StaffUserInput, sortBy: UserSortingInput, before: String, after: String, first: Int, last: Int): UserCountableConnection
|
||||||
filter: StaffUserInput
|
serviceAccounts(filter: ServiceAccountFilterInput, sortBy: ServiceAccountSortingInput, before: String, after: String, first: Int, last: Int): ServiceAccountCountableConnection @deprecated(reason: "Use the `apps` query instead. This field will be removed after 2020-07-31.")
|
||||||
sortBy: UserSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): UserCountableConnection
|
|
||||||
serviceAccounts(
|
|
||||||
filter: ServiceAccountFilterInput
|
|
||||||
sortBy: ServiceAccountSortingInput
|
|
||||||
before: String
|
|
||||||
after: String
|
|
||||||
first: Int
|
|
||||||
last: Int
|
|
||||||
): ServiceAccountCountableConnection @deprecated(reason: "Use the `apps` query instead. This field will be removed after 2020-07-31.")
|
|
||||||
serviceAccount(id: ID!): ServiceAccount @deprecated(reason: "Use the `app` query instead. This field will be removed after 2020-07-31.")
|
serviceAccount(id: ID!): ServiceAccount @deprecated(reason: "Use the `app` query instead. This field will be removed after 2020-07-31.")
|
||||||
user(id: ID!): User
|
user(id: ID!): User
|
||||||
_entities(representations: [_Any]): [_Entity]
|
_entities(representations: [_Any]): [_Entity]
|
||||||
|
@ -5255,18 +5059,7 @@ enum TransactionKind {
|
||||||
CANCEL
|
CANCEL
|
||||||
}
|
}
|
||||||
|
|
||||||
union TranslatableItem =
|
union TranslatableItem = ProductTranslatableContent | CollectionTranslatableContent | CategoryTranslatableContent | AttributeTranslatableContent | AttributeValueTranslatableContent | ProductVariantTranslatableContent | PageTranslatableContent | ShippingMethodTranslatableContent | SaleTranslatableContent | VoucherTranslatableContent | MenuItemTranslatableContent
|
||||||
ProductTranslatableContent
|
|
||||||
| CollectionTranslatableContent
|
|
||||||
| CategoryTranslatableContent
|
|
||||||
| AttributeTranslatableContent
|
|
||||||
| AttributeValueTranslatableContent
|
|
||||||
| ProductVariantTranslatableContent
|
|
||||||
| PageTranslatableContent
|
|
||||||
| ShippingMethodTranslatableContent
|
|
||||||
| SaleTranslatableContent
|
|
||||||
| VoucherTranslatableContent
|
|
||||||
| MenuItemTranslatableContent
|
|
||||||
|
|
||||||
type TranslatableItemConnection {
|
type TranslatableItemConnection {
|
||||||
pageInfo: PageInfo!
|
pageInfo: PageInfo!
|
||||||
|
@ -5879,18 +5672,7 @@ enum WeightUnitsEnum {
|
||||||
|
|
||||||
scalar _Any
|
scalar _Any
|
||||||
|
|
||||||
union _Entity =
|
union _Entity = Address | User | Group | ServiceAccount | App | ProductVariant | Product | ProductType | Collection | Category | ProductImage
|
||||||
Address
|
|
||||||
| User
|
|
||||||
| Group
|
|
||||||
| ServiceAccount
|
|
||||||
| App
|
|
||||||
| ProductVariant
|
|
||||||
| Product
|
|
||||||
| ProductType
|
|
||||||
| Collection
|
|
||||||
| Category
|
|
||||||
| ProductImage
|
|
||||||
|
|
||||||
type _Service {
|
type _Service {
|
||||||
sdl: String
|
sdl: String
|
||||||
|
|
Loading…
Reference in a new issue