@ajayjbtickets/common 1.0.36 → 1.0.37

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.
package/dist/index.cjs CHANGED
@@ -51,6 +51,7 @@ __export(index_exports, {
51
51
  NoEntryError: () => NoEntryError,
52
52
  NoFoundResponse: () => NoFoundResponse,
53
53
  NotFoundError: () => NotFoundError,
54
+ OrderStatus: () => OrderStatus,
54
55
  Password: () => Password,
55
56
  Publisher: () => Publisher,
56
57
  ResponseStatusCode: () => ResponseStatusCode,
@@ -563,6 +564,15 @@ var Subjects = /* @__PURE__ */ ((Subjects2) => {
563
564
  Subjects2["TicketUpdated"] = "ticket:updated";
564
565
  return Subjects2;
565
566
  })(Subjects || {});
567
+
568
+ // src/types/orderStatus.ts
569
+ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
570
+ OrderStatus2["Created"] = "created";
571
+ OrderStatus2["Cancelled"] = "cancelled";
572
+ OrderStatus2["AwaitingPayment"] = "awaiting:payment";
573
+ OrderStatus2["Complete"] = "complete";
574
+ return OrderStatus2;
575
+ })(OrderStatus || {});
566
576
  // Annotate the CommonJS export names for ESM import in node:
567
577
  0 && (module.exports = {
568
578
  AccessTokenError,
@@ -586,6 +596,7 @@ var Subjects = /* @__PURE__ */ ((Subjects2) => {
586
596
  NoEntryError,
587
597
  NoFoundResponse,
588
598
  NotFoundError,
599
+ OrderStatus,
589
600
  Password,
590
601
  Publisher,
591
602
  ResponseStatusCode,
package/dist/index.d.cts CHANGED
@@ -230,4 +230,11 @@ interface TicketUpdatedEvent {
230
230
  data: Ticket;
231
231
  }
232
232
 
233
- export { AccessTokenError, AccessTokenErrorResponse, ApiError, ApiResponse, AuthFailureError, BadRequestError, BadRequestResponse, BadTokenError, BadTokenResponse, ENVIRONMENTS, type ErrorDetailType, ErrorType, ForbiddenError, ForbiddenResponse, InternalError, InternalErrorResponse, type JwtPayload, JwtService, Listener, NoDataError, NoEntryError, NoFoundResponse, NotFoundError, type Pagination, Password, Publisher, ResponseStatusCode, StatusCode, Subjects, SuccessResponse, type TicketCreatedEvent, type TicketUpdatedEvent, TokenExpiredError, ValidationSource, asyncHandler, logger, sanitizeObject, schemaValidator, verifyToken };
233
+ declare enum OrderStatus {
234
+ Created = "created",
235
+ Cancelled = "cancelled",
236
+ AwaitingPayment = "awaiting:payment",
237
+ Complete = "complete"
238
+ }
239
+
240
+ export { AccessTokenError, AccessTokenErrorResponse, ApiError, ApiResponse, AuthFailureError, BadRequestError, BadRequestResponse, BadTokenError, BadTokenResponse, ENVIRONMENTS, type ErrorDetailType, ErrorType, ForbiddenError, ForbiddenResponse, InternalError, InternalErrorResponse, type JwtPayload, JwtService, Listener, NoDataError, NoEntryError, NoFoundResponse, NotFoundError, OrderStatus, type Pagination, Password, Publisher, ResponseStatusCode, StatusCode, Subjects, SuccessResponse, type TicketCreatedEvent, type TicketUpdatedEvent, TokenExpiredError, ValidationSource, asyncHandler, logger, sanitizeObject, schemaValidator, verifyToken };
package/dist/index.d.ts CHANGED
@@ -230,4 +230,11 @@ interface TicketUpdatedEvent {
230
230
  data: Ticket;
231
231
  }
232
232
 
233
- export { AccessTokenError, AccessTokenErrorResponse, ApiError, ApiResponse, AuthFailureError, BadRequestError, BadRequestResponse, BadTokenError, BadTokenResponse, ENVIRONMENTS, type ErrorDetailType, ErrorType, ForbiddenError, ForbiddenResponse, InternalError, InternalErrorResponse, type JwtPayload, JwtService, Listener, NoDataError, NoEntryError, NoFoundResponse, NotFoundError, type Pagination, Password, Publisher, ResponseStatusCode, StatusCode, Subjects, SuccessResponse, type TicketCreatedEvent, type TicketUpdatedEvent, TokenExpiredError, ValidationSource, asyncHandler, logger, sanitizeObject, schemaValidator, verifyToken };
233
+ declare enum OrderStatus {
234
+ Created = "created",
235
+ Cancelled = "cancelled",
236
+ AwaitingPayment = "awaiting:payment",
237
+ Complete = "complete"
238
+ }
239
+
240
+ export { AccessTokenError, AccessTokenErrorResponse, ApiError, ApiResponse, AuthFailureError, BadRequestError, BadRequestResponse, BadTokenError, BadTokenResponse, ENVIRONMENTS, type ErrorDetailType, ErrorType, ForbiddenError, ForbiddenResponse, InternalError, InternalErrorResponse, type JwtPayload, JwtService, Listener, NoDataError, NoEntryError, NoFoundResponse, NotFoundError, OrderStatus, type Pagination, Password, Publisher, ResponseStatusCode, StatusCode, Subjects, SuccessResponse, type TicketCreatedEvent, type TicketUpdatedEvent, TokenExpiredError, ValidationSource, asyncHandler, logger, sanitizeObject, schemaValidator, verifyToken };
package/dist/index.js CHANGED
@@ -494,6 +494,15 @@ var Subjects = /* @__PURE__ */ ((Subjects2) => {
494
494
  Subjects2["TicketUpdated"] = "ticket:updated";
495
495
  return Subjects2;
496
496
  })(Subjects || {});
497
+
498
+ // src/types/orderStatus.ts
499
+ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
500
+ OrderStatus2["Created"] = "created";
501
+ OrderStatus2["Cancelled"] = "cancelled";
502
+ OrderStatus2["AwaitingPayment"] = "awaiting:payment";
503
+ OrderStatus2["Complete"] = "complete";
504
+ return OrderStatus2;
505
+ })(OrderStatus || {});
497
506
  export {
498
507
  AccessTokenError,
499
508
  AccessTokenErrorResponse,
@@ -516,6 +525,7 @@ export {
516
525
  NoEntryError,
517
526
  NoFoundResponse,
518
527
  NotFoundError,
528
+ OrderStatus,
519
529
  Password,
520
530
  Publisher,
521
531
  ResponseStatusCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ajayjbtickets/common",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",