Update types
This commit is contained in:
parent
40a6594688
commit
f43326b660
20 changed files with 113 additions and 109 deletions
|
@ -73,11 +73,11 @@ export const orderErrorFragment = gql`
|
|||
|
||||
const orderCancelMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderCancel($id: ID!, $restock: Boolean!) {
|
||||
orderCancel(id: $id, restock: $restock) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -91,11 +91,11 @@ export const TypedOrderCancelMutation = TypedMutation<
|
|||
>(orderCancelMutation);
|
||||
|
||||
const orderBulkCancelMutation = gql`
|
||||
${orderErrorFragment}
|
||||
mutation OrderBulkCancel($ids: [ID]!, $restock: Boolean!) {
|
||||
orderBulkCancel(ids: $ids, restock: $restock) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,11 +107,11 @@ export const TypedOrderBulkCancelMutation = TypedMutation<
|
|||
|
||||
const orderDraftCancelMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderDraftCancel($id: ID!) {
|
||||
draftOrderDelete(id: $id) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -125,11 +125,11 @@ export const TypedOrderDraftCancelMutation = TypedMutation<
|
|||
>(orderDraftCancelMutation);
|
||||
|
||||
const orderDraftBulkCancelMutation = gql`
|
||||
${orderErrorFragment}
|
||||
mutation OrderDraftBulkCancel($ids: [ID]!) {
|
||||
draftOrderBulkDelete(ids: $ids) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,11 +141,11 @@ export const TypedOrderDraftBulkCancelMutation = TypedMutation<
|
|||
|
||||
const orderDraftFinalizeMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderDraftFinalize($id: ID!) {
|
||||
draftOrderComplete(id: $id) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -160,11 +160,11 @@ export const TypedOrderDraftFinalizeMutation = TypedMutation<
|
|||
|
||||
const orderRefundMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderRefund($id: ID!, $amount: Decimal!) {
|
||||
orderRefund(id: $id, amount: $amount) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -179,11 +179,11 @@ export const TypedOrderRefundMutation = TypedMutation<
|
|||
|
||||
const orderVoidMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderVoid($id: ID!) {
|
||||
orderVoid(id: $id) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -198,11 +198,11 @@ export const TypedOrderVoidMutation = TypedMutation<
|
|||
|
||||
const orderMarkAsPaidMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderMarkAsPaid($id: ID!) {
|
||||
orderMarkAsPaid(id: $id) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -217,11 +217,11 @@ export const TypedOrderMarkAsPaidMutation = TypedMutation<
|
|||
|
||||
const orderCaptureMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderCapture($id: ID!, $amount: Decimal!) {
|
||||
orderCapture(id: $id, amount: $amount) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -236,14 +236,14 @@ export const TypedOrderCaptureMutation = TypedMutation<
|
|||
|
||||
const orderCreateFulfillmentMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderCreateFulfillment(
|
||||
$order: ID!
|
||||
$input: FulfillmentCreateInput!
|
||||
) {
|
||||
orderFulfillmentCreate(order: $order, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -258,14 +258,14 @@ export const TypedOrderCreateFulfillmentMutation = TypedMutation<
|
|||
|
||||
const orderFulfillmentUpdateTrackingMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderFulfillmentUpdateTracking(
|
||||
$id: ID!
|
||||
$input: FulfillmentUpdateTrackingInput!
|
||||
) {
|
||||
orderFulfillmentUpdateTracking(id: $id, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -280,11 +280,11 @@ export const TypedOrderFulfillmentUpdateTrackingMutation = TypedMutation<
|
|||
|
||||
const orderFulfillmentCancelMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderFulfillmentCancel($id: ID!, $input: FulfillmentCancelInput!) {
|
||||
orderFulfillmentCancel(id: $id, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -299,11 +299,11 @@ export const TypedOrderFulfillmentCancelMutation = TypedMutation<
|
|||
|
||||
const orderAddNoteMutation = gql`
|
||||
${fragmentOrderEvent}
|
||||
${orderErrorFragment}
|
||||
mutation OrderAddNote($order: ID!, $input: OrderAddNoteInput!) {
|
||||
orderAddNote(order: $order, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
id
|
||||
|
@ -347,12 +347,11 @@ export const TypedOrderUpdateMutation = TypedMutation<
|
|||
|
||||
const orderDraftUpdateMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderDraftUpdate($id: ID!, $input: DraftOrderInput!) {
|
||||
draftOrderUpdate(id: $id, input: $input) {
|
||||
errors: orderErrors {
|
||||
code
|
||||
field
|
||||
message
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -366,14 +365,14 @@ export const TypedOrderDraftUpdateMutation = TypedMutation<
|
|||
>(orderDraftUpdateMutation);
|
||||
|
||||
const orderShippingMethodUpdateMutation = gql`
|
||||
${orderErrorFragment}
|
||||
mutation OrderShippingMethodUpdate(
|
||||
$id: ID!
|
||||
$input: OrderUpdateShippingInput!
|
||||
) {
|
||||
orderUpdateShipping(order: $id, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
availableShippingMethods {
|
||||
|
@ -406,11 +405,11 @@ export const TypedOrderShippingMethodUpdateMutation = TypedMutation<
|
|||
>(orderShippingMethodUpdateMutation);
|
||||
|
||||
const orderDraftCreateMutation = gql`
|
||||
${orderErrorFragment}
|
||||
mutation OrderDraftCreate {
|
||||
draftOrderCreate(input: {}) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
id
|
||||
|
@ -424,11 +423,11 @@ export const useOrderDraftCreateMutation = makeMutation<OrderDraftCreate, {}>(
|
|||
|
||||
const orderLineDeleteMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderLineDelete($id: ID!) {
|
||||
draftOrderLineDelete(id: $id) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -443,11 +442,11 @@ export const TypedOrderLineDeleteMutation = TypedMutation<
|
|||
|
||||
const orderLinesAddMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderLinesAdd($id: ID!, $input: [OrderLineCreateInput]!) {
|
||||
draftOrderLinesCreate(id: $id, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
@ -462,11 +461,11 @@ export const TypedOrderLinesAddMutation = TypedMutation<
|
|||
|
||||
const orderLineUpdateMutation = gql`
|
||||
${fragmentOrderDetails}
|
||||
${orderErrorFragment}
|
||||
mutation OrderLineUpdate($id: ID!, $input: OrderLineInput!) {
|
||||
draftOrderLineUpdate(id: $id, input: $input) {
|
||||
errors {
|
||||
field
|
||||
message
|
||||
errors: orderErrors {
|
||||
...OrderErrorFragment
|
||||
}
|
||||
order {
|
||||
...OrderDetailsFragment
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderAddNoteInput, OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypes";
|
||||
import { OrderAddNoteInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderAddNote
|
||||
// ====================================================
|
||||
|
||||
export interface OrderAddNote_orderAddNote_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderAddNote_orderAddNote_order_events_user {
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderErrorCode } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderBulkCancel
|
||||
// ====================================================
|
||||
|
||||
export interface OrderBulkCancel_orderBulkCancel_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderBulkCancel_orderBulkCancel {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderCancel
|
||||
// ====================================================
|
||||
|
||||
export interface OrderCancel_orderCancel_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderCancel_orderCancel_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderCapture
|
||||
// ====================================================
|
||||
|
||||
export interface OrderCapture_orderCapture_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderCapture_orderCapture_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { FulfillmentCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { FulfillmentCreateInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderCreateFulfillment
|
||||
// ====================================================
|
||||
|
||||
export interface OrderCreateFulfillment_orderFulfillmentCreate_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderCreateFulfillment_orderFulfillmentCreate_order_billingAddress_country {
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderErrorCode } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderDraftBulkCancel
|
||||
// ====================================================
|
||||
|
||||
export interface OrderDraftBulkCancel_draftOrderBulkDelete_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderDraftBulkCancel_draftOrderBulkDelete {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderDraftCancel
|
||||
// ====================================================
|
||||
|
||||
export interface OrderDraftCancel_draftOrderDelete_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderDraftCancel_draftOrderDelete_order_billingAddress_country {
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderErrorCode } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderDraftCreate
|
||||
// ====================================================
|
||||
|
||||
export interface OrderDraftCreate_draftOrderCreate_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderDraftCreate_draftOrderCreate_order {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderDraftFinalize
|
||||
// ====================================================
|
||||
|
||||
export interface OrderDraftFinalize_draftOrderComplete_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderDraftFinalize_draftOrderComplete_order_billingAddress_country {
|
||||
|
|
|
@ -12,7 +12,6 @@ export interface OrderDraftUpdate_draftOrderUpdate_errors {
|
|||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderDraftUpdate_draftOrderUpdate_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { FulfillmentCancelInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { FulfillmentCancelInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderFulfillmentCancel
|
||||
// ====================================================
|
||||
|
||||
export interface OrderFulfillmentCancel_orderFulfillmentCancel_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { FulfillmentUpdateTrackingInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { FulfillmentUpdateTrackingInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderFulfillmentUpdateTracking
|
||||
// ====================================================
|
||||
|
||||
export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderLineDelete
|
||||
// ====================================================
|
||||
|
||||
export interface OrderLineDelete_draftOrderLineDelete_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderLineDelete_draftOrderLineDelete_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderLineInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderLineInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderLineUpdate
|
||||
// ====================================================
|
||||
|
||||
export interface OrderLineUpdate_draftOrderLineUpdate_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderLineUpdate_draftOrderLineUpdate_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderLineCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderLineCreateInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderLinesAdd
|
||||
// ====================================================
|
||||
|
||||
export interface OrderLinesAdd_draftOrderLinesCreate_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderLinesAdd_draftOrderLinesCreate_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderMarkAsPaid
|
||||
// ====================================================
|
||||
|
||||
export interface OrderMarkAsPaid_orderMarkAsPaid_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderMarkAsPaid_orderMarkAsPaid_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderRefund
|
||||
// ====================================================
|
||||
|
||||
export interface OrderRefund_orderRefund_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderRefund_orderRefund_order_billingAddress_country {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderUpdateShippingInput } from "./../../types/globalTypes";
|
||||
import { OrderUpdateShippingInput, OrderErrorCode } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderShippingMethodUpdate
|
||||
// ====================================================
|
||||
|
||||
export interface OrderShippingMethodUpdate_orderUpdateShipping_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderShippingMethodUpdate_orderUpdateShipping_order_availableShippingMethods {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: OrderVoid
|
||||
// ====================================================
|
||||
|
||||
export interface OrderVoid_orderVoid_errors {
|
||||
__typename: "Error";
|
||||
__typename: "OrderError";
|
||||
code: OrderErrorCode;
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface OrderVoid_orderVoid_order_billingAddress_country {
|
||||
|
|
Loading…
Reference in a new issue