@riocrypto/common-server 1.0.522 → 1.0.523

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.
@@ -21,6 +21,7 @@ interface BusinessUserAttrs {
21
21
  attributes?: UserAttribute[];
22
22
  brokerId?: string;
23
23
  platformFeeRanges?: PlatformFeeRange[];
24
+ partnerId?: string;
24
25
  }
25
26
  interface BusinessUserModel extends Model<BusinessUserDoc> {
26
27
  build(attrs: BusinessUserAttrs): BusinessUserDoc;
@@ -46,6 +47,7 @@ interface BusinessUserDoc extends Document {
46
47
  attributes?: UserAttribute[];
47
48
  brokerId?: string;
48
49
  platformFeeRanges?: PlatformFeeRange[];
50
+ partnerId?: string;
49
51
  }
50
52
  declare const buildBusinessUser: (mongoose: Mongoose) => BusinessUserModel;
51
53
  export { buildBusinessUser, BusinessUserDoc };
@@ -77,6 +77,9 @@ const buildBusinessUser = (mongoose) => {
77
77
  brokerId: {
78
78
  type: String,
79
79
  },
80
+ partnerId: {
81
+ type: String,
82
+ },
80
83
  platformFeeRanges: [
81
84
  {
82
85
  min: {
@@ -22,7 +22,6 @@ interface OrderAttrs {
22
22
  depositAddress?: string;
23
23
  depositTxId?: string;
24
24
  withdrawalTxId?: string;
25
- addressVerified?: boolean;
26
25
  brokerCustomerId?: string;
27
26
  }
28
27
  interface OrderDoc extends Document {
@@ -47,7 +46,6 @@ interface OrderDoc extends Document {
47
46
  depositAddress?: string;
48
47
  depositTxId?: string;
49
48
  withdrawalTxId?: string;
50
- addressVerified?: boolean;
51
49
  brokerCustomerId?: string;
52
50
  }
53
51
  interface OrderModel extends Model<OrderDoc> {
@@ -99,9 +99,6 @@ const buildOrder = (mongoose) => {
99
99
  partnerId: {
100
100
  type: String,
101
101
  },
102
- addressVerified: {
103
- type: Boolean,
104
- },
105
102
  brokerCustomerId: {
106
103
  type: String,
107
104
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.522",
3
+ "version": "1.0.523",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",