Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update typescript types

Unknowne82b0cac44e9
diff --git a/saleor/static/dashboard-next/home/types/Home.ts b/saleor/static/dashboard-next/home/types/Home.ts
index bd5faed89d..59c7aee3aa 100644
--- a/saleor/static/dashboard-next/home/types/Home.ts
+++ b/saleor/static/dashboard-next/home/types/Home.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypes";
// ====================================================
// GraphQL query operation: Home
@@ -105,13 +105,13 @@ export interface Home_activities_edges_node {
composedId: string | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
id: string;
message: string | null;
orderNumber: string | null;
oversoldItems: (string | null)[] | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: Home_activities_edges_node_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts b/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
index 36f769be40..dc42af7cb5 100644
--- a/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderAddNote.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderAddNoteInput, OrderEventsEmails, OrderEvents } from "./../../types/globalTypes";
+import { OrderAddNoteInput, OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderAddNote
@@ -26,10 +26,10 @@ export interface OrderAddNote_orderAddNote_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderAddNote_orderAddNote_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCancel.ts b/saleor/static/dashboard-next/orders/types/OrderCancel.ts
index 5e1cd5e78d..ce5e75c795 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCancel.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderCancel
@@ -48,10 +48,10 @@ export interface OrderCancel_orderCancel_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderCancel_orderCancel_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCapture.ts b/saleor/static/dashboard-next/orders/types/OrderCapture.ts
index 04b03fb91f..13a3f1dded 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCapture.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCapture.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderCapture
@@ -48,10 +48,10 @@ export interface OrderCapture_orderCapture_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderCapture_orderCapture_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
index 316c389e5e..0f168755d6 100644
--- a/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderCreateFulfillment.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { FulfillmentCreateInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { FulfillmentCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderCreateFulfillment
@@ -48,10 +48,10 @@ export interface OrderCreateFulfillment_orderFulfillmentCreate_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderCreateFulfillment_orderFulfillmentCreate_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDetails.ts b/saleor/static/dashboard-next/orders/types/OrderDetails.ts
index 84f20b9fd4..ffd1be3306 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDetails.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDetails.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, WeightUnitsEnum } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, WeightUnitsEnum } from "./../../types/globalTypes";
// ====================================================
// GraphQL query operation: OrderDetails
@@ -42,10 +42,10 @@ export interface OrderDetails_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderDetails_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts b/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts
index b38e857e3c..060ec800b9 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDetailsFragment.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL fragment: OrderDetailsFragment
@@ -42,10 +42,10 @@ export interface OrderDetailsFragment_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderDetailsFragment_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
index ed36d52344..b896500e53 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftCancel.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderDraftCancel
@@ -48,10 +48,10 @@ export interface OrderDraftCancel_draftOrderDelete_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderDraftCancel_draftOrderDelete_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
index ca4dd8e2d9..cd8609774a 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftFinalize.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderDraftFinalize
@@ -48,10 +48,10 @@ export interface OrderDraftFinalize_draftOrderComplete_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderDraftFinalize_draftOrderComplete_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
index 1a4410e87c..272f46696f 100644
--- a/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderDraftUpdate.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { DraftOrderInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { DraftOrderInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderDraftUpdate
@@ -48,10 +48,10 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderDraftUpdate_draftOrderUpdate_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts b/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts
index d02de1ccb2..324d3d958f 100644
--- a/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderEventFragment.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum } from "./../../types/globalTypes";
// ====================================================
// GraphQL fragment: OrderEventFragment
@@ -20,9 +20,9 @@ export interface OrderEventFragment {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderEventFragment_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
index 288e19ceb3..95fa91da7b 100644
--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentCancel.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { FulfillmentCancelInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { FulfillmentCancelInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderFulfillmentCancel
@@ -48,10 +48,10 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderFulfillmentCancel_orderFulfillmentCancel_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
index c4e876424b..1ad75403be 100644
--- a/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderFulfillmentUpdateTracking.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { FulfillmentUpdateTrackingInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { FulfillmentUpdateTrackingInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderFulfillmentUpdateTracking
@@ -48,10 +48,10 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_o
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts b/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
index dd9f5770e4..c9f2a84065 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLineDelete.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderLineDelete
@@ -48,10 +48,10 @@ export interface OrderLineDelete_draftOrderLineDelete_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderLineDelete_draftOrderLineDelete_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
index 92b5c76c98..c1c624eae8 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLineUpdate.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderLineInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderLineInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderLineUpdate
@@ -48,10 +48,10 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderLineUpdate_draftOrderLineUpdate_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts b/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts
index 33a11457fe..c53cb745bc 100644
--- a/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderLinesAdd.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderLineCreateInput, OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderLineCreateInput, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderLinesAdd
@@ -48,10 +48,10 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderLinesAdd_draftOrderLinesCreate_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
index 145a62eab8..f7accee2b1 100644
--- a/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderMarkAsPaid.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderMarkAsPaid
@@ -48,10 +48,10 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderMarkAsPaid_orderMarkAsPaid_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderRefund.ts b/saleor/static/dashboard-next/orders/types/OrderRefund.ts
index 0a87e4795f..36a4a52d17 100644
--- a/saleor/static/dashboard-next/orders/types/OrderRefund.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderRefund.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderRefund
@@ -48,10 +48,10 @@ export interface OrderRefund_orderRefund_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderRefund_orderRefund_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/orders/types/OrderVoid.ts b/saleor/static/dashboard-next/orders/types/OrderVoid.ts
index 24f262c195..18cfe9e905 100644
--- a/saleor/static/dashboard-next/orders/types/OrderVoid.ts
+++ b/saleor/static/dashboard-next/orders/types/OrderVoid.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
// This file was automatically generated and should not be edited.
-import { OrderEventsEmails, OrderEvents, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
+import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
// ====================================================
// GraphQL mutation operation: OrderVoid
@@ -48,10 +48,10 @@ export interface OrderVoid_orderVoid_order_events {
amount: number | null;
date: any | null;
email: string | null;
- emailType: OrderEventsEmails | null;
+ emailType: OrderEventsEmailsEnum | null;
message: string | null;
quantity: number | null;
- type: OrderEvents | null;
+ type: OrderEventsEnum | null;
user: OrderVoid_orderVoid_order_events_user | null;
}
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index 7cc2d0d9b8..e0a990fcf1 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -79,8 +79,20 @@ export enum OrderAction {
VOID = "VOID",
}
-export enum OrderEvents {
+export enum OrderEventsEmailsEnum {
+ DIGITAL_LINKS = "DIGITAL_LINKS",
+ FULFILLMENT_CONFIRMATION = "FULFILLMENT_CONFIRMATION",
+ ORDER_CONFIRMATION = "ORDER_CONFIRMATION",
+ PAYMENT_CONFIRMATION = "PAYMENT_CONFIRMATION",
+ SHIPPING_CONFIRMATION = "SHIPPING_CONFIRMATION",
+ TRACKING_UPDATED = "TRACKING_UPDATED",
+}
+
+export enum OrderEventsEnum {
CANCELED = "CANCELED",
+ DRAFT_ADDED_PRODUCTS = "DRAFT_ADDED_PRODUCTS",
+ DRAFT_CREATED = "DRAFT_CREATED",
+ DRAFT_REMOVED_PRODUCTS = "DRAFT_REMOVED_PRODUCTS",
EMAIL_SENT = "EMAIL_SENT",
FULFILLMENT_CANCELED = "FULFILLMENT_CANCELED",
FULFILLMENT_FULFILLED_ITEMS = "FULFILLMENT_FULFILLED_ITEMS",
@@ -91,19 +103,13 @@ export enum OrderEvents {
OTHER = "OTHER",
OVERSOLD_ITEMS = "OVERSOLD_ITEMS",
PAYMENT_CAPTURED = "PAYMENT_CAPTURED",
+ PAYMENT_FAILED = "PAYMENT_FAILED",
PAYMENT_REFUNDED = "PAYMENT_REFUNDED",
PAYMENT_VOIDED = "PAYMENT_VOIDED",
PLACED = "PLACED",
PLACED_FROM_DRAFT = "PLACED_FROM_DRAFT",
TRACKING_UPDATED = "TRACKING_UPDATED",
- UPDATED = "UPDATED",
-}
-
-export enum OrderEventsEmails {
- FULFILLMENT = "FULFILLMENT",
- ORDER = "ORDER",
- PAYMENT = "PAYMENT",
- SHIPPING = "SHIPPING",
+ UPDATED_ADDRESS = "UPDATED_ADDRESS",
}
export enum OrderStatus {