@aptly-as/types
Version:
Aptly types and enums
43 lines (42 loc) • 2.5 kB
JavaScript
export var AptlyWebhookType;
(function (AptlyWebhookType) {
AptlyWebhookType["OrganizationAppUpdated"] = "aptly.organization.app.updated";
AptlyWebhookType["OrganizationAppDeleted"] = "aptly.organization.app.deleted";
AptlyWebhookType["ProjectCreated"] = "aptly.project.created";
AptlyWebhookType["ProjectUpdated"] = "aptly.project.updated";
AptlyWebhookType["UnitCreated"] = "aptly.unit.created";
AptlyWebhookType["UnitUpdated"] = "aptly.unit.updated";
AptlyWebhookType["OrderCreated"] = "aptly.order.created";
AptlyWebhookType["OrderSigned"] = "aptly.order.signed";
AptlyWebhookType["OrderCompleted"] = "aptly.order.completed";
AptlyWebhookType["OrderReceipt"] = "aptly.order.receipt";
AptlyWebhookType["OrderReport"] = "aptly.order.report";
AptlyWebhookType["PaymentCreated"] = "aptly.payment.created";
AptlyWebhookType["PaymentCaptured"] = "aptly.payment.captured";
AptlyWebhookType["PaymentReceipt"] = "aptly.payment.receipt";
AptlyWebhookType["PaymentReport"] = "aptly.payment.report";
AptlyWebhookType["UnitMessageNew"] = "aptly.unit.message.new";
AptlyWebhookType["UnitMessageReply"] = "aptly.unit.message.reply";
AptlyWebhookType["UnitReportFinal"] = "aptly.unit.report.final";
AptlyWebhookType["UnitOrderCreated"] = "aptly.unit.order.created";
AptlyWebhookType["UnitOrderSigned"] = "aptly.unit.order.signed";
AptlyWebhookType["UnitOrderCompleted"] = "aptly.unit.order.completed";
AptlyWebhookType["UnitOrderReceipt"] = "aptly.unit.order.receipt";
AptlyWebhookType["UnitOrderReport"] = "aptly.unit.order.report";
AptlyWebhookType["UnitPaymentCreated"] = "aptly.unit.payment.created";
AptlyWebhookType["UnitPaymentCaptured"] = "aptly.unit.payment.captured";
AptlyWebhookType["UnitPaymentReceipt"] = "aptly.unit.payment.receipt";
AptlyWebhookType["UnitPaymentReport"] = "aptly.unit.payment.report";
})(AptlyWebhookType || (AptlyWebhookType = {}));
export var AptlyWebhookStatus;
(function (AptlyWebhookStatus) {
AptlyWebhookStatus["Active"] = "active";
AptlyWebhookStatus["Gone"] = "gone-401";
})(AptlyWebhookStatus || (AptlyWebhookStatus = {}));
export var AptlyWebhookEventStatus;
(function (AptlyWebhookEventStatus) {
AptlyWebhookEventStatus["New"] = "new";
AptlyWebhookEventStatus["Completed"] = "completed";
AptlyWebhookEventStatus["Retry"] = "retry";
AptlyWebhookEventStatus["Failed"] = "failed";
})(AptlyWebhookEventStatus || (AptlyWebhookEventStatus = {}));