liqpay-nestjs 0.3.11 → 0.3.12

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.
@@ -23,7 +23,7 @@ export declare const RawCheckoutCallbackSchema: z.ZodObject<{
23
23
  card_token: z.ZodOptional<z.ZodString>;
24
24
  commission_credit: z.ZodOptional<z.ZodNumber>;
25
25
  commission_debit: z.ZodOptional<z.ZodNumber>;
26
- completion_date: z.ZodOptional<z.ZodString>;
26
+ completion_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
27
27
  create_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
28
28
  currency: z.ZodOptional<z.ZodString>;
29
29
  currency_credit: z.ZodOptional<z.ZodString>;
@@ -43,7 +43,7 @@ export declare const RawCheckoutCallbackSchema: z.ZodObject<{
43
43
  paytype: z.ZodOptional<z.ZodString>;
44
44
  receiver_commission: z.ZodOptional<z.ZodNumber>;
45
45
  redirect_to: z.ZodOptional<z.ZodString>;
46
- refund_date_last: z.ZodOptional<z.ZodString>;
46
+ refund_date_last: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
47
47
  rrn_credit: z.ZodOptional<z.ZodString>;
48
48
  rrn_debit: z.ZodOptional<z.ZodString>;
49
49
  sender_bonus: z.ZodOptional<z.ZodNumber>;
@@ -98,7 +98,7 @@ export declare const CheckoutCallbackSchema: z.ZodPipe<z.ZodObject<{
98
98
  card_token: z.ZodOptional<z.ZodString>;
99
99
  commission_credit: z.ZodOptional<z.ZodNumber>;
100
100
  commission_debit: z.ZodOptional<z.ZodNumber>;
101
- completion_date: z.ZodOptional<z.ZodString>;
101
+ completion_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
102
102
  create_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
103
103
  currency: z.ZodOptional<z.ZodString>;
104
104
  currency_credit: z.ZodOptional<z.ZodString>;
@@ -118,7 +118,7 @@ export declare const CheckoutCallbackSchema: z.ZodPipe<z.ZodObject<{
118
118
  paytype: z.ZodOptional<z.ZodString>;
119
119
  receiver_commission: z.ZodOptional<z.ZodNumber>;
120
120
  redirect_to: z.ZodOptional<z.ZodString>;
121
- refund_date_last: z.ZodOptional<z.ZodString>;
121
+ refund_date_last: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
122
122
  rrn_credit: z.ZodOptional<z.ZodString>;
123
123
  rrn_debit: z.ZodOptional<z.ZodString>;
124
124
  sender_bonus: z.ZodOptional<z.ZodNumber>;
@@ -287,7 +287,7 @@ export declare const CheckoutCallbackSchema: z.ZodPipe<z.ZodObject<{
287
287
  card_token?: string | undefined;
288
288
  commission_credit?: number | undefined;
289
289
  commission_debit?: number | undefined;
290
- completion_date?: string | undefined;
290
+ completion_date?: string | number | undefined;
291
291
  create_date?: string | number | undefined;
292
292
  currency?: string | undefined;
293
293
  currency_credit?: string | undefined;
@@ -307,7 +307,7 @@ export declare const CheckoutCallbackSchema: z.ZodPipe<z.ZodObject<{
307
307
  paytype?: string | undefined;
308
308
  receiver_commission?: number | undefined;
309
309
  redirect_to?: string | undefined;
310
- refund_date_last?: string | undefined;
310
+ refund_date_last?: string | number | undefined;
311
311
  rrn_credit?: string | undefined;
312
312
  rrn_debit?: string | undefined;
313
313
  sender_bonus?: number | undefined;
@@ -80,7 +80,7 @@ exports.RawCheckoutCallbackSchema = zod_1.z.object({
80
80
  /**
81
81
  * Date of debiting funds
82
82
  */
83
- completion_date: zod_1.z.string().optional(),
83
+ completion_date: zod_1.z.union([zod_1.z.number(), zod_1.z.string()]).optional(),
84
84
  /**
85
85
  * Payment creation date
86
86
  */
@@ -168,7 +168,7 @@ exports.RawCheckoutCallbackSchema = zod_1.z.object({
168
168
  /**
169
169
  * Date of last payment refund
170
170
  */
171
- refund_date_last: zod_1.z.string().optional(),
171
+ refund_date_last: zod_1.z.union([zod_1.z.number(), zod_1.z.string()]).optional(),
172
172
  /**
173
173
  * Unique transaction number in the authorization and settlement system of the servicing bank `Retrieval Reference number`
174
174
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "liqpay-nestjs",
3
3
  "description": "LiqPay integration module for NestJS with support for payments, callbacks, and configuration via DI.",
4
- "version": "0.3.11",
4
+ "version": "0.3.12",
5
5
  "type": "commonjs",
6
6
  "module": "dist/index.js",
7
7
  "main": "dist/index.js",