@duvdu-v1/duvdu 1.1.344 → 1.1.346

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.
@@ -50,6 +50,7 @@ export interface IcontractReport {
50
50
  state: [{
51
51
  addedBy: Types.ObjectId;
52
52
  feedback: string;
53
+ isSystem: boolean;
53
54
  }];
54
55
  isClosed: boolean;
55
56
  closedBy: Types.ObjectId;
@@ -39,6 +39,7 @@ exports.ContractReports = (0, mongoose_1.model)(model_names_1.MODELS.contractRep
39
39
  default: null,
40
40
  },
41
41
  feedback: { type: String, default: null },
42
+ isSystem: { type: Boolean, default: true },
42
43
  },
43
44
  ],
44
45
  isClosed: {
@@ -26,7 +26,8 @@ import { Types } from 'mongoose';
26
26
  export declare enum FundedTransactionStatus {
27
27
  PENDING = "pending",
28
28
  SUCCESS = "success",
29
- FAILED = "failed"
29
+ FAILED = "failed",
30
+ CANCELED = "canceled"
30
31
  }
31
32
  export interface IFundedTransaction {
32
33
  user: Types.ObjectId;
@@ -8,6 +8,7 @@ var FundedTransactionStatus;
8
8
  FundedTransactionStatus["PENDING"] = "pending";
9
9
  FundedTransactionStatus["SUCCESS"] = "success";
10
10
  FundedTransactionStatus["FAILED"] = "failed";
11
+ FundedTransactionStatus["CANCELED"] = "canceled";
11
12
  })(FundedTransactionStatus || (exports.FundedTransactionStatus = FundedTransactionStatus = {}));
12
13
  const generateFundedTransactionTicketNumber = () => {
13
14
  const random = Math.floor(100000 + Math.random() * 900000); // 6-digit random number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.344",
3
+ "version": "1.1.346",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [