@riocrypto/common-server 1.0.2775 → 1.0.2776

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.
@@ -5,6 +5,7 @@ interface CEPAttrs {
5
5
  orderId?: string;
6
6
  bulkBankPayoutId?: string;
7
7
  internalTransferId?: string;
8
+ bankAccountVerificationId?: string;
8
9
  SPEITrackingNumber: string;
9
10
  senderCLABE: string;
10
11
  receiverCLABE: string;
@@ -19,6 +20,7 @@ interface CEPDoc extends Document {
19
20
  orderId?: string;
20
21
  bulkBankPayoutId?: string;
21
22
  internalTransferId?: string;
23
+ bankAccountVerificationId?: string;
22
24
  SPEITrackingNumber: string;
23
25
  senderCLABE: string;
24
26
  receiverCLABE: string;
@@ -20,6 +20,9 @@ const buildCEP = (mongoose) => {
20
20
  type: String,
21
21
  required: true,
22
22
  },
23
+ bankAccountVerificationId: {
24
+ type: String,
25
+ },
23
26
  senderCLABE: {
24
27
  type: String,
25
28
  required: true,
@@ -6,6 +6,7 @@ interface AddressVerificationAttrs {
6
6
  addressId: string;
7
7
  status: AddressVerificationStatus;
8
8
  amount: number;
9
+ blockchainTxId?: string;
9
10
  }
10
11
  interface AddressVerificationModel extends Model<AddressVerificationDoc> {
11
12
  build(attrs: AddressVerificationAttrs): HydratedDocument<AddressVerificationDoc>;
@@ -16,6 +17,7 @@ interface AddressVerificationDoc extends Document {
16
17
  addressId: string;
17
18
  status: AddressVerificationStatus;
18
19
  amount: number;
20
+ blockchainTxId?: string;
19
21
  }
20
22
  declare const buildAddressVerification: (mongoose: Mongoose) => AddressVerificationModel;
21
23
  export { buildAddressVerification, AddressVerificationDoc, AddressVerificationAttrs, };
@@ -25,6 +25,9 @@ const buildAddressVerification = (mongoose) => {
25
25
  type: Number,
26
26
  required: true,
27
27
  },
28
+ blockchainTxId: {
29
+ type: String,
30
+ },
28
31
  }, {
29
32
  toJSON: {
30
33
  transform(doc, ret) {
@@ -8,6 +8,8 @@ interface BankAccountVerificationAttrs {
8
8
  amount: number;
9
9
  provider?: Processor.SPEI_STP | Processor.SPEI_NVIO;
10
10
  providerWithdrawalId?: string;
11
+ SPEITrackingNumber?: string;
12
+ CEPLink?: string;
11
13
  }
12
14
  interface BankAccountVerificationModel extends Model<BankAccountVerificationDoc> {
13
15
  build(attrs: BankAccountVerificationAttrs): HydratedDocument<BankAccountVerificationDoc>;
@@ -20,6 +22,8 @@ interface BankAccountVerificationDoc extends Document {
20
22
  amount: number;
21
23
  provider?: Processor.SPEI_STP | Processor.SPEI_NVIO;
22
24
  providerWithdrawalId?: string;
25
+ SPEITrackingNumber?: string;
26
+ CEPLink?: string;
23
27
  }
24
28
  declare const buildBankAccountVerification: (mongoose: Mongoose) => BankAccountVerificationModel;
25
29
  export { buildBankAccountVerification, BankAccountVerificationDoc, BankAccountVerificationAttrs, };
@@ -33,6 +33,14 @@ const buildBankAccountVerification = (mongoose) => {
33
33
  type: String,
34
34
  required: false,
35
35
  },
36
+ SPEITrackingNumber: {
37
+ type: String,
38
+ required: false,
39
+ },
40
+ CEPLink: {
41
+ type: String,
42
+ required: false,
43
+ },
36
44
  }, {
37
45
  toJSON: {
38
46
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2775",
3
+ "version": "1.0.2776",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@google-cloud/secret-manager": "^5.6.0",
25
25
  "@google-cloud/storage": "^7.19.0",
26
26
  "@hyperdx/node-opentelemetry": "^0.10.3",
27
- "@riocrypto/common": "1.0.2567",
27
+ "@riocrypto/common": "1.0.2570",
28
28
  "@slack/web-api": "^7.15.0",
29
29
  "@types/express": "^4.17.25",
30
30
  "axios": "1.13.6",