From 87dc8ec3bdcf3641961f87998dd9fafad56159e1 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:09:29 +0000 Subject: [PATCH] build(codegen): updating SDK --- .changeset/changes_history.md | 11 +++++++++++ changes.md | 8 ++++++++ .../src/generated/models/change-history.ts | 16 ++++++++-------- references.txt | 1 + 4 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 .changeset/changes_history.md diff --git a/.changeset/changes_history.md b/.changeset/changes_history.md new file mode 100644 index 000000000..0d03a093d --- /dev/null +++ b/.changeset/changes_history.md @@ -0,0 +1,11 @@ +--- +'@commercetools/history-sdk': minor +--- + +**History changes** + +
+Required Property(s) + +- changed property `id` of type `ModifiedBy` to be optional +
diff --git a/changes.md b/changes.md index 0656377f6..9fd227840 100644 --- a/changes.md +++ b/changes.md @@ -315,3 +315,11 @@ - added enum `customer-group` to type `CustomFieldReferenceValue` + +**History changes** + +
+Required Property(s) + +- changed property `id` of type `ModifiedBy` to be optional +
diff --git a/packages/history-sdk/src/generated/models/change-history.ts b/packages/history-sdk/src/generated/models/change-history.ts index 041fe3fef..3a667b55c 100644 --- a/packages/history-sdk/src/generated/models/change-history.ts +++ b/packages/history-sdk/src/generated/models/change-history.ts @@ -202,14 +202,20 @@ export interface ErrorResponse { * */ export interface ModifiedBy { + /** + * `true` if the change was made using the Merchant Center or [ImpEx](https://impex.europe-west1.gcp.commercetools.com/). + * + * + */ + readonly isPlatformClient: boolean /** * [ID](/general-concepts#identifier) of the Merchant Center user who made the change. * - * Present only if the change was made in the Merchant Center. + * Present only if `isPlatformClient` is `true`. * * */ - readonly id: string + readonly id?: string /** * Indicates who performed the change. * @@ -248,12 +254,6 @@ export interface ModifiedBy { * */ readonly associate?: Reference - /** - * `true` if the change was made using the Merchant Center or [ImpEx](https://impex.europe-west1.gcp.commercetools.com/). - * - * - */ - readonly isPlatformClient: boolean } /** * Updates that are triggered automatically as a result of a user-initiated change. diff --git a/references.txt b/references.txt index 1aced3d2f..1c9723d6b 100644 --- a/references.txt +++ b/references.txt @@ -328,3 +328,4 @@ c8c2455221baca20421082b7715eaa0a712af7f1 8e5c10a0c61ddaa5eabbd15344258f53ce6971ee 71b6bfba97b7019e0ba081bb188e43c90c6d79e8 41774e015e4f946bd57f0e2dc76522ed757860c4 +1406d1e9ac4945b1179cfce2a956a39f67b757a9