Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jun 3, 2024
1 parent 386dd56 commit b3dd6d2
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(package): ProductTailoring
displayName: ProductTailoring
type: BaseResource
(beta): true
(updateType): ProductTailoringUpdate
description: |
A single ProductTailoring representation contains the _current_ and the _staged_ representation of its product data tailored per Store.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(package): ProductTailoring
displayName: ProductTailoringData
type: object
(beta): true
description: |
Contains all the tailored data of a Product.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(package): ProductTailoring
displayName: ProductTailoringDraft
type: object
(beta): true
description: |
Contains all the tailored data of a Product.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(package): ProductTailoring
displayName: ProductTailoringInStoreDraft
type: object
(beta): true
description: |
Contains all the tailored data of a Product for a specific Store.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(package): ProductTailoring
displayName: ProductTailoringPagedQueryResponse
type: object
(beta): true
example: !include ../../examples/product-tailoring-list.example.json
description: |
[PagedQueryResult](/../api/general-concepts#pagedqueryresult) with results containing an array of [ProductTailoring](ctp:api:type:ProductTailoring).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: Reference
(beta): true
displayName: ProductTailoringReference
discriminatorValue: product-tailoring
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ResourceIdentifier
(beta): true
displayName: ProductTailoringResourceIdentifier
discriminatorValue: product-tailoring
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): Cart
type: object
(beta): true
displayName: ProductTailoringUpdate
properties:
version:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: object
(beta): true
displayName: ProductTailoringUpdateAction
discriminator: action
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringPublishAction
discriminatorValue: publish
example: !include ../../../examples/ProductTailoring/ProductTailoringPublishAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetDescriptionAction
discriminatorValue: setDescription
example: !include ../../../examples/ProductTailoring/ProductTailoringSetDescriptionAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetMetaAttributesAction
discriminatorValue: setMetaAttributes
example: !include ../../../examples/ProductTailoring/ProductTailoringSetMetaAttributesAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetMetaDescriptionAction
discriminatorValue: setMetaDescription
example: !include ../../../examples/ProductTailoring/ProductTailoringSetMetaDescriptionAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetMetaKeywordsAction
discriminatorValue: setMetaKeywords
example: !include ../../../examples/ProductTailoring/ProductTailoringSetMetaKeywordsAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetMetaTitleAction
discriminatorValue: setMetaTitle
example: !include ../../../examples/ProductTailoring/ProductTailoringSetMetaTitleAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetNameAction
discriminatorValue: setName
example: !include ../../../examples/ProductTailoring/ProductTailoringSetNameAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetSlugAction
discriminatorValue: setSlug
example: !include ../../../examples/ProductTailoring/ProductTailoringSetSlugAction.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringUnpublishAction
discriminatorValue: unpublish
example: !include ../../../examples/ProductTailoring/ProductTailoringUnpublishAction.json
Expand Down
18 changes: 0 additions & 18 deletions api-specs/graphql/schema.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -4611,8 +4611,6 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom
key: String): ShoppingList
shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult!
productSelectionAssignments(where: String, sort: [String!], limit: Int, offset: Int): ProductAssignmentQueryResult!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
productTailoring(
"Queries with specified ID"
id: String,
Expand All @@ -4625,8 +4623,6 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom

"Queries with specified Product key"
productKey: String): ProductTailoring

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
productTailoringList(where: String, sort: [String!], limit: Int, offset: Int): ProductTailoringQueryResult!
}

Expand Down Expand Up @@ -5981,13 +5977,9 @@ type Mutation {

"Queries with specified key"
key: String): ProductSelection

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
createProductTailoring(
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput, draft: ProductTailoringDraft!): ProductTailoring

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
updateProductTailoring(
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput,
Expand All @@ -6003,8 +5995,6 @@ type Mutation {

"Queries with specified key"
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(
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput,
Expand Down Expand Up @@ -8191,7 +8181,6 @@ type ProductStateTransition 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 ProductTailoring implements Versioned {
key: String
productRef: Reference!
Expand Down Expand Up @@ -8261,7 +8250,6 @@ type ProductTailoringCreated implements MessagePayload & HasProductTailoringData
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 implements HasProductTailoringData {
name(
"String is defined for different locales. This argument specifies the desired locale."
Expand Down Expand Up @@ -8335,7 +8323,6 @@ 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!]
Expand Down Expand Up @@ -8412,7 +8399,6 @@ type ProductTailoringUnpublished 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 ProductTailoringUpdateAction {
publish: PublishTailoring
unpublish: UnpublishTailoring
Expand Down Expand Up @@ -8960,8 +8946,6 @@ type Query implements CartQueryInterface & CustomerActiveCartInterface & OrderQu
"Queries with specified key"
key: String): ProductSelection
productSelections(where: String, sort: [String!], limit: Int, offset: Int): ProductSelectionQueryResult!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
productTailoring(
"Queries with specified ID"
id: String,
Expand All @@ -8977,8 +8961,6 @@ type Query implements CartQueryInterface & CustomerActiveCartInterface & OrderQu

"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput): ProductTailoring

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
productTailoringList(where: String, sort: [String!], limit: Int, offset: Int): ProductTailoringQueryResult!
productProjectionsSuggest(searchKeywords: [SearchKeywordArgument!]!, fuzzy: Boolean, limit: Int = 10, staged: Boolean = false): SuggestResult!
project: ProjectProjection!
Expand Down

0 comments on commit b3dd6d2

Please sign in to comment.