@5ss/ai-tools 3.4.0 → 3.5.1
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to `@5ss/ai-tools` are documented here.
|
|
|
4
4
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Releases are cut by [semantic-release](https://semantic-release.gitbook.io/) from [conventional commits](https://www.conventionalcommits.org/).
|
|
6
6
|
|
|
7
|
+
## [3.5.1](https://github.com/five-star-solutions-co/ai-tools/compare/v3.5.0...v3.5.1) (2026-08-27)
|
|
8
|
+
|
|
9
|
+
## [3.5.0](https://github.com/five-star-solutions-co/ai-tools/compare/v3.4.0...v3.5.0) (2026-08-27)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **core:** clarify domain logic ([8caced9](https://github.com/five-star-solutions-co/ai-tools/commit/8caced9b1b4b5ca64383ca63200070e2963f33af))
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **core:** fix bun.lock file ([9bdbe59](https://github.com/five-star-solutions-co/ai-tools/commit/9bdbe59d61781a5c563bbd738f6c759bbf427010))
|
|
18
|
+
* **core:** simplify package dependencies ([43ad3b8](https://github.com/five-star-solutions-co/ai-tools/commit/43ad3b89c01cfeb2f1792da598c3263853a4aa6b))
|
|
19
|
+
|
|
7
20
|
## [3.4.0](https://github.com/five-star-solutions-co/ai-tools/compare/v3.3.1...v3.4.0) (2026-08-26)
|
|
8
21
|
|
|
9
22
|
### Features
|
|
@@ -862,6 +862,143 @@ declare const woocommerceGetProductCategoryOutputSchema: z.ZodObject<{
|
|
|
862
862
|
count: z.ZodOptional<z.ZodNumber>;
|
|
863
863
|
}, z.core.$strip>;
|
|
864
864
|
}, z.core.$strip>;
|
|
865
|
+
declare const woocommerceRawRecordSchema: z.ZodObject<{
|
|
866
|
+
id: z.ZodNumber;
|
|
867
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
868
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
869
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
871
|
+
}, z.core.$loose>;
|
|
872
|
+
declare const woocommerceOrderRawSchema: z.ZodObject<{
|
|
873
|
+
id: z.ZodNumber;
|
|
874
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
875
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
877
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
878
|
+
}, z.core.$loose>;
|
|
879
|
+
declare const woocommerceProductRawSchema: z.ZodObject<{
|
|
880
|
+
id: z.ZodNumber;
|
|
881
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
882
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
883
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
884
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
885
|
+
}, z.core.$loose>;
|
|
886
|
+
declare const woocommerceCustomerRawSchema: z.ZodObject<{
|
|
887
|
+
id: z.ZodNumber;
|
|
888
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
891
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
892
|
+
}, z.core.$loose>;
|
|
893
|
+
declare const woocommercePaginationSchema: z.ZodObject<{
|
|
894
|
+
page: z.ZodInt;
|
|
895
|
+
page_size: z.ZodInt;
|
|
896
|
+
total_items: z.ZodInt;
|
|
897
|
+
total_pages: z.ZodInt;
|
|
898
|
+
has_more: z.ZodBoolean;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
declare const woocommerceListOrdersPageInputSchema: z.ZodObject<{
|
|
901
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
902
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
903
|
+
after: z.ZodOptional<z.ZodString>;
|
|
904
|
+
before: z.ZodOptional<z.ZodString>;
|
|
905
|
+
modified_after: z.ZodOptional<z.ZodString>;
|
|
906
|
+
modified_before: z.ZodOptional<z.ZodString>;
|
|
907
|
+
dates_are_gmt: z.ZodOptional<z.ZodBoolean>;
|
|
908
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
909
|
+
asc: "asc";
|
|
910
|
+
desc: "desc";
|
|
911
|
+
}>>;
|
|
912
|
+
orderby: z.ZodOptional<z.ZodString>;
|
|
913
|
+
status: z.ZodOptional<z.ZodString>;
|
|
914
|
+
search: z.ZodOptional<z.ZodString>;
|
|
915
|
+
customer_id: z.ZodOptional<z.ZodInt>;
|
|
916
|
+
}, z.core.$strict>;
|
|
917
|
+
declare const woocommerceListOrdersPageOutputSchema: z.ZodObject<{
|
|
918
|
+
pagination: z.ZodObject<{
|
|
919
|
+
page: z.ZodInt;
|
|
920
|
+
page_size: z.ZodInt;
|
|
921
|
+
total_items: z.ZodInt;
|
|
922
|
+
total_pages: z.ZodInt;
|
|
923
|
+
has_more: z.ZodBoolean;
|
|
924
|
+
}, z.core.$strip>;
|
|
925
|
+
items: z.ZodArray<z.ZodObject<{
|
|
926
|
+
id: z.ZodNumber;
|
|
927
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
928
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
929
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
930
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
|
+
}, z.core.$loose>>;
|
|
932
|
+
}, z.core.$strip>;
|
|
933
|
+
declare const woocommerceListProductsPageInputSchema: z.ZodObject<{
|
|
934
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
935
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
936
|
+
after: z.ZodOptional<z.ZodString>;
|
|
937
|
+
before: z.ZodOptional<z.ZodString>;
|
|
938
|
+
modified_after: z.ZodOptional<z.ZodString>;
|
|
939
|
+
modified_before: z.ZodOptional<z.ZodString>;
|
|
940
|
+
dates_are_gmt: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
942
|
+
asc: "asc";
|
|
943
|
+
desc: "desc";
|
|
944
|
+
}>>;
|
|
945
|
+
orderby: z.ZodOptional<z.ZodString>;
|
|
946
|
+
status: z.ZodOptional<z.ZodString>;
|
|
947
|
+
search: z.ZodOptional<z.ZodString>;
|
|
948
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
949
|
+
category: z.ZodOptional<z.ZodInt>;
|
|
950
|
+
type: z.ZodOptional<z.ZodString>;
|
|
951
|
+
include: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
952
|
+
}, z.core.$strict>;
|
|
953
|
+
declare const woocommerceListProductsPageOutputSchema: z.ZodObject<{
|
|
954
|
+
pagination: z.ZodObject<{
|
|
955
|
+
page: z.ZodInt;
|
|
956
|
+
page_size: z.ZodInt;
|
|
957
|
+
total_items: z.ZodInt;
|
|
958
|
+
total_pages: z.ZodInt;
|
|
959
|
+
has_more: z.ZodBoolean;
|
|
960
|
+
}, z.core.$strip>;
|
|
961
|
+
items: z.ZodArray<z.ZodObject<{
|
|
962
|
+
id: z.ZodNumber;
|
|
963
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
964
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
965
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
967
|
+
}, z.core.$loose>>;
|
|
968
|
+
}, z.core.$strip>;
|
|
969
|
+
declare const woocommerceListCustomersPageInputSchema: z.ZodObject<{
|
|
970
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
971
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
972
|
+
after: z.ZodOptional<z.ZodString>;
|
|
973
|
+
before: z.ZodOptional<z.ZodString>;
|
|
974
|
+
modified_after: z.ZodOptional<z.ZodString>;
|
|
975
|
+
modified_before: z.ZodOptional<z.ZodString>;
|
|
976
|
+
dates_are_gmt: z.ZodOptional<z.ZodBoolean>;
|
|
977
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
978
|
+
asc: "asc";
|
|
979
|
+
desc: "desc";
|
|
980
|
+
}>>;
|
|
981
|
+
orderby: z.ZodOptional<z.ZodString>;
|
|
982
|
+
search: z.ZodOptional<z.ZodString>;
|
|
983
|
+
email: z.ZodOptional<z.ZodString>;
|
|
984
|
+
role: z.ZodOptional<z.ZodString>;
|
|
985
|
+
}, z.core.$strict>;
|
|
986
|
+
declare const woocommerceListCustomersPageOutputSchema: z.ZodObject<{
|
|
987
|
+
pagination: z.ZodObject<{
|
|
988
|
+
page: z.ZodInt;
|
|
989
|
+
page_size: z.ZodInt;
|
|
990
|
+
total_items: z.ZodInt;
|
|
991
|
+
total_pages: z.ZodInt;
|
|
992
|
+
has_more: z.ZodBoolean;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
items: z.ZodArray<z.ZodObject<{
|
|
995
|
+
id: z.ZodNumber;
|
|
996
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
997
|
+
date_created_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
998
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
999
|
+
date_modified_gmt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1000
|
+
}, z.core.$loose>>;
|
|
1001
|
+
}, z.core.$strip>;
|
|
865
1002
|
type WoocommerceAddress = z.infer<typeof woocommerceAddressSchema>;
|
|
866
1003
|
type WoocommerceMetaData = z.infer<typeof woocommerceMetaDataSchema>;
|
|
867
1004
|
type WoocommerceLineItemInput = z.infer<typeof woocommerceLineItemInputSchema>;
|
|
@@ -925,6 +1062,17 @@ type WoocommerceListProductCategoriesInput = z.infer<typeof woocommerceListProdu
|
|
|
925
1062
|
type WoocommerceListProductCategoriesOutput = z.infer<typeof woocommerceListProductCategoriesOutputSchema>;
|
|
926
1063
|
type WoocommerceGetProductCategoryInput = z.infer<typeof woocommerceGetProductCategoryInputSchema>;
|
|
927
1064
|
type WoocommerceGetProductCategoryOutput = z.infer<typeof woocommerceGetProductCategoryOutputSchema>;
|
|
1065
|
+
type WoocommerceRawRecord = z.infer<typeof woocommerceRawRecordSchema>;
|
|
1066
|
+
type WoocommerceOrderRaw = z.infer<typeof woocommerceOrderRawSchema>;
|
|
1067
|
+
type WoocommerceProductRaw = z.infer<typeof woocommerceProductRawSchema>;
|
|
1068
|
+
type WoocommerceCustomerRaw = z.infer<typeof woocommerceCustomerRawSchema>;
|
|
1069
|
+
type WoocommercePagination = z.infer<typeof woocommercePaginationSchema>;
|
|
1070
|
+
type WoocommerceListOrdersPageInput = z.infer<typeof woocommerceListOrdersPageInputSchema>;
|
|
1071
|
+
type WoocommerceListOrdersPageOutput = z.infer<typeof woocommerceListOrdersPageOutputSchema>;
|
|
1072
|
+
type WoocommerceListProductsPageInput = z.infer<typeof woocommerceListProductsPageInputSchema>;
|
|
1073
|
+
type WoocommerceListProductsPageOutput = z.infer<typeof woocommerceListProductsPageOutputSchema>;
|
|
1074
|
+
type WoocommerceListCustomersPageInput = z.infer<typeof woocommerceListCustomersPageInputSchema>;
|
|
1075
|
+
type WoocommerceListCustomersPageOutput = z.infer<typeof woocommerceListCustomersPageOutputSchema>;
|
|
928
1076
|
//#endregion
|
|
929
1077
|
//#region src/vendors/woocommerce/client.d.ts
|
|
930
1078
|
type WoocommerceClientOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>;
|
|
@@ -934,6 +1082,8 @@ declare class WoocommerceClient {
|
|
|
934
1082
|
static fromContext(ctx: ToolContext): WoocommerceClient;
|
|
935
1083
|
/** GET /orders */
|
|
936
1084
|
listOrders(input?: WoocommerceListOrdersInput): Promise<WoocommerceListOrdersOutput>;
|
|
1085
|
+
/** One GET /orders request with raw records and X-WP-Total pagination. */
|
|
1086
|
+
listOrdersPage(input?: WoocommerceListOrdersPageInput): Promise<WoocommerceListOrdersPageOutput>;
|
|
937
1087
|
/** GET /orders/{id} */
|
|
938
1088
|
getOrder(input: WoocommerceGetOrderInput): Promise<WoocommerceGetOrderOutput>;
|
|
939
1089
|
/** POST /orders */
|
|
@@ -952,6 +1102,8 @@ declare class WoocommerceClient {
|
|
|
952
1102
|
createOrderRefund(input: WoocommerceCreateOrderRefundInput): Promise<WoocommerceCreateOrderRefundOutput>;
|
|
953
1103
|
/** GET /products */
|
|
954
1104
|
listProducts(input?: WoocommerceListProductsInput): Promise<WoocommerceListProductsOutput>;
|
|
1105
|
+
/** One GET /products request with raw records and X-WP-Total pagination. */
|
|
1106
|
+
listProductsPage(input?: WoocommerceListProductsPageInput): Promise<WoocommerceListProductsPageOutput>;
|
|
955
1107
|
/** GET /products/{id} */
|
|
956
1108
|
getProduct(input: WoocommerceGetProductInput): Promise<WoocommerceGetProductOutput>;
|
|
957
1109
|
/** POST /products */
|
|
@@ -966,6 +1118,8 @@ declare class WoocommerceClient {
|
|
|
966
1118
|
getProductVariation(input: WoocommerceGetProductVariationInput): Promise<WoocommerceGetProductVariationOutput>;
|
|
967
1119
|
/** GET /customers */
|
|
968
1120
|
listCustomers(input?: WoocommerceListCustomersInput): Promise<WoocommerceListCustomersOutput>;
|
|
1121
|
+
/** One GET /customers request with raw records and X-WP-Total pagination. */
|
|
1122
|
+
listCustomersPage(input?: WoocommerceListCustomersPageInput): Promise<WoocommerceListCustomersPageOutput>;
|
|
969
1123
|
/** GET /customers/{id} */
|
|
970
1124
|
getCustomer(input: WoocommerceGetCustomerInput): Promise<WoocommerceGetCustomerOutput>;
|
|
971
1125
|
/** POST /customers */
|
|
@@ -1696,5 +1850,5 @@ declare const woocommerceModule: ModuleDefinition<{
|
|
|
1696
1850
|
consumer_secret: string;
|
|
1697
1851
|
}>;
|
|
1698
1852
|
//#endregion
|
|
1699
|
-
export { type WoocommerceAddress, type WoocommerceAuth, WoocommerceClient, type WoocommerceClientOptions, type WoocommerceCoupon, type WoocommerceCreateCouponInput, type WoocommerceCreateCouponOutput, type WoocommerceCreateCustomerInput, type WoocommerceCreateCustomerOutput, type WoocommerceCreateOrderInput, type WoocommerceCreateOrderNoteInput, type WoocommerceCreateOrderNoteOutput, type WoocommerceCreateOrderOutput, type WoocommerceCreateOrderRefundInput, type WoocommerceCreateOrderRefundOutput, type WoocommerceCreateProductInput, type WoocommerceCreateProductOutput, type WoocommerceCustomer, type WoocommerceDeleteOrderInput, type WoocommerceDeleteOrderOutput, type WoocommerceDeleteProductInput, type WoocommerceDeleteProductOutput, type WoocommerceGetCouponInput, type WoocommerceGetCouponOutput, type WoocommerceGetCustomerInput, type WoocommerceGetCustomerOutput, type WoocommerceGetOrderInput, type WoocommerceGetOrderOutput, type WoocommerceGetProductCategoryInput, type WoocommerceGetProductCategoryOutput, type WoocommerceGetProductInput, type WoocommerceGetProductOutput, type WoocommerceGetProductVariationInput, type WoocommerceGetProductVariationOutput, type WoocommerceLineItemInput, type WoocommerceListCouponsInput, type WoocommerceListCouponsOutput, type WoocommerceListCustomersInput, type WoocommerceListCustomersOutput, type WoocommerceListOrderNotesInput, type WoocommerceListOrderNotesOutput, type WoocommerceListOrderRefundsInput, type WoocommerceListOrderRefundsOutput, type WoocommerceListOrdersInput, type WoocommerceListOrdersOutput, type WoocommerceListProductCategoriesInput, type WoocommerceListProductCategoriesOutput, type WoocommerceListProductVariationsInput, type WoocommerceListProductVariationsOutput, type WoocommerceListProductsInput, type WoocommerceListProductsOutput, type WoocommerceMetaData, type WoocommerceOrder, type WoocommerceOrderNote, type WoocommerceOrderRefund, type WoocommerceProduct, type WoocommerceProductCategory, type WoocommerceProductVariation, type WoocommerceUpdateCouponInput, type WoocommerceUpdateCouponOutput, type WoocommerceUpdateCustomerInput, type WoocommerceUpdateCustomerOutput, type WoocommerceUpdateOrderInput, type WoocommerceUpdateOrderOutput, type WoocommerceUpdateProductInput, type WoocommerceUpdateProductOutput, woocommerceAddressSchema, woocommerceAuthSchema, woocommerceCouponSchema, woocommerceCreateCouponInputSchema, woocommerceCreateCouponOutputSchema, woocommerceCreateCouponTool, woocommerceCreateCustomerInputSchema, woocommerceCreateCustomerOutputSchema, woocommerceCreateCustomerTool, woocommerceCreateOrderInputSchema, woocommerceCreateOrderNoteInputSchema, woocommerceCreateOrderNoteOutputSchema, woocommerceCreateOrderNoteTool, woocommerceCreateOrderOutputSchema, woocommerceCreateOrderRefundInputSchema, woocommerceCreateOrderRefundOutputSchema, woocommerceCreateOrderRefundTool, woocommerceCreateOrderTool, woocommerceCreateProductInputSchema, woocommerceCreateProductOutputSchema, woocommerceCreateProductTool, woocommerceCustomerSchema, woocommerceDeleteOrderInputSchema, woocommerceDeleteOrderOutputSchema, woocommerceDeleteOrderTool, woocommerceDeleteProductInputSchema, woocommerceDeleteProductOutputSchema, woocommerceDeleteProductTool, woocommerceGetCouponInputSchema, woocommerceGetCouponOutputSchema, woocommerceGetCouponTool, woocommerceGetCustomerInputSchema, woocommerceGetCustomerOutputSchema, woocommerceGetCustomerTool, woocommerceGetOrderInputSchema, woocommerceGetOrderOutputSchema, woocommerceGetOrderTool, woocommerceGetProductCategoryInputSchema, woocommerceGetProductCategoryOutputSchema, woocommerceGetProductCategoryTool, woocommerceGetProductInputSchema, woocommerceGetProductOutputSchema, woocommerceGetProductTool, woocommerceGetProductVariationInputSchema, woocommerceGetProductVariationOutputSchema, woocommerceGetProductVariationTool, woocommerceLineItemInputSchema, woocommerceListCouponsInputSchema, woocommerceListCouponsOutputSchema, woocommerceListCouponsTool, woocommerceListCustomersInputSchema, woocommerceListCustomersOutputSchema, woocommerceListCustomersTool, woocommerceListOrderNotesInputSchema, woocommerceListOrderNotesOutputSchema, woocommerceListOrderNotesTool, woocommerceListOrderRefundsInputSchema, woocommerceListOrderRefundsOutputSchema, woocommerceListOrderRefundsTool, woocommerceListOrdersInputSchema, woocommerceListOrdersOutputSchema, woocommerceListOrdersTool, woocommerceListProductCategoriesInputSchema, woocommerceListProductCategoriesOutputSchema, woocommerceListProductCategoriesTool, woocommerceListProductVariationsInputSchema, woocommerceListProductVariationsOutputSchema, woocommerceListProductVariationsTool, woocommerceListProductsInputSchema, woocommerceListProductsOutputSchema, woocommerceListProductsTool, woocommerceMetaDataSchema, woocommerceModule, woocommerceOrderNoteSchema, woocommerceOrderRefundSchema, woocommerceOrderSchema, woocommerceProductCategorySchema, woocommerceProductSchema, woocommerceProductVariationSchema, woocommerceUpdateCouponInputSchema, woocommerceUpdateCouponOutputSchema, woocommerceUpdateCouponTool, woocommerceUpdateCustomerInputSchema, woocommerceUpdateCustomerOutputSchema, woocommerceUpdateCustomerTool, woocommerceUpdateOrderInputSchema, woocommerceUpdateOrderOutputSchema, woocommerceUpdateOrderTool, woocommerceUpdateProductInputSchema, woocommerceUpdateProductOutputSchema, woocommerceUpdateProductTool };
|
|
1853
|
+
export { type WoocommerceAddress, type WoocommerceAuth, WoocommerceClient, type WoocommerceClientOptions, type WoocommerceCoupon, type WoocommerceCreateCouponInput, type WoocommerceCreateCouponOutput, type WoocommerceCreateCustomerInput, type WoocommerceCreateCustomerOutput, type WoocommerceCreateOrderInput, type WoocommerceCreateOrderNoteInput, type WoocommerceCreateOrderNoteOutput, type WoocommerceCreateOrderOutput, type WoocommerceCreateOrderRefundInput, type WoocommerceCreateOrderRefundOutput, type WoocommerceCreateProductInput, type WoocommerceCreateProductOutput, type WoocommerceCustomer, type WoocommerceCustomerRaw, type WoocommerceDeleteOrderInput, type WoocommerceDeleteOrderOutput, type WoocommerceDeleteProductInput, type WoocommerceDeleteProductOutput, type WoocommerceGetCouponInput, type WoocommerceGetCouponOutput, type WoocommerceGetCustomerInput, type WoocommerceGetCustomerOutput, type WoocommerceGetOrderInput, type WoocommerceGetOrderOutput, type WoocommerceGetProductCategoryInput, type WoocommerceGetProductCategoryOutput, type WoocommerceGetProductInput, type WoocommerceGetProductOutput, type WoocommerceGetProductVariationInput, type WoocommerceGetProductVariationOutput, type WoocommerceLineItemInput, type WoocommerceListCouponsInput, type WoocommerceListCouponsOutput, type WoocommerceListCustomersInput, type WoocommerceListCustomersOutput, type WoocommerceListCustomersPageInput, type WoocommerceListCustomersPageOutput, type WoocommerceListOrderNotesInput, type WoocommerceListOrderNotesOutput, type WoocommerceListOrderRefundsInput, type WoocommerceListOrderRefundsOutput, type WoocommerceListOrdersInput, type WoocommerceListOrdersOutput, type WoocommerceListOrdersPageInput, type WoocommerceListOrdersPageOutput, type WoocommerceListProductCategoriesInput, type WoocommerceListProductCategoriesOutput, type WoocommerceListProductVariationsInput, type WoocommerceListProductVariationsOutput, type WoocommerceListProductsInput, type WoocommerceListProductsOutput, type WoocommerceListProductsPageInput, type WoocommerceListProductsPageOutput, type WoocommerceMetaData, type WoocommerceOrder, type WoocommerceOrderNote, type WoocommerceOrderRaw, type WoocommerceOrderRefund, type WoocommercePagination, type WoocommerceProduct, type WoocommerceProductCategory, type WoocommerceProductRaw, type WoocommerceProductVariation, type WoocommerceRawRecord, type WoocommerceUpdateCouponInput, type WoocommerceUpdateCouponOutput, type WoocommerceUpdateCustomerInput, type WoocommerceUpdateCustomerOutput, type WoocommerceUpdateOrderInput, type WoocommerceUpdateOrderOutput, type WoocommerceUpdateProductInput, type WoocommerceUpdateProductOutput, woocommerceAddressSchema, woocommerceAuthSchema, woocommerceCouponSchema, woocommerceCreateCouponInputSchema, woocommerceCreateCouponOutputSchema, woocommerceCreateCouponTool, woocommerceCreateCustomerInputSchema, woocommerceCreateCustomerOutputSchema, woocommerceCreateCustomerTool, woocommerceCreateOrderInputSchema, woocommerceCreateOrderNoteInputSchema, woocommerceCreateOrderNoteOutputSchema, woocommerceCreateOrderNoteTool, woocommerceCreateOrderOutputSchema, woocommerceCreateOrderRefundInputSchema, woocommerceCreateOrderRefundOutputSchema, woocommerceCreateOrderRefundTool, woocommerceCreateOrderTool, woocommerceCreateProductInputSchema, woocommerceCreateProductOutputSchema, woocommerceCreateProductTool, woocommerceCustomerRawSchema, woocommerceCustomerSchema, woocommerceDeleteOrderInputSchema, woocommerceDeleteOrderOutputSchema, woocommerceDeleteOrderTool, woocommerceDeleteProductInputSchema, woocommerceDeleteProductOutputSchema, woocommerceDeleteProductTool, woocommerceGetCouponInputSchema, woocommerceGetCouponOutputSchema, woocommerceGetCouponTool, woocommerceGetCustomerInputSchema, woocommerceGetCustomerOutputSchema, woocommerceGetCustomerTool, woocommerceGetOrderInputSchema, woocommerceGetOrderOutputSchema, woocommerceGetOrderTool, woocommerceGetProductCategoryInputSchema, woocommerceGetProductCategoryOutputSchema, woocommerceGetProductCategoryTool, woocommerceGetProductInputSchema, woocommerceGetProductOutputSchema, woocommerceGetProductTool, woocommerceGetProductVariationInputSchema, woocommerceGetProductVariationOutputSchema, woocommerceGetProductVariationTool, woocommerceLineItemInputSchema, woocommerceListCouponsInputSchema, woocommerceListCouponsOutputSchema, woocommerceListCouponsTool, woocommerceListCustomersInputSchema, woocommerceListCustomersOutputSchema, woocommerceListCustomersPageInputSchema, woocommerceListCustomersPageOutputSchema, woocommerceListCustomersTool, woocommerceListOrderNotesInputSchema, woocommerceListOrderNotesOutputSchema, woocommerceListOrderNotesTool, woocommerceListOrderRefundsInputSchema, woocommerceListOrderRefundsOutputSchema, woocommerceListOrderRefundsTool, woocommerceListOrdersInputSchema, woocommerceListOrdersOutputSchema, woocommerceListOrdersPageInputSchema, woocommerceListOrdersPageOutputSchema, woocommerceListOrdersTool, woocommerceListProductCategoriesInputSchema, woocommerceListProductCategoriesOutputSchema, woocommerceListProductCategoriesTool, woocommerceListProductVariationsInputSchema, woocommerceListProductVariationsOutputSchema, woocommerceListProductVariationsTool, woocommerceListProductsInputSchema, woocommerceListProductsOutputSchema, woocommerceListProductsPageInputSchema, woocommerceListProductsPageOutputSchema, woocommerceListProductsTool, woocommerceMetaDataSchema, woocommerceModule, woocommerceOrderNoteSchema, woocommerceOrderRawSchema, woocommerceOrderRefundSchema, woocommerceOrderSchema, woocommercePaginationSchema, woocommerceProductCategorySchema, woocommerceProductRawSchema, woocommerceProductSchema, woocommerceProductVariationSchema, woocommerceRawRecordSchema, woocommerceUpdateCouponInputSchema, woocommerceUpdateCouponOutputSchema, woocommerceUpdateCouponTool, woocommerceUpdateCustomerInputSchema, woocommerceUpdateCustomerOutputSchema, woocommerceUpdateCustomerTool, woocommerceUpdateOrderInputSchema, woocommerceUpdateOrderOutputSchema, woocommerceUpdateOrderTool, woocommerceUpdateProductInputSchema, woocommerceUpdateProductOutputSchema, woocommerceUpdateProductTool };
|
|
1700
1854
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/vendors/woocommerce/contracts.ts","../../../src/vendors/woocommerce/client.ts","../../../src/vendors/woocommerce/module.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/vendors/woocommerce/contracts.ts","../../../src/vendors/woocommerce/client.ts","../../../src/vendors/woocommerce/module.ts"],"mappings":";;;;;cAiBa,uBAAqB,EAAA;;;;GAOhC,EAAA,KAAA;KAEU,kBAAkB,EAAE,aAAa;cAShC,0BAAwB,EAAA;;;;;;;;;;;;GAYnC,EAAA,KAAA;cAEW,2BAAyB,EAAA;;;GAGpC,EAAA,KAAA;cAEW,gCAA8B,EAAA;;;;;;;;;GASzC,EAAA,KAAA;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;;cAWA,kCAAA;;;;;;;;;;;;;;;;;;;cAcA,6BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYA,2BAAA;;;;;;;;;;;;;;;;;;;;;;cAWA,8BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYA,8BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWA,8BAAA;;;;;;;cAWA,sCAAA;;;;;;;;;;;;;;;;;;;;;cAWA,oCAAA;;;;;;;;;;;;;;;;cAaA,8BAAA;;;;;;;;;;;;;;;;;;;cAWA,4BAAA;;;;;;;;;;;;;cAWA,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWA,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaA,4BAAA;;;;;;;;;;;;;;;;;;;;cAWA,0BAAA;;;;;;;;;;;;;;;cAWA,6BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYA,6BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaA,sCAAA;;;;;;;;;;;;;;;;;;cAWA,mCAAA;;;;;;;;;;;;cAWA,mBAAA"}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { t as ToolError } from "../../errors-DoSpNHvs.js";
|
|
2
2
|
import { n as defineModule, r as defineTool } from "../../define-ieoksEQ0.js";
|
|
3
3
|
import { n as requireAuth } from "../../provider-CgDAlg6K.js";
|
|
4
|
-
import { t as HttpService } from "../../http-service-BMBIryAL.js";
|
|
4
|
+
import { a as retryAfterMsFromHeader, r as httpErrorCode, t as HttpService } from "../../http-service-BMBIryAL.js";
|
|
5
5
|
import { n as bytesToBase64, o as utf8ToBytes } from "../../bytes-BxpimpQx.js";
|
|
6
6
|
import { isPlainObject, isString } from "es-toolkit";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/vendors/woocommerce/contracts.ts
|
|
9
|
+
function isStoreOrigin(value) {
|
|
10
|
+
try {
|
|
11
|
+
const url = new URL(value);
|
|
12
|
+
return url.username === "" && url.password === "" && (url.pathname === "/" || url.pathname === "") && url.search === "" && url.hash === "";
|
|
13
|
+
} catch {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
9
17
|
const woocommerceAuthSchema = z.object({
|
|
10
|
-
store_url: z.url().describe("WooCommerce store origin, for example https://shop.example.com (no trailing path)"),
|
|
18
|
+
store_url: z.url().refine(isStoreOrigin, { message: "store_url must be an origin (no path, query, or fragment)" }).describe("WooCommerce store origin, for example https://shop.example.com (no trailing path)"),
|
|
11
19
|
consumer_key: z.string().min(1).describe("WooCommerce REST API consumer key"),
|
|
12
20
|
consumer_secret: z.string().min(1).describe("WooCommerce REST API consumer secret")
|
|
13
21
|
});
|
|
@@ -398,13 +406,87 @@ const woocommerceListProductCategoriesOutputSchema = z.object({
|
|
|
398
406
|
});
|
|
399
407
|
const woocommerceGetProductCategoryInputSchema = z.object({ category_id: z.int().positive().describe("Product category id") });
|
|
400
408
|
const woocommerceGetProductCategoryOutputSchema = z.object({ category: woocommerceProductCategorySchema });
|
|
409
|
+
const woocommercePageFields = {
|
|
410
|
+
page: z.int().min(1).optional(),
|
|
411
|
+
limit: z.int().min(1).max(100).optional()
|
|
412
|
+
};
|
|
413
|
+
const woocommerceCollectionTimeFields = {
|
|
414
|
+
after: z.string().min(1).optional(),
|
|
415
|
+
before: z.string().min(1).optional(),
|
|
416
|
+
modified_after: z.string().min(1).optional(),
|
|
417
|
+
modified_before: z.string().min(1).optional(),
|
|
418
|
+
dates_are_gmt: z.boolean().optional(),
|
|
419
|
+
order: z.enum(["asc", "desc"]).optional(),
|
|
420
|
+
orderby: z.string().min(1).optional()
|
|
421
|
+
};
|
|
422
|
+
const woocommerceRawRecordSchema = z.looseObject({
|
|
423
|
+
id: z.number().int(),
|
|
424
|
+
date_created: z.string().nullable().optional(),
|
|
425
|
+
date_created_gmt: z.string().nullable().optional(),
|
|
426
|
+
date_modified: z.string().nullable().optional(),
|
|
427
|
+
date_modified_gmt: z.string().nullable().optional()
|
|
428
|
+
});
|
|
429
|
+
const woocommerceOrderRawSchema = woocommerceRawRecordSchema;
|
|
430
|
+
const woocommerceProductRawSchema = woocommerceRawRecordSchema;
|
|
431
|
+
const woocommerceCustomerRawSchema = woocommerceRawRecordSchema;
|
|
432
|
+
const woocommercePaginationSchema = z.object({
|
|
433
|
+
page: z.int().min(1),
|
|
434
|
+
page_size: z.int().min(1),
|
|
435
|
+
total_items: z.int().nonnegative(),
|
|
436
|
+
total_pages: z.int().nonnegative(),
|
|
437
|
+
has_more: z.boolean()
|
|
438
|
+
});
|
|
439
|
+
const woocommercePageOutputMeta = { pagination: woocommercePaginationSchema };
|
|
440
|
+
const woocommerceListOrdersPageInputSchema = z.strictObject({
|
|
441
|
+
...woocommercePageFields,
|
|
442
|
+
status: z.string().min(1).optional(),
|
|
443
|
+
search: z.string().min(1).optional(),
|
|
444
|
+
customer_id: z.int().positive().optional(),
|
|
445
|
+
...woocommerceCollectionTimeFields
|
|
446
|
+
});
|
|
447
|
+
const woocommerceListOrdersPageOutputSchema = z.object({
|
|
448
|
+
items: z.array(woocommerceOrderRawSchema),
|
|
449
|
+
...woocommercePageOutputMeta
|
|
450
|
+
});
|
|
451
|
+
const woocommerceListProductsPageInputSchema = z.strictObject({
|
|
452
|
+
...woocommercePageFields,
|
|
453
|
+
status: z.string().min(1).optional(),
|
|
454
|
+
search: z.string().min(1).optional(),
|
|
455
|
+
sku: z.string().min(1).optional(),
|
|
456
|
+
category: z.int().positive().optional(),
|
|
457
|
+
type: z.string().min(1).optional(),
|
|
458
|
+
include: z.array(z.int().positive()).min(1).max(100).optional(),
|
|
459
|
+
...woocommerceCollectionTimeFields
|
|
460
|
+
});
|
|
461
|
+
const woocommerceListProductsPageOutputSchema = z.object({
|
|
462
|
+
items: z.array(woocommerceProductRawSchema),
|
|
463
|
+
...woocommercePageOutputMeta
|
|
464
|
+
});
|
|
465
|
+
const woocommerceListCustomersPageInputSchema = z.strictObject({
|
|
466
|
+
...woocommercePageFields,
|
|
467
|
+
search: z.string().min(1).optional(),
|
|
468
|
+
email: z.string().min(1).optional(),
|
|
469
|
+
role: z.string().min(1).optional(),
|
|
470
|
+
...woocommerceCollectionTimeFields
|
|
471
|
+
});
|
|
472
|
+
const woocommerceListCustomersPageOutputSchema = z.object({
|
|
473
|
+
items: z.array(woocommerceCustomerRawSchema),
|
|
474
|
+
...woocommercePageOutputMeta
|
|
475
|
+
});
|
|
401
476
|
//#endregion
|
|
402
477
|
//#region src/vendors/woocommerce/domain.ts
|
|
403
478
|
/**
|
|
404
479
|
* WooCommerce REST payload helpers (no HTTP).
|
|
405
480
|
*/
|
|
406
481
|
function storeOrigin(auth) {
|
|
407
|
-
|
|
482
|
+
let url;
|
|
483
|
+
try {
|
|
484
|
+
url = new URL(auth.store_url);
|
|
485
|
+
} catch {
|
|
486
|
+
throw new ToolError("Invalid WooCommerce store_url", { code: "bad_auth" });
|
|
487
|
+
}
|
|
488
|
+
if (url.username !== "" || url.password !== "" || url.pathname !== "/" && url.pathname !== "" || url.search !== "" || url.hash !== "") throw new ToolError("WooCommerce store_url must be an origin", { code: "bad_auth" });
|
|
489
|
+
return url.origin;
|
|
408
490
|
}
|
|
409
491
|
function apiBaseUrl(auth) {
|
|
410
492
|
return `${storeOrigin(auth)}/wp-json/wc/v3`;
|
|
@@ -433,6 +515,57 @@ function listPageMeta(page, limit, itemCount, totalPagesHeader) {
|
|
|
433
515
|
};
|
|
434
516
|
return { truncated: false };
|
|
435
517
|
}
|
|
518
|
+
function collectionQuery(input) {
|
|
519
|
+
return {
|
|
520
|
+
page: input.page ?? 1,
|
|
521
|
+
per_page: input.limit ?? 10,
|
|
522
|
+
...input.after && { after: input.after },
|
|
523
|
+
...input.before && { before: input.before },
|
|
524
|
+
...input.modified_after && { modified_after: input.modified_after },
|
|
525
|
+
...input.modified_before && { modified_before: input.modified_before },
|
|
526
|
+
...input.dates_are_gmt !== void 0 && { dates_are_gmt: input.dates_are_gmt },
|
|
527
|
+
...input.order && { order: input.order },
|
|
528
|
+
...input.orderby && { orderby: input.orderby }
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
function parseWpCountHeader(headers, name) {
|
|
532
|
+
const raw = headers.get(name);
|
|
533
|
+
if (raw === null || raw.length === 0) throw new ToolError(`WooCommerce response is missing ${name}`, { code: "upstream" });
|
|
534
|
+
const n = Number.parseInt(raw, 10);
|
|
535
|
+
if (!Number.isFinite(n) || n < 0) throw new ToolError(`WooCommerce returned invalid ${name}`, { code: "upstream" });
|
|
536
|
+
return n;
|
|
537
|
+
}
|
|
538
|
+
function parseCollectionPage(data, headers, itemSchema, page, pageSize, label) {
|
|
539
|
+
const parsedItems = z.array(itemSchema).safeParse(data);
|
|
540
|
+
if (!parsedItems.success) throw new ToolError(`WooCommerce returned an invalid ${label} array`, {
|
|
541
|
+
code: "upstream",
|
|
542
|
+
details: { issues: parsedItems.error.issues.map((issue) => issue.message) }
|
|
543
|
+
});
|
|
544
|
+
const totalItems = parseWpCountHeader(headers, "x-wp-total");
|
|
545
|
+
const totalPages = parseWpCountHeader(headers, "x-wp-totalpages");
|
|
546
|
+
return {
|
|
547
|
+
items: parsedItems.data,
|
|
548
|
+
pagination: {
|
|
549
|
+
page,
|
|
550
|
+
page_size: pageSize,
|
|
551
|
+
total_items: totalItems,
|
|
552
|
+
total_pages: totalPages,
|
|
553
|
+
has_more: page < totalPages
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
function looksLikeSecret(value) {
|
|
558
|
+
return /ck_|cs_|consumer_key|consumer_secret|authorization/i.test(value);
|
|
559
|
+
}
|
|
560
|
+
function woocommerceErrorDetails(data) {
|
|
561
|
+
if (!isPlainObject(data)) return {};
|
|
562
|
+
const code = data["code"];
|
|
563
|
+
const message = data["message"];
|
|
564
|
+
return {
|
|
565
|
+
...isString(code) && code.length > 0 && !looksLikeSecret(code) && { woocommerce_code: code },
|
|
566
|
+
...isString(message) && message.length > 0 && !looksLikeSecret(message) && { woocommerce_message: message }
|
|
567
|
+
};
|
|
568
|
+
}
|
|
436
569
|
function optionalString(value) {
|
|
437
570
|
return isString(value) ? value : void 0;
|
|
438
571
|
}
|
|
@@ -814,6 +947,21 @@ function parseProductDeleteResult(value, fallbackId) {
|
|
|
814
947
|
* WooCommerce REST API vendor client (wc/v3).
|
|
815
948
|
* Host: `new WoocommerceClient(auth)`. Agent tools: `fromContext(ctx)`.
|
|
816
949
|
*/
|
|
950
|
+
function throwWooCommerceHttpError(operation, result) {
|
|
951
|
+
const status = result.status;
|
|
952
|
+
const retryAfterMs = retryAfterMsFromHeader(result.headers.get("retry-after"));
|
|
953
|
+
const provider = woocommerceErrorDetails(result.data);
|
|
954
|
+
throw new ToolError(`${operation} failed with HTTP ${status}`, {
|
|
955
|
+
code: httpErrorCode(status),
|
|
956
|
+
retryable: status >= 500 || status === 429,
|
|
957
|
+
details: {
|
|
958
|
+
status,
|
|
959
|
+
operation,
|
|
960
|
+
...retryAfterMs !== void 0 && { retry_after_ms: retryAfterMs },
|
|
961
|
+
...provider
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
}
|
|
817
965
|
var WoocommerceClient = class WoocommerceClient {
|
|
818
966
|
#http;
|
|
819
967
|
constructor(auth, options = {}) {
|
|
@@ -839,6 +987,16 @@ var WoocommerceClient = class WoocommerceClient {
|
|
|
839
987
|
...ctx.signal && { signal: ctx.signal }
|
|
840
988
|
});
|
|
841
989
|
}
|
|
990
|
+
async #request(method, path, options = {}) {
|
|
991
|
+
const label = options.label ?? "WooCommerce";
|
|
992
|
+
const result = await this.#http.query(method, path, {
|
|
993
|
+
...options,
|
|
994
|
+
noThrow: true,
|
|
995
|
+
label
|
|
996
|
+
});
|
|
997
|
+
if (result.status >= 200 && result.status < 300) return result;
|
|
998
|
+
throwWooCommerceHttpError(label, result);
|
|
999
|
+
}
|
|
842
1000
|
/** GET /orders */
|
|
843
1001
|
async listOrders(input = {}) {
|
|
844
1002
|
const page = pageFromCursor(input.cursor);
|
|
@@ -863,6 +1021,26 @@ var WoocommerceClient = class WoocommerceClient {
|
|
|
863
1021
|
...pageMeta.next_cursor && { next_cursor: pageMeta.next_cursor }
|
|
864
1022
|
};
|
|
865
1023
|
}
|
|
1024
|
+
/** One GET /orders request with raw records and X-WP-Total pagination. */
|
|
1025
|
+
async listOrdersPage(input = {}) {
|
|
1026
|
+
const parsedInput = woocommerceListOrdersPageInputSchema.safeParse(input);
|
|
1027
|
+
if (!parsedInput.success) throw new ToolError("Invalid WooCommerce orders page input", {
|
|
1028
|
+
code: "bad_input",
|
|
1029
|
+
details: { issues: parsedInput.error.issues.map((issue) => issue.message) }
|
|
1030
|
+
});
|
|
1031
|
+
const page = parsedInput.data.page ?? 1;
|
|
1032
|
+
const limit = parsedInput.data.limit ?? 10;
|
|
1033
|
+
const { data, headers } = await this.#request("GET", "/orders", {
|
|
1034
|
+
label: "WooCommerce listOrdersPage",
|
|
1035
|
+
query: {
|
|
1036
|
+
...collectionQuery(parsedInput.data),
|
|
1037
|
+
...parsedInput.data.status && { status: parsedInput.data.status },
|
|
1038
|
+
...parsedInput.data.search && { search: parsedInput.data.search },
|
|
1039
|
+
...parsedInput.data.customer_id !== void 0 && { customer: parsedInput.data.customer_id }
|
|
1040
|
+
}
|
|
1041
|
+
});
|
|
1042
|
+
return parseCollectionPage(data, headers, woocommerceOrderRawSchema, page, limit, "orders");
|
|
1043
|
+
}
|
|
866
1044
|
/** GET /orders/{id} */
|
|
867
1045
|
async getOrder(input) {
|
|
868
1046
|
const { data } = await this.#http.get(`/orders/${input.order_id}`, { label: "WooCommerce getOrder" });
|
|
@@ -964,6 +1142,29 @@ var WoocommerceClient = class WoocommerceClient {
|
|
|
964
1142
|
...pageMeta.next_cursor && { next_cursor: pageMeta.next_cursor }
|
|
965
1143
|
};
|
|
966
1144
|
}
|
|
1145
|
+
/** One GET /products request with raw records and X-WP-Total pagination. */
|
|
1146
|
+
async listProductsPage(input = {}) {
|
|
1147
|
+
const parsedInput = woocommerceListProductsPageInputSchema.safeParse(input);
|
|
1148
|
+
if (!parsedInput.success) throw new ToolError("Invalid WooCommerce products page input", {
|
|
1149
|
+
code: "bad_input",
|
|
1150
|
+
details: { issues: parsedInput.error.issues.map((issue) => issue.message) }
|
|
1151
|
+
});
|
|
1152
|
+
const page = parsedInput.data.page ?? 1;
|
|
1153
|
+
const limit = parsedInput.data.limit ?? 10;
|
|
1154
|
+
const { data, headers } = await this.#request("GET", "/products", {
|
|
1155
|
+
label: "WooCommerce listProductsPage",
|
|
1156
|
+
query: {
|
|
1157
|
+
...collectionQuery(parsedInput.data),
|
|
1158
|
+
...parsedInput.data.status && { status: parsedInput.data.status },
|
|
1159
|
+
...parsedInput.data.search && { search: parsedInput.data.search },
|
|
1160
|
+
...parsedInput.data.sku && { sku: parsedInput.data.sku },
|
|
1161
|
+
...parsedInput.data.category !== void 0 && { category: parsedInput.data.category },
|
|
1162
|
+
...parsedInput.data.type && { type: parsedInput.data.type },
|
|
1163
|
+
...parsedInput.data.include && parsedInput.data.include.length > 0 && { include: parsedInput.data.include.join(",") }
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
return parseCollectionPage(data, headers, woocommerceProductRawSchema, page, limit, "products");
|
|
1167
|
+
}
|
|
967
1168
|
/** GET /products/{id} */
|
|
968
1169
|
async getProduct(input) {
|
|
969
1170
|
const { data } = await this.#http.get(`/products/${input.product_id}`, { label: "WooCommerce getProduct" });
|
|
@@ -1037,6 +1238,26 @@ var WoocommerceClient = class WoocommerceClient {
|
|
|
1037
1238
|
...pageMeta.next_cursor && { next_cursor: pageMeta.next_cursor }
|
|
1038
1239
|
};
|
|
1039
1240
|
}
|
|
1241
|
+
/** One GET /customers request with raw records and X-WP-Total pagination. */
|
|
1242
|
+
async listCustomersPage(input = {}) {
|
|
1243
|
+
const parsedInput = woocommerceListCustomersPageInputSchema.safeParse(input);
|
|
1244
|
+
if (!parsedInput.success) throw new ToolError("Invalid WooCommerce customers page input", {
|
|
1245
|
+
code: "bad_input",
|
|
1246
|
+
details: { issues: parsedInput.error.issues.map((issue) => issue.message) }
|
|
1247
|
+
});
|
|
1248
|
+
const page = parsedInput.data.page ?? 1;
|
|
1249
|
+
const limit = parsedInput.data.limit ?? 10;
|
|
1250
|
+
const { data, headers } = await this.#request("GET", "/customers", {
|
|
1251
|
+
label: "WooCommerce listCustomersPage",
|
|
1252
|
+
query: {
|
|
1253
|
+
...collectionQuery(parsedInput.data),
|
|
1254
|
+
...parsedInput.data.search && { search: parsedInput.data.search },
|
|
1255
|
+
...parsedInput.data.email && { email: parsedInput.data.email },
|
|
1256
|
+
...parsedInput.data.role && { role: parsedInput.data.role }
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
return parseCollectionPage(data, headers, woocommerceCustomerRawSchema, page, limit, "customers");
|
|
1260
|
+
}
|
|
1040
1261
|
/** GET /customers/{id} */
|
|
1041
1262
|
async getCustomer(input) {
|
|
1042
1263
|
const { data } = await this.#http.get(`/customers/${input.customer_id}`, { label: "WooCommerce getCustomer" });
|
|
@@ -1422,6 +1643,6 @@ const woocommerceModule = defineModule({
|
|
|
1422
1643
|
]
|
|
1423
1644
|
});
|
|
1424
1645
|
//#endregion
|
|
1425
|
-
export { WoocommerceClient, woocommerceAddressSchema, woocommerceAuthSchema, woocommerceCouponSchema, woocommerceCreateCouponInputSchema, woocommerceCreateCouponOutputSchema, woocommerceCreateCouponTool, woocommerceCreateCustomerInputSchema, woocommerceCreateCustomerOutputSchema, woocommerceCreateCustomerTool, woocommerceCreateOrderInputSchema, woocommerceCreateOrderNoteInputSchema, woocommerceCreateOrderNoteOutputSchema, woocommerceCreateOrderNoteTool, woocommerceCreateOrderOutputSchema, woocommerceCreateOrderRefundInputSchema, woocommerceCreateOrderRefundOutputSchema, woocommerceCreateOrderRefundTool, woocommerceCreateOrderTool, woocommerceCreateProductInputSchema, woocommerceCreateProductOutputSchema, woocommerceCreateProductTool, woocommerceCustomerSchema, woocommerceDeleteOrderInputSchema, woocommerceDeleteOrderOutputSchema, woocommerceDeleteOrderTool, woocommerceDeleteProductInputSchema, woocommerceDeleteProductOutputSchema, woocommerceDeleteProductTool, woocommerceGetCouponInputSchema, woocommerceGetCouponOutputSchema, woocommerceGetCouponTool, woocommerceGetCustomerInputSchema, woocommerceGetCustomerOutputSchema, woocommerceGetCustomerTool, woocommerceGetOrderInputSchema, woocommerceGetOrderOutputSchema, woocommerceGetOrderTool, woocommerceGetProductCategoryInputSchema, woocommerceGetProductCategoryOutputSchema, woocommerceGetProductCategoryTool, woocommerceGetProductInputSchema, woocommerceGetProductOutputSchema, woocommerceGetProductTool, woocommerceGetProductVariationInputSchema, woocommerceGetProductVariationOutputSchema, woocommerceGetProductVariationTool, woocommerceLineItemInputSchema, woocommerceListCouponsInputSchema, woocommerceListCouponsOutputSchema, woocommerceListCouponsTool, woocommerceListCustomersInputSchema, woocommerceListCustomersOutputSchema, woocommerceListCustomersTool, woocommerceListOrderNotesInputSchema, woocommerceListOrderNotesOutputSchema, woocommerceListOrderNotesTool, woocommerceListOrderRefundsInputSchema, woocommerceListOrderRefundsOutputSchema, woocommerceListOrderRefundsTool, woocommerceListOrdersInputSchema, woocommerceListOrdersOutputSchema, woocommerceListOrdersTool, woocommerceListProductCategoriesInputSchema, woocommerceListProductCategoriesOutputSchema, woocommerceListProductCategoriesTool, woocommerceListProductVariationsInputSchema, woocommerceListProductVariationsOutputSchema, woocommerceListProductVariationsTool, woocommerceListProductsInputSchema, woocommerceListProductsOutputSchema, woocommerceListProductsTool, woocommerceMetaDataSchema, woocommerceModule, woocommerceOrderNoteSchema, woocommerceOrderRefundSchema, woocommerceOrderSchema, woocommerceProductCategorySchema, woocommerceProductSchema, woocommerceProductVariationSchema, woocommerceUpdateCouponInputSchema, woocommerceUpdateCouponOutputSchema, woocommerceUpdateCouponTool, woocommerceUpdateCustomerInputSchema, woocommerceUpdateCustomerOutputSchema, woocommerceUpdateCustomerTool, woocommerceUpdateOrderInputSchema, woocommerceUpdateOrderOutputSchema, woocommerceUpdateOrderTool, woocommerceUpdateProductInputSchema, woocommerceUpdateProductOutputSchema, woocommerceUpdateProductTool };
|
|
1646
|
+
export { WoocommerceClient, woocommerceAddressSchema, woocommerceAuthSchema, woocommerceCouponSchema, woocommerceCreateCouponInputSchema, woocommerceCreateCouponOutputSchema, woocommerceCreateCouponTool, woocommerceCreateCustomerInputSchema, woocommerceCreateCustomerOutputSchema, woocommerceCreateCustomerTool, woocommerceCreateOrderInputSchema, woocommerceCreateOrderNoteInputSchema, woocommerceCreateOrderNoteOutputSchema, woocommerceCreateOrderNoteTool, woocommerceCreateOrderOutputSchema, woocommerceCreateOrderRefundInputSchema, woocommerceCreateOrderRefundOutputSchema, woocommerceCreateOrderRefundTool, woocommerceCreateOrderTool, woocommerceCreateProductInputSchema, woocommerceCreateProductOutputSchema, woocommerceCreateProductTool, woocommerceCustomerRawSchema, woocommerceCustomerSchema, woocommerceDeleteOrderInputSchema, woocommerceDeleteOrderOutputSchema, woocommerceDeleteOrderTool, woocommerceDeleteProductInputSchema, woocommerceDeleteProductOutputSchema, woocommerceDeleteProductTool, woocommerceGetCouponInputSchema, woocommerceGetCouponOutputSchema, woocommerceGetCouponTool, woocommerceGetCustomerInputSchema, woocommerceGetCustomerOutputSchema, woocommerceGetCustomerTool, woocommerceGetOrderInputSchema, woocommerceGetOrderOutputSchema, woocommerceGetOrderTool, woocommerceGetProductCategoryInputSchema, woocommerceGetProductCategoryOutputSchema, woocommerceGetProductCategoryTool, woocommerceGetProductInputSchema, woocommerceGetProductOutputSchema, woocommerceGetProductTool, woocommerceGetProductVariationInputSchema, woocommerceGetProductVariationOutputSchema, woocommerceGetProductVariationTool, woocommerceLineItemInputSchema, woocommerceListCouponsInputSchema, woocommerceListCouponsOutputSchema, woocommerceListCouponsTool, woocommerceListCustomersInputSchema, woocommerceListCustomersOutputSchema, woocommerceListCustomersPageInputSchema, woocommerceListCustomersPageOutputSchema, woocommerceListCustomersTool, woocommerceListOrderNotesInputSchema, woocommerceListOrderNotesOutputSchema, woocommerceListOrderNotesTool, woocommerceListOrderRefundsInputSchema, woocommerceListOrderRefundsOutputSchema, woocommerceListOrderRefundsTool, woocommerceListOrdersInputSchema, woocommerceListOrdersOutputSchema, woocommerceListOrdersPageInputSchema, woocommerceListOrdersPageOutputSchema, woocommerceListOrdersTool, woocommerceListProductCategoriesInputSchema, woocommerceListProductCategoriesOutputSchema, woocommerceListProductCategoriesTool, woocommerceListProductVariationsInputSchema, woocommerceListProductVariationsOutputSchema, woocommerceListProductVariationsTool, woocommerceListProductsInputSchema, woocommerceListProductsOutputSchema, woocommerceListProductsPageInputSchema, woocommerceListProductsPageOutputSchema, woocommerceListProductsTool, woocommerceMetaDataSchema, woocommerceModule, woocommerceOrderNoteSchema, woocommerceOrderRawSchema, woocommerceOrderRefundSchema, woocommerceOrderSchema, woocommercePaginationSchema, woocommerceProductCategorySchema, woocommerceProductRawSchema, woocommerceProductSchema, woocommerceProductVariationSchema, woocommerceRawRecordSchema, woocommerceUpdateCouponInputSchema, woocommerceUpdateCouponOutputSchema, woocommerceUpdateCouponTool, woocommerceUpdateCustomerInputSchema, woocommerceUpdateCustomerOutputSchema, woocommerceUpdateCustomerTool, woocommerceUpdateOrderInputSchema, woocommerceUpdateOrderOutputSchema, woocommerceUpdateOrderTool, woocommerceUpdateProductInputSchema, woocommerceUpdateProductOutputSchema, woocommerceUpdateProductTool };
|
|
1426
1647
|
|
|
1427
1648
|
//# sourceMappingURL=index.js.map
|