Skip to content

Commit

Permalink
build(codegen): updating SDK (#764)
Browse files Browse the repository at this point in the history
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
  • Loading branch information
ct-sdks[bot] authored Aug 1, 2024
1 parent d5b52c9 commit 5869749
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 14 deletions.
12 changes: 12 additions & 0 deletions .changeset/changes_import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@commercetools/importapi-sdk': minor
---

**Import changes**

<details>
<summary>Deprecated Property(s)</summary>

- property `PriceImport::publish` is removed
- property `ProductVariantImport::publish` is removed
</details>
9 changes: 9 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,12 @@
- added type `ProjectChangeCustomerSearchStatusAction`
- added type `ShippingMethodChangeActiveAction`
</details>

**Import changes**

<details>
<summary>Deprecated Property(s)</summary>

- property `PriceImport::publish` is removed
- property `ProductVariantImport::publish` is removed
</details>
6 changes: 0 additions & 6 deletions packages/importapi-sdk/src/generated/models/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ export interface PriceImport extends ImportResource {
*
*/
readonly discounted?: DiscountedPrice
/**
* Only the [Embedded Price](/../api/types#price) updates will be published to `staged` and `current` projection.
*
* @deprecated
*/
readonly publish?: boolean
/**
* - Set to `false` to update both the [current and staged projections](/../api/projects/productProjections#current--staged) of the [Product](/../api/projects/products#product) with the new Price data.
* - Leave empty or set to `true` to only update the staged projection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,6 @@ export interface ProductVariantImport extends ImportResource {
*
*/
readonly assets?: Asset[]
/**
* If `publish` is set to either `true` or `false`, both staged and current projections are set to the same value provided by the import data.
* If `publish` is not set, the staged projection is set to the provided import data, but the current projection stays unchanged.
* However, if the import data contains no update, that is, if it matches the staged projection of the existing Product, the import induces no change in the existing Product whether `publish` is set or not.
*
* @deprecated
*/
readonly publish?: boolean
/**
* - Set to `false` to update both the [current and staged projections](/../api/projects/productProjections#current--staged) of the [Product](/../api/projects/products#product) with the new Product Variant data.
* - Leave empty or set to `true` to only update the staged projection.
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,4 @@ c2d41f9490412d38247db519a7ae49592d0761f9
5b7b1be9eef0a629a9fab9a6dee59bfb1e7d4a6e
6bb0747560549aaf4057881fb6173e5271af4e65
9542dc4271ffcefbac6972c63247f35a135f2e11
575e2e7e69d920c7975e85533620a634cc7ba2e2

0 comments on commit 5869749

Please sign in to comment.