@riocrypto/common-server 1.0.2169 → 1.0.2170

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,9 +21,8 @@ interface TelegramSessionAttrs {
21
21
  };
22
22
  quoteId?: string;
23
23
  orderId?: string;
24
- cryptoAddress?: string;
25
- externalAccountId?: string;
26
- bankAccountId?: string;
24
+ userAddressId?: string;
25
+ payoutBankAccountId?: string;
27
26
  }
28
27
  interface TelegramSessionDoc extends mongoose.Document {
29
28
  createdAt: Date;
@@ -46,9 +45,8 @@ interface TelegramSessionDoc extends mongoose.Document {
46
45
  };
47
46
  quoteId?: string;
48
47
  orderId?: string;
49
- cryptoAddress?: string;
50
- externalAccountId?: string;
51
- bankAccountId?: string;
48
+ userAddressId?: string;
49
+ payoutBankAccountId?: string;
52
50
  }
53
51
  interface TelegramSessionModel extends mongoose.Model<TelegramSessionDoc> {
54
52
  build(attrs: TelegramSessionAttrs): TelegramSessionDoc;
@@ -70,10 +70,10 @@ const buildTelegramSession = (mongoose) => {
70
70
  orderId: {
71
71
  type: String,
72
72
  },
73
- cryptoAddress: {
73
+ userAddressId: {
74
74
  type: String,
75
75
  },
76
- bankAccountId: {
76
+ payoutBankAccountId: {
77
77
  type: String,
78
78
  },
79
79
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2169",
3
+ "version": "1.0.2170",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",