This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(structure): Move sw6-connector to packages/shopware-6-client/
- Loading branch information
Showing
107 changed files
with
438 additions
and
463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/shopware-6-client/src/interfaces/models/checkout/cart/error/Error.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface Error {} |
2 changes: 1 addition & 1 deletion
2
...ls/checkout/cart/error/ErrorCollection.ts → ...ls/checkout/cart/error/ErrorCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Collection } from "../../../framework/struct/Collection"; | ||
import { Error } from "./Error"; | ||
export interface ErrorCollection extends Collection { | ||
[index: number]: Error; | ||
[index: number]: Error; | ||
} |
27 changes: 27 additions & 0 deletions
27
packages/shopware-6-client/src/interfaces/models/checkout/cart/line-item/LineItem.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { CalculatedPrice } from "../price/CalculatedPrice"; | ||
import { Media } from "../../../content/media/Media"; | ||
import { Rule } from "../../../framework/rule/Rule"; | ||
import { DeliveryInformation } from "../../delivery/DeliveryInformation"; | ||
import { PriceDefinitionInterface } from "../price/PriceDefinitionInterface"; | ||
import { QuantityInformation } from "./QuantityInformation"; | ||
import { LineItemCollection } from "./LineItemCollection"; | ||
export interface LineItem { | ||
id: string; | ||
referencedId: string | null; | ||
label: string | null; | ||
quantity: number; | ||
type: string; | ||
payload: []; | ||
priceDefinition: PriceDefinitionInterface | null; | ||
price: CalculatedPrice | null; | ||
good: boolean; | ||
description: string | null; | ||
cover: Media | null; | ||
deliveryInformation: DeliveryInformation | null; | ||
children: LineItemCollection; | ||
requirement: Rule | null; | ||
removable: boolean; | ||
stackable: boolean; | ||
quantityInformation: QuantityInformation | null; | ||
modified: boolean; | ||
} |
2 changes: 1 addition & 1 deletion
2
...kout/cart/line-item/LineItemCollection.ts → ...kout/cart/line-item/LineItemCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { LineItem } from "./LineItem"; | ||
export interface LineItemCollection { | ||
[index: number]: LineItem; | ||
[index: number]: LineItem; | ||
} |
5 changes: 5 additions & 0 deletions
5
...es/shopware-6-client/src/interfaces/models/checkout/cart/line-item/QuantityInformation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface QuantityInformation { | ||
minPurchase: number; | ||
maxPurchase: number | null; | ||
purchaseSteps: number | null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...s/models/checkout/cart/price/CartPrice.ts → ...s/models/checkout/cart/price/CartPrice.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { CalculatedTaxCollection } from "../../../system/tax/CalculatedTaxCollection"; | ||
import { TaxRuleCollection } from "../../../system/tax/TaxRuleCollection"; | ||
export interface CartPrice { | ||
netPrice: number; | ||
totalPrice: number; | ||
calculatedTaxes: CalculatedTaxCollection; | ||
taxRules: TaxRuleCollection; | ||
positionPrice: number; | ||
taxStatus: string; | ||
netPrice: number; | ||
totalPrice: number; | ||
calculatedTaxes: CalculatedTaxCollection; | ||
taxRules: TaxRuleCollection; | ||
positionPrice: number; | ||
taxStatus: string; | ||
} |
1 change: 1 addition & 0 deletions
1
...s/shopware-6-client/src/interfaces/models/checkout/cart/price/PriceDefinitionInterface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface PriceDefinitionInterface {} |
2 changes: 1 addition & 1 deletion
2
...els/checkout/cart/price/ReferencePrice.ts → ...els/checkout/cart/price/ReferencePrice.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export interface ReferencePrice { | ||
price: number; | ||
price: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...cart/transaction/TransactionCollection.ts → ...cart/transaction/TransactionCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import { Collection } from "../../../framework/struct/Collection"; | ||
export interface TransactionCollection extends Collection { | ||
} | ||
export interface TransactionCollection extends Collection {} |
2 changes: 2 additions & 0 deletions
2
packages/shopware-6-client/src/interfaces/models/checkout/customer/BillingAddress.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { CustomerAddress } from "./CustomerAddress"; | ||
export interface BillingAddress extends CustomerAddress {} |
50 changes: 50 additions & 0 deletions
50
packages/shopware-6-client/src/interfaces/models/checkout/customer/Customer.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { ProductReview } from "../../content/product/ProductReview"; | ||
import { PaymentMethod } from "../payment/PaymentMethod"; | ||
import { CustomerGroup } from "./CustomerGroup"; | ||
import { OrderCustomer } from "../../checkout/order/OrderCustomer"; | ||
import { ShippingAddress } from "./ShippingAddress"; | ||
import { BillingAddress } from "./BillingAddress"; | ||
import { CustomerAddress } from "./CustomerAddress"; | ||
import { Tag, CustomField, Extension } from "../../Common"; | ||
import { Promotion } from "../promotion/Promotion"; | ||
|
||
export interface Customer { | ||
id: string; | ||
groupId: string; | ||
defaultPaymentMethodId: string; | ||
salesChannelId: string; | ||
languageId: string; | ||
lastPaymentMethodId: string | null; | ||
defaultBillingAddressId: string | null; | ||
defaultShippingAddressId: string | null; | ||
customerNumber: number; | ||
salutationId: string | null; | ||
firstName: string; | ||
lastName: string; | ||
company: string | null; | ||
email: string; | ||
title: string | null; | ||
active: boolean; | ||
guest: boolean; | ||
firstLogin: Date | null; | ||
lastLogin: Date | null; | ||
newsletter: boolean; | ||
birthday: Date; | ||
lastOrderDate: Date; | ||
orderCount: number; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
group: CustomerGroup; | ||
defaultPaymentMethod: PaymentMethod; | ||
defaultBillingAddress: BillingAddress; | ||
defaultShippingAddress: ShippingAddress; | ||
activeBillingAddress: BillingAddress; | ||
activeShippingAddress: ShippingAddress; | ||
addresses: Array<CustomerAddress>; | ||
orderCustomers: Array<OrderCustomer> | null; | ||
autoIncrement: number; | ||
tags: Array<Tag> | null; | ||
promotions: Array<Promotion> | null; | ||
customFields: Array<CustomField> | null; | ||
productReviews: Array<ProductReview>; | ||
} |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...out/customer/CustomerAddressCollection.ts → ...out/customer/CustomerAddressCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { CustomerAddress } from "./CustomerAddress"; | ||
|
||
export interface CustomerAddressCollection { | ||
[index: number]: CustomerAddress; | ||
} | ||
[index: number]: CustomerAddress; | ||
} |
5 changes: 5 additions & 0 deletions
5
packages/shopware-6-client/src/interfaces/models/checkout/customer/CustomerCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Customer } from "./Customer"; | ||
|
||
export default interface CustomerCollection { | ||
[index: number]: Customer; | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/shopware-6-client/src/interfaces/models/checkout/customer/CustomerGroup.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export interface CustomerGroup { | ||
id: string; | ||
name: string; | ||
display_gross: boolean; | ||
customFields: any; | ||
} |
9 changes: 4 additions & 5 deletions
9
...kout/customer/CustomerGroupTranslation.ts → ...kout/customer/CustomerGroupTranslation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
|
||
import { CustomerGroup } from "./CustomerGroup"; | ||
import { CustomField } from "../../Common"; | ||
export interface CustomerGroupTranslation { | ||
customerGroupId: string; | ||
name: string | null; | ||
customerGroup: CustomerGroup | null; | ||
customFields: CustomField | null; | ||
customerGroupId: string; | ||
name: string | null; | ||
customerGroup: CustomerGroup | null; | ||
customFields: CustomField | null; | ||
} |
2 changes: 1 addition & 1 deletion
2
...mer/CustomerGroupTranslationCollection.ts → ...mer/CustomerGroupTranslationCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { CustomerGroupTranslation } from "./CustomerGroupTranslation"; | ||
export interface CustomerGroupTranslationCollection { | ||
[index: number]: CustomerGroupTranslation; | ||
[index: number]: CustomerGroupTranslation; | ||
} |
2 changes: 2 additions & 0 deletions
2
packages/shopware-6-client/src/interfaces/models/checkout/customer/ShippingAddress.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { CustomerAddress } from "./CustomerAddress"; | ||
export interface ShippingAddress extends CustomerAddress {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/checkout/delivery/DeliveryCollection.ts → ...s/checkout/delivery/DeliveryCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Collection } from "../../framework/struct/Collection"; | ||
import { Delivery } from "./Delivery"; | ||
export interface DeliveryCollection extends Collection { | ||
[index: number]: Delivery; | ||
[index: number]: Delivery; | ||
} |
4 changes: 4 additions & 0 deletions
4
packages/shopware-6-client/src/interfaces/models/checkout/delivery/DeliveryDate.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface DeliveryDate { | ||
readonly earliest: Date; | ||
readonly latest: Date; | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/shopware-6-client/src/interfaces/models/checkout/delivery/DeliveryInformation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { DeliveryTime } from "./DeliveryTime"; | ||
export interface DeliveryInformation { | ||
stock: number; | ||
weight: number; | ||
freeDelivery: boolean; | ||
restockTime: number | null; | ||
deliveryTime: DeliveryTime | null; | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/shopware-6-client/src/interfaces/models/checkout/delivery/DeliveryTime.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { ShippingMethodCollection } from "../shipping/ShippingMethodCollection"; | ||
import { EntityCollection } from "../../framework/struct/EntityCollection"; | ||
export interface DeliveryTime { | ||
name: string | null; | ||
min: number; | ||
max: number; | ||
unit: string; | ||
shippingMethods: ShippingMethodCollection | null; | ||
translations: EntityCollection; | ||
customFields: [] | null; | ||
} |
2 changes: 1 addition & 1 deletion
2
...eckout/delivery/DeliveryTimeCollection.ts → ...eckout/delivery/DeliveryTimeCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { DeliveryTime } from "./DeliveryTime"; | ||
export interface DeliveryTimeCollection { | ||
[index: number]: DeliveryTime; | ||
[index: number]: DeliveryTime; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...shopware-6-client/src/interfaces/models/checkout/document/DocumentBaseConfigCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface DocumentBaseConfigCollection {} |
1 change: 1 addition & 0 deletions
1
...shopware-6-client/src/interfaces/models/checkout/document/DocumentBaseConfigDefinition.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface DocumentBaseConfigDefinition {} |
1 change: 1 addition & 0 deletions
1
packages/shopware-6-client/src/interfaces/models/checkout/document/DocumentCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface DocumentCollection {} |
7 changes: 7 additions & 0 deletions
7
...ages/shopware-6-client/src/interfaces/models/checkout/document/DocumentTypeTranslation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { iCustomField } from "../../Common"; | ||
export interface DocumentTypeTranslation { | ||
documentTypeId: string; | ||
documentType: DocumentType | null; | ||
name: string | null; | ||
customFields: iCustomField; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ment/DocumentTypeTranslationCollection.ts → ...ment/DocumentTypeTranslationCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { DocumentTypeTranslation } from "./DocumentTypeTranslation"; | ||
export interface DocumentTypeTranslationCollection { | ||
[index: number]: DocumentTypeTranslation; | ||
[index: number]: DocumentTypeTranslation; | ||
} |
1 change: 1 addition & 0 deletions
1
packages/shopware-6-client/src/interfaces/models/checkout/order/Order.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface Order {} |
1 change: 1 addition & 0 deletions
1
packages/shopware-6-client/src/interfaces/models/checkout/order/OrderAddress.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export interface OrderAddress {} |
2 changes: 1 addition & 1 deletion
2
.../checkout/order/OrderAddressCollection.ts → .../checkout/order/OrderAddressCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OrderAddress } from "./OrderAddress"; | ||
export interface OrderAddressCollection { | ||
[index: number]: OrderAddress; | ||
[index: number]: OrderAddress; | ||
} |
2 changes: 1 addition & 1 deletion
2
.../models/checkout/order/OrderCollection.ts → .../models/checkout/order/OrderCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Order } from "./Order"; | ||
export interface OrderCollection { | ||
[index: number]: Order; | ||
[index: number]: Order; | ||
} |
17 changes: 17 additions & 0 deletions
17
packages/shopware-6-client/src/interfaces/models/checkout/order/OrderCustomer.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { iCustomer } from "../customer/Customer"; | ||
import { Order } from "./Order"; | ||
import { Salutation } from "../../system/salutation/Salutation"; | ||
export interface OrderCustomer { | ||
email: string; | ||
orderId: string; | ||
salutationId: string; | ||
firstName: string; | ||
lastName: string; | ||
title: string | null; | ||
company: string | null; | ||
customerNumber: string | null; | ||
customerId: string; | ||
customer: iCustomer | null; | ||
salutation: Salutation | null; | ||
order: Order | null; | ||
} |
2 changes: 1 addition & 1 deletion
2
...checkout/order/OrderCustomerCollection.ts → ...checkout/order/OrderCustomerCollection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OrderCustomer } from "./OrderCustomer"; | ||
export interface OrderCustomerCollection { | ||
[index: number]: OrderCustomer; | ||
[index: number]: OrderCustomer; | ||
} |
21 changes: 21 additions & 0 deletions
21
packages/shopware-6-client/src/interfaces/models/checkout/order/OrderDelivery.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Order } from "./Order"; | ||
import { ShippingMethodPrice } from "../shipping/ShippingMethodPrice"; | ||
import { StateMachineStateEntity } from "../../system/state-machine/StateMachineStateEntity"; | ||
import { CalculatedPrice } from "../cart/price/CalculatedPrice"; | ||
import { OrderAddress } from "./OrderAddress"; | ||
import { OrderDeliveryPositionCollection } from "./OrderDeliveryPositionCollection"; | ||
export interface OrderDelivery { | ||
orderId: string; | ||
shippingOrderAddressId: string; | ||
shippingMethodId: string; | ||
trackingCode: string | null; | ||
shippingDateEarliest: Date; | ||
shippingDateLatest: Date; | ||
shippingCosts: CalculatedPrice; | ||
shippingOrderAddress: OrderAddress | null; | ||
stateId: string; | ||
stateMachineState: StateMachineStateEntity | null; | ||
shippingMethod: ShippingMethodPrice | null; | ||
order: Order | null; | ||
positions: OrderDeliveryPositionCollection | null; | ||
} |
Oops, something went wrong.