@vulog/aima-billing 1.2.16 → 1.2.18

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/dist/index.d.mts CHANGED
@@ -17,6 +17,7 @@ type ChargeProductInfo = {
17
17
  };
18
18
  };
19
19
  type ManualPayment = {
20
+ requiresActionReturnUrl: string;
20
21
  online?: boolean;
21
22
  scope: 'RENTAL' | 'DEPOSIT';
22
23
  };
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ type ChargeProductInfo = {
17
17
  };
18
18
  };
19
19
  type ManualPayment = {
20
+ requiresActionReturnUrl: string;
20
21
  online?: boolean;
21
22
  scope: 'RENTAL' | 'DEPOSIT';
22
23
  };
package/dist/index.js CHANGED
@@ -200,6 +200,7 @@ var import_zod9 = __toESM(require("zod"));
200
200
  var schema6 = import_zod9.default.object({
201
201
  invoiceId: import_zod9.default.string().trim().min(1).uuid(),
202
202
  manualPayment: import_zod9.default.object({
203
+ requiresActionReturnUrl: import_zod9.default.string().default(""),
203
204
  online: import_zod9.default.boolean().default(true),
204
205
  scope: import_zod9.default.enum(["RENTAL", "DEPOSIT"])
205
206
  })
package/dist/index.mjs CHANGED
@@ -156,6 +156,7 @@ import z9 from "zod";
156
156
  var schema6 = z9.object({
157
157
  invoiceId: z9.string().trim().min(1).uuid(),
158
158
  manualPayment: z9.object({
159
+ requiresActionReturnUrl: z9.string().default(""),
159
160
  online: z9.boolean().default(true),
160
161
  scope: z9.enum(["RENTAL", "DEPOSIT"])
161
162
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-billing",
3
- "version": "1.2.16",
3
+ "version": "1.2.18",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,11 +19,11 @@
19
19
  "author": "Vulog",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.2.16",
23
- "@vulog/aima-core": "1.2.16"
22
+ "@vulog/aima-client": "1.2.18",
23
+ "@vulog/aima-core": "1.2.18"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "zod": "^3.25.76"
27
27
  },
28
28
  "description": ""
29
- }
29
+ }
package/src/payInvoice.ts CHANGED
@@ -6,6 +6,7 @@ import { Invoice, ManualPayment } from './types';
6
6
  const schema = z.object({
7
7
  invoiceId: z.string().trim().min(1).uuid(),
8
8
  manualPayment: z.object({
9
+ requiresActionReturnUrl: z.string().default(''),
9
10
  online: z.boolean().default(true),
10
11
  scope: z.enum(['RENTAL', 'DEPOSIT']),
11
12
  }),
package/src/types.ts CHANGED
@@ -16,6 +16,7 @@ export type ChargeProductInfo = {
16
16
  };
17
17
 
18
18
  export type ManualPayment = {
19
+ requiresActionReturnUrl: string;
19
20
  online?: boolean;
20
21
  scope: 'RENTAL' | 'DEPOSIT';
21
22
  };