@forgecart/sdk 1.202607110322.0 → 1.202607120419.0
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.
- package/dist/admin-types.generated.d.ts +18 -17
- package/dist/documents.generated.d.ts +17 -17
- package/dist/documents.generated.js +17 -0
- package/dist/shop-types.generated.d.ts +5 -4
- package/package.json +1 -1
- package/src/admin-types.generated.ts +18 -0
- package/src/documents.generated.ts +17 -0
- package/src/shop-types.generated.ts +5 -0
|
@@ -3072,6 +3072,7 @@ export type ProductTranslation = {
|
|
|
3072
3072
|
export type ProductVariant = {
|
|
3073
3073
|
assets: Array<Asset>;
|
|
3074
3074
|
createdAt: Scalars['DateTime']['output'];
|
|
3075
|
+
currencyCode: Scalars['String']['output'];
|
|
3075
3076
|
customs?: Maybe<ProductVariantCustoms>;
|
|
3076
3077
|
dimensions?: Maybe<ProductVariantDimensions>;
|
|
3077
3078
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -9275,7 +9276,7 @@ export type AddOptionGroupToProductMutation = {
|
|
|
9275
9276
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9276
9277
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9277
9278
|
})>;
|
|
9278
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9279
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9279
9280
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9280
9281
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9281
9282
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9312,7 +9313,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9312
9313
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9313
9314
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9314
9315
|
})>;
|
|
9315
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9316
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9316
9317
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9317
9318
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9318
9319
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9330,7 +9331,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9330
9331
|
});
|
|
9331
9332
|
};
|
|
9332
9333
|
export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
|
|
9333
|
-
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9334
|
+
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9334
9335
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9335
9336
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9336
9337
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9350,7 +9351,7 @@ export type AdminProductVariantQueryVariables = Exact<{
|
|
|
9350
9351
|
id: Scalars['ID']['input'];
|
|
9351
9352
|
}>;
|
|
9352
9353
|
export type AdminProductVariantQuery = {
|
|
9353
|
-
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9354
|
+
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9354
9355
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9355
9356
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9356
9357
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9370,7 +9371,7 @@ export type AdminProductVariantsQueryVariables = Exact<{
|
|
|
9370
9371
|
productId: Scalars['ID']['input'];
|
|
9371
9372
|
}>;
|
|
9372
9373
|
export type AdminProductVariantsQuery = {
|
|
9373
|
-
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9374
|
+
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9374
9375
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9375
9376
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9376
9377
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9390,7 +9391,7 @@ export type CreateProductVariantsMutationVariables = Exact<{
|
|
|
9390
9391
|
input: Array<CreateProductVariantInput> | CreateProductVariantInput;
|
|
9391
9392
|
}>;
|
|
9392
9393
|
export type CreateProductVariantsMutation = {
|
|
9393
|
-
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9394
|
+
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9394
9395
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9395
9396
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9396
9397
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9410,7 +9411,7 @@ export type UpdateProductVariantsMutationVariables = Exact<{
|
|
|
9410
9411
|
input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
|
|
9411
9412
|
}>;
|
|
9412
9413
|
export type UpdateProductVariantsMutation = {
|
|
9413
|
-
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9414
|
+
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9414
9415
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9415
9416
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9416
9417
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9455,7 +9456,7 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
|
|
|
9455
9456
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9456
9457
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9457
9458
|
})>;
|
|
9458
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9459
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9459
9460
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9460
9461
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9461
9462
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9491,7 +9492,7 @@ export type AdminProductQuery = {
|
|
|
9491
9492
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9492
9493
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9493
9494
|
})>;
|
|
9494
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9495
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9495
9496
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9496
9497
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9497
9498
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9529,7 +9530,7 @@ export type AdminProductsQuery = {
|
|
|
9529
9530
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9530
9531
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9531
9532
|
})>;
|
|
9532
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9533
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9533
9534
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9534
9535
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9535
9536
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9567,7 +9568,7 @@ export type CreateProductMutation = {
|
|
|
9567
9568
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9568
9569
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9569
9570
|
})>;
|
|
9570
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9571
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9571
9572
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9572
9573
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9573
9574
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9604,7 +9605,7 @@ export type UpdateProductMutation = {
|
|
|
9604
9605
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9605
9606
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9606
9607
|
})>;
|
|
9607
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9608
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9608
9609
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9609
9610
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9610
9611
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9647,7 +9648,7 @@ export type AssignProductsToChannelMutation = {
|
|
|
9647
9648
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9648
9649
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9649
9650
|
})>;
|
|
9650
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9651
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9651
9652
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9652
9653
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9653
9654
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9684,7 +9685,7 @@ export type RemoveProductsFromChannelMutation = {
|
|
|
9684
9685
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9685
9686
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9686
9687
|
})>;
|
|
9687
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9688
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9688
9689
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9689
9690
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9690
9691
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9763,7 +9764,7 @@ export type ProductAddOptionGroupMutation = {
|
|
|
9763
9764
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9764
9765
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9765
9766
|
})>;
|
|
9766
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9767
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9767
9768
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9768
9769
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9769
9770
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9800,7 +9801,7 @@ export type ProductRemoveOptionGroupMutation = {
|
|
|
9800
9801
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9801
9802
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9802
9803
|
})>;
|
|
9803
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9804
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9804
9805
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9805
9806
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9806
9807
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9998,7 +9999,7 @@ export type AdminSearchQueryVariables = Exact<{
|
|
|
9998
9999
|
}>;
|
|
9999
10000
|
export type AdminSearchQuery = {
|
|
10000
10001
|
search: (Pick<SearchResult, 'totalItems'> & {
|
|
10001
|
-
items: Array<(Pick<SearchResultItem, 'productId' | 'productName' | 'productVariantId' | 'productVariantName' | 'sku' | 'inStock'> & {
|
|
10002
|
+
items: Array<(Pick<SearchResultItem, 'productId' | 'productName' | 'productVariantId' | 'productVariantName' | 'sku' | 'currencyCode' | 'inStock'> & {
|
|
10002
10003
|
price: Pick<SearchResultPrice, 'min' | 'max'>;
|
|
10003
10004
|
})>;
|
|
10004
10005
|
});
|
|
@@ -282,8 +282,8 @@ export declare const adminProductOptionGroupsDocument = "query ProductOptionGrou
|
|
|
282
282
|
export declare const adminProductCreateOptionGroupDocument = "mutation ProductCreateOptionGroup($input: CreateProductOptionGroupInput!) {\n createProductOptionGroup(input: $input) {\n ...ProductOptionGroupField\n }\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}";
|
|
283
283
|
export declare const adminProductUpdateOptionGroupDocument = "mutation ProductUpdateOptionGroup($input: UpdateProductOptionGroupInput!) {\n updateProductOptionGroup(input: $input) {\n ...ProductOptionGroupField\n }\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}";
|
|
284
284
|
export declare const adminProductDeleteOptionGroupDocument = "mutation ProductDeleteOptionGroup($input: DeleteProductOptionGroupInput!) {\n deleteProductOptionGroup(input: $input) {\n result\n message\n }\n}";
|
|
285
|
-
export declare const adminProductAddOptionGroupDocument = "mutation ProductAddOptionGroup($input: AddOptionGroupToProductInput!) {\n addOptionGroupToProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
286
|
-
export declare const adminProductRemoveOptionGroupDocument = "mutation ProductRemoveOptionGroup($input: RemoveOptionGroupFromProductInput!) {\n removeOptionGroupFromProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
285
|
+
export declare const adminProductAddOptionGroupDocument = "mutation ProductAddOptionGroup($input: AddOptionGroupToProductInput!) {\n addOptionGroupToProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
286
|
+
export declare const adminProductRemoveOptionGroupDocument = "mutation ProductRemoveOptionGroup($input: RemoveOptionGroupFromProductInput!) {\n removeOptionGroupFromProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
287
287
|
export declare const adminProductCreateOptionDocument = "mutation ProductCreateOption($input: CreateProductOptionInput!) {\n createProductOption(input: $input) {\n ...ProductOptionField\n }\n}\n\nfragment ProductOptionField on ProductOption {\n id\n code\n name\n groupId\n group {\n id\n code\n name\n }\n translations {\n ...ProductOptionTranslationField\n }\n}\n\nfragment ProductOptionTranslationField on ProductOptionTranslation {\n id\n languageCode\n name\n}";
|
|
288
288
|
export declare const adminProductUpdateOptionDocument = "mutation ProductUpdateOption($input: UpdateProductOptionInput!) {\n updateProductOption(input: $input) {\n ...ProductOptionField\n }\n}\n\nfragment ProductOptionField on ProductOption {\n id\n code\n name\n groupId\n group {\n id\n code\n name\n }\n translations {\n ...ProductOptionTranslationField\n }\n}\n\nfragment ProductOptionTranslationField on ProductOptionTranslation {\n id\n languageCode\n name\n}";
|
|
289
289
|
export declare const adminProductDeleteOptionDocument = "mutation ProductDeleteOption($id: ID!) {\n deleteProductOption(id: $id) {\n result\n message\n }\n}";
|
|
@@ -295,21 +295,21 @@ export declare const adminDeleteProductOptionGroupDocument = "mutation DeletePro
|
|
|
295
295
|
export declare const adminCreateProductOptionDocument = "mutation CreateProductOption($input: CreateProductOptionInput!) {\n createProductOption(input: $input) {\n ...ProductOptionField\n }\n}\n\nfragment ProductOptionField on ProductOption {\n id\n code\n name\n groupId\n group {\n id\n code\n name\n }\n translations {\n ...ProductOptionTranslationField\n }\n}\n\nfragment ProductOptionTranslationField on ProductOptionTranslation {\n id\n languageCode\n name\n}";
|
|
296
296
|
export declare const adminUpdateProductOptionDocument = "mutation UpdateProductOption($input: UpdateProductOptionInput!) {\n updateProductOption(input: $input) {\n ...ProductOptionField\n }\n}\n\nfragment ProductOptionField on ProductOption {\n id\n code\n name\n groupId\n group {\n id\n code\n name\n }\n translations {\n ...ProductOptionTranslationField\n }\n}\n\nfragment ProductOptionTranslationField on ProductOptionTranslation {\n id\n languageCode\n name\n}";
|
|
297
297
|
export declare const adminDeleteProductOptionDocument = "mutation DeleteProductOption($id: ID!) {\n deleteProductOption(id: $id) {\n result\n message\n }\n}";
|
|
298
|
-
export declare const adminAddOptionGroupToProductDocument = "mutation AddOptionGroupToProduct($input: AddOptionGroupToProductInput!) {\n addOptionGroupToProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
299
|
-
export declare const adminRemoveOptionGroupFromProductDocument = "mutation RemoveOptionGroupFromProduct($input: RemoveOptionGroupFromProductInput!) {\n removeOptionGroupFromProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
300
|
-
export declare const adminAdminProductVariantDocument = "query AdminProductVariant($id: ID!) {\n productVariant(id: $id) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
301
|
-
export declare const adminAdminProductVariantsDocument = "query AdminProductVariants($productId: ID!) {\n productVariants(productId: $productId) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
302
|
-
export declare const adminCreateProductVariantsDocument = "mutation CreateProductVariants($input: [CreateProductVariantInput!]!) {\n createProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
303
|
-
export declare const adminUpdateProductVariantsDocument = "mutation UpdateProductVariants($input: [UpdateProductVariantInput!]!) {\n updateProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
298
|
+
export declare const adminAddOptionGroupToProductDocument = "mutation AddOptionGroupToProduct($input: AddOptionGroupToProductInput!) {\n addOptionGroupToProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
299
|
+
export declare const adminRemoveOptionGroupFromProductDocument = "mutation RemoveOptionGroupFromProduct($input: RemoveOptionGroupFromProductInput!) {\n removeOptionGroupFromProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
300
|
+
export declare const adminAdminProductVariantDocument = "query AdminProductVariant($id: ID!) {\n productVariant(id: $id) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
301
|
+
export declare const adminAdminProductVariantsDocument = "query AdminProductVariants($productId: ID!) {\n productVariants(productId: $productId) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
302
|
+
export declare const adminCreateProductVariantsDocument = "mutation CreateProductVariants($input: [CreateProductVariantInput!]!) {\n createProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
303
|
+
export declare const adminUpdateProductVariantsDocument = "mutation UpdateProductVariants($input: [UpdateProductVariantInput!]!) {\n updateProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
304
304
|
export declare const adminDeleteProductVariantsDocument = "mutation DeleteProductVariants($ids: [ID!]!) {\n deleteProductVariants(ids: $ids) {\n result\n message\n }\n}";
|
|
305
305
|
export declare const adminSetProductVariantPriceDocument = "mutation SetProductVariantPrice($input: SetPriceInput!) {\n setProductVariantPrice(input: $input) {\n ...ProductVariantPriceField\n }\n}\n\nfragment ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}";
|
|
306
|
-
export declare const adminAdminProductDocument = "query AdminProduct($id: ID!) {\n product(id: $id) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
307
|
-
export declare const adminAdminProductsDocument = "query AdminProducts($options: ListQueryOptions) {\n products(options: $options) {\n items {\n ...ProductField\n }\n totalItems\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
308
|
-
export declare const adminCreateProductDocument = "mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
309
|
-
export declare const adminUpdateProductDocument = "mutation UpdateProduct($input: UpdateProductInput!) {\n updateProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
306
|
+
export declare const adminAdminProductDocument = "query AdminProduct($id: ID!) {\n product(id: $id) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
307
|
+
export declare const adminAdminProductsDocument = "query AdminProducts($options: ListQueryOptions) {\n products(options: $options) {\n items {\n ...ProductField\n }\n totalItems\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
308
|
+
export declare const adminCreateProductDocument = "mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
309
|
+
export declare const adminUpdateProductDocument = "mutation UpdateProduct($input: UpdateProductInput!) {\n updateProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
310
310
|
export declare const adminDeleteProductDocument = "mutation DeleteProduct($id: ID!) {\n deleteProduct(id: $id) {\n result\n message\n }\n}";
|
|
311
|
-
export declare const adminAssignProductsToChannelDocument = "mutation AssignProductsToChannel($input: AssignProductsToChannelInput!) {\n assignProductsToChannel(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
312
|
-
export declare const adminRemoveProductsFromChannelDocument = "mutation RemoveProductsFromChannel($input: RemoveProductsFromChannelInput!) {\n removeProductsFromChannel(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
311
|
+
export declare const adminAssignProductsToChannelDocument = "mutation AssignProductsToChannel($input: AssignProductsToChannelInput!) {\n assignProductsToChannel(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
312
|
+
export declare const adminRemoveProductsFromChannelDocument = "mutation RemoveProductsFromChannel($input: RemoveProductsFromChannelInput!) {\n removeProductsFromChannel(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n currencyCode\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
313
313
|
export declare const adminPromotionDocument = "query Promotion($id: ID!) {\n promotion(id: $id) {\n ...PromotionField\n }\n}\n\nfragment PromotionField on Promotion {\n id\n createdAt\n updatedAt\n name\n enabled\n couponCode\n startsAt\n endsAt\n perCustomerUsageLimit\n usageLimit\n priorityScore\n conditions\n actions\n}";
|
|
314
314
|
export declare const adminPromotionsDocument = "query Promotions($options: ListQueryOptions) {\n promotions(options: $options) {\n items {\n ...PromotionField\n }\n totalItems\n }\n}\n\nfragment PromotionField on Promotion {\n id\n createdAt\n updatedAt\n name\n enabled\n couponCode\n startsAt\n endsAt\n perCustomerUsageLimit\n usageLimit\n priorityScore\n conditions\n actions\n}";
|
|
315
315
|
export declare const adminPromotionConditionsDocument = "query PromotionConditions {\n promotionConditions\n}";
|
|
@@ -334,7 +334,7 @@ export declare const adminAdminDeleteScheduledJobDocument = "mutation AdminDelet
|
|
|
334
334
|
export declare const adminAdminTriggerScheduledJobDocument = "mutation AdminTriggerScheduledJob($id: ID!) {\n triggerScheduledJob(id: $id) {\n ...AdminScheduledJobRunFields\n }\n}\n\nfragment AdminScheduledJobRunFields on ScheduledJobRun {\n id\n jobId\n startedAt\n completedAt\n status\n durationMs\n error\n createdAt\n}";
|
|
335
335
|
export declare const adminAdminEnableScheduledJobDocument = "mutation AdminEnableScheduledJob($id: ID!) {\n enableScheduledJob(id: $id) {\n ...AdminScheduledJobFields\n }\n}\n\nfragment AdminScheduledJobFields on ScheduledJob {\n id\n code\n name\n handlerCode\n cronExpression\n timezone\n enabled\n lastRunAt\n nextRunAt\n createdAt\n updatedAt\n}";
|
|
336
336
|
export declare const adminAdminDisableScheduledJobDocument = "mutation AdminDisableScheduledJob($id: ID!) {\n disableScheduledJob(id: $id) {\n ...AdminScheduledJobFields\n }\n}\n\nfragment AdminScheduledJobFields on ScheduledJob {\n id\n code\n name\n handlerCode\n cronExpression\n timezone\n enabled\n lastRunAt\n nextRunAt\n createdAt\n updatedAt\n}";
|
|
337
|
-
export declare const adminAdminSearchDocument = "query AdminSearch($input: SearchInput!) {\n search(input: $input) {\n items {\n productId\n productName\n productVariantId\n productVariantName\n sku\n price {\n min\n max\n }\n inStock\n }\n totalItems\n }\n}";
|
|
337
|
+
export declare const adminAdminSearchDocument = "query AdminSearch($input: SearchInput!) {\n search(input: $input) {\n items {\n productId\n productName\n productVariantId\n productVariantName\n sku\n price {\n min\n max\n }\n currencyCode\n inStock\n }\n totalItems\n }\n}";
|
|
338
338
|
export declare const adminReindexDocument = "mutation Reindex {\n reindex\n}";
|
|
339
339
|
export declare const adminSellerDocument = "query Seller($id: ID!) {\n seller(id: $id) {\n ...SellerField\n }\n}\n\nfragment SellerField on Seller {\n id\n createdAt\n updatedAt\n name\n}";
|
|
340
340
|
export declare const adminSellersDocument = "query Sellers($options: ListQueryOptions) {\n sellers(options: $options) {\n items {\n ...SellerField\n }\n totalItems\n }\n}\n\nfragment SellerField on Seller {\n id\n createdAt\n updatedAt\n name\n}";
|
|
@@ -498,8 +498,8 @@ export declare const shopSaveTokenDocument = "mutation SaveToken($input: SaveTok
|
|
|
498
498
|
export declare const shopGetTokenTemplateDocument = "query GetTokenTemplate {\n getTokenTemplate {\n providerCode\n html\n scriptUrl\n config\n }\n}";
|
|
499
499
|
export declare const shopGetSessionTemplateDocument = "query GetSessionTemplate($orderId: ID!) {\n getSessionTemplate(orderId: $orderId) {\n providerCode\n html\n scriptUrl\n config\n }\n}";
|
|
500
500
|
export declare const shopGetSessionVariablesDocument = "query GetSessionVariables($orderId: ID!) {\n getSessionVariables(orderId: $orderId) {\n providerCode\n publishableKey\n scriptUrl\n amount\n currency\n config\n }\n}";
|
|
501
|
-
export declare const shopShopProductDocument = "query ShopProduct($id: ID, $slug: String) {\n product(id: $id, slug: $slug) {\n ...ShopProductField\n }\n}\n\nfragment ShopProductField on Product {\n id\n name\n slug\n description\n enabled\n featuredAsset {\n id\n preview\n }\n optionGroups {\n ...ShopProductOptionGroupField\n }\n variants {\n ...ShopProductVariantField\n }\n}\n\nfragment ShopProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n ...ShopProductOptionField\n }\n translations {\n id\n languageCode\n name\n }\n}\n\nfragment ShopProductOptionField on ProductOption {\n id\n code\n name\n groupId\n}\n\nfragment ShopProductVariantField on ProductVariant {\n id\n name\n sku\n price\n priceWithTax\n stockOnHand\n enabled\n options {\n ...ShopProductOptionField\n }\n}";
|
|
502
|
-
export declare const shopShopProductsDocument = "query ShopProducts($options: ListQueryOptions) {\n products(options: $options) {\n items {\n ...ShopProductField\n }\n totalItems\n }\n}\n\nfragment ShopProductField on Product {\n id\n name\n slug\n description\n enabled\n featuredAsset {\n id\n preview\n }\n optionGroups {\n ...ShopProductOptionGroupField\n }\n variants {\n ...ShopProductVariantField\n }\n}\n\nfragment ShopProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n ...ShopProductOptionField\n }\n translations {\n id\n languageCode\n name\n }\n}\n\nfragment ShopProductOptionField on ProductOption {\n id\n code\n name\n groupId\n}\n\nfragment ShopProductVariantField on ProductVariant {\n id\n name\n sku\n price\n priceWithTax\n stockOnHand\n enabled\n options {\n ...ShopProductOptionField\n }\n}";
|
|
501
|
+
export declare const shopShopProductDocument = "query ShopProduct($id: ID, $slug: String) {\n product(id: $id, slug: $slug) {\n ...ShopProductField\n }\n}\n\nfragment ShopProductField on Product {\n id\n name\n slug\n description\n enabled\n featuredAsset {\n id\n preview\n }\n optionGroups {\n ...ShopProductOptionGroupField\n }\n variants {\n ...ShopProductVariantField\n }\n}\n\nfragment ShopProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n ...ShopProductOptionField\n }\n translations {\n id\n languageCode\n name\n }\n}\n\nfragment ShopProductOptionField on ProductOption {\n id\n code\n name\n groupId\n}\n\nfragment ShopProductVariantField on ProductVariant {\n id\n name\n sku\n price\n priceWithTax\n currencyCode\n stockOnHand\n enabled\n options {\n ...ShopProductOptionField\n }\n}";
|
|
502
|
+
export declare const shopShopProductsDocument = "query ShopProducts($options: ListQueryOptions) {\n products(options: $options) {\n items {\n ...ShopProductField\n }\n totalItems\n }\n}\n\nfragment ShopProductField on Product {\n id\n name\n slug\n description\n enabled\n featuredAsset {\n id\n preview\n }\n optionGroups {\n ...ShopProductOptionGroupField\n }\n variants {\n ...ShopProductVariantField\n }\n}\n\nfragment ShopProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n ...ShopProductOptionField\n }\n translations {\n id\n languageCode\n name\n }\n}\n\nfragment ShopProductOptionField on ProductOption {\n id\n code\n name\n groupId\n}\n\nfragment ShopProductVariantField on ProductVariant {\n id\n name\n sku\n price\n priceWithTax\n currencyCode\n stockOnHand\n enabled\n options {\n ...ShopProductOptionField\n }\n}";
|
|
503
503
|
export declare const shopShopProductOptionGroupsDocument = "query ShopProductOptionGroups($productId: ID!) {\n productOptionGroups(productId: $productId) {\n ...ShopProductOptionGroupField\n }\n}\n\nfragment ShopProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n ...ShopProductOptionField\n }\n translations {\n id\n languageCode\n name\n }\n}\n\nfragment ShopProductOptionField on ProductOption {\n id\n code\n name\n groupId\n}";
|
|
504
504
|
export declare const shopShopSearchDocument = "query ShopSearch($input: SearchInput!) {\n search(input: $input) {\n items {\n productId\n productName\n productVariantId\n slug\n price {\n min\n max\n }\n productAsset {\n id\n preview\n }\n inStock\n }\n totalItems\n }\n}";
|
|
505
505
|
export declare const shopSuggestDocument = "query Suggest($input: SearchInput!) {\n suggest(input: $input) {\n items {\n productId\n productName\n productVariantId\n productVariantName\n slug\n }\n totalItems\n }\n}";
|
|
@@ -14521,6 +14521,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
14521
14521
|
name
|
|
14522
14522
|
price
|
|
14523
14523
|
priceWithTax
|
|
14524
|
+
currencyCode
|
|
14524
14525
|
stockOnHand
|
|
14525
14526
|
stockAllocated
|
|
14526
14527
|
trackInventory
|
|
@@ -14676,6 +14677,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
14676
14677
|
name
|
|
14677
14678
|
price
|
|
14678
14679
|
priceWithTax
|
|
14680
|
+
currencyCode
|
|
14679
14681
|
stockOnHand
|
|
14680
14682
|
stockAllocated
|
|
14681
14683
|
trackInventory
|
|
@@ -15057,6 +15059,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15057
15059
|
name
|
|
15058
15060
|
price
|
|
15059
15061
|
priceWithTax
|
|
15062
|
+
currencyCode
|
|
15060
15063
|
stockOnHand
|
|
15061
15064
|
stockAllocated
|
|
15062
15065
|
trackInventory
|
|
@@ -15212,6 +15215,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15212
15215
|
name
|
|
15213
15216
|
price
|
|
15214
15217
|
priceWithTax
|
|
15218
|
+
currencyCode
|
|
15215
15219
|
stockOnHand
|
|
15216
15220
|
stockAllocated
|
|
15217
15221
|
trackInventory
|
|
@@ -15266,6 +15270,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15266
15270
|
name
|
|
15267
15271
|
price
|
|
15268
15272
|
priceWithTax
|
|
15273
|
+
currencyCode
|
|
15269
15274
|
stockOnHand
|
|
15270
15275
|
stockAllocated
|
|
15271
15276
|
trackInventory
|
|
@@ -15340,6 +15345,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15340
15345
|
name
|
|
15341
15346
|
price
|
|
15342
15347
|
priceWithTax
|
|
15348
|
+
currencyCode
|
|
15343
15349
|
stockOnHand
|
|
15344
15350
|
stockAllocated
|
|
15345
15351
|
trackInventory
|
|
@@ -15414,6 +15420,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15414
15420
|
name
|
|
15415
15421
|
price
|
|
15416
15422
|
priceWithTax
|
|
15423
|
+
currencyCode
|
|
15417
15424
|
stockOnHand
|
|
15418
15425
|
stockAllocated
|
|
15419
15426
|
trackInventory
|
|
@@ -15488,6 +15495,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15488
15495
|
name
|
|
15489
15496
|
price
|
|
15490
15497
|
priceWithTax
|
|
15498
|
+
currencyCode
|
|
15491
15499
|
stockOnHand
|
|
15492
15500
|
stockAllocated
|
|
15493
15501
|
trackInventory
|
|
@@ -15683,6 +15691,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15683
15691
|
name
|
|
15684
15692
|
price
|
|
15685
15693
|
priceWithTax
|
|
15694
|
+
currencyCode
|
|
15686
15695
|
stockOnHand
|
|
15687
15696
|
stockAllocated
|
|
15688
15697
|
trackInventory
|
|
@@ -15841,6 +15850,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15841
15850
|
name
|
|
15842
15851
|
price
|
|
15843
15852
|
priceWithTax
|
|
15853
|
+
currencyCode
|
|
15844
15854
|
stockOnHand
|
|
15845
15855
|
stockAllocated
|
|
15846
15856
|
trackInventory
|
|
@@ -15996,6 +16006,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15996
16006
|
name
|
|
15997
16007
|
price
|
|
15998
16008
|
priceWithTax
|
|
16009
|
+
currencyCode
|
|
15999
16010
|
stockOnHand
|
|
16000
16011
|
stockAllocated
|
|
16001
16012
|
trackInventory
|
|
@@ -16151,6 +16162,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16151
16162
|
name
|
|
16152
16163
|
price
|
|
16153
16164
|
priceWithTax
|
|
16165
|
+
currencyCode
|
|
16154
16166
|
stockOnHand
|
|
16155
16167
|
stockAllocated
|
|
16156
16168
|
trackInventory
|
|
@@ -16312,6 +16324,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16312
16324
|
name
|
|
16313
16325
|
price
|
|
16314
16326
|
priceWithTax
|
|
16327
|
+
currencyCode
|
|
16315
16328
|
stockOnHand
|
|
16316
16329
|
stockAllocated
|
|
16317
16330
|
trackInventory
|
|
@@ -16467,6 +16480,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16467
16480
|
name
|
|
16468
16481
|
price
|
|
16469
16482
|
priceWithTax
|
|
16483
|
+
currencyCode
|
|
16470
16484
|
stockOnHand
|
|
16471
16485
|
stockAllocated
|
|
16472
16486
|
trackInventory
|
|
@@ -16921,6 +16935,7 @@ exports.adminAdminSearchDocument = `query AdminSearch($input: SearchInput!) {
|
|
|
16921
16935
|
min
|
|
16922
16936
|
max
|
|
16923
16937
|
}
|
|
16938
|
+
currencyCode
|
|
16924
16939
|
inStock
|
|
16925
16940
|
}
|
|
16926
16941
|
totalItems
|
|
@@ -24916,6 +24931,7 @@ fragment ShopProductVariantField on ProductVariant {
|
|
|
24916
24931
|
sku
|
|
24917
24932
|
price
|
|
24918
24933
|
priceWithTax
|
|
24934
|
+
currencyCode
|
|
24919
24935
|
stockOnHand
|
|
24920
24936
|
enabled
|
|
24921
24937
|
options {
|
|
@@ -24976,6 +24992,7 @@ fragment ShopProductVariantField on ProductVariant {
|
|
|
24976
24992
|
sku
|
|
24977
24993
|
price
|
|
24978
24994
|
priceWithTax
|
|
24995
|
+
currencyCode
|
|
24979
24996
|
stockOnHand
|
|
24980
24997
|
enabled
|
|
24981
24998
|
options {
|
|
@@ -2288,6 +2288,7 @@ export type ProductTranslation = {
|
|
|
2288
2288
|
export type ProductVariant = {
|
|
2289
2289
|
assets: Array<Asset>;
|
|
2290
2290
|
createdAt: Scalars['DateTime']['output'];
|
|
2291
|
+
currencyCode: Scalars['String']['output'];
|
|
2291
2292
|
customs?: Maybe<ProductVariantCustoms>;
|
|
2292
2293
|
dimensions?: Maybe<ProductVariantDimensions>;
|
|
2293
2294
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -5041,7 +5042,7 @@ export type ShopProductOptionGroupFieldFragment = (Pick<ProductOptionGroup, 'id'
|
|
|
5041
5042
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5042
5043
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
5043
5044
|
});
|
|
5044
|
-
export type ShopProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
|
|
5045
|
+
export type ShopProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'enabled'> & {
|
|
5045
5046
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5046
5047
|
});
|
|
5047
5048
|
export type ShopProductFieldFragment = (Pick<Product, 'id' | 'name' | 'slug' | 'description' | 'enabled'> & {
|
|
@@ -5050,7 +5051,7 @@ export type ShopProductFieldFragment = (Pick<Product, 'id' | 'name' | 'slug' | '
|
|
|
5050
5051
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5051
5052
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
5052
5053
|
})>;
|
|
5053
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
|
|
5054
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'enabled'> & {
|
|
5054
5055
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5055
5056
|
})>;
|
|
5056
5057
|
});
|
|
@@ -5065,7 +5066,7 @@ export type ShopProductQuery = {
|
|
|
5065
5066
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5066
5067
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
5067
5068
|
})>;
|
|
5068
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
|
|
5069
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'enabled'> & {
|
|
5069
5070
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5070
5071
|
})>;
|
|
5071
5072
|
})>;
|
|
@@ -5081,7 +5082,7 @@ export type ShopProductsQuery = {
|
|
|
5081
5082
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5082
5083
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
5083
5084
|
})>;
|
|
5084
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
|
|
5085
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'name' | 'sku' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'enabled'> & {
|
|
5085
5086
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
5086
5087
|
})>;
|
|
5087
5088
|
})>;
|
package/package.json
CHANGED
|
@@ -3906,6 +3906,7 @@ export type ProductTranslation = {
|
|
|
3906
3906
|
export type ProductVariant = {
|
|
3907
3907
|
assets: Array<Asset>;
|
|
3908
3908
|
createdAt: Scalars['DateTime']['output'];
|
|
3909
|
+
currencyCode: Scalars['String']['output'];
|
|
3909
3910
|
customs?: Maybe<ProductVariantCustoms>;
|
|
3910
3911
|
dimensions?: Maybe<ProductVariantDimensions>;
|
|
3911
3912
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -24448,6 +24449,7 @@ export type AddOptionGroupToProductMutation = { addOptionGroupToProduct: (
|
|
|
24448
24449
|
| 'name'
|
|
24449
24450
|
| 'price'
|
|
24450
24451
|
| 'priceWithTax'
|
|
24452
|
+
| 'currencyCode'
|
|
24451
24453
|
| 'stockOnHand'
|
|
24452
24454
|
| 'stockAllocated'
|
|
24453
24455
|
| 'trackInventory'
|
|
@@ -24602,6 +24604,7 @@ export type RemoveOptionGroupFromProductMutation = { removeOptionGroupFromProduc
|
|
|
24602
24604
|
| 'name'
|
|
24603
24605
|
| 'price'
|
|
24604
24606
|
| 'priceWithTax'
|
|
24607
|
+
| 'currencyCode'
|
|
24605
24608
|
| 'stockOnHand'
|
|
24606
24609
|
| 'stockAllocated'
|
|
24607
24610
|
| 'trackInventory'
|
|
@@ -24677,6 +24680,7 @@ export type ProductVariantFieldFragment = (
|
|
|
24677
24680
|
| 'name'
|
|
24678
24681
|
| 'price'
|
|
24679
24682
|
| 'priceWithTax'
|
|
24683
|
+
| 'currencyCode'
|
|
24680
24684
|
| 'stockOnHand'
|
|
24681
24685
|
| 'stockAllocated'
|
|
24682
24686
|
| 'trackInventory'
|
|
@@ -24763,6 +24767,7 @@ export type AdminProductVariantQuery = { productVariant?: Maybe<(
|
|
|
24763
24767
|
| 'name'
|
|
24764
24768
|
| 'price'
|
|
24765
24769
|
| 'priceWithTax'
|
|
24770
|
+
| 'currencyCode'
|
|
24766
24771
|
| 'stockOnHand'
|
|
24767
24772
|
| 'stockAllocated'
|
|
24768
24773
|
| 'trackInventory'
|
|
@@ -24839,6 +24844,7 @@ export type AdminProductVariantsQuery = { productVariants: Array<(
|
|
|
24839
24844
|
| 'name'
|
|
24840
24845
|
| 'price'
|
|
24841
24846
|
| 'priceWithTax'
|
|
24847
|
+
| 'currencyCode'
|
|
24842
24848
|
| 'stockOnHand'
|
|
24843
24849
|
| 'stockAllocated'
|
|
24844
24850
|
| 'trackInventory'
|
|
@@ -24915,6 +24921,7 @@ export type CreateProductVariantsMutation = { createProductVariants: Array<(
|
|
|
24915
24921
|
| 'name'
|
|
24916
24922
|
| 'price'
|
|
24917
24923
|
| 'priceWithTax'
|
|
24924
|
+
| 'currencyCode'
|
|
24918
24925
|
| 'stockOnHand'
|
|
24919
24926
|
| 'stockAllocated'
|
|
24920
24927
|
| 'trackInventory'
|
|
@@ -24991,6 +24998,7 @@ export type UpdateProductVariantsMutation = { updateProductVariants: Array<(
|
|
|
24991
24998
|
| 'name'
|
|
24992
24999
|
| 'price'
|
|
24993
25000
|
| 'priceWithTax'
|
|
25001
|
+
| 'currencyCode'
|
|
24994
25002
|
| 'stockOnHand'
|
|
24995
25003
|
| 'stockAllocated'
|
|
24996
25004
|
| 'trackInventory'
|
|
@@ -25169,6 +25177,7 @@ export type ProductFieldFragment = (
|
|
|
25169
25177
|
| 'name'
|
|
25170
25178
|
| 'price'
|
|
25171
25179
|
| 'priceWithTax'
|
|
25180
|
+
| 'currencyCode'
|
|
25172
25181
|
| 'stockOnHand'
|
|
25173
25182
|
| 'stockAllocated'
|
|
25174
25183
|
| 'trackInventory'
|
|
@@ -25323,6 +25332,7 @@ export type AdminProductQuery = { product?: Maybe<(
|
|
|
25323
25332
|
| 'name'
|
|
25324
25333
|
| 'price'
|
|
25325
25334
|
| 'priceWithTax'
|
|
25335
|
+
| 'currencyCode'
|
|
25326
25336
|
| 'stockOnHand'
|
|
25327
25337
|
| 'stockAllocated'
|
|
25328
25338
|
| 'trackInventory'
|
|
@@ -25479,6 +25489,7 @@ export type AdminProductsQuery = { products: (
|
|
|
25479
25489
|
| 'name'
|
|
25480
25490
|
| 'price'
|
|
25481
25491
|
| 'priceWithTax'
|
|
25492
|
+
| 'currencyCode'
|
|
25482
25493
|
| 'stockOnHand'
|
|
25483
25494
|
| 'stockAllocated'
|
|
25484
25495
|
| 'trackInventory'
|
|
@@ -25634,6 +25645,7 @@ export type CreateProductMutation = { createProduct: (
|
|
|
25634
25645
|
| 'name'
|
|
25635
25646
|
| 'price'
|
|
25636
25647
|
| 'priceWithTax'
|
|
25648
|
+
| 'currencyCode'
|
|
25637
25649
|
| 'stockOnHand'
|
|
25638
25650
|
| 'stockAllocated'
|
|
25639
25651
|
| 'trackInventory'
|
|
@@ -25788,6 +25800,7 @@ export type UpdateProductMutation = { updateProduct: (
|
|
|
25788
25800
|
| 'name'
|
|
25789
25801
|
| 'price'
|
|
25790
25802
|
| 'priceWithTax'
|
|
25803
|
+
| 'currencyCode'
|
|
25791
25804
|
| 'stockOnHand'
|
|
25792
25805
|
| 'stockAllocated'
|
|
25793
25806
|
| 'trackInventory'
|
|
@@ -25949,6 +25962,7 @@ export type AssignProductsToChannelMutation = { assignProductsToChannel: Array<(
|
|
|
25949
25962
|
| 'name'
|
|
25950
25963
|
| 'price'
|
|
25951
25964
|
| 'priceWithTax'
|
|
25965
|
+
| 'currencyCode'
|
|
25952
25966
|
| 'stockOnHand'
|
|
25953
25967
|
| 'stockAllocated'
|
|
25954
25968
|
| 'trackInventory'
|
|
@@ -26103,6 +26117,7 @@ export type RemoveProductsFromChannelMutation = { removeProductsFromChannel: Arr
|
|
|
26103
26117
|
| 'name'
|
|
26104
26118
|
| 'price'
|
|
26105
26119
|
| 'priceWithTax'
|
|
26120
|
+
| 'currencyCode'
|
|
26106
26121
|
| 'stockOnHand'
|
|
26107
26122
|
| 'stockAllocated'
|
|
26108
26123
|
| 'trackInventory'
|
|
@@ -26340,6 +26355,7 @@ export type ProductAddOptionGroupMutation = { addOptionGroupToProduct: (
|
|
|
26340
26355
|
| 'name'
|
|
26341
26356
|
| 'price'
|
|
26342
26357
|
| 'priceWithTax'
|
|
26358
|
+
| 'currencyCode'
|
|
26343
26359
|
| 'stockOnHand'
|
|
26344
26360
|
| 'stockAllocated'
|
|
26345
26361
|
| 'trackInventory'
|
|
@@ -26494,6 +26510,7 @@ export type ProductRemoveOptionGroupMutation = { removeOptionGroupFromProduct: (
|
|
|
26494
26510
|
| 'name'
|
|
26495
26511
|
| 'price'
|
|
26496
26512
|
| 'priceWithTax'
|
|
26513
|
+
| 'currencyCode'
|
|
26497
26514
|
| 'stockOnHand'
|
|
26498
26515
|
| 'stockAllocated'
|
|
26499
26516
|
| 'trackInventory'
|
|
@@ -27100,6 +27117,7 @@ export type AdminSearchQuery = { search: (
|
|
|
27100
27117
|
| 'productVariantId'
|
|
27101
27118
|
| 'productVariantName'
|
|
27102
27119
|
| 'sku'
|
|
27120
|
+
| 'currencyCode'
|
|
27103
27121
|
| 'inStock'
|
|
27104
27122
|
>
|
|
27105
27123
|
& { price: Pick<SearchResultPrice, 'min' | 'max'> }
|
|
@@ -14787,6 +14787,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
14787
14787
|
name
|
|
14788
14788
|
price
|
|
14789
14789
|
priceWithTax
|
|
14790
|
+
currencyCode
|
|
14790
14791
|
stockOnHand
|
|
14791
14792
|
stockAllocated
|
|
14792
14793
|
trackInventory
|
|
@@ -14943,6 +14944,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
14943
14944
|
name
|
|
14944
14945
|
price
|
|
14945
14946
|
priceWithTax
|
|
14947
|
+
currencyCode
|
|
14946
14948
|
stockOnHand
|
|
14947
14949
|
stockAllocated
|
|
14948
14950
|
trackInventory
|
|
@@ -15336,6 +15338,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15336
15338
|
name
|
|
15337
15339
|
price
|
|
15338
15340
|
priceWithTax
|
|
15341
|
+
currencyCode
|
|
15339
15342
|
stockOnHand
|
|
15340
15343
|
stockAllocated
|
|
15341
15344
|
trackInventory
|
|
@@ -15492,6 +15495,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15492
15495
|
name
|
|
15493
15496
|
price
|
|
15494
15497
|
priceWithTax
|
|
15498
|
+
currencyCode
|
|
15495
15499
|
stockOnHand
|
|
15496
15500
|
stockAllocated
|
|
15497
15501
|
trackInventory
|
|
@@ -15547,6 +15551,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15547
15551
|
name
|
|
15548
15552
|
price
|
|
15549
15553
|
priceWithTax
|
|
15554
|
+
currencyCode
|
|
15550
15555
|
stockOnHand
|
|
15551
15556
|
stockAllocated
|
|
15552
15557
|
trackInventory
|
|
@@ -15622,6 +15627,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15622
15627
|
name
|
|
15623
15628
|
price
|
|
15624
15629
|
priceWithTax
|
|
15630
|
+
currencyCode
|
|
15625
15631
|
stockOnHand
|
|
15626
15632
|
stockAllocated
|
|
15627
15633
|
trackInventory
|
|
@@ -15697,6 +15703,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15697
15703
|
name
|
|
15698
15704
|
price
|
|
15699
15705
|
priceWithTax
|
|
15706
|
+
currencyCode
|
|
15700
15707
|
stockOnHand
|
|
15701
15708
|
stockAllocated
|
|
15702
15709
|
trackInventory
|
|
@@ -15772,6 +15779,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15772
15779
|
name
|
|
15773
15780
|
price
|
|
15774
15781
|
priceWithTax
|
|
15782
|
+
currencyCode
|
|
15775
15783
|
stockOnHand
|
|
15776
15784
|
stockAllocated
|
|
15777
15785
|
trackInventory
|
|
@@ -15970,6 +15978,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
15970
15978
|
name
|
|
15971
15979
|
price
|
|
15972
15980
|
priceWithTax
|
|
15981
|
+
currencyCode
|
|
15973
15982
|
stockOnHand
|
|
15974
15983
|
stockAllocated
|
|
15975
15984
|
trackInventory
|
|
@@ -16129,6 +16138,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16129
16138
|
name
|
|
16130
16139
|
price
|
|
16131
16140
|
priceWithTax
|
|
16141
|
+
currencyCode
|
|
16132
16142
|
stockOnHand
|
|
16133
16143
|
stockAllocated
|
|
16134
16144
|
trackInventory
|
|
@@ -16285,6 +16295,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16285
16295
|
name
|
|
16286
16296
|
price
|
|
16287
16297
|
priceWithTax
|
|
16298
|
+
currencyCode
|
|
16288
16299
|
stockOnHand
|
|
16289
16300
|
stockAllocated
|
|
16290
16301
|
trackInventory
|
|
@@ -16441,6 +16452,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16441
16452
|
name
|
|
16442
16453
|
price
|
|
16443
16454
|
priceWithTax
|
|
16455
|
+
currencyCode
|
|
16444
16456
|
stockOnHand
|
|
16445
16457
|
stockAllocated
|
|
16446
16458
|
trackInventory
|
|
@@ -16604,6 +16616,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16604
16616
|
name
|
|
16605
16617
|
price
|
|
16606
16618
|
priceWithTax
|
|
16619
|
+
currencyCode
|
|
16607
16620
|
stockOnHand
|
|
16608
16621
|
stockAllocated
|
|
16609
16622
|
trackInventory
|
|
@@ -16760,6 +16773,7 @@ fragment ProductVariantField on ProductVariant {
|
|
|
16760
16773
|
name
|
|
16761
16774
|
price
|
|
16762
16775
|
priceWithTax
|
|
16776
|
+
currencyCode
|
|
16763
16777
|
stockOnHand
|
|
16764
16778
|
stockAllocated
|
|
16765
16779
|
trackInventory
|
|
@@ -17239,6 +17253,7 @@ export const adminAdminSearchDocument = `query AdminSearch($input: SearchInput!)
|
|
|
17239
17253
|
min
|
|
17240
17254
|
max
|
|
17241
17255
|
}
|
|
17256
|
+
currencyCode
|
|
17242
17257
|
inStock
|
|
17243
17258
|
}
|
|
17244
17259
|
totalItems
|
|
@@ -25398,6 +25413,7 @@ fragment ShopProductVariantField on ProductVariant {
|
|
|
25398
25413
|
sku
|
|
25399
25414
|
price
|
|
25400
25415
|
priceWithTax
|
|
25416
|
+
currencyCode
|
|
25401
25417
|
stockOnHand
|
|
25402
25418
|
enabled
|
|
25403
25419
|
options {
|
|
@@ -25459,6 +25475,7 @@ fragment ShopProductVariantField on ProductVariant {
|
|
|
25459
25475
|
sku
|
|
25460
25476
|
price
|
|
25461
25477
|
priceWithTax
|
|
25478
|
+
currencyCode
|
|
25462
25479
|
stockOnHand
|
|
25463
25480
|
enabled
|
|
25464
25481
|
options {
|
|
@@ -2745,6 +2745,7 @@ export type ProductTranslation = {
|
|
|
2745
2745
|
export type ProductVariant = {
|
|
2746
2746
|
assets: Array<Asset>;
|
|
2747
2747
|
createdAt: Scalars['DateTime']['output'];
|
|
2748
|
+
currencyCode: Scalars['String']['output'];
|
|
2748
2749
|
customs?: Maybe<ProductVariantCustoms>;
|
|
2749
2750
|
dimensions?: Maybe<ProductVariantDimensions>;
|
|
2750
2751
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -10483,6 +10484,7 @@ export type ShopProductVariantFieldFragment = (
|
|
|
10483
10484
|
| 'sku'
|
|
10484
10485
|
| 'price'
|
|
10485
10486
|
| 'priceWithTax'
|
|
10487
|
+
| 'currencyCode'
|
|
10486
10488
|
| 'stockOnHand'
|
|
10487
10489
|
| 'enabled'
|
|
10488
10490
|
>
|
|
@@ -10527,6 +10529,7 @@ export type ShopProductFieldFragment = (
|
|
|
10527
10529
|
| 'sku'
|
|
10528
10530
|
| 'price'
|
|
10529
10531
|
| 'priceWithTax'
|
|
10532
|
+
| 'currencyCode'
|
|
10530
10533
|
| 'stockOnHand'
|
|
10531
10534
|
| 'enabled'
|
|
10532
10535
|
>
|
|
@@ -10579,6 +10582,7 @@ export type ShopProductQuery = { product?: Maybe<(
|
|
|
10579
10582
|
| 'sku'
|
|
10580
10583
|
| 'price'
|
|
10581
10584
|
| 'priceWithTax'
|
|
10585
|
+
| 'currencyCode'
|
|
10582
10586
|
| 'stockOnHand'
|
|
10583
10587
|
| 'enabled'
|
|
10584
10588
|
>
|
|
@@ -10632,6 +10636,7 @@ export type ShopProductsQuery = { products: (
|
|
|
10632
10636
|
| 'sku'
|
|
10633
10637
|
| 'price'
|
|
10634
10638
|
| 'priceWithTax'
|
|
10639
|
+
| 'currencyCode'
|
|
10635
10640
|
| 'stockOnHand'
|
|
10636
10641
|
| 'enabled'
|
|
10637
10642
|
>
|