@vendure/admin-ui 3.4.3-master-202509260228 → 3.5.0-minor-202510012036

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -316,6 +316,8 @@ export type AuthenticationMethod = Node & {
316
316
  export type AuthenticationResult = CurrentUser | InvalidCredentialsError;
317
317
  export type BooleanCustomFieldConfig = CustomField & {
318
318
  __typename?: 'BooleanCustomFieldConfig';
319
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
320
+ deprecationReason?: Maybe<Scalars['String']['output']>;
319
321
  description?: Maybe<Array<LocalizedString>>;
320
322
  internal?: Maybe<Scalars['Boolean']['output']>;
321
323
  label?: Maybe<Array<LocalizedString>>;
@@ -1263,6 +1265,8 @@ export type CurrentUserChannelInput = {
1263
1265
  token: Scalars['String']['input'];
1264
1266
  };
1265
1267
  export type CustomField = {
1268
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
1269
+ deprecationReason?: Maybe<Scalars['String']['output']>;
1266
1270
  description?: Maybe<Array<LocalizedString>>;
1267
1271
  internal?: Maybe<Scalars['Boolean']['output']>;
1268
1272
  label?: Maybe<Array<LocalizedString>>;
@@ -1445,6 +1449,8 @@ export type DateRange = {
1445
1449
  */
1446
1450
  export type DateTimeCustomFieldConfig = CustomField & {
1447
1451
  __typename?: 'DateTimeCustomFieldConfig';
1452
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
1453
+ deprecationReason?: Maybe<Scalars['String']['output']>;
1448
1454
  description?: Maybe<Array<LocalizedString>>;
1449
1455
  internal?: Maybe<Scalars['Boolean']['output']>;
1450
1456
  label?: Maybe<Array<LocalizedString>>;
@@ -1762,6 +1768,8 @@ export type FacetValueTranslationInput = {
1762
1768
  };
1763
1769
  export type FloatCustomFieldConfig = CustomField & {
1764
1770
  __typename?: 'FloatCustomFieldConfig';
1771
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
1772
+ deprecationReason?: Maybe<Scalars['String']['output']>;
1765
1773
  description?: Maybe<Array<LocalizedString>>;
1766
1774
  internal?: Maybe<Scalars['Boolean']['output']>;
1767
1775
  label?: Maybe<Array<LocalizedString>>;
@@ -1961,6 +1969,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
1961
1969
  };
1962
1970
  export type IntCustomFieldConfig = CustomField & {
1963
1971
  __typename?: 'IntCustomFieldConfig';
1972
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
1973
+ deprecationReason?: Maybe<Scalars['String']['output']>;
1964
1974
  description?: Maybe<Array<LocalizedString>>;
1965
1975
  internal?: Maybe<Scalars['Boolean']['output']>;
1966
1976
  label?: Maybe<Array<LocalizedString>>;
@@ -2090,10 +2100,6 @@ export declare enum JobState {
2090
2100
  RETRYING = "RETRYING",
2091
2101
  RUNNING = "RUNNING"
2092
2102
  }
2093
- export type KeyValueInput = {
2094
- key: Scalars['String']['input'];
2095
- value: Scalars['JSON']['input'];
2096
- };
2097
2103
  /**
2098
2104
  * @description
2099
2105
  * Languages in the form of a ISO 639-1 language code with optional
@@ -2428,6 +2434,8 @@ export type LanguageNotAvailableError = ErrorResult & {
2428
2434
  };
2429
2435
  export type LocaleStringCustomFieldConfig = CustomField & {
2430
2436
  __typename?: 'LocaleStringCustomFieldConfig';
2437
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
2438
+ deprecationReason?: Maybe<Scalars['String']['output']>;
2431
2439
  description?: Maybe<Array<LocalizedString>>;
2432
2440
  internal?: Maybe<Scalars['Boolean']['output']>;
2433
2441
  label?: Maybe<Array<LocalizedString>>;
@@ -2443,6 +2451,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
2443
2451
  };
2444
2452
  export type LocaleTextCustomFieldConfig = CustomField & {
2445
2453
  __typename?: 'LocaleTextCustomFieldConfig';
2454
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
2455
+ deprecationReason?: Maybe<Scalars['String']['output']>;
2446
2456
  description?: Maybe<Array<LocalizedString>>;
2447
2457
  internal?: Maybe<Scalars['Boolean']['output']>;
2448
2458
  label?: Maybe<Array<LocalizedString>>;
@@ -2624,6 +2634,8 @@ export type Mutation = {
2624
2634
  createDraftOrder: Order;
2625
2635
  /** Create a new Facet */
2626
2636
  createFacet: Facet;
2637
+ /** Create a single FacetValue */
2638
+ createFacetValue: FacetValue;
2627
2639
  /** Create one or more FacetValues */
2628
2640
  createFacetValues: Array<FacetValue>;
2629
2641
  /** Create existing PaymentMethod */
@@ -2815,10 +2827,6 @@ export type Mutation = {
2815
2827
  setDraftOrderShippingAddress: Order;
2816
2828
  /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
2817
2829
  setDraftOrderShippingMethod: SetOrderShippingMethodResult;
2818
- /** Set a single key-value pair (automatically scoped based on field configuration) */
2819
- setKeyValue: SetKeyValueResult;
2820
- /** Set multiple key-value pairs in a transaction (each automatically scoped) */
2821
- setKeyValues: Array<SetKeyValueResult>;
2822
2830
  setMainNavExpanded: Scalars['Boolean']['output'];
2823
2831
  setOrderCustomFields?: Maybe<Order>;
2824
2832
  /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
@@ -2860,6 +2868,8 @@ export type Mutation = {
2860
2868
  updateCustomerNote: HistoryEntry;
2861
2869
  /** Update an existing Facet */
2862
2870
  updateFacet: Facet;
2871
+ /** Update a single FacetValue */
2872
+ updateFacetValue: FacetValue;
2863
2873
  /** Update one or more FacetValues */
2864
2874
  updateFacetValues: Array<FacetValue>;
2865
2875
  updateGlobalSettings: UpdateGlobalSettingsResult;
@@ -3008,6 +3018,9 @@ export type MutationCreateCustomerGroupArgs = {
3008
3018
  export type MutationCreateFacetArgs = {
3009
3019
  input: CreateFacetInput;
3010
3020
  };
3021
+ export type MutationCreateFacetValueArgs = {
3022
+ input: CreateFacetValueInput;
3023
+ };
3011
3024
  export type MutationCreateFacetValuesArgs = {
3012
3025
  input: Array<CreateFacetValueInput>;
3013
3026
  };
@@ -3307,12 +3320,6 @@ export type MutationSetDraftOrderShippingMethodArgs = {
3307
3320
  orderId: Scalars['ID']['input'];
3308
3321
  shippingMethodId: Scalars['ID']['input'];
3309
3322
  };
3310
- export type MutationSetKeyValueArgs = {
3311
- input: KeyValueInput;
3312
- };
3313
- export type MutationSetKeyValuesArgs = {
3314
- inputs: Array<KeyValueInput>;
3315
- };
3316
3323
  export type MutationSetMainNavExpandedArgs = {
3317
3324
  expanded: Scalars['Boolean']['input'];
3318
3325
  };
@@ -3394,6 +3401,9 @@ export type MutationUpdateCustomerNoteArgs = {
3394
3401
  export type MutationUpdateFacetArgs = {
3395
3402
  input: UpdateFacetInput;
3396
3403
  };
3404
+ export type MutationUpdateFacetValueArgs = {
3405
+ input: UpdateFacetValueInput;
3406
+ };
3397
3407
  export type MutationUpdateFacetValuesArgs = {
3398
3408
  input: Array<UpdateFacetValueInput>;
3399
3409
  };
@@ -4236,6 +4246,17 @@ export type ProductOption = Node & {
4236
4246
  translations: Array<ProductOptionTranslation>;
4237
4247
  updatedAt: Scalars['DateTime']['output'];
4238
4248
  };
4249
+ export type ProductOptionFilterParameter = {
4250
+ _and?: InputMaybe<Array<ProductOptionFilterParameter>>;
4251
+ _or?: InputMaybe<Array<ProductOptionFilterParameter>>;
4252
+ code?: InputMaybe<StringOperators>;
4253
+ createdAt?: InputMaybe<DateOperators>;
4254
+ groupId?: InputMaybe<IdOperators>;
4255
+ id?: InputMaybe<IdOperators>;
4256
+ languageCode?: InputMaybe<StringOperators>;
4257
+ name?: InputMaybe<StringOperators>;
4258
+ updatedAt?: InputMaybe<DateOperators>;
4259
+ };
4239
4260
  export type ProductOptionGroup = Node & {
4240
4261
  __typename?: 'ProductOptionGroup';
4241
4262
  code: Scalars['String']['output'];
@@ -4269,6 +4290,31 @@ export type ProductOptionInUseError = ErrorResult & {
4269
4290
  optionGroupCode: Scalars['String']['output'];
4270
4291
  productVariantCount: Scalars['Int']['output'];
4271
4292
  };
4293
+ export type ProductOptionList = PaginatedList & {
4294
+ __typename?: 'ProductOptionList';
4295
+ items: Array<ProductOption>;
4296
+ totalItems: Scalars['Int']['output'];
4297
+ };
4298
+ export type ProductOptionListOptions = {
4299
+ /** Allows the results to be filtered */
4300
+ filter?: InputMaybe<ProductOptionFilterParameter>;
4301
+ /** Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND. */
4302
+ filterOperator?: InputMaybe<LogicalOperator>;
4303
+ /** Skips the first n results, for use in pagination */
4304
+ skip?: InputMaybe<Scalars['Int']['input']>;
4305
+ /** Specifies which properties to sort the results by */
4306
+ sort?: InputMaybe<ProductOptionSortParameter>;
4307
+ /** Takes n results, for use in pagination */
4308
+ take?: InputMaybe<Scalars['Int']['input']>;
4309
+ };
4310
+ export type ProductOptionSortParameter = {
4311
+ code?: InputMaybe<SortOrder>;
4312
+ createdAt?: InputMaybe<SortOrder>;
4313
+ groupId?: InputMaybe<SortOrder>;
4314
+ id?: InputMaybe<SortOrder>;
4315
+ name?: InputMaybe<SortOrder>;
4316
+ updatedAt?: InputMaybe<SortOrder>;
4317
+ };
4272
4318
  export type ProductOptionTranslation = {
4273
4319
  __typename?: 'ProductOptionTranslation';
4274
4320
  createdAt: Scalars['DateTime']['output'];
@@ -4591,14 +4637,11 @@ export type Query = {
4591
4637
  /** Returns all configured EntityDuplicators. */
4592
4638
  entityDuplicators: Array<EntityDuplicatorDefinition>;
4593
4639
  facet?: Maybe<Facet>;
4640
+ facetValue?: Maybe<FacetValue>;
4594
4641
  facetValues: FacetValueList;
4595
4642
  facets: FacetList;
4596
4643
  fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
4597
4644
  /** Get value for a specific key (automatically scoped based on field configuration) */
4598
- getKeyValue?: Maybe<Scalars['JSON']['output']>;
4599
- /** Get multiple key-value pairs (each automatically scoped) */
4600
- getKeyValues?: Maybe<Scalars['JSON']['output']>;
4601
- /** Get value for a specific key (automatically scoped based on field configuration) */
4602
4645
  getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
4603
4646
  /** Get multiple key-value pairs (each automatically scoped) */
4604
4647
  getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
@@ -4623,8 +4666,10 @@ export type Query = {
4623
4666
  previewCollectionVariants: ProductVariantList;
4624
4667
  /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */
4625
4668
  product?: Maybe<Product>;
4669
+ productOption?: Maybe<ProductOption>;
4626
4670
  productOptionGroup?: Maybe<ProductOptionGroup>;
4627
4671
  productOptionGroups: Array<ProductOptionGroup>;
4672
+ productOptions: ProductOptionList;
4628
4673
  /** Get a ProductVariant by id */
4629
4674
  productVariant?: Maybe<ProductVariant>;
4630
4675
  /** List ProductVariants either all or for the specific product. */
@@ -4647,6 +4692,8 @@ export type Query = {
4647
4692
  shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
4648
4693
  shippingMethod?: Maybe<ShippingMethod>;
4649
4694
  shippingMethods: ShippingMethodList;
4695
+ /** Generate slug for entity */
4696
+ slugForEntity: Scalars['String']['output'];
4650
4697
  stockLocation?: Maybe<StockLocation>;
4651
4698
  stockLocations: StockLocationList;
4652
4699
  tag: Tag;
@@ -4711,18 +4758,15 @@ export type QueryEligibleShippingMethodsForDraftOrderArgs = {
4711
4758
  export type QueryFacetArgs = {
4712
4759
  id: Scalars['ID']['input'];
4713
4760
  };
4761
+ export type QueryFacetValueArgs = {
4762
+ id: Scalars['ID']['input'];
4763
+ };
4714
4764
  export type QueryFacetValuesArgs = {
4715
4765
  options?: InputMaybe<FacetValueListOptions>;
4716
4766
  };
4717
4767
  export type QueryFacetsArgs = {
4718
4768
  options?: InputMaybe<FacetListOptions>;
4719
4769
  };
4720
- export type QueryGetKeyValueArgs = {
4721
- key: Scalars['String']['input'];
4722
- };
4723
- export type QueryGetKeyValuesArgs = {
4724
- keys: Array<Scalars['String']['input']>;
4725
- };
4726
4770
  export type QueryGetSettingsStoreValueArgs = {
4727
4771
  key: Scalars['String']['input'];
4728
4772
  };
@@ -4764,12 +4808,19 @@ export type QueryProductArgs = {
4764
4808
  id?: InputMaybe<Scalars['ID']['input']>;
4765
4809
  slug?: InputMaybe<Scalars['String']['input']>;
4766
4810
  };
4811
+ export type QueryProductOptionArgs = {
4812
+ id: Scalars['ID']['input'];
4813
+ };
4767
4814
  export type QueryProductOptionGroupArgs = {
4768
4815
  id: Scalars['ID']['input'];
4769
4816
  };
4770
4817
  export type QueryProductOptionGroupsArgs = {
4771
4818
  filterTerm?: InputMaybe<Scalars['String']['input']>;
4772
4819
  };
4820
+ export type QueryProductOptionsArgs = {
4821
+ groupId?: InputMaybe<Scalars['ID']['input']>;
4822
+ options?: InputMaybe<ProductOptionListOptions>;
4823
+ };
4773
4824
  export type QueryProductVariantArgs = {
4774
4825
  id: Scalars['ID']['input'];
4775
4826
  };
@@ -4813,6 +4864,9 @@ export type QueryShippingMethodArgs = {
4813
4864
  export type QueryShippingMethodsArgs = {
4814
4865
  options?: InputMaybe<ShippingMethodListOptions>;
4815
4866
  };
4867
+ export type QuerySlugForEntityArgs = {
4868
+ input: SlugForEntityInput;
4869
+ };
4816
4870
  export type QueryStockLocationArgs = {
4817
4871
  id: Scalars['ID']['input'];
4818
4872
  };
@@ -4946,6 +5000,8 @@ export type RegionTranslation = {
4946
5000
  };
4947
5001
  export type RelationCustomFieldConfig = CustomField & {
4948
5002
  __typename?: 'RelationCustomFieldConfig';
5003
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
5004
+ deprecationReason?: Maybe<Scalars['String']['output']>;
4949
5005
  description?: Maybe<Array<LocalizedString>>;
4950
5006
  entity: Scalars['String']['output'];
4951
5007
  internal?: Maybe<Scalars['Boolean']['output']>;
@@ -5194,12 +5250,6 @@ export type ServerConfig = {
5194
5250
  permittedAssetTypes: Array<Scalars['String']['output']>;
5195
5251
  };
5196
5252
  export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
5197
- export type SetKeyValueResult = {
5198
- __typename?: 'SetKeyValueResult';
5199
- error?: Maybe<Scalars['String']['output']>;
5200
- key: Scalars['String']['output'];
5201
- result: Scalars['Boolean']['output'];
5202
- };
5203
5253
  export type SetOrderCustomerInput = {
5204
5254
  customerId: Scalars['ID']['input'];
5205
5255
  note?: InputMaybe<Scalars['String']['input']>;
@@ -5326,6 +5376,12 @@ export type SinglePrice = {
5326
5376
  __typename?: 'SinglePrice';
5327
5377
  value: Scalars['Money']['output'];
5328
5378
  };
5379
+ export type SlugForEntityInput = {
5380
+ entityId?: InputMaybe<Scalars['ID']['input']>;
5381
+ entityName: Scalars['String']['input'];
5382
+ fieldName: Scalars['String']['input'];
5383
+ inputValue: Scalars['String']['input'];
5384
+ };
5329
5385
  export declare enum SortOrder {
5330
5386
  ASC = "ASC",
5331
5387
  DESC = "DESC"
@@ -5426,6 +5482,8 @@ export declare enum StockMovementType {
5426
5482
  }
5427
5483
  export type StringCustomFieldConfig = CustomField & {
5428
5484
  __typename?: 'StringCustomFieldConfig';
5485
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
5486
+ deprecationReason?: Maybe<Scalars['String']['output']>;
5429
5487
  description?: Maybe<Array<LocalizedString>>;
5430
5488
  internal?: Maybe<Scalars['Boolean']['output']>;
5431
5489
  label?: Maybe<Array<LocalizedString>>;
@@ -5474,6 +5532,8 @@ export type StringStructFieldConfig = StructField & {
5474
5532
  };
5475
5533
  export type StructCustomFieldConfig = CustomField & {
5476
5534
  __typename?: 'StructCustomFieldConfig';
5535
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
5536
+ deprecationReason?: Maybe<Scalars['String']['output']>;
5477
5537
  description?: Maybe<Array<LocalizedString>>;
5478
5538
  fields: Array<StructFieldConfig>;
5479
5539
  internal?: Maybe<Scalars['Boolean']['output']>;
@@ -5678,6 +5738,8 @@ export type TestShippingMethodResult = {
5678
5738
  };
5679
5739
  export type TextCustomFieldConfig = CustomField & {
5680
5740
  __typename?: 'TextCustomFieldConfig';
5741
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
5742
+ deprecationReason?: Maybe<Scalars['String']['output']>;
5681
5743
  description?: Maybe<Array<LocalizedString>>;
5682
5744
  internal?: Maybe<Scalars['Boolean']['output']>;
5683
5745
  label?: Maybe<Array<LocalizedString>>;
@@ -1 +1 @@
1
- export declare const ADMIN_UI_VERSION = "3.4.3-master-202509260228";
1
+ export declare const ADMIN_UI_VERSION = "3.5.0-minor-202510012036";