@riocrypto/common-server 1.0.1576 → 1.0.1577

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.
@@ -95,6 +95,7 @@ interface UserAttrs {
95
95
  };
96
96
  };
97
97
  quotationTime?: number;
98
+ referrerId?: string;
98
99
  }
99
100
  interface UserModel extends Model<UserDoc> {
100
101
  build(attrs: UserAttrs): UserDoc;
@@ -195,6 +196,7 @@ interface UserDoc extends Document {
195
196
  };
196
197
  };
197
198
  quotationTime?: number;
199
+ referrerId?: string;
198
200
  }
199
201
  declare const buildUser: (mongoose: Mongoose) => UserModel;
200
202
  export { buildUser, UserDoc, UserAttrs };
@@ -227,6 +227,9 @@ const buildUser = (mongoose) => {
227
227
  type: String,
228
228
  },
229
229
  ],
230
+ referrerId: {
231
+ type: String,
232
+ },
230
233
  onboarding: Object,
231
234
  invoicing: {
232
235
  MX: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1576",
3
+ "version": "1.0.1577",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",