@peable.to/contracts 1.2.0 → 3.0.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/cjs/resources/catalog/index.js +1 -5
- package/dist/cjs/resources/checkout/checkoutSessions.js +0 -4
- package/dist/cjs/resources/events/events.js +1 -32
- package/dist/cjs/resources/tax/calculations.js +33 -30
- package/dist/cjs/resources/tax/reports.js +4 -4
- package/dist/cjs/resources/tax/shared.js +7 -11
- package/dist/cjs/resources/tax/transactions.js +7 -10
- package/dist/cjs/vocabulary/catalog.js +1 -17
- package/dist/cjs/vocabulary/errors.js +0 -13
- package/dist/cjs/vocabulary/events.js +0 -1
- package/dist/esm/resources/catalog/index.js +1 -5
- package/dist/esm/resources/checkout/checkoutSessions.js +0 -4
- package/dist/esm/resources/events/events.js +0 -31
- package/dist/esm/resources/tax/calculations.js +29 -26
- package/dist/esm/resources/tax/reports.js +6 -6
- package/dist/esm/resources/tax/shared.js +6 -10
- package/dist/esm/resources/tax/transactions.js +8 -11
- package/dist/esm/vocabulary/catalog.js +0 -16
- package/dist/esm/vocabulary/errors.js +0 -13
- package/dist/esm/vocabulary/events.js +0 -1
- package/dist/types/resources/catalog/index.d.ts +1 -851
- package/dist/types/resources/checkout/checkoutSessions.d.ts +13 -61
- package/dist/types/resources/checkout/index.d.ts +10 -46
- package/dist/types/resources/events/events.d.ts +0 -22
- package/dist/types/resources/events/index.d.ts +2 -15
- package/dist/types/resources/events/webhookDeliveries.d.ts +0 -3
- package/dist/types/resources/events/webhookEndpoints.d.ts +4 -16
- package/dist/types/resources/payments/index.d.ts +10 -10
- package/dist/types/resources/payments/paymentIntents.d.ts +10 -10
- package/dist/types/resources/payments/testHelpers.d.ts +1 -1
- package/dist/types/resources/tax/calculations.d.ts +37 -37
- package/dist/types/resources/tax/index.d.ts +57 -57
- package/dist/types/resources/tax/registrations.d.ts +2 -2
- package/dist/types/resources/tax/reports.d.ts +6 -6
- package/dist/types/resources/tax/shared.d.ts +6 -7
- package/dist/types/resources/tax/transactions.d.ts +61 -61
- package/dist/types/vocabulary/catalog.d.ts +0 -9
- package/dist/types/vocabulary/errors.d.ts +0 -13
- package/dist/types/vocabulary/events.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/resources/catalog/billing.js +0 -755
- package/dist/esm/resources/catalog/billing.js +0 -752
- package/dist/types/resources/catalog/billing.d.ts +0 -1723
|
@@ -36,7 +36,6 @@ export declare const webhookEndpointSchema: z.ZodObject<{
|
|
|
36
36
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
37
37
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
38
38
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
39
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
40
39
|
"connected_account.updated": "connected_account.updated";
|
|
41
40
|
"product.created": "product.created";
|
|
42
41
|
"product.updated": "product.updated";
|
|
@@ -158,7 +157,6 @@ export declare const webhookEndpointWithSecretSchema: z.ZodObject<{
|
|
|
158
157
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
159
158
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
160
159
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
161
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
162
160
|
"connected_account.updated": "connected_account.updated";
|
|
163
161
|
"product.created": "product.created";
|
|
164
162
|
"product.updated": "product.updated";
|
|
@@ -282,7 +280,6 @@ export declare const createWebhookEndpointParams: z.ZodObject<{
|
|
|
282
280
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
283
281
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
284
282
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
285
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
286
283
|
"connected_account.updated": "connected_account.updated";
|
|
287
284
|
"product.created": "product.created";
|
|
288
285
|
"product.updated": "product.updated";
|
|
@@ -349,7 +346,7 @@ export declare const createWebhookEndpointParams: z.ZodObject<{
|
|
|
349
346
|
"tax.review_item.created": "tax.review_item.created";
|
|
350
347
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
351
348
|
"*": "*";
|
|
352
|
-
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "
|
|
349
|
+
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>;
|
|
353
350
|
description: z.ZodOptional<z.ZodString>;
|
|
354
351
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
355
352
|
}, z.core.$strict>;
|
|
@@ -384,7 +381,6 @@ export declare const updateWebhookEndpointParams: z.ZodObject<{
|
|
|
384
381
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
385
382
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
386
383
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
387
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
388
384
|
"connected_account.updated": "connected_account.updated";
|
|
389
385
|
"product.created": "product.created";
|
|
390
386
|
"product.updated": "product.updated";
|
|
@@ -451,7 +447,7 @@ export declare const updateWebhookEndpointParams: z.ZodObject<{
|
|
|
451
447
|
"tax.review_item.created": "tax.review_item.created";
|
|
452
448
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
453
449
|
"*": "*";
|
|
454
|
-
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "
|
|
450
|
+
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>>;
|
|
455
451
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
456
452
|
description: z.ZodOptional<z.ZodString>;
|
|
457
453
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
@@ -519,7 +515,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
519
515
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
520
516
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
521
517
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
522
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
523
518
|
"connected_account.updated": "connected_account.updated";
|
|
524
519
|
"product.created": "product.created";
|
|
525
520
|
"product.updated": "product.updated";
|
|
@@ -586,7 +581,7 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
586
581
|
"tax.review_item.created": "tax.review_item.created";
|
|
587
582
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
588
583
|
"*": "*";
|
|
589
|
-
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "
|
|
584
|
+
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>;
|
|
590
585
|
description: z.ZodOptional<z.ZodString>;
|
|
591
586
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
592
587
|
}, z.core.$strict>;
|
|
@@ -625,7 +620,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
625
620
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
626
621
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
627
622
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
628
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
629
623
|
"connected_account.updated": "connected_account.updated";
|
|
630
624
|
"product.created": "product.created";
|
|
631
625
|
"product.updated": "product.updated";
|
|
@@ -769,7 +763,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
769
763
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
770
764
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
771
765
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
772
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
773
766
|
"connected_account.updated": "connected_account.updated";
|
|
774
767
|
"product.created": "product.created";
|
|
775
768
|
"product.updated": "product.updated";
|
|
@@ -904,7 +897,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
904
897
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
905
898
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
906
899
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
907
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
908
900
|
"connected_account.updated": "connected_account.updated";
|
|
909
901
|
"product.created": "product.created";
|
|
910
902
|
"product.updated": "product.updated";
|
|
@@ -1030,7 +1022,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1030
1022
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
1031
1023
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
1032
1024
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
1033
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
1034
1025
|
"connected_account.updated": "connected_account.updated";
|
|
1035
1026
|
"product.created": "product.created";
|
|
1036
1027
|
"product.updated": "product.updated";
|
|
@@ -1097,7 +1088,7 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1097
1088
|
"tax.review_item.created": "tax.review_item.created";
|
|
1098
1089
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
1099
1090
|
"*": "*";
|
|
1100
|
-
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "
|
|
1091
|
+
}>>, z.ZodTransform<WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>>;
|
|
1101
1092
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1102
1093
|
description: z.ZodOptional<z.ZodString>;
|
|
1103
1094
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
@@ -1136,7 +1127,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1136
1127
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
1137
1128
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
1138
1129
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
1139
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
1140
1130
|
"connected_account.updated": "connected_account.updated";
|
|
1141
1131
|
"product.created": "product.created";
|
|
1142
1132
|
"product.updated": "product.updated";
|
|
@@ -1287,7 +1277,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1287
1277
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
1288
1278
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
1289
1279
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
1290
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
1291
1280
|
"connected_account.updated": "connected_account.updated";
|
|
1292
1281
|
"product.created": "product.created";
|
|
1293
1282
|
"product.updated": "product.updated";
|
|
@@ -1415,7 +1404,6 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1415
1404
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
1416
1405
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
1417
1406
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
1418
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
1419
1407
|
"connected_account.updated": "connected_account.updated";
|
|
1420
1408
|
"product.created": "product.created";
|
|
1421
1409
|
"product.updated": "product.updated";
|
|
@@ -176,8 +176,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
176
176
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
177
177
|
duplicate: "duplicate";
|
|
178
178
|
fraudulent: "fraudulent";
|
|
179
|
-
automatic: "automatic";
|
|
180
179
|
abandoned: "abandoned";
|
|
180
|
+
automatic: "automatic";
|
|
181
181
|
requested_by_customer: "requested_by_customer";
|
|
182
182
|
underpaid: "underpaid";
|
|
183
183
|
}>>;
|
|
@@ -358,8 +358,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
358
358
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
359
359
|
duplicate: "duplicate";
|
|
360
360
|
fraudulent: "fraudulent";
|
|
361
|
-
automatic: "automatic";
|
|
362
361
|
abandoned: "abandoned";
|
|
362
|
+
automatic: "automatic";
|
|
363
363
|
requested_by_customer: "requested_by_customer";
|
|
364
364
|
underpaid: "underpaid";
|
|
365
365
|
}>>;
|
|
@@ -521,8 +521,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
521
521
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
522
522
|
duplicate: "duplicate";
|
|
523
523
|
fraudulent: "fraudulent";
|
|
524
|
-
automatic: "automatic";
|
|
525
524
|
abandoned: "abandoned";
|
|
525
|
+
automatic: "automatic";
|
|
526
526
|
requested_by_customer: "requested_by_customer";
|
|
527
527
|
underpaid: "underpaid";
|
|
528
528
|
}>>;
|
|
@@ -698,8 +698,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
698
698
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
699
699
|
duplicate: "duplicate";
|
|
700
700
|
fraudulent: "fraudulent";
|
|
701
|
-
automatic: "automatic";
|
|
702
701
|
abandoned: "abandoned";
|
|
702
|
+
automatic: "automatic";
|
|
703
703
|
requested_by_customer: "requested_by_customer";
|
|
704
704
|
underpaid: "underpaid";
|
|
705
705
|
}>>;
|
|
@@ -905,8 +905,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
905
905
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
906
906
|
duplicate: "duplicate";
|
|
907
907
|
fraudulent: "fraudulent";
|
|
908
|
-
automatic: "automatic";
|
|
909
908
|
abandoned: "abandoned";
|
|
909
|
+
automatic: "automatic";
|
|
910
910
|
requested_by_customer: "requested_by_customer";
|
|
911
911
|
underpaid: "underpaid";
|
|
912
912
|
}>>;
|
|
@@ -1066,8 +1066,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1066
1066
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1067
1067
|
duplicate: "duplicate";
|
|
1068
1068
|
fraudulent: "fraudulent";
|
|
1069
|
-
automatic: "automatic";
|
|
1070
1069
|
abandoned: "abandoned";
|
|
1070
|
+
automatic: "automatic";
|
|
1071
1071
|
requested_by_customer: "requested_by_customer";
|
|
1072
1072
|
underpaid: "underpaid";
|
|
1073
1073
|
}>>;
|
|
@@ -1232,8 +1232,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1232
1232
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1233
1233
|
duplicate: "duplicate";
|
|
1234
1234
|
fraudulent: "fraudulent";
|
|
1235
|
-
automatic: "automatic";
|
|
1236
1235
|
abandoned: "abandoned";
|
|
1236
|
+
automatic: "automatic";
|
|
1237
1237
|
requested_by_customer: "requested_by_customer";
|
|
1238
1238
|
underpaid: "underpaid";
|
|
1239
1239
|
}>>;
|
|
@@ -1391,8 +1391,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1391
1391
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1392
1392
|
duplicate: "duplicate";
|
|
1393
1393
|
fraudulent: "fraudulent";
|
|
1394
|
-
automatic: "automatic";
|
|
1395
1394
|
abandoned: "abandoned";
|
|
1395
|
+
automatic: "automatic";
|
|
1396
1396
|
requested_by_customer: "requested_by_customer";
|
|
1397
1397
|
underpaid: "underpaid";
|
|
1398
1398
|
}>>;
|
|
@@ -1550,8 +1550,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1550
1550
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1551
1551
|
duplicate: "duplicate";
|
|
1552
1552
|
fraudulent: "fraudulent";
|
|
1553
|
-
automatic: "automatic";
|
|
1554
1553
|
abandoned: "abandoned";
|
|
1554
|
+
automatic: "automatic";
|
|
1555
1555
|
requested_by_customer: "requested_by_customer";
|
|
1556
1556
|
underpaid: "underpaid";
|
|
1557
1557
|
}>>;
|
|
@@ -3457,8 +3457,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3457
3457
|
cancellation_reason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3458
3458
|
duplicate: "duplicate";
|
|
3459
3459
|
fraudulent: "fraudulent";
|
|
3460
|
-
automatic: "automatic";
|
|
3461
3460
|
abandoned: "abandoned";
|
|
3461
|
+
automatic: "automatic";
|
|
3462
3462
|
requested_by_customer: "requested_by_customer";
|
|
3463
3463
|
underpaid: "underpaid";
|
|
3464
3464
|
}>>;
|
|
@@ -174,8 +174,8 @@ export declare const paymentIntentSchema: z.ZodObject<{
|
|
|
174
174
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
175
175
|
duplicate: "duplicate";
|
|
176
176
|
fraudulent: "fraudulent";
|
|
177
|
-
automatic: "automatic";
|
|
178
177
|
abandoned: "abandoned";
|
|
178
|
+
automatic: "automatic";
|
|
179
179
|
requested_by_customer: "requested_by_customer";
|
|
180
180
|
underpaid: "underpaid";
|
|
181
181
|
}>>;
|
|
@@ -640,8 +640,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
640
640
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
641
641
|
duplicate: "duplicate";
|
|
642
642
|
fraudulent: "fraudulent";
|
|
643
|
-
automatic: "automatic";
|
|
644
643
|
abandoned: "abandoned";
|
|
644
|
+
automatic: "automatic";
|
|
645
645
|
requested_by_customer: "requested_by_customer";
|
|
646
646
|
underpaid: "underpaid";
|
|
647
647
|
}>>;
|
|
@@ -822,8 +822,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
822
822
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
823
823
|
duplicate: "duplicate";
|
|
824
824
|
fraudulent: "fraudulent";
|
|
825
|
-
automatic: "automatic";
|
|
826
825
|
abandoned: "abandoned";
|
|
826
|
+
automatic: "automatic";
|
|
827
827
|
requested_by_customer: "requested_by_customer";
|
|
828
828
|
underpaid: "underpaid";
|
|
829
829
|
}>>;
|
|
@@ -985,8 +985,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
985
985
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
986
986
|
duplicate: "duplicate";
|
|
987
987
|
fraudulent: "fraudulent";
|
|
988
|
-
automatic: "automatic";
|
|
989
988
|
abandoned: "abandoned";
|
|
989
|
+
automatic: "automatic";
|
|
990
990
|
requested_by_customer: "requested_by_customer";
|
|
991
991
|
underpaid: "underpaid";
|
|
992
992
|
}>>;
|
|
@@ -1162,8 +1162,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
1162
1162
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
1163
1163
|
duplicate: "duplicate";
|
|
1164
1164
|
fraudulent: "fraudulent";
|
|
1165
|
-
automatic: "automatic";
|
|
1166
1165
|
abandoned: "abandoned";
|
|
1166
|
+
automatic: "automatic";
|
|
1167
1167
|
requested_by_customer: "requested_by_customer";
|
|
1168
1168
|
underpaid: "underpaid";
|
|
1169
1169
|
}>>;
|
|
@@ -1369,8 +1369,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
1369
1369
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
1370
1370
|
duplicate: "duplicate";
|
|
1371
1371
|
fraudulent: "fraudulent";
|
|
1372
|
-
automatic: "automatic";
|
|
1373
1372
|
abandoned: "abandoned";
|
|
1373
|
+
automatic: "automatic";
|
|
1374
1374
|
requested_by_customer: "requested_by_customer";
|
|
1375
1375
|
underpaid: "underpaid";
|
|
1376
1376
|
}>>;
|
|
@@ -1530,8 +1530,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
1530
1530
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
1531
1531
|
duplicate: "duplicate";
|
|
1532
1532
|
fraudulent: "fraudulent";
|
|
1533
|
-
automatic: "automatic";
|
|
1534
1533
|
abandoned: "abandoned";
|
|
1534
|
+
automatic: "automatic";
|
|
1535
1535
|
requested_by_customer: "requested_by_customer";
|
|
1536
1536
|
underpaid: "underpaid";
|
|
1537
1537
|
}>>;
|
|
@@ -1696,8 +1696,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
1696
1696
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
1697
1697
|
duplicate: "duplicate";
|
|
1698
1698
|
fraudulent: "fraudulent";
|
|
1699
|
-
automatic: "automatic";
|
|
1700
1699
|
abandoned: "abandoned";
|
|
1700
|
+
automatic: "automatic";
|
|
1701
1701
|
requested_by_customer: "requested_by_customer";
|
|
1702
1702
|
underpaid: "underpaid";
|
|
1703
1703
|
}>>;
|
|
@@ -1855,8 +1855,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
1855
1855
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
1856
1856
|
duplicate: "duplicate";
|
|
1857
1857
|
fraudulent: "fraudulent";
|
|
1858
|
-
automatic: "automatic";
|
|
1859
1858
|
abandoned: "abandoned";
|
|
1859
|
+
automatic: "automatic";
|
|
1860
1860
|
requested_by_customer: "requested_by_customer";
|
|
1861
1861
|
underpaid: "underpaid";
|
|
1862
1862
|
}>>;
|
|
@@ -2014,8 +2014,8 @@ export declare const paymentIntentRoutes: readonly [{
|
|
|
2014
2014
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
2015
2015
|
duplicate: "duplicate";
|
|
2016
2016
|
fraudulent: "fraudulent";
|
|
2017
|
-
automatic: "automatic";
|
|
2018
2017
|
abandoned: "abandoned";
|
|
2018
|
+
automatic: "automatic";
|
|
2019
2019
|
requested_by_customer: "requested_by_customer";
|
|
2020
2020
|
underpaid: "underpaid";
|
|
2021
2021
|
}>>;
|
|
@@ -118,8 +118,8 @@ export declare const paymentIntentTestHelperRoutes: readonly [{
|
|
|
118
118
|
cancellation_reason: z.ZodNullable<z.ZodEnum<{
|
|
119
119
|
duplicate: "duplicate";
|
|
120
120
|
fraudulent: "fraudulent";
|
|
121
|
-
automatic: "automatic";
|
|
122
121
|
abandoned: "abandoned";
|
|
122
|
+
automatic: "automatic";
|
|
123
123
|
requested_by_customer: "requested_by_customer";
|
|
124
124
|
underpaid: "underpaid";
|
|
125
125
|
}>>;
|
|
@@ -13,8 +13,8 @@ export declare const taxBreakdownEntrySchema: z.ZodObject<{
|
|
|
13
13
|
display_name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
tax_type: z.ZodNullable<z.ZodString>;
|
|
15
15
|
rate_percentage: z.ZodNullable<z.ZodString>;
|
|
16
|
-
taxable_amount: z.
|
|
17
|
-
amount: z.
|
|
16
|
+
taxable_amount: z.ZodString;
|
|
17
|
+
amount: z.ZodString;
|
|
18
18
|
inclusive: z.ZodBoolean;
|
|
19
19
|
taxability_reason: z.ZodString;
|
|
20
20
|
}, z.core.$strict>;
|
|
@@ -27,9 +27,9 @@ export declare const taxCalculationLineItemSchema: z.ZodObject<{
|
|
|
27
27
|
inclusive: "inclusive";
|
|
28
28
|
exclusive: "exclusive";
|
|
29
29
|
}>;
|
|
30
|
-
amount: z.
|
|
31
|
-
amount_tax: z.
|
|
32
|
-
amount_net: z.
|
|
30
|
+
amount: z.ZodString;
|
|
31
|
+
amount_tax: z.ZodString;
|
|
32
|
+
amount_net: z.ZodString;
|
|
33
33
|
breakdown: z.ZodArray<z.ZodObject<{
|
|
34
34
|
country: z.ZodString;
|
|
35
35
|
state: z.ZodNullable<z.ZodString>;
|
|
@@ -37,8 +37,8 @@ export declare const taxCalculationLineItemSchema: z.ZodObject<{
|
|
|
37
37
|
display_name: z.ZodNullable<z.ZodString>;
|
|
38
38
|
tax_type: z.ZodNullable<z.ZodString>;
|
|
39
39
|
rate_percentage: z.ZodNullable<z.ZodString>;
|
|
40
|
-
taxable_amount: z.
|
|
41
|
-
amount: z.
|
|
40
|
+
taxable_amount: z.ZodString;
|
|
41
|
+
amount: z.ZodString;
|
|
42
42
|
inclusive: z.ZodBoolean;
|
|
43
43
|
taxability_reason: z.ZodString;
|
|
44
44
|
}, z.core.$strict>>;
|
|
@@ -59,10 +59,10 @@ export declare const taxCalculationSchema: z.ZodObject<{
|
|
|
59
59
|
customer_location_evidence_id: z.ZodString;
|
|
60
60
|
country: z.ZodString;
|
|
61
61
|
state: z.ZodNullable<z.ZodString>;
|
|
62
|
-
amount_total: z.
|
|
63
|
-
amount_net: z.
|
|
64
|
-
tax_amount_exclusive: z.
|
|
65
|
-
tax_amount_inclusive: z.
|
|
62
|
+
amount_total: z.ZodString;
|
|
63
|
+
amount_net: z.ZodString;
|
|
64
|
+
tax_amount_exclusive: z.ZodString;
|
|
65
|
+
tax_amount_inclusive: z.ZodString;
|
|
66
66
|
line_items: z.ZodArray<z.ZodObject<{
|
|
67
67
|
reference: z.ZodString;
|
|
68
68
|
quantity: z.ZodNumber;
|
|
@@ -71,9 +71,9 @@ export declare const taxCalculationSchema: z.ZodObject<{
|
|
|
71
71
|
inclusive: "inclusive";
|
|
72
72
|
exclusive: "exclusive";
|
|
73
73
|
}>;
|
|
74
|
-
amount: z.
|
|
75
|
-
amount_tax: z.
|
|
76
|
-
amount_net: z.
|
|
74
|
+
amount: z.ZodString;
|
|
75
|
+
amount_tax: z.ZodString;
|
|
76
|
+
amount_net: z.ZodString;
|
|
77
77
|
breakdown: z.ZodArray<z.ZodObject<{
|
|
78
78
|
country: z.ZodString;
|
|
79
79
|
state: z.ZodNullable<z.ZodString>;
|
|
@@ -81,8 +81,8 @@ export declare const taxCalculationSchema: z.ZodObject<{
|
|
|
81
81
|
display_name: z.ZodNullable<z.ZodString>;
|
|
82
82
|
tax_type: z.ZodNullable<z.ZodString>;
|
|
83
83
|
rate_percentage: z.ZodNullable<z.ZodString>;
|
|
84
|
-
taxable_amount: z.
|
|
85
|
-
amount: z.
|
|
84
|
+
taxable_amount: z.ZodString;
|
|
85
|
+
amount: z.ZodString;
|
|
86
86
|
inclusive: z.ZodBoolean;
|
|
87
87
|
taxability_reason: z.ZodString;
|
|
88
88
|
}, z.core.$strict>>;
|
|
@@ -100,7 +100,7 @@ declare module '../../common/objects' {
|
|
|
100
100
|
}
|
|
101
101
|
export declare const taxLineItemParams: z.ZodObject<{
|
|
102
102
|
reference: z.ZodString;
|
|
103
|
-
amount: z.
|
|
103
|
+
amount: z.ZodString;
|
|
104
104
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
tax_code: z.ZodOptional<z.ZodString>;
|
|
106
106
|
tax_behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -114,7 +114,7 @@ export declare const createTaxCalculationParams: z.ZodObject<{
|
|
|
114
114
|
customer_location_evidence_id: z.ZodString;
|
|
115
115
|
line_items: z.ZodArray<z.ZodObject<{
|
|
116
116
|
reference: z.ZodString;
|
|
117
|
-
amount: z.
|
|
117
|
+
amount: z.ZodString;
|
|
118
118
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
119
119
|
tax_code: z.ZodOptional<z.ZodString>;
|
|
120
120
|
tax_behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -139,7 +139,7 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
139
139
|
customer_location_evidence_id: z.ZodString;
|
|
140
140
|
line_items: z.ZodArray<z.ZodObject<{
|
|
141
141
|
reference: z.ZodString;
|
|
142
|
-
amount: z.
|
|
142
|
+
amount: z.ZodString;
|
|
143
143
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
144
144
|
tax_code: z.ZodOptional<z.ZodString>;
|
|
145
145
|
tax_behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -163,10 +163,10 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
163
163
|
customer_location_evidence_id: z.ZodString;
|
|
164
164
|
country: z.ZodString;
|
|
165
165
|
state: z.ZodNullable<z.ZodString>;
|
|
166
|
-
amount_total: z.
|
|
167
|
-
amount_net: z.
|
|
168
|
-
tax_amount_exclusive: z.
|
|
169
|
-
tax_amount_inclusive: z.
|
|
166
|
+
amount_total: z.ZodString;
|
|
167
|
+
amount_net: z.ZodString;
|
|
168
|
+
tax_amount_exclusive: z.ZodString;
|
|
169
|
+
tax_amount_inclusive: z.ZodString;
|
|
170
170
|
line_items: z.ZodArray<z.ZodObject<{
|
|
171
171
|
reference: z.ZodString;
|
|
172
172
|
quantity: z.ZodNumber;
|
|
@@ -175,9 +175,9 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
175
175
|
inclusive: "inclusive";
|
|
176
176
|
exclusive: "exclusive";
|
|
177
177
|
}>;
|
|
178
|
-
amount: z.
|
|
179
|
-
amount_tax: z.
|
|
180
|
-
amount_net: z.
|
|
178
|
+
amount: z.ZodString;
|
|
179
|
+
amount_tax: z.ZodString;
|
|
180
|
+
amount_net: z.ZodString;
|
|
181
181
|
breakdown: z.ZodArray<z.ZodObject<{
|
|
182
182
|
country: z.ZodString;
|
|
183
183
|
state: z.ZodNullable<z.ZodString>;
|
|
@@ -185,8 +185,8 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
185
185
|
display_name: z.ZodNullable<z.ZodString>;
|
|
186
186
|
tax_type: z.ZodNullable<z.ZodString>;
|
|
187
187
|
rate_percentage: z.ZodNullable<z.ZodString>;
|
|
188
|
-
taxable_amount: z.
|
|
189
|
-
amount: z.
|
|
188
|
+
taxable_amount: z.ZodString;
|
|
189
|
+
amount: z.ZodString;
|
|
190
190
|
inclusive: z.ZodBoolean;
|
|
191
191
|
taxability_reason: z.ZodString;
|
|
192
192
|
}, z.core.$strict>>;
|
|
@@ -224,10 +224,10 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
224
224
|
customer_location_evidence_id: z.ZodString;
|
|
225
225
|
country: z.ZodString;
|
|
226
226
|
state: z.ZodNullable<z.ZodString>;
|
|
227
|
-
amount_total: z.
|
|
228
|
-
amount_net: z.
|
|
229
|
-
tax_amount_exclusive: z.
|
|
230
|
-
tax_amount_inclusive: z.
|
|
227
|
+
amount_total: z.ZodString;
|
|
228
|
+
amount_net: z.ZodString;
|
|
229
|
+
tax_amount_exclusive: z.ZodString;
|
|
230
|
+
tax_amount_inclusive: z.ZodString;
|
|
231
231
|
line_items: z.ZodArray<z.ZodObject<{
|
|
232
232
|
reference: z.ZodString;
|
|
233
233
|
quantity: z.ZodNumber;
|
|
@@ -236,9 +236,9 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
236
236
|
inclusive: "inclusive";
|
|
237
237
|
exclusive: "exclusive";
|
|
238
238
|
}>;
|
|
239
|
-
amount: z.
|
|
240
|
-
amount_tax: z.
|
|
241
|
-
amount_net: z.
|
|
239
|
+
amount: z.ZodString;
|
|
240
|
+
amount_tax: z.ZodString;
|
|
241
|
+
amount_net: z.ZodString;
|
|
242
242
|
breakdown: z.ZodArray<z.ZodObject<{
|
|
243
243
|
country: z.ZodString;
|
|
244
244
|
state: z.ZodNullable<z.ZodString>;
|
|
@@ -246,8 +246,8 @@ export declare const taxCalculationRoutes: readonly [{
|
|
|
246
246
|
display_name: z.ZodNullable<z.ZodString>;
|
|
247
247
|
tax_type: z.ZodNullable<z.ZodString>;
|
|
248
248
|
rate_percentage: z.ZodNullable<z.ZodString>;
|
|
249
|
-
taxable_amount: z.
|
|
250
|
-
amount: z.
|
|
249
|
+
taxable_amount: z.ZodString;
|
|
250
|
+
amount: z.ZodString;
|
|
251
251
|
inclusive: z.ZodBoolean;
|
|
252
252
|
taxability_reason: z.ZodString;
|
|
253
253
|
}, z.core.$strict>>;
|