@classytic/revenue 2.1.0 → 2.2.0
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/CHANGELOG.md +95 -0
- package/README.md +41 -10
- package/dist/{bank-feed-DJtLvz_7.mjs → bank-feed-ClxNob_I.mjs} +1 -1
- package/dist/core/state-machines.mjs +2 -2
- package/dist/{engine-types-txFXOiQS.d.mts → engine-types-ChFPg3kw.d.mts} +230 -80
- package/dist/enums/index.mjs +1 -1
- package/dist/{errors-Dt46UZL_.mjs → errors-Bt5NRVMq.mjs} +19 -2
- package/dist/{escrow.schema-C-b41z_G.mjs → escrow.schema-BcKdzrJ7.mjs} +5 -0
- package/dist/{escrow.schema-9yh4Q-aQ.d.mts → escrow.schema-BdDHuQ8C.d.mts} +80 -20
- package/dist/{event-constants-CTiDNWzc.mjs → event-constants-DM_-A57b.mjs} +7 -0
- package/dist/events/index.d.mts +1 -1
- package/dist/events/index.mjs +2 -2
- package/dist/index.d.mts +38 -7
- package/dist/index.mjs +38 -9
- package/dist/providers/index.mjs +1 -1
- package/dist/repositories/create-repositories.d.mts +1 -1
- package/dist/repositories/create-repositories.mjs +1 -1
- package/dist/{revenue-event-catalog-CgZ57M-f.mjs → revenue-event-catalog-B9aZmNpL.mjs} +90 -2
- package/dist/{revenue-event-catalog-JpJcyK1E.d.mts → revenue-event-catalog-BU_KYN2-.d.mts} +645 -0
- package/dist/{settlement.repository-Ba2U17zY.mjs → settlement.repository-CfvgX3et.mjs} +315 -123
- package/dist/shared/index.mjs +1 -1
- package/dist/validators/index.d.mts +1 -1
- package/dist/validators/index.mjs +1 -1
- package/package.json +7 -7
- /package/dist/{splits-D8XkNWgX.mjs → splits-CNfQj92L.mjs} +0 -0
- /package/dist/{subscription.enums-DoIr56O6.mjs → subscription.enums-95othr0i.mjs} +0 -0
|
@@ -29,6 +29,13 @@ declare const REVENUE_EVENTS: {
|
|
|
29
29
|
readonly PAYMENT_REFUNDED: "revenue:payment.refunded";
|
|
30
30
|
readonly PAYMENT_REQUIRES_ACTION: "revenue:payment.requires_action";
|
|
31
31
|
readonly PAYMENT_PROCESSING: "revenue:payment.processing";
|
|
32
|
+
readonly PAYMENT_AUTHORIZED: "revenue:payment.authorized";
|
|
33
|
+
readonly PAYMENT_CAPTURED: "revenue:payment.captured";
|
|
34
|
+
readonly PAYMENT_AUTH_VOIDED: "revenue:payment.auth_voided";
|
|
35
|
+
readonly PAYMENT_DISPUTED: "revenue:payment.disputed";
|
|
36
|
+
readonly PAYMENT_DISPUTE_WON: "revenue:payment.dispute_won";
|
|
37
|
+
readonly PAYMENT_DISPUTE_LOST: "revenue:payment.dispute_lost";
|
|
38
|
+
readonly PAYMENT_SETTLED: "revenue:payment.settled";
|
|
32
39
|
readonly MONETIZATION_CREATED: "revenue:monetization.created";
|
|
33
40
|
readonly PURCHASE_CREATED: "revenue:purchase.created";
|
|
34
41
|
readonly FREE_CREATED: "revenue:free.created";
|
|
@@ -89,6 +96,21 @@ declare const paymentVerifiedSchema: z.ZodObject<{
|
|
|
89
96
|
amount: z.ZodNumber;
|
|
90
97
|
currency: z.ZodString;
|
|
91
98
|
}, z.core.$strip>>;
|
|
99
|
+
methodKind: z.ZodEnum<{
|
|
100
|
+
manual: "manual";
|
|
101
|
+
bank_transfer: "bank_transfer";
|
|
102
|
+
cryptocurrency: "cryptocurrency";
|
|
103
|
+
card: "card";
|
|
104
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
105
|
+
direct_debit: "direct_debit";
|
|
106
|
+
wallet: "wallet";
|
|
107
|
+
mobile_money: "mobile_money";
|
|
108
|
+
bnpl: "bnpl";
|
|
109
|
+
gift_card: "gift_card";
|
|
110
|
+
cash: "cash";
|
|
111
|
+
cheque: "cheque";
|
|
112
|
+
other: "other";
|
|
113
|
+
}>;
|
|
92
114
|
}, z.core.$loose>;
|
|
93
115
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
94
116
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -103,6 +125,21 @@ declare const paymentFailedSchema: z.ZodObject<{
|
|
|
103
125
|
amount: z.ZodNumber;
|
|
104
126
|
currency: z.ZodString;
|
|
105
127
|
}, z.core.$strip>>;
|
|
128
|
+
methodKind: z.ZodEnum<{
|
|
129
|
+
manual: "manual";
|
|
130
|
+
bank_transfer: "bank_transfer";
|
|
131
|
+
cryptocurrency: "cryptocurrency";
|
|
132
|
+
card: "card";
|
|
133
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
134
|
+
direct_debit: "direct_debit";
|
|
135
|
+
wallet: "wallet";
|
|
136
|
+
mobile_money: "mobile_money";
|
|
137
|
+
bnpl: "bnpl";
|
|
138
|
+
gift_card: "gift_card";
|
|
139
|
+
cash: "cash";
|
|
140
|
+
cheque: "cheque";
|
|
141
|
+
other: "other";
|
|
142
|
+
}>;
|
|
106
143
|
}, z.core.$loose>;
|
|
107
144
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
145
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -117,6 +154,21 @@ declare const paymentProcessingSchema: z.ZodObject<{
|
|
|
117
154
|
amount: z.ZodNumber;
|
|
118
155
|
currency: z.ZodString;
|
|
119
156
|
}, z.core.$strip>>;
|
|
157
|
+
methodKind: z.ZodEnum<{
|
|
158
|
+
manual: "manual";
|
|
159
|
+
bank_transfer: "bank_transfer";
|
|
160
|
+
cryptocurrency: "cryptocurrency";
|
|
161
|
+
card: "card";
|
|
162
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
163
|
+
direct_debit: "direct_debit";
|
|
164
|
+
wallet: "wallet";
|
|
165
|
+
mobile_money: "mobile_money";
|
|
166
|
+
bnpl: "bnpl";
|
|
167
|
+
gift_card: "gift_card";
|
|
168
|
+
cash: "cash";
|
|
169
|
+
cheque: "cheque";
|
|
170
|
+
other: "other";
|
|
171
|
+
}>;
|
|
120
172
|
}, z.core.$loose>;
|
|
121
173
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
122
174
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -131,6 +183,21 @@ declare const paymentRequiresActionSchema: z.ZodObject<{
|
|
|
131
183
|
amount: z.ZodNumber;
|
|
132
184
|
currency: z.ZodString;
|
|
133
185
|
}, z.core.$strip>>;
|
|
186
|
+
methodKind: z.ZodEnum<{
|
|
187
|
+
manual: "manual";
|
|
188
|
+
bank_transfer: "bank_transfer";
|
|
189
|
+
cryptocurrency: "cryptocurrency";
|
|
190
|
+
card: "card";
|
|
191
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
192
|
+
direct_debit: "direct_debit";
|
|
193
|
+
wallet: "wallet";
|
|
194
|
+
mobile_money: "mobile_money";
|
|
195
|
+
bnpl: "bnpl";
|
|
196
|
+
gift_card: "gift_card";
|
|
197
|
+
cash: "cash";
|
|
198
|
+
cheque: "cheque";
|
|
199
|
+
other: "other";
|
|
200
|
+
}>;
|
|
134
201
|
}, z.core.$loose>;
|
|
135
202
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
136
203
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -145,6 +212,21 @@ declare const paymentRefundedSchema: z.ZodObject<{
|
|
|
145
212
|
amount: z.ZodNumber;
|
|
146
213
|
currency: z.ZodString;
|
|
147
214
|
}, z.core.$strip>>;
|
|
215
|
+
methodKind: z.ZodEnum<{
|
|
216
|
+
manual: "manual";
|
|
217
|
+
bank_transfer: "bank_transfer";
|
|
218
|
+
cryptocurrency: "cryptocurrency";
|
|
219
|
+
card: "card";
|
|
220
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
221
|
+
direct_debit: "direct_debit";
|
|
222
|
+
wallet: "wallet";
|
|
223
|
+
mobile_money: "mobile_money";
|
|
224
|
+
bnpl: "bnpl";
|
|
225
|
+
gift_card: "gift_card";
|
|
226
|
+
cash: "cash";
|
|
227
|
+
cheque: "cheque";
|
|
228
|
+
other: "other";
|
|
229
|
+
}>;
|
|
148
230
|
}, z.core.$loose>;
|
|
149
231
|
refundTransaction: z.ZodObject<{
|
|
150
232
|
_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodAny]>>;
|
|
@@ -155,11 +237,30 @@ declare const paymentRefundedSchema: z.ZodObject<{
|
|
|
155
237
|
amount: z.ZodNumber;
|
|
156
238
|
currency: z.ZodString;
|
|
157
239
|
}, z.core.$strip>>;
|
|
240
|
+
methodKind: z.ZodEnum<{
|
|
241
|
+
manual: "manual";
|
|
242
|
+
bank_transfer: "bank_transfer";
|
|
243
|
+
cryptocurrency: "cryptocurrency";
|
|
244
|
+
card: "card";
|
|
245
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
246
|
+
direct_debit: "direct_debit";
|
|
247
|
+
wallet: "wallet";
|
|
248
|
+
mobile_money: "mobile_money";
|
|
249
|
+
bnpl: "bnpl";
|
|
250
|
+
gift_card: "gift_card";
|
|
251
|
+
cash: "cash";
|
|
252
|
+
cheque: "cheque";
|
|
253
|
+
other: "other";
|
|
254
|
+
}>;
|
|
158
255
|
}, z.core.$loose>;
|
|
159
256
|
refundAmount: z.ZodObject<{
|
|
160
257
|
amount: z.ZodNumber;
|
|
161
258
|
currency: z.ZodString;
|
|
162
259
|
}, z.core.$strip>;
|
|
260
|
+
originalAmount: z.ZodObject<{
|
|
261
|
+
amount: z.ZodNumber;
|
|
262
|
+
currency: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
163
264
|
reason: z.ZodOptional<z.ZodString>;
|
|
164
265
|
isPartialRefund: z.ZodBoolean;
|
|
165
266
|
}, z.core.$strip>;
|
|
@@ -174,6 +275,21 @@ declare const monetizationCreatedSchema: z.ZodObject<{
|
|
|
174
275
|
amount: z.ZodNumber;
|
|
175
276
|
currency: z.ZodString;
|
|
176
277
|
}, z.core.$strip>>;
|
|
278
|
+
methodKind: z.ZodEnum<{
|
|
279
|
+
manual: "manual";
|
|
280
|
+
bank_transfer: "bank_transfer";
|
|
281
|
+
cryptocurrency: "cryptocurrency";
|
|
282
|
+
card: "card";
|
|
283
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
284
|
+
direct_debit: "direct_debit";
|
|
285
|
+
wallet: "wallet";
|
|
286
|
+
mobile_money: "mobile_money";
|
|
287
|
+
bnpl: "bnpl";
|
|
288
|
+
gift_card: "gift_card";
|
|
289
|
+
cash: "cash";
|
|
290
|
+
cheque: "cheque";
|
|
291
|
+
other: "other";
|
|
292
|
+
}>;
|
|
177
293
|
}, z.core.$loose>;
|
|
178
294
|
}, z.core.$strip>;
|
|
179
295
|
declare const purchaseCreatedSchema: z.ZodObject<{
|
|
@@ -187,6 +303,21 @@ declare const purchaseCreatedSchema: z.ZodObject<{
|
|
|
187
303
|
amount: z.ZodNumber;
|
|
188
304
|
currency: z.ZodString;
|
|
189
305
|
}, z.core.$strip>>;
|
|
306
|
+
methodKind: z.ZodEnum<{
|
|
307
|
+
manual: "manual";
|
|
308
|
+
bank_transfer: "bank_transfer";
|
|
309
|
+
cryptocurrency: "cryptocurrency";
|
|
310
|
+
card: "card";
|
|
311
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
312
|
+
direct_debit: "direct_debit";
|
|
313
|
+
wallet: "wallet";
|
|
314
|
+
mobile_money: "mobile_money";
|
|
315
|
+
bnpl: "bnpl";
|
|
316
|
+
gift_card: "gift_card";
|
|
317
|
+
cash: "cash";
|
|
318
|
+
cheque: "cheque";
|
|
319
|
+
other: "other";
|
|
320
|
+
}>;
|
|
190
321
|
}, z.core.$loose>;
|
|
191
322
|
}, z.core.$strip>;
|
|
192
323
|
declare const freeCreatedSchema: z.ZodObject<{
|
|
@@ -200,6 +331,21 @@ declare const freeCreatedSchema: z.ZodObject<{
|
|
|
200
331
|
amount: z.ZodNumber;
|
|
201
332
|
currency: z.ZodString;
|
|
202
333
|
}, z.core.$strip>>;
|
|
334
|
+
methodKind: z.ZodEnum<{
|
|
335
|
+
manual: "manual";
|
|
336
|
+
bank_transfer: "bank_transfer";
|
|
337
|
+
cryptocurrency: "cryptocurrency";
|
|
338
|
+
card: "card";
|
|
339
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
340
|
+
direct_debit: "direct_debit";
|
|
341
|
+
wallet: "wallet";
|
|
342
|
+
mobile_money: "mobile_money";
|
|
343
|
+
bnpl: "bnpl";
|
|
344
|
+
gift_card: "gift_card";
|
|
345
|
+
cash: "cash";
|
|
346
|
+
cheque: "cheque";
|
|
347
|
+
other: "other";
|
|
348
|
+
}>;
|
|
203
349
|
}, z.core.$loose>;
|
|
204
350
|
}, z.core.$strip>;
|
|
205
351
|
declare const transactionUpdatedSchema: z.ZodObject<{
|
|
@@ -212,6 +358,21 @@ declare const transactionUpdatedSchema: z.ZodObject<{
|
|
|
212
358
|
amount: z.ZodNumber;
|
|
213
359
|
currency: z.ZodString;
|
|
214
360
|
}, z.core.$strip>>;
|
|
361
|
+
methodKind: z.ZodEnum<{
|
|
362
|
+
manual: "manual";
|
|
363
|
+
bank_transfer: "bank_transfer";
|
|
364
|
+
cryptocurrency: "cryptocurrency";
|
|
365
|
+
card: "card";
|
|
366
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
367
|
+
direct_debit: "direct_debit";
|
|
368
|
+
wallet: "wallet";
|
|
369
|
+
mobile_money: "mobile_money";
|
|
370
|
+
bnpl: "bnpl";
|
|
371
|
+
gift_card: "gift_card";
|
|
372
|
+
cash: "cash";
|
|
373
|
+
cheque: "cheque";
|
|
374
|
+
other: "other";
|
|
375
|
+
}>;
|
|
215
376
|
}, z.core.$loose>;
|
|
216
377
|
changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
217
378
|
}, z.core.$strip>;
|
|
@@ -287,6 +448,21 @@ declare const escrowHeldSchema: z.ZodObject<{
|
|
|
287
448
|
amount: z.ZodNumber;
|
|
288
449
|
currency: z.ZodString;
|
|
289
450
|
}, z.core.$strip>>;
|
|
451
|
+
methodKind: z.ZodEnum<{
|
|
452
|
+
manual: "manual";
|
|
453
|
+
bank_transfer: "bank_transfer";
|
|
454
|
+
cryptocurrency: "cryptocurrency";
|
|
455
|
+
card: "card";
|
|
456
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
457
|
+
direct_debit: "direct_debit";
|
|
458
|
+
wallet: "wallet";
|
|
459
|
+
mobile_money: "mobile_money";
|
|
460
|
+
bnpl: "bnpl";
|
|
461
|
+
gift_card: "gift_card";
|
|
462
|
+
cash: "cash";
|
|
463
|
+
cheque: "cheque";
|
|
464
|
+
other: "other";
|
|
465
|
+
}>;
|
|
290
466
|
}, z.core.$loose>;
|
|
291
467
|
heldAmount: z.ZodObject<{
|
|
292
468
|
amount: z.ZodNumber;
|
|
@@ -304,6 +480,21 @@ declare const escrowReleasedSchema: z.ZodObject<{
|
|
|
304
480
|
amount: z.ZodNumber;
|
|
305
481
|
currency: z.ZodString;
|
|
306
482
|
}, z.core.$strip>>;
|
|
483
|
+
methodKind: z.ZodEnum<{
|
|
484
|
+
manual: "manual";
|
|
485
|
+
bank_transfer: "bank_transfer";
|
|
486
|
+
cryptocurrency: "cryptocurrency";
|
|
487
|
+
card: "card";
|
|
488
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
489
|
+
direct_debit: "direct_debit";
|
|
490
|
+
wallet: "wallet";
|
|
491
|
+
mobile_money: "mobile_money";
|
|
492
|
+
bnpl: "bnpl";
|
|
493
|
+
gift_card: "gift_card";
|
|
494
|
+
cash: "cash";
|
|
495
|
+
cheque: "cheque";
|
|
496
|
+
other: "other";
|
|
497
|
+
}>;
|
|
307
498
|
}, z.core.$loose>;
|
|
308
499
|
releaseAmount: z.ZodObject<{
|
|
309
500
|
amount: z.ZodNumber;
|
|
@@ -324,6 +515,21 @@ declare const escrowCancelledSchema: z.ZodObject<{
|
|
|
324
515
|
amount: z.ZodNumber;
|
|
325
516
|
currency: z.ZodString;
|
|
326
517
|
}, z.core.$strip>>;
|
|
518
|
+
methodKind: z.ZodEnum<{
|
|
519
|
+
manual: "manual";
|
|
520
|
+
bank_transfer: "bank_transfer";
|
|
521
|
+
cryptocurrency: "cryptocurrency";
|
|
522
|
+
card: "card";
|
|
523
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
524
|
+
direct_debit: "direct_debit";
|
|
525
|
+
wallet: "wallet";
|
|
526
|
+
mobile_money: "mobile_money";
|
|
527
|
+
bnpl: "bnpl";
|
|
528
|
+
gift_card: "gift_card";
|
|
529
|
+
cash: "cash";
|
|
530
|
+
cheque: "cheque";
|
|
531
|
+
other: "other";
|
|
532
|
+
}>;
|
|
327
533
|
}, z.core.$loose>;
|
|
328
534
|
cancelledAmount: z.ZodOptional<z.ZodObject<{
|
|
329
535
|
amount: z.ZodNumber;
|
|
@@ -341,6 +547,21 @@ declare const escrowSplitSchema: z.ZodObject<{
|
|
|
341
547
|
amount: z.ZodNumber;
|
|
342
548
|
currency: z.ZodString;
|
|
343
549
|
}, z.core.$strip>>;
|
|
550
|
+
methodKind: z.ZodEnum<{
|
|
551
|
+
manual: "manual";
|
|
552
|
+
bank_transfer: "bank_transfer";
|
|
553
|
+
cryptocurrency: "cryptocurrency";
|
|
554
|
+
card: "card";
|
|
555
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
556
|
+
direct_debit: "direct_debit";
|
|
557
|
+
wallet: "wallet";
|
|
558
|
+
mobile_money: "mobile_money";
|
|
559
|
+
bnpl: "bnpl";
|
|
560
|
+
gift_card: "gift_card";
|
|
561
|
+
cash: "cash";
|
|
562
|
+
cheque: "cheque";
|
|
563
|
+
other: "other";
|
|
564
|
+
}>;
|
|
344
565
|
}, z.core.$loose>;
|
|
345
566
|
splits: z.ZodArray<z.ZodObject<{
|
|
346
567
|
recipientId: z.ZodString;
|
|
@@ -434,6 +655,21 @@ declare const webhookProcessedSchema: z.ZodObject<{
|
|
|
434
655
|
amount: z.ZodNumber;
|
|
435
656
|
currency: z.ZodString;
|
|
436
657
|
}, z.core.$strip>>;
|
|
658
|
+
methodKind: z.ZodEnum<{
|
|
659
|
+
manual: "manual";
|
|
660
|
+
bank_transfer: "bank_transfer";
|
|
661
|
+
cryptocurrency: "cryptocurrency";
|
|
662
|
+
card: "card";
|
|
663
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
664
|
+
direct_debit: "direct_debit";
|
|
665
|
+
wallet: "wallet";
|
|
666
|
+
mobile_money: "mobile_money";
|
|
667
|
+
bnpl: "bnpl";
|
|
668
|
+
gift_card: "gift_card";
|
|
669
|
+
cash: "cash";
|
|
670
|
+
cheque: "cheque";
|
|
671
|
+
other: "other";
|
|
672
|
+
}>;
|
|
437
673
|
}, z.core.$loose>>;
|
|
438
674
|
}, z.core.$strip>;
|
|
439
675
|
declare const transactionImportedSchema: z.ZodObject<{
|
|
@@ -446,6 +682,21 @@ declare const transactionImportedSchema: z.ZodObject<{
|
|
|
446
682
|
amount: z.ZodNumber;
|
|
447
683
|
currency: z.ZodString;
|
|
448
684
|
}, z.core.$strip>>;
|
|
685
|
+
methodKind: z.ZodEnum<{
|
|
686
|
+
manual: "manual";
|
|
687
|
+
bank_transfer: "bank_transfer";
|
|
688
|
+
cryptocurrency: "cryptocurrency";
|
|
689
|
+
card: "card";
|
|
690
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
691
|
+
direct_debit: "direct_debit";
|
|
692
|
+
wallet: "wallet";
|
|
693
|
+
mobile_money: "mobile_money";
|
|
694
|
+
bnpl: "bnpl";
|
|
695
|
+
gift_card: "gift_card";
|
|
696
|
+
cash: "cash";
|
|
697
|
+
cheque: "cheque";
|
|
698
|
+
other: "other";
|
|
699
|
+
}>;
|
|
449
700
|
}, z.core.$loose>;
|
|
450
701
|
source: z.ZodString;
|
|
451
702
|
bankAccountId: z.ZodString;
|
|
@@ -461,6 +712,21 @@ declare const transactionMatchedSchema: z.ZodObject<{
|
|
|
461
712
|
amount: z.ZodNumber;
|
|
462
713
|
currency: z.ZodString;
|
|
463
714
|
}, z.core.$strip>>;
|
|
715
|
+
methodKind: z.ZodEnum<{
|
|
716
|
+
manual: "manual";
|
|
717
|
+
bank_transfer: "bank_transfer";
|
|
718
|
+
cryptocurrency: "cryptocurrency";
|
|
719
|
+
card: "card";
|
|
720
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
721
|
+
direct_debit: "direct_debit";
|
|
722
|
+
wallet: "wallet";
|
|
723
|
+
mobile_money: "mobile_money";
|
|
724
|
+
bnpl: "bnpl";
|
|
725
|
+
gift_card: "gift_card";
|
|
726
|
+
cash: "cash";
|
|
727
|
+
cheque: "cheque";
|
|
728
|
+
other: "other";
|
|
729
|
+
}>;
|
|
464
730
|
}, z.core.$loose>;
|
|
465
731
|
mapping: z.ZodObject<{
|
|
466
732
|
debitAccount: z.ZodOptional<z.ZodString>;
|
|
@@ -480,6 +746,21 @@ declare const transactionUnmatchedSchema: z.ZodObject<{
|
|
|
480
746
|
amount: z.ZodNumber;
|
|
481
747
|
currency: z.ZodString;
|
|
482
748
|
}, z.core.$strip>>;
|
|
749
|
+
methodKind: z.ZodEnum<{
|
|
750
|
+
manual: "manual";
|
|
751
|
+
bank_transfer: "bank_transfer";
|
|
752
|
+
cryptocurrency: "cryptocurrency";
|
|
753
|
+
card: "card";
|
|
754
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
755
|
+
direct_debit: "direct_debit";
|
|
756
|
+
wallet: "wallet";
|
|
757
|
+
mobile_money: "mobile_money";
|
|
758
|
+
bnpl: "bnpl";
|
|
759
|
+
gift_card: "gift_card";
|
|
760
|
+
cash: "cash";
|
|
761
|
+
cheque: "cheque";
|
|
762
|
+
other: "other";
|
|
763
|
+
}>;
|
|
483
764
|
}, z.core.$loose>;
|
|
484
765
|
unmatchedBy: z.ZodOptional<z.ZodString>;
|
|
485
766
|
}, z.core.$strip>;
|
|
@@ -493,6 +774,21 @@ declare const transactionJournalizedSchema: z.ZodObject<{
|
|
|
493
774
|
amount: z.ZodNumber;
|
|
494
775
|
currency: z.ZodString;
|
|
495
776
|
}, z.core.$strip>>;
|
|
777
|
+
methodKind: z.ZodEnum<{
|
|
778
|
+
manual: "manual";
|
|
779
|
+
bank_transfer: "bank_transfer";
|
|
780
|
+
cryptocurrency: "cryptocurrency";
|
|
781
|
+
card: "card";
|
|
782
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
783
|
+
direct_debit: "direct_debit";
|
|
784
|
+
wallet: "wallet";
|
|
785
|
+
mobile_money: "mobile_money";
|
|
786
|
+
bnpl: "bnpl";
|
|
787
|
+
gift_card: "gift_card";
|
|
788
|
+
cash: "cash";
|
|
789
|
+
cheque: "cheque";
|
|
790
|
+
other: "other";
|
|
791
|
+
}>;
|
|
496
792
|
}, z.core.$loose>;
|
|
497
793
|
journalEntryRef: z.ZodObject<{
|
|
498
794
|
type: z.ZodString;
|
|
@@ -510,6 +806,21 @@ declare const transactionRejectedSchema: z.ZodObject<{
|
|
|
510
806
|
amount: z.ZodNumber;
|
|
511
807
|
currency: z.ZodString;
|
|
512
808
|
}, z.core.$strip>>;
|
|
809
|
+
methodKind: z.ZodEnum<{
|
|
810
|
+
manual: "manual";
|
|
811
|
+
bank_transfer: "bank_transfer";
|
|
812
|
+
cryptocurrency: "cryptocurrency";
|
|
813
|
+
card: "card";
|
|
814
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
815
|
+
direct_debit: "direct_debit";
|
|
816
|
+
wallet: "wallet";
|
|
817
|
+
mobile_money: "mobile_money";
|
|
818
|
+
bnpl: "bnpl";
|
|
819
|
+
gift_card: "gift_card";
|
|
820
|
+
cash: "cash";
|
|
821
|
+
cheque: "cheque";
|
|
822
|
+
other: "other";
|
|
823
|
+
}>;
|
|
513
824
|
}, z.core.$loose>;
|
|
514
825
|
reason: z.ZodString;
|
|
515
826
|
rejectedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -524,6 +835,21 @@ declare const transactionRemovedByFeedSchema: z.ZodObject<{
|
|
|
524
835
|
amount: z.ZodNumber;
|
|
525
836
|
currency: z.ZodString;
|
|
526
837
|
}, z.core.$strip>>;
|
|
838
|
+
methodKind: z.ZodEnum<{
|
|
839
|
+
manual: "manual";
|
|
840
|
+
bank_transfer: "bank_transfer";
|
|
841
|
+
cryptocurrency: "cryptocurrency";
|
|
842
|
+
card: "card";
|
|
843
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
844
|
+
direct_debit: "direct_debit";
|
|
845
|
+
wallet: "wallet";
|
|
846
|
+
mobile_money: "mobile_money";
|
|
847
|
+
bnpl: "bnpl";
|
|
848
|
+
gift_card: "gift_card";
|
|
849
|
+
cash: "cash";
|
|
850
|
+
cheque: "cheque";
|
|
851
|
+
other: "other";
|
|
852
|
+
}>;
|
|
527
853
|
}, z.core.$loose>;
|
|
528
854
|
source: z.ZodString;
|
|
529
855
|
externalId: z.ZodString;
|
|
@@ -569,6 +895,21 @@ declare const PaymentVerified: RevenueEventDefinition<z.ZodObject<{
|
|
|
569
895
|
amount: z.ZodNumber;
|
|
570
896
|
currency: z.ZodString;
|
|
571
897
|
}, z.core.$strip>>;
|
|
898
|
+
methodKind: z.ZodEnum<{
|
|
899
|
+
manual: "manual";
|
|
900
|
+
bank_transfer: "bank_transfer";
|
|
901
|
+
cryptocurrency: "cryptocurrency";
|
|
902
|
+
card: "card";
|
|
903
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
904
|
+
direct_debit: "direct_debit";
|
|
905
|
+
wallet: "wallet";
|
|
906
|
+
mobile_money: "mobile_money";
|
|
907
|
+
bnpl: "bnpl";
|
|
908
|
+
gift_card: "gift_card";
|
|
909
|
+
cash: "cash";
|
|
910
|
+
cheque: "cheque";
|
|
911
|
+
other: "other";
|
|
912
|
+
}>;
|
|
572
913
|
}, z.core.$loose>;
|
|
573
914
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
574
915
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -583,6 +924,21 @@ declare const PaymentFailed: RevenueEventDefinition<z.ZodObject<{
|
|
|
583
924
|
amount: z.ZodNumber;
|
|
584
925
|
currency: z.ZodString;
|
|
585
926
|
}, z.core.$strip>>;
|
|
927
|
+
methodKind: z.ZodEnum<{
|
|
928
|
+
manual: "manual";
|
|
929
|
+
bank_transfer: "bank_transfer";
|
|
930
|
+
cryptocurrency: "cryptocurrency";
|
|
931
|
+
card: "card";
|
|
932
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
933
|
+
direct_debit: "direct_debit";
|
|
934
|
+
wallet: "wallet";
|
|
935
|
+
mobile_money: "mobile_money";
|
|
936
|
+
bnpl: "bnpl";
|
|
937
|
+
gift_card: "gift_card";
|
|
938
|
+
cash: "cash";
|
|
939
|
+
cheque: "cheque";
|
|
940
|
+
other: "other";
|
|
941
|
+
}>;
|
|
586
942
|
}, z.core.$loose>;
|
|
587
943
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
588
944
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -597,6 +953,21 @@ declare const PaymentProcessing: RevenueEventDefinition<z.ZodObject<{
|
|
|
597
953
|
amount: z.ZodNumber;
|
|
598
954
|
currency: z.ZodString;
|
|
599
955
|
}, z.core.$strip>>;
|
|
956
|
+
methodKind: z.ZodEnum<{
|
|
957
|
+
manual: "manual";
|
|
958
|
+
bank_transfer: "bank_transfer";
|
|
959
|
+
cryptocurrency: "cryptocurrency";
|
|
960
|
+
card: "card";
|
|
961
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
962
|
+
direct_debit: "direct_debit";
|
|
963
|
+
wallet: "wallet";
|
|
964
|
+
mobile_money: "mobile_money";
|
|
965
|
+
bnpl: "bnpl";
|
|
966
|
+
gift_card: "gift_card";
|
|
967
|
+
cash: "cash";
|
|
968
|
+
cheque: "cheque";
|
|
969
|
+
other: "other";
|
|
970
|
+
}>;
|
|
600
971
|
}, z.core.$loose>;
|
|
601
972
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
602
973
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -611,6 +982,21 @@ declare const PaymentRequiresAction: RevenueEventDefinition<z.ZodObject<{
|
|
|
611
982
|
amount: z.ZodNumber;
|
|
612
983
|
currency: z.ZodString;
|
|
613
984
|
}, z.core.$strip>>;
|
|
985
|
+
methodKind: z.ZodEnum<{
|
|
986
|
+
manual: "manual";
|
|
987
|
+
bank_transfer: "bank_transfer";
|
|
988
|
+
cryptocurrency: "cryptocurrency";
|
|
989
|
+
card: "card";
|
|
990
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
991
|
+
direct_debit: "direct_debit";
|
|
992
|
+
wallet: "wallet";
|
|
993
|
+
mobile_money: "mobile_money";
|
|
994
|
+
bnpl: "bnpl";
|
|
995
|
+
gift_card: "gift_card";
|
|
996
|
+
cash: "cash";
|
|
997
|
+
cheque: "cheque";
|
|
998
|
+
other: "other";
|
|
999
|
+
}>;
|
|
614
1000
|
}, z.core.$loose>;
|
|
615
1001
|
paymentResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
616
1002
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -625,6 +1011,21 @@ declare const PaymentRefunded: RevenueEventDefinition<z.ZodObject<{
|
|
|
625
1011
|
amount: z.ZodNumber;
|
|
626
1012
|
currency: z.ZodString;
|
|
627
1013
|
}, z.core.$strip>>;
|
|
1014
|
+
methodKind: z.ZodEnum<{
|
|
1015
|
+
manual: "manual";
|
|
1016
|
+
bank_transfer: "bank_transfer";
|
|
1017
|
+
cryptocurrency: "cryptocurrency";
|
|
1018
|
+
card: "card";
|
|
1019
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1020
|
+
direct_debit: "direct_debit";
|
|
1021
|
+
wallet: "wallet";
|
|
1022
|
+
mobile_money: "mobile_money";
|
|
1023
|
+
bnpl: "bnpl";
|
|
1024
|
+
gift_card: "gift_card";
|
|
1025
|
+
cash: "cash";
|
|
1026
|
+
cheque: "cheque";
|
|
1027
|
+
other: "other";
|
|
1028
|
+
}>;
|
|
628
1029
|
}, z.core.$loose>;
|
|
629
1030
|
refundTransaction: z.ZodObject<{
|
|
630
1031
|
_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodAny]>>;
|
|
@@ -635,11 +1036,30 @@ declare const PaymentRefunded: RevenueEventDefinition<z.ZodObject<{
|
|
|
635
1036
|
amount: z.ZodNumber;
|
|
636
1037
|
currency: z.ZodString;
|
|
637
1038
|
}, z.core.$strip>>;
|
|
1039
|
+
methodKind: z.ZodEnum<{
|
|
1040
|
+
manual: "manual";
|
|
1041
|
+
bank_transfer: "bank_transfer";
|
|
1042
|
+
cryptocurrency: "cryptocurrency";
|
|
1043
|
+
card: "card";
|
|
1044
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1045
|
+
direct_debit: "direct_debit";
|
|
1046
|
+
wallet: "wallet";
|
|
1047
|
+
mobile_money: "mobile_money";
|
|
1048
|
+
bnpl: "bnpl";
|
|
1049
|
+
gift_card: "gift_card";
|
|
1050
|
+
cash: "cash";
|
|
1051
|
+
cheque: "cheque";
|
|
1052
|
+
other: "other";
|
|
1053
|
+
}>;
|
|
638
1054
|
}, z.core.$loose>;
|
|
639
1055
|
refundAmount: z.ZodObject<{
|
|
640
1056
|
amount: z.ZodNumber;
|
|
641
1057
|
currency: z.ZodString;
|
|
642
1058
|
}, z.core.$strip>;
|
|
1059
|
+
originalAmount: z.ZodObject<{
|
|
1060
|
+
amount: z.ZodNumber;
|
|
1061
|
+
currency: z.ZodString;
|
|
1062
|
+
}, z.core.$strip>;
|
|
643
1063
|
reason: z.ZodOptional<z.ZodString>;
|
|
644
1064
|
isPartialRefund: z.ZodBoolean;
|
|
645
1065
|
}, z.core.$strip>>;
|
|
@@ -654,6 +1074,21 @@ declare const MonetizationCreated: RevenueEventDefinition<z.ZodObject<{
|
|
|
654
1074
|
amount: z.ZodNumber;
|
|
655
1075
|
currency: z.ZodString;
|
|
656
1076
|
}, z.core.$strip>>;
|
|
1077
|
+
methodKind: z.ZodEnum<{
|
|
1078
|
+
manual: "manual";
|
|
1079
|
+
bank_transfer: "bank_transfer";
|
|
1080
|
+
cryptocurrency: "cryptocurrency";
|
|
1081
|
+
card: "card";
|
|
1082
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1083
|
+
direct_debit: "direct_debit";
|
|
1084
|
+
wallet: "wallet";
|
|
1085
|
+
mobile_money: "mobile_money";
|
|
1086
|
+
bnpl: "bnpl";
|
|
1087
|
+
gift_card: "gift_card";
|
|
1088
|
+
cash: "cash";
|
|
1089
|
+
cheque: "cheque";
|
|
1090
|
+
other: "other";
|
|
1091
|
+
}>;
|
|
657
1092
|
}, z.core.$loose>;
|
|
658
1093
|
}, z.core.$strip>>;
|
|
659
1094
|
declare const PurchaseCreated: RevenueEventDefinition<z.ZodObject<{
|
|
@@ -667,6 +1102,21 @@ declare const PurchaseCreated: RevenueEventDefinition<z.ZodObject<{
|
|
|
667
1102
|
amount: z.ZodNumber;
|
|
668
1103
|
currency: z.ZodString;
|
|
669
1104
|
}, z.core.$strip>>;
|
|
1105
|
+
methodKind: z.ZodEnum<{
|
|
1106
|
+
manual: "manual";
|
|
1107
|
+
bank_transfer: "bank_transfer";
|
|
1108
|
+
cryptocurrency: "cryptocurrency";
|
|
1109
|
+
card: "card";
|
|
1110
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1111
|
+
direct_debit: "direct_debit";
|
|
1112
|
+
wallet: "wallet";
|
|
1113
|
+
mobile_money: "mobile_money";
|
|
1114
|
+
bnpl: "bnpl";
|
|
1115
|
+
gift_card: "gift_card";
|
|
1116
|
+
cash: "cash";
|
|
1117
|
+
cheque: "cheque";
|
|
1118
|
+
other: "other";
|
|
1119
|
+
}>;
|
|
670
1120
|
}, z.core.$loose>;
|
|
671
1121
|
}, z.core.$strip>>;
|
|
672
1122
|
declare const FreeCreated: RevenueEventDefinition<z.ZodObject<{
|
|
@@ -680,6 +1130,21 @@ declare const FreeCreated: RevenueEventDefinition<z.ZodObject<{
|
|
|
680
1130
|
amount: z.ZodNumber;
|
|
681
1131
|
currency: z.ZodString;
|
|
682
1132
|
}, z.core.$strip>>;
|
|
1133
|
+
methodKind: z.ZodEnum<{
|
|
1134
|
+
manual: "manual";
|
|
1135
|
+
bank_transfer: "bank_transfer";
|
|
1136
|
+
cryptocurrency: "cryptocurrency";
|
|
1137
|
+
card: "card";
|
|
1138
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1139
|
+
direct_debit: "direct_debit";
|
|
1140
|
+
wallet: "wallet";
|
|
1141
|
+
mobile_money: "mobile_money";
|
|
1142
|
+
bnpl: "bnpl";
|
|
1143
|
+
gift_card: "gift_card";
|
|
1144
|
+
cash: "cash";
|
|
1145
|
+
cheque: "cheque";
|
|
1146
|
+
other: "other";
|
|
1147
|
+
}>;
|
|
683
1148
|
}, z.core.$loose>;
|
|
684
1149
|
}, z.core.$strip>>;
|
|
685
1150
|
declare const TransactionUpdated: RevenueEventDefinition<z.ZodObject<{
|
|
@@ -692,6 +1157,21 @@ declare const TransactionUpdated: RevenueEventDefinition<z.ZodObject<{
|
|
|
692
1157
|
amount: z.ZodNumber;
|
|
693
1158
|
currency: z.ZodString;
|
|
694
1159
|
}, z.core.$strip>>;
|
|
1160
|
+
methodKind: z.ZodEnum<{
|
|
1161
|
+
manual: "manual";
|
|
1162
|
+
bank_transfer: "bank_transfer";
|
|
1163
|
+
cryptocurrency: "cryptocurrency";
|
|
1164
|
+
card: "card";
|
|
1165
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1166
|
+
direct_debit: "direct_debit";
|
|
1167
|
+
wallet: "wallet";
|
|
1168
|
+
mobile_money: "mobile_money";
|
|
1169
|
+
bnpl: "bnpl";
|
|
1170
|
+
gift_card: "gift_card";
|
|
1171
|
+
cash: "cash";
|
|
1172
|
+
cheque: "cheque";
|
|
1173
|
+
other: "other";
|
|
1174
|
+
}>;
|
|
695
1175
|
}, z.core.$loose>;
|
|
696
1176
|
changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
697
1177
|
}, z.core.$strip>>;
|
|
@@ -767,6 +1247,21 @@ declare const EscrowHeld: RevenueEventDefinition<z.ZodObject<{
|
|
|
767
1247
|
amount: z.ZodNumber;
|
|
768
1248
|
currency: z.ZodString;
|
|
769
1249
|
}, z.core.$strip>>;
|
|
1250
|
+
methodKind: z.ZodEnum<{
|
|
1251
|
+
manual: "manual";
|
|
1252
|
+
bank_transfer: "bank_transfer";
|
|
1253
|
+
cryptocurrency: "cryptocurrency";
|
|
1254
|
+
card: "card";
|
|
1255
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1256
|
+
direct_debit: "direct_debit";
|
|
1257
|
+
wallet: "wallet";
|
|
1258
|
+
mobile_money: "mobile_money";
|
|
1259
|
+
bnpl: "bnpl";
|
|
1260
|
+
gift_card: "gift_card";
|
|
1261
|
+
cash: "cash";
|
|
1262
|
+
cheque: "cheque";
|
|
1263
|
+
other: "other";
|
|
1264
|
+
}>;
|
|
770
1265
|
}, z.core.$loose>;
|
|
771
1266
|
heldAmount: z.ZodObject<{
|
|
772
1267
|
amount: z.ZodNumber;
|
|
@@ -784,6 +1279,21 @@ declare const EscrowReleased: RevenueEventDefinition<z.ZodObject<{
|
|
|
784
1279
|
amount: z.ZodNumber;
|
|
785
1280
|
currency: z.ZodString;
|
|
786
1281
|
}, z.core.$strip>>;
|
|
1282
|
+
methodKind: z.ZodEnum<{
|
|
1283
|
+
manual: "manual";
|
|
1284
|
+
bank_transfer: "bank_transfer";
|
|
1285
|
+
cryptocurrency: "cryptocurrency";
|
|
1286
|
+
card: "card";
|
|
1287
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1288
|
+
direct_debit: "direct_debit";
|
|
1289
|
+
wallet: "wallet";
|
|
1290
|
+
mobile_money: "mobile_money";
|
|
1291
|
+
bnpl: "bnpl";
|
|
1292
|
+
gift_card: "gift_card";
|
|
1293
|
+
cash: "cash";
|
|
1294
|
+
cheque: "cheque";
|
|
1295
|
+
other: "other";
|
|
1296
|
+
}>;
|
|
787
1297
|
}, z.core.$loose>;
|
|
788
1298
|
releaseAmount: z.ZodObject<{
|
|
789
1299
|
amount: z.ZodNumber;
|
|
@@ -804,6 +1314,21 @@ declare const EscrowCancelled: RevenueEventDefinition<z.ZodObject<{
|
|
|
804
1314
|
amount: z.ZodNumber;
|
|
805
1315
|
currency: z.ZodString;
|
|
806
1316
|
}, z.core.$strip>>;
|
|
1317
|
+
methodKind: z.ZodEnum<{
|
|
1318
|
+
manual: "manual";
|
|
1319
|
+
bank_transfer: "bank_transfer";
|
|
1320
|
+
cryptocurrency: "cryptocurrency";
|
|
1321
|
+
card: "card";
|
|
1322
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1323
|
+
direct_debit: "direct_debit";
|
|
1324
|
+
wallet: "wallet";
|
|
1325
|
+
mobile_money: "mobile_money";
|
|
1326
|
+
bnpl: "bnpl";
|
|
1327
|
+
gift_card: "gift_card";
|
|
1328
|
+
cash: "cash";
|
|
1329
|
+
cheque: "cheque";
|
|
1330
|
+
other: "other";
|
|
1331
|
+
}>;
|
|
807
1332
|
}, z.core.$loose>;
|
|
808
1333
|
cancelledAmount: z.ZodOptional<z.ZodObject<{
|
|
809
1334
|
amount: z.ZodNumber;
|
|
@@ -821,6 +1346,21 @@ declare const EscrowSplit: RevenueEventDefinition<z.ZodObject<{
|
|
|
821
1346
|
amount: z.ZodNumber;
|
|
822
1347
|
currency: z.ZodString;
|
|
823
1348
|
}, z.core.$strip>>;
|
|
1349
|
+
methodKind: z.ZodEnum<{
|
|
1350
|
+
manual: "manual";
|
|
1351
|
+
bank_transfer: "bank_transfer";
|
|
1352
|
+
cryptocurrency: "cryptocurrency";
|
|
1353
|
+
card: "card";
|
|
1354
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1355
|
+
direct_debit: "direct_debit";
|
|
1356
|
+
wallet: "wallet";
|
|
1357
|
+
mobile_money: "mobile_money";
|
|
1358
|
+
bnpl: "bnpl";
|
|
1359
|
+
gift_card: "gift_card";
|
|
1360
|
+
cash: "cash";
|
|
1361
|
+
cheque: "cheque";
|
|
1362
|
+
other: "other";
|
|
1363
|
+
}>;
|
|
824
1364
|
}, z.core.$loose>;
|
|
825
1365
|
splits: z.ZodArray<z.ZodObject<{
|
|
826
1366
|
recipientId: z.ZodString;
|
|
@@ -914,6 +1454,21 @@ declare const WebhookProcessed: RevenueEventDefinition<z.ZodObject<{
|
|
|
914
1454
|
amount: z.ZodNumber;
|
|
915
1455
|
currency: z.ZodString;
|
|
916
1456
|
}, z.core.$strip>>;
|
|
1457
|
+
methodKind: z.ZodEnum<{
|
|
1458
|
+
manual: "manual";
|
|
1459
|
+
bank_transfer: "bank_transfer";
|
|
1460
|
+
cryptocurrency: "cryptocurrency";
|
|
1461
|
+
card: "card";
|
|
1462
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1463
|
+
direct_debit: "direct_debit";
|
|
1464
|
+
wallet: "wallet";
|
|
1465
|
+
mobile_money: "mobile_money";
|
|
1466
|
+
bnpl: "bnpl";
|
|
1467
|
+
gift_card: "gift_card";
|
|
1468
|
+
cash: "cash";
|
|
1469
|
+
cheque: "cheque";
|
|
1470
|
+
other: "other";
|
|
1471
|
+
}>;
|
|
917
1472
|
}, z.core.$loose>>;
|
|
918
1473
|
}, z.core.$strip>>;
|
|
919
1474
|
declare const TransactionImported: RevenueEventDefinition<z.ZodObject<{
|
|
@@ -926,6 +1481,21 @@ declare const TransactionImported: RevenueEventDefinition<z.ZodObject<{
|
|
|
926
1481
|
amount: z.ZodNumber;
|
|
927
1482
|
currency: z.ZodString;
|
|
928
1483
|
}, z.core.$strip>>;
|
|
1484
|
+
methodKind: z.ZodEnum<{
|
|
1485
|
+
manual: "manual";
|
|
1486
|
+
bank_transfer: "bank_transfer";
|
|
1487
|
+
cryptocurrency: "cryptocurrency";
|
|
1488
|
+
card: "card";
|
|
1489
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1490
|
+
direct_debit: "direct_debit";
|
|
1491
|
+
wallet: "wallet";
|
|
1492
|
+
mobile_money: "mobile_money";
|
|
1493
|
+
bnpl: "bnpl";
|
|
1494
|
+
gift_card: "gift_card";
|
|
1495
|
+
cash: "cash";
|
|
1496
|
+
cheque: "cheque";
|
|
1497
|
+
other: "other";
|
|
1498
|
+
}>;
|
|
929
1499
|
}, z.core.$loose>;
|
|
930
1500
|
source: z.ZodString;
|
|
931
1501
|
bankAccountId: z.ZodString;
|
|
@@ -941,6 +1511,21 @@ declare const TransactionMatched: RevenueEventDefinition<z.ZodObject<{
|
|
|
941
1511
|
amount: z.ZodNumber;
|
|
942
1512
|
currency: z.ZodString;
|
|
943
1513
|
}, z.core.$strip>>;
|
|
1514
|
+
methodKind: z.ZodEnum<{
|
|
1515
|
+
manual: "manual";
|
|
1516
|
+
bank_transfer: "bank_transfer";
|
|
1517
|
+
cryptocurrency: "cryptocurrency";
|
|
1518
|
+
card: "card";
|
|
1519
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1520
|
+
direct_debit: "direct_debit";
|
|
1521
|
+
wallet: "wallet";
|
|
1522
|
+
mobile_money: "mobile_money";
|
|
1523
|
+
bnpl: "bnpl";
|
|
1524
|
+
gift_card: "gift_card";
|
|
1525
|
+
cash: "cash";
|
|
1526
|
+
cheque: "cheque";
|
|
1527
|
+
other: "other";
|
|
1528
|
+
}>;
|
|
944
1529
|
}, z.core.$loose>;
|
|
945
1530
|
mapping: z.ZodObject<{
|
|
946
1531
|
debitAccount: z.ZodOptional<z.ZodString>;
|
|
@@ -960,6 +1545,21 @@ declare const TransactionUnmatched: RevenueEventDefinition<z.ZodObject<{
|
|
|
960
1545
|
amount: z.ZodNumber;
|
|
961
1546
|
currency: z.ZodString;
|
|
962
1547
|
}, z.core.$strip>>;
|
|
1548
|
+
methodKind: z.ZodEnum<{
|
|
1549
|
+
manual: "manual";
|
|
1550
|
+
bank_transfer: "bank_transfer";
|
|
1551
|
+
cryptocurrency: "cryptocurrency";
|
|
1552
|
+
card: "card";
|
|
1553
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1554
|
+
direct_debit: "direct_debit";
|
|
1555
|
+
wallet: "wallet";
|
|
1556
|
+
mobile_money: "mobile_money";
|
|
1557
|
+
bnpl: "bnpl";
|
|
1558
|
+
gift_card: "gift_card";
|
|
1559
|
+
cash: "cash";
|
|
1560
|
+
cheque: "cheque";
|
|
1561
|
+
other: "other";
|
|
1562
|
+
}>;
|
|
963
1563
|
}, z.core.$loose>;
|
|
964
1564
|
unmatchedBy: z.ZodOptional<z.ZodString>;
|
|
965
1565
|
}, z.core.$strip>>;
|
|
@@ -973,6 +1573,21 @@ declare const TransactionJournalized: RevenueEventDefinition<z.ZodObject<{
|
|
|
973
1573
|
amount: z.ZodNumber;
|
|
974
1574
|
currency: z.ZodString;
|
|
975
1575
|
}, z.core.$strip>>;
|
|
1576
|
+
methodKind: z.ZodEnum<{
|
|
1577
|
+
manual: "manual";
|
|
1578
|
+
bank_transfer: "bank_transfer";
|
|
1579
|
+
cryptocurrency: "cryptocurrency";
|
|
1580
|
+
card: "card";
|
|
1581
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1582
|
+
direct_debit: "direct_debit";
|
|
1583
|
+
wallet: "wallet";
|
|
1584
|
+
mobile_money: "mobile_money";
|
|
1585
|
+
bnpl: "bnpl";
|
|
1586
|
+
gift_card: "gift_card";
|
|
1587
|
+
cash: "cash";
|
|
1588
|
+
cheque: "cheque";
|
|
1589
|
+
other: "other";
|
|
1590
|
+
}>;
|
|
976
1591
|
}, z.core.$loose>;
|
|
977
1592
|
journalEntryRef: z.ZodObject<{
|
|
978
1593
|
type: z.ZodString;
|
|
@@ -990,6 +1605,21 @@ declare const TransactionRejected: RevenueEventDefinition<z.ZodObject<{
|
|
|
990
1605
|
amount: z.ZodNumber;
|
|
991
1606
|
currency: z.ZodString;
|
|
992
1607
|
}, z.core.$strip>>;
|
|
1608
|
+
methodKind: z.ZodEnum<{
|
|
1609
|
+
manual: "manual";
|
|
1610
|
+
bank_transfer: "bank_transfer";
|
|
1611
|
+
cryptocurrency: "cryptocurrency";
|
|
1612
|
+
card: "card";
|
|
1613
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1614
|
+
direct_debit: "direct_debit";
|
|
1615
|
+
wallet: "wallet";
|
|
1616
|
+
mobile_money: "mobile_money";
|
|
1617
|
+
bnpl: "bnpl";
|
|
1618
|
+
gift_card: "gift_card";
|
|
1619
|
+
cash: "cash";
|
|
1620
|
+
cheque: "cheque";
|
|
1621
|
+
other: "other";
|
|
1622
|
+
}>;
|
|
993
1623
|
}, z.core.$loose>;
|
|
994
1624
|
reason: z.ZodString;
|
|
995
1625
|
rejectedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1004,6 +1634,21 @@ declare const TransactionRemovedByFeed: RevenueEventDefinition<z.ZodObject<{
|
|
|
1004
1634
|
amount: z.ZodNumber;
|
|
1005
1635
|
currency: z.ZodString;
|
|
1006
1636
|
}, z.core.$strip>>;
|
|
1637
|
+
methodKind: z.ZodEnum<{
|
|
1638
|
+
manual: "manual";
|
|
1639
|
+
bank_transfer: "bank_transfer";
|
|
1640
|
+
cryptocurrency: "cryptocurrency";
|
|
1641
|
+
card: "card";
|
|
1642
|
+
instant_bank_transfer: "instant_bank_transfer";
|
|
1643
|
+
direct_debit: "direct_debit";
|
|
1644
|
+
wallet: "wallet";
|
|
1645
|
+
mobile_money: "mobile_money";
|
|
1646
|
+
bnpl: "bnpl";
|
|
1647
|
+
gift_card: "gift_card";
|
|
1648
|
+
cash: "cash";
|
|
1649
|
+
cheque: "cheque";
|
|
1650
|
+
other: "other";
|
|
1651
|
+
}>;
|
|
1007
1652
|
}, z.core.$loose>;
|
|
1008
1653
|
source: z.ZodString;
|
|
1009
1654
|
externalId: z.ZodString;
|