Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions actions/gls-action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/gls-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node dist/index.js"
},
"dependencies": {
"@code0-tech/hercules": "^1.1.0",
"@code0-tech/hercules": "^1.1.1",
"axios": "^1.7.7"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions actions/shopify-action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/shopify-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node dist/index.js"
},
"dependencies": {
"@code0-tech/hercules": "^1.1.0",
"@code0-tech/hercules": "^1.1.1",
"axios": "^1.7.7",
"shopify-webhook-schemas": "^0.3.7"
},
Expand Down
8 changes: 4 additions & 4 deletions actions/shopware-action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/shopware-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start": "node dist/index.js"
},
"dependencies": {
"@code0-tech/hercules": "^1.1.0",
"@code0-tech/hercules": "^1.1.1",
"axios": "^1.7.7"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions actions/shopware-action/src/data_types/shopwareCountry.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareCountry")
@Name({code: "en-US", content: "ShopwareCountry"})
@Schema(schemas.Country)
export class ShopwareCountry {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareCountryState")
@Name({code: "en-US", content: "ShopwareCountryState"})
@Schema(schemas.CountryState)
export class ShopwareCountryState {
}
8 changes: 8 additions & 0 deletions actions/shopware-action/src/data_types/shopwareCurrency.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareCurrency")
@Name({code: "en-US", content: "ShopwareCurrency"})
@Schema(schemas.Currency)
export class ShopwareCurrency {
}
8 changes: 8 additions & 0 deletions actions/shopware-action/src/data_types/shopwareOrder.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrder")
@Name({code: "en-US", content: "ShopwareOrder"})
@Schema(schemas.Order)
export class ShopwareOrder {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderAddress")
@Name({code: "en-US", content: "ShopwareOrderAddress"})
@Schema(schemas.OrderAddress)
export class ShopwareOrderAddress {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderCustomer")
@Name({code: "en-US", content: "ShopwareOrderCustomer"})
@Schema(schemas.OrderCustomer)
export class ShopwareOrderCustomer {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderDelivery")
@Name({code: "en-US", content: "ShopwareOrderDelivery"})
@Schema(schemas.OrderDelivery)
export class ShopwareOrderDelivery {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderDeliveryPosition")
@Name({code: "en-US", content: "ShopwareOrderDeliveryPosition"})
@Schema(schemas.OrderDeliveryPosition)
export class ShopwareOrderDeliveryPosition {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderLineItem")
@Name({code: "en-US", content: "ShopwareOrderLineItem"})
@Schema(schemas.OrderLineItem)
export class ShopwareOrderLineItem {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderLineItemDownload")
@Name({code: "en-US", content: "ShopwareOrderLineItemDownload"})
@Schema(schemas.OrderLineItemDownload)
export class ShopwareOrderLineItemDownload {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderTransaction")
@Name({code: "en-US", content: "ShopwareOrderTransaction"})
@Schema(schemas.OrderTransaction)
export class ShopwareOrderTransaction {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderTransactionCapture")
@Name({code: "en-US", content: "ShopwareOrderTransactionCapture"})
@Schema(schemas.OrderTransactionCapture)
export class ShopwareOrderTransactionCapture {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderTransactionCaptureRefund")
@Name({code: "en-US", content: "ShopwareOrderTransactionCaptureRefund"})
@Schema(schemas.OrderTransactionCaptureRefund)
export class ShopwareOrderTransactionCaptureRefund {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareOrderTransactionCaptureRefundPosition")
@Name({code: "en-US", content: "ShopwareOrderTransactionCaptureRefundPosition"})
@Schema(schemas.OrderTransactionCaptureRefundPosition)
export class ShopwareOrderTransactionCaptureRefundPosition {
}
8 changes: 8 additions & 0 deletions actions/shopware-action/src/data_types/shopwareSalutation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareSalutation")
@Name({code: "en-US", content: "ShopwareSalutation"})
@Schema(schemas.Salutation)
export class ShopwareSalutation {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Identifier, Name, Schema} from "@code0-tech/hercules";
import {schemas} from "../generated/shopware-schemas.ts";

@Identifier("ShopwareStateMachineState")
@Name({code: "en-US", content: "ShopwareStateMachineState"})
@Schema(schemas.StateMachineState)
export class ShopwareStateMachineState {
}
32 changes: 32 additions & 0 deletions actions/shopware-action/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ import {Action, CodeZeroEvent} from "@code0-tech/hercules";
import {ShopwareOrderPlacedWebhookPayload} from "./data_types/shopwareOrderPlacedWebhookPayload.ts";
import {ShopwareOrderCancelledWebhookPayload} from "./data_types/shopwareOrderCancelledWebhookPayload.ts";
import {ShopwareOrderPaidWebhookPayload} from "./data_types/shopwareOrderPaidWebhookPayload.ts";
import {ShopwareOrder} from "./data_types/shopwareOrder.ts";
import {ShopwareOrderDelivery} from "./data_types/shopwareOrderDelivery.ts";
import {ShopwareOrderDeliveryPosition} from "./data_types/shopwareOrderDeliveryPosition.ts";
import {ShopwareOrderLineItem} from "./data_types/shopwareOrderLineItem.ts";
import {ShopwareOrderLineItemDownload} from "./data_types/shopwareOrderLineItemDownload.ts";
import {ShopwareOrderTransaction} from "./data_types/shopwareOrderTransaction.ts";
import {ShopwareOrderTransactionCapture} from "./data_types/shopwareOrderTransactionCapture.ts";
import {ShopwareOrderTransactionCaptureRefund} from "./data_types/shopwareOrderTransactionCaptureRefund.ts";
import {ShopwareOrderTransactionCaptureRefundPosition} from "./data_types/shopwareOrderTransactionCaptureRefundPosition.ts";
import {ShopwareOrderCustomer} from "./data_types/shopwareOrderCustomer.ts";
import {ShopwareOrderAddress} from "./data_types/shopwareOrderAddress.ts";
import {ShopwareStateMachineState} from "./data_types/shopwareStateMachineState.ts";
import {ShopwareSalutation} from "./data_types/shopwareSalutation.ts";
import {ShopwareCurrency} from "./data_types/shopwareCurrency.ts";
import {ShopwareCountry} from "./data_types/shopwareCountry.ts";
import {ShopwareCountryState} from "./data_types/shopwareCountryState.ts";
import {ShopwareOrderPlacedWebhook} from "./events/shopwareOrderPlacedWebhook.ts";
import {ShopwareOrderCancelledWebhook} from "./events/shopwareOrderCancelledWebhook.ts";
import {ShopwareOrderPaidWebhook} from "./events/shopwareOrderPaidWebhook.ts";
Expand All @@ -17,6 +33,22 @@ const action = new Action(
[]
)

action.registerDataTypeClass(ShopwareOrder)
action.registerDataTypeClass(ShopwareOrderDelivery)
action.registerDataTypeClass(ShopwareOrderDeliveryPosition)
action.registerDataTypeClass(ShopwareOrderLineItem)
action.registerDataTypeClass(ShopwareOrderLineItemDownload)
action.registerDataTypeClass(ShopwareOrderTransaction)
action.registerDataTypeClass(ShopwareOrderTransactionCapture)
action.registerDataTypeClass(ShopwareOrderTransactionCaptureRefund)
action.registerDataTypeClass(ShopwareOrderTransactionCaptureRefundPosition)
action.registerDataTypeClass(ShopwareOrderCustomer)
action.registerDataTypeClass(ShopwareOrderAddress)
action.registerDataTypeClass(ShopwareStateMachineState)
action.registerDataTypeClass(ShopwareSalutation)
action.registerDataTypeClass(ShopwareCurrency)
action.registerDataTypeClass(ShopwareCountry)
action.registerDataTypeClass(ShopwareCountryState)
action.registerDataTypeClass(ShopwareOrderPlacedWebhookPayload)
action.registerDataTypeClass(ShopwareOrderCancelledWebhookPayload)
action.registerDataTypeClass(ShopwareOrderPaidWebhookPayload)
Expand Down
8 changes: 4 additions & 4 deletions actions/woocommerce-action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/woocommerce-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start": "node dist/index.js"
},
"dependencies": {
"@code0-tech/hercules": "^1.1.0",
"@code0-tech/hercules": "^1.1.1",
"axios": "^1.7.7"
},
"devDependencies": {
Expand Down