@riocrypto/common-server 1.0.2406 → 1.0.2407

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.
@@ -37,6 +37,7 @@ interface QuoteAttrs {
37
37
  deferredPaymentType: DeferredPaymentType;
38
38
  twoWaySettlementType: TwoWaySettlementType;
39
39
  twoWaySettlementDateOffset?: number;
40
+ twoWaySettlementDate: Date;
40
41
  }
41
42
  interface QuoteDoc extends Document {
42
43
  userId: string;
@@ -75,6 +76,7 @@ interface QuoteDoc extends Document {
75
76
  deferredPaymentType: DeferredPaymentType;
76
77
  twoWaySettlementType: TwoWaySettlementType;
77
78
  twoWaySettlementDateOffset?: number;
79
+ twoWaySettlementDate: Date;
78
80
  }
79
81
  interface QuoteModel extends Model<QuoteDoc> {
80
82
  build(attrs: QuoteAttrs): QuoteDoc;
@@ -144,6 +144,9 @@ const buildQuote = (mongoose) => {
144
144
  twoWaySettlementDateOffset: {
145
145
  type: Number,
146
146
  },
147
+ twoWaySettlementDate: {
148
+ type: mongoose.Schema.Types.Date,
149
+ },
147
150
  }, {
148
151
  toJSON: {
149
152
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2406",
3
+ "version": "1.0.2407",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2137",
31
+ "@riocrypto/common": "^1.0.2138",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",