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 Dec 21, 2023
1 parent 078a76e commit 810bc57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
7 changes: 7 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
- :warning: changed response body for `200: application/json` of method `get /{projectKey}/in-store/key={storeKey}/cart-discounts` from type `CartDiscount` to `CartDiscountPagedQueryResponse`
</details>

<details>
<summary>Removed Type(s)</summary>

- :warning: removed type `NotEnabledError`
- :warning: removed type `GraphQLNotEnabledError`
</details>

**History changes**

<details>
Expand Down
24 changes: 0 additions & 24 deletions packages/platform-sdk/src/generated/models/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export type ErrorObject =
| MissingTaxRateForCountryError
| MoneyOverflowError
| NoMatchingProductDiscountFoundError
| NotEnabledError
| ObjectNotFoundError
| OutOfStockError
| OverCapacityError
Expand Down Expand Up @@ -1443,20 +1442,6 @@ export interface NoMatchingProductDiscountFoundError {
*/
readonly message: string
}
/**
* Returned when the [Project-specific category recommendations feature](/../api/projects/categoryRecommendations#project-specific-category-recommendations) is not enabled for the Project.
*
*/
export interface NotEnabledError {
readonly code: 'NotEnabled'
[key: string]: any
/**
* `"The category recommendations API is not yet enabled for your project."`
*
*
*/
readonly message: string
}
/**
* Returned when the requested resource was not found.
*
Expand Down Expand Up @@ -2041,7 +2026,6 @@ export type GraphQLErrorObject =
| GraphQLMissingTaxRateForCountryError
| GraphQLMoneyOverflowError
| GraphQLNoMatchingProductDiscountFoundError
| GraphQLNotEnabledError
| GraphQLObjectNotFoundError
| GraphQLOutOfStockError
| GraphQLOverCapacityError
Expand Down Expand Up @@ -3007,14 +2991,6 @@ export interface GraphQLNoMatchingProductDiscountFoundError {
readonly code: 'NoMatchingProductDiscountFound'
[key: string]: any
}
/**
* Returned when the [Project-specific category recommendations feature](/../api/projects/categoryRecommendations#project-specific-category-recommendations) is not enabled for the Project.
*
*/
export interface GraphQLNotEnabledError {
readonly code: 'NotEnabled'
[key: string]: any
}
/**
* Returned when the requested resource was not found.
*
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,4 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d
70d15e13efcbf54dd231b1f2cfbec50da95de1a3
8f05884799f311b3f09307fb57c2846383c96371
de39b32f1f157ed82869e1c07c1963615d571f87
d29ffbb65f68b7dd7623956b7e6151454bea2fea

0 comments on commit 810bc57

Please sign in to comment.