@konplit-services/common 1.0.221 → 1.0.224

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.
@@ -9,6 +9,7 @@ export interface MerchantRepBVNValidationUpdatedEvent {
9
9
  merchantId: string;
10
10
  bvn: string;
11
11
  isBvnvalid: boolean;
12
+ message?: string;
12
13
  version?: number;
13
14
  };
14
15
  }
@@ -1 +1,8 @@
1
- export {};
1
+ import { PLAN_INTERVAL } from "./plan-types";
2
+ /**
3
+ * Generates a cron expression based on the current date and selected interval.
4
+ *
5
+ * @param {PLAN_INTERVAL} interval - The subscription interval.
6
+ * @returns {string} - The generated cron expression with seconds.
7
+ */
8
+ export declare const generateCronExpression: (interval: PLAN_INTERVAL) => string;
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.generateCronExpression = void 0;
6
7
  const dayjs_1 = __importDefault(require("dayjs"));
7
8
  const utc_1 = __importDefault(require("dayjs/plugin/utc"));
8
9
  const plan_types_1 = require("./plan-types");
@@ -69,3 +70,4 @@ const generateCronExpression = (interval) => {
69
70
  }
70
71
  return cronExpression;
71
72
  };
73
+ exports.generateCronExpression = generateCronExpression;
@@ -25,17 +25,11 @@ const configureSwagger = (app, paths) => {
25
25
  },
26
26
  },
27
27
  servers: [
28
- {
29
- url: "http://localhost:3000",
30
- },
31
28
  {
32
29
  url: "https://konplit.com",
33
30
  },
34
31
  {
35
- url: "https://www.konplit.com",
36
- },
37
- {
38
- url: "http://konplit.com",
32
+ url: " https://valuepay.konplit.com",
39
33
  },
40
34
  ],
41
35
  components: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.221",
3
+ "version": "1.0.224",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",