@livdot-tech/contracts 1.10.9 → 1.10.11
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/auth/index.d.mts +33 -1
- package/dist/auth/index.d.ts +33 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +73 -32
- package/dist/booking/index.d.ts +73 -32
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat/index.mjs +1 -1
- package/dist/chunk-24CY6H47.mjs +2 -0
- package/dist/chunk-24CY6H47.mjs.map +1 -0
- package/dist/{chunk-NVRMAJUL.mjs → chunk-2E5A3OH5.mjs} +2 -2
- package/dist/{chunk-NVRMAJUL.mjs.map → chunk-2E5A3OH5.mjs.map} +1 -1
- package/dist/chunk-4462TNXX.mjs +2 -0
- package/dist/chunk-4462TNXX.mjs.map +1 -0
- package/dist/chunk-6K65YSKT.js +2 -0
- package/dist/chunk-6K65YSKT.js.map +1 -0
- package/dist/chunk-772VKGEW.mjs +2 -0
- package/dist/chunk-772VKGEW.mjs.map +1 -0
- package/dist/{chunk-NXXOFHF3.js → chunk-AXEWCCRB.js} +2 -2
- package/dist/{chunk-NXXOFHF3.js.map → chunk-AXEWCCRB.js.map} +1 -1
- package/dist/{chunk-AQ3FQ5QL.js → chunk-DKD7D4PA.js} +2 -2
- package/dist/{chunk-AQ3FQ5QL.js.map → chunk-DKD7D4PA.js.map} +1 -1
- package/dist/chunk-HZGFU37D.mjs +2 -0
- package/dist/{chunk-CAU7YL6S.mjs.map → chunk-HZGFU37D.mjs.map} +1 -1
- package/dist/{chunk-35LKR6OD.mjs → chunk-KLDI5GME.mjs} +2 -2
- package/dist/{chunk-35LKR6OD.mjs.map → chunk-KLDI5GME.mjs.map} +1 -1
- package/dist/chunk-KWI7FFDZ.js +2 -0
- package/dist/chunk-KWI7FFDZ.js.map +1 -0
- package/dist/{chunk-GYOC7KTA.mjs → chunk-KXFEYU3L.mjs} +2 -2
- package/dist/{chunk-GYOC7KTA.mjs.map → chunk-KXFEYU3L.mjs.map} +1 -1
- package/dist/{chunk-3B6N5BOU.mjs → chunk-LC7MU4YI.mjs} +2 -2
- package/dist/{chunk-3B6N5BOU.mjs.map → chunk-LC7MU4YI.mjs.map} +1 -1
- package/dist/chunk-LQCTZLT3.js +2 -0
- package/dist/chunk-LQCTZLT3.js.map +1 -0
- package/dist/{chunk-OK2WB3CR.js → chunk-PPOGJMX2.js} +2 -2
- package/dist/{chunk-OK2WB3CR.js.map → chunk-PPOGJMX2.js.map} +1 -1
- package/dist/chunk-Q5LBIFHR.mjs +2 -0
- package/dist/chunk-Q5LBIFHR.mjs.map +1 -0
- package/dist/{chunk-BENMBOE4.js → chunk-QO6ZX7MX.js} +2 -2
- package/dist/{chunk-BENMBOE4.js.map → chunk-QO6ZX7MX.js.map} +1 -1
- package/dist/chunk-RBRSIRFT.js +2 -0
- package/dist/chunk-RBRSIRFT.js.map +1 -0
- package/dist/{chunk-QUHJBMVX.js → chunk-W7OBXPUL.js} +2 -2
- package/dist/{chunk-QUHJBMVX.js.map → chunk-W7OBXPUL.js.map} +1 -1
- package/dist/chunk-XIGWQQOY.mjs +2 -0
- package/dist/chunk-XIGWQQOY.mjs.map +1 -0
- package/dist/chunk-ZHGBW3TF.js +2 -0
- package/dist/chunk-ZHGBW3TF.js.map +1 -0
- package/dist/common/index.d.mts +22 -1
- package/dist/common/index.d.ts +22 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.d.mts +639 -119
- package/dist/event/index.d.ts +639 -119
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +189 -32
- package/dist/host/index.d.ts +189 -32
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.d.mts +185 -44
- package/dist/payment/index.d.ts +185 -44
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5JM263DT.mjs +0 -2
- package/dist/chunk-5JM263DT.mjs.map +0 -1
- package/dist/chunk-6FDDPL7W.js +0 -2
- package/dist/chunk-6FDDPL7W.js.map +0 -1
- package/dist/chunk-6NVVSNJO.js +0 -2
- package/dist/chunk-6NVVSNJO.js.map +0 -1
- package/dist/chunk-CAU7YL6S.mjs +0 -2
- package/dist/chunk-CCDUUAEJ.js +0 -2
- package/dist/chunk-CCDUUAEJ.js.map +0 -1
- package/dist/chunk-GJJJU6CN.mjs +0 -2
- package/dist/chunk-GJJJU6CN.mjs.map +0 -1
- package/dist/chunk-KTQGMYO4.js +0 -2
- package/dist/chunk-KTQGMYO4.js.map +0 -1
- package/dist/chunk-LZUBUYQQ.js +0 -2
- package/dist/chunk-LZUBUYQQ.js.map +0 -1
- package/dist/chunk-NUHYTYPJ.mjs +0 -2
- package/dist/chunk-NUHYTYPJ.mjs.map +0 -1
- package/dist/chunk-QXRKIV27.mjs +0 -2
- package/dist/chunk-QXRKIV27.mjs.map +0 -1
- package/dist/chunk-QZGEBETP.mjs +0 -2
- package/dist/chunk-QZGEBETP.mjs.map +0 -1
package/dist/payment/index.d.mts
CHANGED
|
@@ -77,6 +77,15 @@ declare const CtaMode: {
|
|
|
77
77
|
readonly REPLAY_PROCESSING: "REPLAY_PROCESSING";
|
|
78
78
|
};
|
|
79
79
|
type CtaMode = (typeof CtaMode)[keyof typeof CtaMode];
|
|
80
|
+
declare const PayoutState: {
|
|
81
|
+
readonly REQUESTED: "REQUESTED";
|
|
82
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
83
|
+
readonly SENT: "SENT";
|
|
84
|
+
readonly SETTLED: "SETTLED";
|
|
85
|
+
readonly FAILED: "FAILED";
|
|
86
|
+
readonly REVERSED: "REVERSED";
|
|
87
|
+
};
|
|
88
|
+
type PayoutState = (typeof PayoutState)[keyof typeof PayoutState];
|
|
80
89
|
|
|
81
90
|
declare const InitiatePaymentRequestSchema: z.ZodObject<{
|
|
82
91
|
eventId: z.ZodUUID;
|
|
@@ -87,31 +96,6 @@ declare const InitiatePaymentResponseSchema: z.ZodObject<{
|
|
|
87
96
|
reference: z.ZodString;
|
|
88
97
|
accessCode: z.ZodOptional<z.ZodString>;
|
|
89
98
|
}, z.core.$strip>;
|
|
90
|
-
declare const PayoutResponseSchema: z.ZodObject<{
|
|
91
|
-
id: z.ZodUUID;
|
|
92
|
-
userId: z.ZodUUID;
|
|
93
|
-
amount: z.ZodNumber;
|
|
94
|
-
currency: z.ZodString;
|
|
95
|
-
payoutType: z.ZodString;
|
|
96
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
97
|
-
bookingId: z.ZodOptional<z.ZodUUID>;
|
|
98
|
-
payoutStatus: z.ZodEnum<{
|
|
99
|
-
readonly PENDING: "PENDING";
|
|
100
|
-
readonly PROCESSING: "PROCESSING";
|
|
101
|
-
readonly COMPLETED: "COMPLETED";
|
|
102
|
-
readonly FAILED: "FAILED";
|
|
103
|
-
}>;
|
|
104
|
-
providerReference: z.ZodOptional<z.ZodString>;
|
|
105
|
-
bankCode: z.ZodOptional<z.ZodString>;
|
|
106
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
107
|
-
accountName: z.ZodOptional<z.ZodString>;
|
|
108
|
-
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
109
|
-
processedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
110
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
111
|
-
failedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
112
|
-
failureReason: z.ZodOptional<z.ZodString>;
|
|
113
|
-
createdAt: z.ZodISODateTime;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
99
|
declare const CreatePurchaseResponseSchema: z.ZodObject<{
|
|
116
100
|
reference: z.ZodString;
|
|
117
101
|
checkoutUrl: z.ZodNullable<z.ZodURL>;
|
|
@@ -136,8 +120,15 @@ declare const PurchaseStatusResponseSchema: z.ZodObject<{
|
|
|
136
120
|
readonly REFUNDED: "REFUNDED";
|
|
137
121
|
}>;
|
|
138
122
|
eventId: z.ZodUUID;
|
|
139
|
-
amount: z.
|
|
140
|
-
|
|
123
|
+
amount: z.ZodObject<{
|
|
124
|
+
amountMinor: z.ZodString;
|
|
125
|
+
currency: z.ZodEnum<{
|
|
126
|
+
readonly NGN: "NGN";
|
|
127
|
+
readonly USD: "USD";
|
|
128
|
+
readonly GBP: "GBP";
|
|
129
|
+
readonly EUR: "EUR";
|
|
130
|
+
}>;
|
|
131
|
+
}, z.core.$strip>;
|
|
141
132
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
142
133
|
}, z.core.$strip>;
|
|
143
134
|
declare const AccessCheckRequestSchema: z.ZodObject<{
|
|
@@ -224,10 +215,33 @@ declare const AccessCheckResponseSchema: z.ZodObject<{
|
|
|
224
215
|
}, z.core.$strip>;
|
|
225
216
|
declare const PricingQuoteResponseSchema: z.ZodObject<{
|
|
226
217
|
reference: z.ZodNull;
|
|
227
|
-
subtotal: z.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
218
|
+
subtotal: z.ZodObject<{
|
|
219
|
+
amountMinor: z.ZodString;
|
|
220
|
+
currency: z.ZodEnum<{
|
|
221
|
+
readonly NGN: "NGN";
|
|
222
|
+
readonly USD: "USD";
|
|
223
|
+
readonly GBP: "GBP";
|
|
224
|
+
readonly EUR: "EUR";
|
|
225
|
+
}>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
platformFee: z.ZodObject<{
|
|
228
|
+
amountMinor: z.ZodString;
|
|
229
|
+
currency: z.ZodEnum<{
|
|
230
|
+
readonly NGN: "NGN";
|
|
231
|
+
readonly USD: "USD";
|
|
232
|
+
readonly GBP: "GBP";
|
|
233
|
+
readonly EUR: "EUR";
|
|
234
|
+
}>;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
total: z.ZodObject<{
|
|
237
|
+
amountMinor: z.ZodString;
|
|
238
|
+
currency: z.ZodEnum<{
|
|
239
|
+
readonly NGN: "NGN";
|
|
240
|
+
readonly USD: "USD";
|
|
241
|
+
readonly GBP: "GBP";
|
|
242
|
+
readonly EUR: "EUR";
|
|
243
|
+
}>;
|
|
244
|
+
}, z.core.$strip>;
|
|
231
245
|
strategyId: z.ZodString;
|
|
232
246
|
expiresInSec: z.ZodNumber;
|
|
233
247
|
}, z.core.$strip>;
|
|
@@ -265,14 +279,29 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
265
279
|
state: z.ZodString;
|
|
266
280
|
accessModel: z.ZodString;
|
|
267
281
|
visibility: z.ZodString;
|
|
268
|
-
ticketPrice: z.ZodNullable<z.
|
|
282
|
+
ticketPrice: z.ZodNullable<z.ZodObject<{
|
|
283
|
+
amountMinor: z.ZodString;
|
|
284
|
+
currency: z.ZodEnum<{
|
|
285
|
+
readonly NGN: "NGN";
|
|
286
|
+
readonly USD: "USD";
|
|
287
|
+
readonly GBP: "GBP";
|
|
288
|
+
readonly EUR: "EUR";
|
|
289
|
+
}>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
269
291
|
replayAccess: z.ZodEnum<{
|
|
270
292
|
readonly INCLUDED: "INCLUDED";
|
|
271
293
|
readonly DISABLED: "DISABLED";
|
|
272
294
|
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
273
295
|
}>;
|
|
274
|
-
replayAccessFee: z.ZodNullable<z.
|
|
275
|
-
|
|
296
|
+
replayAccessFee: z.ZodNullable<z.ZodObject<{
|
|
297
|
+
amountMinor: z.ZodString;
|
|
298
|
+
currency: z.ZodEnum<{
|
|
299
|
+
readonly NGN: "NGN";
|
|
300
|
+
readonly USD: "USD";
|
|
301
|
+
readonly GBP: "GBP";
|
|
302
|
+
readonly EUR: "EUR";
|
|
303
|
+
}>;
|
|
304
|
+
}, z.core.$strip>>;
|
|
276
305
|
isFeatured: z.ZodBoolean;
|
|
277
306
|
hostDisplayName: z.ZodNullable<z.ZodString>;
|
|
278
307
|
hostBio: z.ZodNullable<z.ZodString>;
|
|
@@ -325,8 +354,15 @@ declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
|
325
354
|
}, z.core.$strip>;
|
|
326
355
|
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
327
356
|
reference: z.ZodString;
|
|
328
|
-
amount: z.
|
|
329
|
-
|
|
357
|
+
amount: z.ZodObject<{
|
|
358
|
+
amountMinor: z.ZodString;
|
|
359
|
+
currency: z.ZodEnum<{
|
|
360
|
+
readonly NGN: "NGN";
|
|
361
|
+
readonly USD: "USD";
|
|
362
|
+
readonly GBP: "GBP";
|
|
363
|
+
readonly EUR: "EUR";
|
|
364
|
+
}>;
|
|
365
|
+
}, z.core.$strip>;
|
|
330
366
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
331
367
|
}, z.core.$strip>;
|
|
332
368
|
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
@@ -344,8 +380,15 @@ declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
|
344
380
|
readonly EXPIRED: "EXPIRED";
|
|
345
381
|
readonly REFUNDED: "REFUNDED";
|
|
346
382
|
}>;
|
|
347
|
-
amount: z.
|
|
348
|
-
|
|
383
|
+
amount: z.ZodObject<{
|
|
384
|
+
amountMinor: z.ZodString;
|
|
385
|
+
currency: z.ZodEnum<{
|
|
386
|
+
readonly NGN: "NGN";
|
|
387
|
+
readonly USD: "USD";
|
|
388
|
+
readonly GBP: "GBP";
|
|
389
|
+
readonly EUR: "EUR";
|
|
390
|
+
}>;
|
|
391
|
+
}, z.core.$strip>;
|
|
349
392
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
350
393
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
351
394
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -366,16 +409,30 @@ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
|
366
409
|
readonly EXPIRED: "EXPIRED";
|
|
367
410
|
readonly REFUNDED: "REFUNDED";
|
|
368
411
|
}>;
|
|
369
|
-
amount: z.
|
|
370
|
-
|
|
412
|
+
amount: z.ZodObject<{
|
|
413
|
+
amountMinor: z.ZodString;
|
|
414
|
+
currency: z.ZodEnum<{
|
|
415
|
+
readonly NGN: "NGN";
|
|
416
|
+
readonly USD: "USD";
|
|
417
|
+
readonly GBP: "GBP";
|
|
418
|
+
readonly EUR: "EUR";
|
|
419
|
+
}>;
|
|
420
|
+
}, z.core.$strip>;
|
|
371
421
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
372
422
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
373
423
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
374
424
|
}, z.core.$strip>;
|
|
375
425
|
payment: z.ZodNullable<z.ZodObject<{
|
|
376
426
|
reference: z.ZodString;
|
|
377
|
-
amount: z.
|
|
378
|
-
|
|
427
|
+
amount: z.ZodObject<{
|
|
428
|
+
amountMinor: z.ZodString;
|
|
429
|
+
currency: z.ZodEnum<{
|
|
430
|
+
readonly NGN: "NGN";
|
|
431
|
+
readonly USD: "USD";
|
|
432
|
+
readonly GBP: "GBP";
|
|
433
|
+
readonly EUR: "EUR";
|
|
434
|
+
}>;
|
|
435
|
+
}, z.core.$strip>;
|
|
379
436
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
380
437
|
}, z.core.$strip>>;
|
|
381
438
|
}, z.core.$strip>;
|
|
@@ -394,10 +451,86 @@ declare const SettlementAccountViewSchema: z.ZodObject<{
|
|
|
394
451
|
declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
395
452
|
pin: z.ZodString;
|
|
396
453
|
}, z.core.$strip>;
|
|
454
|
+
declare const PandascrowEnvelopeSchema: <T extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>(data: T) => z.ZodObject<{
|
|
455
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
456
|
+
message: z.ZodOptional<z.ZodString>;
|
|
457
|
+
data: T;
|
|
458
|
+
}, z.core.$strip>;
|
|
459
|
+
/** Loose envelope used for the pre-flight status check (§request). */
|
|
460
|
+
declare const OuterEnvelopeSchema: z.ZodObject<{
|
|
461
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
462
|
+
message: z.ZodOptional<z.ZodString>;
|
|
463
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
declare const MinorAmountSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>;
|
|
466
|
+
declare const OnetimeEscrowDataSchema: z.ZodObject<{
|
|
467
|
+
id: z.ZodString;
|
|
468
|
+
status: z.ZodString;
|
|
469
|
+
amount: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>>;
|
|
470
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
471
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
account_number: z.ZodOptional<z.ZodString>;
|
|
473
|
+
account_name: z.ZodOptional<z.ZodString>;
|
|
474
|
+
bank_name: z.ZodOptional<z.ZodString>;
|
|
475
|
+
expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
476
|
+
}, z.core.$strip>>;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
declare const WalletFundDataSchema: z.ZodObject<{
|
|
479
|
+
id: z.ZodOptional<z.ZodString>;
|
|
480
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
481
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
482
|
+
status: z.ZodString;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
declare const MarkCompleteDataSchema: z.ZodObject<{
|
|
485
|
+
id: z.ZodOptional<z.ZodString>;
|
|
486
|
+
transfer_id: z.ZodOptional<z.ZodString>;
|
|
487
|
+
status: z.ZodString;
|
|
488
|
+
requires_otp: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
declare const RefundFlagDataSchema: z.ZodObject<{
|
|
491
|
+
id: z.ZodOptional<z.ZodString>;
|
|
492
|
+
refund_id: z.ZodOptional<z.ZodString>;
|
|
493
|
+
flag_id: z.ZodOptional<z.ZodString>;
|
|
494
|
+
status: z.ZodString;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
declare const EscrowStatusDataSchema: z.ZodObject<{
|
|
497
|
+
id: z.ZodString;
|
|
498
|
+
status: z.ZodString;
|
|
499
|
+
amount: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>>;
|
|
500
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
501
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
declare const PayoutViewSchema: z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
reference: z.ZodString;
|
|
506
|
+
state: z.ZodEnum<{
|
|
507
|
+
readonly REQUESTED: "REQUESTED";
|
|
508
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
509
|
+
readonly SENT: "SENT";
|
|
510
|
+
readonly SETTLED: "SETTLED";
|
|
511
|
+
readonly FAILED: "FAILED";
|
|
512
|
+
readonly REVERSED: "REVERSED";
|
|
513
|
+
}>;
|
|
514
|
+
amount: z.ZodObject<{
|
|
515
|
+
amountMinor: z.ZodString;
|
|
516
|
+
currency: z.ZodEnum<{
|
|
517
|
+
readonly NGN: "NGN";
|
|
518
|
+
readonly USD: "USD";
|
|
519
|
+
readonly GBP: "GBP";
|
|
520
|
+
readonly EUR: "EUR";
|
|
521
|
+
}>;
|
|
522
|
+
}, z.core.$strip>;
|
|
523
|
+
bankName: z.ZodNullable<z.ZodString>;
|
|
524
|
+
accountNumberMasked: z.ZodString;
|
|
525
|
+
accountName: z.ZodString;
|
|
526
|
+
requestedAt: z.ZodString;
|
|
527
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
528
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
529
|
+
failureReason: z.ZodNullable<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>;
|
|
397
531
|
|
|
398
532
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
399
533
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
400
|
-
type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
|
|
401
534
|
type CreatePurchaseResponse = z.infer<typeof CreatePurchaseResponseSchema>;
|
|
402
535
|
type PurchaseStatusResponse = z.infer<typeof PurchaseStatusResponseSchema>;
|
|
403
536
|
type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
@@ -411,5 +544,13 @@ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
|
411
544
|
type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
412
545
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
413
546
|
type RequestWithdrawalBody = z.infer<typeof RequestWithdrawalBodySchema>;
|
|
547
|
+
type PandascrowEnvelope = z.infer<typeof PandascrowEnvelopeSchema>;
|
|
548
|
+
type OuterEnvelope = z.infer<typeof OuterEnvelopeSchema>;
|
|
549
|
+
type OnetimeEscrowData = z.infer<typeof OnetimeEscrowDataSchema>;
|
|
550
|
+
type WalletFundData = z.infer<typeof WalletFundDataSchema>;
|
|
551
|
+
type MarkCompleteData = z.infer<typeof MarkCompleteDataSchema>;
|
|
552
|
+
type RefundFlagData = z.infer<typeof RefundFlagDataSchema>;
|
|
553
|
+
type EscrowStatusData = z.infer<typeof EscrowStatusDataSchema>;
|
|
554
|
+
type PayoutView = z.infer<typeof PayoutViewSchema>;
|
|
414
555
|
|
|
415
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema,
|
|
556
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type EscrowStatusData, EscrowStatusDataSchema, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, type MarkCompleteData, MarkCompleteDataSchema, MinorAmountSchema, type OnetimeEscrowData, OnetimeEscrowDataSchema, type OuterEnvelope, OuterEnvelopeSchema, type PandascrowEnvelope, PandascrowEnvelopeSchema, PaymentStatus, PayoutState, PayoutStatus, type PayoutView, PayoutViewSchema, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type RefundFlagData, RefundFlagDataSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema, type WalletFundData, WalletFundDataSchema };
|
package/dist/payment/index.d.ts
CHANGED
|
@@ -77,6 +77,15 @@ declare const CtaMode: {
|
|
|
77
77
|
readonly REPLAY_PROCESSING: "REPLAY_PROCESSING";
|
|
78
78
|
};
|
|
79
79
|
type CtaMode = (typeof CtaMode)[keyof typeof CtaMode];
|
|
80
|
+
declare const PayoutState: {
|
|
81
|
+
readonly REQUESTED: "REQUESTED";
|
|
82
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
83
|
+
readonly SENT: "SENT";
|
|
84
|
+
readonly SETTLED: "SETTLED";
|
|
85
|
+
readonly FAILED: "FAILED";
|
|
86
|
+
readonly REVERSED: "REVERSED";
|
|
87
|
+
};
|
|
88
|
+
type PayoutState = (typeof PayoutState)[keyof typeof PayoutState];
|
|
80
89
|
|
|
81
90
|
declare const InitiatePaymentRequestSchema: z.ZodObject<{
|
|
82
91
|
eventId: z.ZodUUID;
|
|
@@ -87,31 +96,6 @@ declare const InitiatePaymentResponseSchema: z.ZodObject<{
|
|
|
87
96
|
reference: z.ZodString;
|
|
88
97
|
accessCode: z.ZodOptional<z.ZodString>;
|
|
89
98
|
}, z.core.$strip>;
|
|
90
|
-
declare const PayoutResponseSchema: z.ZodObject<{
|
|
91
|
-
id: z.ZodUUID;
|
|
92
|
-
userId: z.ZodUUID;
|
|
93
|
-
amount: z.ZodNumber;
|
|
94
|
-
currency: z.ZodString;
|
|
95
|
-
payoutType: z.ZodString;
|
|
96
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
97
|
-
bookingId: z.ZodOptional<z.ZodUUID>;
|
|
98
|
-
payoutStatus: z.ZodEnum<{
|
|
99
|
-
readonly PENDING: "PENDING";
|
|
100
|
-
readonly PROCESSING: "PROCESSING";
|
|
101
|
-
readonly COMPLETED: "COMPLETED";
|
|
102
|
-
readonly FAILED: "FAILED";
|
|
103
|
-
}>;
|
|
104
|
-
providerReference: z.ZodOptional<z.ZodString>;
|
|
105
|
-
bankCode: z.ZodOptional<z.ZodString>;
|
|
106
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
107
|
-
accountName: z.ZodOptional<z.ZodString>;
|
|
108
|
-
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
109
|
-
processedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
110
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
111
|
-
failedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
112
|
-
failureReason: z.ZodOptional<z.ZodString>;
|
|
113
|
-
createdAt: z.ZodISODateTime;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
99
|
declare const CreatePurchaseResponseSchema: z.ZodObject<{
|
|
116
100
|
reference: z.ZodString;
|
|
117
101
|
checkoutUrl: z.ZodNullable<z.ZodURL>;
|
|
@@ -136,8 +120,15 @@ declare const PurchaseStatusResponseSchema: z.ZodObject<{
|
|
|
136
120
|
readonly REFUNDED: "REFUNDED";
|
|
137
121
|
}>;
|
|
138
122
|
eventId: z.ZodUUID;
|
|
139
|
-
amount: z.
|
|
140
|
-
|
|
123
|
+
amount: z.ZodObject<{
|
|
124
|
+
amountMinor: z.ZodString;
|
|
125
|
+
currency: z.ZodEnum<{
|
|
126
|
+
readonly NGN: "NGN";
|
|
127
|
+
readonly USD: "USD";
|
|
128
|
+
readonly GBP: "GBP";
|
|
129
|
+
readonly EUR: "EUR";
|
|
130
|
+
}>;
|
|
131
|
+
}, z.core.$strip>;
|
|
141
132
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
142
133
|
}, z.core.$strip>;
|
|
143
134
|
declare const AccessCheckRequestSchema: z.ZodObject<{
|
|
@@ -224,10 +215,33 @@ declare const AccessCheckResponseSchema: z.ZodObject<{
|
|
|
224
215
|
}, z.core.$strip>;
|
|
225
216
|
declare const PricingQuoteResponseSchema: z.ZodObject<{
|
|
226
217
|
reference: z.ZodNull;
|
|
227
|
-
subtotal: z.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
218
|
+
subtotal: z.ZodObject<{
|
|
219
|
+
amountMinor: z.ZodString;
|
|
220
|
+
currency: z.ZodEnum<{
|
|
221
|
+
readonly NGN: "NGN";
|
|
222
|
+
readonly USD: "USD";
|
|
223
|
+
readonly GBP: "GBP";
|
|
224
|
+
readonly EUR: "EUR";
|
|
225
|
+
}>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
platformFee: z.ZodObject<{
|
|
228
|
+
amountMinor: z.ZodString;
|
|
229
|
+
currency: z.ZodEnum<{
|
|
230
|
+
readonly NGN: "NGN";
|
|
231
|
+
readonly USD: "USD";
|
|
232
|
+
readonly GBP: "GBP";
|
|
233
|
+
readonly EUR: "EUR";
|
|
234
|
+
}>;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
total: z.ZodObject<{
|
|
237
|
+
amountMinor: z.ZodString;
|
|
238
|
+
currency: z.ZodEnum<{
|
|
239
|
+
readonly NGN: "NGN";
|
|
240
|
+
readonly USD: "USD";
|
|
241
|
+
readonly GBP: "GBP";
|
|
242
|
+
readonly EUR: "EUR";
|
|
243
|
+
}>;
|
|
244
|
+
}, z.core.$strip>;
|
|
231
245
|
strategyId: z.ZodString;
|
|
232
246
|
expiresInSec: z.ZodNumber;
|
|
233
247
|
}, z.core.$strip>;
|
|
@@ -265,14 +279,29 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
265
279
|
state: z.ZodString;
|
|
266
280
|
accessModel: z.ZodString;
|
|
267
281
|
visibility: z.ZodString;
|
|
268
|
-
ticketPrice: z.ZodNullable<z.
|
|
282
|
+
ticketPrice: z.ZodNullable<z.ZodObject<{
|
|
283
|
+
amountMinor: z.ZodString;
|
|
284
|
+
currency: z.ZodEnum<{
|
|
285
|
+
readonly NGN: "NGN";
|
|
286
|
+
readonly USD: "USD";
|
|
287
|
+
readonly GBP: "GBP";
|
|
288
|
+
readonly EUR: "EUR";
|
|
289
|
+
}>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
269
291
|
replayAccess: z.ZodEnum<{
|
|
270
292
|
readonly INCLUDED: "INCLUDED";
|
|
271
293
|
readonly DISABLED: "DISABLED";
|
|
272
294
|
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
273
295
|
}>;
|
|
274
|
-
replayAccessFee: z.ZodNullable<z.
|
|
275
|
-
|
|
296
|
+
replayAccessFee: z.ZodNullable<z.ZodObject<{
|
|
297
|
+
amountMinor: z.ZodString;
|
|
298
|
+
currency: z.ZodEnum<{
|
|
299
|
+
readonly NGN: "NGN";
|
|
300
|
+
readonly USD: "USD";
|
|
301
|
+
readonly GBP: "GBP";
|
|
302
|
+
readonly EUR: "EUR";
|
|
303
|
+
}>;
|
|
304
|
+
}, z.core.$strip>>;
|
|
276
305
|
isFeatured: z.ZodBoolean;
|
|
277
306
|
hostDisplayName: z.ZodNullable<z.ZodString>;
|
|
278
307
|
hostBio: z.ZodNullable<z.ZodString>;
|
|
@@ -325,8 +354,15 @@ declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
|
325
354
|
}, z.core.$strip>;
|
|
326
355
|
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
327
356
|
reference: z.ZodString;
|
|
328
|
-
amount: z.
|
|
329
|
-
|
|
357
|
+
amount: z.ZodObject<{
|
|
358
|
+
amountMinor: z.ZodString;
|
|
359
|
+
currency: z.ZodEnum<{
|
|
360
|
+
readonly NGN: "NGN";
|
|
361
|
+
readonly USD: "USD";
|
|
362
|
+
readonly GBP: "GBP";
|
|
363
|
+
readonly EUR: "EUR";
|
|
364
|
+
}>;
|
|
365
|
+
}, z.core.$strip>;
|
|
330
366
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
331
367
|
}, z.core.$strip>;
|
|
332
368
|
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
@@ -344,8 +380,15 @@ declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
|
344
380
|
readonly EXPIRED: "EXPIRED";
|
|
345
381
|
readonly REFUNDED: "REFUNDED";
|
|
346
382
|
}>;
|
|
347
|
-
amount: z.
|
|
348
|
-
|
|
383
|
+
amount: z.ZodObject<{
|
|
384
|
+
amountMinor: z.ZodString;
|
|
385
|
+
currency: z.ZodEnum<{
|
|
386
|
+
readonly NGN: "NGN";
|
|
387
|
+
readonly USD: "USD";
|
|
388
|
+
readonly GBP: "GBP";
|
|
389
|
+
readonly EUR: "EUR";
|
|
390
|
+
}>;
|
|
391
|
+
}, z.core.$strip>;
|
|
349
392
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
350
393
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
351
394
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -366,16 +409,30 @@ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
|
366
409
|
readonly EXPIRED: "EXPIRED";
|
|
367
410
|
readonly REFUNDED: "REFUNDED";
|
|
368
411
|
}>;
|
|
369
|
-
amount: z.
|
|
370
|
-
|
|
412
|
+
amount: z.ZodObject<{
|
|
413
|
+
amountMinor: z.ZodString;
|
|
414
|
+
currency: z.ZodEnum<{
|
|
415
|
+
readonly NGN: "NGN";
|
|
416
|
+
readonly USD: "USD";
|
|
417
|
+
readonly GBP: "GBP";
|
|
418
|
+
readonly EUR: "EUR";
|
|
419
|
+
}>;
|
|
420
|
+
}, z.core.$strip>;
|
|
371
421
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
372
422
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
373
423
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
374
424
|
}, z.core.$strip>;
|
|
375
425
|
payment: z.ZodNullable<z.ZodObject<{
|
|
376
426
|
reference: z.ZodString;
|
|
377
|
-
amount: z.
|
|
378
|
-
|
|
427
|
+
amount: z.ZodObject<{
|
|
428
|
+
amountMinor: z.ZodString;
|
|
429
|
+
currency: z.ZodEnum<{
|
|
430
|
+
readonly NGN: "NGN";
|
|
431
|
+
readonly USD: "USD";
|
|
432
|
+
readonly GBP: "GBP";
|
|
433
|
+
readonly EUR: "EUR";
|
|
434
|
+
}>;
|
|
435
|
+
}, z.core.$strip>;
|
|
379
436
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
380
437
|
}, z.core.$strip>>;
|
|
381
438
|
}, z.core.$strip>;
|
|
@@ -394,10 +451,86 @@ declare const SettlementAccountViewSchema: z.ZodObject<{
|
|
|
394
451
|
declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
395
452
|
pin: z.ZodString;
|
|
396
453
|
}, z.core.$strip>;
|
|
454
|
+
declare const PandascrowEnvelopeSchema: <T extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>(data: T) => z.ZodObject<{
|
|
455
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
456
|
+
message: z.ZodOptional<z.ZodString>;
|
|
457
|
+
data: T;
|
|
458
|
+
}, z.core.$strip>;
|
|
459
|
+
/** Loose envelope used for the pre-flight status check (§request). */
|
|
460
|
+
declare const OuterEnvelopeSchema: z.ZodObject<{
|
|
461
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
462
|
+
message: z.ZodOptional<z.ZodString>;
|
|
463
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
declare const MinorAmountSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>;
|
|
466
|
+
declare const OnetimeEscrowDataSchema: z.ZodObject<{
|
|
467
|
+
id: z.ZodString;
|
|
468
|
+
status: z.ZodString;
|
|
469
|
+
amount: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>>;
|
|
470
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
471
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
account_number: z.ZodOptional<z.ZodString>;
|
|
473
|
+
account_name: z.ZodOptional<z.ZodString>;
|
|
474
|
+
bank_name: z.ZodOptional<z.ZodString>;
|
|
475
|
+
expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
476
|
+
}, z.core.$strip>>;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
declare const WalletFundDataSchema: z.ZodObject<{
|
|
479
|
+
id: z.ZodOptional<z.ZodString>;
|
|
480
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
481
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
482
|
+
status: z.ZodString;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
declare const MarkCompleteDataSchema: z.ZodObject<{
|
|
485
|
+
id: z.ZodOptional<z.ZodString>;
|
|
486
|
+
transfer_id: z.ZodOptional<z.ZodString>;
|
|
487
|
+
status: z.ZodString;
|
|
488
|
+
requires_otp: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
declare const RefundFlagDataSchema: z.ZodObject<{
|
|
491
|
+
id: z.ZodOptional<z.ZodString>;
|
|
492
|
+
refund_id: z.ZodOptional<z.ZodString>;
|
|
493
|
+
flag_id: z.ZodOptional<z.ZodString>;
|
|
494
|
+
status: z.ZodString;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
declare const EscrowStatusDataSchema: z.ZodObject<{
|
|
497
|
+
id: z.ZodString;
|
|
498
|
+
status: z.ZodString;
|
|
499
|
+
amount: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<bigint, string | number>>>;
|
|
500
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
501
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
declare const PayoutViewSchema: z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
reference: z.ZodString;
|
|
506
|
+
state: z.ZodEnum<{
|
|
507
|
+
readonly REQUESTED: "REQUESTED";
|
|
508
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
509
|
+
readonly SENT: "SENT";
|
|
510
|
+
readonly SETTLED: "SETTLED";
|
|
511
|
+
readonly FAILED: "FAILED";
|
|
512
|
+
readonly REVERSED: "REVERSED";
|
|
513
|
+
}>;
|
|
514
|
+
amount: z.ZodObject<{
|
|
515
|
+
amountMinor: z.ZodString;
|
|
516
|
+
currency: z.ZodEnum<{
|
|
517
|
+
readonly NGN: "NGN";
|
|
518
|
+
readonly USD: "USD";
|
|
519
|
+
readonly GBP: "GBP";
|
|
520
|
+
readonly EUR: "EUR";
|
|
521
|
+
}>;
|
|
522
|
+
}, z.core.$strip>;
|
|
523
|
+
bankName: z.ZodNullable<z.ZodString>;
|
|
524
|
+
accountNumberMasked: z.ZodString;
|
|
525
|
+
accountName: z.ZodString;
|
|
526
|
+
requestedAt: z.ZodString;
|
|
527
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
528
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
529
|
+
failureReason: z.ZodNullable<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>;
|
|
397
531
|
|
|
398
532
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
399
533
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
400
|
-
type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
|
|
401
534
|
type CreatePurchaseResponse = z.infer<typeof CreatePurchaseResponseSchema>;
|
|
402
535
|
type PurchaseStatusResponse = z.infer<typeof PurchaseStatusResponseSchema>;
|
|
403
536
|
type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
@@ -411,5 +544,13 @@ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
|
411
544
|
type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
412
545
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
413
546
|
type RequestWithdrawalBody = z.infer<typeof RequestWithdrawalBodySchema>;
|
|
547
|
+
type PandascrowEnvelope = z.infer<typeof PandascrowEnvelopeSchema>;
|
|
548
|
+
type OuterEnvelope = z.infer<typeof OuterEnvelopeSchema>;
|
|
549
|
+
type OnetimeEscrowData = z.infer<typeof OnetimeEscrowDataSchema>;
|
|
550
|
+
type WalletFundData = z.infer<typeof WalletFundDataSchema>;
|
|
551
|
+
type MarkCompleteData = z.infer<typeof MarkCompleteDataSchema>;
|
|
552
|
+
type RefundFlagData = z.infer<typeof RefundFlagDataSchema>;
|
|
553
|
+
type EscrowStatusData = z.infer<typeof EscrowStatusDataSchema>;
|
|
554
|
+
type PayoutView = z.infer<typeof PayoutViewSchema>;
|
|
414
555
|
|
|
415
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema,
|
|
556
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type EscrowStatusData, EscrowStatusDataSchema, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, type MarkCompleteData, MarkCompleteDataSchema, MinorAmountSchema, type OnetimeEscrowData, OnetimeEscrowDataSchema, type OuterEnvelope, OuterEnvelopeSchema, type PandascrowEnvelope, PandascrowEnvelopeSchema, PaymentStatus, PayoutState, PayoutStatus, type PayoutView, PayoutViewSchema, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type RefundFlagData, RefundFlagDataSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema, type WalletFundData, WalletFundDataSchema };
|
package/dist/payment/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLQCTZLT3_js=require('../chunk-LQCTZLT3.js');require('../chunk-RBRSIRFT.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.B}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.D}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkLQCTZLT3_js.s}});Object.defineProperty(exports,"AwaitingIngestSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.H}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.z}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkLQCTZLT3_js.v}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.t}});Object.defineProperty(exports,"EscrowStatusDataSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.X}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.x}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.y}});Object.defineProperty(exports,"MarkCompleteDataSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.V}});Object.defineProperty(exports,"MinorAmountSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.S}});Object.defineProperty(exports,"OnetimeEscrowDataSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.T}});Object.defineProperty(exports,"OuterEnvelopeSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.R}});Object.defineProperty(exports,"PandascrowEnvelopeSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.Q}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.q}});Object.defineProperty(exports,"PayoutState",{enumerable:true,get:function(){return chunkLQCTZLT3_js.w}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.p}});Object.defineProperty(exports,"PayoutViewSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.Y}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.C}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.u}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.E}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.A}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.J}});Object.defineProperty(exports,"RefundFlagDataSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.W}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.K}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.M}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.L}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.r}});Object.defineProperty(exports,"RequestWithdrawalBodySchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.P}});Object.defineProperty(exports,"SettlementAccountViewSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.O}});Object.defineProperty(exports,"SlateSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.G}});Object.defineProperty(exports,"TrailerSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.F}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkLQCTZLT3_js.o}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkLQCTZLT3_js.n}});Object.defineProperty(exports,"UpdateSettlementBodySchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.N}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.I}});Object.defineProperty(exports,"WalletFundDataSchema",{enumerable:true,get:function(){return chunkLQCTZLT3_js.U}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/payment/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{B as AccessCheckRequestSchema,D as AccessCheckResponseSchema,s as AccessReason,H as AwaitingIngestSchema,z as CreatePurchaseResponseSchema,v as CtaMode,t as EntitlementStatus,
|
|
1
|
+
export{B as AccessCheckRequestSchema,D as AccessCheckResponseSchema,s as AccessReason,H as AwaitingIngestSchema,z as CreatePurchaseResponseSchema,v as CtaMode,t as EntitlementStatus,X as EscrowStatusDataSchema,x as InitiatePaymentRequestSchema,y as InitiatePaymentResponseSchema,V as MarkCompleteDataSchema,S as MinorAmountSchema,T as OnetimeEscrowDataSchema,R as OuterEnvelopeSchema,Q as PandascrowEnvelopeSchema,q as PaymentStatus,w as PayoutState,p as PayoutStatus,Y as PayoutViewSchema,C as PaystackWebhookSchema,u as PlatformChargeStatus,E as PricingQuoteResponseSchema,A as PurchaseStatusResponseSchema,J as ReceiptUrlResponseSchema,W as RefundFlagDataSchema,K as ReplayPurchasePaymentSchema,M as ReplayPurchaseResponseSchema,L as ReplayPurchaseRowSchema,r as ReplayPurchaseStatus,P as RequestWithdrawalBodySchema,O as SettlementAccountViewSchema,G as SlateSchema,F as TrailerSchema,o as TransactionStatus,n as TransactionType,N as UpdateSettlementBodySchema,I as ViewerEventDetailResponseSchema,U as WalletFundDataSchema}from'../chunk-4462TNXX.mjs';import'../chunk-772VKGEW.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|