@exclusive-website/types 2.4.0 → 2.4.2

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.
@@ -250,6 +250,6 @@ export declare enum ApprovedState {
250
250
  }
251
251
  export declare enum TransactionStatus {
252
252
  PAID = "PAID",
253
- UNPAID = "UNPAID",
254
- NONE = "NONE"
253
+ PENDING = "PENDING",
254
+ CANCELLED = "CANCELLED"
255
255
  }
@@ -297,6 +297,6 @@ var ApprovedState;
297
297
  var TransactionStatus;
298
298
  (function (TransactionStatus) {
299
299
  TransactionStatus["PAID"] = "PAID";
300
- TransactionStatus["UNPAID"] = "UNPAID";
301
- TransactionStatus["NONE"] = "NONE";
300
+ TransactionStatus["PENDING"] = "PENDING";
301
+ TransactionStatus["CANCELLED"] = "CANCELLED";
302
302
  })(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
package/dist/types.d.ts CHANGED
@@ -267,7 +267,6 @@ export interface TransactionReadDto {
267
267
  totalAmount: number;
268
268
  currency: Currency;
269
269
  createdAt: Date;
270
- paidAt: Date;
271
270
  items: TransactionReadItemDto[];
272
271
  }
273
272
  export interface TransactionSummaryReadDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -301,6 +301,6 @@ export enum ApprovedState {
301
301
 
302
302
  export enum TransactionStatus {
303
303
  PAID = "PAID",
304
- UNPAID = "UNPAID",
305
- NONE = "NONE",
304
+ PENDING = "PENDING",
305
+ CANCELLED = "CANCELLED",
306
306
  }
package/src/types.ts CHANGED
@@ -316,7 +316,6 @@ export interface TransactionReadDto {
316
316
  totalAmount: number;
317
317
  currency: Currency
318
318
  createdAt: Date;
319
- paidAt: Date;
320
319
  items: TransactionReadItemDto[]
321
320
  }
322
321