Add metadata webhook events (#2375)
This commit is contained in:
parent
7387019288
commit
3a3a4a7ae6
6 changed files with 3431 additions and 81 deletions
2060
introspection.json
2060
introspection.json
File diff suppressed because it is too large
Load diff
857
schema.graphql
857
schema.graphql
File diff suppressed because it is too large
Load diff
|
@ -35,11 +35,14 @@
|
||||||
"ChannelUpdated",
|
"ChannelUpdated",
|
||||||
"CheckoutCreated",
|
"CheckoutCreated",
|
||||||
"CheckoutFilterShippingMethods",
|
"CheckoutFilterShippingMethods",
|
||||||
|
"CheckoutMetadataUpdated",
|
||||||
"CheckoutUpdated",
|
"CheckoutUpdated",
|
||||||
"CollectionCreated",
|
"CollectionCreated",
|
||||||
"CollectionDeleted",
|
"CollectionDeleted",
|
||||||
|
"CollectionMetadataUpdated",
|
||||||
"CollectionUpdated",
|
"CollectionUpdated",
|
||||||
"CustomerCreated",
|
"CustomerCreated",
|
||||||
|
"CustomerMetadataUpdated",
|
||||||
"CustomerUpdated",
|
"CustomerUpdated",
|
||||||
"DraftOrderCreated",
|
"DraftOrderCreated",
|
||||||
"DraftOrderDeleted",
|
"DraftOrderDeleted",
|
||||||
|
@ -47,8 +50,10 @@
|
||||||
"FulfillmentApproved",
|
"FulfillmentApproved",
|
||||||
"FulfillmentCanceled",
|
"FulfillmentCanceled",
|
||||||
"FulfillmentCreated",
|
"FulfillmentCreated",
|
||||||
|
"FulfillmentMetadataUpdated",
|
||||||
"GiftCardCreated",
|
"GiftCardCreated",
|
||||||
"GiftCardDeleted",
|
"GiftCardDeleted",
|
||||||
|
"GiftCardMetadataUpdated",
|
||||||
"GiftCardStatusChanged",
|
"GiftCardStatusChanged",
|
||||||
"GiftCardUpdated",
|
"GiftCardUpdated",
|
||||||
"InvoiceDeleted",
|
"InvoiceDeleted",
|
||||||
|
@ -66,6 +71,7 @@
|
||||||
"OrderFilterShippingMethods",
|
"OrderFilterShippingMethods",
|
||||||
"OrderFulfilled",
|
"OrderFulfilled",
|
||||||
"OrderFullyPaid",
|
"OrderFullyPaid",
|
||||||
|
"OrderMetadataUpdated",
|
||||||
"OrderUpdated",
|
"OrderUpdated",
|
||||||
"PageCreated",
|
"PageCreated",
|
||||||
"PageDeleted",
|
"PageDeleted",
|
||||||
|
@ -85,10 +91,12 @@
|
||||||
"PermissionGroupUpdated",
|
"PermissionGroupUpdated",
|
||||||
"ProductCreated",
|
"ProductCreated",
|
||||||
"ProductDeleted",
|
"ProductDeleted",
|
||||||
|
"ProductMetadataUpdated",
|
||||||
"ProductUpdated",
|
"ProductUpdated",
|
||||||
"ProductVariantBackInStock",
|
"ProductVariantBackInStock",
|
||||||
"ProductVariantCreated",
|
"ProductVariantCreated",
|
||||||
"ProductVariantDeleted",
|
"ProductVariantDeleted",
|
||||||
|
"ProductVariantMetadataUpdated",
|
||||||
"ProductVariantOutOfStock",
|
"ProductVariantOutOfStock",
|
||||||
"ProductVariantUpdated",
|
"ProductVariantUpdated",
|
||||||
"SaleCreated",
|
"SaleCreated",
|
||||||
|
@ -101,18 +109,22 @@
|
||||||
"ShippingPriceUpdated",
|
"ShippingPriceUpdated",
|
||||||
"ShippingZoneCreated",
|
"ShippingZoneCreated",
|
||||||
"ShippingZoneDeleted",
|
"ShippingZoneDeleted",
|
||||||
|
"ShippingZoneMetadataUpdated",
|
||||||
"ShippingZoneUpdated",
|
"ShippingZoneUpdated",
|
||||||
"StaffCreated",
|
"StaffCreated",
|
||||||
"StaffDeleted",
|
"StaffDeleted",
|
||||||
"StaffUpdated",
|
"StaffUpdated",
|
||||||
"TransactionActionRequest",
|
"TransactionActionRequest",
|
||||||
|
"TransactionItemMetadataUpdated",
|
||||||
"TranslationCreated",
|
"TranslationCreated",
|
||||||
"TranslationUpdated",
|
"TranslationUpdated",
|
||||||
"VoucherCreated",
|
"VoucherCreated",
|
||||||
"VoucherDeleted",
|
"VoucherDeleted",
|
||||||
|
"VoucherMetadataUpdated",
|
||||||
"VoucherUpdated",
|
"VoucherUpdated",
|
||||||
"WarehouseCreated",
|
"WarehouseCreated",
|
||||||
"WarehouseDeleted",
|
"WarehouseDeleted",
|
||||||
|
"WarehouseMetadataUpdated",
|
||||||
"WarehouseUpdated"
|
"WarehouseUpdated"
|
||||||
],
|
],
|
||||||
"IssuingPrincipal": [
|
"IssuingPrincipal": [
|
||||||
|
|
|
@ -997,6 +997,14 @@ export type CheckoutLinesUpdateFieldPolicy = {
|
||||||
checkoutErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkoutErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type CheckoutMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type CheckoutMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
checkout?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type CheckoutPaymentCreateKeySpecifier = ('checkout' | 'payment' | 'paymentErrors' | 'errors' | CheckoutPaymentCreateKeySpecifier)[];
|
export type CheckoutPaymentCreateKeySpecifier = ('checkout' | 'payment' | 'paymentErrors' | 'errors' | CheckoutPaymentCreateKeySpecifier)[];
|
||||||
export type CheckoutPaymentCreateFieldPolicy = {
|
export type CheckoutPaymentCreateFieldPolicy = {
|
||||||
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -1137,6 +1145,14 @@ export type CollectionErrorFieldPolicy = {
|
||||||
products?: FieldPolicy<any> | FieldReadFunction<any>,
|
products?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
code?: FieldPolicy<any> | FieldReadFunction<any>
|
code?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type CollectionMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type CollectionMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
collection?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type CollectionRemoveProductsKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionRemoveProductsKeySpecifier)[];
|
export type CollectionRemoveProductsKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionRemoveProductsKeySpecifier)[];
|
||||||
export type CollectionRemoveProductsFieldPolicy = {
|
export type CollectionRemoveProductsFieldPolicy = {
|
||||||
collection?: FieldPolicy<any> | FieldReadFunction<any>,
|
collection?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -1271,6 +1287,14 @@ export type CustomerEventFieldPolicy = {
|
||||||
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
orderLine?: FieldPolicy<any> | FieldReadFunction<any>
|
orderLine?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type CustomerMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type CustomerMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
user?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type CustomerUpdateKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerUpdateKeySpecifier)[];
|
export type CustomerUpdateKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerUpdateKeySpecifier)[];
|
||||||
export type CustomerUpdateFieldPolicy = {
|
export type CustomerUpdateFieldPolicy = {
|
||||||
accountErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
accountErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -1671,6 +1695,15 @@ export type FulfillmentLineFieldPolicy = {
|
||||||
quantity?: FieldPolicy<any> | FieldReadFunction<any>,
|
quantity?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
orderLine?: FieldPolicy<any> | FieldReadFunction<any>
|
orderLine?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type FulfillmentMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type FulfillmentMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
fulfillment?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
order?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type FulfillmentRefundProductsKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentRefundProductsKeySpecifier)[];
|
export type FulfillmentRefundProductsKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentRefundProductsKeySpecifier)[];
|
||||||
export type FulfillmentRefundProductsFieldPolicy = {
|
export type FulfillmentRefundProductsFieldPolicy = {
|
||||||
fulfillment?: FieldPolicy<any> | FieldReadFunction<any>,
|
fulfillment?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -1839,6 +1872,14 @@ export type GiftCardEventBalanceFieldPolicy = {
|
||||||
oldInitialBalance?: FieldPolicy<any> | FieldReadFunction<any>,
|
oldInitialBalance?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
oldCurrentBalance?: FieldPolicy<any> | FieldReadFunction<any>
|
oldCurrentBalance?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type GiftCardMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type GiftCardMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
giftCard?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type GiftCardResendKeySpecifier = ('giftCard' | 'errors' | GiftCardResendKeySpecifier)[];
|
export type GiftCardResendKeySpecifier = ('giftCard' | 'errors' | GiftCardResendKeySpecifier)[];
|
||||||
export type GiftCardResendFieldPolicy = {
|
export type GiftCardResendFieldPolicy = {
|
||||||
giftCard?: FieldPolicy<any> | FieldReadFunction<any>,
|
giftCard?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -2031,7 +2072,7 @@ export type LimitsFieldPolicy = {
|
||||||
staffUsers?: FieldPolicy<any> | FieldReadFunction<any>,
|
staffUsers?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
warehouses?: FieldPolicy<any> | FieldReadFunction<any>
|
warehouses?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
export type ManifestKeySpecifier = ('identifier' | 'version' | 'name' | 'about' | 'permissions' | 'appUrl' | 'configurationUrl' | 'tokenTargetUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'extensions' | 'webhooks' | ManifestKeySpecifier)[];
|
export type ManifestKeySpecifier = ('identifier' | 'version' | 'name' | 'about' | 'permissions' | 'appUrl' | 'configurationUrl' | 'tokenTargetUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'extensions' | 'webhooks' | 'audience' | ManifestKeySpecifier)[];
|
||||||
export type ManifestFieldPolicy = {
|
export type ManifestFieldPolicy = {
|
||||||
identifier?: FieldPolicy<any> | FieldReadFunction<any>,
|
identifier?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -2046,7 +2087,8 @@ export type ManifestFieldPolicy = {
|
||||||
homepageUrl?: FieldPolicy<any> | FieldReadFunction<any>,
|
homepageUrl?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
supportUrl?: FieldPolicy<any> | FieldReadFunction<any>,
|
supportUrl?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
extensions?: FieldPolicy<any> | FieldReadFunction<any>,
|
extensions?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
webhooks?: FieldPolicy<any> | FieldReadFunction<any>
|
webhooks?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
audience?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
export type MarginKeySpecifier = ('start' | 'stop' | MarginKeySpecifier)[];
|
export type MarginKeySpecifier = ('start' | 'stop' | MarginKeySpecifier)[];
|
||||||
export type MarginFieldPolicy = {
|
export type MarginFieldPolicy = {
|
||||||
|
@ -2897,6 +2939,14 @@ export type OrderMarkAsPaidFieldPolicy = {
|
||||||
orderErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
orderErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type OrderMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type OrderMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
order?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type OrderRefundKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderRefundKeySpecifier)[];
|
export type OrderRefundKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderRefundKeySpecifier)[];
|
||||||
export type OrderRefundFieldPolicy = {
|
export type OrderRefundFieldPolicy = {
|
||||||
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -3631,6 +3681,15 @@ export type ProductMediaUpdateFieldPolicy = {
|
||||||
productErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
productErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type ProductMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type ProductMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
product?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
category?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type ProductPricingInfoKeySpecifier = ('onSale' | 'discount' | 'discountLocalCurrency' | 'priceRange' | 'priceRangeUndiscounted' | 'priceRangeLocalCurrency' | ProductPricingInfoKeySpecifier)[];
|
export type ProductPricingInfoKeySpecifier = ('onSale' | 'discount' | 'discountLocalCurrency' | 'priceRange' | 'priceRangeUndiscounted' | 'priceRangeLocalCurrency' | ProductPricingInfoKeySpecifier)[];
|
||||||
export type ProductPricingInfoFieldPolicy = {
|
export type ProductPricingInfoFieldPolicy = {
|
||||||
onSale?: FieldPolicy<any> | FieldReadFunction<any>,
|
onSale?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -3861,6 +3920,14 @@ export type ProductVariantDeletedFieldPolicy = {
|
||||||
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
productVariant?: FieldPolicy<any> | FieldReadFunction<any>
|
productVariant?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type ProductVariantMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type ProductVariantMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
productVariant?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type ProductVariantOutOfStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[];
|
export type ProductVariantOutOfStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[];
|
||||||
export type ProductVariantOutOfStockFieldPolicy = {
|
export type ProductVariantOutOfStockFieldPolicy = {
|
||||||
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -4438,6 +4505,14 @@ export type ShippingZoneDeletedFieldPolicy = {
|
||||||
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
shippingZone?: FieldPolicy<any> | FieldReadFunction<any>
|
shippingZone?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type ShippingZoneMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type ShippingZoneMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
shippingZone?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type ShippingZoneUpdateKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneUpdateKeySpecifier)[];
|
export type ShippingZoneUpdateKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneUpdateKeySpecifier)[];
|
||||||
export type ShippingZoneUpdateFieldPolicy = {
|
export type ShippingZoneUpdateFieldPolicy = {
|
||||||
shippingErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
shippingErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -4776,6 +4851,14 @@ export type TransactionItemFieldPolicy = {
|
||||||
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
order?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
events?: FieldPolicy<any> | FieldReadFunction<any>
|
events?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type TransactionItemMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | TransactionItemMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type TransactionItemMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
transaction?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type TransactionRequestActionKeySpecifier = ('transaction' | 'errors' | TransactionRequestActionKeySpecifier)[];
|
export type TransactionRequestActionKeySpecifier = ('transaction' | 'errors' | TransactionRequestActionKeySpecifier)[];
|
||||||
export type TransactionRequestActionFieldPolicy = {
|
export type TransactionRequestActionFieldPolicy = {
|
||||||
transaction?: FieldPolicy<any> | FieldReadFunction<any>,
|
transaction?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -4849,7 +4932,7 @@ export type UploadErrorFieldPolicy = {
|
||||||
message?: FieldPolicy<any> | FieldReadFunction<any>,
|
message?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
code?: FieldPolicy<any> | FieldReadFunction<any>
|
code?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
export type UserKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'email' | 'firstName' | 'lastName' | 'isStaff' | 'isActive' | 'addresses' | 'checkout' | 'checkoutTokens' | 'checkoutIds' | 'giftCards' | 'note' | 'orders' | 'userPermissions' | 'permissionGroups' | 'editableGroups' | 'avatar' | 'events' | 'storedPaymentSources' | 'languageCode' | 'defaultShippingAddress' | 'defaultBillingAddress' | 'lastLogin' | 'dateJoined' | 'updatedAt' | UserKeySpecifier)[];
|
export type UserKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'email' | 'firstName' | 'lastName' | 'isStaff' | 'isActive' | 'addresses' | 'checkout' | 'checkoutTokens' | 'checkoutIds' | 'checkouts' | 'giftCards' | 'note' | 'orders' | 'userPermissions' | 'permissionGroups' | 'editableGroups' | 'avatar' | 'events' | 'storedPaymentSources' | 'languageCode' | 'defaultShippingAddress' | 'defaultBillingAddress' | 'lastLogin' | 'dateJoined' | 'updatedAt' | UserKeySpecifier)[];
|
||||||
export type UserFieldPolicy = {
|
export type UserFieldPolicy = {
|
||||||
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
privateMetadata?: FieldPolicy<any> | FieldReadFunction<any>,
|
privateMetadata?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -4867,6 +4950,7 @@ export type UserFieldPolicy = {
|
||||||
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
checkoutTokens?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkoutTokens?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
checkoutIds?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkoutIds?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
checkouts?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
giftCards?: FieldPolicy<any> | FieldReadFunction<any>,
|
giftCards?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
note?: FieldPolicy<any> | FieldReadFunction<any>,
|
note?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
orders?: FieldPolicy<any> | FieldReadFunction<any>,
|
orders?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -5052,6 +5136,14 @@ export type VoucherDeletedFieldPolicy = {
|
||||||
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
voucher?: FieldPolicy<any> | FieldReadFunction<any>
|
voucher?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type VoucherMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type VoucherMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
voucher?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type VoucherRemoveCataloguesKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherRemoveCataloguesKeySpecifier)[];
|
export type VoucherRemoveCataloguesKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherRemoveCataloguesKeySpecifier)[];
|
||||||
export type VoucherRemoveCataloguesFieldPolicy = {
|
export type VoucherRemoveCataloguesFieldPolicy = {
|
||||||
voucher?: FieldPolicy<any> | FieldReadFunction<any>,
|
voucher?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -5155,6 +5247,14 @@ export type WarehouseErrorFieldPolicy = {
|
||||||
code?: FieldPolicy<any> | FieldReadFunction<any>,
|
code?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
shippingZones?: FieldPolicy<any> | FieldReadFunction<any>
|
shippingZones?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type WarehouseMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseMetadataUpdatedKeySpecifier)[];
|
||||||
|
export type WarehouseMetadataUpdatedFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
warehouse?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type WarehouseShippingZoneAssignKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseShippingZoneAssignKeySpecifier)[];
|
export type WarehouseShippingZoneAssignKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseShippingZoneAssignKeySpecifier)[];
|
||||||
export type WarehouseShippingZoneAssignFieldPolicy = {
|
export type WarehouseShippingZoneAssignFieldPolicy = {
|
||||||
warehouseErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
warehouseErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -5748,6 +5848,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | CheckoutLinesUpdateKeySpecifier | (() => undefined | CheckoutLinesUpdateKeySpecifier),
|
keyFields?: false | CheckoutLinesUpdateKeySpecifier | (() => undefined | CheckoutLinesUpdateKeySpecifier),
|
||||||
fields?: CheckoutLinesUpdateFieldPolicy,
|
fields?: CheckoutLinesUpdateFieldPolicy,
|
||||||
},
|
},
|
||||||
|
CheckoutMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | CheckoutMetadataUpdatedKeySpecifier | (() => undefined | CheckoutMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: CheckoutMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
CheckoutPaymentCreate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
CheckoutPaymentCreate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | CheckoutPaymentCreateKeySpecifier | (() => undefined | CheckoutPaymentCreateKeySpecifier),
|
keyFields?: false | CheckoutPaymentCreateKeySpecifier | (() => undefined | CheckoutPaymentCreateKeySpecifier),
|
||||||
fields?: CheckoutPaymentCreateFieldPolicy,
|
fields?: CheckoutPaymentCreateFieldPolicy,
|
||||||
|
@ -5824,6 +5928,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | CollectionErrorKeySpecifier | (() => undefined | CollectionErrorKeySpecifier),
|
keyFields?: false | CollectionErrorKeySpecifier | (() => undefined | CollectionErrorKeySpecifier),
|
||||||
fields?: CollectionErrorFieldPolicy,
|
fields?: CollectionErrorFieldPolicy,
|
||||||
},
|
},
|
||||||
|
CollectionMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | CollectionMetadataUpdatedKeySpecifier | (() => undefined | CollectionMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: CollectionMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
CollectionRemoveProducts?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
CollectionRemoveProducts?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | CollectionRemoveProductsKeySpecifier | (() => undefined | CollectionRemoveProductsKeySpecifier),
|
keyFields?: false | CollectionRemoveProductsKeySpecifier | (() => undefined | CollectionRemoveProductsKeySpecifier),
|
||||||
fields?: CollectionRemoveProductsFieldPolicy,
|
fields?: CollectionRemoveProductsFieldPolicy,
|
||||||
|
@ -5896,6 +6004,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | CustomerEventKeySpecifier | (() => undefined | CustomerEventKeySpecifier),
|
keyFields?: false | CustomerEventKeySpecifier | (() => undefined | CustomerEventKeySpecifier),
|
||||||
fields?: CustomerEventFieldPolicy,
|
fields?: CustomerEventFieldPolicy,
|
||||||
},
|
},
|
||||||
|
CustomerMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | CustomerMetadataUpdatedKeySpecifier | (() => undefined | CustomerMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: CustomerMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
CustomerUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
CustomerUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | CustomerUpdateKeySpecifier | (() => undefined | CustomerUpdateKeySpecifier),
|
keyFields?: false | CustomerUpdateKeySpecifier | (() => undefined | CustomerUpdateKeySpecifier),
|
||||||
fields?: CustomerUpdateFieldPolicy,
|
fields?: CustomerUpdateFieldPolicy,
|
||||||
|
@ -6120,6 +6232,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | FulfillmentLineKeySpecifier | (() => undefined | FulfillmentLineKeySpecifier),
|
keyFields?: false | FulfillmentLineKeySpecifier | (() => undefined | FulfillmentLineKeySpecifier),
|
||||||
fields?: FulfillmentLineFieldPolicy,
|
fields?: FulfillmentLineFieldPolicy,
|
||||||
},
|
},
|
||||||
|
FulfillmentMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | FulfillmentMetadataUpdatedKeySpecifier | (() => undefined | FulfillmentMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: FulfillmentMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
FulfillmentRefundProducts?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
FulfillmentRefundProducts?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | FulfillmentRefundProductsKeySpecifier | (() => undefined | FulfillmentRefundProductsKeySpecifier),
|
keyFields?: false | FulfillmentRefundProductsKeySpecifier | (() => undefined | FulfillmentRefundProductsKeySpecifier),
|
||||||
fields?: FulfillmentRefundProductsFieldPolicy,
|
fields?: FulfillmentRefundProductsFieldPolicy,
|
||||||
|
@ -6204,6 +6320,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | GiftCardEventBalanceKeySpecifier | (() => undefined | GiftCardEventBalanceKeySpecifier),
|
keyFields?: false | GiftCardEventBalanceKeySpecifier | (() => undefined | GiftCardEventBalanceKeySpecifier),
|
||||||
fields?: GiftCardEventBalanceFieldPolicy,
|
fields?: GiftCardEventBalanceFieldPolicy,
|
||||||
},
|
},
|
||||||
|
GiftCardMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | GiftCardMetadataUpdatedKeySpecifier | (() => undefined | GiftCardMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: GiftCardMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
GiftCardResend?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
GiftCardResend?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | GiftCardResendKeySpecifier | (() => undefined | GiftCardResendKeySpecifier),
|
keyFields?: false | GiftCardResendKeySpecifier | (() => undefined | GiftCardResendKeySpecifier),
|
||||||
fields?: GiftCardResendFieldPolicy,
|
fields?: GiftCardResendFieldPolicy,
|
||||||
|
@ -6592,6 +6712,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | OrderMarkAsPaidKeySpecifier | (() => undefined | OrderMarkAsPaidKeySpecifier),
|
keyFields?: false | OrderMarkAsPaidKeySpecifier | (() => undefined | OrderMarkAsPaidKeySpecifier),
|
||||||
fields?: OrderMarkAsPaidFieldPolicy,
|
fields?: OrderMarkAsPaidFieldPolicy,
|
||||||
},
|
},
|
||||||
|
OrderMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | OrderMetadataUpdatedKeySpecifier | (() => undefined | OrderMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: OrderMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
OrderRefund?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
OrderRefund?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | OrderRefundKeySpecifier | (() => undefined | OrderRefundKeySpecifier),
|
keyFields?: false | OrderRefundKeySpecifier | (() => undefined | OrderRefundKeySpecifier),
|
||||||
fields?: OrderRefundFieldPolicy,
|
fields?: OrderRefundFieldPolicy,
|
||||||
|
@ -6976,6 +7100,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | ProductMediaUpdateKeySpecifier | (() => undefined | ProductMediaUpdateKeySpecifier),
|
keyFields?: false | ProductMediaUpdateKeySpecifier | (() => undefined | ProductMediaUpdateKeySpecifier),
|
||||||
fields?: ProductMediaUpdateFieldPolicy,
|
fields?: ProductMediaUpdateFieldPolicy,
|
||||||
},
|
},
|
||||||
|
ProductMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | ProductMetadataUpdatedKeySpecifier | (() => undefined | ProductMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: ProductMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
ProductPricingInfo?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
ProductPricingInfo?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | ProductPricingInfoKeySpecifier | (() => undefined | ProductPricingInfoKeySpecifier),
|
keyFields?: false | ProductPricingInfoKeySpecifier | (() => undefined | ProductPricingInfoKeySpecifier),
|
||||||
fields?: ProductPricingInfoFieldPolicy,
|
fields?: ProductPricingInfoFieldPolicy,
|
||||||
|
@ -7084,6 +7212,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | ProductVariantDeletedKeySpecifier | (() => undefined | ProductVariantDeletedKeySpecifier),
|
keyFields?: false | ProductVariantDeletedKeySpecifier | (() => undefined | ProductVariantDeletedKeySpecifier),
|
||||||
fields?: ProductVariantDeletedFieldPolicy,
|
fields?: ProductVariantDeletedFieldPolicy,
|
||||||
},
|
},
|
||||||
|
ProductVariantMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | ProductVariantMetadataUpdatedKeySpecifier | (() => undefined | ProductVariantMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: ProductVariantMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
ProductVariantOutOfStock?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
ProductVariantOutOfStock?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | ProductVariantOutOfStockKeySpecifier | (() => undefined | ProductVariantOutOfStockKeySpecifier),
|
keyFields?: false | ProductVariantOutOfStockKeySpecifier | (() => undefined | ProductVariantOutOfStockKeySpecifier),
|
||||||
fields?: ProductVariantOutOfStockFieldPolicy,
|
fields?: ProductVariantOutOfStockFieldPolicy,
|
||||||
|
@ -7348,6 +7480,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | ShippingZoneDeletedKeySpecifier | (() => undefined | ShippingZoneDeletedKeySpecifier),
|
keyFields?: false | ShippingZoneDeletedKeySpecifier | (() => undefined | ShippingZoneDeletedKeySpecifier),
|
||||||
fields?: ShippingZoneDeletedFieldPolicy,
|
fields?: ShippingZoneDeletedFieldPolicy,
|
||||||
},
|
},
|
||||||
|
ShippingZoneMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | ShippingZoneMetadataUpdatedKeySpecifier | (() => undefined | ShippingZoneMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: ShippingZoneMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
ShippingZoneUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
ShippingZoneUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | ShippingZoneUpdateKeySpecifier | (() => undefined | ShippingZoneUpdateKeySpecifier),
|
keyFields?: false | ShippingZoneUpdateKeySpecifier | (() => undefined | ShippingZoneUpdateKeySpecifier),
|
||||||
fields?: ShippingZoneUpdateFieldPolicy,
|
fields?: ShippingZoneUpdateFieldPolicy,
|
||||||
|
@ -7524,6 +7660,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | TransactionItemKeySpecifier | (() => undefined | TransactionItemKeySpecifier),
|
keyFields?: false | TransactionItemKeySpecifier | (() => undefined | TransactionItemKeySpecifier),
|
||||||
fields?: TransactionItemFieldPolicy,
|
fields?: TransactionItemFieldPolicy,
|
||||||
},
|
},
|
||||||
|
TransactionItemMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | TransactionItemMetadataUpdatedKeySpecifier | (() => undefined | TransactionItemMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: TransactionItemMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
TransactionRequestAction?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
TransactionRequestAction?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | TransactionRequestActionKeySpecifier | (() => undefined | TransactionRequestActionKeySpecifier),
|
keyFields?: false | TransactionRequestActionKeySpecifier | (() => undefined | TransactionRequestActionKeySpecifier),
|
||||||
fields?: TransactionRequestActionFieldPolicy,
|
fields?: TransactionRequestActionFieldPolicy,
|
||||||
|
@ -7664,6 +7804,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | VoucherDeletedKeySpecifier | (() => undefined | VoucherDeletedKeySpecifier),
|
keyFields?: false | VoucherDeletedKeySpecifier | (() => undefined | VoucherDeletedKeySpecifier),
|
||||||
fields?: VoucherDeletedFieldPolicy,
|
fields?: VoucherDeletedFieldPolicy,
|
||||||
},
|
},
|
||||||
|
VoucherMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | VoucherMetadataUpdatedKeySpecifier | (() => undefined | VoucherMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: VoucherMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
VoucherRemoveCatalogues?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
VoucherRemoveCatalogues?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | VoucherRemoveCataloguesKeySpecifier | (() => undefined | VoucherRemoveCataloguesKeySpecifier),
|
keyFields?: false | VoucherRemoveCataloguesKeySpecifier | (() => undefined | VoucherRemoveCataloguesKeySpecifier),
|
||||||
fields?: VoucherRemoveCataloguesFieldPolicy,
|
fields?: VoucherRemoveCataloguesFieldPolicy,
|
||||||
|
@ -7720,6 +7864,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | WarehouseErrorKeySpecifier | (() => undefined | WarehouseErrorKeySpecifier),
|
keyFields?: false | WarehouseErrorKeySpecifier | (() => undefined | WarehouseErrorKeySpecifier),
|
||||||
fields?: WarehouseErrorFieldPolicy,
|
fields?: WarehouseErrorFieldPolicy,
|
||||||
},
|
},
|
||||||
|
WarehouseMetadataUpdated?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | WarehouseMetadataUpdatedKeySpecifier | (() => undefined | WarehouseMetadataUpdatedKeySpecifier),
|
||||||
|
fields?: WarehouseMetadataUpdatedFieldPolicy,
|
||||||
|
},
|
||||||
WarehouseShippingZoneAssign?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
WarehouseShippingZoneAssign?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | WarehouseShippingZoneAssignKeySpecifier | (() => undefined | WarehouseShippingZoneAssignKeySpecifier),
|
keyFields?: false | WarehouseShippingZoneAssignKeySpecifier | (() => undefined | WarehouseShippingZoneAssignKeySpecifier),
|
||||||
fields?: WarehouseShippingZoneAssignFieldPolicy,
|
fields?: WarehouseShippingZoneAssignFieldPolicy,
|
||||||
|
|
|
@ -468,9 +468,15 @@ export type AttributeValueCreateInput = {
|
||||||
* Represents the text of the attribute value, includes formatting.
|
* Represents the text of the attribute value, includes formatting.
|
||||||
*
|
*
|
||||||
* Rich text format. For reference see https://editorjs.io/
|
* Rich text format. For reference see https://editorjs.io/
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
|
||||||
*/
|
*/
|
||||||
richText?: InputMaybe<Scalars['JSONString']>;
|
richText?: InputMaybe<Scalars['JSONString']>;
|
||||||
/** Represents the text of the attribute value, plain text without formating. */
|
/**
|
||||||
|
* Represents the text of the attribute value, plain text without formating.
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
|
||||||
|
*/
|
||||||
plainText?: InputMaybe<Scalars['String']>;
|
plainText?: InputMaybe<Scalars['String']>;
|
||||||
/** URL of the file attribute. Every time, a new value is created. */
|
/** URL of the file attribute. Every time, a new value is created. */
|
||||||
fileUrl?: InputMaybe<Scalars['String']>;
|
fileUrl?: InputMaybe<Scalars['String']>;
|
||||||
|
@ -527,9 +533,15 @@ export type AttributeValueUpdateInput = {
|
||||||
* Represents the text of the attribute value, includes formatting.
|
* Represents the text of the attribute value, includes formatting.
|
||||||
*
|
*
|
||||||
* Rich text format. For reference see https://editorjs.io/
|
* Rich text format. For reference see https://editorjs.io/
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
|
||||||
*/
|
*/
|
||||||
richText?: InputMaybe<Scalars['JSONString']>;
|
richText?: InputMaybe<Scalars['JSONString']>;
|
||||||
/** Represents the text of the attribute value, plain text without formating. */
|
/**
|
||||||
|
* Represents the text of the attribute value, plain text without formating.
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
|
||||||
|
*/
|
||||||
plainText?: InputMaybe<Scalars['String']>;
|
plainText?: InputMaybe<Scalars['String']>;
|
||||||
/** URL of the file attribute. Every time, a new value is created. */
|
/** URL of the file attribute. Every time, a new value is created. */
|
||||||
fileUrl?: InputMaybe<Scalars['String']>;
|
fileUrl?: InputMaybe<Scalars['String']>;
|
||||||
|
@ -596,6 +608,18 @@ export type CategoryInput = {
|
||||||
backgroundImage?: InputMaybe<Scalars['Upload']>;
|
backgroundImage?: InputMaybe<Scalars['Upload']>;
|
||||||
/** Alt text for a product media. */
|
/** Alt text for a product media. */
|
||||||
backgroundImageAlt?: InputMaybe<Scalars['String']>;
|
backgroundImageAlt?: InputMaybe<Scalars['String']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the category metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the category private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum CategorySortField {
|
export enum CategorySortField {
|
||||||
|
@ -898,6 +922,18 @@ export type CollectionCreateInput = {
|
||||||
* DEPRECATED: this field will be removed in Saleor 4.0.
|
* DEPRECATED: this field will be removed in Saleor 4.0.
|
||||||
*/
|
*/
|
||||||
publicationDate?: InputMaybe<Scalars['Date']>;
|
publicationDate?: InputMaybe<Scalars['Date']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the collection metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the collection private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
/** List of products to be added to the collection. */
|
/** List of products to be added to the collection. */
|
||||||
products?: InputMaybe<Array<Scalars['ID']>>;
|
products?: InputMaybe<Array<Scalars['ID']>>;
|
||||||
};
|
};
|
||||||
|
@ -952,6 +988,18 @@ export type CollectionInput = {
|
||||||
* DEPRECATED: this field will be removed in Saleor 4.0.
|
* DEPRECATED: this field will be removed in Saleor 4.0.
|
||||||
*/
|
*/
|
||||||
publicationDate?: InputMaybe<Scalars['Date']>;
|
publicationDate?: InputMaybe<Scalars['Date']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the collection metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the collection private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum CollectionPublished {
|
export enum CollectionPublished {
|
||||||
|
@ -1299,6 +1347,12 @@ export type CustomerFilterInput = {
|
||||||
placedOrders?: InputMaybe<DateRangeInput>;
|
placedOrders?: InputMaybe<DateRangeInput>;
|
||||||
search?: InputMaybe<Scalars['String']>;
|
search?: InputMaybe<Scalars['String']>;
|
||||||
metadata?: InputMaybe<Array<MetadataFilter>>;
|
metadata?: InputMaybe<Array<MetadataFilter>>;
|
||||||
|
/**
|
||||||
|
* Filter by ids.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
ids?: InputMaybe<Array<Scalars['ID']>>;
|
||||||
updatedAt?: InputMaybe<DateTimeRangeInput>;
|
updatedAt?: InputMaybe<DateTimeRangeInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1344,6 +1398,18 @@ export type DigitalContentInput = {
|
||||||
urlValidDays?: InputMaybe<Scalars['Int']>;
|
urlValidDays?: InputMaybe<Scalars['Int']>;
|
||||||
/** Overwrite default automatic_fulfillment setting for variant. */
|
/** Overwrite default automatic_fulfillment setting for variant. */
|
||||||
automaticFulfillment?: InputMaybe<Scalars['Boolean']>;
|
automaticFulfillment?: InputMaybe<Scalars['Boolean']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the digital content metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the digital content private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DigitalContentUploadInput = {
|
export type DigitalContentUploadInput = {
|
||||||
|
@ -1355,6 +1421,18 @@ export type DigitalContentUploadInput = {
|
||||||
urlValidDays?: InputMaybe<Scalars['Int']>;
|
urlValidDays?: InputMaybe<Scalars['Int']>;
|
||||||
/** Overwrite default automatic_fulfillment setting for variant. */
|
/** Overwrite default automatic_fulfillment setting for variant. */
|
||||||
automaticFulfillment?: InputMaybe<Scalars['Boolean']>;
|
automaticFulfillment?: InputMaybe<Scalars['Boolean']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the digital content metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the digital content private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
/** Represents an file in a multipart request. */
|
/** Represents an file in a multipart request. */
|
||||||
contentFile: Scalars['Upload'];
|
contentFile: Scalars['Upload'];
|
||||||
};
|
};
|
||||||
|
@ -1769,12 +1847,18 @@ export type GiftCardSettingsUpdateInput = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum GiftCardSortField {
|
export enum GiftCardSortField {
|
||||||
/** Sort orders by product. */
|
/** Sort gift cards by product. */
|
||||||
PRODUCT = 'PRODUCT',
|
PRODUCT = 'PRODUCT',
|
||||||
/** Sort orders by used by. */
|
/** Sort gift cards by used by. */
|
||||||
USED_BY = 'USED_BY',
|
USED_BY = 'USED_BY',
|
||||||
/** Sort orders by current balance. */
|
/** Sort gift cards by current balance. */
|
||||||
CURRENT_BALANCE = 'CURRENT_BALANCE'
|
CURRENT_BALANCE = 'CURRENT_BALANCE',
|
||||||
|
/**
|
||||||
|
* Sort gift cards by created at.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
CREATED_AT = 'CREATED_AT'
|
||||||
}
|
}
|
||||||
|
|
||||||
export type GiftCardSortingInput = {
|
export type GiftCardSortingInput = {
|
||||||
|
@ -3349,7 +3433,11 @@ export enum PageSortField {
|
||||||
SLUG = 'SLUG',
|
SLUG = 'SLUG',
|
||||||
/** Sort pages by visibility. */
|
/** Sort pages by visibility. */
|
||||||
VISIBILITY = 'VISIBILITY',
|
VISIBILITY = 'VISIBILITY',
|
||||||
/** Sort pages by creation date. */
|
/**
|
||||||
|
* Sort pages by creation date.
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.
|
||||||
|
*/
|
||||||
CREATION_DATE = 'CREATION_DATE',
|
CREATION_DATE = 'CREATION_DATE',
|
||||||
/**
|
/**
|
||||||
* Sort pages by publication date.
|
* Sort pages by publication date.
|
||||||
|
@ -3362,7 +3450,13 @@ export enum PageSortField {
|
||||||
*
|
*
|
||||||
* DEPRECATED: this field will be removed in Saleor 4.0.
|
* DEPRECATED: this field will be removed in Saleor 4.0.
|
||||||
*/
|
*/
|
||||||
PUBLISHED_AT = 'PUBLISHED_AT'
|
PUBLISHED_AT = 'PUBLISHED_AT',
|
||||||
|
/**
|
||||||
|
* Sort pages by creation date.
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0.
|
||||||
|
*/
|
||||||
|
CREATED_AT = 'CREATED_AT'
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PageSortingInput = {
|
export type PageSortingInput = {
|
||||||
|
@ -3468,6 +3562,12 @@ export enum PaymentErrorCode {
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PaymentFilterInput = {
|
export type PaymentFilterInput = {
|
||||||
|
/**
|
||||||
|
* Filter by ids.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
ids?: InputMaybe<Array<Scalars['ID']>>;
|
||||||
checkouts?: InputMaybe<Array<Scalars['ID']>>;
|
checkouts?: InputMaybe<Array<Scalars['ID']>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3746,6 +3846,18 @@ export type ProductCreateInput = {
|
||||||
weight?: InputMaybe<Scalars['WeightScalar']>;
|
weight?: InputMaybe<Scalars['WeightScalar']>;
|
||||||
/** Defines the product rating value. */
|
/** Defines the product rating value. */
|
||||||
rating?: InputMaybe<Scalars['Float']>;
|
rating?: InputMaybe<Scalars['Float']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
/** ID of the type that product belongs to. */
|
/** ID of the type that product belongs to. */
|
||||||
productType: Scalars['ID'];
|
productType: Scalars['ID'];
|
||||||
};
|
};
|
||||||
|
@ -3799,6 +3911,30 @@ export type ProductFilterInput = {
|
||||||
stocks?: InputMaybe<ProductStockFilterInput>;
|
stocks?: InputMaybe<ProductStockFilterInput>;
|
||||||
search?: InputMaybe<Scalars['String']>;
|
search?: InputMaybe<Scalars['String']>;
|
||||||
metadata?: InputMaybe<Array<MetadataFilter>>;
|
metadata?: InputMaybe<Array<MetadataFilter>>;
|
||||||
|
/**
|
||||||
|
* Filter by the publication date.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
publishedFrom?: InputMaybe<Scalars['DateTime']>;
|
||||||
|
/**
|
||||||
|
* Filter by availability for purchase.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
isAvailable?: InputMaybe<Scalars['Boolean']>;
|
||||||
|
/**
|
||||||
|
* Filter by the date of availability for purchase.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
availableFrom?: InputMaybe<Scalars['DateTime']>;
|
||||||
|
/**
|
||||||
|
* Filter by visibility in product listings.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
isVisibleInListing?: InputMaybe<Scalars['Boolean']>;
|
||||||
price?: InputMaybe<PriceRangeInput>;
|
price?: InputMaybe<PriceRangeInput>;
|
||||||
/** Filter by the lowest variant price after discounts. */
|
/** Filter by the lowest variant price after discounts. */
|
||||||
minimalPrice?: InputMaybe<PriceRangeInput>;
|
minimalPrice?: InputMaybe<PriceRangeInput>;
|
||||||
|
@ -3845,6 +3981,18 @@ export type ProductInput = {
|
||||||
weight?: InputMaybe<Scalars['WeightScalar']>;
|
weight?: InputMaybe<Scalars['WeightScalar']>;
|
||||||
/** Defines the product rating value. */
|
/** Defines the product rating value. */
|
||||||
rating?: InputMaybe<Scalars['Float']>;
|
rating?: InputMaybe<Scalars['Float']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ProductMediaCreateInput = {
|
export type ProductMediaCreateInput = {
|
||||||
|
@ -3937,7 +4085,13 @@ export enum ProductOrderField {
|
||||||
*/
|
*/
|
||||||
COLLECTION = 'COLLECTION',
|
COLLECTION = 'COLLECTION',
|
||||||
/** Sort products by rating. */
|
/** Sort products by rating. */
|
||||||
RATING = 'RATING'
|
RATING = 'RATING',
|
||||||
|
/**
|
||||||
|
* Sort products by creation date.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
CREATED_AT = 'CREATED_AT'
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ProductStockFilterInput = {
|
export type ProductStockFilterInput = {
|
||||||
|
@ -4037,6 +4191,18 @@ export type ProductVariantBulkCreateInput = {
|
||||||
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
*/
|
*/
|
||||||
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
/** Stocks of a product available for sale. */
|
/** Stocks of a product available for sale. */
|
||||||
stocks?: InputMaybe<Array<StockInput>>;
|
stocks?: InputMaybe<Array<StockInput>>;
|
||||||
/** List of prices assigned to channels. */
|
/** List of prices assigned to channels. */
|
||||||
|
@ -4087,6 +4253,18 @@ export type ProductVariantCreateInput = {
|
||||||
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
*/
|
*/
|
||||||
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
/** Product ID of which type is the variant. */
|
/** Product ID of which type is the variant. */
|
||||||
product: Scalars['ID'];
|
product: Scalars['ID'];
|
||||||
/** Stocks of a product available for sale. */
|
/** Stocks of a product available for sale. */
|
||||||
|
@ -4128,6 +4306,18 @@ export type ProductVariantInput = {
|
||||||
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
*/
|
*/
|
||||||
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
quantityLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
metadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
|
/**
|
||||||
|
* Fields required to update the product variant private metadata.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*/
|
||||||
|
privateMetadata?: InputMaybe<Array<MetadataInput>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum ProductVariantSortField {
|
export enum ProductVariantSortField {
|
||||||
|
@ -5118,6 +5308,14 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
||||||
/** A gift card status is changed. */
|
/** A gift card status is changed. */
|
||||||
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
||||||
|
/**
|
||||||
|
* A gift card metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED',
|
||||||
/** A new menu created. */
|
/** A new menu created. */
|
||||||
MENU_CREATED = 'MENU_CREATED',
|
MENU_CREATED = 'MENU_CREATED',
|
||||||
/** A menu is updated. */
|
/** A menu is updated. */
|
||||||
|
@ -5142,6 +5340,14 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
||||||
/** An order is fulfilled. */
|
/** An order is fulfilled. */
|
||||||
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
||||||
|
/**
|
||||||
|
* An order metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED',
|
||||||
/** A draft order is created. */
|
/** A draft order is created. */
|
||||||
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
||||||
/** A draft order is updated. */
|
/** A draft order is updated. */
|
||||||
|
@ -5168,18 +5374,42 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
||||||
/** A customer account is deleted. */
|
/** A customer account is deleted. */
|
||||||
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
||||||
|
/**
|
||||||
|
* A customer account metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED',
|
||||||
/** A new collection is created. */
|
/** A new collection is created. */
|
||||||
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
||||||
/** A collection is updated. */
|
/** A collection is updated. */
|
||||||
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
||||||
/** A collection is deleted. */
|
/** A collection is deleted. */
|
||||||
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
||||||
|
/**
|
||||||
|
* A collection metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED',
|
||||||
/** A new product is created. */
|
/** A new product is created. */
|
||||||
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
||||||
/** A product is updated. */
|
/** A product is updated. */
|
||||||
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
||||||
/** A product is deleted. */
|
/** A product is deleted. */
|
||||||
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
||||||
|
/**
|
||||||
|
* A product metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED',
|
||||||
/** A new product variant is created. */
|
/** A new product variant is created. */
|
||||||
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
||||||
/** A product variant is updated. */
|
/** A product variant is updated. */
|
||||||
|
@ -5190,16 +5420,40 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
||||||
/** A product variant is back in stock. */
|
/** A product variant is back in stock. */
|
||||||
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
||||||
|
/**
|
||||||
|
* A product variant metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED',
|
||||||
/** A new checkout is created. */
|
/** A new checkout is created. */
|
||||||
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
||||||
/** A checkout is updated. It also triggers all updates related to the checkout. */
|
/** A checkout is updated. It also triggers all updates related to the checkout. */
|
||||||
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
||||||
|
/**
|
||||||
|
* A checkout metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED',
|
||||||
/** A new fulfillment is created. */
|
/** A new fulfillment is created. */
|
||||||
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
||||||
/** A fulfillment is cancelled. */
|
/** A fulfillment is cancelled. */
|
||||||
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
||||||
/** A fulfillment is approved. */
|
/** A fulfillment is approved. */
|
||||||
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
||||||
|
/**
|
||||||
|
* A fulfillment metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED',
|
||||||
/** User notification triggered. */
|
/** User notification triggered. */
|
||||||
NOTIFY_USER = 'NOTIFY_USER',
|
NOTIFY_USER = 'NOTIFY_USER',
|
||||||
/** A new page is created. */
|
/** A new page is created. */
|
||||||
|
@ -5232,6 +5486,14 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
||||||
/** A shipping zone is deleted. */
|
/** A shipping zone is deleted. */
|
||||||
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
||||||
|
/**
|
||||||
|
* A shipping zone metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED',
|
||||||
/** A new staff user is created. */
|
/** A new staff user is created. */
|
||||||
STAFF_CREATED = 'STAFF_CREATED',
|
STAFF_CREATED = 'STAFF_CREATED',
|
||||||
/** A staff user is updated. */
|
/** A staff user is updated. */
|
||||||
|
@ -5240,6 +5502,14 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
STAFF_DELETED = 'STAFF_DELETED',
|
STAFF_DELETED = 'STAFF_DELETED',
|
||||||
/** An action requested for transaction. */
|
/** An action requested for transaction. */
|
||||||
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
||||||
|
/**
|
||||||
|
* Transaction item metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED',
|
||||||
/** A new translation is created. */
|
/** A new translation is created. */
|
||||||
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
||||||
/** A translation is updated. */
|
/** A translation is updated. */
|
||||||
|
@ -5250,12 +5520,28 @@ export enum WebhookEventTypeAsyncEnum {
|
||||||
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
||||||
/** A warehouse is deleted. */
|
/** A warehouse is deleted. */
|
||||||
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
||||||
|
/**
|
||||||
|
* A warehouse metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED',
|
||||||
/** A new voucher created. */
|
/** A new voucher created. */
|
||||||
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
||||||
/** A voucher is updated. */
|
/** A voucher is updated. */
|
||||||
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
||||||
/** A voucher is deleted. */
|
/** A voucher is deleted. */
|
||||||
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
||||||
|
/**
|
||||||
|
* A voucher metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED',
|
||||||
/** An observability event is created. */
|
/** An observability event is created. */
|
||||||
OBSERVABILITY = 'OBSERVABILITY'
|
OBSERVABILITY = 'OBSERVABILITY'
|
||||||
}
|
}
|
||||||
|
@ -5312,6 +5598,14 @@ export enum WebhookEventTypeEnum {
|
||||||
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
||||||
/** A gift card status is changed. */
|
/** A gift card status is changed. */
|
||||||
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
||||||
|
/**
|
||||||
|
* A gift card metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED',
|
||||||
/** A new menu created. */
|
/** A new menu created. */
|
||||||
MENU_CREATED = 'MENU_CREATED',
|
MENU_CREATED = 'MENU_CREATED',
|
||||||
/** A menu is updated. */
|
/** A menu is updated. */
|
||||||
|
@ -5336,6 +5630,14 @@ export enum WebhookEventTypeEnum {
|
||||||
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
||||||
/** An order is fulfilled. */
|
/** An order is fulfilled. */
|
||||||
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
||||||
|
/**
|
||||||
|
* An order metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED',
|
||||||
/** A draft order is created. */
|
/** A draft order is created. */
|
||||||
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
||||||
/** A draft order is updated. */
|
/** A draft order is updated. */
|
||||||
|
@ -5362,18 +5664,42 @@ export enum WebhookEventTypeEnum {
|
||||||
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
||||||
/** A customer account is deleted. */
|
/** A customer account is deleted. */
|
||||||
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
||||||
|
/**
|
||||||
|
* A customer account metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED',
|
||||||
/** A new collection is created. */
|
/** A new collection is created. */
|
||||||
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
||||||
/** A collection is updated. */
|
/** A collection is updated. */
|
||||||
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
||||||
/** A collection is deleted. */
|
/** A collection is deleted. */
|
||||||
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
||||||
|
/**
|
||||||
|
* A collection metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED',
|
||||||
/** A new product is created. */
|
/** A new product is created. */
|
||||||
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
||||||
/** A product is updated. */
|
/** A product is updated. */
|
||||||
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
||||||
/** A product is deleted. */
|
/** A product is deleted. */
|
||||||
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
||||||
|
/**
|
||||||
|
* A product metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED',
|
||||||
/** A new product variant is created. */
|
/** A new product variant is created. */
|
||||||
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
||||||
/** A product variant is updated. */
|
/** A product variant is updated. */
|
||||||
|
@ -5384,16 +5710,40 @@ export enum WebhookEventTypeEnum {
|
||||||
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
||||||
/** A product variant is back in stock. */
|
/** A product variant is back in stock. */
|
||||||
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
||||||
|
/**
|
||||||
|
* A product variant metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED',
|
||||||
/** A new checkout is created. */
|
/** A new checkout is created. */
|
||||||
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
||||||
/** A checkout is updated. It also triggers all updates related to the checkout. */
|
/** A checkout is updated. It also triggers all updates related to the checkout. */
|
||||||
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
||||||
|
/**
|
||||||
|
* A checkout metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED',
|
||||||
/** A new fulfillment is created. */
|
/** A new fulfillment is created. */
|
||||||
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
||||||
/** A fulfillment is cancelled. */
|
/** A fulfillment is cancelled. */
|
||||||
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
||||||
/** A fulfillment is approved. */
|
/** A fulfillment is approved. */
|
||||||
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
||||||
|
/**
|
||||||
|
* A fulfillment metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED',
|
||||||
/** User notification triggered. */
|
/** User notification triggered. */
|
||||||
NOTIFY_USER = 'NOTIFY_USER',
|
NOTIFY_USER = 'NOTIFY_USER',
|
||||||
/** A new page is created. */
|
/** A new page is created. */
|
||||||
|
@ -5426,6 +5776,14 @@ export enum WebhookEventTypeEnum {
|
||||||
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
||||||
/** A shipping zone is deleted. */
|
/** A shipping zone is deleted. */
|
||||||
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
||||||
|
/**
|
||||||
|
* A shipping zone metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED',
|
||||||
/** A new staff user is created. */
|
/** A new staff user is created. */
|
||||||
STAFF_CREATED = 'STAFF_CREATED',
|
STAFF_CREATED = 'STAFF_CREATED',
|
||||||
/** A staff user is updated. */
|
/** A staff user is updated. */
|
||||||
|
@ -5434,6 +5792,14 @@ export enum WebhookEventTypeEnum {
|
||||||
STAFF_DELETED = 'STAFF_DELETED',
|
STAFF_DELETED = 'STAFF_DELETED',
|
||||||
/** An action requested for transaction. */
|
/** An action requested for transaction. */
|
||||||
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
||||||
|
/**
|
||||||
|
* Transaction item metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED',
|
||||||
/** A new translation is created. */
|
/** A new translation is created. */
|
||||||
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
||||||
/** A translation is updated. */
|
/** A translation is updated. */
|
||||||
|
@ -5444,12 +5810,28 @@ export enum WebhookEventTypeEnum {
|
||||||
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
||||||
/** A warehouse is deleted. */
|
/** A warehouse is deleted. */
|
||||||
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
||||||
|
/**
|
||||||
|
* A warehouse metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED',
|
||||||
/** A new voucher created. */
|
/** A new voucher created. */
|
||||||
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
||||||
/** A voucher is updated. */
|
/** A voucher is updated. */
|
||||||
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
||||||
/** A voucher is deleted. */
|
/** A voucher is deleted. */
|
||||||
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
||||||
|
/**
|
||||||
|
* A voucher metadata is updated.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.8.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED',
|
||||||
/** An observability event is created. */
|
/** An observability event is created. */
|
||||||
OBSERVABILITY = 'OBSERVABILITY',
|
OBSERVABILITY = 'OBSERVABILITY',
|
||||||
/** Authorize payment. */
|
/** Authorize payment. */
|
||||||
|
@ -5556,6 +5938,7 @@ export enum WebhookSampleEventTypeEnum {
|
||||||
GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED',
|
GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED',
|
||||||
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
GIFT_CARD_DELETED = 'GIFT_CARD_DELETED',
|
||||||
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED',
|
||||||
|
GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED',
|
||||||
MENU_CREATED = 'MENU_CREATED',
|
MENU_CREATED = 'MENU_CREATED',
|
||||||
MENU_UPDATED = 'MENU_UPDATED',
|
MENU_UPDATED = 'MENU_UPDATED',
|
||||||
MENU_DELETED = 'MENU_DELETED',
|
MENU_DELETED = 'MENU_DELETED',
|
||||||
|
@ -5568,6 +5951,7 @@ export enum WebhookSampleEventTypeEnum {
|
||||||
ORDER_UPDATED = 'ORDER_UPDATED',
|
ORDER_UPDATED = 'ORDER_UPDATED',
|
||||||
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
ORDER_CANCELLED = 'ORDER_CANCELLED',
|
||||||
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
ORDER_FULFILLED = 'ORDER_FULFILLED',
|
||||||
|
ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED',
|
||||||
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED',
|
||||||
DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED',
|
DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED',
|
||||||
DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED',
|
DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED',
|
||||||
|
@ -5581,22 +5965,28 @@ export enum WebhookSampleEventTypeEnum {
|
||||||
CUSTOMER_CREATED = 'CUSTOMER_CREATED',
|
CUSTOMER_CREATED = 'CUSTOMER_CREATED',
|
||||||
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
CUSTOMER_UPDATED = 'CUSTOMER_UPDATED',
|
||||||
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
CUSTOMER_DELETED = 'CUSTOMER_DELETED',
|
||||||
|
CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED',
|
||||||
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
COLLECTION_CREATED = 'COLLECTION_CREATED',
|
||||||
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
COLLECTION_UPDATED = 'COLLECTION_UPDATED',
|
||||||
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
COLLECTION_DELETED = 'COLLECTION_DELETED',
|
||||||
|
COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED',
|
||||||
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
PRODUCT_CREATED = 'PRODUCT_CREATED',
|
||||||
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
PRODUCT_UPDATED = 'PRODUCT_UPDATED',
|
||||||
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
PRODUCT_DELETED = 'PRODUCT_DELETED',
|
||||||
|
PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED',
|
||||||
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED',
|
||||||
PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED',
|
PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED',
|
||||||
PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED',
|
PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED',
|
||||||
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK',
|
||||||
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK',
|
||||||
|
PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED',
|
||||||
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
CHECKOUT_CREATED = 'CHECKOUT_CREATED',
|
||||||
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
CHECKOUT_UPDATED = 'CHECKOUT_UPDATED',
|
||||||
|
CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED',
|
||||||
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
FULFILLMENT_CREATED = 'FULFILLMENT_CREATED',
|
||||||
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED',
|
||||||
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED',
|
||||||
|
FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED',
|
||||||
NOTIFY_USER = 'NOTIFY_USER',
|
NOTIFY_USER = 'NOTIFY_USER',
|
||||||
PAGE_CREATED = 'PAGE_CREATED',
|
PAGE_CREATED = 'PAGE_CREATED',
|
||||||
PAGE_UPDATED = 'PAGE_UPDATED',
|
PAGE_UPDATED = 'PAGE_UPDATED',
|
||||||
|
@ -5613,18 +6003,22 @@ export enum WebhookSampleEventTypeEnum {
|
||||||
SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED',
|
SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED',
|
||||||
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED',
|
||||||
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED',
|
||||||
|
SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED',
|
||||||
STAFF_CREATED = 'STAFF_CREATED',
|
STAFF_CREATED = 'STAFF_CREATED',
|
||||||
STAFF_UPDATED = 'STAFF_UPDATED',
|
STAFF_UPDATED = 'STAFF_UPDATED',
|
||||||
STAFF_DELETED = 'STAFF_DELETED',
|
STAFF_DELETED = 'STAFF_DELETED',
|
||||||
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST',
|
||||||
|
TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED',
|
||||||
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
TRANSLATION_CREATED = 'TRANSLATION_CREATED',
|
||||||
TRANSLATION_UPDATED = 'TRANSLATION_UPDATED',
|
TRANSLATION_UPDATED = 'TRANSLATION_UPDATED',
|
||||||
WAREHOUSE_CREATED = 'WAREHOUSE_CREATED',
|
WAREHOUSE_CREATED = 'WAREHOUSE_CREATED',
|
||||||
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED',
|
||||||
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
WAREHOUSE_DELETED = 'WAREHOUSE_DELETED',
|
||||||
|
WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED',
|
||||||
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
VOUCHER_CREATED = 'VOUCHER_CREATED',
|
||||||
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
VOUCHER_UPDATED = 'VOUCHER_UPDATED',
|
||||||
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
VOUCHER_DELETED = 'VOUCHER_DELETED',
|
||||||
|
VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED',
|
||||||
OBSERVABILITY = 'OBSERVABILITY'
|
OBSERVABILITY = 'OBSERVABILITY'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,22 @@ const isWebhookInPreview = (webhook: WebhookEventType) =>
|
||||||
WebhookEventTypeSyncEnum.ORDER_CALCULATE_TAXES,
|
WebhookEventTypeSyncEnum.ORDER_CALCULATE_TAXES,
|
||||||
] as WebhookEventType[]).includes(webhook);
|
] as WebhookEventType[]).includes(webhook);
|
||||||
|
|
||||||
|
const isAsyncWebhookInPreview = (webhook: WebhookEventType) =>
|
||||||
|
([
|
||||||
|
WebhookEventTypeAsyncEnum.GIFT_CARD_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.ORDER_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.CUSTOMER_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.COLLECTION_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.PRODUCT_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.PRODUCT_VARIANT_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.CHECKOUT_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.FULFILLMENT_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.SHIPPING_ZONE_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.TRANSACTION_ITEM_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.WAREHOUSE_METADATA_UPDATED,
|
||||||
|
WebhookEventTypeAsyncEnum.VOUCHER_METADATA_UPDATED,
|
||||||
|
] as WebhookEventType[]).includes(webhook);
|
||||||
|
|
||||||
export function mapSyncEventsToChoices(
|
export function mapSyncEventsToChoices(
|
||||||
events: WebhookEventTypeSyncEnum[],
|
events: WebhookEventTypeSyncEnum[],
|
||||||
): MultiAutocompleteChoiceType[] {
|
): MultiAutocompleteChoiceType[] {
|
||||||
|
@ -40,6 +56,7 @@ export function mapAsyncEventsToChoices(
|
||||||
return events.map(event => ({
|
return events.map(event => ({
|
||||||
label: event,
|
label: event,
|
||||||
value: event,
|
value: event,
|
||||||
|
badge: isAsyncWebhookInPreview(event) ? <PreviewPill /> : undefined,
|
||||||
disabled:
|
disabled:
|
||||||
event !== WebhookEventTypeAsyncEnum.ANY_EVENTS && isAnyAsyncEventSelected,
|
event !== WebhookEventTypeAsyncEnum.ANY_EVENTS && isAnyAsyncEventSelected,
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue