From c5ebb713695840ccb7e5055ddcd814d3e2543887 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:52:10 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 1 + .../Projects/ISearchIndexingConfiguration.cs | 2 ++ .../Projects/SearchIndexingConfiguration.cs | 2 ++ ...earchIndexingConfigurationQueryBuilderDsl.cs | 9 +++++++++ .../schema.graphqls | 17 +++++++++++++++++ references.txt | 1 + 6 files changed, 32 insertions(+) diff --git a/changes.md b/changes.md index f6b53f2cb1e..bb7b54ba35c 100644 --- a/changes.md +++ b/changes.md @@ -10,6 +10,7 @@ - added property `attributes` to type `ProductVariantTailoringDraft` - added property `attributes` to type `ProductTailoringAddVariantAction` - added property `warnings` to type `Product` +- added property `customers` to type `SearchIndexingConfiguration` diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ISearchIndexingConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ISearchIndexingConfiguration.cs index d76bada3c0f..228d7a061af 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ISearchIndexingConfiguration.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ISearchIndexingConfiguration.cs @@ -11,5 +11,7 @@ public partial interface ISearchIndexingConfiguration ISearchIndexingConfigurationValues Orders { get; set; } + ISearchIndexingConfigurationValues Customers { get; set; } + } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/SearchIndexingConfiguration.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/SearchIndexingConfiguration.cs index 6fdcf500a1c..9f894e07917 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/SearchIndexingConfiguration.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/SearchIndexingConfiguration.cs @@ -10,5 +10,7 @@ public partial class SearchIndexingConfiguration : ISearchIndexingConfiguration public ISearchIndexingConfigurationValues ProductsSearch { get; set; } public ISearchIndexingConfigurationValues Orders { get; set; } + + public ISearchIndexingConfigurationValues Customers { get; set; } } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Projects/SearchIndexingConfigurationQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Projects/SearchIndexingConfigurationQueryBuilderDsl.cs index 445282d6baf..8206f2914f0 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Projects/SearchIndexingConfigurationQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Projects/SearchIndexingConfigurationQueryBuilderDsl.cs @@ -42,6 +42,15 @@ public CombinationQueryPredicate Ord SearchIndexingConfigurationQueryBuilderDsl.Of); } + public CombinationQueryPredicate Customers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("customers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Projects.SearchIndexingConfigurationValuesQueryBuilderDsl.Of())), + SearchIndexingConfigurationQueryBuilderDsl.Of); + } + } } diff --git a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls index b4edf5ce571..7ecc938eacd 100644 --- a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls +++ b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls @@ -2618,6 +2618,10 @@ input ChangeProjectSettingsCurrencies { currencies: [Currency!]! } +input ChangeProjectSettingsCustomerSearchStatus { + status: CustomerSearchStatus! +} + input ChangeProjectSettingsLanguages { languages: [Locale!]! } @@ -3702,6 +3706,17 @@ type CustomerQueryResult { results: [Customer!]! } +type CustomerSearchConfiguration { + status: CustomerSearchStatus! + lastModifiedAt: DateTime! + lastModifiedBy: Initiator +} + +enum CustomerSearchStatus { + Activated + Deactivated +} + input CustomerSignInDraft { email: String! password: String! @@ -8993,6 +9008,7 @@ input ProjectSettingsUpdateAction { changeCountries: ChangeProjectSettingsCountries changeCountryTaxRateFallbackEnabled: ChangeProjectSettingsCountryTaxRateFallbackEnabled changeCurrencies: ChangeProjectSettingsCurrencies + changeCustomerSearchStatus: ChangeProjectSettingsCustomerSearchStatus changeLanguages: ChangeProjectSettingsLanguages changeMessagesConfiguration: ChangeProjectSettingsMessagesConfiguration changeMessagesEnabled: ChangeProjectSettingsMessagesEnabled @@ -10397,6 +10413,7 @@ input SearchFilterModelInput { type SearchIndexingConfiguration { products: SearchIndexingConfigurationValues orders: OrderSearchConfiguration + customers: CustomerSearchConfiguration } type SearchIndexingConfigurationValues { diff --git a/references.txt b/references.txt index 4cffc212aa4..bbc18c5eb90 100644 --- a/references.txt +++ b/references.txt @@ -284,3 +284,4 @@ d947f454821e0834a2c8a8605d4a0f3347c11d4e efc70952597a3160e6bb47891894b109bd82b7c3 4ee8b39787eb0f0b2d025520acdaa022122bd617 c77ec902f368c2c31505fcb65a835ce148350077 +903922e6a2dc0ff9283757645395f5119f61be0e