@rovi-tickets/common 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderStatus = void 0;
|
4
|
+
var OrderStatus;
|
5
|
+
(function (OrderStatus) {
|
6
|
+
// When the order has been created, but the
|
7
|
+
// ticket it is trying to order has not been reserved
|
8
|
+
OrderStatus["Created"] = "created";
|
9
|
+
// The ticket the order is trying to reserve has already
|
10
|
+
// been reserved, or when the user has cancelled the order.
|
11
|
+
// The order expires before payment
|
12
|
+
OrderStatus["Cancelled"] = "cancelled";
|
13
|
+
// The order has successfully reserved the ticket
|
14
|
+
OrderStatus["AwaitingPayment"] = "awaiting:payment";
|
15
|
+
// The order has reserved the ticket and the user has
|
16
|
+
// provided payment successfully
|
17
|
+
OrderStatus["Complete"] = "complete";
|
18
|
+
})(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
@@ -29,3 +29,4 @@ __exportStar(require("./events/base-publisher"), exports);
|
|
29
29
|
__exportStar(require("./events/subjects"), exports);
|
30
30
|
__exportStar(require("./events/ticket-created-event"), exports);
|
31
31
|
__exportStar(require("./events/ticket-updated-event"), exports);
|
32
|
+
__exportStar(require("./events/types/order-status"), exports);
|