@kizlo/woocommerce 0.13.0 → 0.14.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/README.md +5 -1
- package/dist/checkout-validation.d.ts +2 -0
- package/dist/checkout-validation.js +3 -0
- package/dist/index.d.ts +143 -264
- package/dist/index.js +11 -117
- package/dist/schema-ScTHhVY4.d.ts +368 -0
- package/dist/validation-DDEq7ebc.js +337 -0
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -62,7 +62,11 @@ Customer reads use the grouped `billing.additional_fields` adapter backed by pub
|
|
|
62
62
|
|
|
63
63
|
Consumers should deploy the matching WooCommerce plugin and regenerate their contract after upgrading; the old per-field raw `billing.tax_id` response is removed. The native API remains `customer.billing.taxId` and `billingAddress.taxId`. This feature does not validate jurisdiction-specific identifiers or calculate tax exemptions.
|
|
64
64
|
|
|
65
|
-
Storefront field definitions include SDK binding paths derived from the same address identity and native projection contract. For billing Tax ID, `bindings.billing` is `["taxId"]`; there is no shipping binding.
|
|
65
|
+
Storefront field definitions include SDK binding paths derived from the same address identity and native projection contract. For billing Tax ID, `bindings.billing` is `["taxId"]`; there is no shipping binding. See [checkout validation](./docs/checkout-validation.md) to attach server errors through the shared field bindings.
|
|
66
|
+
|
|
67
|
+
## Checkout validation
|
|
68
|
+
|
|
69
|
+
Update, confirm, and retry expose `CHECKOUT_VALIDATION_FAILED.data = { issues }`. Registered fields carry literal IDs and normalized SDK buckets for Kit or standalone consumers to match against loaded bindings. The browser entry retains schemas/types; the SDK resolver is removed. See [client handling and Kit requirements](./docs/checkout-validation.md) and the [breaking handler migration](./docs/checkout-validation-migration.md).
|
|
66
70
|
|
|
67
71
|
## Storefront settings
|
|
68
72
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { a as StorefrontCountry, c as StorefrontFieldOverride, d as StorefrontPricing, f as CheckoutRegisteredFieldReference, i as StorefrontCheckout, l as StorefrontFieldRule, m as CheckoutValidationIssue, n as StorefrontAddress, o as StorefrontField, p as CheckoutValidationData, r as StorefrontCatalog, s as StorefrontFieldOption, t as Storefront, u as StorefrontFieldSchema } from "./schema-ScTHhVY4.js";
|
|
1
2
|
import * as kizlo0 from "kizlo";
|
|
2
3
|
import { WP_CustomFields, WP_Schema } from "kizlo";
|
|
3
4
|
import * as _kizlo_shared0 from "@kizlo/shared";
|
|
@@ -3769,263 +3770,6 @@ declare const RetrieveProductFiltersInput: z.ZodObject<{
|
|
|
3769
3770
|
type RetrieveProductFiltersInput = z.input<typeof RetrieveProductFiltersInput>;
|
|
3770
3771
|
type RetrieveProductFiltersInputOut = z.output<typeof RetrieveProductFiltersInput>;
|
|
3771
3772
|
//#endregion
|
|
3772
|
-
//#region src/storefront/schema.d.ts
|
|
3773
|
-
/**
|
|
3774
|
-
* A plugin-registered field may make `required` or `hidden` a JSON Schema rule evaluated against the
|
|
3775
|
-
* checkout rather than a fixed boolean.
|
|
3776
|
-
*/
|
|
3777
|
-
declare const StorefrontFieldRule: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3778
|
-
type StorefrontFieldRule = z$2.infer<typeof StorefrontFieldRule>;
|
|
3779
|
-
declare const StorefrontFieldOption: z$2.ZodObject<{
|
|
3780
|
-
value: z$2.ZodString;
|
|
3781
|
-
label: z$2.ZodString;
|
|
3782
|
-
}, z$2.core.$strip>;
|
|
3783
|
-
type StorefrontFieldOption = z$2.infer<typeof StorefrontFieldOption>;
|
|
3784
|
-
/** JSON Schema draft-07, retained as data for the consumer's validator. */
|
|
3785
|
-
declare const StorefrontFieldSchema: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3786
|
-
type StorefrontFieldSchema = z$2.infer<typeof StorefrontFieldSchema>;
|
|
3787
|
-
declare const StorefrontField: z$2.ZodObject<{
|
|
3788
|
-
id: z$2.ZodString;
|
|
3789
|
-
location: z$2.ZodEnum<{
|
|
3790
|
-
address: "address";
|
|
3791
|
-
order: "order";
|
|
3792
|
-
contact: "contact";
|
|
3793
|
-
}>;
|
|
3794
|
-
attributes: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
|
|
3795
|
-
schema: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3796
|
-
bindings: z$2.ZodObject<{
|
|
3797
|
-
billing: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3798
|
-
shipping: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3799
|
-
other: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3800
|
-
}, z$2.core.$strip>;
|
|
3801
|
-
label: z$2.ZodString;
|
|
3802
|
-
optionalLabel: z$2.ZodString;
|
|
3803
|
-
required: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3804
|
-
hidden: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3805
|
-
type: z$2.ZodNullable<z$2.ZodString>;
|
|
3806
|
-
autocomplete: z$2.ZodNullable<z$2.ZodString>;
|
|
3807
|
-
index: z$2.ZodNullable<z$2.ZodNumber>;
|
|
3808
|
-
placeholder: z$2.ZodNullable<z$2.ZodString>;
|
|
3809
|
-
options: z$2.ZodArray<z$2.ZodObject<{
|
|
3810
|
-
value: z$2.ZodString;
|
|
3811
|
-
label: z$2.ZodString;
|
|
3812
|
-
}, z$2.core.$strip>>;
|
|
3813
|
-
}, z$2.core.$strip>;
|
|
3814
|
-
type StorefrontField = z$2.infer<typeof StorefrontField>;
|
|
3815
|
-
/** What a country changes about a field. Anything it leaves out keeps the field's default. */
|
|
3816
|
-
declare const StorefrontFieldOverride: z$2.ZodObject<{
|
|
3817
|
-
label: z$2.ZodOptional<z$2.ZodString>;
|
|
3818
|
-
required: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3819
|
-
hidden: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3820
|
-
index: z$2.ZodOptional<z$2.ZodNumber>;
|
|
3821
|
-
}, z$2.core.$strip>;
|
|
3822
|
-
type StorefrontFieldOverride = z$2.infer<typeof StorefrontFieldOverride>;
|
|
3823
|
-
declare const StorefrontCountry: z$2.ZodObject<{
|
|
3824
|
-
code: z$2.ZodString;
|
|
3825
|
-
name: z$2.ZodString;
|
|
3826
|
-
allowBilling: z$2.ZodBoolean;
|
|
3827
|
-
allowShipping: z$2.ZodBoolean;
|
|
3828
|
-
states: z$2.ZodArray<z$2.ZodObject<{
|
|
3829
|
-
code: z$2.ZodString;
|
|
3830
|
-
name: z$2.ZodString;
|
|
3831
|
-
}, z$2.core.$strip>>;
|
|
3832
|
-
locale: z$2.ZodRecord<z$2.ZodString, z$2.ZodObject<{
|
|
3833
|
-
label: z$2.ZodOptional<z$2.ZodString>;
|
|
3834
|
-
required: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3835
|
-
hidden: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3836
|
-
index: z$2.ZodOptional<z$2.ZodNumber>;
|
|
3837
|
-
}, z$2.core.$strip>>;
|
|
3838
|
-
format: z$2.ZodString;
|
|
3839
|
-
}, z$2.core.$strip>;
|
|
3840
|
-
type StorefrontCountry = z$2.infer<typeof StorefrontCountry>;
|
|
3841
|
-
declare const StorefrontAddress: z$2.ZodObject<{
|
|
3842
|
-
countries: z$2.ZodArray<z$2.ZodObject<{
|
|
3843
|
-
code: z$2.ZodString;
|
|
3844
|
-
name: z$2.ZodString;
|
|
3845
|
-
allowBilling: z$2.ZodBoolean;
|
|
3846
|
-
allowShipping: z$2.ZodBoolean;
|
|
3847
|
-
states: z$2.ZodArray<z$2.ZodObject<{
|
|
3848
|
-
code: z$2.ZodString;
|
|
3849
|
-
name: z$2.ZodString;
|
|
3850
|
-
}, z$2.core.$strip>>;
|
|
3851
|
-
locale: z$2.ZodRecord<z$2.ZodString, z$2.ZodObject<{
|
|
3852
|
-
label: z$2.ZodOptional<z$2.ZodString>;
|
|
3853
|
-
required: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3854
|
-
hidden: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3855
|
-
index: z$2.ZodOptional<z$2.ZodNumber>;
|
|
3856
|
-
}, z$2.core.$strip>>;
|
|
3857
|
-
format: z$2.ZodString;
|
|
3858
|
-
}, z$2.core.$strip>>;
|
|
3859
|
-
defaultAddressFormat: z$2.ZodString;
|
|
3860
|
-
fields: z$2.ZodArray<z$2.ZodObject<{
|
|
3861
|
-
id: z$2.ZodString;
|
|
3862
|
-
location: z$2.ZodEnum<{
|
|
3863
|
-
address: "address";
|
|
3864
|
-
order: "order";
|
|
3865
|
-
contact: "contact";
|
|
3866
|
-
}>;
|
|
3867
|
-
attributes: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
|
|
3868
|
-
schema: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3869
|
-
bindings: z$2.ZodObject<{
|
|
3870
|
-
billing: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3871
|
-
shipping: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3872
|
-
other: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3873
|
-
}, z$2.core.$strip>;
|
|
3874
|
-
label: z$2.ZodString;
|
|
3875
|
-
optionalLabel: z$2.ZodString;
|
|
3876
|
-
required: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3877
|
-
hidden: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3878
|
-
type: z$2.ZodNullable<z$2.ZodString>;
|
|
3879
|
-
autocomplete: z$2.ZodNullable<z$2.ZodString>;
|
|
3880
|
-
index: z$2.ZodNullable<z$2.ZodNumber>;
|
|
3881
|
-
placeholder: z$2.ZodNullable<z$2.ZodString>;
|
|
3882
|
-
options: z$2.ZodArray<z$2.ZodObject<{
|
|
3883
|
-
value: z$2.ZodString;
|
|
3884
|
-
label: z$2.ZodString;
|
|
3885
|
-
}, z$2.core.$strip>>;
|
|
3886
|
-
}, z$2.core.$strip>>;
|
|
3887
|
-
baseCountry: z$2.ZodString;
|
|
3888
|
-
defaultCountry: z$2.ZodNullable<z$2.ZodString>;
|
|
3889
|
-
}, z$2.core.$strip>;
|
|
3890
|
-
type StorefrontAddress = z$2.infer<typeof StorefrontAddress>;
|
|
3891
|
-
declare const StorefrontCheckout: z$2.ZodObject<{
|
|
3892
|
-
allowsGuest: z$2.ZodBoolean;
|
|
3893
|
-
couponsEnabled: z$2.ZodBoolean;
|
|
3894
|
-
forcedBillingAddress: z$2.ZodBoolean;
|
|
3895
|
-
taxesEnabled: z$2.ZodBoolean;
|
|
3896
|
-
displayCartPricesIncludingTax: z$2.ZodBoolean;
|
|
3897
|
-
displayItemizedTaxes: z$2.ZodBoolean;
|
|
3898
|
-
shippingEnabled: z$2.ZodBoolean;
|
|
3899
|
-
localPickup: z$2.ZodObject<{
|
|
3900
|
-
enabled: z$2.ZodBoolean;
|
|
3901
|
-
title: z$2.ZodString;
|
|
3902
|
-
cost: z$2.ZodString;
|
|
3903
|
-
methodIds: z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>;
|
|
3904
|
-
}, z$2.core.$strip>;
|
|
3905
|
-
}, z$2.core.$strip>;
|
|
3906
|
-
type StorefrontCheckout = z$2.infer<typeof StorefrontCheckout>;
|
|
3907
|
-
declare const StorefrontPricing: z$2.ZodObject<{
|
|
3908
|
-
currency: z$2.ZodObject<{
|
|
3909
|
-
currencyCode: z$2.ZodString;
|
|
3910
|
-
currencySymbol: z$2.ZodString;
|
|
3911
|
-
currencyPrefix: z$2.ZodString;
|
|
3912
|
-
currencySuffix: z$2.ZodString;
|
|
3913
|
-
currencyMinorUnit: z$2.ZodNumber;
|
|
3914
|
-
currencyDecimalSeparator: z$2.ZodString;
|
|
3915
|
-
currencyThousandSeparator: z$2.ZodString;
|
|
3916
|
-
}, z$2.core.$strip>;
|
|
3917
|
-
pricesIncludeTax: z$2.ZodBoolean;
|
|
3918
|
-
displayShopPricesIncludingTax: z$2.ZodBoolean;
|
|
3919
|
-
priceSuffix: z$2.ZodString;
|
|
3920
|
-
}, z$2.core.$strip>;
|
|
3921
|
-
type StorefrontPricing = z$2.infer<typeof StorefrontPricing>;
|
|
3922
|
-
declare const StorefrontCatalog: z$2.ZodObject<{
|
|
3923
|
-
weightUnit: z$2.ZodString;
|
|
3924
|
-
dimensionUnit: z$2.ZodString;
|
|
3925
|
-
reviewsEnabled: z$2.ZodBoolean;
|
|
3926
|
-
reviewRatingsEnabled: z$2.ZodBoolean;
|
|
3927
|
-
reviewRatingRequired: z$2.ZodBoolean;
|
|
3928
|
-
reviewsVerifiedOwnersOnly: z$2.ZodBoolean;
|
|
3929
|
-
stockFormat: z$2.ZodString;
|
|
3930
|
-
hideOutOfStock: z$2.ZodBoolean;
|
|
3931
|
-
placeholderImage: z$2.ZodString;
|
|
3932
|
-
cartRedirectAfterAdd: z$2.ZodBoolean;
|
|
3933
|
-
}, z$2.core.$strip>;
|
|
3934
|
-
type StorefrontCatalog = z$2.infer<typeof StorefrontCatalog>;
|
|
3935
|
-
declare const Storefront: z$2.ZodObject<{
|
|
3936
|
-
address: z$2.ZodObject<{
|
|
3937
|
-
countries: z$2.ZodArray<z$2.ZodObject<{
|
|
3938
|
-
code: z$2.ZodString;
|
|
3939
|
-
name: z$2.ZodString;
|
|
3940
|
-
allowBilling: z$2.ZodBoolean;
|
|
3941
|
-
allowShipping: z$2.ZodBoolean;
|
|
3942
|
-
states: z$2.ZodArray<z$2.ZodObject<{
|
|
3943
|
-
code: z$2.ZodString;
|
|
3944
|
-
name: z$2.ZodString;
|
|
3945
|
-
}, z$2.core.$strip>>;
|
|
3946
|
-
locale: z$2.ZodRecord<z$2.ZodString, z$2.ZodObject<{
|
|
3947
|
-
label: z$2.ZodOptional<z$2.ZodString>;
|
|
3948
|
-
required: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3949
|
-
hidden: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
3950
|
-
index: z$2.ZodOptional<z$2.ZodNumber>;
|
|
3951
|
-
}, z$2.core.$strip>>;
|
|
3952
|
-
format: z$2.ZodString;
|
|
3953
|
-
}, z$2.core.$strip>>;
|
|
3954
|
-
defaultAddressFormat: z$2.ZodString;
|
|
3955
|
-
fields: z$2.ZodArray<z$2.ZodObject<{
|
|
3956
|
-
id: z$2.ZodString;
|
|
3957
|
-
location: z$2.ZodEnum<{
|
|
3958
|
-
address: "address";
|
|
3959
|
-
order: "order";
|
|
3960
|
-
contact: "contact";
|
|
3961
|
-
}>;
|
|
3962
|
-
attributes: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
|
|
3963
|
-
schema: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3964
|
-
bindings: z$2.ZodObject<{
|
|
3965
|
-
billing: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3966
|
-
shipping: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3967
|
-
other: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
3968
|
-
}, z$2.core.$strip>;
|
|
3969
|
-
label: z$2.ZodString;
|
|
3970
|
-
optionalLabel: z$2.ZodString;
|
|
3971
|
-
required: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3972
|
-
hidden: z$2.ZodUnion<readonly [z$2.ZodBoolean, z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>]>;
|
|
3973
|
-
type: z$2.ZodNullable<z$2.ZodString>;
|
|
3974
|
-
autocomplete: z$2.ZodNullable<z$2.ZodString>;
|
|
3975
|
-
index: z$2.ZodNullable<z$2.ZodNumber>;
|
|
3976
|
-
placeholder: z$2.ZodNullable<z$2.ZodString>;
|
|
3977
|
-
options: z$2.ZodArray<z$2.ZodObject<{
|
|
3978
|
-
value: z$2.ZodString;
|
|
3979
|
-
label: z$2.ZodString;
|
|
3980
|
-
}, z$2.core.$strip>>;
|
|
3981
|
-
}, z$2.core.$strip>>;
|
|
3982
|
-
baseCountry: z$2.ZodString;
|
|
3983
|
-
defaultCountry: z$2.ZodNullable<z$2.ZodString>;
|
|
3984
|
-
}, z$2.core.$strip>;
|
|
3985
|
-
checkout: z$2.ZodObject<{
|
|
3986
|
-
allowsGuest: z$2.ZodBoolean;
|
|
3987
|
-
couponsEnabled: z$2.ZodBoolean;
|
|
3988
|
-
forcedBillingAddress: z$2.ZodBoolean;
|
|
3989
|
-
taxesEnabled: z$2.ZodBoolean;
|
|
3990
|
-
displayCartPricesIncludingTax: z$2.ZodBoolean;
|
|
3991
|
-
displayItemizedTaxes: z$2.ZodBoolean;
|
|
3992
|
-
shippingEnabled: z$2.ZodBoolean;
|
|
3993
|
-
localPickup: z$2.ZodObject<{
|
|
3994
|
-
enabled: z$2.ZodBoolean;
|
|
3995
|
-
title: z$2.ZodString;
|
|
3996
|
-
cost: z$2.ZodString;
|
|
3997
|
-
methodIds: z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>;
|
|
3998
|
-
}, z$2.core.$strip>;
|
|
3999
|
-
}, z$2.core.$strip>;
|
|
4000
|
-
pricing: z$2.ZodObject<{
|
|
4001
|
-
currency: z$2.ZodObject<{
|
|
4002
|
-
currencyCode: z$2.ZodString;
|
|
4003
|
-
currencySymbol: z$2.ZodString;
|
|
4004
|
-
currencyPrefix: z$2.ZodString;
|
|
4005
|
-
currencySuffix: z$2.ZodString;
|
|
4006
|
-
currencyMinorUnit: z$2.ZodNumber;
|
|
4007
|
-
currencyDecimalSeparator: z$2.ZodString;
|
|
4008
|
-
currencyThousandSeparator: z$2.ZodString;
|
|
4009
|
-
}, z$2.core.$strip>;
|
|
4010
|
-
pricesIncludeTax: z$2.ZodBoolean;
|
|
4011
|
-
displayShopPricesIncludingTax: z$2.ZodBoolean;
|
|
4012
|
-
priceSuffix: z$2.ZodString;
|
|
4013
|
-
}, z$2.core.$strip>;
|
|
4014
|
-
catalog: z$2.ZodObject<{
|
|
4015
|
-
weightUnit: z$2.ZodString;
|
|
4016
|
-
dimensionUnit: z$2.ZodString;
|
|
4017
|
-
reviewsEnabled: z$2.ZodBoolean;
|
|
4018
|
-
reviewRatingsEnabled: z$2.ZodBoolean;
|
|
4019
|
-
reviewRatingRequired: z$2.ZodBoolean;
|
|
4020
|
-
reviewsVerifiedOwnersOnly: z$2.ZodBoolean;
|
|
4021
|
-
stockFormat: z$2.ZodString;
|
|
4022
|
-
hideOutOfStock: z$2.ZodBoolean;
|
|
4023
|
-
placeholderImage: z$2.ZodString;
|
|
4024
|
-
cartRedirectAfterAdd: z$2.ZodBoolean;
|
|
4025
|
-
}, z$2.core.$strip>;
|
|
4026
|
-
}, z$2.core.$strip>;
|
|
4027
|
-
type Storefront = z$2.infer<typeof Storefront>;
|
|
4028
|
-
//#endregion
|
|
4029
3773
|
//#region src/index.d.ts
|
|
4030
3774
|
declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
4031
3775
|
cart: {
|
|
@@ -4380,8 +4124,53 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
4380
4124
|
readonly status: 400;
|
|
4381
4125
|
readonly message: "Checkout validation failed.";
|
|
4382
4126
|
readonly data: zod0.ZodObject<{
|
|
4383
|
-
|
|
4384
|
-
|
|
4127
|
+
issues: zod0.ZodArray<zod0.ZodDiscriminatedUnion<[zod0.ZodObject<{
|
|
4128
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
4129
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
4130
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
4131
|
+
message: zod0.ZodString;
|
|
4132
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
4133
|
+
id: zod0.ZodString;
|
|
4134
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
4135
|
+
billingAddress: "billingAddress";
|
|
4136
|
+
shippingAddress: "shippingAddress";
|
|
4137
|
+
additionalFields: "additionalFields";
|
|
4138
|
+
}>>;
|
|
4139
|
+
}, zod_v4_core0.$strip>>;
|
|
4140
|
+
scope: zod0.ZodLiteral<"field">;
|
|
4141
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
4142
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
4143
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
4144
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
4145
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
4146
|
+
message: zod0.ZodString;
|
|
4147
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
4148
|
+
id: zod0.ZodString;
|
|
4149
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
4150
|
+
billingAddress: "billingAddress";
|
|
4151
|
+
shippingAddress: "shippingAddress";
|
|
4152
|
+
additionalFields: "additionalFields";
|
|
4153
|
+
}>>;
|
|
4154
|
+
}, zod_v4_core0.$strip>>;
|
|
4155
|
+
scope: zod0.ZodLiteral<"group">;
|
|
4156
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
4157
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
4158
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
4159
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
4160
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
4161
|
+
message: zod0.ZodString;
|
|
4162
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
4163
|
+
id: zod0.ZodString;
|
|
4164
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
4165
|
+
billingAddress: "billingAddress";
|
|
4166
|
+
shippingAddress: "shippingAddress";
|
|
4167
|
+
additionalFields: "additionalFields";
|
|
4168
|
+
}>>;
|
|
4169
|
+
}, zod_v4_core0.$strip>>;
|
|
4170
|
+
scope: zod0.ZodLiteral<"unresolved">;
|
|
4171
|
+
target: zod0.ZodNull;
|
|
4172
|
+
}, zod_v4_core0.$strip>], "scope">>;
|
|
4173
|
+
}, zod_v4_core0.$strict>;
|
|
4385
4174
|
};
|
|
4386
4175
|
readonly CHECKOUT_ORDER_NOT_FOUND: {
|
|
4387
4176
|
readonly status: 404;
|
|
@@ -6018,8 +5807,53 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
6018
5807
|
readonly status: 400;
|
|
6019
5808
|
readonly message: "Checkout validation failed.";
|
|
6020
5809
|
readonly data: zod0.ZodObject<{
|
|
6021
|
-
|
|
6022
|
-
|
|
5810
|
+
issues: zod0.ZodArray<zod0.ZodDiscriminatedUnion<[zod0.ZodObject<{
|
|
5811
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
5812
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
5813
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
5814
|
+
message: zod0.ZodString;
|
|
5815
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
5816
|
+
id: zod0.ZodString;
|
|
5817
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
5818
|
+
billingAddress: "billingAddress";
|
|
5819
|
+
shippingAddress: "shippingAddress";
|
|
5820
|
+
additionalFields: "additionalFields";
|
|
5821
|
+
}>>;
|
|
5822
|
+
}, zod_v4_core0.$strip>>;
|
|
5823
|
+
scope: zod0.ZodLiteral<"field">;
|
|
5824
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
5825
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
5826
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
5827
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
5828
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
5829
|
+
message: zod0.ZodString;
|
|
5830
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
5831
|
+
id: zod0.ZodString;
|
|
5832
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
5833
|
+
billingAddress: "billingAddress";
|
|
5834
|
+
shippingAddress: "shippingAddress";
|
|
5835
|
+
additionalFields: "additionalFields";
|
|
5836
|
+
}>>;
|
|
5837
|
+
}, zod_v4_core0.$strip>>;
|
|
5838
|
+
scope: zod0.ZodLiteral<"group">;
|
|
5839
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
5840
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
5841
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
5842
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
5843
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
5844
|
+
message: zod0.ZodString;
|
|
5845
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
5846
|
+
id: zod0.ZodString;
|
|
5847
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
5848
|
+
billingAddress: "billingAddress";
|
|
5849
|
+
shippingAddress: "shippingAddress";
|
|
5850
|
+
additionalFields: "additionalFields";
|
|
5851
|
+
}>>;
|
|
5852
|
+
}, zod_v4_core0.$strip>>;
|
|
5853
|
+
scope: zod0.ZodLiteral<"unresolved">;
|
|
5854
|
+
target: zod0.ZodNull;
|
|
5855
|
+
}, zod_v4_core0.$strip>], "scope">>;
|
|
5856
|
+
}, zod_v4_core0.$strict>;
|
|
6023
5857
|
};
|
|
6024
5858
|
readonly CHECKOUT_ACCOUNT_CREATION_FAILED: {
|
|
6025
5859
|
readonly status: 400;
|
|
@@ -8277,8 +8111,53 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
8277
8111
|
readonly status: 400;
|
|
8278
8112
|
readonly message: "Checkout validation failed.";
|
|
8279
8113
|
readonly data: zod0.ZodObject<{
|
|
8280
|
-
|
|
8281
|
-
|
|
8114
|
+
issues: zod0.ZodArray<zod0.ZodDiscriminatedUnion<[zod0.ZodObject<{
|
|
8115
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
8116
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
8117
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
8118
|
+
message: zod0.ZodString;
|
|
8119
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
8120
|
+
id: zod0.ZodString;
|
|
8121
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
8122
|
+
billingAddress: "billingAddress";
|
|
8123
|
+
shippingAddress: "shippingAddress";
|
|
8124
|
+
additionalFields: "additionalFields";
|
|
8125
|
+
}>>;
|
|
8126
|
+
}, zod_v4_core0.$strip>>;
|
|
8127
|
+
scope: zod0.ZodLiteral<"field">;
|
|
8128
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
8129
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
8130
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
8131
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
8132
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
8133
|
+
message: zod0.ZodString;
|
|
8134
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
8135
|
+
id: zod0.ZodString;
|
|
8136
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
8137
|
+
billingAddress: "billingAddress";
|
|
8138
|
+
shippingAddress: "shippingAddress";
|
|
8139
|
+
additionalFields: "additionalFields";
|
|
8140
|
+
}>>;
|
|
8141
|
+
}, zod_v4_core0.$strip>>;
|
|
8142
|
+
scope: zod0.ZodLiteral<"group">;
|
|
8143
|
+
target: zod0.ZodArray<zod0.ZodString>;
|
|
8144
|
+
}, zod_v4_core0.$strip>, zod0.ZodObject<{
|
|
8145
|
+
source: zod0.ZodNullable<zod0.ZodString>;
|
|
8146
|
+
sourcePath: zod0.ZodArray<zod0.ZodString>;
|
|
8147
|
+
code: zod0.ZodNullable<zod0.ZodString>;
|
|
8148
|
+
message: zod0.ZodString;
|
|
8149
|
+
registeredFields: zod0.ZodArray<zod0.ZodObject<{
|
|
8150
|
+
id: zod0.ZodString;
|
|
8151
|
+
bucket: zod0.ZodNullable<zod0.ZodEnum<{
|
|
8152
|
+
billingAddress: "billingAddress";
|
|
8153
|
+
shippingAddress: "shippingAddress";
|
|
8154
|
+
additionalFields: "additionalFields";
|
|
8155
|
+
}>>;
|
|
8156
|
+
}, zod_v4_core0.$strip>>;
|
|
8157
|
+
scope: zod0.ZodLiteral<"unresolved">;
|
|
8158
|
+
target: zod0.ZodNull;
|
|
8159
|
+
}, zod_v4_core0.$strip>], "scope">>;
|
|
8160
|
+
}, zod_v4_core0.$strict>;
|
|
8282
8161
|
};
|
|
8283
8162
|
readonly CHECKOUT_PAYMENT_RESULT_INVALID: {
|
|
8284
8163
|
readonly status: 500;
|
|
@@ -8423,4 +8302,4 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
8423
8302
|
};
|
|
8424
8303
|
}>;
|
|
8425
8304
|
//#endregion
|
|
8426
|
-
export { AddCartItemInput, type AddressAdditionalFields, type AddressAdditionalFieldsInput, ApplyCouponInput, type BillingAdditionalFields, type BillingAdditionalFieldsInput, BillingFieldProjections, Cart, CartAdditionalFields, CartBillingAddress, CartBillingAddressInput, CartBillingAddressSubmission, CartCoupon, CartCouponTotals, CartError, CartFee, CartFeeTotals, CartItem, CartItemData, CartItemQuantityLimits, CartItemTotals, CartPaymentMethod, CartSelectedAttribute, CartShippingAddress, CartShippingAddressInput, CartShippingAddressSubmission, CartShippingDestination, CartShippingItem, CartShippingPackage, CartShippingRate, CartShippingRateMetadata, CartTaxLine, CartTotals, Checkout, CheckoutAdditionalFields, type CheckoutAdditionalFieldsInput, CheckoutExtensions, CheckoutPaymentData, CheckoutPaymentResult, ConfirmCheckoutInput, type ContactAdditionalFields, GetOrderInput, ListProductInput, ListProductInputOut, Order, OrderFee, OrderItem, OrderItemProduct, OrderTotals, PRODUCT_ATTRIBUTE_RELATIONS, PRODUCT_CATALOG_VISIBILITIES, PRODUCT_DATE_COLUMNS, PRODUCT_RATINGS, PRODUCT_STOCK_STATUSES, PRODUCT_TYPES, Product, ProductAddToCart, ProductAttributeCount, ProductAttributeFilter, ProductAttributeRelation, ProductAttributeSummary, ProductAttributeTermSummary, ProductBrandSummary, ProductCatalogVisibility, ProductCategorySummary, ProductCustomFieldsSchema, ProductDateColumn, ProductDimensions, ProductExtensions, ProductFilters, ProductFiltersAttributeTerm, ProductFiltersPriceRange, ProductFiltersRatingCount, ProductFiltersStockStatus, ProductFiltersTaxonomyTerm, ProductFiltersTerm, ProductList, ProductOrderBy, ProductPriceRange, ProductPrices, ProductRating, ProductRecommendations, ProductStockAvailability, ProductStockStatus, ProductSummary, ProductTagSummary, ProductTaxonomyFilter, ProductTaxonomyOperator, ProductTermSummary, ProductType, ProductVariationAttributeSummary, ProductVariationSummary, type RegisteredFieldGroup, type RegisteredFieldLocations, type RegisteredFieldTarget, RemoveCartItemInput, RemoveCouponInput, RetrieveProductFiltersInput, RetrieveProductFiltersInputOut, RetrieveProductInput, RetryCheckoutInput, SWATCH_TYPES, SelectCartShippingRateInput, Storefront, StorefrontAddress, StorefrontCatalog, StorefrontCheckout, StorefrontCountry, StorefrontField, StorefrontFieldOption, StorefrontFieldOverride, StorefrontFieldRule, StorefrontFieldSchema, StorefrontPricing, SwatchType, UpdateCartInput, UpdateCartItemInput, UpdateCheckoutInput, resolveRegisteredFieldTarget, woocommerce };
|
|
8305
|
+
export { AddCartItemInput, type AddressAdditionalFields, type AddressAdditionalFieldsInput, ApplyCouponInput, type BillingAdditionalFields, type BillingAdditionalFieldsInput, BillingFieldProjections, Cart, CartAdditionalFields, CartBillingAddress, CartBillingAddressInput, CartBillingAddressSubmission, CartCoupon, CartCouponTotals, CartError, CartFee, CartFeeTotals, CartItem, CartItemData, CartItemQuantityLimits, CartItemTotals, CartPaymentMethod, CartSelectedAttribute, CartShippingAddress, CartShippingAddressInput, CartShippingAddressSubmission, CartShippingDestination, CartShippingItem, CartShippingPackage, CartShippingRate, CartShippingRateMetadata, CartTaxLine, CartTotals, Checkout, CheckoutAdditionalFields, type CheckoutAdditionalFieldsInput, CheckoutExtensions, CheckoutPaymentData, CheckoutPaymentResult, CheckoutRegisteredFieldReference, CheckoutValidationData, CheckoutValidationIssue, ConfirmCheckoutInput, type ContactAdditionalFields, GetOrderInput, ListProductInput, ListProductInputOut, Order, OrderFee, OrderItem, OrderItemProduct, OrderTotals, PRODUCT_ATTRIBUTE_RELATIONS, PRODUCT_CATALOG_VISIBILITIES, PRODUCT_DATE_COLUMNS, PRODUCT_RATINGS, PRODUCT_STOCK_STATUSES, PRODUCT_TYPES, Product, ProductAddToCart, ProductAttributeCount, ProductAttributeFilter, ProductAttributeRelation, ProductAttributeSummary, ProductAttributeTermSummary, ProductBrandSummary, ProductCatalogVisibility, ProductCategorySummary, ProductCustomFieldsSchema, ProductDateColumn, ProductDimensions, ProductExtensions, ProductFilters, ProductFiltersAttributeTerm, ProductFiltersPriceRange, ProductFiltersRatingCount, ProductFiltersStockStatus, ProductFiltersTaxonomyTerm, ProductFiltersTerm, ProductList, ProductOrderBy, ProductPriceRange, ProductPrices, ProductRating, ProductRecommendations, ProductStockAvailability, ProductStockStatus, ProductSummary, ProductTagSummary, ProductTaxonomyFilter, ProductTaxonomyOperator, ProductTermSummary, ProductType, ProductVariationAttributeSummary, ProductVariationSummary, type RegisteredFieldGroup, type RegisteredFieldLocations, type RegisteredFieldTarget, RemoveCartItemInput, RemoveCouponInput, RetrieveProductFiltersInput, RetrieveProductFiltersInputOut, RetrieveProductInput, RetryCheckoutInput, SWATCH_TYPES, SelectCartShippingRateInput, Storefront, StorefrontAddress, StorefrontCatalog, StorefrontCheckout, StorefrontCountry, StorefrontField, StorefrontFieldOption, StorefrontFieldOverride, StorefrontFieldRule, StorefrontFieldSchema, StorefrontPricing, SwatchType, UpdateCartInput, UpdateCartItemInput, UpdateCheckoutInput, resolveRegisteredFieldTarget, woocommerce };
|