@riocrypto/common-server 1.0.2632 → 1.0.2634
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.
- package/build/models/admin-auth-dashboard-settings.d.ts +3 -0
- package/build/models/admin-auth-dashboard-settings.js +3 -0
- package/build/models/auth-dashboard-settings.d.ts +3 -0
- package/build/models/auth-dashboard-settings.js +3 -0
- package/build/models/user.d.ts +3 -3
- package/build/models/user.js +2 -2
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TablePreferences } from "@riocrypto/common";
|
|
1
2
|
import mongoose from "mongoose";
|
|
2
3
|
interface AdminAuthDashboardSettingsAttrs {
|
|
3
4
|
adminAuthId: string;
|
|
@@ -5,6 +6,7 @@ interface AdminAuthDashboardSettingsAttrs {
|
|
|
5
6
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
7
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
7
8
|
notificationBannerDismissedMobile?: boolean;
|
|
9
|
+
tablePreferences?: TablePreferences;
|
|
8
10
|
}
|
|
9
11
|
interface AdminAuthDashboardSettingsDoc extends mongoose.Document {
|
|
10
12
|
adminAuthId: string;
|
|
@@ -12,6 +14,7 @@ interface AdminAuthDashboardSettingsDoc extends mongoose.Document {
|
|
|
12
14
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
13
15
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
14
16
|
notificationBannerDismissedMobile?: boolean;
|
|
17
|
+
tablePreferences?: TablePreferences;
|
|
15
18
|
}
|
|
16
19
|
interface AdminAuthDashboardSettingsModel extends mongoose.Model<AdminAuthDashboardSettingsDoc> {
|
|
17
20
|
build(attrs: AdminAuthDashboardSettingsAttrs): AdminAuthDashboardSettingsDoc;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TablePreferences } from "@riocrypto/common";
|
|
1
2
|
import mongoose from "mongoose";
|
|
2
3
|
interface AuthDashboardSettingsAttrs {
|
|
3
4
|
authId: string;
|
|
@@ -5,6 +6,7 @@ interface AuthDashboardSettingsAttrs {
|
|
|
5
6
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
7
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
7
8
|
notificationBannerDismissedMobile?: boolean;
|
|
9
|
+
tablePreferences?: TablePreferences;
|
|
8
10
|
}
|
|
9
11
|
interface AuthDashboardSettingsDoc extends mongoose.Document {
|
|
10
12
|
authId: string;
|
|
@@ -12,6 +14,7 @@ interface AuthDashboardSettingsDoc extends mongoose.Document {
|
|
|
12
14
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
13
15
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
14
16
|
notificationBannerDismissedMobile?: boolean;
|
|
17
|
+
tablePreferences?: TablePreferences;
|
|
15
18
|
}
|
|
16
19
|
interface AuthDashboardSettingsModel extends mongoose.Model<AuthDashboardSettingsDoc> {
|
|
17
20
|
build(attrs: AuthDashboardSettingsAttrs): AuthDashboardSettingsDoc;
|
package/build/models/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnboardingStatus, PlatformFeeRange, UserAttribute, UserType, CountryOfOrigin, Country, Fiat, Side, Crypto, DeferredPaymentType } from "@riocrypto/common";
|
|
1
|
+
import { OnboardingStatus, PlatformFeeRange, UserAttribute, UserType, CountryOfOrigin, Country, Fiat, Side, Crypto, DeferredPaymentType, MexicoInvoicingMethod } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface UserAttrs {
|
|
4
4
|
createdAt: Date;
|
|
@@ -84,7 +84,7 @@ interface UserAttrs {
|
|
|
84
84
|
};
|
|
85
85
|
invoicing?: {
|
|
86
86
|
MX: {
|
|
87
|
-
|
|
87
|
+
method?: MexicoInvoicingMethod;
|
|
88
88
|
fiscalName?: string;
|
|
89
89
|
fiscalRegimenCode?: number;
|
|
90
90
|
taxId?: string;
|
|
@@ -232,7 +232,7 @@ interface UserDoc extends Document {
|
|
|
232
232
|
};
|
|
233
233
|
invoicing?: {
|
|
234
234
|
MX: {
|
|
235
|
-
|
|
235
|
+
method?: MexicoInvoicingMethod;
|
|
236
236
|
fiscalName?: string;
|
|
237
237
|
taxId?: string;
|
|
238
238
|
fiscalRegimenCode?: number;
|
package/build/models/user.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2634",
|
|
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.
|
|
31
|
+
"@riocrypto/common": "^1.0.2437",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|