@epcc-sdk/sdks-cart-checkout-order 0.5.2 → 0.5.3

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.
@@ -132,10 +132,13 @@ const getCartsTool = (options) => {
132
132
  handler
133
133
  };
134
134
  };
135
- const createACartInput = z.object({
136
- headers: import_zod.zCreateACartHeaders.strict().optional(),
137
- body: (0, import_mcp_support.loose)(import_zod.zCreateACartBody).optional()
138
- }).strict();
135
+ const createACartInput = (0, import_mcp_support.withSharedSchemaIds)(
136
+ "cart_checkout_order",
137
+ z.object({
138
+ headers: import_zod.zCreateACartHeaders.strict().optional(),
139
+ body: (0, import_mcp_support.loose)(import_zod.zCreateACartBody).optional()
140
+ }).strict()
141
+ );
139
142
  const createACartTool = (options) => {
140
143
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
141
144
  (0, import_sdk.createACart)({
@@ -242,10 +245,13 @@ const getACartTool = (options) => {
242
245
  handler
243
246
  };
244
247
  };
245
- const updateACartInput = z.object({
246
- path: import_zod.zUpdateACartPath.strict(),
247
- body: (0, import_mcp_support.loose)(import_zod.zUpdateACartBody).optional()
248
- }).strict();
248
+ const updateACartInput = (0, import_mcp_support.withSharedSchemaIds)(
249
+ "cart_checkout_order",
250
+ z.object({
251
+ path: import_zod.zUpdateACartPath.strict(),
252
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateACartBody).optional()
253
+ }).strict()
254
+ );
249
255
  const updateACartTool = (options) => {
250
256
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
251
257
  (0, import_sdk.updateACart)({
@@ -352,10 +358,13 @@ const getCartItemsTool = (options) => {
352
358
  handler
353
359
  };
354
360
  };
355
- const manageCartsInput = z.object({
356
- path: import_zod.zManageCartsPath.strict(),
357
- body: (0, import_mcp_support.loose)(import_zod.zManageCartsBody).optional()
358
- }).strict();
361
+ const manageCartsInput = (0, import_mcp_support.withSharedSchemaIds)(
362
+ "cart_checkout_order",
363
+ z.object({
364
+ path: import_zod.zManageCartsPath.strict(),
365
+ body: (0, import_mcp_support.loose)(import_zod.zManageCartsBody).optional()
366
+ }).strict()
367
+ );
359
368
  const manageCartsTool = (options) => {
360
369
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
361
370
  (0, import_sdk.manageCarts)({
@@ -389,10 +398,13 @@ const manageCartsTool = (options) => {
389
398
  handler
390
399
  };
391
400
  };
392
- const bulkUpdateItemsInCartInput = z.object({
393
- path: import_zod.zBulkUpdateItemsInCartPath.strict(),
394
- body: (0, import_mcp_support.loose)(import_zod.zBulkUpdateItemsInCartBody).optional()
395
- }).strict();
401
+ const bulkUpdateItemsInCartInput = (0, import_mcp_support.withSharedSchemaIds)(
402
+ "cart_checkout_order",
403
+ z.object({
404
+ path: import_zod.zBulkUpdateItemsInCartPath.strict(),
405
+ body: (0, import_mcp_support.loose)(import_zod.zBulkUpdateItemsInCartBody).optional()
406
+ }).strict()
407
+ );
396
408
  const bulkUpdateItemsInCartTool = (options) => {
397
409
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
398
410
  (0, import_sdk.bulkUpdateItemsInCart)({
@@ -462,10 +474,13 @@ const deleteACartItemTool = (options) => {
462
474
  handler
463
475
  };
464
476
  };
465
- const updateACartItemInput = z.object({
466
- path: import_zod.zUpdateACartItemPath.strict(),
467
- body: (0, import_mcp_support.loose)(import_zod.zUpdateACartItemBody).optional()
468
- }).strict();
477
+ const updateACartItemInput = (0, import_mcp_support.withSharedSchemaIds)(
478
+ "cart_checkout_order",
479
+ z.object({
480
+ path: import_zod.zUpdateACartItemPath.strict(),
481
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateACartItemBody).optional()
482
+ }).strict()
483
+ );
469
484
  const updateACartItemTool = (options) => {
470
485
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
471
486
  (0, import_sdk.updateACartItem)({
@@ -499,11 +514,14 @@ const updateACartItemTool = (options) => {
499
514
  handler
500
515
  };
501
516
  };
502
- const deleteAccountCartAssociationInput = z.object({
503
- path: import_zod.zDeleteAccountCartAssociationPath.strict(),
504
- headers: import_zod.zDeleteAccountCartAssociationHeaders.strict().optional(),
505
- body: (0, import_mcp_support.loose)(import_zod.zDeleteAccountCartAssociationBody).optional()
506
- }).strict();
517
+ const deleteAccountCartAssociationInput = (0, import_mcp_support.withSharedSchemaIds)(
518
+ "cart_checkout_order",
519
+ z.object({
520
+ path: import_zod.zDeleteAccountCartAssociationPath.strict(),
521
+ headers: import_zod.zDeleteAccountCartAssociationHeaders.strict().optional(),
522
+ body: (0, import_mcp_support.loose)(import_zod.zDeleteAccountCartAssociationBody).optional()
523
+ }).strict()
524
+ );
507
525
  const deleteAccountCartAssociationTool = (options) => {
508
526
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
509
527
  (0, import_sdk.deleteAccountCartAssociation)({
@@ -537,11 +555,14 @@ const deleteAccountCartAssociationTool = (options) => {
537
555
  handler
538
556
  };
539
557
  };
540
- const createAccountCartAssociationInput = z.object({
541
- path: import_zod.zCreateAccountCartAssociationPath.strict(),
542
- headers: import_zod.zCreateAccountCartAssociationHeaders.strict().optional(),
543
- body: (0, import_mcp_support.loose)(import_zod.zCreateAccountCartAssociationBody).optional()
544
- }).strict();
558
+ const createAccountCartAssociationInput = (0, import_mcp_support.withSharedSchemaIds)(
559
+ "cart_checkout_order",
560
+ z.object({
561
+ path: import_zod.zCreateAccountCartAssociationPath.strict(),
562
+ headers: import_zod.zCreateAccountCartAssociationHeaders.strict().optional(),
563
+ body: (0, import_mcp_support.loose)(import_zod.zCreateAccountCartAssociationBody).optional()
564
+ }).strict()
565
+ );
545
566
  const createAccountCartAssociationTool = (options) => {
546
567
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
547
568
  (0, import_sdk.createAccountCartAssociation)({
@@ -575,11 +596,14 @@ const createAccountCartAssociationTool = (options) => {
575
596
  handler
576
597
  };
577
598
  };
578
- const deleteCustomerCartAssociationInput = z.object({
579
- path: import_zod.zDeleteCustomerCartAssociationPath.strict(),
580
- headers: import_zod.zDeleteCustomerCartAssociationHeaders.strict().optional(),
581
- body: (0, import_mcp_support.loose)(import_zod.zDeleteCustomerCartAssociationBody).optional()
582
- }).strict();
599
+ const deleteCustomerCartAssociationInput = (0, import_mcp_support.withSharedSchemaIds)(
600
+ "cart_checkout_order",
601
+ z.object({
602
+ path: import_zod.zDeleteCustomerCartAssociationPath.strict(),
603
+ headers: import_zod.zDeleteCustomerCartAssociationHeaders.strict().optional(),
604
+ body: (0, import_mcp_support.loose)(import_zod.zDeleteCustomerCartAssociationBody).optional()
605
+ }).strict()
606
+ );
583
607
  const deleteCustomerCartAssociationTool = (options) => {
584
608
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
585
609
  (0, import_sdk.deleteCustomerCartAssociation)({
@@ -613,11 +637,14 @@ const deleteCustomerCartAssociationTool = (options) => {
613
637
  handler
614
638
  };
615
639
  };
616
- const createCustomerCartAssociationInput = z.object({
617
- path: import_zod.zCreateCustomerCartAssociationPath.strict(),
618
- headers: import_zod.zCreateCustomerCartAssociationHeaders.strict().optional(),
619
- body: (0, import_mcp_support.loose)(import_zod.zCreateCustomerCartAssociationBody).optional()
620
- }).strict();
640
+ const createCustomerCartAssociationInput = (0, import_mcp_support.withSharedSchemaIds)(
641
+ "cart_checkout_order",
642
+ z.object({
643
+ path: import_zod.zCreateCustomerCartAssociationPath.strict(),
644
+ headers: import_zod.zCreateCustomerCartAssociationHeaders.strict().optional(),
645
+ body: (0, import_mcp_support.loose)(import_zod.zCreateCustomerCartAssociationBody).optional()
646
+ }).strict()
647
+ );
621
648
  const createCustomerCartAssociationTool = (options) => {
622
649
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
623
650
  (0, import_sdk.createCustomerCartAssociation)({
@@ -687,10 +714,13 @@ const deleteAPromotionViaPromotionCodeTool = (options) => {
687
714
  handler
688
715
  };
689
716
  };
690
- const addTaxItemToCartInput = z.object({
691
- path: import_zod.zAddTaxItemToCartPath.strict(),
692
- body: (0, import_mcp_support.loose)(import_zod.zAddTaxItemToCartBody)
693
- }).strict();
717
+ const addTaxItemToCartInput = (0, import_mcp_support.withSharedSchemaIds)(
718
+ "cart_checkout_order",
719
+ z.object({
720
+ path: import_zod.zAddTaxItemToCartPath.strict(),
721
+ body: (0, import_mcp_support.loose)(import_zod.zAddTaxItemToCartBody)
722
+ }).strict()
723
+ );
694
724
  const addTaxItemToCartTool = (options) => {
695
725
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
696
726
  (0, import_sdk.addTaxItemToCart)({
@@ -724,10 +754,13 @@ const addTaxItemToCartTool = (options) => {
724
754
  handler
725
755
  };
726
756
  };
727
- const addTaxItemToCartItemComponentInput = z.object({
728
- path: import_zod.zAddTaxItemToCartItemComponentPath.strict(),
729
- body: (0, import_mcp_support.loose)(import_zod.zAddTaxItemToCartItemComponentBody)
730
- }).strict();
757
+ const addTaxItemToCartItemComponentInput = (0, import_mcp_support.withSharedSchemaIds)(
758
+ "cart_checkout_order",
759
+ z.object({
760
+ path: import_zod.zAddTaxItemToCartItemComponentPath.strict(),
761
+ body: (0, import_mcp_support.loose)(import_zod.zAddTaxItemToCartItemComponentBody)
762
+ }).strict()
763
+ );
731
764
  const addTaxItemToCartItemComponentTool = (options) => {
732
765
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
733
766
  (0, import_sdk.addTaxItemToCartItemComponent)({
@@ -797,10 +830,13 @@ const deleteTaxItemFromCartItemComponentTool = (options) => {
797
830
  handler
798
831
  };
799
832
  };
800
- const updateTaxItemFromCartItemComponentInput = z.object({
801
- path: import_zod.zUpdateTaxItemFromCartItemComponentPath.strict(),
802
- body: (0, import_mcp_support.loose)(import_zod.zUpdateTaxItemFromCartItemComponentBody).optional()
803
- }).strict();
833
+ const updateTaxItemFromCartItemComponentInput = (0, import_mcp_support.withSharedSchemaIds)(
834
+ "cart_checkout_order",
835
+ z.object({
836
+ path: import_zod.zUpdateTaxItemFromCartItemComponentPath.strict(),
837
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateTaxItemFromCartItemComponentBody).optional()
838
+ }).strict()
839
+ );
804
840
  const updateTaxItemFromCartItemComponentTool = (options) => {
805
841
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
806
842
  (0, import_sdk.updateTaxItemFromCartItemComponent)({
@@ -870,10 +906,13 @@ const bulkDeleteTaxItemsFromCartTool = (options) => {
870
906
  handler
871
907
  };
872
908
  };
873
- const bulkAddTaxItemsToCartInput = z.object({
874
- path: import_zod.zBulkAddTaxItemsToCartPath.strict(),
875
- body: (0, import_mcp_support.loose)(import_zod.zBulkAddTaxItemsToCartBody).optional()
876
- }).strict();
909
+ const bulkAddTaxItemsToCartInput = (0, import_mcp_support.withSharedSchemaIds)(
910
+ "cart_checkout_order",
911
+ z.object({
912
+ path: import_zod.zBulkAddTaxItemsToCartPath.strict(),
913
+ body: (0, import_mcp_support.loose)(import_zod.zBulkAddTaxItemsToCartBody).optional()
914
+ }).strict()
915
+ );
877
916
  const bulkAddTaxItemsToCartTool = (options) => {
878
917
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
879
918
  (0, import_sdk.bulkAddTaxItemsToCart)({
@@ -943,10 +982,13 @@ const deleteATaxItemTool = (options) => {
943
982
  handler
944
983
  };
945
984
  };
946
- const updateATaxItemInput = z.object({
947
- path: import_zod.zUpdateATaxItemPath.strict(),
948
- body: (0, import_mcp_support.loose)(import_zod.zUpdateATaxItemBody).optional()
949
- }).strict();
985
+ const updateATaxItemInput = (0, import_mcp_support.withSharedSchemaIds)(
986
+ "cart_checkout_order",
987
+ z.object({
988
+ path: import_zod.zUpdateATaxItemPath.strict(),
989
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateATaxItemBody).optional()
990
+ }).strict()
991
+ );
950
992
  const updateATaxItemTool = (options) => {
951
993
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
952
994
  (0, import_sdk.updateATaxItem)({
@@ -1016,10 +1058,13 @@ const bulkDeleteCustomDiscountsFromCartTool = (options) => {
1016
1058
  handler
1017
1059
  };
1018
1060
  };
1019
- const bulkAddCustomDiscountsToCartInput = z.object({
1020
- path: import_zod.zBulkAddCustomDiscountsToCartPath.strict(),
1021
- body: (0, import_mcp_support.loose)(import_zod.zBulkAddCustomDiscountsToCartBody).optional()
1022
- }).strict();
1061
+ const bulkAddCustomDiscountsToCartInput = (0, import_mcp_support.withSharedSchemaIds)(
1062
+ "cart_checkout_order",
1063
+ z.object({
1064
+ path: import_zod.zBulkAddCustomDiscountsToCartPath.strict(),
1065
+ body: (0, import_mcp_support.loose)(import_zod.zBulkAddCustomDiscountsToCartBody).optional()
1066
+ }).strict()
1067
+ );
1023
1068
  const bulkAddCustomDiscountsToCartTool = (options) => {
1024
1069
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1025
1070
  (0, import_sdk.bulkAddCustomDiscountsToCart)({
@@ -1089,10 +1134,13 @@ const deleteCustomDiscountFromCartTool = (options) => {
1089
1134
  handler
1090
1135
  };
1091
1136
  };
1092
- const updateCustomDiscountForCartInput = z.object({
1093
- path: import_zod.zUpdateCustomDiscountForCartPath.strict(),
1094
- body: (0, import_mcp_support.loose)(import_zod.zUpdateCustomDiscountForCartBody).optional()
1095
- }).strict();
1137
+ const updateCustomDiscountForCartInput = (0, import_mcp_support.withSharedSchemaIds)(
1138
+ "cart_checkout_order",
1139
+ z.object({
1140
+ path: import_zod.zUpdateCustomDiscountForCartPath.strict(),
1141
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateCustomDiscountForCartBody).optional()
1142
+ }).strict()
1143
+ );
1096
1144
  const updateCustomDiscountForCartTool = (options) => {
1097
1145
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1098
1146
  (0, import_sdk.updateCustomDiscountForCart)({
@@ -1126,10 +1174,13 @@ const updateCustomDiscountForCartTool = (options) => {
1126
1174
  handler
1127
1175
  };
1128
1176
  };
1129
- const addCustomDiscountToCartItemInput = z.object({
1130
- path: import_zod.zAddCustomDiscountToCartItemPath.strict(),
1131
- body: (0, import_mcp_support.loose)(import_zod.zAddCustomDiscountToCartItemBody).optional()
1132
- }).strict();
1177
+ const addCustomDiscountToCartItemInput = (0, import_mcp_support.withSharedSchemaIds)(
1178
+ "cart_checkout_order",
1179
+ z.object({
1180
+ path: import_zod.zAddCustomDiscountToCartItemPath.strict(),
1181
+ body: (0, import_mcp_support.loose)(import_zod.zAddCustomDiscountToCartItemBody).optional()
1182
+ }).strict()
1183
+ );
1133
1184
  const addCustomDiscountToCartItemTool = (options) => {
1134
1185
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1135
1186
  (0, import_sdk.addCustomDiscountToCartItem)({
@@ -1199,10 +1250,13 @@ const deleteCustomDiscountFromCartItemTool = (options) => {
1199
1250
  handler
1200
1251
  };
1201
1252
  };
1202
- const updateCustomDiscountForCartItemInput = z.object({
1203
- path: import_zod.zUpdateCustomDiscountForCartItemPath.strict(),
1204
- body: (0, import_mcp_support.loose)(import_zod.zUpdateCustomDiscountForCartItemBody).optional()
1205
- }).strict();
1253
+ const updateCustomDiscountForCartItemInput = (0, import_mcp_support.withSharedSchemaIds)(
1254
+ "cart_checkout_order",
1255
+ z.object({
1256
+ path: import_zod.zUpdateCustomDiscountForCartItemPath.strict(),
1257
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateCustomDiscountForCartItemBody).optional()
1258
+ }).strict()
1259
+ );
1206
1260
  const updateCustomDiscountForCartItemTool = (options) => {
1207
1261
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1208
1262
  (0, import_sdk.updateCustomDiscountForCartItem)({
@@ -1272,10 +1326,13 @@ const getShippingGroupsTool = (options) => {
1272
1326
  handler
1273
1327
  };
1274
1328
  };
1275
- const createShippingGroupInput = z.object({
1276
- path: import_zod.zCreateShippingGroupPath.strict(),
1277
- body: (0, import_mcp_support.loose)(import_zod.zCreateShippingGroupBody)
1278
- }).strict();
1329
+ const createShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds)(
1330
+ "cart_checkout_order",
1331
+ z.object({
1332
+ path: import_zod.zCreateShippingGroupPath.strict(),
1333
+ body: (0, import_mcp_support.loose)(import_zod.zCreateShippingGroupBody)
1334
+ }).strict()
1335
+ );
1279
1336
  const createShippingGroupTool = (options) => {
1280
1337
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1281
1338
  (0, import_sdk.createShippingGroup)({
@@ -1381,10 +1438,13 @@ const getShippingGroupByIdTool = (options) => {
1381
1438
  handler
1382
1439
  };
1383
1440
  };
1384
- const updateShippingGroupInput = z.object({
1385
- path: import_zod.zUpdateShippingGroupPath.strict(),
1386
- body: (0, import_mcp_support.loose)(import_zod.zUpdateShippingGroupBody)
1387
- }).strict();
1441
+ const updateShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds)(
1442
+ "cart_checkout_order",
1443
+ z.object({
1444
+ path: import_zod.zUpdateShippingGroupPath.strict(),
1445
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateShippingGroupBody)
1446
+ }).strict()
1447
+ );
1388
1448
  const updateShippingGroupTool = (options) => {
1389
1449
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1390
1450
  (0, import_sdk.updateShippingGroup)({
@@ -1418,10 +1478,13 @@ const updateShippingGroupTool = (options) => {
1418
1478
  handler
1419
1479
  };
1420
1480
  };
1421
- const createCartPaymentIntentInput = z.object({
1422
- path: import_zod.zCreateCartPaymentIntentPath.strict(),
1423
- body: (0, import_mcp_support.loose)(import_zod.zCreateCartPaymentIntentBody).optional()
1424
- }).strict();
1481
+ const createCartPaymentIntentInput = (0, import_mcp_support.withSharedSchemaIds)(
1482
+ "cart_checkout_order",
1483
+ z.object({
1484
+ path: import_zod.zCreateCartPaymentIntentPath.strict(),
1485
+ body: (0, import_mcp_support.loose)(import_zod.zCreateCartPaymentIntentBody).optional()
1486
+ }).strict()
1487
+ );
1425
1488
  const createCartPaymentIntentTool = (options) => {
1426
1489
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1427
1490
  (0, import_sdk.createCartPaymentIntent)({
@@ -1455,10 +1518,13 @@ const createCartPaymentIntentTool = (options) => {
1455
1518
  handler
1456
1519
  };
1457
1520
  };
1458
- const updateCartPaymentIntentInput = z.object({
1459
- path: import_zod.zUpdateCartPaymentIntentPath.strict(),
1460
- body: (0, import_mcp_support.loose)(import_zod.zUpdateCartPaymentIntentBody)
1461
- }).strict();
1521
+ const updateCartPaymentIntentInput = (0, import_mcp_support.withSharedSchemaIds)(
1522
+ "cart_checkout_order",
1523
+ z.object({
1524
+ path: import_zod.zUpdateCartPaymentIntentPath.strict(),
1525
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateCartPaymentIntentBody)
1526
+ }).strict()
1527
+ );
1462
1528
  const updateCartPaymentIntentTool = (options) => {
1463
1529
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1464
1530
  (0, import_sdk.updateCartPaymentIntent)({
@@ -1492,11 +1558,14 @@ const updateCartPaymentIntentTool = (options) => {
1492
1558
  handler
1493
1559
  };
1494
1560
  };
1495
- const checkoutApiInput = z.object({
1496
- path: import_zod.zCheckoutApiPath.strict(),
1497
- headers: import_zod.zCheckoutApiHeaders.strict().optional(),
1498
- body: (0, import_mcp_support.loose)(import_zod.zCheckoutApiBody).optional()
1499
- }).strict();
1561
+ const checkoutApiInput = (0, import_mcp_support.withSharedSchemaIds)(
1562
+ "cart_checkout_order",
1563
+ z.object({
1564
+ path: import_zod.zCheckoutApiPath.strict(),
1565
+ headers: import_zod.zCheckoutApiHeaders.strict().optional(),
1566
+ body: (0, import_mcp_support.loose)(import_zod.zCheckoutApiBody).optional()
1567
+ }).strict()
1568
+ );
1500
1569
  const checkoutApiTool = (options) => {
1501
1570
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1502
1571
  (0, import_sdk.checkoutApi)({
@@ -1604,10 +1673,13 @@ const getAnOrderTool = (options) => {
1604
1673
  handler
1605
1674
  };
1606
1675
  };
1607
- const updateAnOrderInput = z.object({
1608
- path: import_zod.zUpdateAnOrderPath.strict(),
1609
- body: (0, import_mcp_support.loose)(import_zod.zUpdateAnOrderBody).optional()
1610
- }).strict();
1676
+ const updateAnOrderInput = (0, import_mcp_support.withSharedSchemaIds)(
1677
+ "cart_checkout_order",
1678
+ z.object({
1679
+ path: import_zod.zUpdateAnOrderPath.strict(),
1680
+ body: (0, import_mcp_support.loose)(import_zod.zUpdateAnOrderBody).optional()
1681
+ }).strict()
1682
+ );
1611
1683
  const updateAnOrderTool = (options) => {
1612
1684
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1613
1685
  (0, import_sdk.updateAnOrder)({
@@ -1678,9 +1750,12 @@ const getOrderItemsTool = (options) => {
1678
1750
  handler
1679
1751
  };
1680
1752
  };
1681
- const anonymizeOrdersInput = z.object({
1682
- body: (0, import_mcp_support.loose)(import_zod.zAnonymizeOrdersBody).optional()
1683
- }).strict();
1753
+ const anonymizeOrdersInput = (0, import_mcp_support.withSharedSchemaIds)(
1754
+ "cart_checkout_order",
1755
+ z.object({
1756
+ body: (0, import_mcp_support.loose)(import_zod.zAnonymizeOrdersBody).optional()
1757
+ }).strict()
1758
+ );
1684
1759
  const anonymizeOrdersTool = (options) => {
1685
1760
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1686
1761
  (0, import_sdk.anonymizeOrders)({
@@ -1750,10 +1825,13 @@ const confirmOrderTool = (options) => {
1750
1825
  handler
1751
1826
  };
1752
1827
  };
1753
- const paymentSetupInput = z.object({
1754
- path: import_zod.zPaymentSetupPath.strict(),
1755
- body: (0, import_mcp_support.loose)(import_zod.zPaymentSetupBody).optional()
1756
- }).strict();
1828
+ const paymentSetupInput = (0, import_mcp_support.withSharedSchemaIds)(
1829
+ "cart_checkout_order",
1830
+ z.object({
1831
+ path: import_zod.zPaymentSetupPath.strict(),
1832
+ body: (0, import_mcp_support.loose)(import_zod.zPaymentSetupBody).optional()
1833
+ }).strict()
1834
+ );
1757
1835
  const paymentSetupTool = (options) => {
1758
1836
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1759
1837
  (0, import_sdk.paymentSetup)({
@@ -1787,10 +1865,13 @@ const paymentSetupTool = (options) => {
1787
1865
  handler
1788
1866
  };
1789
1867
  };
1790
- const confirmPaymentInput = z.object({
1791
- path: import_zod.zConfirmPaymentPath.strict(),
1792
- body: (0, import_mcp_support.loose)(import_zod.zConfirmPaymentBody).optional()
1793
- }).strict();
1868
+ const confirmPaymentInput = (0, import_mcp_support.withSharedSchemaIds)(
1869
+ "cart_checkout_order",
1870
+ z.object({
1871
+ path: import_zod.zConfirmPaymentPath.strict(),
1872
+ body: (0, import_mcp_support.loose)(import_zod.zConfirmPaymentBody).optional()
1873
+ }).strict()
1874
+ );
1794
1875
  const confirmPaymentTool = (options) => {
1795
1876
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1796
1877
  (0, import_sdk.confirmPayment)({
@@ -1824,10 +1905,13 @@ const confirmPaymentTool = (options) => {
1824
1905
  handler
1825
1906
  };
1826
1907
  };
1827
- const captureATransactionInput = z.object({
1828
- path: import_zod.zCaptureATransactionPath.strict(),
1829
- body: (0, import_mcp_support.loose)(import_zod.zCaptureATransactionBody).optional()
1830
- }).strict();
1908
+ const captureATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
1909
+ "cart_checkout_order",
1910
+ z.object({
1911
+ path: import_zod.zCaptureATransactionPath.strict(),
1912
+ body: (0, import_mcp_support.loose)(import_zod.zCaptureATransactionBody).optional()
1913
+ }).strict()
1914
+ );
1831
1915
  const captureATransactionTool = (options) => {
1832
1916
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1833
1917
  (0, import_sdk.captureATransaction)({
@@ -1861,10 +1945,13 @@ const captureATransactionTool = (options) => {
1861
1945
  handler
1862
1946
  };
1863
1947
  };
1864
- const refundATransactionInput = z.object({
1865
- path: import_zod.zRefundATransactionPath.strict(),
1866
- body: (0, import_mcp_support.loose)(import_zod.zRefundATransactionBody).optional()
1867
- }).strict();
1948
+ const refundATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
1949
+ "cart_checkout_order",
1950
+ z.object({
1951
+ path: import_zod.zRefundATransactionPath.strict(),
1952
+ body: (0, import_mcp_support.loose)(import_zod.zRefundATransactionBody).optional()
1953
+ }).strict()
1954
+ );
1868
1955
  const refundATransactionTool = (options) => {
1869
1956
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1870
1957
  (0, import_sdk.refundATransaction)({
@@ -1970,10 +2057,13 @@ const getATransactionTool = (options) => {
1970
2057
  handler
1971
2058
  };
1972
2059
  };
1973
- const cancelATransactionInput = z.object({
1974
- path: import_zod.zCancelATransactionPath.strict(),
1975
- body: (0, import_mcp_support.loose)(import_zod.zCancelATransactionBody).optional()
1976
- }).strict();
2060
+ const cancelATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
2061
+ "cart_checkout_order",
2062
+ z.object({
2063
+ path: import_zod.zCancelATransactionPath.strict(),
2064
+ body: (0, import_mcp_support.loose)(import_zod.zCancelATransactionBody).optional()
2065
+ }).strict()
2066
+ );
1977
2067
  const cancelATransactionTool = (options) => {
1978
2068
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
1979
2069
  (0, import_sdk.cancelATransaction)({
@@ -2043,10 +2133,13 @@ const getOrderShippingGroupsTool = (options) => {
2043
2133
  handler
2044
2134
  };
2045
2135
  };
2046
- const createOrderShippingGroupInput = z.object({
2047
- path: import_zod.zCreateOrderShippingGroupPath.strict(),
2048
- body: (0, import_mcp_support.loose)(import_zod.zCreateOrderShippingGroupBody).optional()
2049
- }).strict();
2136
+ const createOrderShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds)(
2137
+ "cart_checkout_order",
2138
+ z.object({
2139
+ path: import_zod.zCreateOrderShippingGroupPath.strict(),
2140
+ body: (0, import_mcp_support.loose)(import_zod.zCreateOrderShippingGroupBody).optional()
2141
+ }).strict()
2142
+ );
2050
2143
  const createOrderShippingGroupTool = (options) => {
2051
2144
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
2052
2145
  (0, import_sdk.createOrderShippingGroup)({
@@ -2117,10 +2210,13 @@ const getShippingGroupsByIdTool = (options) => {
2117
2210
  handler
2118
2211
  };
2119
2212
  };
2120
- const putShippingGroupByIdInput = z.object({
2121
- path: import_zod.zPutShippingGroupByIdPath.strict(),
2122
- body: (0, import_mcp_support.loose)(import_zod.zPutShippingGroupByIdBody)
2123
- }).strict();
2213
+ const putShippingGroupByIdInput = (0, import_mcp_support.withSharedSchemaIds)(
2214
+ "cart_checkout_order",
2215
+ z.object({
2216
+ path: import_zod.zPutShippingGroupByIdPath.strict(),
2217
+ body: (0, import_mcp_support.loose)(import_zod.zPutShippingGroupByIdBody)
2218
+ }).strict()
2219
+ );
2124
2220
  const putShippingGroupByIdTool = (options) => {
2125
2221
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
2126
2222
  (0, import_sdk.putShippingGroupById)({
@@ -2188,9 +2284,12 @@ const getV2SettingsCartTool = (options) => {
2188
2284
  handler
2189
2285
  };
2190
2286
  };
2191
- const putV2SettingsCartInput = z.object({
2192
- body: (0, import_mcp_support.loose)(import_zod.zPutV2SettingsCartBody).optional()
2193
- }).strict();
2287
+ const putV2SettingsCartInput = (0, import_mcp_support.withSharedSchemaIds)(
2288
+ "cart_checkout_order",
2289
+ z.object({
2290
+ body: (0, import_mcp_support.loose)(import_zod.zPutV2SettingsCartBody).optional()
2291
+ }).strict()
2292
+ );
2194
2293
  const putV2SettingsCartTool = (options) => {
2195
2294
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
2196
2295
  (0, import_sdk.putV2SettingsCart)({
@@ -2260,10 +2359,13 @@ const getV2SettingsCartStoreIdTool = (options) => {
2260
2359
  handler
2261
2360
  };
2262
2361
  };
2263
- const putV2SettingsCartStoreIdInput = z.object({
2264
- path: import_zod.zPutV2SettingsCartStoreIdPath.strict(),
2265
- body: (0, import_mcp_support.loose)(import_zod.zPutV2SettingsCartStoreIdBody).optional()
2266
- }).strict();
2362
+ const putV2SettingsCartStoreIdInput = (0, import_mcp_support.withSharedSchemaIds)(
2363
+ "cart_checkout_order",
2364
+ z.object({
2365
+ path: import_zod.zPutV2SettingsCartStoreIdPath.strict(),
2366
+ body: (0, import_mcp_support.loose)(import_zod.zPutV2SettingsCartStoreIdBody).optional()
2367
+ }).strict()
2368
+ );
2267
2369
  const putV2SettingsCartStoreIdTool = (options) => {
2268
2370
  const handler = (args, extra) => (0, import_mcp_support.toToolResult)(
2269
2371
  (0, import_sdk.putV2SettingsCartStoreId)({