@willhousecreative/ticketing-events 1.0.15 → 1.0.18

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;IAErB,OAAO,YAAY;IAEnB,SAAS,cAAc;IAEvB,eAAe,qBAAqB;IAEpC,QAAQ,aAAa;CACtB"}
@@ -0,0 +1,12 @@
1
+ export var OrderStatus;
2
+ (function (OrderStatus) {
3
+ // when the ticket is reserved, but the order has not been completed
4
+ OrderStatus["Created"] = "created";
5
+ // when the ticket is reserved, but the user has cancelled the order
6
+ OrderStatus["Cancelled"] = "cancelled";
7
+ // when the ticket is reserved, but the user has not completed the payment
8
+ OrderStatus["AwaitingPayment"] = "awaiting:payment";
9
+ // when the ticket is reserved, and the user has completed the payment
10
+ OrderStatus["Complete"] = "complete";
11
+ })(OrderStatus || (OrderStatus = {}));
12
+ //# 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,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,oEAAoE;IACpE,kCAAmB,CAAA;IACnB,oEAAoE;IACpE,sCAAuB,CAAA;IACvB,0EAA0E;IAC1E,mDAAoC,CAAA;IACpC,sEAAsE;IACtE,oCAAqB,CAAA;AACvB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB"}
package/build/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './events/base-publisher.js';
3
3
  export * from './events/subjects.js';
4
4
  export * from './events/ticket-created-event.js';
5
5
  export * from './events/ticket-updated-event.js';
6
+ export * from './events/types/order-status.js';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC"}
package/build/index.js CHANGED
@@ -4,4 +4,5 @@ export * from './events/base-publisher.js';
4
4
  export * from './events/subjects.js';
5
5
  export * from './events/ticket-created-event.js';
6
6
  export * from './events/ticket-updated-event.js';
7
+ export * from './events/types/order-status.js';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willhousecreative/ticketing-events",
3
- "version": "1.0.15",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",