@scriptible/tickets-common 1.0.6 → 1.0.7

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,7 @@
1
+ export declare enum OrderStatus {
2
+ Created = "created",
3
+ Cancelled = "cancelled",
4
+ AwaitingPayment = "awaiting:payment",
5
+ Complete = "complete"
6
+ }
7
+ //# sourceMappingURL=order-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-status.d.ts","sourceRoot":"","sources":["../../../src/events/types/order-status.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IAEnB,OAAO,YAAY;IAInB,SAAS,cAAc;IAGvB,eAAe,qBAAqB;IAGpC,QAAQ,aAAa;CACxB"}
@@ -0,0 +1,16 @@
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 ticket it is trying to order has not been reserved
7
+ OrderStatus["Created"] = "created";
8
+ // The ticket the order is trying to reserve has already been reserved, or when the user has cancelled the order,
9
+ // The order expires before payment
10
+ OrderStatus["Cancelled"] = "cancelled";
11
+ // The order has successfully reserved the ticket, but it has not been paid for yet
12
+ OrderStatus["AwaitingPayment"] = "awaiting:payment";
13
+ // The order has been paid for and the ticket has been reserved
14
+ OrderStatus["Complete"] = "complete";
15
+ })(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
16
+ //# 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,WAaX;AAbD,WAAY,WAAW;IACnB,8FAA8F;IAC9F,kCAAmB,CAAA;IAEnB,iHAAiH;IACjH,mCAAmC;IACnC,sCAAuB,CAAA;IAEvB,mFAAmF;IACnF,mDAAoC,CAAA;IAEpC,+DAA+D;IAC/D,oCAAqB,CAAA;AACzB,CAAC,EAbW,WAAW,2BAAX,WAAW,QAatB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scriptible/tickets-common",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -0,0 +1,14 @@
1
+ export enum OrderStatus {
2
+ // When the order has been created, but the ticket it is trying to order has not been reserved
3
+ Created = 'created',
4
+
5
+ // The ticket the order is trying to reserve has already been reserved, or when the user has cancelled the order,
6
+ // The order expires before payment
7
+ Cancelled = 'cancelled',
8
+
9
+ // The order has successfully reserved the ticket, but it has not been paid for yet
10
+ AwaitingPayment = 'awaiting:payment',
11
+
12
+ // The order has been paid for and the ticket has been reserved
13
+ Complete = 'complete'
14
+ }