@cimplify/sdk 0.100.6 → 0.102.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/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +20 -20
- package/dist/advanced.mjs +1 -1
- package/dist/{chunk-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
- package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
- package/dist/{chunk-KLJLKT6C.mjs → chunk-4KNFBPV2.mjs} +10 -3
- package/dist/{chunk-RQPXLXB2.mjs → chunk-DCMXUKDQ.mjs} +30 -0
- package/dist/{chunk-BMFWQNYZ.mjs → chunk-DKLHCZ5M.mjs} +4 -1
- package/dist/{chunk-PNTINRAU.js → chunk-EAZGA7LD.js} +30 -0
- package/dist/{chunk-BSZJSR62.js → chunk-LOWSMGRT.js} +12 -4
- package/dist/{chunk-D3FWJB7Y.js → chunk-YDA46OZ6.js} +50 -47
- package/dist/{chunk-3HU5I5VG.js → chunk-YER7DIOM.js} +15 -0
- package/dist/{chunk-Z7M6GAHS.mjs → chunk-Z3K2D3TE.mjs} +15 -0
- package/dist/{client-BwRAAk4y.d.mts → client-B40KFazg.d.ts} +15 -2
- package/dist/{client-DGrvLiJv.d.mts → client-BdErclfU.d.mts} +2 -2
- package/dist/{client-CrPglBBz.d.ts → client-BizGfqB7.d.mts} +15 -2
- package/dist/{client-CPcZIrjC.d.ts → client-nsiMwuC1.d.ts} +2 -2
- package/dist/{index-D-LUYk1Y.d.mts → index-DpmnI__D.d.mts} +3 -3
- package/dist/{index-B_RYmvlF.d.ts → index-nEyXWIyR.d.ts} +3 -3
- package/dist/index.d.mts +19 -8
- package/dist/index.d.ts +19 -8
- package/dist/index.js +92 -88
- package/dist/index.mjs +4 -4
- package/dist/mock/cli.mjs +30 -0
- package/dist/mock/library.js +30 -0
- package/dist/mock/library.mjs +30 -0
- package/dist/mock/msw.js +30 -0
- package/dist/mock/msw.mjs +30 -0
- package/dist/{payment-BSzy7sly.d.mts → payment-l0rkieEQ.d.mts} +1 -1
- package/dist/{payment-jK8ztICx.d.ts → payment-vzNnIi1n.d.ts} +1 -1
- package/dist/{price-CJLfcYKd.d.ts → price-BstChV9a.d.ts} +1 -1
- package/dist/{price-D96h6c6L.d.mts → price-CS4E5zLS.d.mts} +1 -1
- package/dist/{product-CeV8euw4.d.mts → product-Byf0unSy.d.mts} +745 -625
- package/dist/{product-CeV8euw4.d.ts → product-Byf0unSy.d.ts} +745 -625
- package/dist/react.d.mts +9 -4
- package/dist/react.d.ts +9 -4
- package/dist/react.js +137 -92
- package/dist/react.mjs +58 -13
- package/dist/server/evict.d.mts +12 -8
- package/dist/server/evict.d.ts +12 -8
- package/dist/server/evict.js +53 -7
- package/dist/server/evict.mjs +53 -7
- package/dist/server/tanstack.d.mts +4 -2
- package/dist/server/tanstack.d.ts +4 -2
- package/dist/server/tanstack.js +53 -14
- package/dist/server/tanstack.mjs +53 -14
- package/dist/{server-zyrpzJVn.d.ts → server-Cj40R2ZD.d.ts} +13 -1
- package/dist/{server-DRAW2OOX.d.mts → server-DqbZh8Bk.d.mts} +13 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +7 -7
- package/dist/server.mjs +2 -2
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +4 -4
- package/dist/testing.d.mts +52 -21
- package/dist/testing.d.ts +52 -21
- package/dist/testing.js +83 -79
- package/dist/testing.mjs +5 -5
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +1 -1
- package/registry/cart-summary.json +1 -1
- package/registry/chat-widget.json +1 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { $ZodType } from 'zod/v4/core';
|
|
3
|
-
export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-
|
|
4
|
-
import './client-
|
|
5
|
-
import './product-
|
|
6
|
-
import './payment-
|
|
7
|
-
import './server-
|
|
3
|
+
export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-nsiMwuC1.js';
|
|
4
|
+
import './client-B40KFazg.js';
|
|
5
|
+
import './product-Byf0unSy.js';
|
|
6
|
+
import './payment-vzNnIi1n.js';
|
|
7
|
+
import './server-Cj40R2ZD.js';
|
|
8
8
|
import 'hono';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -54,8 +54,8 @@ declare const CountryCodeSchema: z.ZodString;
|
|
|
54
54
|
declare const LocaleSchema: z.ZodString;
|
|
55
55
|
declare const PhoneE164Schema: z.ZodString;
|
|
56
56
|
declare const SeedNameSchema: z.ZodEnum<{
|
|
57
|
-
default: "default";
|
|
58
57
|
empty: "empty";
|
|
58
|
+
default: "default";
|
|
59
59
|
"reesa-storefront": "reesa-storefront";
|
|
60
60
|
restaurant: "restaurant";
|
|
61
61
|
retail: "retail";
|
|
@@ -71,11 +71,11 @@ declare const ProductTypeSchema: z.ZodEnum<{
|
|
|
71
71
|
composite: "composite";
|
|
72
72
|
}>;
|
|
73
73
|
declare const LineTypeSchema: z.ZodEnum<{
|
|
74
|
+
simple: "simple";
|
|
74
75
|
service: "service";
|
|
75
76
|
digital: "digital";
|
|
76
77
|
bundle: "bundle";
|
|
77
78
|
composite: "composite";
|
|
78
|
-
simple: "simple";
|
|
79
79
|
}>;
|
|
80
80
|
declare const ServiceStatusSchema: z.ZodEnum<{
|
|
81
81
|
pending: "pending";
|
|
@@ -365,8 +365,8 @@ declare const BrandSchema: z.ZodObject<{
|
|
|
365
365
|
}, z.core.$strip>;
|
|
366
366
|
mock: z.ZodObject<{
|
|
367
367
|
seed: z.ZodEnum<{
|
|
368
|
-
default: "default";
|
|
369
368
|
empty: "empty";
|
|
369
|
+
default: "default";
|
|
370
370
|
"reesa-storefront": "reesa-storefront";
|
|
371
371
|
restaurant: "restaurant";
|
|
372
372
|
retail: "retail";
|
|
@@ -531,7 +531,7 @@ declare const assertBrand: (value: unknown) => asserts value is {
|
|
|
531
531
|
summary: string;
|
|
532
532
|
};
|
|
533
533
|
mock: {
|
|
534
|
-
seed: "
|
|
534
|
+
seed: "empty" | "default" | "reesa-storefront" | "restaurant" | "retail" | "services" | "grocery" | "fashion";
|
|
535
535
|
businessId: string;
|
|
536
536
|
};
|
|
537
537
|
trustItems?: {
|
|
@@ -780,11 +780,11 @@ declare const CartItemSchema: z.ZodObject<{
|
|
|
780
780
|
quantity: z.ZodNumber;
|
|
781
781
|
line_key: z.ZodString;
|
|
782
782
|
line_type: z.ZodEnum<{
|
|
783
|
+
simple: "simple";
|
|
783
784
|
service: "service";
|
|
784
785
|
digital: "digital";
|
|
785
786
|
bundle: "bundle";
|
|
786
787
|
composite: "composite";
|
|
787
|
-
simple: "simple";
|
|
788
788
|
}>;
|
|
789
789
|
name: z.ZodString;
|
|
790
790
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -926,7 +926,7 @@ declare const assertCartItem: (value: unknown) => asserts value is {
|
|
|
926
926
|
item_id: string;
|
|
927
927
|
quantity: number;
|
|
928
928
|
line_key: string;
|
|
929
|
-
line_type: "
|
|
929
|
+
line_type: "simple" | "service" | "digital" | "bundle" | "composite";
|
|
930
930
|
name: string;
|
|
931
931
|
is_available: boolean;
|
|
932
932
|
base_price: string;
|
|
@@ -1056,6 +1056,12 @@ declare const assertCartItem: (value: unknown) => asserts value is {
|
|
|
1056
1056
|
} | undefined;
|
|
1057
1057
|
metadata?: Record<string, unknown> | undefined;
|
|
1058
1058
|
};
|
|
1059
|
+
declare const TaxPriceDisplayModeSchema: z.ZodEnum<{
|
|
1060
|
+
unspecified: "unspecified";
|
|
1061
|
+
gross_required: "gross_required";
|
|
1062
|
+
gross_and_net: "gross_and_net";
|
|
1063
|
+
net_allowed: "net_allowed";
|
|
1064
|
+
}>;
|
|
1059
1065
|
declare const CartPricingSchema: z.ZodObject<{
|
|
1060
1066
|
subtotal: z.ZodString;
|
|
1061
1067
|
total_discounts: z.ZodString;
|
|
@@ -1066,6 +1072,12 @@ declare const CartPricingSchema: z.ZodObject<{
|
|
|
1066
1072
|
tax_rate: z.ZodOptional<z.ZodString>;
|
|
1067
1073
|
service_charge_rate: z.ZodOptional<z.ZodString>;
|
|
1068
1074
|
tax_inclusive: z.ZodBoolean;
|
|
1075
|
+
price_display_mode: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
+
unspecified: "unspecified";
|
|
1077
|
+
gross_required: "gross_required";
|
|
1078
|
+
gross_and_net: "gross_and_net";
|
|
1079
|
+
net_allowed: "net_allowed";
|
|
1080
|
+
}>>;
|
|
1069
1081
|
deposit_required: z.ZodBoolean;
|
|
1070
1082
|
deposit_amount: z.ZodString;
|
|
1071
1083
|
}, z.core.$strip>;
|
|
@@ -1079,11 +1091,11 @@ declare const CartSchema: z.ZodObject<{
|
|
|
1079
1091
|
quantity: z.ZodNumber;
|
|
1080
1092
|
line_key: z.ZodString;
|
|
1081
1093
|
line_type: z.ZodEnum<{
|
|
1094
|
+
simple: "simple";
|
|
1082
1095
|
service: "service";
|
|
1083
1096
|
digital: "digital";
|
|
1084
1097
|
bundle: "bundle";
|
|
1085
1098
|
composite: "composite";
|
|
1086
|
-
simple: "simple";
|
|
1087
1099
|
}>;
|
|
1088
1100
|
name: z.ZodString;
|
|
1089
1101
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1227,6 +1239,12 @@ declare const CartSchema: z.ZodObject<{
|
|
|
1227
1239
|
tax_rate: z.ZodOptional<z.ZodString>;
|
|
1228
1240
|
service_charge_rate: z.ZodOptional<z.ZodString>;
|
|
1229
1241
|
tax_inclusive: z.ZodBoolean;
|
|
1242
|
+
price_display_mode: z.ZodOptional<z.ZodEnum<{
|
|
1243
|
+
unspecified: "unspecified";
|
|
1244
|
+
gross_required: "gross_required";
|
|
1245
|
+
gross_and_net: "gross_and_net";
|
|
1246
|
+
net_allowed: "net_allowed";
|
|
1247
|
+
}>>;
|
|
1230
1248
|
deposit_required: z.ZodBoolean;
|
|
1231
1249
|
deposit_amount: z.ZodString;
|
|
1232
1250
|
}, z.core.$strip>;
|
|
@@ -1256,7 +1274,7 @@ declare const assertCart: (value: unknown) => asserts value is {
|
|
|
1256
1274
|
item_id: string;
|
|
1257
1275
|
quantity: number;
|
|
1258
1276
|
line_key: string;
|
|
1259
|
-
line_type: "
|
|
1277
|
+
line_type: "simple" | "service" | "digital" | "bundle" | "composite";
|
|
1260
1278
|
name: string;
|
|
1261
1279
|
is_available: boolean;
|
|
1262
1280
|
base_price: string;
|
|
@@ -1398,6 +1416,7 @@ declare const assertCart: (value: unknown) => asserts value is {
|
|
|
1398
1416
|
deposit_amount: string;
|
|
1399
1417
|
tax_rate?: string | undefined;
|
|
1400
1418
|
service_charge_rate?: string | undefined;
|
|
1419
|
+
price_display_mode?: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed" | undefined;
|
|
1401
1420
|
};
|
|
1402
1421
|
customer_info: {
|
|
1403
1422
|
name: string;
|
|
@@ -1475,10 +1494,10 @@ declare const assertCheckoutBody: (value: unknown) => asserts value is {
|
|
|
1475
1494
|
};
|
|
1476
1495
|
declare const AuthorizationTypeSchema: z.ZodEnum<{
|
|
1477
1496
|
phone: "phone";
|
|
1478
|
-
address: "address";
|
|
1479
1497
|
otp: "otp";
|
|
1480
1498
|
pin: "pin";
|
|
1481
1499
|
birthday: "birthday";
|
|
1500
|
+
address: "address";
|
|
1482
1501
|
}>;
|
|
1483
1502
|
declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1484
1503
|
type: z.ZodLiteral<"none">;
|
|
@@ -1498,10 +1517,10 @@ declare const CheckoutResponseSchema: z.ZodObject<{
|
|
|
1498
1517
|
requires_authorization: z.ZodBoolean;
|
|
1499
1518
|
authorization_type: z.ZodOptional<z.ZodEnum<{
|
|
1500
1519
|
phone: "phone";
|
|
1501
|
-
address: "address";
|
|
1502
1520
|
otp: "otp";
|
|
1503
1521
|
pin: "pin";
|
|
1504
1522
|
birthday: "birthday";
|
|
1523
|
+
address: "address";
|
|
1505
1524
|
}>>;
|
|
1506
1525
|
next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1507
1526
|
type: z.ZodLiteral<"none">;
|
|
@@ -1538,7 +1557,7 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
|
|
|
1538
1557
|
display_text?: string | undefined;
|
|
1539
1558
|
};
|
|
1540
1559
|
payment_reference?: string | undefined;
|
|
1541
|
-
authorization_type?: "phone" | "
|
|
1560
|
+
authorization_type?: "phone" | "otp" | "pin" | "birthday" | "address" | undefined;
|
|
1542
1561
|
provider?: string | undefined;
|
|
1543
1562
|
authorization_url?: string | undefined;
|
|
1544
1563
|
display_text?: string | undefined;
|
|
@@ -1737,8 +1756,8 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1737
1756
|
}, z.core.$strip>;
|
|
1738
1757
|
mock: z.ZodObject<{
|
|
1739
1758
|
seed: z.ZodEnum<{
|
|
1740
|
-
default: "default";
|
|
1741
1759
|
empty: "empty";
|
|
1760
|
+
default: "default";
|
|
1742
1761
|
"reesa-storefront": "reesa-storefront";
|
|
1743
1762
|
restaurant: "restaurant";
|
|
1744
1763
|
retail: "retail";
|
|
@@ -1798,11 +1817,11 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1798
1817
|
quantity: z.ZodNumber;
|
|
1799
1818
|
line_key: z.ZodString;
|
|
1800
1819
|
line_type: z.ZodEnum<{
|
|
1820
|
+
simple: "simple";
|
|
1801
1821
|
service: "service";
|
|
1802
1822
|
digital: "digital";
|
|
1803
1823
|
bundle: "bundle";
|
|
1804
1824
|
composite: "composite";
|
|
1805
|
-
simple: "simple";
|
|
1806
1825
|
}>;
|
|
1807
1826
|
name: z.ZodString;
|
|
1808
1827
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1946,6 +1965,12 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1946
1965
|
tax_rate: z.ZodOptional<z.ZodString>;
|
|
1947
1966
|
service_charge_rate: z.ZodOptional<z.ZodString>;
|
|
1948
1967
|
tax_inclusive: z.ZodBoolean;
|
|
1968
|
+
price_display_mode: z.ZodOptional<z.ZodEnum<{
|
|
1969
|
+
unspecified: "unspecified";
|
|
1970
|
+
gross_required: "gross_required";
|
|
1971
|
+
gross_and_net: "gross_and_net";
|
|
1972
|
+
net_allowed: "net_allowed";
|
|
1973
|
+
}>>;
|
|
1949
1974
|
deposit_required: z.ZodBoolean;
|
|
1950
1975
|
deposit_amount: z.ZodString;
|
|
1951
1976
|
}, z.core.$strip>;
|
|
@@ -1970,11 +1995,11 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1970
1995
|
quantity: z.ZodNumber;
|
|
1971
1996
|
line_key: z.ZodString;
|
|
1972
1997
|
line_type: z.ZodEnum<{
|
|
1998
|
+
simple: "simple";
|
|
1973
1999
|
service: "service";
|
|
1974
2000
|
digital: "digital";
|
|
1975
2001
|
bundle: "bundle";
|
|
1976
2002
|
composite: "composite";
|
|
1977
|
-
simple: "simple";
|
|
1978
2003
|
}>;
|
|
1979
2004
|
name: z.ZodString;
|
|
1980
2005
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2118,6 +2143,12 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
2118
2143
|
tax_rate: z.ZodOptional<z.ZodString>;
|
|
2119
2144
|
service_charge_rate: z.ZodOptional<z.ZodString>;
|
|
2120
2145
|
tax_inclusive: z.ZodBoolean;
|
|
2146
|
+
price_display_mode: z.ZodOptional<z.ZodEnum<{
|
|
2147
|
+
unspecified: "unspecified";
|
|
2148
|
+
gross_required: "gross_required";
|
|
2149
|
+
gross_and_net: "gross_and_net";
|
|
2150
|
+
net_allowed: "net_allowed";
|
|
2151
|
+
}>>;
|
|
2121
2152
|
deposit_required: z.ZodBoolean;
|
|
2122
2153
|
deposit_amount: z.ZodString;
|
|
2123
2154
|
}, z.core.$strip>;
|
|
@@ -2152,10 +2183,10 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
2152
2183
|
requires_authorization: z.ZodBoolean;
|
|
2153
2184
|
authorization_type: z.ZodOptional<z.ZodEnum<{
|
|
2154
2185
|
phone: "phone";
|
|
2155
|
-
address: "address";
|
|
2156
2186
|
otp: "otp";
|
|
2157
2187
|
pin: "pin";
|
|
2158
2188
|
birthday: "birthday";
|
|
2189
|
+
address: "address";
|
|
2159
2190
|
}>>;
|
|
2160
2191
|
next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2161
2192
|
type: z.ZodLiteral<"none">;
|
|
@@ -2207,4 +2238,4 @@ declare function listRegisteredSchemas(): Array<{
|
|
|
2207
2238
|
meta: CimplifySchemaMeta;
|
|
2208
2239
|
}>;
|
|
2209
2240
|
|
|
2210
|
-
export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
|
|
2241
|
+
export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
|
package/dist/testing.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkLOWSMGRT_js = require('./chunk-LOWSMGRT.js');
|
|
4
|
+
require('./chunk-EAZGA7LD.js');
|
|
5
5
|
require('./chunk-XREIZ56K.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-YDA46OZ6.js');
|
|
7
|
+
require('./chunk-YER7DIOM.js');
|
|
8
8
|
require('./chunk-WMEC5JWN.js');
|
|
9
9
|
require('./chunk-NIOUSKQQ.js');
|
|
10
10
|
require('./chunk-OWW5GUSB.js');
|
|
11
11
|
var zod = require('zod');
|
|
12
12
|
|
|
13
13
|
var PUBLIC_SCHEMAS = {
|
|
14
|
-
Brand:
|
|
15
|
-
AddItemPayload:
|
|
16
|
-
Cart:
|
|
17
|
-
CartItem:
|
|
18
|
-
CartPricing:
|
|
19
|
-
CheckoutBody:
|
|
20
|
-
CheckoutResponse:
|
|
21
|
-
VariantInfo:
|
|
14
|
+
Brand: chunkLOWSMGRT_js.BrandSchema,
|
|
15
|
+
AddItemPayload: chunkLOWSMGRT_js.AddItemPayloadSchema,
|
|
16
|
+
Cart: chunkLOWSMGRT_js.CartSchema,
|
|
17
|
+
CartItem: chunkLOWSMGRT_js.CartItemSchema,
|
|
18
|
+
CartPricing: chunkLOWSMGRT_js.CartPricingSchema,
|
|
19
|
+
CheckoutBody: chunkLOWSMGRT_js.CheckoutBodySchema,
|
|
20
|
+
CheckoutResponse: chunkLOWSMGRT_js.CheckoutResponseSchema,
|
|
21
|
+
VariantInfo: chunkLOWSMGRT_js.VariantInfoSchema
|
|
22
22
|
};
|
|
23
23
|
function exportJsonSchemas() {
|
|
24
24
|
const out = {};
|
|
25
25
|
for (const [name, schema] of Object.entries(PUBLIC_SCHEMAS)) {
|
|
26
|
-
const meta =
|
|
27
|
-
const json = zod.z.toJSONSchema(schema, { metadata:
|
|
26
|
+
const meta = chunkLOWSMGRT_js.cimplifyRegistry.get(schema);
|
|
27
|
+
const json = zod.z.toJSONSchema(schema, { metadata: chunkLOWSMGRT_js.cimplifyRegistry });
|
|
28
28
|
if (meta) {
|
|
29
29
|
json.$id = meta.id;
|
|
30
30
|
json["x-cimplify-version"] = meta.version;
|
|
@@ -36,16 +36,16 @@ function exportJsonSchemas() {
|
|
|
36
36
|
function listRegisteredSchemas() {
|
|
37
37
|
const entries = [];
|
|
38
38
|
for (const schema of [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
chunkLOWSMGRT_js.BrandSchema,
|
|
40
|
+
chunkLOWSMGRT_js.AddItemPayloadSchema,
|
|
41
|
+
chunkLOWSMGRT_js.CartSchema,
|
|
42
|
+
chunkLOWSMGRT_js.CartItemSchema,
|
|
43
|
+
chunkLOWSMGRT_js.CartPricingSchema,
|
|
44
|
+
chunkLOWSMGRT_js.CheckoutBodySchema,
|
|
45
|
+
chunkLOWSMGRT_js.CheckoutResponseSchema,
|
|
46
|
+
chunkLOWSMGRT_js.VariantInfoSchema
|
|
47
47
|
]) {
|
|
48
|
-
const meta =
|
|
48
|
+
const meta = chunkLOWSMGRT_js.cimplifyRegistry.get(schema);
|
|
49
49
|
if (meta) entries.push({ schema, meta });
|
|
50
50
|
}
|
|
51
51
|
return entries;
|
|
@@ -53,227 +53,231 @@ function listRegisteredSchemas() {
|
|
|
53
53
|
|
|
54
54
|
Object.defineProperty(exports, "AddItemPayloadSchema", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkLOWSMGRT_js.AddItemPayloadSchema; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "AddOnDetailsSchema", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkLOWSMGRT_js.AddOnDetailsSchema; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "AddOnGroupDetailsSchema", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkLOWSMGRT_js.AddOnGroupDetailsSchema; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "AddOnInDetailsSchema", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkLOWSMGRT_js.AddOnInDetailsSchema; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "AddOnOptionDetailsSchema", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkLOWSMGRT_js.AddOnOptionDetailsSchema; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "AuthorizationTypeSchema", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkLOWSMGRT_js.AuthorizationTypeSchema; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "BrandContactSchema", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkLOWSMGRT_js.BrandContactSchema; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "BrandFaqSchema", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkLOWSMGRT_js.BrandFaqSchema; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "BrandHeroSchema", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkLOWSMGRT_js.BrandHeroSchema; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "BrandNavLinkSchema", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkLOWSMGRT_js.BrandNavLinkSchema; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "BrandPolicyPageSchema", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkLOWSMGRT_js.BrandPolicyPageSchema; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "BrandPolicySectionSchema", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkLOWSMGRT_js.BrandPolicySectionSchema; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "BrandSchema", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkLOWSMGRT_js.BrandSchema; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "BrandSocialSchema", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkLOWSMGRT_js.BrandSocialSchema; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "BundleResolvedSchema", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkLOWSMGRT_js.BundleResolvedSchema; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "BundleSelectionInputSchema", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkLOWSMGRT_js.BundleSelectionInputSchema; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "CartItemSchema", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkLOWSMGRT_js.CartItemSchema; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "CartPricingSchema", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkLOWSMGRT_js.CartPricingSchema; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "CartSchema", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkLOWSMGRT_js.CartSchema; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "CheckoutBodySchema", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkLOWSMGRT_js.CheckoutBodySchema; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "CheckoutCustomerSchema", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkLOWSMGRT_js.CheckoutCustomerSchema; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "CheckoutResponseSchema", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkLOWSMGRT_js.CheckoutResponseSchema; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "ChosenPriceSchema", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkLOWSMGRT_js.ChosenPriceSchema; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "CompositeResolvedSchema", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkLOWSMGRT_js.CompositeResolvedSchema; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "CompositeSelectionInputSchema", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkLOWSMGRT_js.CompositeSelectionInputSchema; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "CountryCodeSchema", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkLOWSMGRT_js.CountryCodeSchema; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "CurrencyCodeSchema", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkLOWSMGRT_js.CurrencyCodeSchema; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "CustomerInputValueSchema", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkLOWSMGRT_js.CustomerInputValueSchema; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "DiscountDetailsSchema", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkLOWSMGRT_js.DiscountDetailsSchema; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "IsoDateTimeSchema", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkLOWSMGRT_js.IsoDateTimeSchema; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "LineTypeSchema", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkLOWSMGRT_js.LineTypeSchema; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "LocaleSchema", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkLOWSMGRT_js.LocaleSchema; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "MoneyLooseSchema", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkLOWSMGRT_js.MoneyLooseSchema; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "MoneySchema", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkLOWSMGRT_js.MoneySchema; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "NextActionSchema", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkLOWSMGRT_js.NextActionSchema; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "PhoneE164Schema", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkLOWSMGRT_js.PhoneE164Schema; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "ProductTypeSchema", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkLOWSMGRT_js.ProductTypeSchema; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "SchemaViolationError", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkLOWSMGRT_js.SchemaViolationError; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "SeedNameSchema", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkLOWSMGRT_js.SeedNameSchema; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "SelectedAddOnOptionSchema", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkLOWSMGRT_js.SelectedAddOnOptionSchema; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "ServiceStatusSchema", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkLOWSMGRT_js.ServiceStatusSchema; }
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "TaxPriceDisplayModeSchema", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function () { return chunkLOWSMGRT_js.TaxPriceDisplayModeSchema; }
|
|
217
221
|
});
|
|
218
222
|
Object.defineProperty(exports, "TimestampSchema", {
|
|
219
223
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkLOWSMGRT_js.TimestampSchema; }
|
|
221
225
|
});
|
|
222
226
|
Object.defineProperty(exports, "VariantDetailsSchema", {
|
|
223
227
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkLOWSMGRT_js.VariantDetailsSchema; }
|
|
225
229
|
});
|
|
226
230
|
Object.defineProperty(exports, "VariantDisplayAttributeSchema", {
|
|
227
231
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkLOWSMGRT_js.VariantDisplayAttributeSchema; }
|
|
229
233
|
});
|
|
230
234
|
Object.defineProperty(exports, "VariantInfoSchema", {
|
|
231
235
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkLOWSMGRT_js.VariantInfoSchema; }
|
|
233
237
|
});
|
|
234
238
|
Object.defineProperty(exports, "assertAddItemPayload", {
|
|
235
239
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkLOWSMGRT_js.assertAddItemPayload; }
|
|
237
241
|
});
|
|
238
242
|
Object.defineProperty(exports, "assertBrand", {
|
|
239
243
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkLOWSMGRT_js.assertBrand; }
|
|
241
245
|
});
|
|
242
246
|
Object.defineProperty(exports, "assertCart", {
|
|
243
247
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkLOWSMGRT_js.assertCart; }
|
|
245
249
|
});
|
|
246
250
|
Object.defineProperty(exports, "assertCartItem", {
|
|
247
251
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkLOWSMGRT_js.assertCartItem; }
|
|
249
253
|
});
|
|
250
254
|
Object.defineProperty(exports, "assertCheckoutBody", {
|
|
251
255
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkLOWSMGRT_js.assertCheckoutBody; }
|
|
253
257
|
});
|
|
254
258
|
Object.defineProperty(exports, "assertCheckoutResponse", {
|
|
255
259
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkLOWSMGRT_js.assertCheckoutResponse; }
|
|
257
261
|
});
|
|
258
262
|
Object.defineProperty(exports, "cimplifyRegistry", {
|
|
259
263
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkLOWSMGRT_js.cimplifyRegistry; }
|
|
261
265
|
});
|
|
262
266
|
Object.defineProperty(exports, "createTestClient", {
|
|
263
267
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkLOWSMGRT_js.createTestClient; }
|
|
265
269
|
});
|
|
266
270
|
Object.defineProperty(exports, "fixtures", {
|
|
267
271
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkLOWSMGRT_js.fixtures; }
|
|
269
273
|
});
|
|
270
274
|
Object.defineProperty(exports, "makeAssertion", {
|
|
271
275
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkLOWSMGRT_js.makeAssertion; }
|
|
273
277
|
});
|
|
274
278
|
Object.defineProperty(exports, "registerSchema", {
|
|
275
279
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkLOWSMGRT_js.registerSchema; }
|
|
277
281
|
});
|
|
278
282
|
exports.exportJsonSchemas = exportJsonSchemas;
|
|
279
283
|
exports.listRegisteredSchemas = listRegisteredSchemas;
|
package/dist/testing.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-
|
|
2
|
-
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-4KNFBPV2.mjs';
|
|
2
|
+
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-4KNFBPV2.mjs';
|
|
3
|
+
import './chunk-DCMXUKDQ.mjs';
|
|
4
4
|
import './chunk-U4MW6PYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-DKLHCZ5M.mjs';
|
|
6
|
+
import './chunk-Z3K2D3TE.mjs';
|
|
7
7
|
import './chunk-DLW3RWRK.mjs';
|
|
8
8
|
import './chunk-O3YUHLZL.mjs';
|
|
9
9
|
import './chunk-3G6RQLXK.mjs';
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, q as getProductCurrency, r as getTaxAmount, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-
|
|
2
|
-
import './product-
|
|
3
|
-
import './price-
|
|
4
|
-
import './payment-
|
|
1
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, q as getProductCurrency, r as getTaxAmount, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-DpmnI__D.mjs';
|
|
2
|
+
import './product-Byf0unSy.mjs';
|
|
3
|
+
import './price-CS4E5zLS.mjs';
|
|
4
|
+
import './payment-l0rkieEQ.mjs';
|
|
5
5
|
import 'libphonenumber-js';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, q as getProductCurrency, r as getTaxAmount, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-
|
|
2
|
-
import './product-
|
|
3
|
-
import './price-
|
|
4
|
-
import './payment-
|
|
1
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, q as getProductCurrency, r as getTaxAmount, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-nEyXWIyR.js';
|
|
2
|
+
import './product-Byf0unSy.js';
|
|
3
|
+
import './price-BstChV9a.js';
|
|
4
|
+
import './payment-vzNnIi1n.js';
|
|
5
5
|
import 'libphonenumber-js';
|