@riocrypto/common-server 1.0.1766 → 1.0.1767

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,7 @@ interface OnboardingAttrs {
15
15
  bridgeCustomerId?: string;
16
16
  referrerId?: string;
17
17
  email?: string;
18
+ signatureRequestId?: string;
18
19
  }
19
20
  interface OnboardingDoc extends mongoose.Document {
20
21
  createdAt: Date;
@@ -31,6 +32,7 @@ interface OnboardingDoc extends mongoose.Document {
31
32
  bridgeCustomerId?: string;
32
33
  referrerId?: string;
33
34
  email?: string;
35
+ signatureRequestId?: string;
34
36
  }
35
37
  interface OnboardingModel extends mongoose.Model<OnboardingDoc> {
36
38
  build(attrs: OnboardingAttrs): OnboardingDoc;
@@ -53,6 +53,9 @@ const buildOnboarding = (mongoose) => {
53
53
  type: String,
54
54
  required: true,
55
55
  },
56
+ signatureRequestId: {
57
+ type: String,
58
+ },
56
59
  }, {
57
60
  toJSON: {
58
61
  transform(doc, ret) {
@@ -53,7 +53,6 @@ interface UserAttrs {
53
53
  [country in CountryOfOrigin]?: {
54
54
  status?: OnboardingStatus;
55
55
  hasAcceptedTerms?: boolean;
56
- signatureRequestId?: string;
57
56
  onboardingId?: string;
58
57
  aiPriseId?: string;
59
58
  bridgeId?: string;
@@ -169,7 +168,6 @@ interface UserDoc extends Document {
169
168
  status?: OnboardingStatus;
170
169
  hasAcceptedTerms?: boolean;
171
170
  onboardingId?: string;
172
- signatureRequestId?: string;
173
171
  aiPriseId?: string;
174
172
  bridgeId?: string;
175
173
  personalId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1766",
3
+ "version": "1.0.1767",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",