@konplit-services/common 1.0.226 → 1.0.227
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/app.configs.d.ts
CHANGED
|
@@ -116,6 +116,8 @@ declare class AppConfigs {
|
|
|
116
116
|
getMonoDBURI(): string;
|
|
117
117
|
getQRPaymentDBURI(): string;
|
|
118
118
|
getTransferDBURI(): string;
|
|
119
|
+
getInvoiceDBURI(): string;
|
|
120
|
+
getEasyPayDBURI(): string;
|
|
119
121
|
getVirtualAccountDBURI(): string;
|
|
120
122
|
getWalletDBURI(): string;
|
|
121
123
|
getNATSURI(): string;
|
package/build/app.configs.js
CHANGED
|
@@ -59,6 +59,18 @@ class AppConfigs {
|
|
|
59
59
|
}
|
|
60
60
|
return this.env.MONGO_URI_TRANSFER;
|
|
61
61
|
}
|
|
62
|
+
getInvoiceDBURI() {
|
|
63
|
+
if (!this.env.MONGO_INVOICE_URI) {
|
|
64
|
+
throw new Error("MONGO_INVOICE_URI is required");
|
|
65
|
+
}
|
|
66
|
+
return this.env.MONGO_INVOICE_URI;
|
|
67
|
+
}
|
|
68
|
+
getEasyPayDBURI() {
|
|
69
|
+
if (!this.env.MONGO_EASYPAY_URI) {
|
|
70
|
+
throw new Error("MONGO_EASYPAY_URI is required");
|
|
71
|
+
}
|
|
72
|
+
return this.env.MONGO_EASYPAY_URI;
|
|
73
|
+
}
|
|
62
74
|
getVirtualAccountDBURI() {
|
|
63
75
|
if (!this.env.MONGO_URI_VIRTUAL_ACCOUNT) {
|
|
64
76
|
throw new Error("MONGO_URI_VIRTUAL_ACCOUNT is required");
|
|
@@ -12,4 +12,5 @@ var SocialMediaType;
|
|
|
12
12
|
SocialMediaType["instagram"] = "instagram";
|
|
13
13
|
SocialMediaType["youtube"] = "youtube";
|
|
14
14
|
SocialMediaType["x"] = "x";
|
|
15
|
+
SocialMediaType["linkedin"] = "linkedin";
|
|
15
16
|
})(SocialMediaType = exports.SocialMediaType || (exports.SocialMediaType = {}));
|