From 7f0aaf918cba76a4213eeb796e42d60e0260436a Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Mon, 9 Dec 2024 10:04:44 +0000
Subject: [PATCH] build(codegen): updating SDK
---
changes.md | 17 +++-----------
.../Models/Errors/IErrorObject.cs | 7 ------
.../Errors/IReferencedResourceNotFound.cs | 20 ----------------
.../Errors/ReferencedResourceNotFound.cs | 23 -------------------
references.txt | 1 +
5 files changed, 4 insertions(+), 64 deletions(-)
delete mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IReferencedResourceNotFound.cs
delete mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/ReferencedResourceNotFound.cs
diff --git a/changes.md b/changes.md
index 048f1ace496..53dc55e046b 100644
--- a/changes.md
+++ b/changes.md
@@ -1,19 +1,8 @@
-**Api changes**
+**Import changes**
-Changed Property(s)
+Removed Type(s)
-- :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number`
-- :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number`
-- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney`
-- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney`
-
-
-
-
-Added QueryParameter(s)
-
-- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products`
-- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products`
+- :warning: removed type `ReferencedResourceNotFound`
diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs
index 0333eea01d3..0ed6387eed1 100644
--- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs
+++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs
@@ -24,7 +24,6 @@ namespace commercetools.Sdk.ImportApi.Models.Errors
[SubTypeDiscriminator("InvalidOperation", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidOperation))]
[SubTypeDiscriminator("InvalidTransition", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidStateTransitionError))]
[SubTypeDiscriminator("NewMasterVariantAdditionNotAllowed", typeof(commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError))]
- [SubTypeDiscriminator("ReferencedResourceNotFound", typeof(commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound))]
[SubTypeDiscriminator("RequiredField", typeof(commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError))]
[SubTypeDiscriminator("ResourceCreation", typeof(commercetools.Sdk.ImportApi.Models.Errors.ResourceCreationError))]
[SubTypeDiscriminator("ResourceDeletion", typeof(commercetools.Sdk.ImportApi.Models.Errors.ResourceDeletionError))]
@@ -150,12 +149,6 @@ static commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllo
init?.Invoke(t);
return t;
}
- static commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound ReferencedResourceNotFound(Action init = null)
- {
- var t = new commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound();
- init?.Invoke(t);
- return t;
- }
static commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError RequiredField(Action init = null)
{
var t = new commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError();
diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IReferencedResourceNotFound.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IReferencedResourceNotFound.cs
deleted file mode 100644
index c2fd141ca71..00000000000
--- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IReferencedResourceNotFound.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using commercetools.Sdk.ImportApi.Models.Common;
-using commercetools.Base.CustomAttributes;
-// ReSharper disable CheckNamespace
-namespace commercetools.Sdk.ImportApi.Models.Errors
-{
- [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound))]
- public partial interface IReferencedResourceNotFound : IErrorObject
- {
- new string Code { get; set; }
-
- new string Message { get; set; }
-
- IReferenceType TypeId { get; set; }
-
- string Id { get; set; }
-
- string Key { get; set; }
-
- }
-}
diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/ReferencedResourceNotFound.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/ReferencedResourceNotFound.cs
deleted file mode 100644
index f99edbb4339..00000000000
--- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/ReferencedResourceNotFound.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using commercetools.Sdk.ImportApi.Models.Common;
-
-
-namespace commercetools.Sdk.ImportApi.Models.Errors
-{
-
- public partial class ReferencedResourceNotFound : IReferencedResourceNotFound
- {
- public string Code { get; set; }
-
- public string Message { get; set; }
-
- public IReferenceType TypeId { get; set; }
-
- public string Id { get; set; }
-
- public string Key { get; set; }
- public ReferencedResourceNotFound()
- {
- this.Code = "ReferencedResourceNotFound";
- }
- }
-}
diff --git a/references.txt b/references.txt
index cb0689cc317..9880f5767f9 100644
--- a/references.txt
+++ b/references.txt
@@ -300,3 +300,4 @@ f254d17f05343dcc4299fc53ff9b335b5ef63d69
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
f4cb4be0d9a27d8799b209eeb70db38bd80d5f57
7375cdc26481ba55e756479a87270432635bfcf7
+df53588d26d7953dfdf44166866ca03045f0a70b