@cimplify/sdk 0.102.0 → 0.104.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 +23 -22
- package/dist/advanced.mjs +4 -3
- package/dist/{chunk-DCMXUKDQ.mjs → chunk-2WPVUIHX.mjs} +455 -105
- package/dist/{chunk-NIOUSKQQ.js → chunk-4BKOKHE3.js} +9 -0
- package/dist/{chunk-YDA46OZ6.js → chunk-5BDYDZ4U.js} +722 -90
- package/dist/{chunk-4KNFBPV2.mjs → chunk-5RT4HYMP.mjs} +61 -15
- package/dist/{chunk-WMEC5JWN.js → chunk-7PDEX54K.js} +50 -13
- package/dist/chunk-CNN7Z2IP.js +125 -0
- package/dist/{chunk-DLW3RWRK.mjs → chunk-DYIAX3WI.mjs} +46 -12
- package/dist/{chunk-LOWSMGRT.js → chunk-E4K2VQDD.js} +64 -16
- package/dist/chunk-GOHSXBKW.mjs +105 -0
- package/dist/{chunk-O3YUHLZL.mjs → chunk-H3RATH4B.mjs} +9 -0
- package/dist/{chunk-YER7DIOM.js → chunk-IQFFSKE2.js} +753 -594
- package/dist/{chunk-Z3K2D3TE.mjs → chunk-OCCNG6MO.mjs} +735 -558
- package/dist/{chunk-DKLHCZ5M.mjs → chunk-OKADBZAI.mjs} +652 -25
- package/dist/{chunk-EAZGA7LD.js → chunk-YVAEY3VC.js} +457 -107
- package/dist/{client-nsiMwuC1.d.ts → client-BVNWjk6W.d.ts} +2 -2
- package/dist/{client-B40KFazg.d.ts → client-BuLcOWLv.d.ts} +202 -319
- package/dist/{client-BizGfqB7.d.mts → client-D5AoobFc.d.mts} +202 -319
- package/dist/{client-BdErclfU.d.mts → client-fM716k7G.d.mts} +2 -2
- package/dist/{index-DpmnI__D.d.mts → index-BtcoqrY1.d.ts} +14 -4
- package/dist/{index-nEyXWIyR.d.ts → index-D7Tf3v7c.d.mts} +14 -4
- package/dist/index.d.mts +83 -8
- package/dist/index.d.ts +83 -8
- package/dist/index.js +203 -169
- package/dist/index.mjs +7 -5
- package/dist/link-D9iSVxt5.d.mts +308 -0
- package/dist/link-D9iSVxt5.d.ts +308 -0
- package/dist/mock/cli.mjs +463 -104
- package/dist/mock/library.js +463 -104
- package/dist/mock/library.mjs +463 -104
- package/dist/mock/msw.js +463 -104
- package/dist/mock/msw.mjs +463 -104
- package/dist/{product-Byf0unSy.d.mts → payment-g0HFkEDU.d.mts} +708 -61
- package/dist/{product-Byf0unSy.d.ts → payment-g0HFkEDU.d.ts} +708 -61
- package/dist/{price-BstChV9a.d.ts → price-BLIeAb8K.d.ts} +1 -1
- package/dist/{price-CS4E5zLS.d.mts → price-Czq_cTC_.d.mts} +1 -1
- package/dist/react.d.mts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +194 -169
- package/dist/react.mjs +55 -30
- package/dist/{server-DqbZh8Bk.d.mts → server-BkVhOIwn.d.mts} +14 -10
- package/dist/{server-Cj40R2ZD.d.ts → server-DKK_D-PP.d.ts} +14 -10
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +12 -10
- package/dist/server.mjs +6 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +4 -3
- package/dist/testing/msw.mjs +3 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +26 -25
- package/dist/testing/suite.mjs +7 -6
- package/dist/testing.d.mts +195 -56
- package/dist/testing.d.ts +195 -56
- package/dist/testing.js +95 -82
- package/dist/testing.mjs +14 -9
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +37 -29
- package/dist/utils.mjs +2 -2
- package/package.json +7 -1
- package/registry/chat-widget.json +1 -1
- package/dist/payment-l0rkieEQ.d.mts +0 -113
- package/dist/payment-vzNnIi1n.d.ts +0 -113
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 './
|
|
6
|
-
import './
|
|
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-BVNWjk6W.js';
|
|
4
|
+
import './client-BuLcOWLv.js';
|
|
5
|
+
import './payment-g0HFkEDU.js';
|
|
6
|
+
import './link-D9iSVxt5.js';
|
|
7
|
+
import './server-DKK_D-PP.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
|
-
empty: "empty";
|
|
58
57
|
default: "default";
|
|
58
|
+
empty: "empty";
|
|
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";
|
|
75
74
|
service: "service";
|
|
76
75
|
digital: "digital";
|
|
77
76
|
bundle: "bundle";
|
|
78
77
|
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
|
-
empty: "empty";
|
|
369
368
|
default: "default";
|
|
369
|
+
empty: "empty";
|
|
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: "default" | "empty" | "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";
|
|
784
783
|
service: "service";
|
|
785
784
|
digital: "digital";
|
|
786
785
|
bundle: "bundle";
|
|
787
786
|
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: "service" | "digital" | "bundle" | "composite" | "simple";
|
|
930
930
|
name: string;
|
|
931
931
|
is_available: boolean;
|
|
932
932
|
base_price: string;
|
|
@@ -1091,11 +1091,11 @@ declare const CartSchema: z.ZodObject<{
|
|
|
1091
1091
|
quantity: z.ZodNumber;
|
|
1092
1092
|
line_key: z.ZodString;
|
|
1093
1093
|
line_type: z.ZodEnum<{
|
|
1094
|
-
simple: "simple";
|
|
1095
1094
|
service: "service";
|
|
1096
1095
|
digital: "digital";
|
|
1097
1096
|
bundle: "bundle";
|
|
1098
1097
|
composite: "composite";
|
|
1098
|
+
simple: "simple";
|
|
1099
1099
|
}>;
|
|
1100
1100
|
name: z.ZodString;
|
|
1101
1101
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1274,7 +1274,7 @@ declare const assertCart: (value: unknown) => asserts value is {
|
|
|
1274
1274
|
item_id: string;
|
|
1275
1275
|
quantity: number;
|
|
1276
1276
|
line_key: string;
|
|
1277
|
-
line_type: "
|
|
1277
|
+
line_type: "service" | "digital" | "bundle" | "composite" | "simple";
|
|
1278
1278
|
name: string;
|
|
1279
1279
|
is_available: boolean;
|
|
1280
1280
|
base_price: string;
|
|
@@ -1492,52 +1492,105 @@ declare const assertCheckoutBody: (value: unknown) => asserts value is {
|
|
|
1492
1492
|
pay_currency?: string | undefined;
|
|
1493
1493
|
fx_quote_id?: string | undefined;
|
|
1494
1494
|
};
|
|
1495
|
-
declare const AuthorizationTypeSchema: z.ZodEnum<{
|
|
1495
|
+
declare const AuthorizationTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1496
1496
|
phone: "phone";
|
|
1497
1497
|
otp: "otp";
|
|
1498
1498
|
pin: "pin";
|
|
1499
1499
|
birthday: "birthday";
|
|
1500
|
-
|
|
1501
|
-
|
|
1500
|
+
}>, z.ZodObject<{
|
|
1501
|
+
address: z.ZodObject<{
|
|
1502
|
+
address: z.ZodString;
|
|
1503
|
+
city: z.ZodString;
|
|
1504
|
+
state: z.ZodString;
|
|
1505
|
+
zip_code: z.ZodString;
|
|
1506
|
+
}, z.core.$strip>;
|
|
1507
|
+
}, z.core.$strip>]>;
|
|
1502
1508
|
declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1503
1509
|
type: z.ZodLiteral<"none">;
|
|
1510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1511
|
+
type: z.ZodLiteral<"card_popup">;
|
|
1512
|
+
provider: z.ZodString;
|
|
1513
|
+
client_secret: z.ZodString;
|
|
1514
|
+
public_key: z.ZodString;
|
|
1515
|
+
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
1504
1516
|
}, z.core.$strip>, z.ZodObject<{
|
|
1505
1517
|
type: z.ZodLiteral<"redirect">;
|
|
1506
1518
|
authorization_url: z.ZodString;
|
|
1507
1519
|
}, z.core.$strip>, z.ZodObject<{
|
|
1508
1520
|
type: z.ZodLiteral<"authorization">;
|
|
1509
|
-
authorization_type: z.
|
|
1510
|
-
|
|
1521
|
+
authorization_type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1522
|
+
phone: "phone";
|
|
1523
|
+
otp: "otp";
|
|
1524
|
+
pin: "pin";
|
|
1525
|
+
birthday: "birthday";
|
|
1526
|
+
}>, z.ZodObject<{
|
|
1527
|
+
address: z.ZodObject<{
|
|
1528
|
+
address: z.ZodString;
|
|
1529
|
+
city: z.ZodString;
|
|
1530
|
+
state: z.ZodString;
|
|
1531
|
+
zip_code: z.ZodString;
|
|
1532
|
+
}, z.core.$strip>;
|
|
1533
|
+
}, z.core.$strip>]>;
|
|
1534
|
+
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
+
type: z.ZodLiteral<"poll">;
|
|
1511
1537
|
}, z.core.$strip>], "type">;
|
|
1512
1538
|
declare const CheckoutResponseSchema: z.ZodObject<{
|
|
1513
1539
|
order_id: z.ZodString;
|
|
1514
1540
|
order_number: z.ZodString;
|
|
1541
|
+
payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1515
1542
|
payment_status: z.ZodString;
|
|
1516
|
-
payment_reference: z.ZodOptional<z.ZodString
|
|
1543
|
+
payment_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1517
1544
|
requires_authorization: z.ZodBoolean;
|
|
1518
|
-
authorization_type: z.ZodOptional<z.ZodEnum<{
|
|
1545
|
+
authorization_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1519
1546
|
phone: "phone";
|
|
1520
1547
|
otp: "otp";
|
|
1521
1548
|
pin: "pin";
|
|
1522
1549
|
birthday: "birthday";
|
|
1523
|
-
|
|
1524
|
-
|
|
1550
|
+
}>, z.ZodObject<{
|
|
1551
|
+
address: z.ZodObject<{
|
|
1552
|
+
address: z.ZodString;
|
|
1553
|
+
city: z.ZodString;
|
|
1554
|
+
state: z.ZodString;
|
|
1555
|
+
zip_code: z.ZodString;
|
|
1556
|
+
}, z.core.$strip>;
|
|
1557
|
+
}, z.core.$strip>]>>>;
|
|
1525
1558
|
next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1526
1559
|
type: z.ZodLiteral<"none">;
|
|
1560
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1561
|
+
type: z.ZodLiteral<"card_popup">;
|
|
1562
|
+
provider: z.ZodString;
|
|
1563
|
+
client_secret: z.ZodString;
|
|
1564
|
+
public_key: z.ZodString;
|
|
1565
|
+
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
1527
1566
|
}, z.core.$strip>, z.ZodObject<{
|
|
1528
1567
|
type: z.ZodLiteral<"redirect">;
|
|
1529
1568
|
authorization_url: z.ZodString;
|
|
1530
1569
|
}, z.core.$strip>, z.ZodObject<{
|
|
1531
1570
|
type: z.ZodLiteral<"authorization">;
|
|
1532
|
-
authorization_type: z.
|
|
1533
|
-
|
|
1571
|
+
authorization_type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1572
|
+
phone: "phone";
|
|
1573
|
+
otp: "otp";
|
|
1574
|
+
pin: "pin";
|
|
1575
|
+
birthday: "birthday";
|
|
1576
|
+
}>, z.ZodObject<{
|
|
1577
|
+
address: z.ZodObject<{
|
|
1578
|
+
address: z.ZodString;
|
|
1579
|
+
city: z.ZodString;
|
|
1580
|
+
state: z.ZodString;
|
|
1581
|
+
zip_code: z.ZodString;
|
|
1582
|
+
}, z.core.$strip>;
|
|
1583
|
+
}, z.core.$strip>]>;
|
|
1584
|
+
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1585
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1586
|
+
type: z.ZodLiteral<"poll">;
|
|
1534
1587
|
}, z.core.$strip>], "type">;
|
|
1535
|
-
provider: z.ZodOptional<z.ZodString
|
|
1536
|
-
authorization_url: z.ZodOptional<z.ZodString
|
|
1537
|
-
display_text: z.ZodOptional<z.ZodString
|
|
1538
|
-
bill_token: z.ZodOptional<z.ZodString
|
|
1539
|
-
client_secret: z.ZodOptional<z.ZodString
|
|
1540
|
-
public_key: z.ZodOptional<z.ZodString
|
|
1588
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1589
|
+
authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1590
|
+
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1591
|
+
bill_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1592
|
+
client_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
+
public_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1541
1594
|
}, z.core.$loose>;
|
|
1542
1595
|
type CheckoutResponse = z.infer<typeof CheckoutResponseSchema>;
|
|
1543
1596
|
declare const assertCheckoutResponse: (value: unknown) => asserts value is {
|
|
@@ -1548,24 +1601,67 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
|
|
|
1548
1601
|
requires_authorization: boolean;
|
|
1549
1602
|
next_action: {
|
|
1550
1603
|
type: "none";
|
|
1604
|
+
} | {
|
|
1605
|
+
type: "card_popup";
|
|
1606
|
+
provider: string;
|
|
1607
|
+
client_secret: string;
|
|
1608
|
+
public_key: string;
|
|
1609
|
+
provider_account_id?: string | undefined;
|
|
1551
1610
|
} | {
|
|
1552
1611
|
type: "redirect";
|
|
1553
1612
|
authorization_url: string;
|
|
1554
1613
|
} | {
|
|
1555
1614
|
type: "authorization";
|
|
1556
|
-
authorization_type:
|
|
1557
|
-
|
|
1615
|
+
authorization_type: "phone" | "otp" | "pin" | "birthday" | {
|
|
1616
|
+
address: {
|
|
1617
|
+
address: string;
|
|
1618
|
+
city: string;
|
|
1619
|
+
state: string;
|
|
1620
|
+
zip_code: string;
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
display_text?: string | null | undefined;
|
|
1624
|
+
} | {
|
|
1625
|
+
type: "poll";
|
|
1558
1626
|
};
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1627
|
+
payment_id?: string | null | undefined;
|
|
1628
|
+
payment_reference?: string | null | undefined;
|
|
1629
|
+
authorization_type?: "phone" | "otp" | "pin" | "birthday" | {
|
|
1630
|
+
address: {
|
|
1631
|
+
address: string;
|
|
1632
|
+
city: string;
|
|
1633
|
+
state: string;
|
|
1634
|
+
zip_code: string;
|
|
1635
|
+
};
|
|
1636
|
+
} | null | undefined;
|
|
1637
|
+
provider?: string | null | undefined;
|
|
1638
|
+
authorization_url?: string | null | undefined;
|
|
1639
|
+
display_text?: string | null | undefined;
|
|
1640
|
+
bill_token?: string | null | undefined;
|
|
1641
|
+
client_secret?: string | null | undefined;
|
|
1642
|
+
public_key?: string | null | undefined;
|
|
1567
1643
|
};
|
|
1568
1644
|
|
|
1645
|
+
/** Link OTP verification wire input. `challenge_id` remains optional only for
|
|
1646
|
+
* clients talking to the bounded rolling-deployment compatibility bridge. */
|
|
1647
|
+
declare const VerifyOtpRequestSchema: z.ZodObject<{
|
|
1648
|
+
challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1649
|
+
contact: z.ZodString;
|
|
1650
|
+
contact_type: z.ZodEnum<{
|
|
1651
|
+
email: "email";
|
|
1652
|
+
phone: "phone";
|
|
1653
|
+
}>;
|
|
1654
|
+
otp_code: z.ZodString;
|
|
1655
|
+
}, z.core.$strict>;
|
|
1656
|
+
/** The authoritative response from Link OTP issuance. */
|
|
1657
|
+
declare const RequestOtpResponseSchema: z.ZodObject<{
|
|
1658
|
+
success: z.ZodBoolean;
|
|
1659
|
+
challenge_id: z.ZodString;
|
|
1660
|
+
message: z.ZodString;
|
|
1661
|
+
expires_in: z.ZodNumber;
|
|
1662
|
+
is_new_account: z.ZodBoolean;
|
|
1663
|
+
}, z.core.$strict>;
|
|
1664
|
+
|
|
1569
1665
|
/**
|
|
1570
1666
|
* JSON Schema export — feeds OpenAPI generators, agent prompts,
|
|
1571
1667
|
* codegen tooling, and CI contract-snapshot diffs.
|
|
@@ -1756,8 +1852,8 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1756
1852
|
}, z.core.$strip>;
|
|
1757
1853
|
mock: z.ZodObject<{
|
|
1758
1854
|
seed: z.ZodEnum<{
|
|
1759
|
-
empty: "empty";
|
|
1760
1855
|
default: "default";
|
|
1856
|
+
empty: "empty";
|
|
1761
1857
|
"reesa-storefront": "reesa-storefront";
|
|
1762
1858
|
restaurant: "restaurant";
|
|
1763
1859
|
retail: "retail";
|
|
@@ -1817,11 +1913,11 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1817
1913
|
quantity: z.ZodNumber;
|
|
1818
1914
|
line_key: z.ZodString;
|
|
1819
1915
|
line_type: z.ZodEnum<{
|
|
1820
|
-
simple: "simple";
|
|
1821
1916
|
service: "service";
|
|
1822
1917
|
digital: "digital";
|
|
1823
1918
|
bundle: "bundle";
|
|
1824
1919
|
composite: "composite";
|
|
1920
|
+
simple: "simple";
|
|
1825
1921
|
}>;
|
|
1826
1922
|
name: z.ZodString;
|
|
1827
1923
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1995,11 +2091,11 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1995
2091
|
quantity: z.ZodNumber;
|
|
1996
2092
|
line_key: z.ZodString;
|
|
1997
2093
|
line_type: z.ZodEnum<{
|
|
1998
|
-
simple: "simple";
|
|
1999
2094
|
service: "service";
|
|
2000
2095
|
digital: "digital";
|
|
2001
2096
|
bundle: "bundle";
|
|
2002
2097
|
composite: "composite";
|
|
2098
|
+
simple: "simple";
|
|
2003
2099
|
}>;
|
|
2004
2100
|
name: z.ZodString;
|
|
2005
2101
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2178,32 +2274,59 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
2178
2274
|
readonly CheckoutResponse: z.ZodObject<{
|
|
2179
2275
|
order_id: z.ZodString;
|
|
2180
2276
|
order_number: z.ZodString;
|
|
2277
|
+
payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2181
2278
|
payment_status: z.ZodString;
|
|
2182
|
-
payment_reference: z.ZodOptional<z.ZodString
|
|
2279
|
+
payment_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2183
2280
|
requires_authorization: z.ZodBoolean;
|
|
2184
|
-
authorization_type: z.ZodOptional<z.ZodEnum<{
|
|
2281
|
+
authorization_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2185
2282
|
phone: "phone";
|
|
2186
2283
|
otp: "otp";
|
|
2187
2284
|
pin: "pin";
|
|
2188
2285
|
birthday: "birthday";
|
|
2189
|
-
|
|
2190
|
-
|
|
2286
|
+
}>, z.ZodObject<{
|
|
2287
|
+
address: z.ZodObject<{
|
|
2288
|
+
address: z.ZodString;
|
|
2289
|
+
city: z.ZodString;
|
|
2290
|
+
state: z.ZodString;
|
|
2291
|
+
zip_code: z.ZodString;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
}, z.core.$strip>]>>>;
|
|
2191
2294
|
next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2192
2295
|
type: z.ZodLiteral<"none">;
|
|
2296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2297
|
+
type: z.ZodLiteral<"card_popup">;
|
|
2298
|
+
provider: z.ZodString;
|
|
2299
|
+
client_secret: z.ZodString;
|
|
2300
|
+
public_key: z.ZodString;
|
|
2301
|
+
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
2193
2302
|
}, z.core.$strip>, z.ZodObject<{
|
|
2194
2303
|
type: z.ZodLiteral<"redirect">;
|
|
2195
2304
|
authorization_url: z.ZodString;
|
|
2196
2305
|
}, z.core.$strip>, z.ZodObject<{
|
|
2197
2306
|
type: z.ZodLiteral<"authorization">;
|
|
2198
|
-
authorization_type: z.
|
|
2199
|
-
|
|
2307
|
+
authorization_type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2308
|
+
phone: "phone";
|
|
2309
|
+
otp: "otp";
|
|
2310
|
+
pin: "pin";
|
|
2311
|
+
birthday: "birthday";
|
|
2312
|
+
}>, z.ZodObject<{
|
|
2313
|
+
address: z.ZodObject<{
|
|
2314
|
+
address: z.ZodString;
|
|
2315
|
+
city: z.ZodString;
|
|
2316
|
+
state: z.ZodString;
|
|
2317
|
+
zip_code: z.ZodString;
|
|
2318
|
+
}, z.core.$strip>;
|
|
2319
|
+
}, z.core.$strip>]>;
|
|
2320
|
+
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2322
|
+
type: z.ZodLiteral<"poll">;
|
|
2200
2323
|
}, z.core.$strip>], "type">;
|
|
2201
|
-
provider: z.ZodOptional<z.ZodString
|
|
2202
|
-
authorization_url: z.ZodOptional<z.ZodString
|
|
2203
|
-
display_text: z.ZodOptional<z.ZodString
|
|
2204
|
-
bill_token: z.ZodOptional<z.ZodString
|
|
2205
|
-
client_secret: z.ZodOptional<z.ZodString
|
|
2206
|
-
public_key: z.ZodOptional<z.ZodString
|
|
2324
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2325
|
+
authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2326
|
+
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2327
|
+
bill_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2328
|
+
client_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
|
+
public_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
2330
|
}, z.core.$loose>;
|
|
2208
2331
|
readonly VariantInfo: z.ZodObject<{
|
|
2209
2332
|
id: z.ZodString;
|
|
@@ -2220,6 +2343,22 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
2220
2343
|
}, z.core.$strip>>>;
|
|
2221
2344
|
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2222
2345
|
}, z.core.$strip>;
|
|
2346
|
+
readonly VerifyOtpRequest: z.ZodObject<{
|
|
2347
|
+
challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2348
|
+
contact: z.ZodString;
|
|
2349
|
+
contact_type: z.ZodEnum<{
|
|
2350
|
+
email: "email";
|
|
2351
|
+
phone: "phone";
|
|
2352
|
+
}>;
|
|
2353
|
+
otp_code: z.ZodString;
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
readonly RequestOtpResponse: z.ZodObject<{
|
|
2356
|
+
success: z.ZodBoolean;
|
|
2357
|
+
challenge_id: z.ZodString;
|
|
2358
|
+
message: z.ZodString;
|
|
2359
|
+
expires_in: z.ZodNumber;
|
|
2360
|
+
is_new_account: z.ZodBoolean;
|
|
2361
|
+
}, z.core.$strict>;
|
|
2223
2362
|
};
|
|
2224
2363
|
type PublicSchemaName = keyof typeof PUBLIC_SCHEMAS;
|
|
2225
2364
|
/**
|
|
@@ -2238,4 +2377,4 @@ declare function listRegisteredSchemas(): Array<{
|
|
|
2238
2377
|
meta: CimplifySchemaMeta;
|
|
2239
2378
|
}>;
|
|
2240
2379
|
|
|
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 };
|
|
2380
|
+
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, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
|