@konplit-services/common 1.0.50 → 1.0.52
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.
|
@@ -112,6 +112,7 @@ exports.email_lang = {
|
|
|
112
112
|
//Registration Email Responses
|
|
113
113
|
email_otp: "Email Verification Code (OTP) ",
|
|
114
114
|
verify_success: "Email Verification Success",
|
|
115
|
+
authtoken: "Auth Verification",
|
|
115
116
|
welcome_email: "Account Activated! Welcome to Valuepay System",
|
|
116
117
|
verify_fail: "Email Verification Failure",
|
|
117
118
|
phone_verify: "Phone Number Verified",
|
package/build/swagger/config.js
CHANGED
|
@@ -13,7 +13,7 @@ const configureSwagger = (app, paths) => {
|
|
|
13
13
|
info: {
|
|
14
14
|
title: "Konplit Payment System Documentation",
|
|
15
15
|
version: "1.0.0",
|
|
16
|
-
description: "This is a complete
|
|
16
|
+
description: "This is a complete API definition for the Konplit payment system documented with Swagger",
|
|
17
17
|
license: {
|
|
18
18
|
name: "IEC Code Components End-user licence agreement",
|
|
19
19
|
url: "https://spdx.org/licenses/IEC-Code-Components-EULA.html",
|
|
@@ -29,19 +29,21 @@ const configureSwagger = (app, paths) => {
|
|
|
29
29
|
url: "http://localhost:3000",
|
|
30
30
|
},
|
|
31
31
|
],
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
components: {
|
|
33
|
+
securitySchemes: {
|
|
34
|
+
bearerAuth: {
|
|
35
|
+
type: "http",
|
|
36
|
+
scheme: "bearer",
|
|
37
|
+
bearerFormat: "JWT",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
38
40
|
},
|
|
41
|
+
security: [
|
|
42
|
+
{
|
|
43
|
+
bearerAuth: [],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
39
46
|
},
|
|
40
|
-
security: [
|
|
41
|
-
{
|
|
42
|
-
bearerAuth: [],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
47
|
apis: [paths],
|
|
46
48
|
};
|
|
47
49
|
const swaggerSpec = (0, swagger_jsdoc_1.default)(options);
|