Skip to content

Commit 8aeb7ff

Browse files
committed
feat: add Shopware data type classes for Country, CountryState, Currency, Order, OrderDelivery, OrderDeliveryPosition, OrderLineItem, OrderLineItemDownload, OrderTransaction, OrderTransactionCapture, OrderTransactionCaptureRefund, OrderTransactionCaptureRefundPosition, OrderCustomer, OrderAddress, Salutation, and StateMachineState
1 parent c3efa38 commit 8aeb7ff

17 files changed

Lines changed: 160 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareCountry")
5+
@Name({code: "en-US", content: "ShopwareCountry"})
6+
@Schema(schemas.Country)
7+
export class ShopwareCountry {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareCountryState")
5+
@Name({code: "en-US", content: "ShopwareCountryState"})
6+
@Schema(schemas.CountryState)
7+
export class ShopwareCountryState {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareCurrency")
5+
@Name({code: "en-US", content: "ShopwareCurrency"})
6+
@Schema(schemas.Currency)
7+
export class ShopwareCurrency {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrder")
5+
@Name({code: "en-US", content: "ShopwareOrder"})
6+
@Schema(schemas.Order)
7+
export class ShopwareOrder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderAddress")
5+
@Name({code: "en-US", content: "ShopwareOrderAddress"})
6+
@Schema(schemas.OrderAddress)
7+
export class ShopwareOrderAddress {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderCustomer")
5+
@Name({code: "en-US", content: "ShopwareOrderCustomer"})
6+
@Schema(schemas.OrderCustomer)
7+
export class ShopwareOrderCustomer {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderDelivery")
5+
@Name({code: "en-US", content: "ShopwareOrderDelivery"})
6+
@Schema(schemas.OrderDelivery)
7+
export class ShopwareOrderDelivery {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderDeliveryPosition")
5+
@Name({code: "en-US", content: "ShopwareOrderDeliveryPosition"})
6+
@Schema(schemas.OrderDeliveryPosition)
7+
export class ShopwareOrderDeliveryPosition {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderLineItem")
5+
@Name({code: "en-US", content: "ShopwareOrderLineItem"})
6+
@Schema(schemas.OrderLineItem)
7+
export class ShopwareOrderLineItem {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Identifier, Name, Schema} from "@code0-tech/hercules";
2+
import {schemas} from "../generated/shopware-schemas.ts";
3+
4+
@Identifier("ShopwareOrderLineItemDownload")
5+
@Name({code: "en-US", content: "ShopwareOrderLineItemDownload"})
6+
@Schema(schemas.OrderLineItemDownload)
7+
export class ShopwareOrderLineItemDownload {
8+
}

0 commit comments

Comments
 (0)