@epcc-sdk/sdks-cart-checkout-order 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/client/mcp-support.gen.cjs +1 -1
- package/dist/client/mcp-support.gen.cjs.map +1 -1
- package/dist/client/mcp-support.gen.mjs +1 -1
- package/dist/client/mcp-support.gen.mjs.map +1 -1
- package/dist/client/mcp.gen.cjs +120 -120
- package/dist/client/mcp.gen.cjs.map +1 -1
- package/dist/client/mcp.gen.mjs +120 -120
- package/dist/client/mcp.gen.mjs.map +1 -1
- package/dist/mcp.d.cts +1744 -907
- package/dist/mcp.d.ts +1744 -907
- package/package.json +5 -4
package/dist/client/mcp.gen.cjs
CHANGED
|
@@ -100,11 +100,11 @@ const getCartsInput = z.object({
|
|
|
100
100
|
headers: import_zod.zGetCartsHeaders.strict().optional()
|
|
101
101
|
}).strict();
|
|
102
102
|
const getCartsTool = (options) => {
|
|
103
|
-
const handler = (args,
|
|
103
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
104
104
|
(0, import_sdk.getCarts)({
|
|
105
105
|
...args,
|
|
106
106
|
client: options?.client,
|
|
107
|
-
signal:
|
|
107
|
+
signal: ctx.mcpReq.signal,
|
|
108
108
|
throwOnError: false
|
|
109
109
|
})
|
|
110
110
|
);
|
|
@@ -140,11 +140,11 @@ const createACartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
140
140
|
}).strict()
|
|
141
141
|
);
|
|
142
142
|
const createACartTool = (options) => {
|
|
143
|
-
const handler = (args,
|
|
143
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
144
144
|
(0, import_sdk.createACart)({
|
|
145
145
|
...args,
|
|
146
146
|
client: options?.client,
|
|
147
|
-
signal:
|
|
147
|
+
signal: ctx.mcpReq.signal,
|
|
148
148
|
throwOnError: false
|
|
149
149
|
})
|
|
150
150
|
);
|
|
@@ -176,11 +176,11 @@ const deleteACartInput = z.object({
|
|
|
176
176
|
path: import_zod.zDeleteACartPath.strict()
|
|
177
177
|
}).strict();
|
|
178
178
|
const deleteACartTool = (options) => {
|
|
179
|
-
const handler = (args,
|
|
179
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
180
180
|
(0, import_sdk.deleteACart)({
|
|
181
181
|
...args,
|
|
182
182
|
client: options?.client,
|
|
183
|
-
signal:
|
|
183
|
+
signal: ctx.mcpReq.signal,
|
|
184
184
|
throwOnError: false
|
|
185
185
|
})
|
|
186
186
|
);
|
|
@@ -213,11 +213,11 @@ const getACartInput = z.object({
|
|
|
213
213
|
query: import_zod.zGetACartQuery.strict().optional()
|
|
214
214
|
}).strict();
|
|
215
215
|
const getACartTool = (options) => {
|
|
216
|
-
const handler = (args,
|
|
216
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
217
217
|
(0, import_sdk.getACart)({
|
|
218
218
|
...args,
|
|
219
219
|
client: options?.client,
|
|
220
|
-
signal:
|
|
220
|
+
signal: ctx.mcpReq.signal,
|
|
221
221
|
throwOnError: false
|
|
222
222
|
})
|
|
223
223
|
);
|
|
@@ -253,11 +253,11 @@ const updateACartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
253
253
|
}).strict()
|
|
254
254
|
);
|
|
255
255
|
const updateACartTool = (options) => {
|
|
256
|
-
const handler = (args,
|
|
256
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
257
257
|
(0, import_sdk.updateACart)({
|
|
258
258
|
...args,
|
|
259
259
|
client: options?.client,
|
|
260
|
-
signal:
|
|
260
|
+
signal: ctx.mcpReq.signal,
|
|
261
261
|
throwOnError: false
|
|
262
262
|
})
|
|
263
263
|
);
|
|
@@ -289,11 +289,11 @@ const deleteAllCartItemsInput = z.object({
|
|
|
289
289
|
path: import_zod.zDeleteAllCartItemsPath.strict()
|
|
290
290
|
}).strict();
|
|
291
291
|
const deleteAllCartItemsTool = (options) => {
|
|
292
|
-
const handler = (args,
|
|
292
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
293
293
|
(0, import_sdk.deleteAllCartItems)({
|
|
294
294
|
...args,
|
|
295
295
|
client: options?.client,
|
|
296
|
-
signal:
|
|
296
|
+
signal: ctx.mcpReq.signal,
|
|
297
297
|
throwOnError: false
|
|
298
298
|
})
|
|
299
299
|
);
|
|
@@ -326,11 +326,11 @@ const getCartItemsInput = z.object({
|
|
|
326
326
|
query: import_zod.zGetCartItemsQuery.strict().optional()
|
|
327
327
|
}).strict();
|
|
328
328
|
const getCartItemsTool = (options) => {
|
|
329
|
-
const handler = (args,
|
|
329
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
330
330
|
(0, import_sdk.getCartItems)({
|
|
331
331
|
...args,
|
|
332
332
|
client: options?.client,
|
|
333
|
-
signal:
|
|
333
|
+
signal: ctx.mcpReq.signal,
|
|
334
334
|
throwOnError: false
|
|
335
335
|
})
|
|
336
336
|
);
|
|
@@ -366,11 +366,11 @@ const manageCartsInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
366
366
|
}).strict()
|
|
367
367
|
);
|
|
368
368
|
const manageCartsTool = (options) => {
|
|
369
|
-
const handler = (args,
|
|
369
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
370
370
|
(0, import_sdk.manageCarts)({
|
|
371
371
|
...args,
|
|
372
372
|
client: options?.client,
|
|
373
|
-
signal:
|
|
373
|
+
signal: ctx.mcpReq.signal,
|
|
374
374
|
throwOnError: false
|
|
375
375
|
})
|
|
376
376
|
);
|
|
@@ -406,11 +406,11 @@ const bulkUpdateItemsInCartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
406
406
|
}).strict()
|
|
407
407
|
);
|
|
408
408
|
const bulkUpdateItemsInCartTool = (options) => {
|
|
409
|
-
const handler = (args,
|
|
409
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
410
410
|
(0, import_sdk.bulkUpdateItemsInCart)({
|
|
411
411
|
...args,
|
|
412
412
|
client: options?.client,
|
|
413
|
-
signal:
|
|
413
|
+
signal: ctx.mcpReq.signal,
|
|
414
414
|
throwOnError: false
|
|
415
415
|
})
|
|
416
416
|
);
|
|
@@ -442,11 +442,11 @@ const deleteACartItemInput = z.object({
|
|
|
442
442
|
path: import_zod.zDeleteACartItemPath.strict()
|
|
443
443
|
}).strict();
|
|
444
444
|
const deleteACartItemTool = (options) => {
|
|
445
|
-
const handler = (args,
|
|
445
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
446
446
|
(0, import_sdk.deleteACartItem)({
|
|
447
447
|
...args,
|
|
448
448
|
client: options?.client,
|
|
449
|
-
signal:
|
|
449
|
+
signal: ctx.mcpReq.signal,
|
|
450
450
|
throwOnError: false
|
|
451
451
|
})
|
|
452
452
|
);
|
|
@@ -482,11 +482,11 @@ const updateACartItemInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
482
482
|
}).strict()
|
|
483
483
|
);
|
|
484
484
|
const updateACartItemTool = (options) => {
|
|
485
|
-
const handler = (args,
|
|
485
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
486
486
|
(0, import_sdk.updateACartItem)({
|
|
487
487
|
...args,
|
|
488
488
|
client: options?.client,
|
|
489
|
-
signal:
|
|
489
|
+
signal: ctx.mcpReq.signal,
|
|
490
490
|
throwOnError: false
|
|
491
491
|
})
|
|
492
492
|
);
|
|
@@ -523,11 +523,11 @@ const deleteAccountCartAssociationInput = (0, import_mcp_support.withSharedSchem
|
|
|
523
523
|
}).strict()
|
|
524
524
|
);
|
|
525
525
|
const deleteAccountCartAssociationTool = (options) => {
|
|
526
|
-
const handler = (args,
|
|
526
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
527
527
|
(0, import_sdk.deleteAccountCartAssociation)({
|
|
528
528
|
...args,
|
|
529
529
|
client: options?.client,
|
|
530
|
-
signal:
|
|
530
|
+
signal: ctx.mcpReq.signal,
|
|
531
531
|
throwOnError: false
|
|
532
532
|
})
|
|
533
533
|
);
|
|
@@ -564,11 +564,11 @@ const createAccountCartAssociationInput = (0, import_mcp_support.withSharedSchem
|
|
|
564
564
|
}).strict()
|
|
565
565
|
);
|
|
566
566
|
const createAccountCartAssociationTool = (options) => {
|
|
567
|
-
const handler = (args,
|
|
567
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
568
568
|
(0, import_sdk.createAccountCartAssociation)({
|
|
569
569
|
...args,
|
|
570
570
|
client: options?.client,
|
|
571
|
-
signal:
|
|
571
|
+
signal: ctx.mcpReq.signal,
|
|
572
572
|
throwOnError: false
|
|
573
573
|
})
|
|
574
574
|
);
|
|
@@ -605,11 +605,11 @@ const deleteCustomerCartAssociationInput = (0, import_mcp_support.withSharedSche
|
|
|
605
605
|
}).strict()
|
|
606
606
|
);
|
|
607
607
|
const deleteCustomerCartAssociationTool = (options) => {
|
|
608
|
-
const handler = (args,
|
|
608
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
609
609
|
(0, import_sdk.deleteCustomerCartAssociation)({
|
|
610
610
|
...args,
|
|
611
611
|
client: options?.client,
|
|
612
|
-
signal:
|
|
612
|
+
signal: ctx.mcpReq.signal,
|
|
613
613
|
throwOnError: false
|
|
614
614
|
})
|
|
615
615
|
);
|
|
@@ -646,11 +646,11 @@ const createCustomerCartAssociationInput = (0, import_mcp_support.withSharedSche
|
|
|
646
646
|
}).strict()
|
|
647
647
|
);
|
|
648
648
|
const createCustomerCartAssociationTool = (options) => {
|
|
649
|
-
const handler = (args,
|
|
649
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
650
650
|
(0, import_sdk.createCustomerCartAssociation)({
|
|
651
651
|
...args,
|
|
652
652
|
client: options?.client,
|
|
653
|
-
signal:
|
|
653
|
+
signal: ctx.mcpReq.signal,
|
|
654
654
|
throwOnError: false
|
|
655
655
|
})
|
|
656
656
|
);
|
|
@@ -682,11 +682,11 @@ const deleteAPromotionViaPromotionCodeInput = z.object({
|
|
|
682
682
|
path: import_zod.zDeleteAPromotionViaPromotionCodePath.strict()
|
|
683
683
|
}).strict();
|
|
684
684
|
const deleteAPromotionViaPromotionCodeTool = (options) => {
|
|
685
|
-
const handler = (args,
|
|
685
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
686
686
|
(0, import_sdk.deleteAPromotionViaPromotionCode)({
|
|
687
687
|
...args,
|
|
688
688
|
client: options?.client,
|
|
689
|
-
signal:
|
|
689
|
+
signal: ctx.mcpReq.signal,
|
|
690
690
|
throwOnError: false
|
|
691
691
|
})
|
|
692
692
|
);
|
|
@@ -722,11 +722,11 @@ const addTaxItemToCartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
722
722
|
}).strict()
|
|
723
723
|
);
|
|
724
724
|
const addTaxItemToCartTool = (options) => {
|
|
725
|
-
const handler = (args,
|
|
725
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
726
726
|
(0, import_sdk.addTaxItemToCart)({
|
|
727
727
|
...args,
|
|
728
728
|
client: options?.client,
|
|
729
|
-
signal:
|
|
729
|
+
signal: ctx.mcpReq.signal,
|
|
730
730
|
throwOnError: false
|
|
731
731
|
})
|
|
732
732
|
);
|
|
@@ -762,11 +762,11 @@ const addTaxItemToCartItemComponentInput = (0, import_mcp_support.withSharedSche
|
|
|
762
762
|
}).strict()
|
|
763
763
|
);
|
|
764
764
|
const addTaxItemToCartItemComponentTool = (options) => {
|
|
765
|
-
const handler = (args,
|
|
765
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
766
766
|
(0, import_sdk.addTaxItemToCartItemComponent)({
|
|
767
767
|
...args,
|
|
768
768
|
client: options?.client,
|
|
769
|
-
signal:
|
|
769
|
+
signal: ctx.mcpReq.signal,
|
|
770
770
|
throwOnError: false
|
|
771
771
|
})
|
|
772
772
|
);
|
|
@@ -798,11 +798,11 @@ const deleteTaxItemFromCartItemComponentInput = z.object({
|
|
|
798
798
|
path: import_zod.zDeleteTaxItemFromCartItemComponentPath.strict()
|
|
799
799
|
}).strict();
|
|
800
800
|
const deleteTaxItemFromCartItemComponentTool = (options) => {
|
|
801
|
-
const handler = (args,
|
|
801
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
802
802
|
(0, import_sdk.deleteTaxItemFromCartItemComponent)({
|
|
803
803
|
...args,
|
|
804
804
|
client: options?.client,
|
|
805
|
-
signal:
|
|
805
|
+
signal: ctx.mcpReq.signal,
|
|
806
806
|
throwOnError: false
|
|
807
807
|
})
|
|
808
808
|
);
|
|
@@ -838,11 +838,11 @@ const updateTaxItemFromCartItemComponentInput = (0, import_mcp_support.withShare
|
|
|
838
838
|
}).strict()
|
|
839
839
|
);
|
|
840
840
|
const updateTaxItemFromCartItemComponentTool = (options) => {
|
|
841
|
-
const handler = (args,
|
|
841
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
842
842
|
(0, import_sdk.updateTaxItemFromCartItemComponent)({
|
|
843
843
|
...args,
|
|
844
844
|
client: options?.client,
|
|
845
|
-
signal:
|
|
845
|
+
signal: ctx.mcpReq.signal,
|
|
846
846
|
throwOnError: false
|
|
847
847
|
})
|
|
848
848
|
);
|
|
@@ -874,11 +874,11 @@ const bulkDeleteTaxItemsFromCartInput = z.object({
|
|
|
874
874
|
path: import_zod.zBulkDeleteTaxItemsFromCartPath.strict()
|
|
875
875
|
}).strict();
|
|
876
876
|
const bulkDeleteTaxItemsFromCartTool = (options) => {
|
|
877
|
-
const handler = (args,
|
|
877
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
878
878
|
(0, import_sdk.bulkDeleteTaxItemsFromCart)({
|
|
879
879
|
...args,
|
|
880
880
|
client: options?.client,
|
|
881
|
-
signal:
|
|
881
|
+
signal: ctx.mcpReq.signal,
|
|
882
882
|
throwOnError: false
|
|
883
883
|
})
|
|
884
884
|
);
|
|
@@ -914,11 +914,11 @@ const bulkAddTaxItemsToCartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
914
914
|
}).strict()
|
|
915
915
|
);
|
|
916
916
|
const bulkAddTaxItemsToCartTool = (options) => {
|
|
917
|
-
const handler = (args,
|
|
917
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
918
918
|
(0, import_sdk.bulkAddTaxItemsToCart)({
|
|
919
919
|
...args,
|
|
920
920
|
client: options?.client,
|
|
921
|
-
signal:
|
|
921
|
+
signal: ctx.mcpReq.signal,
|
|
922
922
|
throwOnError: false
|
|
923
923
|
})
|
|
924
924
|
);
|
|
@@ -950,11 +950,11 @@ const deleteATaxItemInput = z.object({
|
|
|
950
950
|
path: import_zod.zDeleteATaxItemPath.strict()
|
|
951
951
|
}).strict();
|
|
952
952
|
const deleteATaxItemTool = (options) => {
|
|
953
|
-
const handler = (args,
|
|
953
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
954
954
|
(0, import_sdk.deleteATaxItem)({
|
|
955
955
|
...args,
|
|
956
956
|
client: options?.client,
|
|
957
|
-
signal:
|
|
957
|
+
signal: ctx.mcpReq.signal,
|
|
958
958
|
throwOnError: false
|
|
959
959
|
})
|
|
960
960
|
);
|
|
@@ -990,11 +990,11 @@ const updateATaxItemInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
990
990
|
}).strict()
|
|
991
991
|
);
|
|
992
992
|
const updateATaxItemTool = (options) => {
|
|
993
|
-
const handler = (args,
|
|
993
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
994
994
|
(0, import_sdk.updateATaxItem)({
|
|
995
995
|
...args,
|
|
996
996
|
client: options?.client,
|
|
997
|
-
signal:
|
|
997
|
+
signal: ctx.mcpReq.signal,
|
|
998
998
|
throwOnError: false
|
|
999
999
|
})
|
|
1000
1000
|
);
|
|
@@ -1026,11 +1026,11 @@ const bulkDeleteCustomDiscountsFromCartInput = z.object({
|
|
|
1026
1026
|
path: import_zod.zBulkDeleteCustomDiscountsFromCartPath.strict()
|
|
1027
1027
|
}).strict();
|
|
1028
1028
|
const bulkDeleteCustomDiscountsFromCartTool = (options) => {
|
|
1029
|
-
const handler = (args,
|
|
1029
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1030
1030
|
(0, import_sdk.bulkDeleteCustomDiscountsFromCart)({
|
|
1031
1031
|
...args,
|
|
1032
1032
|
client: options?.client,
|
|
1033
|
-
signal:
|
|
1033
|
+
signal: ctx.mcpReq.signal,
|
|
1034
1034
|
throwOnError: false
|
|
1035
1035
|
})
|
|
1036
1036
|
);
|
|
@@ -1066,11 +1066,11 @@ const bulkAddCustomDiscountsToCartInput = (0, import_mcp_support.withSharedSchem
|
|
|
1066
1066
|
}).strict()
|
|
1067
1067
|
);
|
|
1068
1068
|
const bulkAddCustomDiscountsToCartTool = (options) => {
|
|
1069
|
-
const handler = (args,
|
|
1069
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1070
1070
|
(0, import_sdk.bulkAddCustomDiscountsToCart)({
|
|
1071
1071
|
...args,
|
|
1072
1072
|
client: options?.client,
|
|
1073
|
-
signal:
|
|
1073
|
+
signal: ctx.mcpReq.signal,
|
|
1074
1074
|
throwOnError: false
|
|
1075
1075
|
})
|
|
1076
1076
|
);
|
|
@@ -1102,11 +1102,11 @@ const deleteCustomDiscountFromCartInput = z.object({
|
|
|
1102
1102
|
path: import_zod.zDeleteCustomDiscountFromCartPath.strict()
|
|
1103
1103
|
}).strict();
|
|
1104
1104
|
const deleteCustomDiscountFromCartTool = (options) => {
|
|
1105
|
-
const handler = (args,
|
|
1105
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1106
1106
|
(0, import_sdk.deleteCustomDiscountFromCart)({
|
|
1107
1107
|
...args,
|
|
1108
1108
|
client: options?.client,
|
|
1109
|
-
signal:
|
|
1109
|
+
signal: ctx.mcpReq.signal,
|
|
1110
1110
|
throwOnError: false
|
|
1111
1111
|
})
|
|
1112
1112
|
);
|
|
@@ -1142,11 +1142,11 @@ const updateCustomDiscountForCartInput = (0, import_mcp_support.withSharedSchema
|
|
|
1142
1142
|
}).strict()
|
|
1143
1143
|
);
|
|
1144
1144
|
const updateCustomDiscountForCartTool = (options) => {
|
|
1145
|
-
const handler = (args,
|
|
1145
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1146
1146
|
(0, import_sdk.updateCustomDiscountForCart)({
|
|
1147
1147
|
...args,
|
|
1148
1148
|
client: options?.client,
|
|
1149
|
-
signal:
|
|
1149
|
+
signal: ctx.mcpReq.signal,
|
|
1150
1150
|
throwOnError: false
|
|
1151
1151
|
})
|
|
1152
1152
|
);
|
|
@@ -1182,11 +1182,11 @@ const addCustomDiscountToCartItemInput = (0, import_mcp_support.withSharedSchema
|
|
|
1182
1182
|
}).strict()
|
|
1183
1183
|
);
|
|
1184
1184
|
const addCustomDiscountToCartItemTool = (options) => {
|
|
1185
|
-
const handler = (args,
|
|
1185
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1186
1186
|
(0, import_sdk.addCustomDiscountToCartItem)({
|
|
1187
1187
|
...args,
|
|
1188
1188
|
client: options?.client,
|
|
1189
|
-
signal:
|
|
1189
|
+
signal: ctx.mcpReq.signal,
|
|
1190
1190
|
throwOnError: false
|
|
1191
1191
|
})
|
|
1192
1192
|
);
|
|
@@ -1218,11 +1218,11 @@ const deleteCustomDiscountFromCartItemInput = z.object({
|
|
|
1218
1218
|
path: import_zod.zDeleteCustomDiscountFromCartItemPath.strict()
|
|
1219
1219
|
}).strict();
|
|
1220
1220
|
const deleteCustomDiscountFromCartItemTool = (options) => {
|
|
1221
|
-
const handler = (args,
|
|
1221
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1222
1222
|
(0, import_sdk.deleteCustomDiscountFromCartItem)({
|
|
1223
1223
|
...args,
|
|
1224
1224
|
client: options?.client,
|
|
1225
|
-
signal:
|
|
1225
|
+
signal: ctx.mcpReq.signal,
|
|
1226
1226
|
throwOnError: false
|
|
1227
1227
|
})
|
|
1228
1228
|
);
|
|
@@ -1258,11 +1258,11 @@ const updateCustomDiscountForCartItemInput = (0, import_mcp_support.withSharedSc
|
|
|
1258
1258
|
}).strict()
|
|
1259
1259
|
);
|
|
1260
1260
|
const updateCustomDiscountForCartItemTool = (options) => {
|
|
1261
|
-
const handler = (args,
|
|
1261
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1262
1262
|
(0, import_sdk.updateCustomDiscountForCartItem)({
|
|
1263
1263
|
...args,
|
|
1264
1264
|
client: options?.client,
|
|
1265
|
-
signal:
|
|
1265
|
+
signal: ctx.mcpReq.signal,
|
|
1266
1266
|
throwOnError: false
|
|
1267
1267
|
})
|
|
1268
1268
|
);
|
|
@@ -1294,11 +1294,11 @@ const getShippingGroupsInput = z.object({
|
|
|
1294
1294
|
path: import_zod.zGetShippingGroupsPath.strict()
|
|
1295
1295
|
}).strict();
|
|
1296
1296
|
const getShippingGroupsTool = (options) => {
|
|
1297
|
-
const handler = (args,
|
|
1297
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1298
1298
|
(0, import_sdk.getShippingGroups)({
|
|
1299
1299
|
...args,
|
|
1300
1300
|
client: options?.client,
|
|
1301
|
-
signal:
|
|
1301
|
+
signal: ctx.mcpReq.signal,
|
|
1302
1302
|
throwOnError: false
|
|
1303
1303
|
})
|
|
1304
1304
|
);
|
|
@@ -1334,11 +1334,11 @@ const createShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1334
1334
|
}).strict()
|
|
1335
1335
|
);
|
|
1336
1336
|
const createShippingGroupTool = (options) => {
|
|
1337
|
-
const handler = (args,
|
|
1337
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1338
1338
|
(0, import_sdk.createShippingGroup)({
|
|
1339
1339
|
...args,
|
|
1340
1340
|
client: options?.client,
|
|
1341
|
-
signal:
|
|
1341
|
+
signal: ctx.mcpReq.signal,
|
|
1342
1342
|
throwOnError: false
|
|
1343
1343
|
})
|
|
1344
1344
|
);
|
|
@@ -1370,11 +1370,11 @@ const deleteCartShippingGroupInput = z.object({
|
|
|
1370
1370
|
path: import_zod.zDeleteCartShippingGroupPath.strict()
|
|
1371
1371
|
}).strict();
|
|
1372
1372
|
const deleteCartShippingGroupTool = (options) => {
|
|
1373
|
-
const handler = (args,
|
|
1373
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1374
1374
|
(0, import_sdk.deleteCartShippingGroup)({
|
|
1375
1375
|
...args,
|
|
1376
1376
|
client: options?.client,
|
|
1377
|
-
signal:
|
|
1377
|
+
signal: ctx.mcpReq.signal,
|
|
1378
1378
|
throwOnError: false
|
|
1379
1379
|
})
|
|
1380
1380
|
);
|
|
@@ -1406,11 +1406,11 @@ const getShippingGroupByIdInput = z.object({
|
|
|
1406
1406
|
path: import_zod.zGetShippingGroupByIdPath.strict()
|
|
1407
1407
|
}).strict();
|
|
1408
1408
|
const getShippingGroupByIdTool = (options) => {
|
|
1409
|
-
const handler = (args,
|
|
1409
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1410
1410
|
(0, import_sdk.getShippingGroupById)({
|
|
1411
1411
|
...args,
|
|
1412
1412
|
client: options?.client,
|
|
1413
|
-
signal:
|
|
1413
|
+
signal: ctx.mcpReq.signal,
|
|
1414
1414
|
throwOnError: false
|
|
1415
1415
|
})
|
|
1416
1416
|
);
|
|
@@ -1446,11 +1446,11 @@ const updateShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1446
1446
|
}).strict()
|
|
1447
1447
|
);
|
|
1448
1448
|
const updateShippingGroupTool = (options) => {
|
|
1449
|
-
const handler = (args,
|
|
1449
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1450
1450
|
(0, import_sdk.updateShippingGroup)({
|
|
1451
1451
|
...args,
|
|
1452
1452
|
client: options?.client,
|
|
1453
|
-
signal:
|
|
1453
|
+
signal: ctx.mcpReq.signal,
|
|
1454
1454
|
throwOnError: false
|
|
1455
1455
|
})
|
|
1456
1456
|
);
|
|
@@ -1486,11 +1486,11 @@ const createCartPaymentIntentInput = (0, import_mcp_support.withSharedSchemaIds)
|
|
|
1486
1486
|
}).strict()
|
|
1487
1487
|
);
|
|
1488
1488
|
const createCartPaymentIntentTool = (options) => {
|
|
1489
|
-
const handler = (args,
|
|
1489
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1490
1490
|
(0, import_sdk.createCartPaymentIntent)({
|
|
1491
1491
|
...args,
|
|
1492
1492
|
client: options?.client,
|
|
1493
|
-
signal:
|
|
1493
|
+
signal: ctx.mcpReq.signal,
|
|
1494
1494
|
throwOnError: false
|
|
1495
1495
|
})
|
|
1496
1496
|
);
|
|
@@ -1526,11 +1526,11 @@ const updateCartPaymentIntentInput = (0, import_mcp_support.withSharedSchemaIds)
|
|
|
1526
1526
|
}).strict()
|
|
1527
1527
|
);
|
|
1528
1528
|
const updateCartPaymentIntentTool = (options) => {
|
|
1529
|
-
const handler = (args,
|
|
1529
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1530
1530
|
(0, import_sdk.updateCartPaymentIntent)({
|
|
1531
1531
|
...args,
|
|
1532
1532
|
client: options?.client,
|
|
1533
|
-
signal:
|
|
1533
|
+
signal: ctx.mcpReq.signal,
|
|
1534
1534
|
throwOnError: false
|
|
1535
1535
|
})
|
|
1536
1536
|
);
|
|
@@ -1567,11 +1567,11 @@ const checkoutApiInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1567
1567
|
}).strict()
|
|
1568
1568
|
);
|
|
1569
1569
|
const checkoutApiTool = (options) => {
|
|
1570
|
-
const handler = (args,
|
|
1570
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1571
1571
|
(0, import_sdk.checkoutApi)({
|
|
1572
1572
|
...args,
|
|
1573
1573
|
client: options?.client,
|
|
1574
|
-
signal:
|
|
1574
|
+
signal: ctx.mcpReq.signal,
|
|
1575
1575
|
throwOnError: false
|
|
1576
1576
|
})
|
|
1577
1577
|
);
|
|
@@ -1604,11 +1604,11 @@ const getCustomerOrdersInput = z.object({
|
|
|
1604
1604
|
headers: import_zod.zGetCustomerOrdersHeaders.strict().optional()
|
|
1605
1605
|
}).strict();
|
|
1606
1606
|
const getCustomerOrdersTool = (options) => {
|
|
1607
|
-
const handler = (args,
|
|
1607
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1608
1608
|
(0, import_sdk.getCustomerOrders)({
|
|
1609
1609
|
...args,
|
|
1610
1610
|
client: options?.client,
|
|
1611
|
-
signal:
|
|
1611
|
+
signal: ctx.mcpReq.signal,
|
|
1612
1612
|
throwOnError: false
|
|
1613
1613
|
})
|
|
1614
1614
|
);
|
|
@@ -1641,11 +1641,11 @@ const getAnOrderInput = z.object({
|
|
|
1641
1641
|
query: import_zod.zGetAnOrderQuery.strict().optional()
|
|
1642
1642
|
}).strict();
|
|
1643
1643
|
const getAnOrderTool = (options) => {
|
|
1644
|
-
const handler = (args,
|
|
1644
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1645
1645
|
(0, import_sdk.getAnOrder)({
|
|
1646
1646
|
...args,
|
|
1647
1647
|
client: options?.client,
|
|
1648
|
-
signal:
|
|
1648
|
+
signal: ctx.mcpReq.signal,
|
|
1649
1649
|
throwOnError: false
|
|
1650
1650
|
})
|
|
1651
1651
|
);
|
|
@@ -1681,11 +1681,11 @@ const updateAnOrderInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1681
1681
|
}).strict()
|
|
1682
1682
|
);
|
|
1683
1683
|
const updateAnOrderTool = (options) => {
|
|
1684
|
-
const handler = (args,
|
|
1684
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1685
1685
|
(0, import_sdk.updateAnOrder)({
|
|
1686
1686
|
...args,
|
|
1687
1687
|
client: options?.client,
|
|
1688
|
-
signal:
|
|
1688
|
+
signal: ctx.mcpReq.signal,
|
|
1689
1689
|
throwOnError: false
|
|
1690
1690
|
})
|
|
1691
1691
|
);
|
|
@@ -1718,11 +1718,11 @@ const getOrderItemsInput = z.object({
|
|
|
1718
1718
|
query: import_zod.zGetOrderItemsQuery.strict().optional()
|
|
1719
1719
|
}).strict();
|
|
1720
1720
|
const getOrderItemsTool = (options) => {
|
|
1721
|
-
const handler = (args,
|
|
1721
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1722
1722
|
(0, import_sdk.getOrderItems)({
|
|
1723
1723
|
...args,
|
|
1724
1724
|
client: options?.client,
|
|
1725
|
-
signal:
|
|
1725
|
+
signal: ctx.mcpReq.signal,
|
|
1726
1726
|
throwOnError: false
|
|
1727
1727
|
})
|
|
1728
1728
|
);
|
|
@@ -1757,11 +1757,11 @@ const anonymizeOrdersInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1757
1757
|
}).strict()
|
|
1758
1758
|
);
|
|
1759
1759
|
const anonymizeOrdersTool = (options) => {
|
|
1760
|
-
const handler = (args,
|
|
1760
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1761
1761
|
(0, import_sdk.anonymizeOrders)({
|
|
1762
1762
|
...args,
|
|
1763
1763
|
client: options?.client,
|
|
1764
|
-
signal:
|
|
1764
|
+
signal: ctx.mcpReq.signal,
|
|
1765
1765
|
throwOnError: false
|
|
1766
1766
|
})
|
|
1767
1767
|
);
|
|
@@ -1793,11 +1793,11 @@ const confirmOrderInput = z.object({
|
|
|
1793
1793
|
path: import_zod.zConfirmOrderPath.strict()
|
|
1794
1794
|
}).strict();
|
|
1795
1795
|
const confirmOrderTool = (options) => {
|
|
1796
|
-
const handler = (args,
|
|
1796
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1797
1797
|
(0, import_sdk.confirmOrder)({
|
|
1798
1798
|
...args,
|
|
1799
1799
|
client: options?.client,
|
|
1800
|
-
signal:
|
|
1800
|
+
signal: ctx.mcpReq.signal,
|
|
1801
1801
|
throwOnError: false
|
|
1802
1802
|
})
|
|
1803
1803
|
);
|
|
@@ -1833,11 +1833,11 @@ const paymentSetupInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1833
1833
|
}).strict()
|
|
1834
1834
|
);
|
|
1835
1835
|
const paymentSetupTool = (options) => {
|
|
1836
|
-
const handler = (args,
|
|
1836
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1837
1837
|
(0, import_sdk.paymentSetup)({
|
|
1838
1838
|
...args,
|
|
1839
1839
|
client: options?.client,
|
|
1840
|
-
signal:
|
|
1840
|
+
signal: ctx.mcpReq.signal,
|
|
1841
1841
|
throwOnError: false
|
|
1842
1842
|
})
|
|
1843
1843
|
);
|
|
@@ -1873,11 +1873,11 @@ const confirmPaymentInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1873
1873
|
}).strict()
|
|
1874
1874
|
);
|
|
1875
1875
|
const confirmPaymentTool = (options) => {
|
|
1876
|
-
const handler = (args,
|
|
1876
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1877
1877
|
(0, import_sdk.confirmPayment)({
|
|
1878
1878
|
...args,
|
|
1879
1879
|
client: options?.client,
|
|
1880
|
-
signal:
|
|
1880
|
+
signal: ctx.mcpReq.signal,
|
|
1881
1881
|
throwOnError: false
|
|
1882
1882
|
})
|
|
1883
1883
|
);
|
|
@@ -1913,11 +1913,11 @@ const captureATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1913
1913
|
}).strict()
|
|
1914
1914
|
);
|
|
1915
1915
|
const captureATransactionTool = (options) => {
|
|
1916
|
-
const handler = (args,
|
|
1916
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1917
1917
|
(0, import_sdk.captureATransaction)({
|
|
1918
1918
|
...args,
|
|
1919
1919
|
client: options?.client,
|
|
1920
|
-
signal:
|
|
1920
|
+
signal: ctx.mcpReq.signal,
|
|
1921
1921
|
throwOnError: false
|
|
1922
1922
|
})
|
|
1923
1923
|
);
|
|
@@ -1953,11 +1953,11 @@ const refundATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
1953
1953
|
}).strict()
|
|
1954
1954
|
);
|
|
1955
1955
|
const refundATransactionTool = (options) => {
|
|
1956
|
-
const handler = (args,
|
|
1956
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1957
1957
|
(0, import_sdk.refundATransaction)({
|
|
1958
1958
|
...args,
|
|
1959
1959
|
client: options?.client,
|
|
1960
|
-
signal:
|
|
1960
|
+
signal: ctx.mcpReq.signal,
|
|
1961
1961
|
throwOnError: false
|
|
1962
1962
|
})
|
|
1963
1963
|
);
|
|
@@ -1989,11 +1989,11 @@ const getOrderTransactionsInput = z.object({
|
|
|
1989
1989
|
path: import_zod.zGetOrderTransactionsPath.strict()
|
|
1990
1990
|
}).strict();
|
|
1991
1991
|
const getOrderTransactionsTool = (options) => {
|
|
1992
|
-
const handler = (args,
|
|
1992
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
1993
1993
|
(0, import_sdk.getOrderTransactions)({
|
|
1994
1994
|
...args,
|
|
1995
1995
|
client: options?.client,
|
|
1996
|
-
signal:
|
|
1996
|
+
signal: ctx.mcpReq.signal,
|
|
1997
1997
|
throwOnError: false
|
|
1998
1998
|
})
|
|
1999
1999
|
);
|
|
@@ -2025,11 +2025,11 @@ const getATransactionInput = z.object({
|
|
|
2025
2025
|
path: import_zod.zGetATransactionPath.strict()
|
|
2026
2026
|
}).strict();
|
|
2027
2027
|
const getATransactionTool = (options) => {
|
|
2028
|
-
const handler = (args,
|
|
2028
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2029
2029
|
(0, import_sdk.getATransaction)({
|
|
2030
2030
|
...args,
|
|
2031
2031
|
client: options?.client,
|
|
2032
|
-
signal:
|
|
2032
|
+
signal: ctx.mcpReq.signal,
|
|
2033
2033
|
throwOnError: false
|
|
2034
2034
|
})
|
|
2035
2035
|
);
|
|
@@ -2065,11 +2065,11 @@ const cancelATransactionInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
2065
2065
|
}).strict()
|
|
2066
2066
|
);
|
|
2067
2067
|
const cancelATransactionTool = (options) => {
|
|
2068
|
-
const handler = (args,
|
|
2068
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2069
2069
|
(0, import_sdk.cancelATransaction)({
|
|
2070
2070
|
...args,
|
|
2071
2071
|
client: options?.client,
|
|
2072
|
-
signal:
|
|
2072
|
+
signal: ctx.mcpReq.signal,
|
|
2073
2073
|
throwOnError: false
|
|
2074
2074
|
})
|
|
2075
2075
|
);
|
|
@@ -2101,11 +2101,11 @@ const getOrderShippingGroupsInput = z.object({
|
|
|
2101
2101
|
path: import_zod.zGetOrderShippingGroupsPath.strict()
|
|
2102
2102
|
}).strict();
|
|
2103
2103
|
const getOrderShippingGroupsTool = (options) => {
|
|
2104
|
-
const handler = (args,
|
|
2104
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2105
2105
|
(0, import_sdk.getOrderShippingGroups)({
|
|
2106
2106
|
...args,
|
|
2107
2107
|
client: options?.client,
|
|
2108
|
-
signal:
|
|
2108
|
+
signal: ctx.mcpReq.signal,
|
|
2109
2109
|
throwOnError: false
|
|
2110
2110
|
})
|
|
2111
2111
|
);
|
|
@@ -2141,11 +2141,11 @@ const createOrderShippingGroupInput = (0, import_mcp_support.withSharedSchemaIds
|
|
|
2141
2141
|
}).strict()
|
|
2142
2142
|
);
|
|
2143
2143
|
const createOrderShippingGroupTool = (options) => {
|
|
2144
|
-
const handler = (args,
|
|
2144
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2145
2145
|
(0, import_sdk.createOrderShippingGroup)({
|
|
2146
2146
|
...args,
|
|
2147
2147
|
client: options?.client,
|
|
2148
|
-
signal:
|
|
2148
|
+
signal: ctx.mcpReq.signal,
|
|
2149
2149
|
throwOnError: false
|
|
2150
2150
|
})
|
|
2151
2151
|
);
|
|
@@ -2178,11 +2178,11 @@ const getShippingGroupsByIdInput = z.object({
|
|
|
2178
2178
|
query: import_zod.zGetShippingGroupsByIdQuery.strict().optional()
|
|
2179
2179
|
}).strict();
|
|
2180
2180
|
const getShippingGroupsByIdTool = (options) => {
|
|
2181
|
-
const handler = (args,
|
|
2181
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2182
2182
|
(0, import_sdk.getShippingGroupsById)({
|
|
2183
2183
|
...args,
|
|
2184
2184
|
client: options?.client,
|
|
2185
|
-
signal:
|
|
2185
|
+
signal: ctx.mcpReq.signal,
|
|
2186
2186
|
throwOnError: false
|
|
2187
2187
|
})
|
|
2188
2188
|
);
|
|
@@ -2218,11 +2218,11 @@ const putShippingGroupByIdInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
2218
2218
|
}).strict()
|
|
2219
2219
|
);
|
|
2220
2220
|
const putShippingGroupByIdTool = (options) => {
|
|
2221
|
-
const handler = (args,
|
|
2221
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2222
2222
|
(0, import_sdk.putShippingGroupById)({
|
|
2223
2223
|
...args,
|
|
2224
2224
|
client: options?.client,
|
|
2225
|
-
signal:
|
|
2225
|
+
signal: ctx.mcpReq.signal,
|
|
2226
2226
|
throwOnError: false
|
|
2227
2227
|
})
|
|
2228
2228
|
);
|
|
@@ -2252,11 +2252,11 @@ const putShippingGroupByIdTool = (options) => {
|
|
|
2252
2252
|
};
|
|
2253
2253
|
const getV2SettingsCartInput = z.object({}).strict();
|
|
2254
2254
|
const getV2SettingsCartTool = (options) => {
|
|
2255
|
-
const handler = (args,
|
|
2255
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2256
2256
|
(0, import_sdk.getV2SettingsCart)({
|
|
2257
2257
|
...args,
|
|
2258
2258
|
client: options?.client,
|
|
2259
|
-
signal:
|
|
2259
|
+
signal: ctx.mcpReq.signal,
|
|
2260
2260
|
throwOnError: false
|
|
2261
2261
|
})
|
|
2262
2262
|
);
|
|
@@ -2291,11 +2291,11 @@ const putV2SettingsCartInput = (0, import_mcp_support.withSharedSchemaIds)(
|
|
|
2291
2291
|
}).strict()
|
|
2292
2292
|
);
|
|
2293
2293
|
const putV2SettingsCartTool = (options) => {
|
|
2294
|
-
const handler = (args,
|
|
2294
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2295
2295
|
(0, import_sdk.putV2SettingsCart)({
|
|
2296
2296
|
...args,
|
|
2297
2297
|
client: options?.client,
|
|
2298
|
-
signal:
|
|
2298
|
+
signal: ctx.mcpReq.signal,
|
|
2299
2299
|
throwOnError: false
|
|
2300
2300
|
})
|
|
2301
2301
|
);
|
|
@@ -2327,11 +2327,11 @@ const getV2SettingsCartStoreIdInput = z.object({
|
|
|
2327
2327
|
path: import_zod.zGetV2SettingsCartStoreIdPath.strict()
|
|
2328
2328
|
}).strict();
|
|
2329
2329
|
const getV2SettingsCartStoreIdTool = (options) => {
|
|
2330
|
-
const handler = (args,
|
|
2330
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2331
2331
|
(0, import_sdk.getV2SettingsCartStoreId)({
|
|
2332
2332
|
...args,
|
|
2333
2333
|
client: options?.client,
|
|
2334
|
-
signal:
|
|
2334
|
+
signal: ctx.mcpReq.signal,
|
|
2335
2335
|
throwOnError: false
|
|
2336
2336
|
})
|
|
2337
2337
|
);
|
|
@@ -2367,11 +2367,11 @@ const putV2SettingsCartStoreIdInput = (0, import_mcp_support.withSharedSchemaIds
|
|
|
2367
2367
|
}).strict()
|
|
2368
2368
|
);
|
|
2369
2369
|
const putV2SettingsCartStoreIdTool = (options) => {
|
|
2370
|
-
const handler = (args,
|
|
2370
|
+
const handler = (args, ctx) => (0, import_mcp_support.toToolResult)(
|
|
2371
2371
|
(0, import_sdk.putV2SettingsCartStoreId)({
|
|
2372
2372
|
...args,
|
|
2373
2373
|
client: options?.client,
|
|
2374
|
-
signal:
|
|
2374
|
+
signal: ctx.mcpReq.signal,
|
|
2375
2375
|
throwOnError: false
|
|
2376
2376
|
})
|
|
2377
2377
|
);
|