Skip to content

Commit

Permalink
Merge pull request #350 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Sep 2, 2024
2 parents c6c81a2 + 3f3d5a8 commit b3a369b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 48 deletions.
65 changes: 17 additions & 48 deletions commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ input AddProductSelectionProduct {
variantSelection: ProductVariantSelectionDraft
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input AddProductTailoringAsset {
variantId: Int
sku: String
Expand All @@ -326,7 +325,6 @@ input AddProductTailoringAsset {
asset: AssetDraftInput!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input AddProductTailoringExternalImage {
variantId: Int
sku: String
Expand All @@ -350,7 +348,6 @@ input AddProductVariant {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input AddProductVariantTailoring {
id: Int
sku: String
Expand Down Expand Up @@ -2587,7 +2584,6 @@ input ChangeProductSlug {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input ChangeProductTailoringAssetName {
variantId: Int
sku: String
Expand All @@ -2597,7 +2593,6 @@ input ChangeProductTailoringAssetName {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input ChangeProductTailoringAssetOrder {
variantId: Int
sku: String
Expand Down Expand Up @@ -4532,8 +4527,6 @@ interface HasProductTailoringData {
"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaKeywordsAllLocales: [LocalizedString!]

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
variants: [ProductVariantTailoring!]!
}

Expand Down Expand Up @@ -5484,7 +5477,6 @@ input MoveProductImageToPosition {
staged: Boolean
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input MoveProductTailoringImageToPosition {
variantId: Int
sku: String
Expand Down Expand Up @@ -8453,8 +8445,6 @@ type ProductTailoringCreated implements MessagePayload & HasProductTailoringData
"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaKeywordsAllLocales: [LocalizedString!]

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
variants: [ProductVariantTailoring!]!
}

Expand Down Expand Up @@ -8501,8 +8491,6 @@ type ProductTailoringData implements HasProductTailoringData {
"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaKeywordsAllLocales: [LocalizedString!]

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
variants: [ProductVariantTailoring!]!
}

Expand Down Expand Up @@ -8534,7 +8522,19 @@ type ProductTailoringDescriptionSet implements MessagePayload {
type: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input ProductTailoringDraft {
product: ResourceIdentifierInput!
name: [LocalizedStringItemInputType!]
key: String
description: [LocalizedStringItemInputType!]
slug: [LocalizedStringItemInputType!]
metaTitle: [LocalizedStringItemInputType!]
metaDescription: [LocalizedStringItemInputType!]
metaKeywords: [LocalizedStringItemInputType!]
publish: Boolean
variants: [ProductVariantTailoringInput!] = []
}

type ProductTailoringImageAdded implements MessagePayload {
variantId: Int!
storeRef: KeyReference!
Expand All @@ -8544,7 +8544,6 @@ type ProductTailoringImageAdded implements MessagePayload {
type: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type ProductTailoringImagesSet implements MessagePayload {
variantId: Int!
storeRef: KeyReference!
Expand All @@ -8555,21 +8554,6 @@ type ProductTailoringImagesSet implements MessagePayload {
type: String!
}

input ProductTailoringDraft {
product: ResourceIdentifierInput!
name: [LocalizedStringItemInputType!]
key: String
description: [LocalizedStringItemInputType!]
slug: [LocalizedStringItemInputType!]
metaTitle: [LocalizedStringItemInputType!]
metaDescription: [LocalizedStringItemInputType!]
metaKeywords: [LocalizedStringItemInputType!]
publish: Boolean

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
variants: [ProductVariantTailoringInput!] = []
}

type ProductTailoringNameSet implements MessagePayload {
storeRef: KeyReference!
productRef: Reference!
Expand Down Expand Up @@ -8871,6 +8855,7 @@ type ProductVariantAvailabilityWithChannels {
type ProductVariantDeleted implements MessagePayload {
removedImageUrls: Set!
variant: ProductVariant
staged: Boolean
type: String!
}

Expand Down Expand Up @@ -8919,38 +8904,34 @@ type ProductVariantSelectionIncludeOnly implements ProductVariantSelection {
skus: [String!]!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type ProductVariantTailoring {
id: Int!
images: [Image!]!
assets: [Asset!]!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type ProductVariantTailoringAdded implements MessagePayload {
variantId: Int!
variant: VariantTailoring!
storeRef: KeyReference!
productRef: Reference!
productKey: String
variant: VariantTailoring!
type: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input ProductVariantTailoringInput {
id: Int
sku: String
images: [ImageInput!]! = []
images: [ImageInput!] = []
assets: [AssetDraftInput!] = []
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type ProductVariantTailoringRemoved implements MessagePayload {
variantId: Int!
variant: VariantTailoring!
storeRef: KeyReference!
productRef: Reference!
productKey: String
variant: VariantTailoring!
type: String!
}

Expand Down Expand Up @@ -9926,7 +9907,6 @@ input RemoveProductSelectionProduct {
product: ResourceIdentifierInput!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input RemoveProductTailoringAsset {
variantId: Int
sku: String
Expand All @@ -9935,7 +9915,6 @@ input RemoveProductTailoringAsset {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input RemoveProductTailoringImage {
variantId: Int
sku: String
Expand All @@ -9949,7 +9928,6 @@ input RemoveProductVariant {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input RemoveProductVariantTailoring {
id: Int
sku: String
Expand Down Expand Up @@ -11824,7 +11802,6 @@ input SetProductSku {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetCustomField {
variantId: Int
sku: String
Expand All @@ -11835,7 +11812,6 @@ input SetProductTailoringAssetCustomField {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetCustomType {
variantId: Int
sku: String
Expand All @@ -11848,7 +11824,6 @@ input SetProductTailoringAssetCustomType {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetDescription {
variantId: Int
sku: String
Expand All @@ -11858,7 +11833,6 @@ input SetProductTailoringAssetDescription {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetKey {
variantId: Int
sku: String
Expand All @@ -11867,7 +11841,6 @@ input SetProductTailoringAssetKey {
assetId: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetSources {
variantId: Int
sku: String
Expand All @@ -11877,7 +11850,6 @@ input SetProductTailoringAssetSources {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAssetTags {
variantId: Int
sku: String
Expand All @@ -11892,7 +11864,6 @@ input SetProductTailoringDescription {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringImageLabel {
variantId: Int
sku: String
Expand All @@ -11901,7 +11872,6 @@ input SetProductTailoringImageLabel {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringImages {
variantId: Int
sku: String
Expand Down Expand Up @@ -14700,7 +14670,6 @@ input ValueFilterInput {
values: [String!]!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type VariantTailoring {
images: [Image!]!
assets: [Asset!]!
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,4 @@ dd82e076236554dd808fb9309d53cb2a207cb296
9fb04dae472dbd5e7e4749ba34c1bb12161336bb
83b81d8842fe000b486145eebd80ad6c3dd0b4ae
7fa01c3fa58cb65ecfaeeac01d0584541a8d26e5
dc09dbc8bb089b789be7b711ebeb272f820ed184

0 comments on commit b3a369b

Please sign in to comment.