Skip to content

Commit ff0fd0d

Browse files
authored
Update generated SDKs (#1059)
* build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK --------- Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent 9d03953 commit ff0fd0d

3 files changed

Lines changed: 45 additions & 39 deletions

File tree

commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -453,19 +453,13 @@ type Query {
453453
and associated to a Price
454454
"""
455455
recurrencePolicies(where: String, sort: [String!], limit: Int, offset: Int): RecurrencePolicyQueryResult!
456-
"""
457-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
458-
"""
459-
paymentMethod(
456+
paymentMethod(
460457
"""Queries with specified ID"""
461458
id: String
462459
"""Queries with specified key"""
463460
key: String
464461
): PaymentMethod
465-
"""
466-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
467-
"""
468-
paymentMethods(where: String, sort: [String!], limit: Int, offset: Int): PaymentMethodQueryResult!
462+
paymentMethods(where: String, sort: [String!], limit: Int, offset: Int): PaymentMethodQueryResult!
469463
productSelectionAssignments(where: String, sort: [String!], limit: Int, offset: Int): ProductAssignmentQueryResult!
470464
}
471465

@@ -3020,6 +3014,10 @@ type Extension implements Versioned & ReferenceExpandable {
30203014
"""
30213015
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
30223016
"""
3017+
additionalContext: ExtensionAdditionalContext
3018+
"""
3019+
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
3020+
"""
30233021
expansionPaths: [String!]!
30243022
id: String!
30253023
version: Long!
@@ -3029,6 +3027,10 @@ type Extension implements Versioned & ReferenceExpandable {
30293027
lastModifiedBy: Initiator
30303028
}
30313029

3030+
type ExtensionAdditionalContext {
3031+
includeOldResource: Boolean!
3032+
}
3033+
30323034
type ExtensionLimitsProjection {
30333035
timeoutInMs: Limit!
30343036
maxExtensionsUpdateActions: Limit!
@@ -5069,25 +5071,16 @@ type Mutation {
50695071
"""Queries with specified key"""
50705072
key: String
50715073
): RecurrencePolicy
5072-
"""
5073-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
5074-
"""
5075-
createPaymentMethod(draft: PaymentMethodDraft!): PaymentMethod
5076-
"""
5077-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
5078-
"""
5079-
updatePaymentMethod(
5074+
createPaymentMethod(draft: PaymentMethodDraft!): PaymentMethod
5075+
updatePaymentMethod(
50805076
version: Long!
50815077
actions: [PaymentMethodUpdateAction!]!
50825078
"""Queries with specified ID"""
50835079
id: String
50845080
"""Queries with specified key"""
50855081
key: String
50865082
): PaymentMethod
5087-
"""
5088-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
5089-
"""
5090-
deletePaymentMethod(
5083+
deletePaymentMethod(
50915084
version: Long!
50925085
personalDataErasure: Boolean = false
50935086
"""Queries with specified ID"""
@@ -5659,9 +5652,6 @@ type PaymentInterfaceIdSet implements MessagePayload {
56595652
type: String!
56605653
}
56615654

5662-
"""
5663-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
5664-
"""
56655655
type PaymentMethod implements Versioned & ReferenceExpandable {
56665656
key: String
56675657
name(
@@ -5909,9 +5899,6 @@ type PaymentMethodQueryResult {
59095899
results: [PaymentMethod!]!
59105900
}
59115901

5912-
"""
5913-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
5914-
"""
59155902
type PaymentMethodToken {
59165903
value: String!
59175904
}
@@ -11306,9 +11293,9 @@ input AddProductVariant {
1130611293
input AddProductVariantTailoring {
1130711294
id: Int
1130811295
sku: String
11309-
images: [ImageInput!] = []
1131011296
attributes: [ProductAttributeInput!] = []
11311-
assets: [AssetDraftInput!] = []
11297+
images: [ImageInput!]
11298+
assets: [AssetDraftInput!]
1131211299
staged: Boolean = true
1131311300
}
1131411301

@@ -13225,6 +13212,13 @@ input ExistsFilterInput {
1322513212
path: String!
1322613213
}
1322713214

13215+
"""
13216+
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
13217+
"""
13218+
input ExtensionAdditionalContextInput {
13219+
includeOldResource: Boolean
13220+
}
13221+
1322813222
input ExtensionDestinationInput {
1322913223
HTTP: HttpDestinationInput
1323013224
AWSLambda: AWSLambdaDestinationInput
@@ -13239,6 +13233,10 @@ input ExtensionDraft {
1323913233
"""
1324013234
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1324113235
"""
13236+
additionalContext: ExtensionAdditionalContextInput
13237+
"""
13238+
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
13239+
"""
1324213240
expansionPaths: [String!]
1324313241
}
1324413242

@@ -13248,6 +13246,10 @@ input ExtensionUpdateAction {
1324813246
"""
1324913247
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1325013248
"""
13249+
setAdditionalContext: SetExtensionAdditionalContext
13250+
"""
13251+
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
13252+
"""
1325113253
setExpansionPaths: SetExtensionExpansionPaths
1325213254
setKey: SetExtensionKey
1325313255
setTimeoutInMs: SetExtensionTimeoutInMs
@@ -14072,9 +14074,6 @@ input PaymentDraft {
1407214074
interfaceInteractions: [CustomFieldsDraft!]
1407314075
}
1407414076

14075-
"""
14076-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
14077-
"""
1407814077
input PaymentMethodDraft {
1407914078
key: String
1408014079
name: [LocalizedStringItemInputType!]
@@ -14107,16 +14106,10 @@ input PaymentMethodInfoInput {
1410714106
custom: CustomFieldsDraft
1410814107
}
1410914108

14110-
"""
14111-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
14112-
"""
1411314109
input PaymentMethodTokenDraft {
1411414110
value: String!
1411514111
}
1411614112

14117-
"""
14118-
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
14119-
"""
1412014113
input PaymentMethodUpdateAction {
1412114114
setCustomField: SetPaymentMethodCustomField
1412214115
setCustomType: SetPaymentMethodCustomType
@@ -14533,9 +14526,9 @@ input ProductVariantSelectionDraft {
1453314526
input ProductVariantTailoringInput {
1453414527
id: Int
1453514528
sku: String
14536-
images: [ImageInput!] = []
1453714529
attributes: [ProductAttributeInput!] = []
14538-
assets: [AssetDraftInput!] = []
14530+
images: [ImageInput!]
14531+
assets: [AssetDraftInput!]
1453914532
}
1454014533

1454114534
input ProjectSettingsUpdateAction {
@@ -15924,6 +15917,13 @@ input SetDiscountGroupSortOrder {
1592415917
sortOrder: String!
1592515918
}
1592615919

15920+
"""
15921+
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
15922+
"""
15923+
input SetExtensionAdditionalContext {
15924+
additionalContext: ExtensionAdditionalContextInput!
15925+
}
15926+
1592715927
"""
1592815928
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1592915929
"""

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cb88b922116aa4e4d1fc1926ee999781cc6cec59

references.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,3 +546,8 @@ cc467725d8196c5812f7d9a98645febdf0e1d073
546546
790a7e7848cdedc26065d002fa67757cef290e08
547547
b956f3a336e396a19faade74946f2fcd354f3872
548548
cb88b922116aa4e4d1fc1926ee999781cc6cec59
549+
b079eb79b31912abbf6e28be6f2348e54a440110
550+
8a13f734ebb7697624302ea835e04a4fdf6dc31b
551+
b30881a27961c27ec2b180c43ad1a10b4e089c15
552+
f74e542a084962a1c94f38acb28259265d218d7e
553+
303dab396d987c4f6ed7c9013e664cd40807e948

0 commit comments

Comments
 (0)