@riocrypto/common-server 1.0.2104 → 1.0.2106

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.
@@ -69,6 +69,10 @@ interface OrderAttrs {
69
69
  payoutTransferLimit?: number;
70
70
  paymentReceivedAt?: Date;
71
71
  version: number;
72
+ invoice?: {
73
+ PDFLink?: string;
74
+ XMLLink?: string;
75
+ };
72
76
  paymentInstructions?: {
73
77
  blockchainAddress?: string;
74
78
  USBankTransferMethod?: "wire" | "ach_push";
@@ -162,6 +166,10 @@ interface OrderDoc extends Document {
162
166
  payoutBankAccountId?: string;
163
167
  bulkCryptoPaymentId?: string;
164
168
  bulkBankPaymentId?: string;
169
+ invoice?: {
170
+ PDFLink?: string;
171
+ XMLLink?: string;
172
+ };
165
173
  binancePayment?: {
166
174
  binanceTransactionId: string;
167
175
  amount: number;
@@ -35,6 +35,14 @@ const buildOrder = (mongoose) => {
35
35
  type: String,
36
36
  required: true,
37
37
  },
38
+ invoice: {
39
+ PDFLink: {
40
+ type: String,
41
+ },
42
+ XMLLink: {
43
+ type: String,
44
+ },
45
+ },
38
46
  side: {
39
47
  type: String,
40
48
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2104",
3
+ "version": "1.0.2106",
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.1875",
31
+ "@riocrypto/common": "^1.0.1878",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",