@@ -320,6 +320,8 @@ export type AuthenticationMethod = Node & {
320320export type AuthenticationResult = CurrentUser | InvalidCredentialsError ;
321321
322322export type BooleanCustomFieldConfig = CustomField & {
323+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
324+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
323325 description ?: Maybe < Array < LocalizedString > > ;
324326 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
325327 label ?: Maybe < Array < LocalizedString > > ;
@@ -869,7 +871,7 @@ export type CreateProductInput = {
869871export type CreateProductOptionGroupInput = {
870872 code : Scalars [ 'String' ] [ 'input' ] ;
871873 customFields ?: InputMaybe < Scalars [ 'JSON' ] [ 'input' ] > ;
872- options : Array < CreateGroupOptionInput > ;
874+ options ?: InputMaybe < Array < CreateGroupOptionInput > > ;
873875 translations : Array < ProductOptionGroupTranslationInput > ;
874876} ;
875877
@@ -1324,6 +1326,8 @@ export type CurrentUserChannel = {
13241326} ;
13251327
13261328export type CustomField = {
1329+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
1330+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
13271331 description ?: Maybe < Array < LocalizedString > > ;
13281332 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
13291333 label ?: Maybe < Array < LocalizedString > > ;
@@ -1529,6 +1533,8 @@ export type DateRange = {
15291533 * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
15301534 */
15311535export type DateTimeCustomFieldConfig = CustomField & {
1536+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
1537+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
15321538 description ?: Maybe < Array < LocalizedString > > ;
15331539 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
15341540 label ?: Maybe < Array < LocalizedString > > ;
@@ -1865,6 +1871,8 @@ export type FacetValueTranslationInput = {
18651871} ;
18661872
18671873export type FloatCustomFieldConfig = CustomField & {
1874+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
1875+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
18681876 description ?: Maybe < Array < LocalizedString > > ;
18691877 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
18701878 label ?: Maybe < Array < LocalizedString > > ;
@@ -2072,6 +2080,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
20722080} ;
20732081
20742082export type IntCustomFieldConfig = CustomField & {
2083+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
2084+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
20752085 description ?: Maybe < Array < LocalizedString > > ;
20762086 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
20772087 label ?: Maybe < Array < LocalizedString > > ;
@@ -2540,6 +2550,8 @@ export type LanguageNotAvailableError = ErrorResult & {
25402550} ;
25412551
25422552export type LocaleStringCustomFieldConfig = CustomField & {
2553+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
2554+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
25432555 description ?: Maybe < Array < LocalizedString > > ;
25442556 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
25452557 label ?: Maybe < Array < LocalizedString > > ;
@@ -2555,6 +2567,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
25552567} ;
25562568
25572569export type LocaleTextCustomFieldConfig = CustomField & {
2570+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
2571+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
25582572 description ?: Maybe < Array < LocalizedString > > ;
25592573 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
25602574 label ?: Maybe < Array < LocalizedString > > ;
@@ -2759,6 +2773,8 @@ export type Mutation = {
27592773 createDraftOrder : Order ;
27602774 /** Create a new Facet */
27612775 createFacet : Facet ;
2776+ /** Create a single FacetValue */
2777+ createFacetValue : FacetValue ;
27622778 /** Create one or more FacetValues */
27632779 createFacetValues : Array < FacetValue > ;
27642780 /** Create existing PaymentMethod */
@@ -2956,6 +2972,10 @@ export type Mutation = {
29562972 setOrderCustomFields ?: Maybe < Order > ;
29572973 /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
29582974 setOrderCustomer ?: Maybe < Order > ;
2975+ /** Set a single key-value pair (automatically scoped based on field configuration) */
2976+ setSettingsStoreValue : SetSettingsStoreValueResult ;
2977+ /** Set multiple key-value pairs in a transaction (each automatically scoped) */
2978+ setSettingsStoreValues : Array < SetSettingsStoreValueResult > ;
29592979 settlePayment : SettlePaymentResult ;
29602980 settleRefund : SettleRefundResult ;
29612981 transitionFulfillmentToState : TransitionFulfillmentToStateResult ;
@@ -2986,6 +3006,8 @@ export type Mutation = {
29863006 updateCustomerNote : HistoryEntry ;
29873007 /** Update an existing Facet */
29883008 updateFacet : Facet ;
3009+ /** Update a single FacetValue */
3010+ updateFacetValue : FacetValue ;
29893011 /** Update one or more FacetValues */
29903012 updateFacetValues : Array < FacetValue > ;
29913013 updateGlobalSettings : UpdateGlobalSettingsResult ;
@@ -3173,6 +3195,10 @@ export type MutationCreateFacetArgs = {
31733195 input : CreateFacetInput ;
31743196} ;
31753197
3198+ export type MutationCreateFacetValueArgs = {
3199+ input : CreateFacetValueInput ;
3200+ } ;
3201+
31763202export type MutationCreateFacetValuesArgs = {
31773203 input : Array < CreateFacetValueInput > ;
31783204} ;
@@ -3579,6 +3605,14 @@ export type MutationSetOrderCustomerArgs = {
35793605 input : SetOrderCustomerInput ;
35803606} ;
35813607
3608+ export type MutationSetSettingsStoreValueArgs = {
3609+ input : SettingsStoreInput ;
3610+ } ;
3611+
3612+ export type MutationSetSettingsStoreValuesArgs = {
3613+ inputs : Array < SettingsStoreInput > ;
3614+ } ;
3615+
35823616export type MutationSettlePaymentArgs = {
35833617 id : Scalars [ 'ID' ] [ 'input' ] ;
35843618} ;
@@ -3654,6 +3688,10 @@ export type MutationUpdateFacetArgs = {
36543688 input : UpdateFacetInput ;
36553689} ;
36563690
3691+ export type MutationUpdateFacetValueArgs = {
3692+ input : UpdateFacetValueInput ;
3693+ } ;
3694+
36573695export type MutationUpdateFacetValuesArgs = {
36583696 input : Array < UpdateFacetValueInput > ;
36593697} ;
@@ -4996,9 +5034,14 @@ export type Query = {
49965034 /** Returns all configured EntityDuplicators. */
49975035 entityDuplicators : Array < EntityDuplicatorDefinition > ;
49985036 facet ?: Maybe < Facet > ;
5037+ facetValue ?: Maybe < FacetValue > ;
49995038 facetValues : FacetValueList ;
50005039 facets : FacetList ;
50015040 fulfillmentHandlers : Array < ConfigurableOperationDefinition > ;
5041+ /** Get value for a specific key (automatically scoped based on field configuration) */
5042+ getSettingsStoreValue ?: Maybe < Scalars [ 'JSON' ] [ 'output' ] > ;
5043+ /** Get multiple key-value pairs (each automatically scoped) */
5044+ getSettingsStoreValues ?: Maybe < Scalars [ 'JSON' ] [ 'output' ] > ;
50025045 globalSettings : GlobalSettings ;
50035046 job ?: Maybe < Job > ;
50045047 jobBufferSize : Array < JobBufferSize > ;
@@ -5123,6 +5166,10 @@ export type QueryFacetArgs = {
51235166 id : Scalars [ 'ID' ] [ 'input' ] ;
51245167} ;
51255168
5169+ export type QueryFacetValueArgs = {
5170+ id : Scalars [ 'ID' ] [ 'input' ] ;
5171+ } ;
5172+
51265173export type QueryFacetValuesArgs = {
51275174 options ?: InputMaybe < FacetValueListOptions > ;
51285175} ;
@@ -5131,6 +5178,14 @@ export type QueryFacetsArgs = {
51315178 options ?: InputMaybe < FacetListOptions > ;
51325179} ;
51335180
5181+ export type QueryGetSettingsStoreValueArgs = {
5182+ key : Scalars [ 'String' ] [ 'input' ] ;
5183+ } ;
5184+
5185+ export type QueryGetSettingsStoreValuesArgs = {
5186+ keys : Array < Scalars [ 'String' ] [ 'input' ] > ;
5187+ } ;
5188+
51345189export type QueryJobArgs = {
51355190 jobId : Scalars [ 'ID' ] [ 'input' ] ;
51365191} ;
@@ -5403,6 +5458,8 @@ export type RegionTranslation = {
54035458} ;
54045459
54055460export type RelationCustomFieldConfig = CustomField & {
5461+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
5462+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
54065463 description ?: Maybe < Array < LocalizedString > > ;
54075464 entity : Scalars [ 'String' ] [ 'output' ] ;
54085465 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
@@ -5696,6 +5753,17 @@ export type SetOrderShippingMethodResult =
56965753 | Order
56975754 | OrderModificationError ;
56985755
5756+ export type SetSettingsStoreValueResult = {
5757+ error ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
5758+ key : Scalars [ 'String' ] [ 'output' ] ;
5759+ result : Scalars [ 'Boolean' ] [ 'output' ] ;
5760+ } ;
5761+
5762+ export type SettingsStoreInput = {
5763+ key : Scalars [ 'String' ] [ 'input' ] ;
5764+ value : Scalars [ 'JSON' ] [ 'input' ] ;
5765+ } ;
5766+
56995767/** Returned if the Payment settlement fails */
57005768export type SettlePaymentError = ErrorResult & {
57015769 errorCode : ErrorCode ;
@@ -5926,6 +5994,8 @@ export enum StockMovementType {
59265994}
59275995
59285996export type StringCustomFieldConfig = CustomField & {
5997+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
5998+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
59295999 description ?: Maybe < Array < LocalizedString > > ;
59306000 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
59316001 label ?: Maybe < Array < LocalizedString > > ;
@@ -5976,6 +6046,8 @@ export type StringStructFieldConfig = StructField & {
59766046} ;
59776047
59786048export type StructCustomFieldConfig = CustomField & {
6049+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
6050+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
59796051 description ?: Maybe < Array < LocalizedString > > ;
59806052 fields : Array < StructFieldConfig > ;
59816053 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
@@ -6201,6 +6273,8 @@ export type TestShippingMethodResult = {
62016273} ;
62026274
62036275export type TextCustomFieldConfig = CustomField & {
6276+ deprecated ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
6277+ deprecationReason ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
62046278 description ?: Maybe < Array < LocalizedString > > ;
62056279 internal ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
62066280 label ?: Maybe < Array < LocalizedString > > ;
@@ -6391,6 +6465,14 @@ export type UpdateOrderInput = {
63916465 id : Scalars [ 'ID' ] [ 'input' ] ;
63926466} ;
63936467
6468+ /** Union type of all possible errors that can occur when adding or removing items from an Order. */
6469+ export type UpdateOrderItemErrorResult =
6470+ | InsufficientStockError
6471+ | NegativeQuantityError
6472+ | OrderInterceptorError
6473+ | OrderLimitError
6474+ | OrderModificationError ;
6475+
63946476export type UpdateOrderItemsResult =
63956477 | InsufficientStockError
63966478 | NegativeQuantityError
0 commit comments