@livdot-tech/contracts 1.10.10 → 1.10.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.
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +253 -2
- package/dist/booking/index.d.ts +253 -2
- 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-VMOQFNTN.mjs → chunk-36MLCEVI.mjs} +2 -2
- package/dist/{chunk-VMOQFNTN.mjs.map → chunk-36MLCEVI.mjs.map} +1 -1
- package/dist/{chunk-JGSCE4ZN.mjs → chunk-3XUFZE2S.mjs} +2 -2
- package/dist/{chunk-JGSCE4ZN.mjs.map → chunk-3XUFZE2S.mjs.map} +1 -1
- package/dist/chunk-4JLK7EKU.mjs +2 -0
- package/dist/chunk-4JLK7EKU.mjs.map +1 -0
- package/dist/chunk-4JM6YJKW.js +2 -0
- package/dist/chunk-4JM6YJKW.js.map +1 -0
- package/dist/{chunk-CCZSH6ME.js → chunk-4LZCG3FJ.js} +2 -2
- package/dist/{chunk-CCZSH6ME.js.map → chunk-4LZCG3FJ.js.map} +1 -1
- package/dist/{chunk-I6HPDLZN.js → chunk-BR2WYOOF.js} +2 -2
- package/dist/{chunk-I6HPDLZN.js.map → chunk-BR2WYOOF.js.map} +1 -1
- package/dist/chunk-BU6NNTUV.js +2 -0
- package/dist/chunk-BU6NNTUV.js.map +1 -0
- package/dist/{chunk-ZIL43F6X.mjs → chunk-CCE57ZZZ.mjs} +2 -2
- package/dist/{chunk-ZIL43F6X.mjs.map → chunk-CCE57ZZZ.mjs.map} +1 -1
- package/dist/{chunk-TO3WFEGT.js → chunk-CS53SHRW.js} +2 -2
- package/dist/chunk-CS53SHRW.js.map +1 -0
- package/dist/{chunk-Q6R2XA6P.mjs → chunk-DSM2BIYD.mjs} +2 -2
- package/dist/{chunk-Q6R2XA6P.mjs.map → chunk-DSM2BIYD.mjs.map} +1 -1
- package/dist/{chunk-POWB7OM6.mjs → chunk-ETCUSAFU.mjs} +2 -2
- package/dist/chunk-ETCUSAFU.mjs.map +1 -0
- package/dist/{chunk-CKQCXUKQ.mjs → chunk-GJJ2E2JR.mjs} +2 -2
- package/dist/{chunk-CKQCXUKQ.mjs.map → chunk-GJJ2E2JR.mjs.map} +1 -1
- package/dist/{chunk-RHTD5JVD.js → chunk-HZ5WPO5L.js} +2 -2
- package/dist/{chunk-RHTD5JVD.js.map → chunk-HZ5WPO5L.js.map} +1 -1
- package/dist/chunk-IRRMMUUV.mjs +2 -0
- package/dist/chunk-IRRMMUUV.mjs.map +1 -0
- package/dist/{chunk-YTLWHVXO.js → chunk-KAXB3NEO.js} +2 -2
- package/dist/{chunk-YTLWHVXO.js.map → chunk-KAXB3NEO.js.map} +1 -1
- package/dist/{chunk-RJM6V6QI.mjs → chunk-KR2QPCKW.mjs} +2 -2
- package/dist/{chunk-RJM6V6QI.mjs.map → chunk-KR2QPCKW.mjs.map} +1 -1
- package/dist/{chunk-6DKE37U5.mjs → chunk-O563NPZQ.mjs} +2 -2
- package/dist/chunk-O563NPZQ.mjs.map +1 -0
- package/dist/chunk-ONBNADF6.mjs +2 -0
- package/dist/chunk-ONBNADF6.mjs.map +1 -0
- package/dist/{chunk-IUX4KIIB.js → chunk-PCKIOBMN.js} +2 -2
- package/dist/{chunk-IUX4KIIB.js.map → chunk-PCKIOBMN.js.map} +1 -1
- package/dist/{chunk-XUOEYI5V.js → chunk-PPIOVBWL.js} +2 -2
- package/dist/{chunk-XUOEYI5V.js.map → chunk-PPIOVBWL.js.map} +1 -1
- package/dist/{chunk-OQ5IXPUN.js → chunk-STSCLCJ3.js} +2 -2
- package/dist/chunk-STSCLCJ3.js.map +1 -0
- package/dist/{chunk-A3IKOGAK.js → chunk-VYYEP5QO.js} +2 -2
- package/dist/{chunk-A3IKOGAK.js.map → chunk-VYYEP5QO.js.map} +1 -1
- package/dist/{chunk-LO5G3F5R.js → chunk-W5RCJK36.js} +2 -2
- package/dist/chunk-W5RCJK36.js.map +1 -0
- package/dist/chunk-XTFD6GXM.mjs +2 -0
- package/dist/{chunk-JAXYGUGV.mjs.map → chunk-XTFD6GXM.mjs.map} +1 -1
- package/dist/common/index.d.mts +14 -2
- package/dist/common/index.d.ts +14 -2
- 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/errors/index.d.mts +1 -0
- package/dist/errors/index.d.ts +1 -0
- package/dist/errors/index.js +1 -1
- package/dist/errors/index.mjs +1 -1
- package/dist/event/index.d.mts +346 -82
- package/dist/event/index.d.ts +346 -82
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- 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 -18
- package/dist/payment/index.d.ts +185 -18
- 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-6DKE37U5.mjs.map +0 -1
- package/dist/chunk-6H4NYHH4.js +0 -2
- package/dist/chunk-6H4NYHH4.js.map +0 -1
- package/dist/chunk-7H6A4YYD.mjs +0 -2
- package/dist/chunk-7H6A4YYD.mjs.map +0 -1
- package/dist/chunk-JAXYGUGV.mjs +0 -2
- package/dist/chunk-LJKS4LZM.mjs +0 -2
- package/dist/chunk-LJKS4LZM.mjs.map +0 -1
- package/dist/chunk-LO5G3F5R.js.map +0 -1
- package/dist/chunk-OQ5IXPUN.js.map +0 -1
- package/dist/chunk-POWB7OM6.mjs.map +0 -1
- package/dist/chunk-SRR4VCQI.js +0 -2
- package/dist/chunk-SRR4VCQI.js.map +0 -1
- package/dist/chunk-TO3WFEGT.js.map +0 -1
- package/dist/chunk-YJA2B2Q3.mjs +0 -2
- package/dist/chunk-YJA2B2Q3.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,y as GetProducerProfileQuerySchema,l as ListProducersQuerySchema,i as MarketplaceCurrency,v as ProducerProfileWorkspaceSchema,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'../chunk-
|
|
1
|
+
export{z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,y as GetProducerProfileQuerySchema,l as ListProducersQuerySchema,i as MarketplaceCurrency,v as ProducerProfileWorkspaceSchema,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'../chunk-3XUFZE2S.mjs';import'../chunk-O563NPZQ.mjs';import'../chunk-4JLK7EKU.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkBR2WYOOF_js=require('../chunk-BR2WYOOF.js');require('../chunk-PPIOVBWL.js'),require('../chunk-VYYEP5QO.js'),require('../chunk-CS53SHRW.js'),require('../chunk-4JM6YJKW.js'),require('../chunk-BU6NNTUV.js');Object.defineProperty(exports,"HostNotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.l}});Object.defineProperty(exports,"HostNotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.n}});Object.defineProperty(exports,"ListNotificationsQuerySchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.g}});Object.defineProperty(exports,"ListNotificationsResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.h}});Object.defineProperty(exports,"MarkAllNotificationsReadResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.k}});Object.defineProperty(exports,"MarkNotificationReadResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.j}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkBR2WYOOF_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkBR2WYOOF_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkBR2WYOOF_js.c}});Object.defineProperty(exports,"NotificationsUnreadCountResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.i}});Object.defineProperty(exports,"ProducerNotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.m}});Object.defineProperty(exports,"ProducerNotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.o}});Object.defineProperty(exports,"RegisterPushDeviceRequestSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.e}});Object.defineProperty(exports,"RegisterPushDeviceResponseSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.f}});Object.defineProperty(exports,"UpdateHostNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.p}});Object.defineProperty(exports,"UpdateProducerNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkBR2WYOOF_js.q}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{l as HostNotificationPreferenceItemSchema,n as HostNotificationPreferencesResponseSchema,g as ListNotificationsQuerySchema,h as ListNotificationsResponseSchema,k as MarkAllNotificationsReadResponseSchema,j as MarkNotificationReadResponseSchema,b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType,i as NotificationsUnreadCountResponseSchema,m as ProducerNotificationPreferenceItemSchema,o as ProducerNotificationPreferencesResponseSchema,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema,p as UpdateHostNotificationPreferencesRequestSchema,q as UpdateProducerNotificationPreferencesRequestSchema}from'../chunk-
|
|
1
|
+
export{l as HostNotificationPreferenceItemSchema,n as HostNotificationPreferencesResponseSchema,g as ListNotificationsQuerySchema,h as ListNotificationsResponseSchema,k as MarkAllNotificationsReadResponseSchema,j as MarkNotificationReadResponseSchema,b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType,i as NotificationsUnreadCountResponseSchema,m as ProducerNotificationPreferenceItemSchema,o as ProducerNotificationPreferencesResponseSchema,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema,p as UpdateHostNotificationPreferencesRequestSchema,q as UpdateProducerNotificationPreferencesRequestSchema}from'../chunk-GJJ2E2JR.mjs';import'../chunk-CCE57ZZZ.mjs';import'../chunk-3XUFZE2S.mjs';import'../chunk-O563NPZQ.mjs';import'../chunk-IRRMMUUV.mjs';import'../chunk-4JLK7EKU.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
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;
|
|
@@ -111,8 +120,15 @@ declare const PurchaseStatusResponseSchema: z.ZodObject<{
|
|
|
111
120
|
readonly REFUNDED: "REFUNDED";
|
|
112
121
|
}>;
|
|
113
122
|
eventId: z.ZodUUID;
|
|
114
|
-
amount: z.
|
|
115
|
-
|
|
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>;
|
|
116
132
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
117
133
|
}, z.core.$strip>;
|
|
118
134
|
declare const AccessCheckRequestSchema: z.ZodObject<{
|
|
@@ -199,10 +215,33 @@ declare const AccessCheckResponseSchema: z.ZodObject<{
|
|
|
199
215
|
}, z.core.$strip>;
|
|
200
216
|
declare const PricingQuoteResponseSchema: z.ZodObject<{
|
|
201
217
|
reference: z.ZodNull;
|
|
202
|
-
subtotal: z.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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>;
|
|
206
245
|
strategyId: z.ZodString;
|
|
207
246
|
expiresInSec: z.ZodNumber;
|
|
208
247
|
}, z.core.$strip>;
|
|
@@ -240,14 +279,29 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
240
279
|
state: z.ZodString;
|
|
241
280
|
accessModel: z.ZodString;
|
|
242
281
|
visibility: z.ZodString;
|
|
243
|
-
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>>;
|
|
244
291
|
replayAccess: z.ZodEnum<{
|
|
245
292
|
readonly INCLUDED: "INCLUDED";
|
|
246
293
|
readonly DISABLED: "DISABLED";
|
|
247
294
|
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
248
295
|
}>;
|
|
249
|
-
replayAccessFee: z.ZodNullable<z.
|
|
250
|
-
|
|
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>>;
|
|
251
305
|
isFeatured: z.ZodBoolean;
|
|
252
306
|
hostDisplayName: z.ZodNullable<z.ZodString>;
|
|
253
307
|
hostBio: z.ZodNullable<z.ZodString>;
|
|
@@ -300,8 +354,15 @@ declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
|
300
354
|
}, z.core.$strip>;
|
|
301
355
|
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
302
356
|
reference: z.ZodString;
|
|
303
|
-
amount: z.
|
|
304
|
-
|
|
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>;
|
|
305
366
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
306
367
|
}, z.core.$strip>;
|
|
307
368
|
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
@@ -319,8 +380,15 @@ declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
|
319
380
|
readonly EXPIRED: "EXPIRED";
|
|
320
381
|
readonly REFUNDED: "REFUNDED";
|
|
321
382
|
}>;
|
|
322
|
-
amount: z.
|
|
323
|
-
|
|
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>;
|
|
324
392
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
325
393
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
326
394
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -341,16 +409,30 @@ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
|
341
409
|
readonly EXPIRED: "EXPIRED";
|
|
342
410
|
readonly REFUNDED: "REFUNDED";
|
|
343
411
|
}>;
|
|
344
|
-
amount: z.
|
|
345
|
-
|
|
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>;
|
|
346
421
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
347
422
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
348
423
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
349
424
|
}, z.core.$strip>;
|
|
350
425
|
payment: z.ZodNullable<z.ZodObject<{
|
|
351
426
|
reference: z.ZodString;
|
|
352
|
-
amount: z.
|
|
353
|
-
|
|
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>;
|
|
354
436
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
355
437
|
}, z.core.$strip>>;
|
|
356
438
|
}, z.core.$strip>;
|
|
@@ -369,6 +451,83 @@ declare const SettlementAccountViewSchema: z.ZodObject<{
|
|
|
369
451
|
declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
370
452
|
pin: z.ZodString;
|
|
371
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>;
|
|
372
531
|
|
|
373
532
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
374
533
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
@@ -385,5 +544,13 @@ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
|
385
544
|
type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
386
545
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
387
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>;
|
|
388
555
|
|
|
389
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema };
|
|
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;
|
|
@@ -111,8 +120,15 @@ declare const PurchaseStatusResponseSchema: z.ZodObject<{
|
|
|
111
120
|
readonly REFUNDED: "REFUNDED";
|
|
112
121
|
}>;
|
|
113
122
|
eventId: z.ZodUUID;
|
|
114
|
-
amount: z.
|
|
115
|
-
|
|
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>;
|
|
116
132
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
117
133
|
}, z.core.$strip>;
|
|
118
134
|
declare const AccessCheckRequestSchema: z.ZodObject<{
|
|
@@ -199,10 +215,33 @@ declare const AccessCheckResponseSchema: z.ZodObject<{
|
|
|
199
215
|
}, z.core.$strip>;
|
|
200
216
|
declare const PricingQuoteResponseSchema: z.ZodObject<{
|
|
201
217
|
reference: z.ZodNull;
|
|
202
|
-
subtotal: z.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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>;
|
|
206
245
|
strategyId: z.ZodString;
|
|
207
246
|
expiresInSec: z.ZodNumber;
|
|
208
247
|
}, z.core.$strip>;
|
|
@@ -240,14 +279,29 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
240
279
|
state: z.ZodString;
|
|
241
280
|
accessModel: z.ZodString;
|
|
242
281
|
visibility: z.ZodString;
|
|
243
|
-
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>>;
|
|
244
291
|
replayAccess: z.ZodEnum<{
|
|
245
292
|
readonly INCLUDED: "INCLUDED";
|
|
246
293
|
readonly DISABLED: "DISABLED";
|
|
247
294
|
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
248
295
|
}>;
|
|
249
|
-
replayAccessFee: z.ZodNullable<z.
|
|
250
|
-
|
|
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>>;
|
|
251
305
|
isFeatured: z.ZodBoolean;
|
|
252
306
|
hostDisplayName: z.ZodNullable<z.ZodString>;
|
|
253
307
|
hostBio: z.ZodNullable<z.ZodString>;
|
|
@@ -300,8 +354,15 @@ declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
|
300
354
|
}, z.core.$strip>;
|
|
301
355
|
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
302
356
|
reference: z.ZodString;
|
|
303
|
-
amount: z.
|
|
304
|
-
|
|
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>;
|
|
305
366
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
306
367
|
}, z.core.$strip>;
|
|
307
368
|
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
@@ -319,8 +380,15 @@ declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
|
319
380
|
readonly EXPIRED: "EXPIRED";
|
|
320
381
|
readonly REFUNDED: "REFUNDED";
|
|
321
382
|
}>;
|
|
322
|
-
amount: z.
|
|
323
|
-
|
|
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>;
|
|
324
392
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
325
393
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
326
394
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -341,16 +409,30 @@ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
|
341
409
|
readonly EXPIRED: "EXPIRED";
|
|
342
410
|
readonly REFUNDED: "REFUNDED";
|
|
343
411
|
}>;
|
|
344
|
-
amount: z.
|
|
345
|
-
|
|
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>;
|
|
346
421
|
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
347
422
|
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
348
423
|
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
349
424
|
}, z.core.$strip>;
|
|
350
425
|
payment: z.ZodNullable<z.ZodObject<{
|
|
351
426
|
reference: z.ZodString;
|
|
352
|
-
amount: z.
|
|
353
|
-
|
|
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>;
|
|
354
436
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
355
437
|
}, z.core.$strip>>;
|
|
356
438
|
}, z.core.$strip>;
|
|
@@ -369,6 +451,83 @@ declare const SettlementAccountViewSchema: z.ZodObject<{
|
|
|
369
451
|
declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
370
452
|
pin: z.ZodString;
|
|
371
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>;
|
|
372
531
|
|
|
373
532
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
374
533
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
@@ -385,5 +544,13 @@ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
|
385
544
|
type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
386
545
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
387
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>;
|
|
388
555
|
|
|
389
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema };
|
|
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 chunk4JM6YJKW_js=require('../chunk-4JM6YJKW.js');require('../chunk-BU6NNTUV.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.B}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.D}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunk4JM6YJKW_js.s}});Object.defineProperty(exports,"AwaitingIngestSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.H}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.z}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunk4JM6YJKW_js.v}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.t}});Object.defineProperty(exports,"EscrowStatusDataSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.X}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.x}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.y}});Object.defineProperty(exports,"MarkCompleteDataSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.V}});Object.defineProperty(exports,"MinorAmountSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.S}});Object.defineProperty(exports,"OnetimeEscrowDataSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.T}});Object.defineProperty(exports,"OuterEnvelopeSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.R}});Object.defineProperty(exports,"PandascrowEnvelopeSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.Q}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.q}});Object.defineProperty(exports,"PayoutState",{enumerable:true,get:function(){return chunk4JM6YJKW_js.w}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.p}});Object.defineProperty(exports,"PayoutViewSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.Y}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.C}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.u}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.E}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.A}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.J}});Object.defineProperty(exports,"RefundFlagDataSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.W}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.K}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.M}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.L}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.r}});Object.defineProperty(exports,"RequestWithdrawalBodySchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.P}});Object.defineProperty(exports,"SettlementAccountViewSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.O}});Object.defineProperty(exports,"SlateSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.G}});Object.defineProperty(exports,"TrailerSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.F}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunk4JM6YJKW_js.o}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunk4JM6YJKW_js.n}});Object.defineProperty(exports,"UpdateSettlementBodySchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.N}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.I}});Object.defineProperty(exports,"WalletFundDataSchema",{enumerable:true,get:function(){return chunk4JM6YJKW_js.U}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/payment/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
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-IRRMMUUV.mjs';import'../chunk-4JLK7EKU.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/user/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkPPIOVBWL_js=require('../chunk-PPIOVBWL.js'),chunkVYYEP5QO_js=require('../chunk-VYYEP5QO.js');require('../chunk-CS53SHRW.js'),require('../chunk-4JM6YJKW.js'),require('../chunk-BU6NNTUV.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.g}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.j}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.m}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.q}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunkPPIOVBWL_js.i}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.o}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.r}});Object.defineProperty(exports,"SetProfilePinSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.h}});Object.defineProperty(exports,"UpdateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.f}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.n}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.l}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.k}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunkPPIOVBWL_js.p}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkVYYEP5QO_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkVYYEP5QO_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkVYYEP5QO_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkVYYEP5QO_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkVYYEP5QO_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkVYYEP5QO_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkVYYEP5QO_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkVYYEP5QO_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/user/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as CreateHostProfileRequestSchema,g as CreateProducerProfileRequestSchema,j as DisplayNameSchema,a as HostProfileResponseSchema,m as NotificationPreferenceItemSchema,q as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,i as RESERVED_DISPLAY_NAMES,o as SendFeedbackRequestSchema,r as SendFeedbackResponseSchema,h as SetProfilePinSchema,f as UpdateHostProfileRequestSchema,n as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,l as UpdateViewerCurrencyRequestSchema,k as UpdateViewerProfileRequestSchema,c as UserResponseSchema,p as ViewerMeResponseSchema}from'../chunk-
|
|
1
|
+
export{e as CreateHostProfileRequestSchema,g as CreateProducerProfileRequestSchema,j as DisplayNameSchema,a as HostProfileResponseSchema,m as NotificationPreferenceItemSchema,q as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,i as RESERVED_DISPLAY_NAMES,o as SendFeedbackRequestSchema,r as SendFeedbackResponseSchema,h as SetProfilePinSchema,f as UpdateHostProfileRequestSchema,n as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,l as UpdateViewerCurrencyRequestSchema,k as UpdateViewerProfileRequestSchema,c as UserResponseSchema,p as ViewerMeResponseSchema}from'../chunk-CCE57ZZZ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'../chunk-3XUFZE2S.mjs';import'../chunk-O563NPZQ.mjs';import'../chunk-IRRMMUUV.mjs';import'../chunk-4JLK7EKU.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|