Update schema and types

This commit is contained in:
Magdalena Markusik 2021-02-17 12:58:09 +01:00
parent 0a927245d2
commit 25f8e29801
41 changed files with 100 additions and 96 deletions

View file

@ -671,13 +671,13 @@ type Category implements Node & ObjectWithMetadata {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
slug: String! slug: String!
parent: Category parent: Category
level: Int! level: Int!
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
ancestors(before: String, after: String, first: Int, last: Int): CategoryCountableConnection ancestors(before: String, after: String, first: Int, last: Int): CategoryCountableConnection
products(channel: String, before: String, after: String, first: Int, last: Int): ProductCountableConnection products(channel: String, before: String, after: String, first: Int, last: Int): ProductCountableConnection
url: String @deprecated(reason: "This field will be removed after 2020-07-31.") url: String @deprecated(reason: "This field will be removed after 2020-07-31.")
@ -746,8 +746,8 @@ type CategoryTranslatableContent implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
translation(languageCode: LanguageCodeEnum!): CategoryTranslation translation(languageCode: LanguageCodeEnum!): CategoryTranslation
category: Category category: Category
} }
@ -763,9 +763,9 @@ type CategoryTranslation implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
language: LanguageDisplay! language: LanguageDisplay!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
} }
type CategoryUpdate { type CategoryUpdate {
@ -1050,11 +1050,11 @@ type Collection implements Node & ObjectWithMetadata {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
slug: String! slug: String!
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "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 products(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
@ -1205,8 +1205,8 @@ type CollectionTranslatableContent implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
translation(languageCode: LanguageCodeEnum!): CollectionTranslation translation(languageCode: LanguageCodeEnum!): CollectionTranslation
collection: Collection collection: Collection
} }
@ -1222,9 +1222,9 @@ type CollectionTranslation implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
name: String! name: String!
description: JSONString! description: JSONString
language: LanguageDisplay! language: LanguageDisplay!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
} }
type CollectionUpdate { type CollectionUpdate {
@ -2076,10 +2076,6 @@ type GatewayConfigLine {
scalar GenericScalar scalar GenericScalar
type Geolocalization {
country: CountryDisplay
}
type GiftCard implements Node { type GiftCard implements Node {
code: String code: String
user: User user: User
@ -3311,7 +3307,7 @@ type Page implements Node & ObjectWithMetadata {
seoDescription: String seoDescription: String
id: ID! id: ID!
title: String! title: String!
content: JSONString! content: JSONString
publicationDate: Date publicationDate: Date
isPublished: Boolean! isPublished: Boolean!
slug: String! slug: String!
@ -3319,7 +3315,7 @@ type Page implements Node & ObjectWithMetadata {
created: DateTime! created: DateTime!
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
contentJson: String! @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.") contentJson: JSONString! @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.")
translation(languageCode: LanguageCodeEnum!): PageTranslation translation(languageCode: LanguageCodeEnum!): PageTranslation
attributes: [SelectedAttribute!]! attributes: [SelectedAttribute!]!
} }
@ -3445,8 +3441,8 @@ type PageTranslatableContent implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
title: String! title: String!
content: JSONString! content: JSONString
contentJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.") contentJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.")
translation(languageCode: LanguageCodeEnum!): PageTranslation translation(languageCode: LanguageCodeEnum!): PageTranslation
page: Page page: Page
} }
@ -3462,9 +3458,9 @@ type PageTranslation implements Node {
seoDescription: String seoDescription: String
id: ID! id: ID!
title: String! title: String!
content: JSONString! content: JSONString
language: LanguageDisplay! language: LanguageDisplay!
contentJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.") contentJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `content` field instead.")
} }
input PageTranslationInput { input PageTranslationInput {
@ -3657,7 +3653,6 @@ input PaymentInput {
gateway: String! gateway: String!
token: String token: String
amount: PositiveDecimal amount: PositiveDecimal
billingAddress: AddressInput
returnUrl: String returnUrl: String
} }
@ -3839,7 +3834,7 @@ type Product implements Node & ObjectWithMetadata {
seoTitle: String seoTitle: String
seoDescription: String seoDescription: String
name: String! name: String!
description: JSONString! description: JSONString
productType: ProductType! productType: ProductType!
slug: String! slug: String!
category: Category category: Category
@ -3850,11 +3845,11 @@ type Product implements Node & ObjectWithMetadata {
rating: Float rating: Float
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
url: String! @deprecated(reason: "This field will be removed after 2020-07-31.") url: String! @deprecated(reason: "This field will be removed after 2020-07-31.")
thumbnail(size: Int): Image thumbnail(size: Int): Image
pricing: ProductPricingInfo pricing(address: AddressInput): ProductPricingInfo
isAvailable: Boolean isAvailable(address: AddressInput): Boolean
taxType: TaxType taxType: TaxType
attributes: [SelectedAttribute!]! attributes: [SelectedAttribute!]!
channelListings: [ProductChannelListing!] channelListings: [ProductChannelListing!]
@ -3906,7 +3901,7 @@ type ProductChannelListing implements Node {
purchaseCost: MoneyRange purchaseCost: MoneyRange
margin: Margin margin: Margin
isAvailableForPurchase: Boolean isAvailableForPurchase: Boolean
pricing: ProductPricingInfo pricing(address: AddressInput): ProductPricingInfo
} }
input ProductChannelListingAddInput { input ProductChannelListingAddInput {
@ -4109,6 +4104,7 @@ input ProductOrder {
enum ProductOrderField { enum ProductOrderField {
NAME NAME
RANK
PRICE PRICE
MINIMAL_PRICE MINIMAL_PRICE
DATE DATE
@ -4144,8 +4140,8 @@ type ProductTranslatableContent implements Node {
seoTitle: String seoTitle: String
seoDescription: String seoDescription: String
name: String! name: String!
description: JSONString! description: JSONString
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
translation(languageCode: LanguageCodeEnum!): ProductTranslation translation(languageCode: LanguageCodeEnum!): ProductTranslation
product: Product product: Product
} }
@ -4161,9 +4157,9 @@ type ProductTranslation implements Node {
seoTitle: String seoTitle: String
seoDescription: String seoDescription: String
name: String! name: String!
description: JSONString! description: JSONString
language: LanguageDisplay! language: LanguageDisplay!
descriptionJson: String @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "Will be removed in Saleor 4.0. Use the `description` field instead.")
} }
type ProductType implements Node & ObjectWithMetadata { type ProductType implements Node & ObjectWithMetadata {
@ -4177,7 +4173,6 @@ type ProductType implements Node & ObjectWithMetadata {
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
products(channel: String, before: String, after: String, first: Int, last: Int): ProductCountableConnection @deprecated(reason: "Use the top-level `products` query with the `productTypes` filter.") products(channel: String, before: String, after: String, first: Int, last: Int): ProductCountableConnection @deprecated(reason: "Use the top-level `products` query with the `productTypes` filter.")
taxRate: TaxRateType
taxType: TaxType taxType: TaxType
variantAttributes(variantSelection: VariantAttributeScope): [Attribute] variantAttributes(variantSelection: VariantAttributeScope): [Attribute]
productAttributes: [Attribute] productAttributes: [Attribute]
@ -4281,7 +4276,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
privateMetadata: [MetadataItem]! privateMetadata: [MetadataItem]!
metadata: [MetadataItem]! metadata: [MetadataItem]!
channelListings: [ProductVariantChannelListing!] channelListings: [ProductVariantChannelListing!]
pricing: VariantPricingInfo pricing(address: AddressInput): VariantPricingInfo
attributes(variantSelection: VariantAttributeScope): [SelectedAttribute!]! attributes(variantSelection: VariantAttributeScope): [SelectedAttribute!]!
costPrice: Money costPrice: Money
margin: Int margin: Int
@ -4290,8 +4285,8 @@ type ProductVariant implements Node & ObjectWithMetadata {
images: [ProductImage] images: [ProductImage]
translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation
digitalContent: DigitalContent digitalContent: DigitalContent
stocks(countryCode: CountryCode): [Stock] stocks(address: AddressInput, countryCode: CountryCode): [Stock]
quantityAvailable(countryCode: CountryCode): Int! quantityAvailable(address: AddressInput, countryCode: CountryCode): Int!
} }
type ProductVariantBulkCreate { type ProductVariantBulkCreate {
@ -4956,7 +4951,6 @@ type Shop {
availablePaymentGateways(currency: String): [PaymentGateway!]! availablePaymentGateways(currency: String): [PaymentGateway!]!
availableExternalAuthentications: [ExternalAuthentication!]! availableExternalAuthentications: [ExternalAuthentication!]!
availableShippingMethods(channel: String!, address: AddressInput): [ShippingMethod] availableShippingMethods(channel: String!, address: AddressInput): [ShippingMethod]
geolocalization: Geolocalization
countries(languageCode: LanguageCodeEnum): [CountryDisplay!]! countries(languageCode: LanguageCodeEnum): [CountryDisplay!]!
defaultCountry: CountryDisplay defaultCountry: CountryDisplay
defaultMailSenderName: String defaultMailSenderName: String
@ -5835,10 +5829,13 @@ enum WebhookEventTypeEnum {
CUSTOMER_CREATED CUSTOMER_CREATED
PRODUCT_CREATED PRODUCT_CREATED
PRODUCT_UPDATED PRODUCT_UPDATED
CHECKOUT_QUANTITY_CHANGED PRODUCT_DELETED
CHECKOUT_CREATED CHECKOUT_CREATED
CHECKOUT_UPDATED CHECKOUT_UPDATED
FULFILLMENT_CREATED FULFILLMENT_CREATED
PAGE_CREATED
PAGE_UPDATED
PAGE_DELETED
} }
enum WebhookSampleEventTypeEnum { enum WebhookSampleEventTypeEnum {
@ -5854,10 +5851,13 @@ enum WebhookSampleEventTypeEnum {
CUSTOMER_CREATED CUSTOMER_CREATED
PRODUCT_CREATED PRODUCT_CREATED
PRODUCT_UPDATED PRODUCT_UPDATED
CHECKOUT_QUANTITY_CHANGED PRODUCT_DELETED
CHECKOUT_CREATED CHECKOUT_CREATED
CHECKOUT_UPDATED CHECKOUT_UPDATED
FULFILLMENT_CREATED FULFILLMENT_CREATED
PAGE_CREATED
PAGE_UPDATED
PAGE_DELETED
} }
type WebhookUpdate { type WebhookUpdate {

View file

@ -39,7 +39,7 @@ export interface CategoryCreate_categoryCreate_category {
backgroundImage: CategoryCreate_categoryCreate_category_backgroundImage | null; backgroundImage: CategoryCreate_categoryCreate_category_backgroundImage | null;
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
parent: CategoryCreate_categoryCreate_category_parent | null; parent: CategoryCreate_categoryCreate_category_parent | null;

View file

@ -165,7 +165,7 @@ export interface CategoryDetails_category {
backgroundImage: CategoryDetails_category_backgroundImage | null; backgroundImage: CategoryDetails_category_backgroundImage | null;
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
parent: CategoryDetails_category_parent | null; parent: CategoryDetails_category_parent | null;

View file

@ -39,7 +39,7 @@ export interface CategoryUpdate_categoryUpdate_category {
backgroundImage: CategoryUpdate_categoryUpdate_category_backgroundImage | null; backgroundImage: CategoryUpdate_categoryUpdate_category_backgroundImage | null;
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
parent: CategoryUpdate_categoryUpdate_category_parent | null; parent: CategoryUpdate_categoryUpdate_category_parent | null;

View file

@ -102,7 +102,7 @@ export interface CollectionDetails_collection {
privateMetadata: (CollectionDetails_collection_privateMetadata | null)[]; privateMetadata: (CollectionDetails_collection_privateMetadata | null)[];
backgroundImage: CollectionDetails_collection_backgroundImage | null; backgroundImage: CollectionDetails_collection_backgroundImage | null;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
products: CollectionDetails_collection_products | null; products: CollectionDetails_collection_products | null;

View file

@ -48,7 +48,7 @@ export interface CollectionUpdate_collectionUpdate_collection {
privateMetadata: (CollectionUpdate_collectionUpdate_collection_privateMetadata | null)[]; privateMetadata: (CollectionUpdate_collectionUpdate_collection_privateMetadata | null)[];
backgroundImage: CollectionUpdate_collectionUpdate_collection_backgroundImage | null; backgroundImage: CollectionUpdate_collectionUpdate_collection_backgroundImage | null;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -48,7 +48,7 @@ export interface CreateCollection_collectionCreate_collection {
privateMetadata: (CreateCollection_collectionCreate_collection_privateMetadata | null)[]; privateMetadata: (CreateCollection_collectionCreate_collection_privateMetadata | null)[];
backgroundImage: CreateCollection_collectionCreate_collection_backgroundImage | null; backgroundImage: CreateCollection_collectionCreate_collection_backgroundImage | null;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -37,7 +37,7 @@ export interface CategoryDetailsFragment {
backgroundImage: CategoryDetailsFragment_backgroundImage | null; backgroundImage: CategoryDetailsFragment_backgroundImage | null;
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
parent: CategoryDetailsFragment_parent | null; parent: CategoryDetailsFragment_parent | null;

View file

@ -14,7 +14,7 @@ export interface CategoryTranslationFragment_translation_language {
export interface CategoryTranslationFragment_translation { export interface CategoryTranslationFragment_translation {
__typename: "CategoryTranslation"; __typename: "CategoryTranslation";
id: string; id: string;
description: any; description: any | null;
language: CategoryTranslationFragment_translation_language; language: CategoryTranslationFragment_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -25,7 +25,7 @@ export interface CategoryTranslationFragment_category {
__typename: "Category"; __typename: "Category";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -46,7 +46,7 @@ export interface CollectionDetailsFragment {
privateMetadata: (CollectionDetailsFragment_privateMetadata | null)[]; privateMetadata: (CollectionDetailsFragment_privateMetadata | null)[];
backgroundImage: CollectionDetailsFragment_backgroundImage | null; backgroundImage: CollectionDetailsFragment_backgroundImage | null;
slug: string; slug: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -10,7 +10,7 @@ export interface CollectionTranslationFragment_collection {
__typename: "Collection"; __typename: "Collection";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -23,7 +23,7 @@ export interface CollectionTranslationFragment_translation_language {
export interface CollectionTranslationFragment_translation { export interface CollectionTranslationFragment_translation {
__typename: "CollectionTranslation"; __typename: "CollectionTranslation";
id: string; id: string;
description: any; description: any | null;
language: CollectionTranslationFragment_translation_language; language: CollectionTranslationFragment_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -109,7 +109,7 @@ export interface PageDetailsFragment {
pageType: PageDetailsFragment_pageType; pageType: PageDetailsFragment_pageType;
metadata: (PageDetailsFragment_metadata | null)[]; metadata: (PageDetailsFragment_metadata | null)[];
privateMetadata: (PageDetailsFragment_privateMetadata | null)[]; privateMetadata: (PageDetailsFragment_privateMetadata | null)[];
content: any; content: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
publicationDate: any | null; publicationDate: any | null;

View file

@ -17,7 +17,7 @@ export interface PageTranslatableFragment_translation_language {
export interface PageTranslatableFragment_translation { export interface PageTranslatableFragment_translation {
__typename: "PageTranslation"; __typename: "PageTranslation";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;
@ -27,7 +27,7 @@ export interface PageTranslatableFragment_translation {
export interface PageTranslatableFragment { export interface PageTranslatableFragment {
__typename: "PageTranslatableContent"; __typename: "PageTranslatableContent";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;

View file

@ -11,7 +11,7 @@ import { LanguageCodeEnum } from "./../../types/globalTypes";
export interface PageTranslationFragment_page { export interface PageTranslationFragment_page {
__typename: "Page"; __typename: "Page";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;
@ -26,7 +26,7 @@ export interface PageTranslationFragment_translation_language {
export interface PageTranslationFragment_translation { export interface PageTranslationFragment_translation {
__typename: "PageTranslation"; __typename: "PageTranslation";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;

View file

@ -253,7 +253,7 @@ export interface Product {
privateMetadata: (Product_privateMetadata | null)[]; privateMetadata: (Product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -12,7 +12,7 @@ export interface ProductTranslationFragment_product {
__typename: "Product"; __typename: "Product";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -26,7 +26,7 @@ export interface ProductTranslationFragment_translation_language {
export interface ProductTranslationFragment_translation { export interface ProductTranslationFragment_translation {
__typename: "ProductTranslation"; __typename: "ProductTranslation";
id: string; id: string;
description: any; description: any | null;
language: ProductTranslationFragment_translation_language; language: ProductTranslationFragment_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -117,7 +117,7 @@ export interface PageCreate_pageCreate_page {
pageType: PageCreate_pageCreate_page_pageType; pageType: PageCreate_pageCreate_page_pageType;
metadata: (PageCreate_pageCreate_page_metadata | null)[]; metadata: (PageCreate_pageCreate_page_metadata | null)[];
privateMetadata: (PageCreate_pageCreate_page_privateMetadata | null)[]; privateMetadata: (PageCreate_pageCreate_page_privateMetadata | null)[];
content: any; content: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
publicationDate: any | null; publicationDate: any | null;

View file

@ -109,7 +109,7 @@ export interface PageDetails_page {
pageType: PageDetails_page_pageType; pageType: PageDetails_page_pageType;
metadata: (PageDetails_page_metadata | null)[]; metadata: (PageDetails_page_metadata | null)[];
privateMetadata: (PageDetails_page_privateMetadata | null)[]; privateMetadata: (PageDetails_page_privateMetadata | null)[];
content: any; content: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
publicationDate: any | null; publicationDate: any | null;

View file

@ -116,7 +116,7 @@ export interface PageUpdate_pageUpdate_page {
pageType: PageUpdate_pageUpdate_page_pageType; pageType: PageUpdate_pageUpdate_page_pageType;
metadata: (PageUpdate_pageUpdate_page_metadata | null)[]; metadata: (PageUpdate_pageUpdate_page_metadata | null)[];
privateMetadata: (PageUpdate_pageUpdate_page_privateMetadata | null)[]; privateMetadata: (PageUpdate_pageUpdate_page_privateMetadata | null)[];
content: any; content: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
publicationDate: any | null; publicationDate: any | null;

View file

@ -253,7 +253,7 @@ export interface ProductChannelListingUpdate_productChannelListingUpdate_product
privateMetadata: (ProductChannelListingUpdate_productChannelListingUpdate_product_privateMetadata | null)[]; privateMetadata: (ProductChannelListingUpdate_productChannelListingUpdate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -260,7 +260,7 @@ export interface ProductCreate_productCreate_product {
privateMetadata: (ProductCreate_productCreate_product_privateMetadata | null)[]; privateMetadata: (ProductCreate_productCreate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -253,7 +253,7 @@ export interface ProductDetails_product {
privateMetadata: (ProductDetails_product_privateMetadata | null)[]; privateMetadata: (ProductDetails_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -259,7 +259,7 @@ export interface ProductImageCreate_productImageCreate_product {
privateMetadata: (ProductImageCreate_productImageCreate_product_privateMetadata | null)[]; privateMetadata: (ProductImageCreate_productImageCreate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -259,7 +259,7 @@ export interface ProductImageUpdate_productImageUpdate_product {
privateMetadata: (ProductImageUpdate_productImageUpdate_product_privateMetadata | null)[]; privateMetadata: (ProductImageUpdate_productImageUpdate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -260,7 +260,7 @@ export interface ProductUpdate_productUpdate_product {
privateMetadata: (ProductUpdate_productUpdate_product_privateMetadata | null)[]; privateMetadata: (ProductUpdate_productUpdate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -259,7 +259,7 @@ export interface ProductVariantReorder_productVariantReorder_product {
privateMetadata: (ProductVariantReorder_productVariantReorder_product_privateMetadata | null)[]; privateMetadata: (ProductVariantReorder_productVariantReorder_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -259,7 +259,7 @@ export interface ProductVariantSetDefault_productVariantSetDefault_product {
privateMetadata: (ProductVariantSetDefault_productVariantSetDefault_product_privateMetadata | null)[]; privateMetadata: (ProductVariantSetDefault_productVariantSetDefault_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -260,7 +260,7 @@ export interface SimpleProductUpdate_productUpdate_product {
privateMetadata: (SimpleProductUpdate_productUpdate_product_privateMetadata | null)[]; privateMetadata: (SimpleProductUpdate_productUpdate_product_privateMetadata | null)[];
name: string; name: string;
slug: string; slug: string;
description: any; description: any | null;
seoTitle: string | null; seoTitle: string | null;
seoDescription: string | null; seoDescription: string | null;
rating: number | null; rating: number | null;

View file

@ -20,7 +20,7 @@ export interface CategoryTranslationDetails_translation_CategoryTranslatableCont
export interface CategoryTranslationDetails_translation_CategoryTranslatableContent_translation { export interface CategoryTranslationDetails_translation_CategoryTranslatableContent_translation {
__typename: "CategoryTranslation"; __typename: "CategoryTranslation";
id: string; id: string;
description: any; description: any | null;
language: CategoryTranslationDetails_translation_CategoryTranslatableContent_translation_language; language: CategoryTranslationDetails_translation_CategoryTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -31,7 +31,7 @@ export interface CategoryTranslationDetails_translation_CategoryTranslatableCont
__typename: "Category"; __typename: "Category";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -20,7 +20,7 @@ export interface CategoryTranslations_translations_edges_node_CategoryTranslatab
export interface CategoryTranslations_translations_edges_node_CategoryTranslatableContent_translation { export interface CategoryTranslations_translations_edges_node_CategoryTranslatableContent_translation {
__typename: "CategoryTranslation"; __typename: "CategoryTranslation";
id: string; id: string;
description: any; description: any | null;
language: CategoryTranslations_translations_edges_node_CategoryTranslatableContent_translation_language; language: CategoryTranslations_translations_edges_node_CategoryTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -31,7 +31,7 @@ export interface CategoryTranslations_translations_edges_node_CategoryTranslatab
__typename: "Category"; __typename: "Category";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }

View file

@ -16,7 +16,7 @@ export interface CollectionTranslationDetails_translation_CollectionTranslatable
__typename: "Collection"; __typename: "Collection";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -29,7 +29,7 @@ export interface CollectionTranslationDetails_translation_CollectionTranslatable
export interface CollectionTranslationDetails_translation_CollectionTranslatableContent_translation { export interface CollectionTranslationDetails_translation_CollectionTranslatableContent_translation {
__typename: "CollectionTranslation"; __typename: "CollectionTranslation";
id: string; id: string;
description: any; description: any | null;
language: CollectionTranslationDetails_translation_CollectionTranslatableContent_translation_language; language: CollectionTranslationDetails_translation_CollectionTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -16,7 +16,7 @@ export interface CollectionTranslations_translations_edges_node_CollectionTransl
__typename: "Collection"; __typename: "Collection";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -29,7 +29,7 @@ export interface CollectionTranslations_translations_edges_node_CollectionTransl
export interface CollectionTranslations_translations_edges_node_CollectionTranslatableContent_translation { export interface CollectionTranslations_translations_edges_node_CollectionTranslatableContent_translation {
__typename: "CollectionTranslation"; __typename: "CollectionTranslation";
id: string; id: string;
description: any; description: any | null;
language: CollectionTranslations_translations_edges_node_CollectionTranslatableContent_translation_language; language: CollectionTranslations_translations_edges_node_CollectionTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -15,7 +15,7 @@ export interface PageTranslationDetails_translation_ProductTranslatableContent {
export interface PageTranslationDetails_translation_PageTranslatableContent_page { export interface PageTranslationDetails_translation_PageTranslatableContent_page {
__typename: "Page"; __typename: "Page";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;
@ -30,7 +30,7 @@ export interface PageTranslationDetails_translation_PageTranslatableContent_tran
export interface PageTranslationDetails_translation_PageTranslatableContent_translation { export interface PageTranslationDetails_translation_PageTranslatableContent_translation {
__typename: "PageTranslation"; __typename: "PageTranslation";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;

View file

@ -15,7 +15,7 @@ export interface PageTranslations_translations_edges_node_ProductTranslatableCon
export interface PageTranslations_translations_edges_node_PageTranslatableContent_page { export interface PageTranslations_translations_edges_node_PageTranslatableContent_page {
__typename: "Page"; __typename: "Page";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;
@ -30,7 +30,7 @@ export interface PageTranslations_translations_edges_node_PageTranslatableConten
export interface PageTranslations_translations_edges_node_PageTranslatableContent_translation { export interface PageTranslations_translations_edges_node_PageTranslatableContent_translation {
__typename: "PageTranslation"; __typename: "PageTranslation";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;

View file

@ -16,7 +16,7 @@ export interface ProductTranslationDetails_translation_ProductTranslatableConten
__typename: "Product"; __typename: "Product";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -30,7 +30,7 @@ export interface ProductTranslationDetails_translation_ProductTranslatableConten
export interface ProductTranslationDetails_translation_ProductTranslatableContent_translation { export interface ProductTranslationDetails_translation_ProductTranslatableContent_translation {
__typename: "ProductTranslation"; __typename: "ProductTranslation";
id: string; id: string;
description: any; description: any | null;
language: ProductTranslationDetails_translation_ProductTranslatableContent_translation_language; language: ProductTranslationDetails_translation_ProductTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -16,7 +16,7 @@ export interface ProductTranslations_translations_edges_node_ProductTranslatable
__typename: "Product"; __typename: "Product";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
} }
@ -30,7 +30,7 @@ export interface ProductTranslations_translations_edges_node_ProductTranslatable
export interface ProductTranslations_translations_edges_node_ProductTranslatableContent_translation { export interface ProductTranslations_translations_edges_node_ProductTranslatableContent_translation {
__typename: "ProductTranslation"; __typename: "ProductTranslation";
id: string; id: string;
description: any; description: any | null;
language: ProductTranslations_translations_edges_node_ProductTranslatableContent_translation_language; language: ProductTranslations_translations_edges_node_ProductTranslatableContent_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;

View file

@ -22,7 +22,7 @@ export interface UpdateCategoryTranslations_categoryTranslate_category_translati
export interface UpdateCategoryTranslations_categoryTranslate_category_translation { export interface UpdateCategoryTranslations_categoryTranslate_category_translation {
__typename: "CategoryTranslation"; __typename: "CategoryTranslation";
id: string; id: string;
description: any; description: any | null;
language: UpdateCategoryTranslations_categoryTranslate_category_translation_language; language: UpdateCategoryTranslations_categoryTranslate_category_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -33,7 +33,7 @@ export interface UpdateCategoryTranslations_categoryTranslate_category {
__typename: "Category"; __typename: "Category";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
translation: UpdateCategoryTranslations_categoryTranslate_category_translation | null; translation: UpdateCategoryTranslations_categoryTranslate_category_translation | null;

View file

@ -22,7 +22,7 @@ export interface UpdateCollectionTranslations_collectionTranslate_collection_tra
export interface UpdateCollectionTranslations_collectionTranslate_collection_translation { export interface UpdateCollectionTranslations_collectionTranslate_collection_translation {
__typename: "CollectionTranslation"; __typename: "CollectionTranslation";
id: string; id: string;
description: any; description: any | null;
language: UpdateCollectionTranslations_collectionTranslate_collection_translation_language; language: UpdateCollectionTranslations_collectionTranslate_collection_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -33,7 +33,7 @@ export interface UpdateCollectionTranslations_collectionTranslate_collection {
__typename: "Collection"; __typename: "Collection";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
translation: UpdateCollectionTranslations_collectionTranslate_collection_translation | null; translation: UpdateCollectionTranslations_collectionTranslate_collection_translation | null;

View file

@ -17,7 +17,7 @@ export interface UpdatePageTranslations_pageTranslate_errors {
export interface UpdatePageTranslations_pageTranslate_page_page { export interface UpdatePageTranslations_pageTranslate_page_page {
__typename: "Page"; __typename: "Page";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;
@ -32,7 +32,7 @@ export interface UpdatePageTranslations_pageTranslate_page_translation_language
export interface UpdatePageTranslations_pageTranslate_page_translation { export interface UpdatePageTranslations_pageTranslate_page_translation {
__typename: "PageTranslation"; __typename: "PageTranslation";
id: string; id: string;
content: any; content: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
title: string; title: string;

View file

@ -23,7 +23,7 @@ export interface UpdateProductTranslations_productTranslate_product_translation_
export interface UpdateProductTranslations_productTranslate_product_translation { export interface UpdateProductTranslations_productTranslate_product_translation {
__typename: "ProductTranslation"; __typename: "ProductTranslation";
id: string; id: string;
description: any; description: any | null;
language: UpdateProductTranslations_productTranslate_product_translation_language; language: UpdateProductTranslations_productTranslate_product_translation_language;
name: string; name: string;
seoDescription: string | null; seoDescription: string | null;
@ -34,7 +34,7 @@ export interface UpdateProductTranslations_productTranslate_product {
__typename: "Product"; __typename: "Product";
id: string; id: string;
name: string; name: string;
description: any; description: any | null;
seoDescription: string | null; seoDescription: string | null;
seoTitle: string | null; seoTitle: string | null;
translation: UpdateProductTranslations_productTranslate_product_translation | null; translation: UpdateProductTranslations_productTranslate_product_translation | null;

View file

@ -804,6 +804,7 @@ export enum ProductOrderField {
PRICE = "PRICE", PRICE = "PRICE",
PUBLICATION_DATE = "PUBLICATION_DATE", PUBLICATION_DATE = "PUBLICATION_DATE",
PUBLISHED = "PUBLISHED", PUBLISHED = "PUBLISHED",
RANK = "RANK",
RATING = "RATING", RATING = "RATING",
TYPE = "TYPE", TYPE = "TYPE",
} }
@ -967,7 +968,6 @@ export enum WebhookErrorCode {
export enum WebhookEventTypeEnum { export enum WebhookEventTypeEnum {
ANY_EVENTS = "ANY_EVENTS", ANY_EVENTS = "ANY_EVENTS",
CHECKOUT_CREATED = "CHECKOUT_CREATED", CHECKOUT_CREATED = "CHECKOUT_CREATED",
CHECKOUT_QUANTITY_CHANGED = "CHECKOUT_QUANTITY_CHANGED",
CHECKOUT_UPDATED = "CHECKOUT_UPDATED", CHECKOUT_UPDATED = "CHECKOUT_UPDATED",
CUSTOMER_CREATED = "CUSTOMER_CREATED", CUSTOMER_CREATED = "CUSTOMER_CREATED",
FULFILLMENT_CREATED = "FULFILLMENT_CREATED", FULFILLMENT_CREATED = "FULFILLMENT_CREATED",
@ -980,7 +980,11 @@ export enum WebhookEventTypeEnum {
ORDER_FULFILLED = "ORDER_FULFILLED", ORDER_FULFILLED = "ORDER_FULFILLED",
ORDER_FULLY_PAID = "ORDER_FULLY_PAID", ORDER_FULLY_PAID = "ORDER_FULLY_PAID",
ORDER_UPDATED = "ORDER_UPDATED", ORDER_UPDATED = "ORDER_UPDATED",
PAGE_CREATED = "PAGE_CREATED",
PAGE_DELETED = "PAGE_DELETED",
PAGE_UPDATED = "PAGE_UPDATED",
PRODUCT_CREATED = "PRODUCT_CREATED", PRODUCT_CREATED = "PRODUCT_CREATED",
PRODUCT_DELETED = "PRODUCT_DELETED",
PRODUCT_UPDATED = "PRODUCT_UPDATED", PRODUCT_UPDATED = "PRODUCT_UPDATED",
} }