@robinpath/woocommerce 0.1.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 ADDED
@@ -0,0 +1,116 @@
1
+ # @robinpath/woocommerce
2
+
3
+ > WooCommerce module for RobinPath.
4
+
5
+ ![Category](https://img.shields.io/badge/category-E-Commerce-blue) ![Functions](https://img.shields.io/badge/functions-23-green) ![Auth](https://img.shields.io/badge/auth-API%20Key-orange) ![License](https://img.shields.io/badge/license-MIT-brightgreen)
6
+
7
+ ## Why use this module?
8
+
9
+ The `woocommerce` module lets you:
10
+
11
+ - listProducts
12
+ - getProduct
13
+ - createProduct
14
+ - updateProduct
15
+ - deleteProduct
16
+
17
+ All functions are callable directly from RobinPath scripts with a simple, consistent API.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ npm install @robinpath/woocommerce
23
+ ```
24
+
25
+ ## Quick Start
26
+
27
+ **1. Set up credentials**
28
+
29
+ ```robinpath
30
+ woocommerce.setCredentials "your-credentials"
31
+ ```
32
+
33
+ **2. listProducts**
34
+
35
+ ```robinpath
36
+ woocommerce.listProducts
37
+ ```
38
+
39
+ ## Available Functions
40
+
41
+ | Function | Description |
42
+ |----------|-------------|
43
+ | `woocommerce.setCredentials` | Configure woocommerce credentials. |
44
+ | `woocommerce.listProducts` | listProducts |
45
+ | `woocommerce.getProduct` | getProduct |
46
+ | `woocommerce.createProduct` | createProduct |
47
+ | `woocommerce.updateProduct` | updateProduct |
48
+ | `woocommerce.deleteProduct` | deleteProduct |
49
+ | `woocommerce.listOrders` | listOrders |
50
+ | `woocommerce.getOrder` | getOrder |
51
+ | `woocommerce.createOrder` | createOrder |
52
+ | `woocommerce.updateOrder` | updateOrder |
53
+ | `woocommerce.deleteOrder` | deleteOrder |
54
+ | `woocommerce.listCustomers` | listCustomers |
55
+ | `woocommerce.getCustomer` | getCustomer |
56
+ | `woocommerce.createCustomer` | createCustomer |
57
+ | `woocommerce.updateCustomer` | updateCustomer |
58
+ | `woocommerce.listCategories` | listCategories |
59
+ | `woocommerce.createCategory` | createCategory |
60
+ | `woocommerce.listCoupons` | listCoupons |
61
+ | `woocommerce.createCoupon` | createCoupon |
62
+ | `woocommerce.getOrderNotes` | getOrderNotes |
63
+ | `woocommerce.createOrderNote` | createOrderNote |
64
+ | `woocommerce.getReport` | getReport |
65
+ | `woocommerce.listShipping` | listShipping |
66
+
67
+ ## Examples
68
+
69
+ ### listProducts
70
+
71
+ ```robinpath
72
+ woocommerce.listProducts
73
+ ```
74
+
75
+ ### getProduct
76
+
77
+ ```robinpath
78
+ woocommerce.getProduct
79
+ ```
80
+
81
+ ### createProduct
82
+
83
+ ```robinpath
84
+ woocommerce.createProduct
85
+ ```
86
+
87
+ ## Integration with RobinPath
88
+
89
+ ```typescript
90
+ import { RobinPath } from "@wiredwp/robinpath";
91
+ import Module from "@robinpath/woocommerce";
92
+
93
+ const rp = new RobinPath();
94
+ rp.registerModule(Module.name, Module.functions);
95
+ rp.registerModuleMeta(Module.name, Module.functionMetadata);
96
+
97
+ const result = await rp.executeScript(`
98
+ woocommerce.setCredentials "your-credentials"
99
+ woocommerce.listProducts
100
+ `);
101
+ ```
102
+
103
+ ## Full API Reference
104
+
105
+ See [MODULE.md](./MODULE.md) for complete documentation including all parameters, return types, error handling, and advanced examples.
106
+
107
+ ## Related Modules
108
+
109
+ - [`@robinpath/shopify`](../shopify) — Shopify module for complementary functionality
110
+ - [`@robinpath/bigcommerce`](../bigcommerce) — BigCommerce module for complementary functionality
111
+ - [`@robinpath/square`](../square) — Square module for complementary functionality
112
+ - [`@robinpath/json`](../json) — JSON module for complementary functionality
113
+
114
+ ## License
115
+
116
+ MIT
@@ -0,0 +1,6 @@
1
+ import type { ModuleAdapter } from "@wiredwp/robinpath";
2
+ declare const WoocommerceModule: ModuleAdapter;
3
+ export default WoocommerceModule;
4
+ export { WoocommerceModule };
5
+ export { WoocommerceFunctions, WoocommerceFunctionMetadata, WoocommerceModuleMetadata } from "./woocommerce.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,QAAA,MAAM,iBAAiB,EAAE,aAMxB,CAAC;AAEF,eAAe,iBAAiB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ import { WoocommerceFunctions, WoocommerceFunctionMetadata, WoocommerceModuleMetadata } from "./woocommerce.js";
2
+ const WoocommerceModule = {
3
+ name: "woocommerce",
4
+ functions: WoocommerceFunctions,
5
+ functionMetadata: WoocommerceFunctionMetadata,
6
+ moduleMetadata: WoocommerceModuleMetadata,
7
+ global: false,
8
+ }; // as ModuleAdapter
9
+ export default WoocommerceModule;
10
+ export { WoocommerceModule };
11
+ export { WoocommerceFunctions, WoocommerceFunctionMetadata, WoocommerceModuleMetadata } from "./woocommerce.js";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAEhH,MAAM,iBAAiB,GAAkB;IACvC,IAAI,EAAE,aAAa;IACnB,SAAS,EAAE,oBAAoB;IAC/B,gBAAgB,EAAE,2BAAkC;IACpD,cAAc,EAAE,yBAAgC;IAChD,MAAM,EAAE,KAAK;CACd,CAAC,CAAC,mBAAmB;AAEtB,eAAe,iBAAiB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,286 @@
1
+ import type { BuiltinHandler } from "@wiredwp/robinpath";
2
+ export declare const WoocommerceFunctions: Record<string, BuiltinHandler>;
3
+ export declare const WoocommerceFunctionMetadata: {
4
+ setCredentials: {
5
+ description: string;
6
+ parameters: {
7
+ name: string;
8
+ dataType: string;
9
+ description: string;
10
+ formInputType: string;
11
+ required: boolean;
12
+ }[];
13
+ returnType: string;
14
+ returnDescription: string;
15
+ };
16
+ listProducts: {
17
+ description: string;
18
+ parameters: {
19
+ name: string;
20
+ dataType: string;
21
+ description: string;
22
+ formInputType: string;
23
+ required: boolean;
24
+ }[];
25
+ returnType: string;
26
+ returnDescription: string;
27
+ };
28
+ getProduct: {
29
+ description: string;
30
+ parameters: {
31
+ name: string;
32
+ dataType: string;
33
+ description: string;
34
+ formInputType: string;
35
+ required: boolean;
36
+ }[];
37
+ returnType: string;
38
+ returnDescription: string;
39
+ };
40
+ createProduct: {
41
+ description: string;
42
+ parameters: {
43
+ name: string;
44
+ dataType: string;
45
+ description: string;
46
+ formInputType: string;
47
+ required: boolean;
48
+ }[];
49
+ returnType: string;
50
+ returnDescription: string;
51
+ };
52
+ updateProduct: {
53
+ description: string;
54
+ parameters: {
55
+ name: string;
56
+ dataType: string;
57
+ description: string;
58
+ formInputType: string;
59
+ required: boolean;
60
+ }[];
61
+ returnType: string;
62
+ returnDescription: string;
63
+ };
64
+ deleteProduct: {
65
+ description: string;
66
+ parameters: {
67
+ name: string;
68
+ dataType: string;
69
+ description: string;
70
+ formInputType: string;
71
+ required: boolean;
72
+ }[];
73
+ returnType: string;
74
+ returnDescription: string;
75
+ };
76
+ listOrders: {
77
+ description: string;
78
+ parameters: {
79
+ name: string;
80
+ dataType: string;
81
+ description: string;
82
+ formInputType: string;
83
+ required: boolean;
84
+ }[];
85
+ returnType: string;
86
+ returnDescription: string;
87
+ };
88
+ getOrder: {
89
+ description: string;
90
+ parameters: {
91
+ name: string;
92
+ dataType: string;
93
+ description: string;
94
+ formInputType: string;
95
+ required: boolean;
96
+ }[];
97
+ returnType: string;
98
+ returnDescription: string;
99
+ };
100
+ createOrder: {
101
+ description: string;
102
+ parameters: {
103
+ name: string;
104
+ dataType: string;
105
+ description: string;
106
+ formInputType: string;
107
+ required: boolean;
108
+ }[];
109
+ returnType: string;
110
+ returnDescription: string;
111
+ };
112
+ updateOrder: {
113
+ description: string;
114
+ parameters: {
115
+ name: string;
116
+ dataType: string;
117
+ description: string;
118
+ formInputType: string;
119
+ required: boolean;
120
+ }[];
121
+ returnType: string;
122
+ returnDescription: string;
123
+ };
124
+ deleteOrder: {
125
+ description: string;
126
+ parameters: {
127
+ name: string;
128
+ dataType: string;
129
+ description: string;
130
+ formInputType: string;
131
+ required: boolean;
132
+ }[];
133
+ returnType: string;
134
+ returnDescription: string;
135
+ };
136
+ listCustomers: {
137
+ description: string;
138
+ parameters: {
139
+ name: string;
140
+ dataType: string;
141
+ description: string;
142
+ formInputType: string;
143
+ required: boolean;
144
+ }[];
145
+ returnType: string;
146
+ returnDescription: string;
147
+ };
148
+ getCustomer: {
149
+ description: string;
150
+ parameters: {
151
+ name: string;
152
+ dataType: string;
153
+ description: string;
154
+ formInputType: string;
155
+ required: boolean;
156
+ }[];
157
+ returnType: string;
158
+ returnDescription: string;
159
+ };
160
+ createCustomer: {
161
+ description: string;
162
+ parameters: {
163
+ name: string;
164
+ dataType: string;
165
+ description: string;
166
+ formInputType: string;
167
+ required: boolean;
168
+ }[];
169
+ returnType: string;
170
+ returnDescription: string;
171
+ };
172
+ updateCustomer: {
173
+ description: string;
174
+ parameters: {
175
+ name: string;
176
+ dataType: string;
177
+ description: string;
178
+ formInputType: string;
179
+ required: boolean;
180
+ }[];
181
+ returnType: string;
182
+ returnDescription: string;
183
+ };
184
+ listCategories: {
185
+ description: string;
186
+ parameters: {
187
+ name: string;
188
+ dataType: string;
189
+ description: string;
190
+ formInputType: string;
191
+ required: boolean;
192
+ }[];
193
+ returnType: string;
194
+ returnDescription: string;
195
+ };
196
+ createCategory: {
197
+ description: string;
198
+ parameters: {
199
+ name: string;
200
+ dataType: string;
201
+ description: string;
202
+ formInputType: string;
203
+ required: boolean;
204
+ }[];
205
+ returnType: string;
206
+ returnDescription: string;
207
+ };
208
+ listCoupons: {
209
+ description: string;
210
+ parameters: {
211
+ name: string;
212
+ dataType: string;
213
+ description: string;
214
+ formInputType: string;
215
+ required: boolean;
216
+ }[];
217
+ returnType: string;
218
+ returnDescription: string;
219
+ };
220
+ createCoupon: {
221
+ description: string;
222
+ parameters: {
223
+ name: string;
224
+ dataType: string;
225
+ description: string;
226
+ formInputType: string;
227
+ required: boolean;
228
+ }[];
229
+ returnType: string;
230
+ returnDescription: string;
231
+ };
232
+ getOrderNotes: {
233
+ description: string;
234
+ parameters: {
235
+ name: string;
236
+ dataType: string;
237
+ description: string;
238
+ formInputType: string;
239
+ required: boolean;
240
+ }[];
241
+ returnType: string;
242
+ returnDescription: string;
243
+ };
244
+ createOrderNote: {
245
+ description: string;
246
+ parameters: {
247
+ name: string;
248
+ dataType: string;
249
+ description: string;
250
+ formInputType: string;
251
+ required: boolean;
252
+ }[];
253
+ returnType: string;
254
+ returnDescription: string;
255
+ };
256
+ getReport: {
257
+ description: string;
258
+ parameters: {
259
+ name: string;
260
+ dataType: string;
261
+ description: string;
262
+ formInputType: string;
263
+ required: boolean;
264
+ }[];
265
+ returnType: string;
266
+ returnDescription: string;
267
+ };
268
+ listShipping: {
269
+ description: string;
270
+ parameters: {
271
+ name: string;
272
+ dataType: string;
273
+ description: string;
274
+ formInputType: string;
275
+ required: boolean;
276
+ }[];
277
+ returnType: string;
278
+ returnDescription: string;
279
+ };
280
+ };
281
+ export declare const WoocommerceModuleMetadata: {
282
+ description: string;
283
+ methods: string[];
284
+ category: string;
285
+ };
286
+ //# sourceMappingURL=woocommerce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"woocommerce.d.ts","sourceRoot":"","sources":["../src/woocommerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA2C,MAAM,oBAAoB,CAAC;AA4JlG,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAE/D,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBvC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;CAIrC,CAAC"}
@@ -0,0 +1,172 @@
1
+ const config = new Map();
2
+ function getConfig(key) {
3
+ const val = config.get(key);
4
+ if (!val)
5
+ throw new Error(`Woocommerce: "${key}" not configured. Call woocommerce.setCredentials first.`);
6
+ return val;
7
+ }
8
+ async function apiCall(path, method = "GET", body) {
9
+ const res = await fetch(`${getConfig("siteUrl")}/wp-json/wc/v3${path}`, {
10
+ method,
11
+ headers: { "Authorization": "Basic " + btoa(`${getConfig("siteUrl")}:${getConfig("consumerKey")}`), "Content-Type": "application/json", Accept: "application/json" },
12
+ body: body ? JSON.stringify(body) : undefined,
13
+ });
14
+ if (!res.ok) {
15
+ const t = await res.text();
16
+ throw new Error(`Woocommerce API error (${res.status}): ${t}`);
17
+ }
18
+ const ct = res.headers.get("content-type");
19
+ return ct && ct.includes("application/json") ? res.json() : res.text();
20
+ }
21
+ const setCredentials = (args) => {
22
+ const siteUrl = args[0];
23
+ const consumerKey = args[1];
24
+ const consumerSecret = args[2];
25
+ if (!siteUrl || !consumerKey || !consumerSecret)
26
+ throw new Error("woocommerce.setCredentials requires siteUrl, consumerKey, consumerSecret.");
27
+ config.set("siteUrl", siteUrl);
28
+ config.set("consumerKey", consumerKey);
29
+ config.set("consumerSecret", consumerSecret);
30
+ return "Woocommerce credentials configured.";
31
+ };
32
+ const listProducts = async (args) => {
33
+ const id = args[0];
34
+ return apiCall(id ? `/listProducts/${id}` : `/listProducts`);
35
+ };
36
+ const getProduct = async (args) => {
37
+ const id = args[0];
38
+ return apiCall(id ? `/getProduct/${id}` : `/getProduct`);
39
+ };
40
+ const createProduct = async (args) => {
41
+ const id = args[0];
42
+ const data = args[1] ?? args[0];
43
+ return apiCall(`/createProduct`, "POST", typeof data === "object" ? data : { value: data });
44
+ };
45
+ const updateProduct = async (args) => {
46
+ const id = args[0];
47
+ if (!id)
48
+ throw new Error("woocommerce.updateProduct requires an ID.");
49
+ const data = args[1] ?? {};
50
+ return apiCall(`/updateProduct/${id}`, "PUT", typeof data === "object" ? data : { value: data });
51
+ };
52
+ const deleteProduct = async (args) => {
53
+ const id = args[0];
54
+ if (!id)
55
+ throw new Error("woocommerce.deleteProduct requires an ID.");
56
+ return apiCall(`/deleteProduct/${id}`, "DELETE");
57
+ };
58
+ const listOrders = async (args) => {
59
+ const id = args[0];
60
+ return apiCall(id ? `/listOrders/${id}` : `/listOrders`);
61
+ };
62
+ const getOrder = async (args) => {
63
+ const id = args[0];
64
+ return apiCall(id ? `/getOrder/${id}` : `/getOrder`);
65
+ };
66
+ const createOrder = async (args) => {
67
+ const id = args[0];
68
+ const data = args[1] ?? args[0];
69
+ return apiCall(`/createOrder`, "POST", typeof data === "object" ? data : { value: data });
70
+ };
71
+ const updateOrder = async (args) => {
72
+ const id = args[0];
73
+ if (!id)
74
+ throw new Error("woocommerce.updateOrder requires an ID.");
75
+ const data = args[1] ?? {};
76
+ return apiCall(`/updateOrder/${id}`, "PUT", typeof data === "object" ? data : { value: data });
77
+ };
78
+ const deleteOrder = async (args) => {
79
+ const id = args[0];
80
+ if (!id)
81
+ throw new Error("woocommerce.deleteOrder requires an ID.");
82
+ return apiCall(`/deleteOrder/${id}`, "DELETE");
83
+ };
84
+ const listCustomers = async (args) => {
85
+ const id = args[0];
86
+ return apiCall(id ? `/listCustomers/${id}` : `/listCustomers`);
87
+ };
88
+ const getCustomer = async (args) => {
89
+ const id = args[0];
90
+ return apiCall(id ? `/getCustomer/${id}` : `/getCustomer`);
91
+ };
92
+ const createCustomer = async (args) => {
93
+ const id = args[0];
94
+ const data = args[1] ?? args[0];
95
+ return apiCall(`/createCustomer`, "POST", typeof data === "object" ? data : { value: data });
96
+ };
97
+ const updateCustomer = async (args) => {
98
+ const id = args[0];
99
+ if (!id)
100
+ throw new Error("woocommerce.updateCustomer requires an ID.");
101
+ const data = args[1] ?? {};
102
+ return apiCall(`/updateCustomer/${id}`, "PUT", typeof data === "object" ? data : { value: data });
103
+ };
104
+ const listCategories = async (args) => {
105
+ const id = args[0];
106
+ return apiCall(id ? `/listCategories/${id}` : `/listCategories`);
107
+ };
108
+ const createCategory = async (args) => {
109
+ const id = args[0];
110
+ const data = args[1] ?? args[0];
111
+ return apiCall(`/createCategory`, "POST", typeof data === "object" ? data : { value: data });
112
+ };
113
+ const listCoupons = async (args) => {
114
+ const id = args[0];
115
+ return apiCall(id ? `/listCoupons/${id}` : `/listCoupons`);
116
+ };
117
+ const createCoupon = async (args) => {
118
+ const id = args[0];
119
+ const data = args[1] ?? args[0];
120
+ return apiCall(`/createCoupon`, "POST", typeof data === "object" ? data : { value: data });
121
+ };
122
+ const getOrderNotes = async (args) => {
123
+ const id = args[0];
124
+ return apiCall(id ? `/getOrderNotes/${id}` : `/getOrderNotes`);
125
+ };
126
+ const createOrderNote = async (args) => {
127
+ const id = args[0];
128
+ const data = args[1] ?? args[0];
129
+ return apiCall(`/createOrderNote`, "POST", typeof data === "object" ? data : { value: data });
130
+ };
131
+ const getReport = async (args) => {
132
+ const id = args[0];
133
+ return apiCall(id ? `/getReport/${id}` : `/getReport`);
134
+ };
135
+ const listShipping = async (args) => {
136
+ const id = args[0];
137
+ return apiCall(id ? `/listShipping/${id}` : `/listShipping`);
138
+ };
139
+ export const WoocommerceFunctions = {
140
+ setCredentials, listProducts, getProduct, createProduct, updateProduct, deleteProduct, listOrders, getOrder, createOrder, updateOrder, deleteOrder, listCustomers, getCustomer, createCustomer, updateCustomer, listCategories, createCategory, listCoupons, createCoupon, getOrderNotes, createOrderNote, getReport, listShipping,
141
+ };
142
+ export const WoocommerceFunctionMetadata = {
143
+ setCredentials: { description: "Configure woocommerce credentials.", parameters: [{ name: "siteUrl", dataType: "string", description: "siteUrl", formInputType: "text", required: true }, { name: "consumerKey", dataType: "string", description: "consumerKey", formInputType: "text", required: true }, { name: "consumerSecret", dataType: "string", description: "consumerSecret", formInputType: "text", required: true }], returnType: "object", returnDescription: "API response." },
144
+ listProducts: { description: "listProducts", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
145
+ getProduct: { description: "getProduct", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
146
+ createProduct: { description: "createProduct", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
147
+ updateProduct: { description: "updateProduct", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
148
+ deleteProduct: { description: "deleteProduct", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
149
+ listOrders: { description: "listOrders", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
150
+ getOrder: { description: "getOrder", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
151
+ createOrder: { description: "createOrder", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
152
+ updateOrder: { description: "updateOrder", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
153
+ deleteOrder: { description: "deleteOrder", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
154
+ listCustomers: { description: "listCustomers", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
155
+ getCustomer: { description: "getCustomer", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
156
+ createCustomer: { description: "createCustomer", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
157
+ updateCustomer: { description: "updateCustomer", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
158
+ listCategories: { description: "listCategories", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
159
+ createCategory: { description: "createCategory", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
160
+ listCoupons: { description: "listCoupons", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
161
+ createCoupon: { description: "createCoupon", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
162
+ getOrderNotes: { description: "getOrderNotes", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
163
+ createOrderNote: { description: "createOrderNote", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
164
+ getReport: { description: "getReport", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
165
+ listShipping: { description: "listShipping", parameters: [{ name: "input", dataType: "string", description: "Input parameter", formInputType: "text", required: false }], returnType: "object", returnDescription: "API response." },
166
+ };
167
+ export const WoocommerceModuleMetadata = {
168
+ description: "WooCommerce — products, orders, customers, coupons, and shipping.",
169
+ methods: Object.keys(WoocommerceFunctions),
170
+ category: "ecommerce",
171
+ };
172
+ //# sourceMappingURL=woocommerce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"woocommerce.js","sourceRoot":"","sources":["../src/woocommerce.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;AAEzC,SAAS,SAAS,CAAC,GAAW;IAC5B,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,CAAC,GAAG;QAAE,MAAM,IAAI,KAAK,CAAC,iBAAiB,GAAG,0DAA0D,CAAC,CAAC;IAC1G,OAAO,GAAG,CAAC;AACb,CAAC;AAED,KAAK,UAAU,OAAO,CAAC,IAAY,EAAE,MAAM,GAAG,KAAK,EAAE,IAAc;IACjE,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,iBAAiB,IAAI,EAAE,EAAE;QACtE,MAAM;QACN,OAAO,EAAE,EAAE,eAAe,EAAE,QAAQ,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,EAAE;QACpK,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;KAC9C,CAAC,CAAC;IACH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QAAC,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,C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U,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE;IAC1O,SAAS,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE;IAC9N,YAAY,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE;CACrO,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,WAAW,EAAE,mEAAmE;IAChF,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAC1C,QAAQ,EAAE,WAAW;CACtB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@robinpath/woocommerce",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "type": "module",
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsc"
21
+ },
22
+ "peerDependencies": {
23
+ "@wiredwp/robinpath": ">=0.20.0"
24
+ },
25
+ "devDependencies": {
26
+ "@wiredwp/robinpath": "^0.30.1",
27
+ "typescript": "^5.6.0"
28
+ }
29
+ }