@atomic-solutions/woocommerce-api-client 0.4.0 → 0.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/dist/index.d.mts CHANGED
@@ -1,9 +1,19 @@
1
1
  export { createClient } from './client/index.mjs';
2
- import { B as BaseError, e as BaseErrorOptions, f as ValidationReportableData, g as WooCommerceDataValidationErrorOptions } from './types-BF4_UUqp.mjs';
3
- export { A as AddToCartInput, j as Cart, k as CartAPI, C as CartHeadersAdapter, l as CartItem, m as CartItemImage, n as Checkout, o as CheckoutAPI, p as CheckoutInput, q as CouponInput, G as GetOrderInput, J as JwtTokenAdapter, O as OrderStatus, r as OrdersAPI, P as PaginatedResponse, t as Product, u as ProductCategory, v as ProductImage, w as ProductParams, x as ProductsAPI, y as RemoveCartItemInput, z as SelectShippingRateInput, D as StoreApiOrder, U as UpdateCartItemInput, E as UpdateCustomerInput, F as WooCommerceApiError, H as WooCommerceApiErrorOptions, a as WooCommerceClient, W as WooCommerceConfig, I as addToCartInputSchema, K as cartItemImageSchema, L as cartSchema, M as checkoutInputSchema, N as checkoutSchema, Q as couponInputSchema, T as productCategorySchema, X as productImageSchema, Y as productSchema, Z as removeCartItemInputSchema, _ as searchParamsSchema, $ as selectShippingRateInputSchema, a0 as storeApiOrderSchema, a1 as updateCartItemInputSchema, a2 as updateCustomerInputSchema } from './types-BF4_UUqp.mjs';
2
+ import { f as WooCommerceApiErrorCode, B as BaseErrorOptions, g as BaseReportableData, j as ValidationReportableData, k as WooCommerceDataValidationErrorOptions } from './types-9I6oS_83.mjs';
3
+ export { A as AddItemsInput, l as AddItemsResult, m as AddToCartInput, n as BatchResponse, o as Cart, p as CartAPI, C as CartHeadersAdapter, q as CartItem, r as CartItemImage, t as Checkout, u as CheckoutAPI, v as CheckoutInput, w as CouponInput, G as GetOrderInput, J as JwtTokenAdapter, O as OrderStatus, x as OrdersAPI, P as PaginatedResponse, y as Product, z as ProductCategory, D as ProductImage, E as ProductParams, F as ProductsAPI, H as RemoveCartItemInput, I as SelectShippingRateInput, K as StoreApiOrder, U as UpdateCartItemInput, L as UpdateCustomerInput, M as WooCommerceApiError, N as WooCommerceApiErrorOptions, a as WooCommerceClient, W as WooCommerceConfig, Q as addItemsInputSchema, T as addToCartInputSchema, X as batchResponseSchema, Y as cartItemImageSchema, Z as cartSchema, _ as checkoutInputSchema, $ as checkoutSchema, a0 as couponInputSchema, a1 as productCategorySchema, a2 as productImageSchema, a3 as productSchema, a4 as removeCartItemInputSchema, a5 as searchParamsSchema, a6 as selectShippingRateInputSchema, a7 as storeApiOrderSchema, a8 as updateCartItemInputSchema, a9 as updateCustomerInputSchema } from './types-9I6oS_83.mjs';
4
4
  import * as zod from 'zod';
5
5
  import { ZodError, z } from 'zod';
6
6
  import 'axios';
7
+ import '@atomic-solutions/errors';
8
+
9
+ declare const mapWooCommerceCode: (apiCode?: string) => WooCommerceApiErrorCode;
10
+
11
+ declare class BaseError<TOptions extends BaseErrorOptions = BaseErrorOptions, TReportable extends BaseReportableData = BaseReportableData> extends Error {
12
+ readonly options: TOptions;
13
+ constructor(options: TOptions);
14
+ getReportableData(): TReportable;
15
+ toJSON(): Record<string, unknown>;
16
+ }
7
17
 
8
18
  interface WooCommerceDataValidationErrorInternalOptions extends BaseErrorOptions {
9
19
  url?: string;
@@ -1119,8 +1129,8 @@ declare const orderFilterSchema: z.ZodObject<{
1119
1129
  product?: number | undefined;
1120
1130
  dp?: number | undefined;
1121
1131
  }, {
1122
- page?: number | undefined;
1123
1132
  status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft")[] | undefined;
1133
+ page?: number | undefined;
1124
1134
  per_page?: number | undefined;
1125
1135
  offset?: number | undefined;
1126
1136
  order?: "asc" | "desc" | undefined;
@@ -1352,8 +1362,8 @@ declare const orderSchema: z.ZodObject<{
1352
1362
  monri_transaction_id: z.ZodOptional<z.ZodString>;
1353
1363
  monri_status: z.ZodOptional<z.ZodString>;
1354
1364
  }, "strip", z.ZodTypeAny, {
1355
- total: string;
1356
1365
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
1366
+ total: string;
1357
1367
  id: number;
1358
1368
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1359
1369
  payment_method_title: string;
@@ -1434,8 +1444,8 @@ declare const orderSchema: z.ZodObject<{
1434
1444
  monri_transaction_id?: string | undefined;
1435
1445
  monri_status?: string | undefined;
1436
1446
  }, {
1437
- total: string;
1438
1447
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
1448
+ total: string;
1439
1449
  id: number;
1440
1450
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1441
1451
  payment_method_title: string;
@@ -1947,8 +1957,8 @@ declare const productFilterSchema: z.ZodObject<{
1947
1957
  modified_before: z.ZodOptional<z.ZodString>;
1948
1958
  dates_are_gmt: z.ZodDefault<z.ZodBoolean>;
1949
1959
  }, "strip", z.ZodTypeAny, {
1950
- page: number;
1951
1960
  status: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future";
1961
+ page: number;
1952
1962
  per_page: number;
1953
1963
  order: "asc" | "desc";
1954
1964
  orderby: "id" | "price" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
@@ -1974,9 +1984,9 @@ declare const productFilterSchema: z.ZodObject<{
1974
1984
  shipping_class?: string | undefined;
1975
1985
  attribute_term?: string | undefined;
1976
1986
  }, {
1977
- page?: number | undefined;
1978
1987
  type?: "simple" | "variable" | "grouped" | "external" | undefined;
1979
1988
  status?: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future" | undefined;
1989
+ page?: number | undefined;
1980
1990
  per_page?: number | undefined;
1981
1991
  offset?: number | undefined;
1982
1992
  order?: "asc" | "desc" | undefined;
@@ -2855,8 +2865,8 @@ declare const schemas: {
2855
2865
  modified_before: zod.ZodOptional<zod.ZodString>;
2856
2866
  dates_are_gmt: zod.ZodDefault<zod.ZodBoolean>;
2857
2867
  }, "strip", zod.ZodTypeAny, {
2858
- page: number;
2859
2868
  status: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future";
2869
+ page: number;
2860
2870
  per_page: number;
2861
2871
  order: "asc" | "desc";
2862
2872
  orderby: "id" | "price" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
@@ -2882,9 +2892,9 @@ declare const schemas: {
2882
2892
  shipping_class?: string | undefined;
2883
2893
  attribute_term?: string | undefined;
2884
2894
  }, {
2885
- page?: number | undefined;
2886
2895
  type?: "simple" | "variable" | "grouped" | "external" | undefined;
2887
2896
  status?: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future" | undefined;
2897
+ page?: number | undefined;
2888
2898
  per_page?: number | undefined;
2889
2899
  offset?: number | undefined;
2890
2900
  order?: "asc" | "desc" | undefined;
@@ -3449,8 +3459,8 @@ declare const schemas: {
3449
3459
  product?: number | undefined;
3450
3460
  dp?: number | undefined;
3451
3461
  }, {
3452
- page?: number | undefined;
3453
3462
  status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft")[] | undefined;
3463
+ page?: number | undefined;
3454
3464
  per_page?: number | undefined;
3455
3465
  offset?: number | undefined;
3456
3466
  order?: "asc" | "desc" | undefined;
@@ -3680,8 +3690,8 @@ declare const schemas: {
3680
3690
  monri_transaction_id: zod.ZodOptional<zod.ZodString>;
3681
3691
  monri_status: zod.ZodOptional<zod.ZodString>;
3682
3692
  }, "strip", zod.ZodTypeAny, {
3683
- total: string;
3684
3693
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
3694
+ total: string;
3685
3695
  id: number;
3686
3696
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3687
3697
  payment_method_title: string;
@@ -3762,8 +3772,8 @@ declare const schemas: {
3762
3772
  monri_transaction_id?: string | undefined;
3763
3773
  monri_status?: string | undefined;
3764
3774
  }, {
3765
- total: string;
3766
3775
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
3776
+ total: string;
3767
3777
  id: number;
3768
3778
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3769
3779
  payment_method_title: string;
@@ -5107,4 +5117,4 @@ declare const schemas: {
5107
5117
  };
5108
5118
  };
5109
5119
 
5110
- export { type Address, type AddressFormMessages, type AddressFormValues, type CategoryFilterParams as AdminCategoryFilterParams, type Product as AdminProduct, type ProductCategory as AdminProductCategory, type ProductFilterParams as AdminProductFilterParams, type BillingAddress, type BillingAddressFormValues, type Coupon, type CouponFilterParams, type Customer, type CustomerFilterParams, type Order, type OrderFilterParams, type PaginationMeta, type PaginationParams, type PaymentMethod, type PaymentMethodFilterParams, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, WooCommerceDataValidationError, WooCommerceDataValidationErrorOptions, addressSchema, categoryFilterSchema as adminCategoryFilterSchema, couponFilterSchema as adminCouponFilterSchema, couponSchema as adminCouponSchema, orderFilterSchema as adminOrderFilterSchema, orderSchema as adminOrderSchema, productCategorySchema as adminProductCategorySchema, productFilterSchema as adminProductFilterSchema, productSchema as adminProductSchema, billingAddressSchemaMandatory as billingAddressSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, makeAddressFormSchema, makeBillingAddressFormSchema, paginationMetaSchema, paginationParamsSchema, paymentMethodFilterSchema, paymentMethodSchema, schemas, updateCustomerSchema, wcBaseParamsSchema, wcErrorResponseSchema, wcPaginationMetaSchema };
5120
+ export { type Address, type AddressFormMessages, type AddressFormValues, type CategoryFilterParams as AdminCategoryFilterParams, type Product as AdminProduct, type ProductCategory as AdminProductCategory, type ProductFilterParams as AdminProductFilterParams, type BillingAddress, type BillingAddressFormValues, type Coupon, type CouponFilterParams, type Customer, type CustomerFilterParams, type Order, type OrderFilterParams, type PaginationMeta, type PaginationParams, type PaymentMethod, type PaymentMethodFilterParams, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, WooCommerceDataValidationError, WooCommerceDataValidationErrorOptions, addressSchema, categoryFilterSchema as adminCategoryFilterSchema, couponFilterSchema as adminCouponFilterSchema, couponSchema as adminCouponSchema, orderFilterSchema as adminOrderFilterSchema, orderSchema as adminOrderSchema, productCategorySchema as adminProductCategorySchema, productFilterSchema as adminProductFilterSchema, productSchema as adminProductSchema, billingAddressSchemaMandatory as billingAddressSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, makeAddressFormSchema, makeBillingAddressFormSchema, mapWooCommerceCode, paginationMetaSchema, paginationParamsSchema, paymentMethodFilterSchema, paymentMethodSchema, schemas, updateCustomerSchema, wcBaseParamsSchema, wcErrorResponseSchema, wcPaginationMetaSchema };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,19 @@
1
1
  export { createClient } from './client/index.js';
2
- import { B as BaseError, e as BaseErrorOptions, f as ValidationReportableData, g as WooCommerceDataValidationErrorOptions } from './types-BF4_UUqp.js';
3
- export { A as AddToCartInput, j as Cart, k as CartAPI, C as CartHeadersAdapter, l as CartItem, m as CartItemImage, n as Checkout, o as CheckoutAPI, p as CheckoutInput, q as CouponInput, G as GetOrderInput, J as JwtTokenAdapter, O as OrderStatus, r as OrdersAPI, P as PaginatedResponse, t as Product, u as ProductCategory, v as ProductImage, w as ProductParams, x as ProductsAPI, y as RemoveCartItemInput, z as SelectShippingRateInput, D as StoreApiOrder, U as UpdateCartItemInput, E as UpdateCustomerInput, F as WooCommerceApiError, H as WooCommerceApiErrorOptions, a as WooCommerceClient, W as WooCommerceConfig, I as addToCartInputSchema, K as cartItemImageSchema, L as cartSchema, M as checkoutInputSchema, N as checkoutSchema, Q as couponInputSchema, T as productCategorySchema, X as productImageSchema, Y as productSchema, Z as removeCartItemInputSchema, _ as searchParamsSchema, $ as selectShippingRateInputSchema, a0 as storeApiOrderSchema, a1 as updateCartItemInputSchema, a2 as updateCustomerInputSchema } from './types-BF4_UUqp.js';
2
+ import { f as WooCommerceApiErrorCode, B as BaseErrorOptions, g as BaseReportableData, j as ValidationReportableData, k as WooCommerceDataValidationErrorOptions } from './types-9I6oS_83.js';
3
+ export { A as AddItemsInput, l as AddItemsResult, m as AddToCartInput, n as BatchResponse, o as Cart, p as CartAPI, C as CartHeadersAdapter, q as CartItem, r as CartItemImage, t as Checkout, u as CheckoutAPI, v as CheckoutInput, w as CouponInput, G as GetOrderInput, J as JwtTokenAdapter, O as OrderStatus, x as OrdersAPI, P as PaginatedResponse, y as Product, z as ProductCategory, D as ProductImage, E as ProductParams, F as ProductsAPI, H as RemoveCartItemInput, I as SelectShippingRateInput, K as StoreApiOrder, U as UpdateCartItemInput, L as UpdateCustomerInput, M as WooCommerceApiError, N as WooCommerceApiErrorOptions, a as WooCommerceClient, W as WooCommerceConfig, Q as addItemsInputSchema, T as addToCartInputSchema, X as batchResponseSchema, Y as cartItemImageSchema, Z as cartSchema, _ as checkoutInputSchema, $ as checkoutSchema, a0 as couponInputSchema, a1 as productCategorySchema, a2 as productImageSchema, a3 as productSchema, a4 as removeCartItemInputSchema, a5 as searchParamsSchema, a6 as selectShippingRateInputSchema, a7 as storeApiOrderSchema, a8 as updateCartItemInputSchema, a9 as updateCustomerInputSchema } from './types-9I6oS_83.js';
4
4
  import * as zod from 'zod';
5
5
  import { ZodError, z } from 'zod';
6
6
  import 'axios';
7
+ import '@atomic-solutions/errors';
8
+
9
+ declare const mapWooCommerceCode: (apiCode?: string) => WooCommerceApiErrorCode;
10
+
11
+ declare class BaseError<TOptions extends BaseErrorOptions = BaseErrorOptions, TReportable extends BaseReportableData = BaseReportableData> extends Error {
12
+ readonly options: TOptions;
13
+ constructor(options: TOptions);
14
+ getReportableData(): TReportable;
15
+ toJSON(): Record<string, unknown>;
16
+ }
7
17
 
8
18
  interface WooCommerceDataValidationErrorInternalOptions extends BaseErrorOptions {
9
19
  url?: string;
@@ -1119,8 +1129,8 @@ declare const orderFilterSchema: z.ZodObject<{
1119
1129
  product?: number | undefined;
1120
1130
  dp?: number | undefined;
1121
1131
  }, {
1122
- page?: number | undefined;
1123
1132
  status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft")[] | undefined;
1133
+ page?: number | undefined;
1124
1134
  per_page?: number | undefined;
1125
1135
  offset?: number | undefined;
1126
1136
  order?: "asc" | "desc" | undefined;
@@ -1352,8 +1362,8 @@ declare const orderSchema: z.ZodObject<{
1352
1362
  monri_transaction_id: z.ZodOptional<z.ZodString>;
1353
1363
  monri_status: z.ZodOptional<z.ZodString>;
1354
1364
  }, "strip", z.ZodTypeAny, {
1355
- total: string;
1356
1365
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
1366
+ total: string;
1357
1367
  id: number;
1358
1368
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1359
1369
  payment_method_title: string;
@@ -1434,8 +1444,8 @@ declare const orderSchema: z.ZodObject<{
1434
1444
  monri_transaction_id?: string | undefined;
1435
1445
  monri_status?: string | undefined;
1436
1446
  }, {
1437
- total: string;
1438
1447
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
1448
+ total: string;
1439
1449
  id: number;
1440
1450
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1441
1451
  payment_method_title: string;
@@ -1947,8 +1957,8 @@ declare const productFilterSchema: z.ZodObject<{
1947
1957
  modified_before: z.ZodOptional<z.ZodString>;
1948
1958
  dates_are_gmt: z.ZodDefault<z.ZodBoolean>;
1949
1959
  }, "strip", z.ZodTypeAny, {
1950
- page: number;
1951
1960
  status: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future";
1961
+ page: number;
1952
1962
  per_page: number;
1953
1963
  order: "asc" | "desc";
1954
1964
  orderby: "id" | "price" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
@@ -1974,9 +1984,9 @@ declare const productFilterSchema: z.ZodObject<{
1974
1984
  shipping_class?: string | undefined;
1975
1985
  attribute_term?: string | undefined;
1976
1986
  }, {
1977
- page?: number | undefined;
1978
1987
  type?: "simple" | "variable" | "grouped" | "external" | undefined;
1979
1988
  status?: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future" | undefined;
1989
+ page?: number | undefined;
1980
1990
  per_page?: number | undefined;
1981
1991
  offset?: number | undefined;
1982
1992
  order?: "asc" | "desc" | undefined;
@@ -2855,8 +2865,8 @@ declare const schemas: {
2855
2865
  modified_before: zod.ZodOptional<zod.ZodString>;
2856
2866
  dates_are_gmt: zod.ZodDefault<zod.ZodBoolean>;
2857
2867
  }, "strip", zod.ZodTypeAny, {
2858
- page: number;
2859
2868
  status: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future";
2869
+ page: number;
2860
2870
  per_page: number;
2861
2871
  order: "asc" | "desc";
2862
2872
  orderby: "id" | "price" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
@@ -2882,9 +2892,9 @@ declare const schemas: {
2882
2892
  shipping_class?: string | undefined;
2883
2893
  attribute_term?: string | undefined;
2884
2894
  }, {
2885
- page?: number | undefined;
2886
2895
  type?: "simple" | "variable" | "grouped" | "external" | undefined;
2887
2896
  status?: "pending" | "any" | "draft" | "private" | "publish" | "trash" | "future" | undefined;
2897
+ page?: number | undefined;
2888
2898
  per_page?: number | undefined;
2889
2899
  offset?: number | undefined;
2890
2900
  order?: "asc" | "desc" | undefined;
@@ -3449,8 +3459,8 @@ declare const schemas: {
3449
3459
  product?: number | undefined;
3450
3460
  dp?: number | undefined;
3451
3461
  }, {
3452
- page?: number | undefined;
3453
3462
  status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft")[] | undefined;
3463
+ page?: number | undefined;
3454
3464
  per_page?: number | undefined;
3455
3465
  offset?: number | undefined;
3456
3466
  order?: "asc" | "desc" | undefined;
@@ -3680,8 +3690,8 @@ declare const schemas: {
3680
3690
  monri_transaction_id: zod.ZodOptional<zod.ZodString>;
3681
3691
  monri_status: zod.ZodOptional<zod.ZodString>;
3682
3692
  }, "strip", zod.ZodTypeAny, {
3683
- total: string;
3684
3693
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
3694
+ total: string;
3685
3695
  id: number;
3686
3696
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3687
3697
  payment_method_title: string;
@@ -3762,8 +3772,8 @@ declare const schemas: {
3762
3772
  monri_transaction_id?: string | undefined;
3763
3773
  monri_status?: string | undefined;
3764
3774
  }, {
3765
- total: string;
3766
3775
  status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "auto-draft" | "trash" | "checkout-draft";
3776
+ total: string;
3767
3777
  id: number;
3768
3778
  payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3769
3779
  payment_method_title: string;
@@ -5107,4 +5117,4 @@ declare const schemas: {
5107
5117
  };
5108
5118
  };
5109
5119
 
5110
- export { type Address, type AddressFormMessages, type AddressFormValues, type CategoryFilterParams as AdminCategoryFilterParams, type Product as AdminProduct, type ProductCategory as AdminProductCategory, type ProductFilterParams as AdminProductFilterParams, type BillingAddress, type BillingAddressFormValues, type Coupon, type CouponFilterParams, type Customer, type CustomerFilterParams, type Order, type OrderFilterParams, type PaginationMeta, type PaginationParams, type PaymentMethod, type PaymentMethodFilterParams, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, WooCommerceDataValidationError, WooCommerceDataValidationErrorOptions, addressSchema, categoryFilterSchema as adminCategoryFilterSchema, couponFilterSchema as adminCouponFilterSchema, couponSchema as adminCouponSchema, orderFilterSchema as adminOrderFilterSchema, orderSchema as adminOrderSchema, productCategorySchema as adminProductCategorySchema, productFilterSchema as adminProductFilterSchema, productSchema as adminProductSchema, billingAddressSchemaMandatory as billingAddressSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, makeAddressFormSchema, makeBillingAddressFormSchema, paginationMetaSchema, paginationParamsSchema, paymentMethodFilterSchema, paymentMethodSchema, schemas, updateCustomerSchema, wcBaseParamsSchema, wcErrorResponseSchema, wcPaginationMetaSchema };
5120
+ export { type Address, type AddressFormMessages, type AddressFormValues, type CategoryFilterParams as AdminCategoryFilterParams, type Product as AdminProduct, type ProductCategory as AdminProductCategory, type ProductFilterParams as AdminProductFilterParams, type BillingAddress, type BillingAddressFormValues, type Coupon, type CouponFilterParams, type Customer, type CustomerFilterParams, type Order, type OrderFilterParams, type PaginationMeta, type PaginationParams, type PaymentMethod, type PaymentMethodFilterParams, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, WooCommerceDataValidationError, WooCommerceDataValidationErrorOptions, addressSchema, categoryFilterSchema as adminCategoryFilterSchema, couponFilterSchema as adminCouponFilterSchema, couponSchema as adminCouponSchema, orderFilterSchema as adminOrderFilterSchema, orderSchema as adminOrderSchema, productCategorySchema as adminProductCategorySchema, productFilterSchema as adminProductFilterSchema, productSchema as adminProductSchema, billingAddressSchemaMandatory as billingAddressSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, makeAddressFormSchema, makeBillingAddressFormSchema, mapWooCommerceCode, paginationMetaSchema, paginationParamsSchema, paymentMethodFilterSchema, paymentMethodSchema, schemas, updateCustomerSchema, wcBaseParamsSchema, wcErrorResponseSchema, wcPaginationMetaSchema };