@aptly-as/types
Version:
Aptly types and enums
32 lines (31 loc) • 1.79 kB
JavaScript
export var AptlyWebhookType;
(function (AptlyWebhookType) {
AptlyWebhookType["ProjectCreated"] = "aptly.project.created";
AptlyWebhookType["ProjectUpdated"] = "aptly.project.updated";
AptlyWebhookType["UnitCreated"] = "aptly.unit.created";
AptlyWebhookType["UnitUpdated"] = "aptly.unit.updated";
AptlyWebhookType["UnitMessageNew"] = "aptly.unit.message.new";
AptlyWebhookType["UnitMessageReply"] = "aptly.unit.message.reply";
AptlyWebhookType["UnitOrderCreated"] = "aptly.unit.order.created";
AptlyWebhookType["UnitOrderSigned"] = "aptly.unit.order.signed";
AptlyWebhookType["UnitOrderCompleted"] = "aptly.unit.order.completed";
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["UnitReportFinal"] = "aptly.unit.report.final";
AptlyWebhookType["OrganizationAppUpdated"] = "aptly.organization.app.updated";
AptlyWebhookType["OrganizationAppDeleted"] = "aptly.organization.app.deleted";
})(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 = {}));