Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Oct 1, 2024
1 parent 87d3536 commit c5ebb71
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ public partial interface ISearchIndexingConfiguration

ISearchIndexingConfigurationValues Orders { get; set; }

ISearchIndexingConfigurationValues Customers { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ public partial class SearchIndexingConfiguration : ISearchIndexingConfiguration
public ISearchIndexingConfigurationValues ProductsSearch { get; set; }

public ISearchIndexingConfigurationValues Orders { get; set; }

public ISearchIndexingConfigurationValues Customers { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ public CombinationQueryPredicate<SearchIndexingConfigurationQueryBuilderDsl> Ord
SearchIndexingConfigurationQueryBuilderDsl.Of);
}

public CombinationQueryPredicate<SearchIndexingConfigurationQueryBuilderDsl> Customers(
Func<commercetools.Sdk.Api.Predicates.Query.Projects.SearchIndexingConfigurationValuesQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Projects.SearchIndexingConfigurationValuesQueryBuilderDsl>> fn)
{
return new CombinationQueryPredicate<SearchIndexingConfigurationQueryBuilderDsl>(ContainerQueryPredicate.Of()
.Parent(ConstantQueryPredicate.Of().Constant("customers"))
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Projects.SearchIndexingConfigurationValuesQueryBuilderDsl.Of())),
SearchIndexingConfigurationQueryBuilderDsl.Of);
}


}
}
17 changes: 17 additions & 0 deletions commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -2618,6 +2618,10 @@ input ChangeProjectSettingsCurrencies {
currencies: [Currency!]!
}

input ChangeProjectSettingsCustomerSearchStatus {
status: CustomerSearchStatus!
}

input ChangeProjectSettingsLanguages {
languages: [Locale!]!
}
Expand Down Expand Up @@ -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!
Expand Down Expand Up @@ -8993,6 +9008,7 @@ input ProjectSettingsUpdateAction {
changeCountries: ChangeProjectSettingsCountries
changeCountryTaxRateFallbackEnabled: ChangeProjectSettingsCountryTaxRateFallbackEnabled
changeCurrencies: ChangeProjectSettingsCurrencies
changeCustomerSearchStatus: ChangeProjectSettingsCustomerSearchStatus
changeLanguages: ChangeProjectSettingsLanguages
changeMessagesConfiguration: ChangeProjectSettingsMessagesConfiguration
changeMessagesEnabled: ChangeProjectSettingsMessagesEnabled
Expand Down Expand Up @@ -10397,6 +10413,7 @@ input SearchFilterModelInput {
type SearchIndexingConfiguration {
products: SearchIndexingConfigurationValues
orders: OrderSearchConfiguration
customers: CustomerSearchConfiguration
}

type SearchIndexingConfigurationValues {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,3 +284,4 @@ d947f454821e0834a2c8a8605d4a0f3347c11d4e
efc70952597a3160e6bb47891894b109bd82b7c3
4ee8b39787eb0f0b2d025520acdaa022122bd617
c77ec902f368c2c31505fcb65a835ce148350077
903922e6a2dc0ff9283757645395f5119f61be0e

0 comments on commit c5ebb71

Please sign in to comment.