@atomic-solutions/woocommerce-api-client 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +128 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1939,7 +1939,8 @@ var createCustomerSchema = customerSchema.pick({
|
|
|
1939
1939
|
last_name: true,
|
|
1940
1940
|
shipping: true
|
|
1941
1941
|
}).extend({
|
|
1942
|
-
loyalty_card_number: z.string().optional()
|
|
1942
|
+
loyalty_card_number: z.string().optional(),
|
|
1943
|
+
billing: customerSchema.shape.billing.optional()
|
|
1943
1944
|
});
|
|
1944
1945
|
var updateCustomerSchema = createCustomerSchema.merge(
|
|
1945
1946
|
customerSchema.pick({
|