|
|
@@ -823,9 +823,14 @@ export type CreateProductOptionInput = {
|
|
|
translations: Array<ProductOptionGroupTranslationInput>;
|
|
|
};
|
|
|
|
|
|
+export type CreateProductVariantCustomFieldsInput = {
|
|
|
+ gtin?: InputMaybe<Scalars['String']>;
|
|
|
+ weight?: InputMaybe<Scalars['Int']>;
|
|
|
+};
|
|
|
+
|
|
|
export type CreateProductVariantInput = {
|
|
|
assetIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
|
- customFields?: InputMaybe<Scalars['JSON']>;
|
|
|
+ customFields?: InputMaybe<CreateProductVariantCustomFieldsInput>;
|
|
|
facetValueIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
|
featuredAssetId?: InputMaybe<Scalars['ID']>;
|
|
|
optionIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
|
@@ -4491,7 +4496,7 @@ export type ProductVariant = Node & {
|
|
|
channels: Array<Channel>;
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
currencyCode: CurrencyCode;
|
|
|
- customFields?: Maybe<Scalars['JSON']>;
|
|
|
+ customFields?: Maybe<ProductVariantCustomFields>;
|
|
|
enabled: Scalars['Boolean'];
|
|
|
facetValues: Array<FacetValue>;
|
|
|
featuredAsset?: Maybe<Asset>;
|
|
|
@@ -4525,11 +4530,18 @@ export type ProductVariantStockMovementsArgs = {
|
|
|
options?: InputMaybe<StockMovementListOptions>;
|
|
|
};
|
|
|
|
|
|
+export type ProductVariantCustomFields = {
|
|
|
+ __typename?: 'ProductVariantCustomFields';
|
|
|
+ gtin?: Maybe<Scalars['String']>;
|
|
|
+ weight?: Maybe<Scalars['Int']>;
|
|
|
+};
|
|
|
+
|
|
|
export type ProductVariantFilterParameter = {
|
|
|
createdAt?: InputMaybe<DateOperators>;
|
|
|
currencyCode?: InputMaybe<StringOperators>;
|
|
|
enabled?: InputMaybe<BooleanOperators>;
|
|
|
facetValueId?: InputMaybe<IdOperators>;
|
|
|
+ gtin?: InputMaybe<StringOperators>;
|
|
|
id?: InputMaybe<IdOperators>;
|
|
|
languageCode?: InputMaybe<StringOperators>;
|
|
|
name?: InputMaybe<StringOperators>;
|
|
|
@@ -4544,6 +4556,7 @@ export type ProductVariantFilterParameter = {
|
|
|
trackInventory?: InputMaybe<StringOperators>;
|
|
|
updatedAt?: InputMaybe<DateOperators>;
|
|
|
useGlobalOutOfStockThreshold?: InputMaybe<BooleanOperators>;
|
|
|
+ weight?: InputMaybe<NumberOperators>;
|
|
|
};
|
|
|
|
|
|
export type ProductVariantList = PaginatedList & {
|
|
|
@@ -4567,6 +4580,7 @@ export type ProductVariantListOptions = {
|
|
|
|
|
|
export type ProductVariantSortParameter = {
|
|
|
createdAt?: InputMaybe<SortOrder>;
|
|
|
+ gtin?: InputMaybe<SortOrder>;
|
|
|
id?: InputMaybe<SortOrder>;
|
|
|
name?: InputMaybe<SortOrder>;
|
|
|
outOfStockThreshold?: InputMaybe<SortOrder>;
|
|
|
@@ -4578,6 +4592,7 @@ export type ProductVariantSortParameter = {
|
|
|
stockLevel?: InputMaybe<SortOrder>;
|
|
|
stockOnHand?: InputMaybe<SortOrder>;
|
|
|
updatedAt?: InputMaybe<SortOrder>;
|
|
|
+ weight?: InputMaybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
export type ProductVariantTranslation = {
|
|
|
@@ -6132,9 +6147,14 @@ export type UpdateProductOptionInput = {
|
|
|
translations?: InputMaybe<Array<ProductOptionGroupTranslationInput>>;
|
|
|
};
|
|
|
|
|
|
+export type UpdateProductVariantCustomFieldsInput = {
|
|
|
+ gtin?: InputMaybe<Scalars['String']>;
|
|
|
+ weight?: InputMaybe<Scalars['Int']>;
|
|
|
+};
|
|
|
+
|
|
|
export type UpdateProductVariantInput = {
|
|
|
assetIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
|
- customFields?: InputMaybe<Scalars['JSON']>;
|
|
|
+ customFields?: InputMaybe<UpdateProductVariantCustomFieldsInput>;
|
|
|
enabled?: InputMaybe<Scalars['Boolean']>;
|
|
|
facetValueIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
|
featuredAssetId?: InputMaybe<Scalars['ID']>;
|