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