Update types (#2229)
This commit is contained in:
parent
c6e8537174
commit
f058f4d01f
5 changed files with 2318 additions and 908 deletions
1314
introspection.json
1314
introspection.json
File diff suppressed because it is too large
Load diff
1713
schema.graphql
1713
schema.graphql
File diff suppressed because it is too large
Load diff
|
@ -33,6 +33,7 @@
|
||||||
"ChannelStatusChanged",
|
"ChannelStatusChanged",
|
||||||
"ChannelUpdated",
|
"ChannelUpdated",
|
||||||
"CheckoutCreated",
|
"CheckoutCreated",
|
||||||
|
"CheckoutFilterShippingMethods",
|
||||||
"CheckoutUpdated",
|
"CheckoutUpdated",
|
||||||
"CollectionCreated",
|
"CollectionCreated",
|
||||||
"CollectionDeleted",
|
"CollectionDeleted",
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
"OrderCancelled",
|
"OrderCancelled",
|
||||||
"OrderConfirmed",
|
"OrderConfirmed",
|
||||||
"OrderCreated",
|
"OrderCreated",
|
||||||
|
"OrderFilterShippingMethods",
|
||||||
"OrderFulfilled",
|
"OrderFulfilled",
|
||||||
"OrderFullyPaid",
|
"OrderFullyPaid",
|
||||||
"OrderUpdated",
|
"OrderUpdated",
|
||||||
|
@ -69,6 +71,13 @@
|
||||||
"PageTypeDeleted",
|
"PageTypeDeleted",
|
||||||
"PageTypeUpdated",
|
"PageTypeUpdated",
|
||||||
"PageUpdated",
|
"PageUpdated",
|
||||||
|
"PaymentAuthorize",
|
||||||
|
"PaymentCaptureEvent",
|
||||||
|
"PaymentConfirmEvent",
|
||||||
|
"PaymentListGateways",
|
||||||
|
"PaymentProcessEvent",
|
||||||
|
"PaymentRefundEvent",
|
||||||
|
"PaymentVoidEvent",
|
||||||
"PermissionGroupCreated",
|
"PermissionGroupCreated",
|
||||||
"PermissionGroupDeleted",
|
"PermissionGroupDeleted",
|
||||||
"PermissionGroupUpdated",
|
"PermissionGroupUpdated",
|
||||||
|
@ -84,6 +93,7 @@
|
||||||
"SaleDeleted",
|
"SaleDeleted",
|
||||||
"SaleToggle",
|
"SaleToggle",
|
||||||
"SaleUpdated",
|
"SaleUpdated",
|
||||||
|
"ShippingListMethodsForCheckout",
|
||||||
"ShippingPriceCreated",
|
"ShippingPriceCreated",
|
||||||
"ShippingPriceDeleted",
|
"ShippingPriceDeleted",
|
||||||
"ShippingPriceUpdated",
|
"ShippingPriceUpdated",
|
||||||
|
|
|
@ -916,6 +916,15 @@ export type CheckoutErrorFieldPolicy = {
|
||||||
lines?: FieldPolicy<any> | FieldReadFunction<any>,
|
lines?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
addressType?: FieldPolicy<any> | FieldReadFunction<any>
|
addressType?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type CheckoutFilterShippingMethodsKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | 'shippingMethods' | CheckoutFilterShippingMethodsKeySpecifier)[];
|
||||||
|
export type CheckoutFilterShippingMethodsFieldPolicy = {
|
||||||
|
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>,
|
||||||
|
shippingMethods?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type CheckoutLanguageCodeUpdateKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutLanguageCodeUpdateKeySpecifier)[];
|
export type CheckoutLanguageCodeUpdateKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutLanguageCodeUpdateKeySpecifier)[];
|
||||||
export type CheckoutLanguageCodeUpdateFieldPolicy = {
|
export type CheckoutLanguageCodeUpdateFieldPolicy = {
|
||||||
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
checkout?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -2756,6 +2765,15 @@ export type OrderEventOrderLineObjectFieldPolicy = {
|
||||||
itemName?: FieldPolicy<any> | FieldReadFunction<any>,
|
itemName?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
discount?: FieldPolicy<any> | FieldReadFunction<any>
|
discount?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type OrderFilterShippingMethodsKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | 'shippingMethods' | OrderFilterShippingMethodsKeySpecifier)[];
|
||||||
|
export type OrderFilterShippingMethodsFieldPolicy = {
|
||||||
|
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>,
|
||||||
|
shippingMethods?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type OrderFulfillKeySpecifier = ('fulfillments' | 'order' | 'orderErrors' | 'errors' | OrderFulfillKeySpecifier)[];
|
export type OrderFulfillKeySpecifier = ('fulfillments' | 'order' | 'orderErrors' | 'errors' | OrderFulfillKeySpecifier)[];
|
||||||
export type OrderFulfillFieldPolicy = {
|
export type OrderFulfillFieldPolicy = {
|
||||||
fulfillments?: FieldPolicy<any> | FieldReadFunction<any>,
|
fulfillments?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -3163,18 +3181,42 @@ export type PaymentFieldPolicy = {
|
||||||
availableRefundAmount?: FieldPolicy<any> | FieldReadFunction<any>,
|
availableRefundAmount?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
creditCard?: FieldPolicy<any> | FieldReadFunction<any>
|
creditCard?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentAuthorizeKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentAuthorizeKeySpecifier)[];
|
||||||
|
export type PaymentAuthorizeFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PaymentCaptureKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentCaptureKeySpecifier)[];
|
export type PaymentCaptureKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentCaptureKeySpecifier)[];
|
||||||
export type PaymentCaptureFieldPolicy = {
|
export type PaymentCaptureFieldPolicy = {
|
||||||
payment?: FieldPolicy<any> | FieldReadFunction<any>,
|
payment?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentCaptureEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentCaptureEventKeySpecifier)[];
|
||||||
|
export type PaymentCaptureEventFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PaymentCheckBalanceKeySpecifier = ('data' | 'paymentErrors' | 'errors' | PaymentCheckBalanceKeySpecifier)[];
|
export type PaymentCheckBalanceKeySpecifier = ('data' | 'paymentErrors' | 'errors' | PaymentCheckBalanceKeySpecifier)[];
|
||||||
export type PaymentCheckBalanceFieldPolicy = {
|
export type PaymentCheckBalanceFieldPolicy = {
|
||||||
data?: FieldPolicy<any> | FieldReadFunction<any>,
|
data?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentConfirmEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentConfirmEventKeySpecifier)[];
|
||||||
|
export type PaymentConfirmEventFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PaymentCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PaymentCountableConnectionKeySpecifier)[];
|
export type PaymentCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PaymentCountableConnectionKeySpecifier)[];
|
||||||
export type PaymentCountableConnectionFieldPolicy = {
|
export type PaymentCountableConnectionFieldPolicy = {
|
||||||
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>,
|
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -3212,12 +3254,36 @@ export type PaymentInitializedFieldPolicy = {
|
||||||
name?: FieldPolicy<any> | FieldReadFunction<any>,
|
name?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
data?: FieldPolicy<any> | FieldReadFunction<any>
|
data?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentListGatewaysKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | PaymentListGatewaysKeySpecifier)[];
|
||||||
|
export type PaymentListGatewaysFieldPolicy = {
|
||||||
|
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 PaymentProcessEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentProcessEventKeySpecifier)[];
|
||||||
|
export type PaymentProcessEventFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PaymentRefundKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentRefundKeySpecifier)[];
|
export type PaymentRefundKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentRefundKeySpecifier)[];
|
||||||
export type PaymentRefundFieldPolicy = {
|
export type PaymentRefundFieldPolicy = {
|
||||||
payment?: FieldPolicy<any> | FieldReadFunction<any>,
|
payment?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentRefundEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentRefundEventKeySpecifier)[];
|
||||||
|
export type PaymentRefundEventFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PaymentSourceKeySpecifier = ('gateway' | 'paymentMethodId' | 'creditCardInfo' | 'metadata' | PaymentSourceKeySpecifier)[];
|
export type PaymentSourceKeySpecifier = ('gateway' | 'paymentMethodId' | 'creditCardInfo' | 'metadata' | PaymentSourceKeySpecifier)[];
|
||||||
export type PaymentSourceFieldPolicy = {
|
export type PaymentSourceFieldPolicy = {
|
||||||
gateway?: FieldPolicy<any> | FieldReadFunction<any>,
|
gateway?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -3231,6 +3297,14 @@ export type PaymentVoidFieldPolicy = {
|
||||||
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
paymentErrors?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
errors?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type PaymentVoidEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentVoidEventKeySpecifier)[];
|
||||||
|
export type PaymentVoidEventFieldPolicy = {
|
||||||
|
issuedAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
version?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
issuingPrincipal?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
recipient?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
payment?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type PermissionKeySpecifier = ('code' | 'name' | PermissionKeySpecifier)[];
|
export type PermissionKeySpecifier = ('code' | 'name' | PermissionKeySpecifier)[];
|
||||||
export type PermissionFieldPolicy = {
|
export type PermissionFieldPolicy = {
|
||||||
code?: FieldPolicy<any> | FieldReadFunction<any>,
|
code?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -4106,6 +4180,15 @@ export type ShippingErrorFieldPolicy = {
|
||||||
warehouses?: FieldPolicy<any> | FieldReadFunction<any>,
|
warehouses?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
channels?: FieldPolicy<any> | FieldReadFunction<any>
|
channels?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
};
|
};
|
||||||
|
export type ShippingListMethodsForCheckoutKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | 'shippingMethods' | ShippingListMethodsForCheckoutKeySpecifier)[];
|
||||||
|
export type ShippingListMethodsForCheckoutFieldPolicy = {
|
||||||
|
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>,
|
||||||
|
shippingMethods?: FieldPolicy<any> | FieldReadFunction<any>
|
||||||
|
};
|
||||||
export type ShippingMethodKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'type' | 'name' | 'description' | 'maximumDeliveryDays' | 'minimumDeliveryDays' | 'maximumOrderWeight' | 'minimumOrderWeight' | 'translation' | 'price' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'active' | 'message' | ShippingMethodKeySpecifier)[];
|
export type ShippingMethodKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'type' | 'name' | 'description' | 'maximumDeliveryDays' | 'minimumDeliveryDays' | 'maximumOrderWeight' | 'minimumOrderWeight' | 'translation' | 'price' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'active' | 'message' | ShippingMethodKeySpecifier)[];
|
||||||
export type ShippingMethodFieldPolicy = {
|
export type ShippingMethodFieldPolicy = {
|
||||||
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||||
|
@ -5551,6 +5634,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | CheckoutErrorKeySpecifier | (() => undefined | CheckoutErrorKeySpecifier),
|
keyFields?: false | CheckoutErrorKeySpecifier | (() => undefined | CheckoutErrorKeySpecifier),
|
||||||
fields?: CheckoutErrorFieldPolicy,
|
fields?: CheckoutErrorFieldPolicy,
|
||||||
},
|
},
|
||||||
|
CheckoutFilterShippingMethods?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | CheckoutFilterShippingMethodsKeySpecifier | (() => undefined | CheckoutFilterShippingMethodsKeySpecifier),
|
||||||
|
fields?: CheckoutFilterShippingMethodsFieldPolicy,
|
||||||
|
},
|
||||||
CheckoutLanguageCodeUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
CheckoutLanguageCodeUpdate?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | CheckoutLanguageCodeUpdateKeySpecifier | (() => undefined | CheckoutLanguageCodeUpdateKeySpecifier),
|
keyFields?: false | CheckoutLanguageCodeUpdateKeySpecifier | (() => undefined | CheckoutLanguageCodeUpdateKeySpecifier),
|
||||||
fields?: CheckoutLanguageCodeUpdateFieldPolicy,
|
fields?: CheckoutLanguageCodeUpdateFieldPolicy,
|
||||||
|
@ -6379,6 +6466,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | OrderEventOrderLineObjectKeySpecifier | (() => undefined | OrderEventOrderLineObjectKeySpecifier),
|
keyFields?: false | OrderEventOrderLineObjectKeySpecifier | (() => undefined | OrderEventOrderLineObjectKeySpecifier),
|
||||||
fields?: OrderEventOrderLineObjectFieldPolicy,
|
fields?: OrderEventOrderLineObjectFieldPolicy,
|
||||||
},
|
},
|
||||||
|
OrderFilterShippingMethods?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | OrderFilterShippingMethodsKeySpecifier | (() => undefined | OrderFilterShippingMethodsKeySpecifier),
|
||||||
|
fields?: OrderFilterShippingMethodsFieldPolicy,
|
||||||
|
},
|
||||||
OrderFulfill?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
OrderFulfill?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | OrderFulfillKeySpecifier | (() => undefined | OrderFulfillKeySpecifier),
|
keyFields?: false | OrderFulfillKeySpecifier | (() => undefined | OrderFulfillKeySpecifier),
|
||||||
fields?: OrderFulfillFieldPolicy,
|
fields?: OrderFulfillFieldPolicy,
|
||||||
|
@ -6579,14 +6670,26 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | PaymentKeySpecifier | (() => undefined | PaymentKeySpecifier),
|
keyFields?: false | PaymentKeySpecifier | (() => undefined | PaymentKeySpecifier),
|
||||||
fields?: PaymentFieldPolicy,
|
fields?: PaymentFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentAuthorize?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentAuthorizeKeySpecifier | (() => undefined | PaymentAuthorizeKeySpecifier),
|
||||||
|
fields?: PaymentAuthorizeFieldPolicy,
|
||||||
|
},
|
||||||
PaymentCapture?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
PaymentCapture?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PaymentCaptureKeySpecifier | (() => undefined | PaymentCaptureKeySpecifier),
|
keyFields?: false | PaymentCaptureKeySpecifier | (() => undefined | PaymentCaptureKeySpecifier),
|
||||||
fields?: PaymentCaptureFieldPolicy,
|
fields?: PaymentCaptureFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentCaptureEvent?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentCaptureEventKeySpecifier | (() => undefined | PaymentCaptureEventKeySpecifier),
|
||||||
|
fields?: PaymentCaptureEventFieldPolicy,
|
||||||
|
},
|
||||||
PaymentCheckBalance?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
PaymentCheckBalance?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PaymentCheckBalanceKeySpecifier | (() => undefined | PaymentCheckBalanceKeySpecifier),
|
keyFields?: false | PaymentCheckBalanceKeySpecifier | (() => undefined | PaymentCheckBalanceKeySpecifier),
|
||||||
fields?: PaymentCheckBalanceFieldPolicy,
|
fields?: PaymentCheckBalanceFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentConfirmEvent?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentConfirmEventKeySpecifier | (() => undefined | PaymentConfirmEventKeySpecifier),
|
||||||
|
fields?: PaymentConfirmEventFieldPolicy,
|
||||||
|
},
|
||||||
PaymentCountableConnection?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
PaymentCountableConnection?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PaymentCountableConnectionKeySpecifier | (() => undefined | PaymentCountableConnectionKeySpecifier),
|
keyFields?: false | PaymentCountableConnectionKeySpecifier | (() => undefined | PaymentCountableConnectionKeySpecifier),
|
||||||
fields?: PaymentCountableConnectionFieldPolicy,
|
fields?: PaymentCountableConnectionFieldPolicy,
|
||||||
|
@ -6611,10 +6714,22 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | PaymentInitializedKeySpecifier | (() => undefined | PaymentInitializedKeySpecifier),
|
keyFields?: false | PaymentInitializedKeySpecifier | (() => undefined | PaymentInitializedKeySpecifier),
|
||||||
fields?: PaymentInitializedFieldPolicy,
|
fields?: PaymentInitializedFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentListGateways?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentListGatewaysKeySpecifier | (() => undefined | PaymentListGatewaysKeySpecifier),
|
||||||
|
fields?: PaymentListGatewaysFieldPolicy,
|
||||||
|
},
|
||||||
|
PaymentProcessEvent?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentProcessEventKeySpecifier | (() => undefined | PaymentProcessEventKeySpecifier),
|
||||||
|
fields?: PaymentProcessEventFieldPolicy,
|
||||||
|
},
|
||||||
PaymentRefund?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
PaymentRefund?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PaymentRefundKeySpecifier | (() => undefined | PaymentRefundKeySpecifier),
|
keyFields?: false | PaymentRefundKeySpecifier | (() => undefined | PaymentRefundKeySpecifier),
|
||||||
fields?: PaymentRefundFieldPolicy,
|
fields?: PaymentRefundFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentRefundEvent?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentRefundEventKeySpecifier | (() => undefined | PaymentRefundEventKeySpecifier),
|
||||||
|
fields?: PaymentRefundEventFieldPolicy,
|
||||||
|
},
|
||||||
PaymentSource?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
PaymentSource?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PaymentSourceKeySpecifier | (() => undefined | PaymentSourceKeySpecifier),
|
keyFields?: false | PaymentSourceKeySpecifier | (() => undefined | PaymentSourceKeySpecifier),
|
||||||
fields?: PaymentSourceFieldPolicy,
|
fields?: PaymentSourceFieldPolicy,
|
||||||
|
@ -6623,6 +6738,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | PaymentVoidKeySpecifier | (() => undefined | PaymentVoidKeySpecifier),
|
keyFields?: false | PaymentVoidKeySpecifier | (() => undefined | PaymentVoidKeySpecifier),
|
||||||
fields?: PaymentVoidFieldPolicy,
|
fields?: PaymentVoidFieldPolicy,
|
||||||
},
|
},
|
||||||
|
PaymentVoidEvent?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | PaymentVoidEventKeySpecifier | (() => undefined | PaymentVoidEventKeySpecifier),
|
||||||
|
fields?: PaymentVoidEventFieldPolicy,
|
||||||
|
},
|
||||||
Permission?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
Permission?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | PermissionKeySpecifier | (() => undefined | PermissionKeySpecifier),
|
keyFields?: false | PermissionKeySpecifier | (() => undefined | PermissionKeySpecifier),
|
||||||
fields?: PermissionFieldPolicy,
|
fields?: PermissionFieldPolicy,
|
||||||
|
@ -7039,6 +7158,10 @@ export type StrictTypedTypePolicies = {
|
||||||
keyFields?: false | ShippingErrorKeySpecifier | (() => undefined | ShippingErrorKeySpecifier),
|
keyFields?: false | ShippingErrorKeySpecifier | (() => undefined | ShippingErrorKeySpecifier),
|
||||||
fields?: ShippingErrorFieldPolicy,
|
fields?: ShippingErrorFieldPolicy,
|
||||||
},
|
},
|
||||||
|
ShippingListMethodsForCheckout?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
|
keyFields?: false | ShippingListMethodsForCheckoutKeySpecifier | (() => undefined | ShippingListMethodsForCheckoutKeySpecifier),
|
||||||
|
fields?: ShippingListMethodsForCheckoutFieldPolicy,
|
||||||
|
},
|
||||||
ShippingMethod?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
ShippingMethod?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||||
keyFields?: false | ShippingMethodKeySpecifier | (() => undefined | ShippingMethodKeySpecifier),
|
keyFields?: false | ShippingMethodKeySpecifier | (() => undefined | ShippingMethodKeySpecifier),
|
||||||
fields?: ShippingMethodFieldPolicy,
|
fields?: ShippingMethodFieldPolicy,
|
||||||
|
|
|
@ -769,13 +769,25 @@ export type CheckoutLineInput = {
|
||||||
* 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.
|
||||||
*/
|
*/
|
||||||
price?: InputMaybe<Scalars['PositiveDecimal']>;
|
price?: InputMaybe<Scalars['PositiveDecimal']>;
|
||||||
|
/**
|
||||||
|
* Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.6.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
forceNewLine?: InputMaybe<Scalars['Boolean']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CheckoutLineUpdateInput = {
|
export type CheckoutLineUpdateInput = {
|
||||||
|
/**
|
||||||
|
* ID of the product variant.
|
||||||
|
*
|
||||||
|
* DEPRECATED: this field will be removed in Saleor 4.0. Use `lineId` instead.
|
||||||
|
*/
|
||||||
|
variantId?: InputMaybe<Scalars['ID']>;
|
||||||
/** The number of items purchased. Optional for apps, required for any other users. */
|
/** The number of items purchased. Optional for apps, required for any other users. */
|
||||||
quantity?: InputMaybe<Scalars['Int']>;
|
quantity?: InputMaybe<Scalars['Int']>;
|
||||||
/** ID of the product variant. */
|
|
||||||
variantId: Scalars['ID'];
|
|
||||||
/**
|
/**
|
||||||
* Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used.
|
* Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used.
|
||||||
*
|
*
|
||||||
|
@ -784,6 +796,12 @@ export type CheckoutLineUpdateInput = {
|
||||||
* 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.
|
||||||
*/
|
*/
|
||||||
price?: InputMaybe<Scalars['PositiveDecimal']>;
|
price?: InputMaybe<Scalars['PositiveDecimal']>;
|
||||||
|
/**
|
||||||
|
* ID of the line.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.6.
|
||||||
|
*/
|
||||||
|
lineId?: InputMaybe<Scalars['ID']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum CheckoutSortField {
|
export enum CheckoutSortField {
|
||||||
|
@ -3034,6 +3052,14 @@ export type OrderLineCreateInput = {
|
||||||
quantity: Scalars['Int'];
|
quantity: Scalars['Int'];
|
||||||
/** Product variant ID. */
|
/** Product variant ID. */
|
||||||
variantId: Scalars['ID'];
|
variantId: Scalars['ID'];
|
||||||
|
/**
|
||||||
|
* Flag that allow force splitting the same variant into multiple lines by skipping the matching logic.
|
||||||
|
*
|
||||||
|
* Added in Saleor 3.6.
|
||||||
|
*
|
||||||
|
* Note: this API is currently in Feature Preview and can be subject to changes at later point.
|
||||||
|
*/
|
||||||
|
forceNewLine?: InputMaybe<Scalars['Boolean']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type OrderLineInput = {
|
export type OrderLineInput = {
|
||||||
|
@ -6479,9 +6505,9 @@ export type GiftCardsSettingsFragment = { __typename: 'GiftCardSettings', expiry
|
||||||
|
|
||||||
export type GiftCardEventFragment = { __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null };
|
export type GiftCardEventFragment = { __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null };
|
||||||
|
|
||||||
export type GiftCardDataFragment = { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> };
|
export type GiftCardDataFragment = { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> };
|
||||||
|
|
||||||
export type CustomerGiftCardFragment = { __typename: 'GiftCard', id: string, last4CodeChars: string, expiryDate: any | null, isActive: boolean, currentBalance: { __typename: 'Money', amount: number, currency: string } | null };
|
export type CustomerGiftCardFragment = { __typename: 'GiftCard', id: string, last4CodeChars: string, expiryDate: any | null, isActive: boolean, currentBalance: { __typename: 'Money', amount: number, currency: string } };
|
||||||
|
|
||||||
export type MetadataItemFragment = { __typename: 'MetadataItem', key: string, value: string };
|
export type MetadataItemFragment = { __typename: 'MetadataItem', key: string, value: string };
|
||||||
|
|
||||||
|
@ -6760,21 +6786,21 @@ export type GiftCardResendMutationVariables = Exact<{
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardResendMutation = { __typename: 'Mutation', giftCardResend: { __typename: 'GiftCardResend', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
export type GiftCardResendMutation = { __typename: 'Mutation', giftCardResend: { __typename: 'GiftCardResend', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
||||||
|
|
||||||
export type GiftCardActivateMutationVariables = Exact<{
|
export type GiftCardActivateMutationVariables = Exact<{
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardActivateMutation = { __typename: 'Mutation', giftCardActivate: { __typename: 'GiftCardActivate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
export type GiftCardActivateMutation = { __typename: 'Mutation', giftCardActivate: { __typename: 'GiftCardActivate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
||||||
|
|
||||||
export type GiftCardDeactivateMutationVariables = Exact<{
|
export type GiftCardDeactivateMutationVariables = Exact<{
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardDeactivateMutation = { __typename: 'Mutation', giftCardDeactivate: { __typename: 'GiftCardDeactivate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
export type GiftCardDeactivateMutation = { __typename: 'Mutation', giftCardDeactivate: { __typename: 'GiftCardDeactivate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
||||||
|
|
||||||
export type GiftCardUpdateMutationVariables = Exact<{
|
export type GiftCardUpdateMutationVariables = Exact<{
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
|
@ -6782,7 +6808,7 @@ export type GiftCardUpdateMutationVariables = Exact<{
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardUpdateMutation = { __typename: 'Mutation', giftCardUpdate: { __typename: 'GiftCardUpdate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, events: Array<{ __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }>, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
export type GiftCardUpdateMutation = { __typename: 'Mutation', giftCardUpdate: { __typename: 'GiftCardUpdate', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, events: Array<{ __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }>, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null };
|
||||||
|
|
||||||
export type GiftCardAddNoteMutationVariables = Exact<{
|
export type GiftCardAddNoteMutationVariables = Exact<{
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
|
@ -6790,14 +6816,14 @@ export type GiftCardAddNoteMutationVariables = Exact<{
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardAddNoteMutation = { __typename: 'Mutation', giftCardAddNote: { __typename: 'GiftCardAddNote', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null, event: { __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null } | null } | null };
|
export type GiftCardAddNoteMutation = { __typename: 'Mutation', giftCardAddNote: { __typename: 'GiftCardAddNote', errors: Array<{ __typename: 'GiftCardError', code: GiftCardErrorCode, field: string | null, message: string | null }>, giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null, event: { __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null } | null } | null };
|
||||||
|
|
||||||
export type GiftCardDetailsQueryVariables = Exact<{
|
export type GiftCardDetailsQueryVariables = Exact<{
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardDetailsQuery = { __typename: 'Query', giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, events: Array<{ __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }>, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null };
|
export type GiftCardDetailsQuery = { __typename: 'Query', giftCard: { __typename: 'GiftCard', last4CodeChars: string, boughtInChannel: string | null, usedByEmail: string | null, createdByEmail: string | null, created: any, expiryDate: any | null, lastUsedOn: any | null, isActive: boolean, id: string, events: Array<{ __typename: 'GiftCardEvent', expiryDate: any | null, oldExpiryDate: any | null, id: string, date: any | null, type: GiftCardEventsEnum | null, message: string | null, email: string | null, orderId: string | null, orderNumber: string | null, tags: Array<string> | null, oldTags: Array<string> | null, user: { __typename: 'User', email: string, id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }>, createdBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, product: { __typename: 'Product', id: string, name: string } | null, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null } | null, initialBalance: { __typename: 'Money', amount: number, currency: string }, currentBalance: { __typename: 'Money', amount: number, currency: string }, tags: Array<{ __typename: 'GiftCardTag', name: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null };
|
||||||
|
|
||||||
export type GiftCardCurrenciesQueryVariables = Exact<{ [key: string]: never; }>;
|
export type GiftCardCurrenciesQueryVariables = Exact<{ [key: string]: never; }>;
|
||||||
|
|
||||||
|
@ -6842,7 +6868,7 @@ export type GiftCardListQueryVariables = Exact<{
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GiftCardListQuery = { __typename: 'Query', giftCards: { __typename: 'GiftCardCountableConnection', totalCount: number | null, edges: Array<{ __typename: 'GiftCardCountableEdge', node: { __typename: 'GiftCard', id: string, usedByEmail: string | null, last4CodeChars: string, isActive: boolean, expiryDate: any | null, product: { __typename: 'Product', id: string, name: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } | null } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null };
|
export type GiftCardListQuery = { __typename: 'Query', giftCards: { __typename: 'GiftCardCountableConnection', totalCount: number | null, edges: Array<{ __typename: 'GiftCardCountableEdge', node: { __typename: 'GiftCard', id: string, usedByEmail: string | null, last4CodeChars: string, isActive: boolean, expiryDate: any | null, product: { __typename: 'Product', id: string, name: string } | null, tags: Array<{ __typename: 'GiftCardTag', name: string }>, usedBy: { __typename: 'User', id: string, firstName: string, lastName: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string } } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null };
|
||||||
|
|
||||||
export type GiftCardTotalCountQueryVariables = Exact<{ [key: string]: never; }>;
|
export type GiftCardTotalCountQueryVariables = Exact<{ [key: string]: never; }>;
|
||||||
|
|
||||||
|
@ -6860,7 +6886,7 @@ export type CustomerGiftCardListQueryVariables = Exact<{
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type CustomerGiftCardListQuery = { __typename: 'Query', giftCards: { __typename: 'GiftCardCountableConnection', edges: Array<{ __typename: 'GiftCardCountableEdge', node: { __typename: 'GiftCard', id: string, last4CodeChars: string, expiryDate: any | null, isActive: boolean, currentBalance: { __typename: 'Money', amount: number, currency: string } | null } }> } | null };
|
export type CustomerGiftCardListQuery = { __typename: 'Query', giftCards: { __typename: 'GiftCardCountableConnection', edges: Array<{ __typename: 'GiftCardCountableEdge', node: { __typename: 'GiftCard', id: string, last4CodeChars: string, expiryDate: any | null, isActive: boolean, currentBalance: { __typename: 'Money', amount: number, currency: string } } }> } | null };
|
||||||
|
|
||||||
export type HomeQueryVariables = Exact<{
|
export type HomeQueryVariables = Exact<{
|
||||||
channel: Scalars['String'];
|
channel: Scalars['String'];
|
||||||
|
|
Loading…
Reference in a new issue