@voyant-travel/finance 0.157.0 → 0.158.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.
@@ -0,0 +1,759 @@
1
+ /** Static payload schemas used by the import-cheap Finance deployment manifest. */
2
+ export declare const invoiceTypeSchema: {
3
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
4
+ };
5
+ export declare const invoiceStatusSchema: {
6
+ readonly enum: readonly ["draft", "pending_external_allocation", "issued", "partially_paid", "paid", "overdue", "void"];
7
+ };
8
+ export declare const renditionFormatSchema: {
9
+ readonly enum: readonly ["html", "pdf", "xml", "json"];
10
+ };
11
+ export declare const nullableStringSchema: {
12
+ readonly type: readonly ["string", "null"];
13
+ };
14
+ export declare const invoiceIssuedPayloadSchema: {
15
+ readonly type: "object";
16
+ readonly required: readonly ["invoiceId", "invoiceNumber", "invoiceType", "bookingId", "totalCents", "currency"];
17
+ readonly properties: {
18
+ readonly invoiceId: {
19
+ readonly type: "string";
20
+ };
21
+ readonly invoiceNumber: {
22
+ readonly type: "string";
23
+ };
24
+ readonly invoiceType: {
25
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
26
+ };
27
+ readonly bookingId: {
28
+ readonly type: readonly ["string", "null"];
29
+ };
30
+ readonly totalCents: {
31
+ readonly type: "integer";
32
+ };
33
+ readonly currency: {
34
+ readonly type: "string";
35
+ };
36
+ readonly baseCurrency: {
37
+ readonly type: "string";
38
+ };
39
+ readonly fxRateSetId: {
40
+ readonly type: "string";
41
+ };
42
+ readonly fxRate: {
43
+ readonly type: "number";
44
+ };
45
+ readonly fxRateSource: {
46
+ readonly type: "string";
47
+ };
48
+ readonly fxRateQuotedAt: {
49
+ readonly type: "string";
50
+ readonly format: "date-time";
51
+ };
52
+ readonly fxRateValidUntil: {
53
+ readonly type: "string";
54
+ readonly format: "date-time";
55
+ };
56
+ readonly fxCommissionBps: {
57
+ readonly type: "integer";
58
+ };
59
+ readonly effectiveRate: {
60
+ readonly type: "number";
61
+ };
62
+ readonly fxCommissionInvoiceMention: {
63
+ readonly type: "string";
64
+ };
65
+ readonly convertedFromInvoiceId: {
66
+ readonly type: readonly ["string", "null"];
67
+ };
68
+ readonly clientName: {
69
+ readonly type: "string";
70
+ };
71
+ readonly clientEmail: {
72
+ readonly type: readonly ["string", "null"];
73
+ };
74
+ readonly clientPhone: {
75
+ readonly type: readonly ["string", "null"];
76
+ };
77
+ readonly clientAddress: {
78
+ readonly type: readonly ["string", "null"];
79
+ };
80
+ readonly clientCity: {
81
+ readonly type: readonly ["string", "null"];
82
+ };
83
+ readonly clientCounty: {
84
+ readonly type: readonly ["string", "null"];
85
+ };
86
+ readonly clientCountry: {
87
+ readonly type: readonly ["string", "null"];
88
+ };
89
+ readonly clientVatCode: {
90
+ readonly type: readonly ["string", "null"];
91
+ };
92
+ readonly clientRegCom: {
93
+ readonly type: readonly ["string", "null"];
94
+ };
95
+ readonly lineItems: {
96
+ readonly type: "array";
97
+ readonly items: {
98
+ readonly type: "object";
99
+ readonly required: readonly ["description", "quantity", "unitPrice", "currency"];
100
+ readonly properties: {
101
+ readonly description: {
102
+ readonly type: "string";
103
+ };
104
+ readonly quantity: {
105
+ readonly type: "number";
106
+ };
107
+ readonly unitPrice: {
108
+ readonly type: "number";
109
+ };
110
+ readonly currency: {
111
+ readonly type: "string";
112
+ };
113
+ readonly bookingPaymentScheduleId: {
114
+ readonly type: "string";
115
+ };
116
+ readonly scheduleType: {
117
+ readonly enum: readonly ["deposit", "installment", "balance", "hold", "other"];
118
+ };
119
+ readonly schedulePercent: {
120
+ readonly type: "number";
121
+ };
122
+ readonly taxPercentage: {
123
+ readonly type: "number";
124
+ };
125
+ readonly taxName: {
126
+ readonly type: readonly ["string", "null"];
127
+ };
128
+ readonly taxRegimeCode: {
129
+ readonly type: readonly ["string", "null"];
130
+ readonly enum: readonly ["standard", "reduced", "exempt", "reverse_charge", "margin_scheme_art311", "zero_rated", "out_of_scope", "other", null];
131
+ };
132
+ readonly isService: {
133
+ readonly type: "boolean";
134
+ };
135
+ };
136
+ readonly additionalProperties: false;
137
+ };
138
+ };
139
+ readonly bookingNumber: {
140
+ readonly type: readonly ["string", "null"];
141
+ };
142
+ readonly issueDate: {
143
+ readonly type: "string";
144
+ };
145
+ readonly dueDate: {
146
+ readonly type: "string";
147
+ };
148
+ readonly externalAllocationRequired: {
149
+ readonly type: "boolean";
150
+ };
151
+ readonly externalProvider: {
152
+ readonly type: readonly ["string", "null"];
153
+ };
154
+ readonly externalConfigKey: {
155
+ readonly type: readonly ["string", "null"];
156
+ };
157
+ readonly externalSeriesId: {
158
+ readonly type: readonly ["string", "null"];
159
+ };
160
+ readonly externalPlaceholderNumber: {
161
+ readonly type: readonly ["string", "null"];
162
+ };
163
+ readonly skipExternalSync: {
164
+ readonly type: "boolean";
165
+ };
166
+ };
167
+ readonly additionalProperties: false;
168
+ };
169
+ export declare const invoiceProformaConvertedPayloadSchema: {
170
+ readonly required: readonly ["invoiceId", "invoiceNumber", "invoiceType", "bookingId", "totalCents", "currency", "id", "proformaId", "proformaInvoiceNumber"];
171
+ readonly properties: {
172
+ readonly id: {
173
+ readonly type: "string";
174
+ };
175
+ readonly proformaId: {
176
+ readonly type: "string";
177
+ };
178
+ readonly proformaInvoiceNumber: {
179
+ readonly type: "string";
180
+ };
181
+ readonly invoiceId: {
182
+ readonly type: "string";
183
+ };
184
+ readonly invoiceNumber: {
185
+ readonly type: "string";
186
+ };
187
+ readonly invoiceType: {
188
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
189
+ };
190
+ readonly bookingId: {
191
+ readonly type: readonly ["string", "null"];
192
+ };
193
+ readonly totalCents: {
194
+ readonly type: "integer";
195
+ };
196
+ readonly currency: {
197
+ readonly type: "string";
198
+ };
199
+ readonly baseCurrency: {
200
+ readonly type: "string";
201
+ };
202
+ readonly fxRateSetId: {
203
+ readonly type: "string";
204
+ };
205
+ readonly fxRate: {
206
+ readonly type: "number";
207
+ };
208
+ readonly fxRateSource: {
209
+ readonly type: "string";
210
+ };
211
+ readonly fxRateQuotedAt: {
212
+ readonly type: "string";
213
+ readonly format: "date-time";
214
+ };
215
+ readonly fxRateValidUntil: {
216
+ readonly type: "string";
217
+ readonly format: "date-time";
218
+ };
219
+ readonly fxCommissionBps: {
220
+ readonly type: "integer";
221
+ };
222
+ readonly effectiveRate: {
223
+ readonly type: "number";
224
+ };
225
+ readonly fxCommissionInvoiceMention: {
226
+ readonly type: "string";
227
+ };
228
+ readonly convertedFromInvoiceId: {
229
+ readonly type: readonly ["string", "null"];
230
+ };
231
+ readonly clientName: {
232
+ readonly type: "string";
233
+ };
234
+ readonly clientEmail: {
235
+ readonly type: readonly ["string", "null"];
236
+ };
237
+ readonly clientPhone: {
238
+ readonly type: readonly ["string", "null"];
239
+ };
240
+ readonly clientAddress: {
241
+ readonly type: readonly ["string", "null"];
242
+ };
243
+ readonly clientCity: {
244
+ readonly type: readonly ["string", "null"];
245
+ };
246
+ readonly clientCounty: {
247
+ readonly type: readonly ["string", "null"];
248
+ };
249
+ readonly clientCountry: {
250
+ readonly type: readonly ["string", "null"];
251
+ };
252
+ readonly clientVatCode: {
253
+ readonly type: readonly ["string", "null"];
254
+ };
255
+ readonly clientRegCom: {
256
+ readonly type: readonly ["string", "null"];
257
+ };
258
+ readonly lineItems: {
259
+ readonly type: "array";
260
+ readonly items: {
261
+ readonly type: "object";
262
+ readonly required: readonly ["description", "quantity", "unitPrice", "currency"];
263
+ readonly properties: {
264
+ readonly description: {
265
+ readonly type: "string";
266
+ };
267
+ readonly quantity: {
268
+ readonly type: "number";
269
+ };
270
+ readonly unitPrice: {
271
+ readonly type: "number";
272
+ };
273
+ readonly currency: {
274
+ readonly type: "string";
275
+ };
276
+ readonly bookingPaymentScheduleId: {
277
+ readonly type: "string";
278
+ };
279
+ readonly scheduleType: {
280
+ readonly enum: readonly ["deposit", "installment", "balance", "hold", "other"];
281
+ };
282
+ readonly schedulePercent: {
283
+ readonly type: "number";
284
+ };
285
+ readonly taxPercentage: {
286
+ readonly type: "number";
287
+ };
288
+ readonly taxName: {
289
+ readonly type: readonly ["string", "null"];
290
+ };
291
+ readonly taxRegimeCode: {
292
+ readonly type: readonly ["string", "null"];
293
+ readonly enum: readonly ["standard", "reduced", "exempt", "reverse_charge", "margin_scheme_art311", "zero_rated", "out_of_scope", "other", null];
294
+ };
295
+ readonly isService: {
296
+ readonly type: "boolean";
297
+ };
298
+ };
299
+ readonly additionalProperties: false;
300
+ };
301
+ };
302
+ readonly bookingNumber: {
303
+ readonly type: readonly ["string", "null"];
304
+ };
305
+ readonly issueDate: {
306
+ readonly type: "string";
307
+ };
308
+ readonly dueDate: {
309
+ readonly type: "string";
310
+ };
311
+ readonly externalAllocationRequired: {
312
+ readonly type: "boolean";
313
+ };
314
+ readonly externalProvider: {
315
+ readonly type: readonly ["string", "null"];
316
+ };
317
+ readonly externalConfigKey: {
318
+ readonly type: readonly ["string", "null"];
319
+ };
320
+ readonly externalSeriesId: {
321
+ readonly type: readonly ["string", "null"];
322
+ };
323
+ readonly externalPlaceholderNumber: {
324
+ readonly type: readonly ["string", "null"];
325
+ };
326
+ readonly skipExternalSync: {
327
+ readonly type: "boolean";
328
+ };
329
+ };
330
+ readonly type: "object";
331
+ readonly additionalProperties: false;
332
+ };
333
+ export declare const invoiceVoidedPayloadSchema: {
334
+ readonly type: "object";
335
+ readonly required: readonly ["invoiceId", "invoiceNumber", "invoiceType", "bookingId", "totalCents", "currency", "reason", "voidedAt"];
336
+ readonly properties: {
337
+ readonly invoiceId: {
338
+ readonly type: "string";
339
+ };
340
+ readonly invoiceNumber: {
341
+ readonly type: "string";
342
+ };
343
+ readonly invoiceType: {
344
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
345
+ };
346
+ readonly bookingId: {
347
+ readonly type: readonly ["string", "null"];
348
+ };
349
+ readonly totalCents: {
350
+ readonly type: "integer";
351
+ };
352
+ readonly currency: {
353
+ readonly type: "string";
354
+ };
355
+ readonly reason: {
356
+ readonly type: readonly ["string", "null"];
357
+ };
358
+ readonly voidedAt: {
359
+ readonly type: "string";
360
+ readonly format: "date-time";
361
+ };
362
+ readonly externalProvider: {
363
+ readonly type: readonly ["string", "null"];
364
+ };
365
+ readonly externalNumber: {
366
+ readonly type: readonly ["string", "null"];
367
+ };
368
+ readonly externalSeriesName: {
369
+ readonly type: readonly ["string", "null"];
370
+ };
371
+ };
372
+ readonly additionalProperties: false;
373
+ };
374
+ export declare const invoiceSettledPayloadSchema: {
375
+ readonly type: "object";
376
+ readonly required: readonly ["invoiceId", "paymentId", "provider", "newlyAppliedAmountCents", "paidCents", "balanceDueCents"];
377
+ readonly properties: {
378
+ readonly invoiceId: {
379
+ readonly type: "string";
380
+ };
381
+ readonly paymentId: {
382
+ readonly type: "string";
383
+ };
384
+ readonly provider: {
385
+ readonly type: "string";
386
+ };
387
+ readonly newlyAppliedAmountCents: {
388
+ readonly type: "integer";
389
+ };
390
+ readonly paidCents: {
391
+ readonly type: "integer";
392
+ };
393
+ readonly balanceDueCents: {
394
+ readonly type: "integer";
395
+ };
396
+ };
397
+ readonly additionalProperties: false;
398
+ };
399
+ export declare const invoiceRenderedPayloadSchema: {
400
+ readonly type: "object";
401
+ readonly required: readonly ["invoiceId", "invoiceStatus", "invoiceType", "renditionId", "format", "storageKey", "contentType", "byteSize", "contentHash"];
402
+ readonly properties: {
403
+ readonly invoiceId: {
404
+ readonly type: "string";
405
+ };
406
+ readonly invoiceStatus: {
407
+ readonly enum: readonly ["draft", "pending_external_allocation", "issued", "partially_paid", "paid", "overdue", "void"];
408
+ };
409
+ readonly invoiceType: {
410
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
411
+ };
412
+ readonly renditionId: {
413
+ readonly type: "string";
414
+ };
415
+ readonly format: {
416
+ readonly enum: readonly ["html", "pdf", "xml", "json"];
417
+ };
418
+ readonly storageKey: {
419
+ readonly type: readonly ["string", "null"];
420
+ };
421
+ readonly contentType: {
422
+ readonly type: "string";
423
+ };
424
+ readonly byteSize: {
425
+ readonly type: readonly ["integer", "null"];
426
+ };
427
+ readonly contentHash: {
428
+ readonly type: readonly ["string", "null"];
429
+ };
430
+ };
431
+ readonly additionalProperties: false;
432
+ };
433
+ export declare const invoiceDocumentGeneratedPayloadSchema: {
434
+ readonly type: "object";
435
+ readonly required: readonly ["invoiceId", "invoiceStatus", "invoiceType", "renditionId", "format", "renderedBodyFormat", "regenerated"];
436
+ readonly properties: {
437
+ readonly invoiceId: {
438
+ readonly type: "string";
439
+ };
440
+ readonly invoiceStatus: {
441
+ readonly enum: readonly ["draft", "pending_external_allocation", "issued", "partially_paid", "paid", "overdue", "void"];
442
+ };
443
+ readonly invoiceType: {
444
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
445
+ };
446
+ readonly renditionId: {
447
+ readonly type: "string";
448
+ };
449
+ readonly format: {
450
+ readonly enum: readonly ["html", "pdf", "xml", "json"];
451
+ };
452
+ readonly renderedBodyFormat: {
453
+ readonly enum: readonly ["html", "markdown", "lexical_json"];
454
+ };
455
+ readonly regenerated: {
456
+ readonly type: "boolean";
457
+ };
458
+ };
459
+ readonly additionalProperties: false;
460
+ };
461
+ export declare const invoicePaymentRecordedPayloadSchema: {
462
+ readonly type: "object";
463
+ readonly required: readonly ["invoiceId", "invoiceNumber", "invoiceType", "bookingId", "invoiceCurrency", "invoiceTotalCents", "invoicePaidCents", "invoiceBalanceDueCents", "paymentId", "amountCents", "currency", "baseCurrency", "baseAmountCents", "paymentMethod", "status", "referenceNumber", "paymentDate"];
464
+ readonly properties: {
465
+ readonly invoiceId: {
466
+ readonly type: "string";
467
+ };
468
+ readonly invoiceNumber: {
469
+ readonly type: "string";
470
+ };
471
+ readonly invoiceType: {
472
+ readonly enum: readonly ["invoice", "proforma", "credit_note"];
473
+ };
474
+ readonly bookingId: {
475
+ readonly type: readonly ["string", "null"];
476
+ };
477
+ readonly invoiceCurrency: {
478
+ readonly type: "string";
479
+ };
480
+ readonly invoiceTotalCents: {
481
+ readonly type: "integer";
482
+ };
483
+ readonly invoicePaidCents: {
484
+ readonly type: "integer";
485
+ };
486
+ readonly invoiceBalanceDueCents: {
487
+ readonly type: "integer";
488
+ };
489
+ readonly paymentId: {
490
+ readonly type: "string";
491
+ };
492
+ readonly amountCents: {
493
+ readonly type: "integer";
494
+ };
495
+ readonly currency: {
496
+ readonly type: "string";
497
+ };
498
+ readonly baseCurrency: {
499
+ readonly type: readonly ["string", "null"];
500
+ };
501
+ readonly baseAmountCents: {
502
+ readonly type: readonly ["integer", "null"];
503
+ };
504
+ readonly paymentMethod: {
505
+ readonly enum: readonly ["bank_transfer", "credit_card", "debit_card", "cash", "cheque", "wallet", "direct_bill", "travel_credit", "other"];
506
+ };
507
+ readonly status: {
508
+ readonly enum: readonly ["pending", "completed", "failed", "refunded"];
509
+ };
510
+ readonly referenceNumber: {
511
+ readonly type: readonly ["string", "null"];
512
+ };
513
+ readonly paymentDate: {
514
+ readonly type: "string";
515
+ };
516
+ };
517
+ readonly additionalProperties: false;
518
+ };
519
+ export declare const paymentCompletedPayloadSchema: {
520
+ readonly type: "object";
521
+ readonly required: readonly ["paymentSessionId", "targetType", "targetId", "bookingId", "legacyOrderId", "invoiceId", "bookingPaymentScheduleId", "bookingGuaranteeId", "amountCents", "currency", "provider"];
522
+ readonly properties: {
523
+ readonly paymentSessionId: {
524
+ readonly type: "string";
525
+ };
526
+ readonly targetType: {
527
+ readonly enum: readonly ["booking", "order", "invoice", "booking_payment_schedule", "booking_guarantee", "flight_order", "other"];
528
+ };
529
+ readonly targetId: {
530
+ readonly type: readonly ["string", "null"];
531
+ };
532
+ readonly bookingId: {
533
+ readonly type: readonly ["string", "null"];
534
+ };
535
+ readonly legacyOrderId: {
536
+ readonly type: readonly ["string", "null"];
537
+ };
538
+ readonly invoiceId: {
539
+ readonly type: readonly ["string", "null"];
540
+ };
541
+ readonly bookingPaymentScheduleId: {
542
+ readonly type: readonly ["string", "null"];
543
+ };
544
+ readonly bookingGuaranteeId: {
545
+ readonly type: readonly ["string", "null"];
546
+ };
547
+ readonly amountCents: {
548
+ readonly type: "integer";
549
+ };
550
+ readonly currency: {
551
+ readonly type: "string";
552
+ };
553
+ readonly provider: {
554
+ readonly type: readonly ["string", "null"];
555
+ };
556
+ };
557
+ readonly additionalProperties: false;
558
+ };
559
+ export declare const bookingCreatedPayloadSchema: {
560
+ readonly type: "object";
561
+ readonly required: readonly ["bookingId", "bookingNumber", "productId", "travelerCount", "paymentScheduleCount", "travelCreditRedeemedCents", "groupId", "documentGeneration", "createdByUserId", "occurredAt"];
562
+ readonly properties: {
563
+ readonly bookingId: {
564
+ readonly type: "string";
565
+ };
566
+ readonly bookingNumber: {
567
+ readonly type: "string";
568
+ };
569
+ readonly productId: {
570
+ readonly type: "string";
571
+ };
572
+ readonly travelerCount: {
573
+ readonly type: "integer";
574
+ };
575
+ readonly paymentScheduleCount: {
576
+ readonly type: "integer";
577
+ };
578
+ readonly travelCreditRedeemedCents: {
579
+ readonly type: readonly ["integer", "null"];
580
+ };
581
+ readonly groupId: {
582
+ readonly type: readonly ["string", "null"];
583
+ };
584
+ readonly documentGeneration: {
585
+ readonly type: "object";
586
+ readonly required: readonly ["contractDocument", "invoiceDocument", "invoiceType"];
587
+ readonly properties: {
588
+ readonly contractDocument: {
589
+ readonly type: "boolean";
590
+ };
591
+ readonly invoiceDocument: {
592
+ readonly type: "boolean";
593
+ };
594
+ readonly invoiceType: {
595
+ readonly enum: readonly ["invoice", "proforma"];
596
+ };
597
+ };
598
+ readonly additionalProperties: false;
599
+ };
600
+ readonly createdByUserId: {
601
+ readonly type: readonly ["string", "null"];
602
+ };
603
+ readonly occurredAt: {
604
+ readonly type: "string";
605
+ readonly format: "date-time";
606
+ };
607
+ };
608
+ readonly additionalProperties: false;
609
+ };
610
+ export declare const bookingConfirmedPayloadSchema: {
611
+ readonly type: "object";
612
+ readonly required: readonly ["bookingId", "bookingNumber", "actorId"];
613
+ readonly properties: {
614
+ readonly bookingId: {
615
+ readonly type: "string";
616
+ };
617
+ readonly bookingNumber: {
618
+ readonly type: "string";
619
+ };
620
+ readonly actorId: {
621
+ readonly type: readonly ["string", "null"];
622
+ };
623
+ readonly suppressNotifications: {
624
+ readonly type: "boolean";
625
+ };
626
+ };
627
+ readonly additionalProperties: false;
628
+ };
629
+ export declare const bookingDualCreatedPayloadSchema: {
630
+ readonly type: "object";
631
+ readonly required: readonly ["groupId", "primaryBookingId", "secondaryBookingId", "productId", "createdByUserId", "occurredAt"];
632
+ readonly properties: {
633
+ readonly groupId: {
634
+ readonly type: "string";
635
+ };
636
+ readonly primaryBookingId: {
637
+ readonly type: "string";
638
+ };
639
+ readonly secondaryBookingId: {
640
+ readonly type: "string";
641
+ };
642
+ readonly productId: {
643
+ readonly type: "string";
644
+ };
645
+ readonly createdByUserId: {
646
+ readonly type: readonly ["string", "null"];
647
+ };
648
+ readonly occurredAt: {
649
+ readonly type: "string";
650
+ readonly format: "date-time";
651
+ };
652
+ };
653
+ readonly additionalProperties: false;
654
+ };
655
+ export declare const bookingCreateRejectedPayloadSchema: {
656
+ readonly type: "object";
657
+ readonly required: readonly ["reason", "productId", "optionId", "slotId", "bookingNumber", "mismatchCount", "mismatches", "createdByUserId", "occurredAt"];
658
+ readonly properties: {
659
+ readonly reason: {
660
+ readonly const: "payload_resolver_mismatch";
661
+ };
662
+ readonly productId: {
663
+ readonly type: "string";
664
+ };
665
+ readonly optionId: {
666
+ readonly type: readonly ["string", "null"];
667
+ };
668
+ readonly slotId: {
669
+ readonly type: readonly ["string", "null"];
670
+ };
671
+ readonly bookingNumber: {
672
+ readonly type: "string";
673
+ };
674
+ readonly mismatchCount: {
675
+ readonly type: "integer";
676
+ };
677
+ readonly mismatches: {
678
+ readonly type: "array";
679
+ readonly items: {
680
+ readonly type: "object";
681
+ readonly required: readonly ["kind", "optionUnitId", "submittedQuantity", "resolvedQuantity"];
682
+ readonly properties: {
683
+ readonly kind: {
684
+ readonly enum: readonly ["qty", "missing", "extra"];
685
+ };
686
+ readonly optionUnitId: {
687
+ readonly type: "string";
688
+ };
689
+ readonly submittedQuantity: {
690
+ readonly type: "number";
691
+ };
692
+ readonly resolvedQuantity: {
693
+ readonly type: "number";
694
+ };
695
+ };
696
+ readonly additionalProperties: false;
697
+ };
698
+ };
699
+ readonly createdByUserId: {
700
+ readonly type: readonly ["string", "null"];
701
+ };
702
+ readonly occurredAt: {
703
+ readonly type: "string";
704
+ readonly format: "date-time";
705
+ };
706
+ };
707
+ readonly additionalProperties: false;
708
+ };
709
+ export declare const bookingContractDocumentRequestedPayloadSchema: {
710
+ readonly type: "object";
711
+ readonly required: readonly ["bookingId", "bookingNumber", "createdByUserId", "occurredAt"];
712
+ readonly properties: {
713
+ readonly bookingId: {
714
+ readonly type: "string";
715
+ };
716
+ readonly bookingNumber: {
717
+ readonly type: "string";
718
+ };
719
+ readonly createdByUserId: {
720
+ readonly type: readonly ["string", "null"];
721
+ };
722
+ readonly occurredAt: {
723
+ readonly type: "string";
724
+ readonly format: "date-time";
725
+ };
726
+ };
727
+ readonly additionalProperties: false;
728
+ };
729
+ export declare const bookingPaymentSchedulePaidPayloadSchema: {
730
+ readonly type: "object";
731
+ readonly required: readonly ["bookingId", "bookingPaymentScheduleId", "paymentSessionId", "paymentId", "scheduleType", "amountCents", "currency", "provider"];
732
+ readonly properties: {
733
+ readonly bookingId: {
734
+ readonly type: "string";
735
+ };
736
+ readonly bookingPaymentScheduleId: {
737
+ readonly type: "string";
738
+ };
739
+ readonly paymentSessionId: {
740
+ readonly type: "string";
741
+ };
742
+ readonly paymentId: {
743
+ readonly type: readonly ["string", "null"];
744
+ };
745
+ readonly scheduleType: {
746
+ readonly enum: readonly ["deposit", "installment", "balance", "hold", "other"];
747
+ };
748
+ readonly amountCents: {
749
+ readonly type: "integer";
750
+ };
751
+ readonly currency: {
752
+ readonly type: "string";
753
+ };
754
+ readonly provider: {
755
+ readonly type: readonly ["string", "null"];
756
+ };
757
+ };
758
+ readonly additionalProperties: false;
759
+ };