@aptly-as/types
Advanced tools
Comparing version 2.6.6 to 2.6.7
@@ -1,2 +0,2 @@ | ||
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyUnitSchema } from '../models/index.js'; | ||
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyPaymentSchema, AptlyUnitSchema } from '../models/index.js'; | ||
export declare namespace AptlyWebhookEventData { | ||
@@ -10,2 +10,6 @@ interface UnitWebhookSchema<ID, DATE> { | ||
} | ||
interface PaymentCrated<ID, DATE> { | ||
payment: AptlyPaymentSchema<ID, DATE>; | ||
order: AptlyOrderSchema<ID, DATE>; | ||
} | ||
type NewUnitDocument = NewUnitDocumentSchema<string, string>; | ||
@@ -12,0 +16,0 @@ type NewUnitDocumentSchema<ID, DATE> = UnitWebhookSchema<ID, DATE> & UnitDocumentWebhookSchema<ID, DATE>; |
@@ -147,2 +147,3 @@ export * from './document.js'; | ||
OrderPayFailed = "order-pay-failed", | ||
OrderPayDelivery = "order-pay-delivery", | ||
OrderPayed = "order-payed", | ||
@@ -149,0 +150,0 @@ OrderReceipt = "order-receipt", |
@@ -167,2 +167,3 @@ export * from './document.js'; | ||
AptlyEmailType["OrderPayFailed"] = "order-pay-failed"; | ||
AptlyEmailType["OrderPayDelivery"] = "order-pay-delivery"; | ||
AptlyEmailType["OrderPayed"] = "order-payed"; | ||
@@ -169,0 +170,0 @@ AptlyEmailType["OrderReceipt"] = "order-receipt"; |
@@ -108,2 +108,3 @@ import { AptlyOrderStatus } from '../enums/index.js'; | ||
quantity: number; | ||
baseCost?: number; | ||
unitCost: number; | ||
@@ -110,0 +111,0 @@ unitVat?: number; |
@@ -29,2 +29,3 @@ import { AptlyAppSchema } from './app.js'; | ||
shippingDate?: DATE; | ||
shippingDescription?: string; | ||
billing?: AptlyAddress; | ||
@@ -78,2 +79,3 @@ card?: { | ||
vat: number; | ||
baseCost: number; | ||
unitCost: number; | ||
@@ -80,0 +82,0 @@ unitVat: number; |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.6.6", | ||
"version": "2.6.7", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
110366
3042