@riocrypto/common-server 1.0.1357 → 1.0.1358

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.
@@ -15,6 +15,10 @@ interface BankPaymentAttrs {
15
15
  rfc?: string;
16
16
  swiftCode?: string;
17
17
  cci?: string;
18
+ CLABE?: string;
19
+ RUC?: string;
20
+ RFC?: string;
21
+ CCI?: string;
18
22
  status: string;
19
23
  }
20
24
  interface BankPaymentDoc extends Document {
@@ -33,6 +37,10 @@ interface BankPaymentDoc extends Document {
33
37
  rfc?: string;
34
38
  swiftCode?: string;
35
39
  cci?: string;
40
+ CLABE?: string;
41
+ RUC?: string;
42
+ RFC?: string;
43
+ CCI?: string;
36
44
  status: string;
37
45
  }
38
46
  interface BankPaymentModel extends Model<BankPaymentDoc> {
@@ -57,6 +57,18 @@ const buildBankPayment = (mongoose) => {
57
57
  cci: {
58
58
  type: String,
59
59
  },
60
+ CLABE: {
61
+ type: String,
62
+ },
63
+ RUC: {
64
+ type: String,
65
+ },
66
+ RFC: {
67
+ type: String,
68
+ },
69
+ CCI: {
70
+ type: String,
71
+ },
60
72
  }, {
61
73
  toJSON: {
62
74
  transform(doc, ret) {
@@ -2,13 +2,13 @@ import { Mongoose, Model, Document } from "mongoose";
2
2
  interface BitsoBankAccountAttrs {
3
3
  createdAt: Date;
4
4
  userId: string;
5
- clabe: string;
5
+ CLABE: string;
6
6
  approved: boolean;
7
7
  }
8
8
  interface BitsoBankAccountDoc extends Document {
9
9
  createdAt: Date;
10
10
  userId: string;
11
- clabe: string;
11
+ CLABE: string;
12
12
  approved: boolean;
13
13
  }
14
14
  interface BitsoBankAccountModel extends Model<BitsoBankAccountDoc> {
@@ -15,7 +15,7 @@ const buildBitsoBankAccount = (mongoose) => {
15
15
  type: mongoose.Schema.Types.Date,
16
16
  required: true,
17
17
  },
18
- clabe: {
18
+ CLABE: {
19
19
  type: String,
20
20
  required: true,
21
21
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1357",
3
+ "version": "1.0.1358",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",