@forgecart/sdk 1.202607121330.0 → 1.202607122305.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 +45 -2
- package/dist/admin.generated.d.ts +2 -0
- package/dist/admin.generated.js +6 -0
- package/dist/documents.generated.d.ts +16 -14
- package/dist/documents.generated.js +201 -10
- package/dist/shop-types.generated.d.ts +12 -2
- package/package.json +1 -1
- package/src/admin-types.generated.ts +192 -2
- package/src/admin.generated.ts +7 -1
- package/src/documents.generated.ts +193 -0
- package/src/shop-types.generated.ts +14 -2
|
@@ -1199,6 +1199,10 @@ export type DeleteFacetValuesInput = {
|
|
|
1199
1199
|
force?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1200
1200
|
id: Scalars['ID']['input'];
|
|
1201
1201
|
};
|
|
1202
|
+
export type DeletePriceInput = {
|
|
1203
|
+
currencyCode: Scalars['String']['input'];
|
|
1204
|
+
variantId: Scalars['ID']['input'];
|
|
1205
|
+
};
|
|
1202
1206
|
export type DeleteProductOptionGroupInput = {
|
|
1203
1207
|
id: Scalars['ID']['input'];
|
|
1204
1208
|
productId: Scalars['ID']['input'];
|
|
@@ -1328,6 +1332,13 @@ export type EnvVarInput = {
|
|
|
1328
1332
|
key: Scalars['String']['input'];
|
|
1329
1333
|
value: Scalars['String']['input'];
|
|
1330
1334
|
};
|
|
1335
|
+
export type ExchangeRate = {
|
|
1336
|
+
baseCurrencyCode: Scalars['String']['output'];
|
|
1337
|
+
id: Scalars['ID']['output'];
|
|
1338
|
+
rate: Scalars['Float']['output'];
|
|
1339
|
+
rateUpdatedAt: Scalars['DateTime']['output'];
|
|
1340
|
+
targetCurrencyCode: Scalars['String']['output'];
|
|
1341
|
+
};
|
|
1331
1342
|
export type ExternalAuthenticationMethod = {
|
|
1332
1343
|
id: Scalars['ID']['output'];
|
|
1333
1344
|
};
|
|
@@ -1939,6 +1950,7 @@ export type Mutation = {
|
|
|
1939
1950
|
deleteProduct: DeletionResponse;
|
|
1940
1951
|
deleteProductOption: DeletionResponse;
|
|
1941
1952
|
deleteProductOptionGroup: DeletionResponse;
|
|
1953
|
+
deleteProductVariantPrice: ProductVariantPrice;
|
|
1942
1954
|
deleteProductVariants: DeletionResponse;
|
|
1943
1955
|
deletePromotion: DeletionResponse;
|
|
1944
1956
|
deleteRole: DeletionResponse;
|
|
@@ -2373,6 +2385,9 @@ export type MutationdeleteProductOptionArgs = {
|
|
|
2373
2385
|
export type MutationdeleteProductOptionGroupArgs = {
|
|
2374
2386
|
input: DeleteProductOptionGroupInput;
|
|
2375
2387
|
};
|
|
2388
|
+
export type MutationdeleteProductVariantPriceArgs = {
|
|
2389
|
+
input: DeletePriceInput;
|
|
2390
|
+
};
|
|
2376
2391
|
export type MutationdeleteProductVariantsArgs = {
|
|
2377
2392
|
ids: Array<Scalars['ID']['input']>;
|
|
2378
2393
|
};
|
|
@@ -3085,6 +3100,7 @@ export type ProductVariant = {
|
|
|
3085
3100
|
outOfStockThreshold: Scalars['Int']['output'];
|
|
3086
3101
|
price: Scalars['Int']['output'];
|
|
3087
3102
|
priceWithTax: Scalars['Int']['output'];
|
|
3103
|
+
prices: Array<ProductVariantPrice>;
|
|
3088
3104
|
product: Product;
|
|
3089
3105
|
productId: Scalars['ID']['output'];
|
|
3090
3106
|
sku?: Maybe<Scalars['String']['output']>;
|
|
@@ -3237,6 +3253,7 @@ export type Query = {
|
|
|
3237
3253
|
eligiblePaymentProviders: Array<PaymentProviderQuote>;
|
|
3238
3254
|
entries: EntryList;
|
|
3239
3255
|
entry?: Maybe<Entry>;
|
|
3256
|
+
exchangeRates: Array<ExchangeRate>;
|
|
3240
3257
|
facet?: Maybe<Facet>;
|
|
3241
3258
|
facets: FacetList;
|
|
3242
3259
|
fieldDefinition?: Maybe<FieldDefinitionGroup>;
|
|
@@ -4548,9 +4565,7 @@ export type UpdateChannelInput = {
|
|
|
4548
4565
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
4549
4566
|
id: Scalars['ID']['input'];
|
|
4550
4567
|
pricesIncludeTax?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4551
|
-
secret?: InputMaybe<Scalars['String']['input']>;
|
|
4552
4568
|
taxProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
4553
|
-
token?: InputMaybe<Scalars['String']['input']>;
|
|
4554
4569
|
trackInventory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4555
4570
|
};
|
|
4556
4571
|
export type UpdateChannelPluginConfigInput = {
|
|
@@ -5830,6 +5845,12 @@ export type ProvisionChannelMutation = {
|
|
|
5830
5845
|
role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
|
|
5831
5846
|
};
|
|
5832
5847
|
};
|
|
5848
|
+
export type AdminExchangeRatesQueryVariables = Exact<{
|
|
5849
|
+
[key: string]: never;
|
|
5850
|
+
}>;
|
|
5851
|
+
export type AdminExchangeRatesQuery = {
|
|
5852
|
+
exchangeRates: Array<Pick<ExchangeRate, 'id' | 'baseCurrencyCode' | 'targetCurrencyCode' | 'rate' | 'rateUpdatedAt'>>;
|
|
5853
|
+
};
|
|
5833
5854
|
export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5834
5855
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5835
5856
|
});
|
|
@@ -9294,6 +9315,7 @@ export type AddOptionGroupToProductMutation = {
|
|
|
9294
9315
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9295
9316
|
})>;
|
|
9296
9317
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9318
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9297
9319
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9298
9320
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9299
9321
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9331,6 +9353,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9331
9353
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9332
9354
|
})>;
|
|
9333
9355
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9356
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9334
9357
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9335
9358
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9336
9359
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9349,6 +9372,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9349
9372
|
};
|
|
9350
9373
|
export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
|
|
9351
9374
|
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9375
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9352
9376
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9353
9377
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9354
9378
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9369,6 +9393,7 @@ export type AdminProductVariantQueryVariables = Exact<{
|
|
|
9369
9393
|
}>;
|
|
9370
9394
|
export type AdminProductVariantQuery = {
|
|
9371
9395
|
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9396
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9372
9397
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9373
9398
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9374
9399
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9389,6 +9414,7 @@ export type AdminProductVariantsQueryVariables = Exact<{
|
|
|
9389
9414
|
}>;
|
|
9390
9415
|
export type AdminProductVariantsQuery = {
|
|
9391
9416
|
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9417
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9392
9418
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9393
9419
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9394
9420
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9409,6 +9435,7 @@ export type CreateProductVariantsMutationVariables = Exact<{
|
|
|
9409
9435
|
}>;
|
|
9410
9436
|
export type CreateProductVariantsMutation = {
|
|
9411
9437
|
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9438
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9412
9439
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9413
9440
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9414
9441
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9429,6 +9456,7 @@ export type UpdateProductVariantsMutationVariables = Exact<{
|
|
|
9429
9456
|
}>;
|
|
9430
9457
|
export type UpdateProductVariantsMutation = {
|
|
9431
9458
|
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9459
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9432
9460
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9433
9461
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9434
9462
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9456,6 +9484,12 @@ export type SetProductVariantPriceMutationVariables = Exact<{
|
|
|
9456
9484
|
export type SetProductVariantPriceMutation = {
|
|
9457
9485
|
setProductVariantPrice: Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>;
|
|
9458
9486
|
};
|
|
9487
|
+
export type DeleteProductVariantPriceMutationVariables = Exact<{
|
|
9488
|
+
input: DeletePriceInput;
|
|
9489
|
+
}>;
|
|
9490
|
+
export type DeleteProductVariantPriceMutation = {
|
|
9491
|
+
deleteProductVariantPrice: Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>;
|
|
9492
|
+
};
|
|
9459
9493
|
export type ProductTranslationFieldFragment = Pick<ProductTranslation, 'id' | 'languageCode' | 'name' | 'slug' | 'description'>;
|
|
9460
9494
|
export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedAt' | 'enabled' | 'isDigital' | 'trackInventory'> & {
|
|
9461
9495
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9474,6 +9508,7 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
|
|
|
9474
9508
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9475
9509
|
})>;
|
|
9476
9510
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9511
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9477
9512
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9478
9513
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9479
9514
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9510,6 +9545,7 @@ export type AdminProductQuery = {
|
|
|
9510
9545
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9511
9546
|
})>;
|
|
9512
9547
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9548
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9513
9549
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9514
9550
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9515
9551
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9548,6 +9584,7 @@ export type AdminProductsQuery = {
|
|
|
9548
9584
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9549
9585
|
})>;
|
|
9550
9586
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9587
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9551
9588
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9552
9589
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9553
9590
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9586,6 +9623,7 @@ export type CreateProductMutation = {
|
|
|
9586
9623
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9587
9624
|
})>;
|
|
9588
9625
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9626
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9589
9627
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9590
9628
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9591
9629
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9623,6 +9661,7 @@ export type UpdateProductMutation = {
|
|
|
9623
9661
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9624
9662
|
})>;
|
|
9625
9663
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9664
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9626
9665
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9627
9666
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9628
9667
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9666,6 +9705,7 @@ export type AssignProductsToChannelMutation = {
|
|
|
9666
9705
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9667
9706
|
})>;
|
|
9668
9707
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9708
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9669
9709
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9670
9710
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9671
9711
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9703,6 +9743,7 @@ export type RemoveProductsFromChannelMutation = {
|
|
|
9703
9743
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9704
9744
|
})>;
|
|
9705
9745
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9746
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9706
9747
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9707
9748
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9708
9749
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9782,6 +9823,7 @@ export type ProductAddOptionGroupMutation = {
|
|
|
9782
9823
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9783
9824
|
})>;
|
|
9784
9825
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9826
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9785
9827
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9786
9828
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9787
9829
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9819,6 +9861,7 @@ export type ProductRemoveOptionGroupMutation = {
|
|
|
9819
9861
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9820
9862
|
})>;
|
|
9821
9863
|
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9864
|
+
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9822
9865
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9823
9866
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9824
9867
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -123,6 +123,7 @@ export declare class ChannelCategory {
|
|
|
123
123
|
deleteChannel(variables: Types.DeleteChannelMutationVariables): QueryObservable<Types.DeleteChannelMutation>;
|
|
124
124
|
updateChannelSettings(variables: Types.UpdateChannelSettingsMutationVariables): QueryObservable<Types.UpdateChannelSettingsMutation>;
|
|
125
125
|
provisionChannel(variables: Types.ProvisionChannelMutationVariables): QueryObservable<Types.ProvisionChannelMutation>;
|
|
126
|
+
adminExchangeRates(): QueryObservable<Types.AdminExchangeRatesQuery>;
|
|
126
127
|
}
|
|
127
128
|
export declare class SettingsCategory {
|
|
128
129
|
private readonly client;
|
|
@@ -476,6 +477,7 @@ export declare class ProductVariantCategory {
|
|
|
476
477
|
updateProductVariants(variables: Types.UpdateProductVariantsMutationVariables): QueryObservable<Types.UpdateProductVariantsMutation>;
|
|
477
478
|
deleteProductVariants(variables: Types.DeleteProductVariantsMutationVariables): QueryObservable<Types.DeleteProductVariantsMutation>;
|
|
478
479
|
setProductVariantPrice(variables: Types.SetProductVariantPriceMutationVariables): QueryObservable<Types.SetProductVariantPriceMutation>;
|
|
480
|
+
deleteProductVariantPrice(variables: Types.DeleteProductVariantPriceMutationVariables): QueryObservable<Types.DeleteProductVariantPriceMutation>;
|
|
479
481
|
}
|
|
480
482
|
export declare class ProductCategory {
|
|
481
483
|
private readonly client;
|
package/dist/admin.generated.js
CHANGED
|
@@ -296,6 +296,9 @@ class ChannelCategory {
|
|
|
296
296
|
provisionChannel(variables) {
|
|
297
297
|
return this.client.mutate(documents_generated_1.adminProvisionChannelDocument, variables);
|
|
298
298
|
}
|
|
299
|
+
adminExchangeRates() {
|
|
300
|
+
return this.client.query(documents_generated_1.adminAdminExchangeRatesDocument);
|
|
301
|
+
}
|
|
299
302
|
}
|
|
300
303
|
exports.ChannelCategory = ChannelCategory;
|
|
301
304
|
class SettingsCategory {
|
|
@@ -1190,6 +1193,9 @@ class ProductVariantCategory {
|
|
|
1190
1193
|
setProductVariantPrice(variables) {
|
|
1191
1194
|
return this.client.mutate(documents_generated_1.adminSetProductVariantPriceDocument, variables);
|
|
1192
1195
|
}
|
|
1196
|
+
deleteProductVariantPrice(variables) {
|
|
1197
|
+
return this.client.mutate(documents_generated_1.adminDeleteProductVariantPriceDocument, variables);
|
|
1198
|
+
}
|
|
1193
1199
|
}
|
|
1194
1200
|
exports.ProductVariantCategory = ProductVariantCategory;
|
|
1195
1201
|
class ProductCategory {
|
|
@@ -76,6 +76,7 @@ export declare const adminUpdateChannelDocument = "mutation UpdateChannel($input
|
|
|
76
76
|
export declare const adminDeleteChannelDocument = "mutation DeleteChannel($input: DeleteChannelInput!) {\n deleteChannel(input: $input) {\n ...ChannelField\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}";
|
|
77
77
|
export declare const adminUpdateChannelSettingsDocument = "mutation UpdateChannelSettings($input: UpdateChannelSettingsInput!) {\n updateChannelSettings(input: $input) {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
|
|
78
78
|
export declare const adminProvisionChannelDocument = "mutation ProvisionChannel($input: ProvisionChannelInput!) {\n provisionChannel(input: $input) {\n channel {\n ...ChannelField\n }\n channelSettings {\n ...ChannelSettingsField\n }\n role {\n id\n name\n code\n description\n permissions\n }\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
|
|
79
|
+
export declare const adminAdminExchangeRatesDocument = "query AdminExchangeRates {\n exchangeRates {\n id\n baseCurrencyCode\n targetCurrencyCode\n rate\n rateUpdatedAt\n }\n}";
|
|
79
80
|
export declare const adminStartChatSessionDocument = "mutation StartChatSession($input: StartChatSessionInput) {\n startChatSession(input: $input) {\n ...ChatSessionField\n }\n}\n\nfragment ChatSessionField on ChatSession {\n sessionId\n channelToken\n userId\n createdAt\n lastActivity\n messageCount\n status\n}";
|
|
80
81
|
export declare const adminSendChatMessageDocument = "mutation SendChatMessage($input: SendChatMessageInput!) {\n sendChatMessage(input: $input) {\n ...ChatMessageField\n }\n}\n\nfragment ChatMessageField on ChatMessage {\n type\n content\n toolUse {\n toolId\n toolName\n input\n }\n toolResult {\n toolId\n result\n isError\n }\n timestamp\n isFinal\n eventId\n}";
|
|
81
82
|
export declare const adminChatMessageStreamDocument = "subscription ChatMessageStream($input: SendChatMessageInput!) {\n chatMessageStream(input: $input) {\n ...ChatMessageField\n }\n}\n\nfragment ChatMessageField on ChatMessage {\n type\n content\n toolUse {\n toolId\n toolName\n input\n }\n toolResult {\n toolId\n result\n isError\n }\n timestamp\n isFinal\n eventId\n}";
|
|
@@ -282,8 +283,8 @@ export declare const adminProductOptionGroupsDocument = "query ProductOptionGrou
|
|
|
282
283
|
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
284
|
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
285
|
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 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}";
|
|
286
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
287
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
287
288
|
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
289
|
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
290
|
export declare const adminProductDeleteOptionDocument = "mutation ProductDeleteOption($id: ID!) {\n deleteProductOption(id: $id) {\n result\n message\n }\n}";
|
|
@@ -295,21 +296,22 @@ export declare const adminDeleteProductOptionGroupDocument = "mutation DeletePro
|
|
|
295
296
|
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
297
|
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
298
|
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 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}";
|
|
299
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
300
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
301
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\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 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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\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 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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\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
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\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
305
|
export declare const adminDeleteProductVariantsDocument = "mutation DeleteProductVariants($ids: [ID!]!) {\n deleteProductVariants(ids: $ids) {\n result\n message\n }\n}";
|
|
305
306
|
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
|
|
307
|
-
export declare const
|
|
308
|
-
export declare const
|
|
309
|
-
export declare const
|
|
307
|
+
export declare const adminDeleteProductVariantPriceDocument = "mutation DeleteProductVariantPrice($input: DeletePriceInput!) {\n deleteProductVariantPrice(input: $input) {\n ...ProductVariantPriceField\n }\n}\n\nfragment ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}";
|
|
308
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
309
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
310
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
311
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
310
312
|
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 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
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
314
|
+
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 prices {\n ...ProductVariantPriceField\n }\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 ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
|
|
313
315
|
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
316
|
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
317
|
export declare const adminPromotionConditionsDocument = "query PromotionConditions {\n promotionConditions\n}";
|