From 3a2cc1bf9e680a8e0cf3418fcee0d1f07c88967a Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Fri, 16 Jul 2021 13:03:39 +0000 Subject: [PATCH 1/4] TASK: Updating SDK --- .../commercetools.Sdk.Api/Generated/gen.properties | 2 +- .../Generated/Models/Common/AssetDimensions.cs | 4 ++-- .../Generated/Models/Common/IAssetDimensions.cs | 4 ++-- .../commercetools.Sdk.ImportApi/Generated/gen.properties | 2 +- .../commercetools.Sdk.MLApi/Generated/gen.properties | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties index 58677414f77..e472978ec0c 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties @@ -1 +1 @@ -hash=78d459a70aac5fa311136d2410d5cc41c9c97d16 +hash=6b44127a505e1bb3f8818f0f83827e51d4dbebf6 diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/AssetDimensions.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/AssetDimensions.cs index 7a7a9a1201d..99fa2d8eb4d 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/AssetDimensions.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/AssetDimensions.cs @@ -9,8 +9,8 @@ namespace commercetools.ImportApi.Models.Common { public partial class AssetDimensions : IAssetDimensions { - public double W { get; set;} + public int W { get; set;} - public double H { get; set;} + public int H { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/IAssetDimensions.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/IAssetDimensions.cs index 076cba8284a..41aa11b3c52 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/IAssetDimensions.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/IAssetDimensions.cs @@ -10,8 +10,8 @@ namespace commercetools.ImportApi.Models.Common [DeserializeAs(typeof(commercetools.ImportApi.Models.Common.AssetDimensions))] public partial interface IAssetDimensions { - double W { get; set;} + int W { get; set;} - double H { get; set;} + int H { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties index 58677414f77..e472978ec0c 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties @@ -1 +1 @@ -hash=78d459a70aac5fa311136d2410d5cc41c9c97d16 +hash=6b44127a505e1bb3f8818f0f83827e51d4dbebf6 diff --git a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties index 58677414f77..e472978ec0c 100644 --- a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties @@ -1 +1 @@ -hash=78d459a70aac5fa311136d2410d5cc41c9c97d16 +hash=6b44127a505e1bb3f8818f0f83827e51d4dbebf6 From 1696d126df25078839653ac30df8f20b4225369e Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Tue, 20 Jul 2021 10:56:06 +0000 Subject: [PATCH 2/4] TASK: Updating SDK --- .../Generated/gen.properties | 2 +- ...yProjectKeyImportSinksByImportSinkKeyPut.cs | 6 +++--- ...ImportSinksByImportSinkKeyRequestBuilder.cs | 4 ++-- .../Models/Importsinks/IImportSinkDraft.cs | 2 -- .../Importsinks/IImportSinkUpdateDraft.cs | 18 ++++++++++++++++++ .../Models/Importsinks/ImportSinkDraft.cs | 2 -- .../Importsinks/ImportSinkUpdateDraft.cs | 17 +++++++++++++++++ .../Generated/gen.properties | 2 +- .../Generated/gen.properties | 2 +- 9 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importsinks/IImportSinkUpdateDraft.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importsinks/ImportSinkUpdateDraft.cs diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties index e472978ec0c..88ad644128f 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties @@ -1 +1 @@ -hash=6b44127a505e1bb3f8818f0f83827e51d4dbebf6 +hash=849facb1528f28b6fdf8a93cfbaab1764712de67 diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ImportSinks/ByProjectKeyImportSinksByImportSinkKeyPut.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ImportSinks/ByProjectKeyImportSinksByImportSinkKeyPut.cs index 983e0efd773..757b0768bc0 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ImportSinks/ByProjectKeyImportSinksByImportSinkKeyPut.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ImportSinks/ByProjectKeyImportSinksByImportSinkKeyPut.cs @@ -22,13 +22,13 @@ public partial class ByProjectKeyImportSinksByImportSinkKeyPut : ApiMethod Date: Fri, 23 Jul 2021 05:12:22 +0000 Subject: [PATCH 3/4] TASK: Updating SDK --- .../commercetools.Sdk.Api/Generated/gen.properties | 2 +- ...riesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...mersImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...riesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...chesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...dersImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...icesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...aftsImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...ypesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...chesImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...antsImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ ...uctsImportSinkKeyByImportSinkKeyImportOperationsGet.cs | 8 ++++++++ .../Generated/Models/Importoperations/IImportOperation.cs | 2 ++ .../Generated/Models/Importoperations/ImportOperation.cs | 2 ++ .../commercetools.Sdk.ImportApi/Generated/gen.properties | 2 +- .../commercetools.Sdk.MLApi/Generated/gen.properties | 2 +- 16 files changed, 95 insertions(+), 3 deletions(-) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties index 88ad644128f..5ed608a3304 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties @@ -1 +1 @@ -hash=849facb1528f28b6fdf8a93cfbaab1764712de67 +hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Categories/ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Categories/ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index 4e1ed39704c..5a053b1d1ac 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Categories/ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Categories/ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet Wit public ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Customers/ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Customers/ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet.cs index 15035a002d4..0d28e5cdbcc 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Customers/ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Customers/ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet With public ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Inventories/ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Inventories/ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index fe393f7a220..8790f090312 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Inventories/ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Inventories/ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet Wi public ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/OrderPatches/ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/OrderPatches/ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index c1615246e12..1bced4c0fe7 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/OrderPatches/ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/OrderPatches/ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet W public ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Orders/ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Orders/ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet.cs index 524a13669b6..58c7b47dae4 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Orders/ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Orders/ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet WithRes public ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Prices/ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Prices/ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index a7663eb5faf..39a595bb2df 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Prices/ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Prices/ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet WithRes public ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductDrafts/ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductDrafts/ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet.cs index e0ca3c41fd2..16f4b653b80 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductDrafts/ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductDrafts/ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet public ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductTypes/ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductTypes/ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index c3a1e98b3c6..af176f14d6c 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductTypes/ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductTypes/ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet W public ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariant/ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariant/ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs index ed22c93805e..ab97ca6f3f5 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariant/ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariant/ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperat public ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariants/ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariants/ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet.cs index 849eaf444c9..3840d525d8d 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariants/ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/ProductVariants/ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGe public ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Products/ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Products/ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet.cs index e0abb6cc731..343ee00939a 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Products/ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Client/RequestBuilders/Products/ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet.cs @@ -49,6 +49,10 @@ public List GetResourceKey() { public List GetState() { return this.GetQueryParam("state"); } + + public List GetDebug() { + return this.GetQueryParam("debug"); + } public ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet WithLimit(double limit){ return this.AddQueryParam("limit", limit.ToString()); @@ -69,6 +73,10 @@ public ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet WithR public ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet WithState(IProcessingState state){ return this.AddQueryParam("state", state.ToString()); } + + public ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsGet WithDebug(bool debug){ + return this.AddQueryParam("debug", debug.ToString()); + } public async Task ExecuteAsync() { diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/IImportOperation.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/IImportOperation.cs index 4b14b7756ed..4d2410ced04 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/IImportOperation.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/IImportOperation.cs @@ -26,6 +26,8 @@ public partial interface IImportOperation List Errors { get; set;} + List UnresolvedReferences { get; set;} + DateTime CreatedAt { get; set;} DateTime LastModifiedAt { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/ImportOperation.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/ImportOperation.cs index 74687b96bc8..14b4b2db089 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/ImportOperation.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Importoperations/ImportOperation.cs @@ -25,6 +25,8 @@ public partial class ImportOperation : IImportOperation public List Errors { get; set;} + public List UnresolvedReferences { get; set;} + public DateTime CreatedAt { get; set;} public DateTime LastModifiedAt { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties index 88ad644128f..5ed608a3304 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties @@ -1 +1 @@ -hash=849facb1528f28b6fdf8a93cfbaab1764712de67 +hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 diff --git a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties index 88ad644128f..5ed608a3304 100644 --- a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties @@ -1 +1 @@ -hash=849facb1528f28b6fdf8a93cfbaab1764712de67 +hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 From 8a8b6b7b33ccd70b2bc8620cce8c27a5e4eb195c Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Thu, 29 Jul 2021 10:30:52 +0000 Subject: [PATCH 4/4] TASK: Updating SDK --- .../Models/Orders/IOrderImportDraft.cs | 2 +- .../Models/Orders/OrderImportDraft.cs | 2 +- .../Generated/Models/Projects/IProject.cs | 2 ++ ...ProjectChangeShoppingListsConfiguration.cs | 16 ++++++++++++++ .../Models/Projects/IProjectUpdateAction.cs | 1 + .../Projects/IShoppingListsConfiguration.cs | 15 +++++++++++++ .../Generated/Models/Projects/Project.cs | 2 ++ ...ProjectChangeShoppingListsConfiguration.cs | 21 +++++++++++++++++++ .../Projects/ShoppingListsConfiguration.cs | 14 +++++++++++++ .../Generated/gen.properties | 2 +- .../Generated/gen.properties | 2 +- .../Generated/gen.properties | 2 +- 12 files changed, 76 insertions(+), 5 deletions(-) create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectChangeShoppingListsConfiguration.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IShoppingListsConfiguration.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ProjectChangeShoppingListsConfiguration.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ShoppingListsConfiguration.cs diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IOrderImportDraft.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IOrderImportDraft.cs index 4107b0629e6..920f47f3592 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IOrderImportDraft.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IOrderImportDraft.cs @@ -24,7 +24,7 @@ public partial interface IOrderImportDraft List LineItems { get; set;} - List CustomLineItems { get; set;} + List CustomLineItems { get; set;} IMoney TotalPrice { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/OrderImportDraft.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/OrderImportDraft.cs index c63aeb38415..b959679500d 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/OrderImportDraft.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/OrderImportDraft.cs @@ -23,7 +23,7 @@ public partial class OrderImportDraft : IOrderImportDraft public List LineItems { get; set;} - public List CustomLineItems { get; set;} + public List CustomLineItems { get; set;} public IMoney TotalPrice { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProject.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProject.cs index 732acc0348e..937bd04a534 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProject.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProject.cs @@ -37,5 +37,7 @@ public partial interface IProject ICartsConfiguration Carts { get; set;} ISearchIndexingConfiguration SearchIndexing { get; set;} + + IShoppingListsConfiguration ShoppingLists { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectChangeShoppingListsConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectChangeShoppingListsConfiguration.cs new file mode 100644 index 00000000000..1d2602d66fd --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectChangeShoppingListsConfiguration.cs @@ -0,0 +1,16 @@ +using commercetools.Api.Models.Projects; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json.Serialization; +using commercetools.Base.CustomAttributes; + + +namespace commercetools.Api.Models.Projects +{ + [DeserializeAs(typeof(commercetools.Api.Models.Projects.ProjectChangeShoppingListsConfiguration))] + public partial interface IProjectChangeShoppingListsConfiguration : IProjectUpdateAction + { + IShoppingListsConfiguration ShoppingListsConfiguration { get; set;} + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectUpdateAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectUpdateAction.cs index 57743c4df35..ef0b335b8e3 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectUpdateAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IProjectUpdateAction.cs @@ -17,6 +17,7 @@ namespace commercetools.Api.Models.Projects [SubTypeDiscriminator("changeMessagesEnabled", typeof(commercetools.Api.Models.Projects.ProjectChangeMessagesEnabledAction))] [SubTypeDiscriminator("changeName", typeof(commercetools.Api.Models.Projects.ProjectChangeNameAction))] [SubTypeDiscriminator("changeProductSearchIndexingEnabled", typeof(commercetools.Api.Models.Projects.ProjectChangeProductSearchIndexingEnabledAction))] + [SubTypeDiscriminator("changeShoppingListsConfiguration", typeof(commercetools.Api.Models.Projects.ProjectChangeShoppingListsConfiguration))] [SubTypeDiscriminator("setExternalOAuth", typeof(commercetools.Api.Models.Projects.ProjectSetExternalOAuthAction))] [SubTypeDiscriminator("setShippingRateInputType", typeof(commercetools.Api.Models.Projects.ProjectSetShippingRateInputTypeAction))] public partial interface IProjectUpdateAction diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IShoppingListsConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IShoppingListsConfiguration.cs new file mode 100644 index 00000000000..d9d0b787988 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/IShoppingListsConfiguration.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json.Serialization; +using commercetools.Base.CustomAttributes; + + +namespace commercetools.Api.Models.Projects +{ + [DeserializeAs(typeof(commercetools.Api.Models.Projects.ShoppingListsConfiguration))] + public partial interface IShoppingListsConfiguration + { + long? DeleteDaysAfterLastModification { get; set;} + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/Project.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/Project.cs index 2aede88e98f..303a2d65787 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/Project.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/Project.cs @@ -36,5 +36,7 @@ public partial class Project : IProject public ICartsConfiguration Carts { get; set;} public ISearchIndexingConfiguration SearchIndexing { get; set;} + + public IShoppingListsConfiguration ShoppingLists { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ProjectChangeShoppingListsConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ProjectChangeShoppingListsConfiguration.cs new file mode 100644 index 00000000000..d8d482c68bc --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ProjectChangeShoppingListsConfiguration.cs @@ -0,0 +1,21 @@ +using commercetools.Api.Models.Projects; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json.Serialization; +using commercetools.Base.CustomAttributes; + + +namespace commercetools.Api.Models.Projects +{ + public partial class ProjectChangeShoppingListsConfiguration : IProjectChangeShoppingListsConfiguration + { + public string Action { get; set;} + + public IShoppingListsConfiguration ShoppingListsConfiguration { get; set;} + public ProjectChangeShoppingListsConfiguration() + { + this.Action = "changeShoppingListsConfiguration"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ShoppingListsConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ShoppingListsConfiguration.cs new file mode 100644 index 00000000000..fa7c7cdeeb0 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Projects/ShoppingListsConfiguration.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json.Serialization; +using commercetools.Base.CustomAttributes; + + +namespace commercetools.Api.Models.Projects +{ + public partial class ShoppingListsConfiguration : IShoppingListsConfiguration + { + public long? DeleteDaysAfterLastModification { get; set;} + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties index 5ed608a3304..3bcd76e07fa 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties @@ -1 +1 @@ -hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 +hash=54444c4eae550cc5db7327b4047c36aa5f064bf7 diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties index 5ed608a3304..3bcd76e07fa 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties @@ -1 +1 @@ -hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 +hash=54444c4eae550cc5db7327b4047c36aa5f064bf7 diff --git a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties index 5ed608a3304..3bcd76e07fa 100644 --- a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties @@ -1 +1 @@ -hash=fb13f27734a85b4031697189aeec21d0d8d2eef9 +hash=54444c4eae550cc5db7327b4047c36aa5f064bf7