@konplit-services/common 1.0.5 → 1.0.7
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/helper/index.d.ts +34 -0
- package/build/helper/index.js +34 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +2 -0
- package/build/swagger/config.d.ts +1 -1
- package/build/swagger/config.js +2 -2
- package/package.json +1 -1
package/build/helper/index.d.ts
CHANGED
|
@@ -2,3 +2,37 @@ export * from "./util";
|
|
|
2
2
|
export * from "./query/query-option";
|
|
3
3
|
export * from "./errorCodes/error-codes";
|
|
4
4
|
export * from "./lang";
|
|
5
|
+
export * from "./account-balance-types";
|
|
6
|
+
export * from "./account-status";
|
|
7
|
+
export * from "./bank-code";
|
|
8
|
+
export * from "./business-category";
|
|
9
|
+
export * from "./bvn-validation-type";
|
|
10
|
+
export * from "./card_auth_type";
|
|
11
|
+
export * from "./card-types";
|
|
12
|
+
export * from "./chargeback";
|
|
13
|
+
export * from "./charges";
|
|
14
|
+
export * from "./currency-types";
|
|
15
|
+
export * from "./custom-paginate";
|
|
16
|
+
export * from "./email-types";
|
|
17
|
+
export * from "./extract-card-details";
|
|
18
|
+
export * from "./invoice";
|
|
19
|
+
export * from "./last-three";
|
|
20
|
+
export * from "./location";
|
|
21
|
+
export * from "./media-types";
|
|
22
|
+
export * from "./nibss-scopes";
|
|
23
|
+
export * from "./payment-options";
|
|
24
|
+
export * from "./permistions";
|
|
25
|
+
export * from "./plan-types";
|
|
26
|
+
export * from "./refund";
|
|
27
|
+
export * from "./roles";
|
|
28
|
+
export * from "./settlement";
|
|
29
|
+
export * from "./status";
|
|
30
|
+
export * from "./subscriptions-types";
|
|
31
|
+
export * from "./success-response";
|
|
32
|
+
export * from "./transaction-authentication-type";
|
|
33
|
+
export * from "./transaction-type";
|
|
34
|
+
export * from "./transfer";
|
|
35
|
+
export * from "./Two-fa-type";
|
|
36
|
+
export * from "./user-types";
|
|
37
|
+
export * from "./validateParams";
|
|
38
|
+
export * from "./worker-task-types";
|
package/build/helper/index.js
CHANGED
|
@@ -18,3 +18,37 @@ __exportStar(require("./util"), exports);
|
|
|
18
18
|
__exportStar(require("./query/query-option"), exports);
|
|
19
19
|
__exportStar(require("./errorCodes/error-codes"), exports);
|
|
20
20
|
__exportStar(require("./lang"), exports);
|
|
21
|
+
__exportStar(require("./account-balance-types"), exports);
|
|
22
|
+
__exportStar(require("./account-status"), exports);
|
|
23
|
+
__exportStar(require("./bank-code"), exports);
|
|
24
|
+
__exportStar(require("./business-category"), exports);
|
|
25
|
+
__exportStar(require("./bvn-validation-type"), exports);
|
|
26
|
+
__exportStar(require("./card_auth_type"), exports);
|
|
27
|
+
__exportStar(require("./card-types"), exports);
|
|
28
|
+
__exportStar(require("./chargeback"), exports);
|
|
29
|
+
__exportStar(require("./charges"), exports);
|
|
30
|
+
__exportStar(require("./currency-types"), exports);
|
|
31
|
+
__exportStar(require("./custom-paginate"), exports);
|
|
32
|
+
__exportStar(require("./email-types"), exports);
|
|
33
|
+
__exportStar(require("./extract-card-details"), exports);
|
|
34
|
+
__exportStar(require("./invoice"), exports);
|
|
35
|
+
__exportStar(require("./last-three"), exports);
|
|
36
|
+
__exportStar(require("./location"), exports);
|
|
37
|
+
__exportStar(require("./media-types"), exports);
|
|
38
|
+
__exportStar(require("./nibss-scopes"), exports);
|
|
39
|
+
__exportStar(require("./payment-options"), exports);
|
|
40
|
+
__exportStar(require("./permistions"), exports);
|
|
41
|
+
__exportStar(require("./plan-types"), exports);
|
|
42
|
+
__exportStar(require("./refund"), exports);
|
|
43
|
+
__exportStar(require("./roles"), exports);
|
|
44
|
+
__exportStar(require("./settlement"), exports);
|
|
45
|
+
__exportStar(require("./status"), exports);
|
|
46
|
+
__exportStar(require("./subscriptions-types"), exports);
|
|
47
|
+
__exportStar(require("./success-response"), exports);
|
|
48
|
+
__exportStar(require("./transaction-authentication-type"), exports);
|
|
49
|
+
__exportStar(require("./transaction-type"), exports);
|
|
50
|
+
__exportStar(require("./transfer"), exports);
|
|
51
|
+
__exportStar(require("./Two-fa-type"), exports);
|
|
52
|
+
__exportStar(require("./user-types"), exports);
|
|
53
|
+
__exportStar(require("./validateParams"), exports);
|
|
54
|
+
__exportStar(require("./worker-task-types"), exports);
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -32,5 +32,7 @@ __exportStar(require("./events"), exports);
|
|
|
32
32
|
__exportStar(require("./Schema/CFLESCHEMA"), exports);
|
|
33
33
|
//Email Service
|
|
34
34
|
__exportStar(require("./services"), exports);
|
|
35
|
+
//Email Service
|
|
36
|
+
__exportStar(require("./log-activities/actions"), exports);
|
|
35
37
|
//Swagger docs
|
|
36
38
|
__exportStar(require("./swagger/config"), exports);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Application } from "express";
|
|
2
|
-
export declare const configureSwagger: (app: Application) => void;
|
|
2
|
+
export declare const configureSwagger: (app: Application, paths: string) => void;
|
package/build/swagger/config.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.configureSwagger = void 0;
|
|
7
7
|
const swagger_jsdoc_1 = __importDefault(require("swagger-jsdoc"));
|
|
8
8
|
const swagger_ui_express_1 = __importDefault(require("swagger-ui-express"));
|
|
9
|
-
const configureSwagger = (app) => {
|
|
9
|
+
const configureSwagger = (app, paths) => {
|
|
10
10
|
const options = {
|
|
11
11
|
definition: {
|
|
12
12
|
openapi: "3.1.0",
|
|
@@ -44,7 +44,7 @@ const configureSwagger = (app) => {
|
|
|
44
44
|
bearerAuth: [],
|
|
45
45
|
},
|
|
46
46
|
],
|
|
47
|
-
apis: [
|
|
47
|
+
apis: [paths],
|
|
48
48
|
};
|
|
49
49
|
const swaggerSpec = (0, swagger_jsdoc_1.default)(options);
|
|
50
50
|
app.use("/api-docs", swagger_ui_express_1.default.serve, swagger_ui_express_1.default.setup(swaggerSpec));
|