Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Oct 1, 2021
1 parent 002d984 commit 7b6ac38
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface OrderFormItem {
}
}

interface SKUSpecification {
export interface SKUSpecification {
fieldName: string
fieldValues: string[]
}
Expand Down Expand Up @@ -149,7 +149,7 @@ export interface OrderForm {
itemsOrdination: any | null
}

interface OrderFormMarketingData {
export interface OrderFormMarketingData {
utmCampaign?: string
utmMedium?: string
utmSource?: string
Expand All @@ -160,7 +160,7 @@ interface OrderFormMarketingData {
coupon?: string
}

interface PaymentData {
export interface PaymentData {
installmentOptions: Array<{
paymentSystem: string
bin: string | null
Expand Down Expand Up @@ -213,7 +213,7 @@ interface PaymentData {
availableTokens: any[]
}

interface ClientProfileData {
export interface ClientProfileData {
email: string
firstName: string
lastName: string
Expand All @@ -231,29 +231,29 @@ interface ClientProfileData {
customerClass: string
}

interface ShippingData {
export interface ShippingData {
address: CheckoutAddress | null
logisticsInfo: LogisticsInfo[]
selectedAddresses: CheckoutAddress[]
availableAddresses: CheckoutAddress[]
pickupPoints: PickupPoint[]
}

interface PickupPoint {
export interface PickupPoint {
friendlyName: string
address: CheckoutAddress
additionalInfo: string
id: string
businessHours: BusinessHour[]
}

interface BusinessHour {
export interface BusinessHour {
DayOfWeek: number
ClosingTime: string
OpeningTime: string
}

interface LogisticsInfo {
export interface LogisticsInfo {
addressId: string | null
deliveryChannels: DeliveryChannel[]
itemId: string
Expand All @@ -264,7 +264,7 @@ interface LogisticsInfo {
selectedSla: string | null
}

interface SLA {
export interface SLA {
id: string
deliveryChannel: string
name: string
Expand All @@ -290,19 +290,19 @@ interface SLA {
transitTime: string | null
}

interface DeliveryId {
export interface DeliveryId {
courierId: string
warehouseId: string
dockId: string
courierName: string
quantity: number
}

interface DeliveryChannel {
export interface DeliveryChannel {
id: string
}

interface CheckoutAddress {
export interface CheckoutAddress {
addressId: string
addressType: string
city: string | null
Expand All @@ -319,7 +319,7 @@ interface CheckoutAddress {
isDisposable: boolean
}

interface MetadataItem {
export interface MetadataItem {
id: string
name: string
imageUrl: string
Expand All @@ -332,13 +332,13 @@ interface MetadataItem {
ean: string | null
}

interface AssemblyOption {
export interface AssemblyOption {
id: string
name: string
composition: Composition | null
}

interface SubscriptionDataEntry {
export interface SubscriptionDataEntry {
executionCount: number
itemIndex: number
plan: {
Expand All @@ -351,7 +351,7 @@ interface SubscriptionDataEntry {
}
}

interface CompositionItem {
export interface CompositionItem {
id: string
minQuantity: number
maxQuantity: number
Expand All @@ -360,12 +360,12 @@ interface CompositionItem {
seller: string
}

interface Composition {
export interface Composition {
minQuantity: number
maxQuantity: number
items: CompositionItem[]
}

interface SubscriptionData {
export interface SubscriptionData {
subscriptions: SubscriptionDataEntry[]
}

0 comments on commit 7b6ac38

Please sign in to comment.