@voyant-travel/finance 0.131.2 → 0.132.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/dist/checkout-routes.d.ts +138 -138
- package/dist/checkout-validation.d.ts +39 -39
- package/dist/routes-action-ledger.d.ts +15 -15
- package/dist/routes-booking-billing.d.ts +59 -59
- package/dist/routes-documents.d.ts +10 -10
- package/dist/routes-invoice-core.d.ts +26 -26
- package/dist/routes-invoice-documents.d.ts +28 -28
- package/dist/routes-invoice-issue.d.ts +18 -18
- package/dist/routes-payment-processing.d.ts +45 -45
- package/dist/routes-payments.d.ts +6 -6
- package/dist/routes-public.d.ts +34 -34
- package/dist/routes-reference-data.d.ts +15 -15
- package/dist/routes-supplier-invoices.d.ts +32 -32
- package/dist/routes-vouchers.d.ts +13 -13
- package/dist/routes.d.ts +210 -210
- package/dist/schema/booking-billing.d.ts +3 -3
- package/dist/schema/payment-processing.d.ts +1 -1
- package/dist/schema/payment-sessions.d.ts +2 -2
- package/dist/schema/supplier-invoices.d.ts +3 -3
- package/dist/schema/tax.d.ts +1 -1
- package/dist/schema/vouchers.d.ts +1 -1
- package/dist/service-accountant-shares.d.ts +5 -5
- package/dist/service-booking-billing.d.ts +79 -79
- package/dist/service-booking-create.d.ts +23 -23
- package/dist/service-booking-guarantees.d.ts +23 -23
- package/dist/service-booking-item-billing.d.ts +15 -15
- package/dist/service-booking-payment-schedules.d.ts +41 -41
- package/dist/service-bookings-dual-create.d.ts +36 -36
- package/dist/service-invoice-artifacts.d.ts +19 -19
- package/dist/service-invoice-core.d.ts +6 -6
- package/dist/service-invoice-credit-notes.d.ts +7 -7
- package/dist/service-invoice-from-booking.d.ts +6 -6
- package/dist/service-invoice-line-items.d.ts +8 -8
- package/dist/service-invoice-numbering.d.ts +8 -8
- package/dist/service-invoice-payments.d.ts +3 -3
- package/dist/service-invoices.d.ts +30 -30
- package/dist/service-issue.d.ts +12 -12
- package/dist/service-payment-authorizations.d.ts +13 -13
- package/dist/service-payment-instruments.d.ts +4 -4
- package/dist/service-payment-processing.d.ts +44 -44
- package/dist/service-payment-session-completion.d.ts +2 -2
- package/dist/service-payment-sessions.d.ts +25 -25
- package/dist/service-public.d.ts +10 -10
- package/dist/service-reference-data.d.ts +14 -14
- package/dist/service-reports.d.ts +2 -2
- package/dist/service-shared.d.ts +1 -1
- package/dist/service-supplier-invoices.d.ts +19 -19
- package/dist/service-supplier-payments.d.ts +6 -6
- package/dist/service-vouchers.d.ts +12 -12
- package/dist/service.d.ts +216 -216
- package/package.json +2 -2
|
@@ -35,8 +35,8 @@ export declare const checkoutReminderRunStatusSchema: z.ZodEnum<{
|
|
|
35
35
|
failed: "failed";
|
|
36
36
|
processing: "processing";
|
|
37
37
|
queued: "queued";
|
|
38
|
-
skipped: "skipped";
|
|
39
38
|
sent: "sent";
|
|
39
|
+
skipped: "skipped";
|
|
40
40
|
}>;
|
|
41
41
|
export declare const checkoutReminderTargetTypeSchema: z.ZodEnum<{
|
|
42
42
|
invoice: "invoice";
|
|
@@ -55,8 +55,8 @@ export declare const checkoutNotificationAttachmentSchema: z.ZodObject<{
|
|
|
55
55
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
56
56
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
57
57
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
58
|
-
inline: "inline";
|
|
59
58
|
attachment: "attachment";
|
|
59
|
+
inline: "inline";
|
|
60
60
|
}>>>;
|
|
61
61
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
62
62
|
}, z.core.$strip>;
|
|
@@ -79,8 +79,8 @@ export declare const checkoutPaymentSessionNotificationSchema: z.ZodObject<{
|
|
|
79
79
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
80
80
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
81
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
82
|
-
inline: "inline";
|
|
83
82
|
attachment: "attachment";
|
|
83
|
+
inline: "inline";
|
|
84
84
|
}>>>;
|
|
85
85
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
86
86
|
}, z.core.$strip>>>>;
|
|
@@ -108,8 +108,8 @@ export declare const checkoutInvoiceNotificationSchema: z.ZodObject<{
|
|
|
108
108
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
109
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
110
110
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
inline: "inline";
|
|
112
111
|
attachment: "attachment";
|
|
112
|
+
inline: "inline";
|
|
113
113
|
}>>>;
|
|
114
114
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
115
|
}, z.core.$strip>>>>;
|
|
@@ -237,8 +237,8 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
237
237
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
238
238
|
source: z.ZodDefault<z.ZodEnum<{
|
|
239
239
|
other: "other";
|
|
240
|
-
storefront: "storefront";
|
|
241
240
|
operator: "operator";
|
|
241
|
+
storefront: "storefront";
|
|
242
242
|
customer_portal: "customer_portal";
|
|
243
243
|
payment_provider: "payment_provider";
|
|
244
244
|
supplier_channel: "supplier_channel";
|
|
@@ -310,8 +310,8 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
310
310
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
311
311
|
source: z.ZodDefault<z.ZodEnum<{
|
|
312
312
|
other: "other";
|
|
313
|
-
storefront: "storefront";
|
|
314
313
|
operator: "operator";
|
|
314
|
+
storefront: "storefront";
|
|
315
315
|
customer_portal: "customer_portal";
|
|
316
316
|
payment_provider: "payment_provider";
|
|
317
317
|
supplier_channel: "supplier_channel";
|
|
@@ -367,8 +367,8 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
367
367
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
368
368
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
369
369
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
370
|
-
inline: "inline";
|
|
371
370
|
attachment: "attachment";
|
|
371
|
+
inline: "inline";
|
|
372
372
|
}>>>;
|
|
373
373
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
374
374
|
}, z.core.$strip>>>>;
|
|
@@ -396,8 +396,8 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
396
396
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
397
397
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
398
398
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
399
|
-
inline: "inline";
|
|
400
399
|
attachment: "attachment";
|
|
400
|
+
inline: "inline";
|
|
401
401
|
}>>>;
|
|
402
402
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
403
403
|
}, z.core.$strip>>>>;
|
|
@@ -489,8 +489,8 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
489
489
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
490
490
|
source: z.ZodDefault<z.ZodEnum<{
|
|
491
491
|
other: "other";
|
|
492
|
-
storefront: "storefront";
|
|
493
492
|
operator: "operator";
|
|
493
|
+
storefront: "storefront";
|
|
494
494
|
customer_portal: "customer_portal";
|
|
495
495
|
payment_provider: "payment_provider";
|
|
496
496
|
supplier_channel: "supplier_channel";
|
|
@@ -562,8 +562,8 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
562
562
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
563
563
|
source: z.ZodDefault<z.ZodEnum<{
|
|
564
564
|
other: "other";
|
|
565
|
-
storefront: "storefront";
|
|
566
565
|
operator: "operator";
|
|
566
|
+
storefront: "storefront";
|
|
567
567
|
customer_portal: "customer_portal";
|
|
568
568
|
payment_provider: "payment_provider";
|
|
569
569
|
supplier_channel: "supplier_channel";
|
|
@@ -619,8 +619,8 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
619
619
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
620
620
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
621
621
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
622
|
-
inline: "inline";
|
|
623
622
|
attachment: "attachment";
|
|
623
|
+
inline: "inline";
|
|
624
624
|
}>>>;
|
|
625
625
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
626
626
|
}, z.core.$strip>>>>;
|
|
@@ -648,8 +648,8 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
648
648
|
path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
649
649
|
contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
650
650
|
disposition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
651
|
-
inline: "inline";
|
|
652
651
|
attachment: "attachment";
|
|
652
|
+
inline: "inline";
|
|
653
653
|
}>>>;
|
|
654
654
|
contentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
655
655
|
}, z.core.$strip>>>>;
|
|
@@ -917,8 +917,8 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
917
917
|
provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
918
918
|
source: z.ZodDefault<z.ZodEnum<{
|
|
919
919
|
other: "other";
|
|
920
|
-
storefront: "storefront";
|
|
921
920
|
operator: "operator";
|
|
921
|
+
storefront: "storefront";
|
|
922
922
|
customer_portal: "customer_portal";
|
|
923
923
|
payment_provider: "payment_provider";
|
|
924
924
|
supplier_channel: "supplier_channel";
|
|
@@ -929,10 +929,10 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
929
929
|
idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
930
930
|
}, z.core.$strip>>>;
|
|
931
931
|
targetType: z.ZodEnum<{
|
|
932
|
-
|
|
932
|
+
invoice: "invoice";
|
|
933
933
|
booking: "booking";
|
|
934
|
+
other: "other";
|
|
934
935
|
order: "order";
|
|
935
|
-
invoice: "invoice";
|
|
936
936
|
booking_payment_schedule: "booking_payment_schedule";
|
|
937
937
|
booking_guarantee: "booking_guarantee";
|
|
938
938
|
flight_order: "flight_order";
|
|
@@ -944,14 +944,14 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
944
944
|
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
945
945
|
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
946
946
|
status: z.ZodEnum<{
|
|
947
|
+
paid: "paid";
|
|
947
948
|
failed: "failed";
|
|
948
949
|
expired: "expired";
|
|
949
950
|
cancelled: "cancelled";
|
|
950
951
|
pending: "pending";
|
|
951
|
-
processing: "processing";
|
|
952
|
-
paid: "paid";
|
|
953
|
-
requires_redirect: "requires_redirect";
|
|
954
952
|
authorized: "authorized";
|
|
953
|
+
requires_redirect: "requires_redirect";
|
|
954
|
+
processing: "processing";
|
|
955
955
|
}>;
|
|
956
956
|
provider: z.ZodNullable<z.ZodString>;
|
|
957
957
|
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1016,19 +1016,19 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1016
1016
|
legacyOrderId: string;
|
|
1017
1017
|
} | null;
|
|
1018
1018
|
provenance: {
|
|
1019
|
-
source: "other" | "
|
|
1019
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1020
1020
|
provider?: string | null | undefined;
|
|
1021
1021
|
reference?: string | null | undefined;
|
|
1022
1022
|
idempotencyKey?: string | null | undefined;
|
|
1023
1023
|
} | null;
|
|
1024
1024
|
id: string;
|
|
1025
|
-
targetType: "
|
|
1025
|
+
targetType: "invoice" | "booking" | "other" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
1026
1026
|
targetId: string | null;
|
|
1027
1027
|
bookingId: string | null;
|
|
1028
1028
|
invoiceId: string | null;
|
|
1029
1029
|
bookingPaymentScheduleId: string | null;
|
|
1030
1030
|
bookingGuaranteeId: string | null;
|
|
1031
|
-
status: "
|
|
1031
|
+
status: "paid" | "failed" | "expired" | "cancelled" | "pending" | "authorized" | "requires_redirect" | "processing";
|
|
1032
1032
|
provider: string | null;
|
|
1033
1033
|
providerSessionId: string | null;
|
|
1034
1034
|
providerPaymentId: string | null;
|
|
@@ -1049,13 +1049,13 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1049
1049
|
notes: string | null;
|
|
1050
1050
|
}, {
|
|
1051
1051
|
id: string;
|
|
1052
|
-
targetType: "
|
|
1052
|
+
targetType: "invoice" | "booking" | "other" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
1053
1053
|
targetId: string | null;
|
|
1054
1054
|
bookingId: string | null;
|
|
1055
1055
|
invoiceId: string | null;
|
|
1056
1056
|
bookingPaymentScheduleId: string | null;
|
|
1057
1057
|
bookingGuaranteeId: string | null;
|
|
1058
|
-
status: "
|
|
1058
|
+
status: "paid" | "failed" | "expired" | "cancelled" | "pending" | "authorized" | "requires_redirect" | "processing";
|
|
1059
1059
|
provider: string | null;
|
|
1060
1060
|
providerSessionId: string | null;
|
|
1061
1061
|
providerPaymentId: string | null;
|
|
@@ -1107,7 +1107,7 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1107
1107
|
legacyOrderId: string;
|
|
1108
1108
|
} | null | undefined;
|
|
1109
1109
|
provenance?: {
|
|
1110
|
-
source: "other" | "
|
|
1110
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1111
1111
|
provider?: string | null | undefined;
|
|
1112
1112
|
reference?: string | null | undefined;
|
|
1113
1113
|
idempotencyKey?: string | null | undefined;
|
|
@@ -1294,8 +1294,8 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1294
1294
|
provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1295
1295
|
source: z.ZodDefault<z.ZodEnum<{
|
|
1296
1296
|
other: "other";
|
|
1297
|
-
storefront: "storefront";
|
|
1298
1297
|
operator: "operator";
|
|
1298
|
+
storefront: "storefront";
|
|
1299
1299
|
customer_portal: "customer_portal";
|
|
1300
1300
|
payment_provider: "payment_provider";
|
|
1301
1301
|
supplier_channel: "supplier_channel";
|
|
@@ -1306,10 +1306,10 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1306
1306
|
idempotencyKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1307
1307
|
}, z.core.$strip>>>;
|
|
1308
1308
|
targetType: z.ZodEnum<{
|
|
1309
|
-
|
|
1309
|
+
invoice: "invoice";
|
|
1310
1310
|
booking: "booking";
|
|
1311
|
+
other: "other";
|
|
1311
1312
|
order: "order";
|
|
1312
|
-
invoice: "invoice";
|
|
1313
1313
|
booking_payment_schedule: "booking_payment_schedule";
|
|
1314
1314
|
booking_guarantee: "booking_guarantee";
|
|
1315
1315
|
flight_order: "flight_order";
|
|
@@ -1321,14 +1321,14 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1321
1321
|
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
1322
1322
|
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
1323
1323
|
status: z.ZodEnum<{
|
|
1324
|
+
paid: "paid";
|
|
1324
1325
|
failed: "failed";
|
|
1325
1326
|
expired: "expired";
|
|
1326
1327
|
cancelled: "cancelled";
|
|
1327
1328
|
pending: "pending";
|
|
1328
|
-
processing: "processing";
|
|
1329
|
-
paid: "paid";
|
|
1330
|
-
requires_redirect: "requires_redirect";
|
|
1331
1329
|
authorized: "authorized";
|
|
1330
|
+
requires_redirect: "requires_redirect";
|
|
1331
|
+
processing: "processing";
|
|
1332
1332
|
}>;
|
|
1333
1333
|
provider: z.ZodNullable<z.ZodString>;
|
|
1334
1334
|
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1393,19 +1393,19 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1393
1393
|
legacyOrderId: string;
|
|
1394
1394
|
} | null;
|
|
1395
1395
|
provenance: {
|
|
1396
|
-
source: "other" | "
|
|
1396
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1397
1397
|
provider?: string | null | undefined;
|
|
1398
1398
|
reference?: string | null | undefined;
|
|
1399
1399
|
idempotencyKey?: string | null | undefined;
|
|
1400
1400
|
} | null;
|
|
1401
1401
|
id: string;
|
|
1402
|
-
targetType: "
|
|
1402
|
+
targetType: "invoice" | "booking" | "other" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
1403
1403
|
targetId: string | null;
|
|
1404
1404
|
bookingId: string | null;
|
|
1405
1405
|
invoiceId: string | null;
|
|
1406
1406
|
bookingPaymentScheduleId: string | null;
|
|
1407
1407
|
bookingGuaranteeId: string | null;
|
|
1408
|
-
status: "
|
|
1408
|
+
status: "paid" | "failed" | "expired" | "cancelled" | "pending" | "authorized" | "requires_redirect" | "processing";
|
|
1409
1409
|
provider: string | null;
|
|
1410
1410
|
providerSessionId: string | null;
|
|
1411
1411
|
providerPaymentId: string | null;
|
|
@@ -1426,13 +1426,13 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1426
1426
|
notes: string | null;
|
|
1427
1427
|
}, {
|
|
1428
1428
|
id: string;
|
|
1429
|
-
targetType: "
|
|
1429
|
+
targetType: "invoice" | "booking" | "other" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
1430
1430
|
targetId: string | null;
|
|
1431
1431
|
bookingId: string | null;
|
|
1432
1432
|
invoiceId: string | null;
|
|
1433
1433
|
bookingPaymentScheduleId: string | null;
|
|
1434
1434
|
bookingGuaranteeId: string | null;
|
|
1435
|
-
status: "
|
|
1435
|
+
status: "paid" | "failed" | "expired" | "cancelled" | "pending" | "authorized" | "requires_redirect" | "processing";
|
|
1436
1436
|
provider: string | null;
|
|
1437
1437
|
providerSessionId: string | null;
|
|
1438
1438
|
providerPaymentId: string | null;
|
|
@@ -1484,7 +1484,7 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1484
1484
|
legacyOrderId: string;
|
|
1485
1485
|
} | null | undefined;
|
|
1486
1486
|
provenance?: {
|
|
1487
|
-
source: "other" | "
|
|
1487
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1488
1488
|
provider?: string | null | undefined;
|
|
1489
1489
|
reference?: string | null | undefined;
|
|
1490
1490
|
idempotencyKey?: string | null | undefined;
|
|
@@ -1575,8 +1575,8 @@ export declare const checkoutReminderRunListQuerySchema: z.ZodObject<{
|
|
|
1575
1575
|
failed: "failed";
|
|
1576
1576
|
processing: "processing";
|
|
1577
1577
|
queued: "queued";
|
|
1578
|
-
skipped: "skipped";
|
|
1579
1578
|
sent: "sent";
|
|
1579
|
+
skipped: "skipped";
|
|
1580
1580
|
}>>;
|
|
1581
1581
|
}, z.core.$strip>;
|
|
1582
1582
|
export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
@@ -1599,8 +1599,8 @@ export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
|
1599
1599
|
failed: "failed";
|
|
1600
1600
|
processing: "processing";
|
|
1601
1601
|
queued: "queued";
|
|
1602
|
-
skipped: "skipped";
|
|
1603
1602
|
sent: "sent";
|
|
1603
|
+
skipped: "skipped";
|
|
1604
1604
|
}>;
|
|
1605
1605
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
1606
1606
|
failed: "failed";
|
|
@@ -1641,8 +1641,8 @@ export declare const checkoutReminderRunListResponseSchema: z.ZodObject<{
|
|
|
1641
1641
|
failed: "failed";
|
|
1642
1642
|
processing: "processing";
|
|
1643
1643
|
queued: "queued";
|
|
1644
|
-
skipped: "skipped";
|
|
1645
1644
|
sent: "sent";
|
|
1645
|
+
skipped: "skipped";
|
|
1646
1646
|
}>;
|
|
1647
1647
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
1648
1648
|
failed: "failed";
|
|
@@ -21,6 +21,17 @@ declare function getPaymentSessionLedgerTarget(session: {
|
|
|
21
21
|
export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
22
22
|
"/invoices/:id/action-ledger": {
|
|
23
23
|
$get: {
|
|
24
|
+
input: {
|
|
25
|
+
param: {
|
|
26
|
+
id: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
output: {
|
|
30
|
+
error: string;
|
|
31
|
+
};
|
|
32
|
+
outputFormat: "json";
|
|
33
|
+
status: 404;
|
|
34
|
+
} | {
|
|
24
35
|
input: {
|
|
25
36
|
param: {
|
|
26
37
|
id: string;
|
|
@@ -29,10 +40,11 @@ export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBas
|
|
|
29
40
|
output: {
|
|
30
41
|
data: {
|
|
31
42
|
id: string;
|
|
43
|
+
organizationId: string | null;
|
|
44
|
+
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
32
45
|
actionName: string;
|
|
33
46
|
actionVersion: string;
|
|
34
47
|
actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
|
|
35
|
-
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
36
48
|
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
37
49
|
actorType: string | null;
|
|
38
50
|
principalType: "user" | "api_key" | "agent" | "workflow" | "system";
|
|
@@ -45,7 +57,6 @@ export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBas
|
|
|
45
57
|
delegatedByPrincipalId: string | null;
|
|
46
58
|
delegationId: string | null;
|
|
47
59
|
callerType: string | null;
|
|
48
|
-
organizationId: string | null;
|
|
49
60
|
routeOrToolName: string | null;
|
|
50
61
|
workflowRunId: string | null;
|
|
51
62
|
workflowStepId: string | null;
|
|
@@ -74,17 +85,6 @@ export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBas
|
|
|
74
85
|
};
|
|
75
86
|
outputFormat: "json";
|
|
76
87
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
77
|
-
} | {
|
|
78
|
-
input: {
|
|
79
|
-
param: {
|
|
80
|
-
id: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
output: {
|
|
84
|
-
error: string;
|
|
85
|
-
};
|
|
86
|
-
outputFormat: "json";
|
|
87
|
-
status: 404;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
@@ -98,10 +98,11 @@ export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBas
|
|
|
98
98
|
output: {
|
|
99
99
|
data: {
|
|
100
100
|
id: string;
|
|
101
|
+
organizationId: string | null;
|
|
102
|
+
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
101
103
|
actionName: string;
|
|
102
104
|
actionVersion: string;
|
|
103
105
|
actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
|
|
104
|
-
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
105
106
|
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
106
107
|
actorType: string | null;
|
|
107
108
|
principalType: "user" | "api_key" | "agent" | "workflow" | "system";
|
|
@@ -114,7 +115,6 @@ export declare const financeActionLedgerRoutes: import("hono/hono-base").HonoBas
|
|
|
114
115
|
delegatedByPrincipalId: string | null;
|
|
115
116
|
delegationId: string | null;
|
|
116
117
|
callerType: string | null;
|
|
117
|
-
organizationId: string | null;
|
|
118
118
|
routeOrToolName: string | null;
|
|
119
119
|
workflowRunId: string | null;
|
|
120
120
|
workflowStepId: string | null;
|