Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Mar 12, 2024
1 parent 0925e2d commit 1455819
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 26 deletions.
115 changes: 89 additions & 26 deletions commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -2978,19 +2978,6 @@ input CreateProductSelectionDraft {
custom: CustomFieldsDraft
}

"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
}

input CreateStandalonePrice {
key: String
sku: String!
Expand Down Expand Up @@ -4392,6 +4379,51 @@ input GoogleCloudPubSubDestinationInput {
topic: String!
}

interface HasProductTailoringData {
name(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
nameAllLocales: [LocalizedString!]
description(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
descriptionAllLocales: [LocalizedString!]
slug(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
slugAllLocales: [LocalizedString!]
metaTitle(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaTitleAllLocales: [LocalizedString!]
metaDescription(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaDescriptionAllLocales: [LocalizedString!]
metaKeywords(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaKeywordsAllLocales: [LocalizedString!]
}

type HighPrecisionMoney implements BaseMoney {
type: String!
currencyCode: Currency!
Expand Down Expand Up @@ -5958,9 +5990,7 @@ type Mutation {
id: String,

"Queries with specified key"
key: String,

actions: [ProductTailoringUpdateAction!]!, version: Long!): ProductTailoring
key: String, actions: [ProductTailoringUpdateAction!]!, version: Long!): ProductTailoring

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
deleteProductTailoring(
Expand Down Expand Up @@ -7621,6 +7651,7 @@ type ProductImageAdded implements MessagePayload {
type ProductLimitsProjection {
pricesPerVariant: Limit!
variants: Limit!
productTailoring: Limit!
}

type ProductOfSelection {
Expand Down Expand Up @@ -8167,38 +8198,59 @@ type ProductTailoring implements Versioned {
lastModifiedBy: Initiator
}

type ProductTailoringCreated implements MessagePayload {
publish: Boolean!
type ProductTailoringCreated implements MessagePayload & HasProductTailoringData {
type: String!
storeRef: KeyReference!
productRef: Reference!
key: String
productKey: String
publish: Boolean!
name(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
nameAllLocales: [LocalizedString!]
description(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
descriptionAllLocales: [LocalizedString!]
slug(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
nameAllLocales: [LocalizedString!]
slugAllLocales: [LocalizedString!]
descriptionAllLocales: [LocalizedString!]
type: String!
metaTitle(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaTitleAllLocales: [LocalizedString!]
metaDescription(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
metaDescriptionAllLocales: [LocalizedString!]
metaKeywords(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,

"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"
type ProductTailoringData {
type ProductTailoringData implements HasProductTailoringData {
name(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,
Expand Down Expand Up @@ -8271,6 +8323,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
}

type ProductTailoringNameSet implements MessagePayload {
storeRef: KeyReference!
productRef: Reference!
Expand Down Expand Up @@ -8303,8 +8368,6 @@ type ProductTailoringQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductTailoring!]!
}
Expand Down Expand Up @@ -8659,13 +8722,13 @@ input ProjectSettingsUpdateAction {
changeMyBusinessUnitStatusOnCreation: ChangeProjectSettingsMyBusinessUnitStatusOnCreation
changeName: ChangeProjectSettingsName
changeOrderSearchStatus: ChangeProjectSettingsOrderSearchStatus
changeProductSearchIndexingEnabled: ChangeProjectSettingsProductSearchIndexingEnabled
changeShoppingListsConfiguration: ChangeProjectSettingsShoppingListsConfiguration
setExternalOAuth: SetProjectSettingsExternalOAuth
setShippingRateInputType: SetProjectSettingsShippingRateInputType

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
setMyBusinessUnitAssociateRoleOnCreation: SetProjectSettingsMyBusinessUnitAssociateRoleOnCreation
changeProductSearchIndexingEnabled: ChangeProjectSettingsProductSearchIndexingEnabled
}

input PublishProduct {
Expand Down Expand Up @@ -8778,7 +8841,7 @@ type Query {
"Queries with specified key"
key: String): CartDiscount
cartDiscounts(where: String, sort: [String!], limit: Int, offset: Int): CartDiscountQueryResult!
discountCode(
discountCode(
"Queries with specified ID"
id: String,

Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,4 @@ ffed231e91d01608e1bb08ecc1883cf00d9d9293
9426f11f6f1755829c81c7db9fce597fdda6ade6
c11681240a69eb894764895d5dcfd21bf6812352
cbff068f3b95e6021ff4d76bd7684ddd6dcfce6f
d1fcaae6cdf58cc67290c3ce2fce7d8ce9207109

0 comments on commit 1455819

Please sign in to comment.