@cfticketing/common 1.0.15 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderStatus = void 0;
|
|
4
|
+
var OrderStatus;
|
|
5
|
+
(function (OrderStatus) {
|
|
6
|
+
// Order has been created but the
|
|
7
|
+
// ticket it is trying to order has not yet been reserved
|
|
8
|
+
OrderStatus["Created"] = "created";
|
|
9
|
+
// the ticket the order is trying to reserve has already been reserved,
|
|
10
|
+
// or the order has been manually cancelled
|
|
11
|
+
// the order expired before payment could be confirmed
|
|
12
|
+
OrderStatus["Cancelled"] = "cancelled";
|
|
13
|
+
// Order is awaiting payment confirmation
|
|
14
|
+
// The ticket is reserved but payment is not yet confirmed
|
|
15
|
+
OrderStatus["AwaitingPayment"] = "awaiting_payment";
|
|
16
|
+
// Order has been completed successfully
|
|
17
|
+
// The ticket is reserved and payment has been confirmed
|
|
18
|
+
OrderStatus["Completed"] = "completed";
|
|
19
|
+
})(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
|
|
20
|
+
//# sourceMappingURL=order-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-status.js","sourceRoot":"","sources":["../../../src/events/types/order-status.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAiBX;AAjBD,WAAY,WAAW;IACrB,iCAAiC;IACjC,yDAAyD;IACzD,kCAAmB,CAAA;IAEnB,uEAAuE;IACvE,2CAA2C;IAC3C,sDAAsD;IACtD,sCAAuB,CAAA;IAEvB,yCAAyC;IACzC,0DAA0D;IAC1D,mDAAoC,CAAA;IAEpC,wCAAwC;IACxC,wDAAwD;IACxD,sCAAuB,CAAA;AACzB,CAAC,EAjBW,WAAW,2BAAX,WAAW,QAiBtB"}
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -29,4 +29,5 @@ __exportStar(require("./events/base-publisher"), exports);
|
|
|
29
29
|
__exportStar(require("./events/subjects"), exports);
|
|
30
30
|
__exportStar(require("./events/ticket-updated-event"), exports);
|
|
31
31
|
__exportStar(require("./events/ticket-created-event"), exports);
|
|
32
|
+
__exportStar(require("./events/types/order-status"), exports);
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,gEAA8C;AAC9C,wEAAsD;AACtD,mEAAiD;AACjD,uEAAqD;AACrD,2DAAyC;AAEzC,gEAA8C;AAC9C,iEAA+C;AAC/C,gEAA8C;AAC9C,oEAAkD;AAElD,yDAAuC;AACvC,0DAAwC;AACxC,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,gEAA8C;AAC9C,wEAAsD;AACtD,mEAAiD;AACjD,uEAAqD;AACrD,2DAAyC;AAEzC,gEAA8C;AAC9C,iEAA+C;AAC/C,gEAA8C;AAC9C,oEAAkD;AAElD,yDAAuC;AACvC,0DAAwC;AACxC,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C;AAC9C,8DAA4C"}
|