@voyantjs/checkout 0.24.1 → 0.24.3

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.
@@ -0,0 +1,1041 @@
1
+ import { z } from "zod";
2
+ export declare const checkoutCollectionMethodSchema: z.ZodEnum<{
3
+ bank_transfer: "bank_transfer";
4
+ card: "card";
5
+ }>;
6
+ export declare const checkoutCollectionStageSchema: z.ZodEnum<{
7
+ manual: "manual";
8
+ initial: "initial";
9
+ reminder: "reminder";
10
+ }>;
11
+ export declare const checkoutCollectionIntentSchema: z.ZodEnum<{
12
+ custom: "custom";
13
+ deposit: "deposit";
14
+ balance: "balance";
15
+ }>;
16
+ export declare const checkoutPaymentSessionTargetSchema: z.ZodEnum<{
17
+ invoice: "invoice";
18
+ schedule: "schedule";
19
+ }>;
20
+ export declare const checkoutInvoiceDocumentTypeSchema: z.ZodEnum<{
21
+ invoice: "invoice";
22
+ proforma: "proforma";
23
+ }>;
24
+ export declare const checkoutProviderStartInputSchema: z.ZodObject<{
25
+ provider: z.ZodString;
26
+ payload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27
+ }, z.core.$strip>;
28
+ export declare const previewCheckoutCollectionSchema: z.ZodObject<{
29
+ method: z.ZodEnum<{
30
+ bank_transfer: "bank_transfer";
31
+ card: "card";
32
+ }>;
33
+ stage: z.ZodDefault<z.ZodEnum<{
34
+ manual: "manual";
35
+ initial: "initial";
36
+ reminder: "reminder";
37
+ }>>;
38
+ scheduleId: z.ZodOptional<z.ZodString>;
39
+ invoiceId: z.ZodOptional<z.ZodString>;
40
+ amountCents: z.ZodOptional<z.ZodNumber>;
41
+ ensureDefaultPaymentPlan: z.ZodDefault<z.ZodBoolean>;
42
+ paymentSessionTarget: z.ZodOptional<z.ZodEnum<{
43
+ invoice: "invoice";
44
+ schedule: "schedule";
45
+ }>>;
46
+ paymentPlan: z.ZodOptional<z.ZodObject<{
47
+ depositMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
48
+ percentage: "percentage";
49
+ none: "none";
50
+ fixed_amount: "fixed_amount";
51
+ }>>>;
52
+ depositValue: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
53
+ depositDueDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
54
+ balanceDueDaysBeforeStart: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
55
+ clearExistingPending: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
56
+ createGuarantee: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
57
+ guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
58
+ other: "other";
59
+ voucher: "voucher";
60
+ bank_transfer: "bank_transfer";
61
+ credit_card: "credit_card";
62
+ deposit: "deposit";
63
+ preauth: "preauth";
64
+ card_on_file: "card_on_file";
65
+ agency_letter: "agency_letter";
66
+ }>>>;
67
+ notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
68
+ }, z.core.$strip>>;
69
+ }, z.core.$strip>;
70
+ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
71
+ method: z.ZodEnum<{
72
+ bank_transfer: "bank_transfer";
73
+ card: "card";
74
+ }>;
75
+ stage: z.ZodDefault<z.ZodEnum<{
76
+ manual: "manual";
77
+ initial: "initial";
78
+ reminder: "reminder";
79
+ }>>;
80
+ scheduleId: z.ZodOptional<z.ZodString>;
81
+ invoiceId: z.ZodOptional<z.ZodString>;
82
+ amountCents: z.ZodOptional<z.ZodNumber>;
83
+ ensureDefaultPaymentPlan: z.ZodDefault<z.ZodBoolean>;
84
+ paymentSessionTarget: z.ZodOptional<z.ZodEnum<{
85
+ invoice: "invoice";
86
+ schedule: "schedule";
87
+ }>>;
88
+ paymentPlan: z.ZodOptional<z.ZodObject<{
89
+ depositMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
90
+ percentage: "percentage";
91
+ none: "none";
92
+ fixed_amount: "fixed_amount";
93
+ }>>>;
94
+ depositValue: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
95
+ depositDueDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
96
+ balanceDueDaysBeforeStart: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
97
+ clearExistingPending: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
98
+ createGuarantee: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
99
+ guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
100
+ other: "other";
101
+ voucher: "voucher";
102
+ bank_transfer: "bank_transfer";
103
+ credit_card: "credit_card";
104
+ deposit: "deposit";
105
+ preauth: "preauth";
106
+ card_on_file: "card_on_file";
107
+ agency_letter: "agency_letter";
108
+ }>>>;
109
+ notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
110
+ }, z.core.$strip>>;
111
+ paymentSession: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
112
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
113
+ paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
114
+ other: "other";
115
+ voucher: "voucher";
116
+ wallet: "wallet";
117
+ bank_transfer: "bank_transfer";
118
+ credit_card: "credit_card";
119
+ debit_card: "debit_card";
120
+ cash: "cash";
121
+ cheque: "cheque";
122
+ direct_bill: "direct_bill";
123
+ }>>>;
124
+ payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
+ payerOrganizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ payerEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
128
+ externalReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
129
+ idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
130
+ clientReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
131
+ returnUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
+ cancelUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
133
+ callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
134
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
135
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
136
+ providerPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
137
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
138
+ }, z.core.$strip>, z.ZodObject<{
139
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
140
+ paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
141
+ other: "other";
142
+ voucher: "voucher";
143
+ wallet: "wallet";
144
+ bank_transfer: "bank_transfer";
145
+ credit_card: "credit_card";
146
+ debit_card: "debit_card";
147
+ cash: "cash";
148
+ cheque: "cheque";
149
+ direct_bill: "direct_bill";
150
+ }>>>;
151
+ payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ payerOrganizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ payerEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
+ payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ externalReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
157
+ clientReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ returnUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
+ cancelUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
+ callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
+ providerPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
164
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
165
+ }, z.core.$strip>]>>;
166
+ paymentSessionNotification: z.ZodOptional<z.ZodObject<{
167
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
168
+ templateSlug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
169
+ channel: z.ZodDefault<z.ZodEnum<{
170
+ email: "email";
171
+ sms: "sms";
172
+ }>>;
173
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
174
+ to: z.ZodNullable<z.ZodOptional<z.ZodString>>;
175
+ from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
176
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
177
+ html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
178
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
179
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
180
+ filename: z.ZodString;
181
+ contentBase64: z.ZodNullable<z.ZodOptional<z.ZodString>>;
182
+ path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
183
+ contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
184
+ disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
185
+ attachment: "attachment";
186
+ inline: "inline";
187
+ }>>>;
188
+ contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
189
+ }, z.core.$strip>>>>;
190
+ data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
191
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
192
+ scheduledFor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
193
+ }, z.core.$strip>>;
194
+ invoiceNotification: z.ZodOptional<z.ZodObject<{
195
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
196
+ templateSlug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
197
+ channel: z.ZodDefault<z.ZodEnum<{
198
+ email: "email";
199
+ sms: "sms";
200
+ }>>;
201
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
202
+ to: z.ZodNullable<z.ZodOptional<z.ZodString>>;
203
+ from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
204
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
205
+ html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
206
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
207
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
208
+ filename: z.ZodString;
209
+ contentBase64: z.ZodNullable<z.ZodOptional<z.ZodString>>;
210
+ path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
211
+ contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
212
+ disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
213
+ attachment: "attachment";
214
+ inline: "inline";
215
+ }>>>;
216
+ contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
217
+ }, z.core.$strip>>>>;
218
+ data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
219
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
220
+ scheduledFor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
221
+ }, z.core.$strip>>;
222
+ startProvider: z.ZodOptional<z.ZodObject<{
223
+ provider: z.ZodString;
224
+ payload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
225
+ }, z.core.$strip>>;
226
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
+ }, z.core.$strip>;
228
+ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
229
+ method: z.ZodEnum<{
230
+ bank_transfer: "bank_transfer";
231
+ card: "card";
232
+ }>;
233
+ stage: z.ZodDefault<z.ZodEnum<{
234
+ manual: "manual";
235
+ initial: "initial";
236
+ reminder: "reminder";
237
+ }>>;
238
+ scheduleId: z.ZodOptional<z.ZodString>;
239
+ invoiceId: z.ZodOptional<z.ZodString>;
240
+ amountCents: z.ZodOptional<z.ZodNumber>;
241
+ ensureDefaultPaymentPlan: z.ZodDefault<z.ZodBoolean>;
242
+ paymentSessionTarget: z.ZodOptional<z.ZodEnum<{
243
+ invoice: "invoice";
244
+ schedule: "schedule";
245
+ }>>;
246
+ paymentPlan: z.ZodOptional<z.ZodObject<{
247
+ depositMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
248
+ percentage: "percentage";
249
+ none: "none";
250
+ fixed_amount: "fixed_amount";
251
+ }>>>;
252
+ depositValue: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
253
+ depositDueDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
254
+ balanceDueDaysBeforeStart: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
255
+ clearExistingPending: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
256
+ createGuarantee: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
257
+ guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
258
+ other: "other";
259
+ voucher: "voucher";
260
+ bank_transfer: "bank_transfer";
261
+ credit_card: "credit_card";
262
+ deposit: "deposit";
263
+ preauth: "preauth";
264
+ card_on_file: "card_on_file";
265
+ agency_letter: "agency_letter";
266
+ }>>>;
267
+ notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
268
+ }, z.core.$strip>>;
269
+ paymentSession: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
270
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
271
+ paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
272
+ other: "other";
273
+ voucher: "voucher";
274
+ wallet: "wallet";
275
+ bank_transfer: "bank_transfer";
276
+ credit_card: "credit_card";
277
+ debit_card: "debit_card";
278
+ cash: "cash";
279
+ cheque: "cheque";
280
+ direct_bill: "direct_bill";
281
+ }>>>;
282
+ payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
283
+ payerOrganizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
284
+ payerEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
285
+ payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
286
+ externalReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
+ idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
288
+ clientReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
289
+ returnUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
290
+ cancelUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
291
+ callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
292
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
293
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
294
+ providerPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
295
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
296
+ }, z.core.$strip>, z.ZodObject<{
297
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
298
+ paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
299
+ other: "other";
300
+ voucher: "voucher";
301
+ wallet: "wallet";
302
+ bank_transfer: "bank_transfer";
303
+ credit_card: "credit_card";
304
+ debit_card: "debit_card";
305
+ cash: "cash";
306
+ cheque: "cheque";
307
+ direct_bill: "direct_bill";
308
+ }>>>;
309
+ payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
310
+ payerOrganizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
311
+ payerEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
312
+ payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
313
+ externalReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
314
+ idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
315
+ clientReference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
+ returnUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
+ cancelUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
318
+ callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
319
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
320
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
321
+ providerPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
322
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
323
+ }, z.core.$strip>]>>;
324
+ paymentSessionNotification: z.ZodOptional<z.ZodObject<{
325
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
326
+ templateSlug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
327
+ channel: z.ZodDefault<z.ZodEnum<{
328
+ email: "email";
329
+ sms: "sms";
330
+ }>>;
331
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
332
+ to: z.ZodNullable<z.ZodOptional<z.ZodString>>;
333
+ from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
334
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
335
+ html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
336
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
337
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
338
+ filename: z.ZodString;
339
+ contentBase64: z.ZodNullable<z.ZodOptional<z.ZodString>>;
340
+ path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
341
+ contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
342
+ disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
343
+ attachment: "attachment";
344
+ inline: "inline";
345
+ }>>>;
346
+ contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
347
+ }, z.core.$strip>>>>;
348
+ data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
349
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
350
+ scheduledFor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
351
+ }, z.core.$strip>>;
352
+ invoiceNotification: z.ZodOptional<z.ZodObject<{
353
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
354
+ templateSlug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
355
+ channel: z.ZodDefault<z.ZodEnum<{
356
+ email: "email";
357
+ sms: "sms";
358
+ }>>;
359
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
360
+ to: z.ZodNullable<z.ZodOptional<z.ZodString>>;
361
+ from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
362
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
363
+ html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
364
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
366
+ filename: z.ZodString;
367
+ contentBase64: z.ZodNullable<z.ZodOptional<z.ZodString>>;
368
+ path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
369
+ contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
370
+ disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
371
+ attachment: "attachment";
372
+ inline: "inline";
373
+ }>>>;
374
+ contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
375
+ }, z.core.$strip>>>>;
376
+ data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
377
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
378
+ scheduledFor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
379
+ }, z.core.$strip>>;
380
+ startProvider: z.ZodOptional<z.ZodObject<{
381
+ provider: z.ZodString;
382
+ payload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
383
+ }, z.core.$strip>>;
384
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
385
+ bookingId: z.ZodOptional<z.ZodString>;
386
+ sessionId: z.ZodOptional<z.ZodString>;
387
+ intent: z.ZodOptional<z.ZodEnum<{
388
+ custom: "custom";
389
+ deposit: "deposit";
390
+ balance: "balance";
391
+ }>>;
392
+ }, z.core.$strip>;
393
+ export declare const checkoutCollectionScheduleSchema: z.ZodObject<{
394
+ id: z.ZodString;
395
+ bookingId: z.ZodString;
396
+ bookingItemId: z.ZodNullable<z.ZodString>;
397
+ scheduleType: z.ZodString;
398
+ status: z.ZodString;
399
+ dueDate: z.ZodString;
400
+ currency: z.ZodString;
401
+ amountCents: z.ZodNumber;
402
+ notes: z.ZodNullable<z.ZodString>;
403
+ }, z.core.$strip>;
404
+ export declare const checkoutCollectionInvoiceSchema: z.ZodObject<{
405
+ id: z.ZodString;
406
+ invoiceNumber: z.ZodString;
407
+ invoiceType: z.ZodString;
408
+ bookingId: z.ZodString;
409
+ personId: z.ZodNullable<z.ZodString>;
410
+ organizationId: z.ZodNullable<z.ZodString>;
411
+ status: z.ZodString;
412
+ currency: z.ZodString;
413
+ totalCents: z.ZodNumber;
414
+ paidCents: z.ZodNumber;
415
+ balanceDueCents: z.ZodNumber;
416
+ issueDate: z.ZodString;
417
+ dueDate: z.ZodString;
418
+ notes: z.ZodNullable<z.ZodString>;
419
+ createdAt: z.ZodString;
420
+ updatedAt: z.ZodString;
421
+ }, z.core.$strip>;
422
+ export declare const checkoutNotificationDeliverySchema: z.ZodObject<{
423
+ id: z.ZodString;
424
+ templateSlug: z.ZodNullable<z.ZodString>;
425
+ channel: z.ZodEnum<{
426
+ email: "email";
427
+ sms: "sms";
428
+ }>;
429
+ provider: z.ZodString;
430
+ status: z.ZodEnum<{
431
+ pending: "pending";
432
+ failed: "failed";
433
+ cancelled: "cancelled";
434
+ sent: "sent";
435
+ }>;
436
+ toAddress: z.ZodString;
437
+ subject: z.ZodNullable<z.ZodString>;
438
+ sentAt: z.ZodNullable<z.ZodString>;
439
+ failedAt: z.ZodNullable<z.ZodString>;
440
+ errorMessage: z.ZodNullable<z.ZodString>;
441
+ }, z.core.$strip>;
442
+ export declare const checkoutBankTransferInstructionsSchema: z.ZodObject<{
443
+ provider: z.ZodNullable<z.ZodString>;
444
+ invoiceId: z.ZodString;
445
+ invoiceNumber: z.ZodString;
446
+ documentType: z.ZodEnum<{
447
+ invoice: "invoice";
448
+ proforma: "proforma";
449
+ }>;
450
+ amountCents: z.ZodNumber;
451
+ currency: z.ZodString;
452
+ dueDate: z.ZodNullable<z.ZodString>;
453
+ beneficiary: z.ZodString;
454
+ iban: z.ZodString;
455
+ bankName: z.ZodNullable<z.ZodString>;
456
+ notes: z.ZodNullable<z.ZodString>;
457
+ }, z.core.$strip>;
458
+ export declare const checkoutProviderStartResultSchema: z.ZodObject<{
459
+ provider: z.ZodString;
460
+ paymentSessionId: z.ZodString;
461
+ redirectUrl: z.ZodNullable<z.ZodString>;
462
+ externalReference: z.ZodNullable<z.ZodString>;
463
+ providerSessionId: z.ZodNullable<z.ZodString>;
464
+ providerPaymentId: z.ZodNullable<z.ZodString>;
465
+ response: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
466
+ }, z.core.$strip>;
467
+ export declare const checkoutCollectionPlanSchema: z.ZodObject<{
468
+ bookingId: z.ZodString;
469
+ method: z.ZodEnum<{
470
+ bank_transfer: "bank_transfer";
471
+ card: "card";
472
+ }>;
473
+ stage: z.ZodEnum<{
474
+ manual: "manual";
475
+ initial: "initial";
476
+ reminder: "reminder";
477
+ }>;
478
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
479
+ invoice: "invoice";
480
+ schedule: "schedule";
481
+ }>>;
482
+ documentType: z.ZodNullable<z.ZodEnum<{
483
+ invoice: "invoice";
484
+ proforma: "proforma";
485
+ }>>;
486
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
487
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
488
+ id: z.ZodString;
489
+ bookingId: z.ZodString;
490
+ bookingItemId: z.ZodNullable<z.ZodString>;
491
+ scheduleType: z.ZodString;
492
+ status: z.ZodString;
493
+ dueDate: z.ZodString;
494
+ currency: z.ZodString;
495
+ amountCents: z.ZodNumber;
496
+ notes: z.ZodNullable<z.ZodString>;
497
+ }, z.core.$strip>>;
498
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
499
+ id: z.ZodString;
500
+ invoiceNumber: z.ZodString;
501
+ invoiceType: z.ZodString;
502
+ bookingId: z.ZodString;
503
+ personId: z.ZodNullable<z.ZodString>;
504
+ organizationId: z.ZodNullable<z.ZodString>;
505
+ status: z.ZodString;
506
+ currency: z.ZodString;
507
+ totalCents: z.ZodNumber;
508
+ paidCents: z.ZodNumber;
509
+ balanceDueCents: z.ZodNumber;
510
+ issueDate: z.ZodString;
511
+ dueDate: z.ZodString;
512
+ notes: z.ZodNullable<z.ZodString>;
513
+ createdAt: z.ZodString;
514
+ updatedAt: z.ZodString;
515
+ }, z.core.$strip>>;
516
+ amountCents: z.ZodNumber;
517
+ currency: z.ZodString;
518
+ recommendedAction: z.ZodEnum<{
519
+ none: "none";
520
+ create_bank_transfer_document: "create_bank_transfer_document";
521
+ create_payment_session: "create_payment_session";
522
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
523
+ }>;
524
+ }, z.core.$strip>;
525
+ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
526
+ plan: z.ZodObject<{
527
+ bookingId: z.ZodString;
528
+ method: z.ZodEnum<{
529
+ bank_transfer: "bank_transfer";
530
+ card: "card";
531
+ }>;
532
+ stage: z.ZodEnum<{
533
+ manual: "manual";
534
+ initial: "initial";
535
+ reminder: "reminder";
536
+ }>;
537
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
538
+ invoice: "invoice";
539
+ schedule: "schedule";
540
+ }>>;
541
+ documentType: z.ZodNullable<z.ZodEnum<{
542
+ invoice: "invoice";
543
+ proforma: "proforma";
544
+ }>>;
545
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
546
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
547
+ id: z.ZodString;
548
+ bookingId: z.ZodString;
549
+ bookingItemId: z.ZodNullable<z.ZodString>;
550
+ scheduleType: z.ZodString;
551
+ status: z.ZodString;
552
+ dueDate: z.ZodString;
553
+ currency: z.ZodString;
554
+ amountCents: z.ZodNumber;
555
+ notes: z.ZodNullable<z.ZodString>;
556
+ }, z.core.$strip>>;
557
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
558
+ id: z.ZodString;
559
+ invoiceNumber: z.ZodString;
560
+ invoiceType: z.ZodString;
561
+ bookingId: z.ZodString;
562
+ personId: z.ZodNullable<z.ZodString>;
563
+ organizationId: z.ZodNullable<z.ZodString>;
564
+ status: z.ZodString;
565
+ currency: z.ZodString;
566
+ totalCents: z.ZodNumber;
567
+ paidCents: z.ZodNumber;
568
+ balanceDueCents: z.ZodNumber;
569
+ issueDate: z.ZodString;
570
+ dueDate: z.ZodString;
571
+ notes: z.ZodNullable<z.ZodString>;
572
+ createdAt: z.ZodString;
573
+ updatedAt: z.ZodString;
574
+ }, z.core.$strip>>;
575
+ amountCents: z.ZodNumber;
576
+ currency: z.ZodString;
577
+ recommendedAction: z.ZodEnum<{
578
+ none: "none";
579
+ create_bank_transfer_document: "create_bank_transfer_document";
580
+ create_payment_session: "create_payment_session";
581
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
582
+ }>;
583
+ }, z.core.$strip>;
584
+ invoice: z.ZodNullable<z.ZodObject<{
585
+ id: z.ZodString;
586
+ invoiceNumber: z.ZodString;
587
+ invoiceType: z.ZodString;
588
+ bookingId: z.ZodString;
589
+ personId: z.ZodNullable<z.ZodString>;
590
+ organizationId: z.ZodNullable<z.ZodString>;
591
+ status: z.ZodString;
592
+ currency: z.ZodString;
593
+ totalCents: z.ZodNumber;
594
+ paidCents: z.ZodNumber;
595
+ balanceDueCents: z.ZodNumber;
596
+ issueDate: z.ZodString;
597
+ dueDate: z.ZodString;
598
+ notes: z.ZodNullable<z.ZodString>;
599
+ createdAt: z.ZodString;
600
+ updatedAt: z.ZodString;
601
+ }, z.core.$strip>>;
602
+ paymentSession: z.ZodNullable<z.ZodObject<{
603
+ id: z.ZodString;
604
+ targetType: z.ZodEnum<{
605
+ other: "other";
606
+ booking: "booking";
607
+ order: "order";
608
+ invoice: "invoice";
609
+ booking_payment_schedule: "booking_payment_schedule";
610
+ booking_guarantee: "booking_guarantee";
611
+ flight_order: "flight_order";
612
+ }>;
613
+ targetId: z.ZodNullable<z.ZodString>;
614
+ bookingId: z.ZodNullable<z.ZodString>;
615
+ invoiceId: z.ZodNullable<z.ZodString>;
616
+ bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
617
+ bookingGuaranteeId: z.ZodNullable<z.ZodString>;
618
+ status: z.ZodEnum<{
619
+ pending: "pending";
620
+ failed: "failed";
621
+ expired: "expired";
622
+ cancelled: "cancelled";
623
+ paid: "paid";
624
+ requires_redirect: "requires_redirect";
625
+ processing: "processing";
626
+ authorized: "authorized";
627
+ }>;
628
+ provider: z.ZodNullable<z.ZodString>;
629
+ providerSessionId: z.ZodNullable<z.ZodString>;
630
+ providerPaymentId: z.ZodNullable<z.ZodString>;
631
+ externalReference: z.ZodNullable<z.ZodString>;
632
+ clientReference: z.ZodNullable<z.ZodString>;
633
+ currency: z.ZodString;
634
+ amountCents: z.ZodNumber;
635
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
636
+ other: "other";
637
+ voucher: "voucher";
638
+ wallet: "wallet";
639
+ bank_transfer: "bank_transfer";
640
+ credit_card: "credit_card";
641
+ debit_card: "debit_card";
642
+ cash: "cash";
643
+ cheque: "cheque";
644
+ direct_bill: "direct_bill";
645
+ }>>;
646
+ payerEmail: z.ZodNullable<z.ZodString>;
647
+ payerName: z.ZodNullable<z.ZodString>;
648
+ redirectUrl: z.ZodNullable<z.ZodString>;
649
+ returnUrl: z.ZodNullable<z.ZodString>;
650
+ cancelUrl: z.ZodNullable<z.ZodString>;
651
+ expiresAt: z.ZodNullable<z.ZodString>;
652
+ completedAt: z.ZodNullable<z.ZodString>;
653
+ failureCode: z.ZodNullable<z.ZodString>;
654
+ failureMessage: z.ZodNullable<z.ZodString>;
655
+ notes: z.ZodNullable<z.ZodString>;
656
+ }, z.core.$strip>>;
657
+ invoiceNotification: z.ZodNullable<z.ZodObject<{
658
+ id: z.ZodString;
659
+ templateSlug: z.ZodNullable<z.ZodString>;
660
+ channel: z.ZodEnum<{
661
+ email: "email";
662
+ sms: "sms";
663
+ }>;
664
+ provider: z.ZodString;
665
+ status: z.ZodEnum<{
666
+ pending: "pending";
667
+ failed: "failed";
668
+ cancelled: "cancelled";
669
+ sent: "sent";
670
+ }>;
671
+ toAddress: z.ZodString;
672
+ subject: z.ZodNullable<z.ZodString>;
673
+ sentAt: z.ZodNullable<z.ZodString>;
674
+ failedAt: z.ZodNullable<z.ZodString>;
675
+ errorMessage: z.ZodNullable<z.ZodString>;
676
+ }, z.core.$strip>>;
677
+ paymentSessionNotification: z.ZodNullable<z.ZodObject<{
678
+ id: z.ZodString;
679
+ templateSlug: z.ZodNullable<z.ZodString>;
680
+ channel: z.ZodEnum<{
681
+ email: "email";
682
+ sms: "sms";
683
+ }>;
684
+ provider: z.ZodString;
685
+ status: z.ZodEnum<{
686
+ pending: "pending";
687
+ failed: "failed";
688
+ cancelled: "cancelled";
689
+ sent: "sent";
690
+ }>;
691
+ toAddress: z.ZodString;
692
+ subject: z.ZodNullable<z.ZodString>;
693
+ sentAt: z.ZodNullable<z.ZodString>;
694
+ failedAt: z.ZodNullable<z.ZodString>;
695
+ errorMessage: z.ZodNullable<z.ZodString>;
696
+ }, z.core.$strip>>;
697
+ bankTransferInstructions: z.ZodNullable<z.ZodObject<{
698
+ provider: z.ZodNullable<z.ZodString>;
699
+ invoiceId: z.ZodString;
700
+ invoiceNumber: z.ZodString;
701
+ documentType: z.ZodEnum<{
702
+ invoice: "invoice";
703
+ proforma: "proforma";
704
+ }>;
705
+ amountCents: z.ZodNumber;
706
+ currency: z.ZodString;
707
+ dueDate: z.ZodNullable<z.ZodString>;
708
+ beneficiary: z.ZodString;
709
+ iban: z.ZodString;
710
+ bankName: z.ZodNullable<z.ZodString>;
711
+ notes: z.ZodNullable<z.ZodString>;
712
+ }, z.core.$strip>>;
713
+ providerStart: z.ZodNullable<z.ZodObject<{
714
+ provider: z.ZodString;
715
+ paymentSessionId: z.ZodString;
716
+ redirectUrl: z.ZodNullable<z.ZodString>;
717
+ externalReference: z.ZodNullable<z.ZodString>;
718
+ providerSessionId: z.ZodNullable<z.ZodString>;
719
+ providerPaymentId: z.ZodNullable<z.ZodString>;
720
+ response: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
721
+ }, z.core.$strip>>;
722
+ }, z.core.$strip>;
723
+ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
724
+ plan: z.ZodObject<{
725
+ bookingId: z.ZodString;
726
+ method: z.ZodEnum<{
727
+ bank_transfer: "bank_transfer";
728
+ card: "card";
729
+ }>;
730
+ stage: z.ZodEnum<{
731
+ manual: "manual";
732
+ initial: "initial";
733
+ reminder: "reminder";
734
+ }>;
735
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
736
+ invoice: "invoice";
737
+ schedule: "schedule";
738
+ }>>;
739
+ documentType: z.ZodNullable<z.ZodEnum<{
740
+ invoice: "invoice";
741
+ proforma: "proforma";
742
+ }>>;
743
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
744
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
745
+ id: z.ZodString;
746
+ bookingId: z.ZodString;
747
+ bookingItemId: z.ZodNullable<z.ZodString>;
748
+ scheduleType: z.ZodString;
749
+ status: z.ZodString;
750
+ dueDate: z.ZodString;
751
+ currency: z.ZodString;
752
+ amountCents: z.ZodNumber;
753
+ notes: z.ZodNullable<z.ZodString>;
754
+ }, z.core.$strip>>;
755
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
756
+ id: z.ZodString;
757
+ invoiceNumber: z.ZodString;
758
+ invoiceType: z.ZodString;
759
+ bookingId: z.ZodString;
760
+ personId: z.ZodNullable<z.ZodString>;
761
+ organizationId: z.ZodNullable<z.ZodString>;
762
+ status: z.ZodString;
763
+ currency: z.ZodString;
764
+ totalCents: z.ZodNumber;
765
+ paidCents: z.ZodNumber;
766
+ balanceDueCents: z.ZodNumber;
767
+ issueDate: z.ZodString;
768
+ dueDate: z.ZodString;
769
+ notes: z.ZodNullable<z.ZodString>;
770
+ createdAt: z.ZodString;
771
+ updatedAt: z.ZodString;
772
+ }, z.core.$strip>>;
773
+ amountCents: z.ZodNumber;
774
+ currency: z.ZodString;
775
+ recommendedAction: z.ZodEnum<{
776
+ none: "none";
777
+ create_bank_transfer_document: "create_bank_transfer_document";
778
+ create_payment_session: "create_payment_session";
779
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
780
+ }>;
781
+ }, z.core.$strip>;
782
+ invoice: z.ZodNullable<z.ZodObject<{
783
+ id: z.ZodString;
784
+ invoiceNumber: z.ZodString;
785
+ invoiceType: z.ZodString;
786
+ bookingId: z.ZodString;
787
+ personId: z.ZodNullable<z.ZodString>;
788
+ organizationId: z.ZodNullable<z.ZodString>;
789
+ status: z.ZodString;
790
+ currency: z.ZodString;
791
+ totalCents: z.ZodNumber;
792
+ paidCents: z.ZodNumber;
793
+ balanceDueCents: z.ZodNumber;
794
+ issueDate: z.ZodString;
795
+ dueDate: z.ZodString;
796
+ notes: z.ZodNullable<z.ZodString>;
797
+ createdAt: z.ZodString;
798
+ updatedAt: z.ZodString;
799
+ }, z.core.$strip>>;
800
+ paymentSession: z.ZodNullable<z.ZodObject<{
801
+ id: z.ZodString;
802
+ targetType: z.ZodEnum<{
803
+ other: "other";
804
+ booking: "booking";
805
+ order: "order";
806
+ invoice: "invoice";
807
+ booking_payment_schedule: "booking_payment_schedule";
808
+ booking_guarantee: "booking_guarantee";
809
+ flight_order: "flight_order";
810
+ }>;
811
+ targetId: z.ZodNullable<z.ZodString>;
812
+ bookingId: z.ZodNullable<z.ZodString>;
813
+ invoiceId: z.ZodNullable<z.ZodString>;
814
+ bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
815
+ bookingGuaranteeId: z.ZodNullable<z.ZodString>;
816
+ status: z.ZodEnum<{
817
+ pending: "pending";
818
+ failed: "failed";
819
+ expired: "expired";
820
+ cancelled: "cancelled";
821
+ paid: "paid";
822
+ requires_redirect: "requires_redirect";
823
+ processing: "processing";
824
+ authorized: "authorized";
825
+ }>;
826
+ provider: z.ZodNullable<z.ZodString>;
827
+ providerSessionId: z.ZodNullable<z.ZodString>;
828
+ providerPaymentId: z.ZodNullable<z.ZodString>;
829
+ externalReference: z.ZodNullable<z.ZodString>;
830
+ clientReference: z.ZodNullable<z.ZodString>;
831
+ currency: z.ZodString;
832
+ amountCents: z.ZodNumber;
833
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
834
+ other: "other";
835
+ voucher: "voucher";
836
+ wallet: "wallet";
837
+ bank_transfer: "bank_transfer";
838
+ credit_card: "credit_card";
839
+ debit_card: "debit_card";
840
+ cash: "cash";
841
+ cheque: "cheque";
842
+ direct_bill: "direct_bill";
843
+ }>>;
844
+ payerEmail: z.ZodNullable<z.ZodString>;
845
+ payerName: z.ZodNullable<z.ZodString>;
846
+ redirectUrl: z.ZodNullable<z.ZodString>;
847
+ returnUrl: z.ZodNullable<z.ZodString>;
848
+ cancelUrl: z.ZodNullable<z.ZodString>;
849
+ expiresAt: z.ZodNullable<z.ZodString>;
850
+ completedAt: z.ZodNullable<z.ZodString>;
851
+ failureCode: z.ZodNullable<z.ZodString>;
852
+ failureMessage: z.ZodNullable<z.ZodString>;
853
+ notes: z.ZodNullable<z.ZodString>;
854
+ }, z.core.$strip>>;
855
+ invoiceNotification: z.ZodNullable<z.ZodObject<{
856
+ id: z.ZodString;
857
+ templateSlug: z.ZodNullable<z.ZodString>;
858
+ channel: z.ZodEnum<{
859
+ email: "email";
860
+ sms: "sms";
861
+ }>;
862
+ provider: z.ZodString;
863
+ status: z.ZodEnum<{
864
+ pending: "pending";
865
+ failed: "failed";
866
+ cancelled: "cancelled";
867
+ sent: "sent";
868
+ }>;
869
+ toAddress: z.ZodString;
870
+ subject: z.ZodNullable<z.ZodString>;
871
+ sentAt: z.ZodNullable<z.ZodString>;
872
+ failedAt: z.ZodNullable<z.ZodString>;
873
+ errorMessage: z.ZodNullable<z.ZodString>;
874
+ }, z.core.$strip>>;
875
+ paymentSessionNotification: z.ZodNullable<z.ZodObject<{
876
+ id: z.ZodString;
877
+ templateSlug: z.ZodNullable<z.ZodString>;
878
+ channel: z.ZodEnum<{
879
+ email: "email";
880
+ sms: "sms";
881
+ }>;
882
+ provider: z.ZodString;
883
+ status: z.ZodEnum<{
884
+ pending: "pending";
885
+ failed: "failed";
886
+ cancelled: "cancelled";
887
+ sent: "sent";
888
+ }>;
889
+ toAddress: z.ZodString;
890
+ subject: z.ZodNullable<z.ZodString>;
891
+ sentAt: z.ZodNullable<z.ZodString>;
892
+ failedAt: z.ZodNullable<z.ZodString>;
893
+ errorMessage: z.ZodNullable<z.ZodString>;
894
+ }, z.core.$strip>>;
895
+ bankTransferInstructions: z.ZodNullable<z.ZodObject<{
896
+ provider: z.ZodNullable<z.ZodString>;
897
+ invoiceId: z.ZodString;
898
+ invoiceNumber: z.ZodString;
899
+ documentType: z.ZodEnum<{
900
+ invoice: "invoice";
901
+ proforma: "proforma";
902
+ }>;
903
+ amountCents: z.ZodNumber;
904
+ currency: z.ZodString;
905
+ dueDate: z.ZodNullable<z.ZodString>;
906
+ beneficiary: z.ZodString;
907
+ iban: z.ZodString;
908
+ bankName: z.ZodNullable<z.ZodString>;
909
+ notes: z.ZodNullable<z.ZodString>;
910
+ }, z.core.$strip>>;
911
+ providerStart: z.ZodNullable<z.ZodObject<{
912
+ provider: z.ZodString;
913
+ paymentSessionId: z.ZodString;
914
+ redirectUrl: z.ZodNullable<z.ZodString>;
915
+ externalReference: z.ZodNullable<z.ZodString>;
916
+ providerSessionId: z.ZodNullable<z.ZodString>;
917
+ providerPaymentId: z.ZodNullable<z.ZodString>;
918
+ response: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
919
+ }, z.core.$strip>>;
920
+ bookingId: z.ZodString;
921
+ sessionId: z.ZodString;
922
+ sourceType: z.ZodEnum<{
923
+ session: "session";
924
+ booking: "booking";
925
+ }>;
926
+ intent: z.ZodEnum<{
927
+ custom: "custom";
928
+ deposit: "deposit";
929
+ balance: "balance";
930
+ }>;
931
+ }, z.core.$strip>;
932
+ export declare const checkoutReminderRunListQuerySchema: z.ZodObject<{
933
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
934
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
935
+ status: z.ZodOptional<z.ZodEnum<{
936
+ failed: "failed";
937
+ sent: "sent";
938
+ processing: "processing";
939
+ skipped: "skipped";
940
+ queued: "queued";
941
+ }>>;
942
+ }, z.core.$strip>;
943
+ export declare const checkoutReminderRunSchema: z.ZodObject<{
944
+ id: z.ZodString;
945
+ reminderRuleId: z.ZodString;
946
+ reminderRuleSlug: z.ZodNullable<z.ZodString>;
947
+ reminderRuleName: z.ZodNullable<z.ZodString>;
948
+ targetType: z.ZodEnum<{
949
+ booking_confirmed: "booking_confirmed";
950
+ invoice: "invoice";
951
+ booking_payment_schedule: "booking_payment_schedule";
952
+ payment_complete: "payment_complete";
953
+ booking_cancelled_non_payment: "booking_cancelled_non_payment";
954
+ }>;
955
+ targetId: z.ZodString;
956
+ bookingId: z.ZodNullable<z.ZodString>;
957
+ paymentSessionId: z.ZodNullable<z.ZodString>;
958
+ notificationDeliveryId: z.ZodNullable<z.ZodString>;
959
+ status: z.ZodEnum<{
960
+ failed: "failed";
961
+ sent: "sent";
962
+ processing: "processing";
963
+ skipped: "skipped";
964
+ queued: "queued";
965
+ }>;
966
+ deliveryStatus: z.ZodNullable<z.ZodEnum<{
967
+ pending: "pending";
968
+ failed: "failed";
969
+ cancelled: "cancelled";
970
+ sent: "sent";
971
+ }>>;
972
+ channel: z.ZodNullable<z.ZodEnum<{
973
+ email: "email";
974
+ sms: "sms";
975
+ }>>;
976
+ provider: z.ZodNullable<z.ZodString>;
977
+ recipient: z.ZodNullable<z.ZodString>;
978
+ scheduledFor: z.ZodString;
979
+ processedAt: z.ZodString;
980
+ errorMessage: z.ZodNullable<z.ZodString>;
981
+ relativeDaysFromDueDate: z.ZodNullable<z.ZodNumber>;
982
+ createdAt: z.ZodString;
983
+ }, z.core.$strip>;
984
+ export declare const checkoutReminderRunListResponseSchema: z.ZodObject<{
985
+ data: z.ZodArray<z.ZodObject<{
986
+ id: z.ZodString;
987
+ reminderRuleId: z.ZodString;
988
+ reminderRuleSlug: z.ZodNullable<z.ZodString>;
989
+ reminderRuleName: z.ZodNullable<z.ZodString>;
990
+ targetType: z.ZodEnum<{
991
+ booking_confirmed: "booking_confirmed";
992
+ invoice: "invoice";
993
+ booking_payment_schedule: "booking_payment_schedule";
994
+ payment_complete: "payment_complete";
995
+ booking_cancelled_non_payment: "booking_cancelled_non_payment";
996
+ }>;
997
+ targetId: z.ZodString;
998
+ bookingId: z.ZodNullable<z.ZodString>;
999
+ paymentSessionId: z.ZodNullable<z.ZodString>;
1000
+ notificationDeliveryId: z.ZodNullable<z.ZodString>;
1001
+ status: z.ZodEnum<{
1002
+ failed: "failed";
1003
+ sent: "sent";
1004
+ processing: "processing";
1005
+ skipped: "skipped";
1006
+ queued: "queued";
1007
+ }>;
1008
+ deliveryStatus: z.ZodNullable<z.ZodEnum<{
1009
+ pending: "pending";
1010
+ failed: "failed";
1011
+ cancelled: "cancelled";
1012
+ sent: "sent";
1013
+ }>>;
1014
+ channel: z.ZodNullable<z.ZodEnum<{
1015
+ email: "email";
1016
+ sms: "sms";
1017
+ }>>;
1018
+ provider: z.ZodNullable<z.ZodString>;
1019
+ recipient: z.ZodNullable<z.ZodString>;
1020
+ scheduledFor: z.ZodString;
1021
+ processedAt: z.ZodString;
1022
+ errorMessage: z.ZodNullable<z.ZodString>;
1023
+ relativeDaysFromDueDate: z.ZodNullable<z.ZodNumber>;
1024
+ createdAt: z.ZodString;
1025
+ }, z.core.$strip>>;
1026
+ total: z.ZodNumber;
1027
+ limit: z.ZodNumber;
1028
+ offset: z.ZodNumber;
1029
+ }, z.core.$strip>;
1030
+ export type PreviewCheckoutCollectionInput = z.infer<typeof previewCheckoutCollectionSchema>;
1031
+ export type InitiateCheckoutCollectionInput = z.infer<typeof initiateCheckoutCollectionSchema>;
1032
+ export type BootstrapCheckoutCollectionInput = z.infer<typeof bootstrapCheckoutCollectionSchema>;
1033
+ export type CheckoutCollectionPlanRecord = z.infer<typeof checkoutCollectionPlanSchema>;
1034
+ export type InitiatedCheckoutCollectionRecord = z.infer<typeof initiatedCheckoutCollectionSchema>;
1035
+ export type BootstrappedCheckoutCollectionRecord = z.infer<typeof bootstrappedCheckoutCollectionSchema>;
1036
+ export type CheckoutProviderStartInput = z.infer<typeof checkoutProviderStartInputSchema>;
1037
+ export type CheckoutBankTransferInstructionsRecord = z.infer<typeof checkoutBankTransferInstructionsSchema>;
1038
+ export type CheckoutProviderStartResultRecord = z.infer<typeof checkoutProviderStartResultSchema>;
1039
+ export type CheckoutReminderRunListQuery = z.infer<typeof checkoutReminderRunListQuerySchema>;
1040
+ export type CheckoutReminderRunRecord = z.infer<typeof checkoutReminderRunSchema>;
1041
+ //# sourceMappingURL=validation.d.ts.map