@typewoo/sdk 3.0.0-alpha.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 +18 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/bus/event.bus.d.ts +38 -0
- package/dist/lib/bus/event.bus.d.ts.map +1 -0
- package/dist/lib/bus/event.bus.js +93 -0
- package/dist/lib/bus/event.bus.js.map +1 -0
- package/dist/lib/configs/index.d.ts +2 -0
- package/dist/lib/configs/index.d.ts.map +1 -0
- package/dist/lib/configs/index.js +2 -0
- package/dist/lib/configs/index.js.map +1 -0
- package/dist/lib/configs/sdk.config.d.ts +50 -0
- package/dist/lib/configs/sdk.config.d.ts.map +1 -0
- package/dist/lib/configs/sdk.config.js +2 -0
- package/dist/lib/configs/sdk.config.js.map +1 -0
- package/dist/lib/configs/simple.jwt.login.config.js +2 -0
- package/dist/lib/configs/simple.jwt.login.config.js.map +1 -0
- package/dist/lib/interceptors/admin-auth.interceptor.d.ts +3 -0
- package/dist/lib/interceptors/admin-auth.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/admin-auth.interceptor.js +20 -0
- package/dist/lib/interceptors/admin-auth.interceptor.js.map +1 -0
- package/dist/lib/interceptors/api-key.interceptor.d.ts +7 -0
- package/dist/lib/interceptors/api-key.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/api-key.interceptor.js +18 -0
- package/dist/lib/interceptors/api-key.interceptor.js.map +1 -0
- package/dist/lib/interceptors/cart.token.interceptor.d.ts +6 -0
- package/dist/lib/interceptors/cart.token.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/cart.token.interceptor.js +35 -0
- package/dist/lib/interceptors/cart.token.interceptor.js.map +1 -0
- package/dist/lib/interceptors/nonce.interceptor.d.ts +6 -0
- package/dist/lib/interceptors/nonce.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/nonce.interceptor.js +34 -0
- package/dist/lib/interceptors/nonce.interceptor.js.map +1 -0
- package/dist/lib/interceptors/refresh.token.interceptor.d.ts +5 -0
- package/dist/lib/interceptors/refresh.token.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/refresh.token.interceptor.js +130 -0
- package/dist/lib/interceptors/refresh.token.interceptor.js.map +1 -0
- package/dist/lib/interceptors/token.interceptor.d.ts +3 -0
- package/dist/lib/interceptors/token.interceptor.d.ts.map +1 -0
- package/dist/lib/interceptors/token.interceptor.js +21 -0
- package/dist/lib/interceptors/token.interceptor.js.map +1 -0
- package/dist/lib/plugins/index.d.ts +2 -0
- package/dist/lib/plugins/index.d.ts.map +1 -0
- package/dist/lib/plugins/index.js +2 -0
- package/dist/lib/plugins/index.js.map +1 -0
- package/dist/lib/plugins/plugin.d.ts +17 -0
- package/dist/lib/plugins/plugin.d.ts.map +1 -0
- package/dist/lib/plugins/plugin.js +2 -0
- package/dist/lib/plugins/plugin.js.map +1 -0
- package/dist/lib/sdk.d.ts +32 -0
- package/dist/lib/sdk.d.ts.map +1 -0
- package/dist/lib/sdk.events.d.ts +30 -0
- package/dist/lib/sdk.events.d.ts.map +1 -0
- package/dist/lib/sdk.events.js +2 -0
- package/dist/lib/sdk.events.js.map +1 -0
- package/dist/lib/sdk.js +89 -0
- package/dist/lib/sdk.js.map +1 -0
- package/dist/lib/services/admin/coupon.service.d.ts +48 -0
- package/dist/lib/services/admin/coupon.service.d.ts.map +1 -0
- package/dist/lib/services/admin/coupon.service.js +81 -0
- package/dist/lib/services/admin/coupon.service.js.map +1 -0
- package/dist/lib/services/admin/customer.service.d.ts +48 -0
- package/dist/lib/services/admin/customer.service.d.ts.map +1 -0
- package/dist/lib/services/admin/customer.service.js +81 -0
- package/dist/lib/services/admin/customer.service.js.map +1 -0
- package/dist/lib/services/admin/data.service.d.ts +36 -0
- package/dist/lib/services/admin/data.service.d.ts.map +1 -0
- package/dist/lib/services/admin/data.service.js +86 -0
- package/dist/lib/services/admin/data.service.js.map +1 -0
- package/dist/lib/services/admin/order.service.d.ts +113 -0
- package/dist/lib/services/admin/order.service.d.ts.map +1 -0
- package/dist/lib/services/admin/order.service.js +226 -0
- package/dist/lib/services/admin/order.service.js.map +1 -0
- package/dist/lib/services/admin/payment-gateway.service.d.ts +24 -0
- package/dist/lib/services/admin/payment-gateway.service.d.ts.map +1 -0
- package/dist/lib/services/admin/payment-gateway.service.js +50 -0
- package/dist/lib/services/admin/payment-gateway.service.js.map +1 -0
- package/dist/lib/services/admin/product-attribute-term.service.d.ts +47 -0
- package/dist/lib/services/admin/product-attribute-term.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-attribute-term.service.js +83 -0
- package/dist/lib/services/admin/product-attribute-term.service.js.map +1 -0
- package/dist/lib/services/admin/product-attribute.service.d.ts +48 -0
- package/dist/lib/services/admin/product-attribute.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-attribute.service.js +81 -0
- package/dist/lib/services/admin/product-attribute.service.js.map +1 -0
- package/dist/lib/services/admin/product-brand.service.d.ts +48 -0
- package/dist/lib/services/admin/product-brand.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-brand.service.js +81 -0
- package/dist/lib/services/admin/product-brand.service.js.map +1 -0
- package/dist/lib/services/admin/product-category.service.d.ts +48 -0
- package/dist/lib/services/admin/product-category.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-category.service.js +81 -0
- package/dist/lib/services/admin/product-category.service.js.map +1 -0
- package/dist/lib/services/admin/product-review.service.d.ts +48 -0
- package/dist/lib/services/admin/product-review.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-review.service.js +81 -0
- package/dist/lib/services/admin/product-review.service.js.map +1 -0
- package/dist/lib/services/admin/product-tag.service.d.ts +48 -0
- package/dist/lib/services/admin/product-tag.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product-tag.service.js +81 -0
- package/dist/lib/services/admin/product-tag.service.js.map +1 -0
- package/dist/lib/services/admin/product.service.d.ts +88 -0
- package/dist/lib/services/admin/product.service.d.ts.map +1 -0
- package/dist/lib/services/admin/product.service.js +167 -0
- package/dist/lib/services/admin/product.service.js.map +1 -0
- package/dist/lib/services/admin/refund.service.d.ts +17 -0
- package/dist/lib/services/admin/refund.service.d.ts.map +1 -0
- package/dist/lib/services/admin/refund.service.js +30 -0
- package/dist/lib/services/admin/refund.service.js.map +1 -0
- package/dist/lib/services/admin/report.service.d.ts +52 -0
- package/dist/lib/services/admin/report.service.d.ts.map +1 -0
- package/dist/lib/services/admin/report.service.js +135 -0
- package/dist/lib/services/admin/report.service.js.map +1 -0
- package/dist/lib/services/admin/setting.service.d.ts +49 -0
- package/dist/lib/services/admin/setting.service.d.ts.map +1 -0
- package/dist/lib/services/admin/setting.service.js +75 -0
- package/dist/lib/services/admin/setting.service.js.map +1 -0
- package/dist/lib/services/admin/shipping-class.service.d.ts +48 -0
- package/dist/lib/services/admin/shipping-class.service.d.ts.map +1 -0
- package/dist/lib/services/admin/shipping-class.service.js +81 -0
- package/dist/lib/services/admin/shipping-class.service.js.map +1 -0
- package/dist/lib/services/admin/shipping-method.service.d.ts +20 -0
- package/dist/lib/services/admin/shipping-method.service.d.ts.map +1 -0
- package/dist/lib/services/admin/shipping-method.service.js +40 -0
- package/dist/lib/services/admin/shipping-method.service.js.map +1 -0
- package/dist/lib/services/admin/shipping-zone.service.d.ts +60 -0
- package/dist/lib/services/admin/shipping-zone.service.d.ts.map +1 -0
- package/dist/lib/services/admin/shipping-zone.service.js +146 -0
- package/dist/lib/services/admin/shipping-zone.service.js.map +1 -0
- package/dist/lib/services/admin/system-status.service.d.ts +16 -0
- package/dist/lib/services/admin/system-status.service.d.ts.map +1 -0
- package/dist/lib/services/admin/system-status.service.js +27 -0
- package/dist/lib/services/admin/system-status.service.js.map +1 -0
- package/dist/lib/services/admin/tax.service.d.ts +72 -0
- package/dist/lib/services/admin/tax.service.d.ts.map +1 -0
- package/dist/lib/services/admin/tax.service.js +134 -0
- package/dist/lib/services/admin/tax.service.js.map +1 -0
- package/dist/lib/services/admin/webhook.service.d.ts +48 -0
- package/dist/lib/services/admin/webhook.service.d.ts.map +1 -0
- package/dist/lib/services/admin/webhook.service.js +81 -0
- package/dist/lib/services/admin/webhook.service.js.map +1 -0
- package/dist/lib/services/admin.service.d.ts +140 -0
- package/dist/lib/services/admin.service.d.ts.map +1 -0
- package/dist/lib/services/admin.service.js +228 -0
- package/dist/lib/services/admin.service.js.map +1 -0
- package/dist/lib/services/api.d.ts +5 -0
- package/dist/lib/services/api.d.ts.map +1 -0
- package/dist/lib/services/api.js +22 -0
- package/dist/lib/services/api.js.map +1 -0
- package/dist/lib/services/auth/auth.service.d.ts +15 -0
- package/dist/lib/services/auth/auth.service.d.ts.map +1 -0
- package/dist/lib/services/auth/auth.service.js +100 -0
- package/dist/lib/services/auth/auth.service.js.map +1 -0
- package/dist/lib/services/base.service.d.ts +13 -0
- package/dist/lib/services/base.service.d.ts.map +1 -0
- package/dist/lib/services/base.service.js +10 -0
- package/dist/lib/services/base.service.js.map +1 -0
- package/dist/lib/services/store/batch.service.d.ts +20 -0
- package/dist/lib/services/store/batch.service.d.ts.map +1 -0
- package/dist/lib/services/store/batch.service.js +35 -0
- package/dist/lib/services/store/batch.service.js.map +1 -0
- package/dist/lib/services/store/cart.coupon.service.d.ts +38 -0
- package/dist/lib/services/store/cart.coupon.service.d.ts.map +1 -0
- package/dist/lib/services/store/cart.coupon.service.js +88 -0
- package/dist/lib/services/store/cart.coupon.service.js.map +1 -0
- package/dist/lib/services/store/cart.extensions.service.d.ts +19 -0
- package/dist/lib/services/store/cart.extensions.service.d.ts.map +1 -0
- package/dist/lib/services/store/cart.extensions.service.js +34 -0
- package/dist/lib/services/store/cart.extensions.service.js.map +1 -0
- package/dist/lib/services/store/cart.item.service.d.ts +45 -0
- package/dist/lib/services/store/cart.item.service.d.ts.map +1 -0
- package/dist/lib/services/store/cart.item.service.js +115 -0
- package/dist/lib/services/store/cart.item.service.js.map +1 -0
- package/dist/lib/services/store/cart.service.d.ts +61 -0
- package/dist/lib/services/store/cart.service.d.ts.map +1 -0
- package/dist/lib/services/store/cart.service.js +172 -0
- package/dist/lib/services/store/cart.service.js.map +1 -0
- package/dist/lib/services/store/checkout.order.service.d.ts +19 -0
- package/dist/lib/services/store/checkout.order.service.d.ts.map +1 -0
- package/dist/lib/services/store/checkout.order.service.js +29 -0
- package/dist/lib/services/store/checkout.order.service.js.map +1 -0
- package/dist/lib/services/store/checkout.service.d.ts +30 -0
- package/dist/lib/services/store/checkout.service.d.ts.map +1 -0
- package/dist/lib/services/store/checkout.service.js +57 -0
- package/dist/lib/services/store/checkout.service.js.map +1 -0
- package/dist/lib/services/store/order.service.d.ts +20 -0
- package/dist/lib/services/store/order.service.d.ts.map +1 -0
- package/dist/lib/services/store/order.service.js +33 -0
- package/dist/lib/services/store/order.service.js.map +1 -0
- package/dist/lib/services/store/product.attribute.service.d.ts +21 -0
- package/dist/lib/services/store/product.attribute.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.attribute.service.js +38 -0
- package/dist/lib/services/store/product.attribute.service.js.map +1 -0
- package/dist/lib/services/store/product.attribute.term.service.d.ts +17 -0
- package/dist/lib/services/store/product.attribute.term.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.attribute.term.service.js +30 -0
- package/dist/lib/services/store/product.attribute.term.service.js.map +1 -0
- package/dist/lib/services/store/product.brand.service.d.ts +21 -0
- package/dist/lib/services/store/product.brand.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.brand.service.js +40 -0
- package/dist/lib/services/store/product.brand.service.js.map +1 -0
- package/dist/lib/services/store/product.category.service.d.ts +22 -0
- package/dist/lib/services/store/product.category.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.category.service.js +41 -0
- package/dist/lib/services/store/product.category.service.js.map +1 -0
- package/dist/lib/services/store/product.collection.data.service.d.ts +20 -0
- package/dist/lib/services/store/product.collection.data.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.collection.data.service.js +31 -0
- package/dist/lib/services/store/product.collection.data.service.js.map +1 -0
- package/dist/lib/services/store/product.review.service.d.ts +18 -0
- package/dist/lib/services/store/product.review.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.review.service.js +31 -0
- package/dist/lib/services/store/product.review.service.js.map +1 -0
- package/dist/lib/services/store/product.service.d.ts +28 -0
- package/dist/lib/services/store/product.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.service.js +62 -0
- package/dist/lib/services/store/product.service.js.map +1 -0
- package/dist/lib/services/store/product.tag.service.d.ts +16 -0
- package/dist/lib/services/store/product.tag.service.d.ts.map +1 -0
- package/dist/lib/services/store/product.tag.service.js +29 -0
- package/dist/lib/services/store/product.tag.service.js.map +1 -0
- package/dist/lib/services/store.service.d.ts +104 -0
- package/dist/lib/services/store.service.d.ts.map +1 -0
- package/dist/lib/services/store.service.js +133 -0
- package/dist/lib/services/store.service.js.map +1 -0
- package/dist/lib/tests/config.tests.d.ts +11 -0
- package/dist/lib/tests/config.tests.d.ts.map +1 -0
- package/dist/lib/tests/config.tests.js +12 -0
- package/dist/lib/tests/config.tests.js.map +1 -0
- package/dist/lib/types/admin/attribute.types.d.ts +123 -0
- package/dist/lib/types/admin/attribute.types.d.ts.map +1 -0
- package/dist/lib/types/admin/attribute.types.js +93 -0
- package/dist/lib/types/admin/attribute.types.js.map +1 -0
- package/dist/lib/types/admin/common.types.d.ts +100 -0
- package/dist/lib/types/admin/common.types.d.ts.map +1 -0
- package/dist/lib/types/admin/common.types.js +77 -0
- package/dist/lib/types/admin/common.types.js.map +1 -0
- package/dist/lib/types/admin/coupon.types.d.ts +123 -0
- package/dist/lib/types/admin/coupon.types.d.ts.map +1 -0
- package/dist/lib/types/admin/coupon.types.js +211 -0
- package/dist/lib/types/admin/coupon.types.js.map +1 -0
- package/dist/lib/types/admin/customer.types.d.ts +134 -0
- package/dist/lib/types/admin/customer.types.d.ts.map +1 -0
- package/dist/lib/types/admin/customer.types.js +99 -0
- package/dist/lib/types/admin/customer.types.js.map +1 -0
- package/dist/lib/types/admin/data.types.d.ts +65 -0
- package/dist/lib/types/admin/data.types.d.ts.map +1 -0
- package/dist/lib/types/admin/data.types.js +49 -0
- package/dist/lib/types/admin/data.types.js.map +1 -0
- package/dist/lib/types/admin/index.d.ts +24 -0
- package/dist/lib/types/admin/index.d.ts.map +1 -0
- package/dist/lib/types/admin/index.js +23 -0
- package/dist/lib/types/admin/index.js.map +1 -0
- package/dist/lib/types/admin/order.types.d.ts +710 -0
- package/dist/lib/types/admin/order.types.d.ts.map +1 -0
- package/dist/lib/types/admin/order.types.js +365 -0
- package/dist/lib/types/admin/order.types.js.map +1 -0
- package/dist/lib/types/admin/payment-gateway.types.d.ts +44 -0
- package/dist/lib/types/admin/payment-gateway.types.d.ts.map +1 -0
- package/dist/lib/types/admin/payment-gateway.types.js +34 -0
- package/dist/lib/types/admin/payment-gateway.types.js.map +1 -0
- package/dist/lib/types/admin/product-brand.types.d.ts +92 -0
- package/dist/lib/types/admin/product-brand.types.d.ts.map +1 -0
- package/dist/lib/types/admin/product-brand.types.js +55 -0
- package/dist/lib/types/admin/product-brand.types.js.map +1 -0
- package/dist/lib/types/admin/product-review.types.d.ts +88 -0
- package/dist/lib/types/admin/product-review.types.d.ts.map +1 -0
- package/dist/lib/types/admin/product-review.types.js +55 -0
- package/dist/lib/types/admin/product-review.types.js.map +1 -0
- package/dist/lib/types/admin/product.types.d.ts +509 -0
- package/dist/lib/types/admin/product.types.d.ts.map +1 -0
- package/dist/lib/types/admin/product.types.js +287 -0
- package/dist/lib/types/admin/product.types.js.map +1 -0
- package/dist/lib/types/admin/refund.types.d.ts +237 -0
- package/dist/lib/types/admin/refund.types.d.ts.map +1 -0
- package/dist/lib/types/admin/refund.types.js +118 -0
- package/dist/lib/types/admin/refund.types.js.map +1 -0
- package/dist/lib/types/admin/report.types.d.ts +179 -0
- package/dist/lib/types/admin/report.types.d.ts.map +1 -0
- package/dist/lib/types/admin/report.types.js +96 -0
- package/dist/lib/types/admin/report.types.js.map +1 -0
- package/dist/lib/types/admin/setting.types.d.ts +50 -0
- package/dist/lib/types/admin/setting.types.d.ts.map +1 -0
- package/dist/lib/types/admin/setting.types.js +41 -0
- package/dist/lib/types/admin/setting.types.js.map +1 -0
- package/dist/lib/types/admin/shipping-method.types.d.ts +22 -0
- package/dist/lib/types/admin/shipping-method.types.d.ts.map +1 -0
- package/dist/lib/types/admin/shipping-method.types.js +14 -0
- package/dist/lib/types/admin/shipping-method.types.js.map +1 -0
- package/dist/lib/types/admin/shipping-zone.types.d.ts +103 -0
- package/dist/lib/types/admin/shipping-zone.types.d.ts.map +1 -0
- package/dist/lib/types/admin/shipping-zone.types.js +63 -0
- package/dist/lib/types/admin/shipping-zone.types.js.map +1 -0
- package/dist/lib/types/admin/system-status.types.d.ts +139 -0
- package/dist/lib/types/admin/system-status.types.d.ts.map +1 -0
- package/dist/lib/types/admin/system-status.types.js +133 -0
- package/dist/lib/types/admin/system-status.types.js.map +1 -0
- package/dist/lib/types/admin/tax.types.d.ts +99 -0
- package/dist/lib/types/admin/tax.types.d.ts.map +1 -0
- package/dist/lib/types/admin/tax.types.js +60 -0
- package/dist/lib/types/admin/tax.types.js.map +1 -0
- package/dist/lib/types/admin/taxonomy.types.d.ts +234 -0
- package/dist/lib/types/admin/taxonomy.types.d.ts.map +1 -0
- package/dist/lib/types/admin/taxonomy.types.js +177 -0
- package/dist/lib/types/admin/taxonomy.types.js.map +1 -0
- package/dist/lib/types/admin/webhook.types.d.ts +72 -0
- package/dist/lib/types/admin/webhook.types.d.ts.map +1 -0
- package/dist/lib/types/admin/webhook.types.js +42 -0
- package/dist/lib/types/admin/webhook.types.js.map +1 -0
- package/dist/lib/types/api.d.ts +46 -0
- package/dist/lib/types/api.d.ts.map +1 -0
- package/dist/lib/types/api.js +15 -0
- package/dist/lib/types/api.js.map +1 -0
- package/dist/lib/types/auth/index.d.ts +7 -0
- package/dist/lib/types/auth/index.d.ts.map +1 -0
- package/dist/lib/types/auth/index.js +7 -0
- package/dist/lib/types/auth/index.js.map +1 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.request.d.ts +6 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.request.d.ts.map +1 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.request.js +5 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.request.js.map +1 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.response.d.ts +7 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.response.d.ts.map +1 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.response.js +6 -0
- package/dist/lib/types/auth/one-time-token/auth.one.time.token.response.js.map +1 -0
- package/dist/lib/types/auth/one-time-token/index.d.ts +3 -0
- package/dist/lib/types/auth/one-time-token/index.d.ts.map +1 -0
- package/dist/lib/types/auth/one-time-token/index.js +3 -0
- package/dist/lib/types/auth/one-time-token/index.js.map +1 -0
- package/dist/lib/types/auth/refresh/auth.refresh.request.d.ts +6 -0
- package/dist/lib/types/auth/refresh/auth.refresh.request.d.ts.map +1 -0
- package/dist/lib/types/auth/refresh/auth.refresh.request.js +5 -0
- package/dist/lib/types/auth/refresh/auth.refresh.request.js.map +1 -0
- package/dist/lib/types/auth/refresh/index.d.ts +2 -0
- package/dist/lib/types/auth/refresh/index.d.ts.map +1 -0
- package/dist/lib/types/auth/refresh/index.js +2 -0
- package/dist/lib/types/auth/refresh/index.js.map +1 -0
- package/dist/lib/types/auth/revoke/auth.revoke.request.d.ts +9 -0
- package/dist/lib/types/auth/revoke/auth.revoke.request.d.ts.map +1 -0
- package/dist/lib/types/auth/revoke/auth.revoke.request.js +5 -0
- package/dist/lib/types/auth/revoke/auth.revoke.request.js.map +1 -0
- package/dist/lib/types/auth/revoke/auth.revoke.response.d.ts +8 -0
- package/dist/lib/types/auth/revoke/auth.revoke.response.d.ts.map +1 -0
- package/dist/lib/types/auth/revoke/auth.revoke.response.js +7 -0
- package/dist/lib/types/auth/revoke/auth.revoke.response.js.map +1 -0
- package/dist/lib/types/auth/revoke/index.d.ts +3 -0
- package/dist/lib/types/auth/revoke/index.d.ts.map +1 -0
- package/dist/lib/types/auth/revoke/index.js +3 -0
- package/dist/lib/types/auth/revoke/index.js.map +1 -0
- package/dist/lib/types/auth/status/auth.status.response.d.ts +18 -0
- package/dist/lib/types/auth/status/auth.status.response.d.ts.map +1 -0
- package/dist/lib/types/auth/status/auth.status.response.js +16 -0
- package/dist/lib/types/auth/status/auth.status.response.js.map +1 -0
- package/dist/lib/types/auth/status/index.d.ts +2 -0
- package/dist/lib/types/auth/status/index.d.ts.map +1 -0
- package/dist/lib/types/auth/status/index.js +2 -0
- package/dist/lib/types/auth/status/index.js.map +1 -0
- package/dist/lib/types/auth/token/auth.token.request.d.ts +9 -0
- package/dist/lib/types/auth/token/auth.token.request.d.ts.map +1 -0
- package/dist/lib/types/auth/token/auth.token.request.js +8 -0
- package/dist/lib/types/auth/token/auth.token.request.js.map +1 -0
- package/dist/lib/types/auth/token/auth.token.response.d.ts +16 -0
- package/dist/lib/types/auth/token/auth.token.response.d.ts.map +1 -0
- package/dist/lib/types/auth/token/auth.token.response.js +15 -0
- package/dist/lib/types/auth/token/auth.token.response.js.map +1 -0
- package/dist/lib/types/auth/token/index.d.ts +3 -0
- package/dist/lib/types/auth/token/index.d.ts.map +1 -0
- package/dist/lib/types/auth/token/index.js +3 -0
- package/dist/lib/types/auth/token/index.js.map +1 -0
- package/dist/lib/types/auth/validate/auth.validate.response.d.ts +16 -0
- package/dist/lib/types/auth/validate/auth.validate.response.d.ts.map +1 -0
- package/dist/lib/types/auth/validate/auth.validate.response.js +15 -0
- package/dist/lib/types/auth/validate/auth.validate.response.js.map +1 -0
- package/dist/lib/types/auth/validate/index.d.ts +2 -0
- package/dist/lib/types/auth/validate/index.d.ts.map +1 -0
- package/dist/lib/types/auth/validate/index.js +2 -0
- package/dist/lib/types/auth/validate/index.js.map +1 -0
- package/dist/lib/types/index.d.ts +5 -0
- package/dist/lib/types/index.d.ts.map +1 -0
- package/dist/lib/types/index.js +5 -0
- package/dist/lib/types/index.js.map +1 -0
- package/dist/lib/types/sdk.state.d.ts +195 -0
- package/dist/lib/types/sdk.state.d.ts.map +1 -0
- package/dist/lib/types/sdk.state.js +10 -0
- package/dist/lib/types/sdk.state.js.map +1 -0
- package/dist/lib/types/store/batch/batch.request.d.ts +32 -0
- package/dist/lib/types/store/batch/batch.request.d.ts.map +1 -0
- package/dist/lib/types/store/batch/batch.request.js +35 -0
- package/dist/lib/types/store/batch/batch.request.js.map +1 -0
- package/dist/lib/types/store/batch/batch.response.d.ts +16 -0
- package/dist/lib/types/store/batch/batch.response.d.ts.map +1 -0
- package/dist/lib/types/store/batch/batch.response.js +22 -0
- package/dist/lib/types/store/batch/batch.response.js.map +1 -0
- package/dist/lib/types/store/batch/index.d.ts +3 -0
- package/dist/lib/types/store/batch/index.d.ts.map +1 -0
- package/dist/lib/types/store/batch/index.js +3 -0
- package/dist/lib/types/store/batch/index.js.map +1 -0
- package/dist/lib/types/store/cart/cart.billing.response.d.ts +16 -0
- package/dist/lib/types/store/cart/cart.billing.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.billing.response.js +15 -0
- package/dist/lib/types/store/cart/cart.billing.response.js.map +1 -0
- package/dist/lib/types/store/cart/cart.customer.request.d.ts +30 -0
- package/dist/lib/types/store/cart/cart.customer.request.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.customer.request.js +29 -0
- package/dist/lib/types/store/cart/cart.customer.request.js.map +1 -0
- package/dist/lib/types/store/cart/cart.response.d.ts +189 -0
- package/dist/lib/types/store/cart/cart.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.response.js +27 -0
- package/dist/lib/types/store/cart/cart.response.js.map +1 -0
- package/dist/lib/types/store/cart/cart.shipping.rate.response.d.ts +42 -0
- package/dist/lib/types/store/cart/cart.shipping.rate.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.shipping.rate.response.js +41 -0
- package/dist/lib/types/store/cart/cart.shipping.rate.response.js.map +1 -0
- package/dist/lib/types/store/cart/cart.shipping.response.d.ts +15 -0
- package/dist/lib/types/store/cart/cart.shipping.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.shipping.response.js +14 -0
- package/dist/lib/types/store/cart/cart.shipping.response.js.map +1 -0
- package/dist/lib/types/store/cart/cart.total.response.d.ts +27 -0
- package/dist/lib/types/store/cart/cart.total.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart/cart.total.response.js +26 -0
- package/dist/lib/types/store/cart/cart.total.response.js.map +1 -0
- package/dist/lib/types/store/cart/index.d.ts +7 -0
- package/dist/lib/types/store/cart/index.d.ts.map +1 -0
- package/dist/lib/types/store/cart/index.js +7 -0
- package/dist/lib/types/store/cart/index.js.map +1 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.response.d.ts +18 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.response.js +8 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.response.js.map +1 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.total.response.d.ts +14 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.total.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.total.response.js +13 -0
- package/dist/lib/types/store/cart-coupon/cart.coupon.total.response.js.map +1 -0
- package/dist/lib/types/store/cart-coupon/index.d.ts +3 -0
- package/dist/lib/types/store/cart-coupon/index.d.ts.map +1 -0
- package/dist/lib/types/store/cart-coupon/index.js +3 -0
- package/dist/lib/types/store/cart-coupon/index.js.map +1 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.request.d.ts +10 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.request.d.ts.map +1 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.request.js +15 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.request.js.map +1 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.response.d.ts +12 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.response.js +23 -0
- package/dist/lib/types/store/cart-extensions/cart.extensions.response.js.map +1 -0
- package/dist/lib/types/store/cart-extensions/index.d.ts +3 -0
- package/dist/lib/types/store/cart-extensions/index.d.ts.map +1 -0
- package/dist/lib/types/store/cart-extensions/index.js +3 -0
- package/dist/lib/types/store/cart-extensions/index.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.add.request.d.ts +8 -0
- package/dist/lib/types/store/cart-item/cart.item.add.request.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.add.request.js +16 -0
- package/dist/lib/types/store/cart-item/cart.item.add.request.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.edit.request.d.ts +7 -0
- package/dist/lib/types/store/cart-item/cart.item.edit.request.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.edit.request.js +12 -0
- package/dist/lib/types/store/cart-item/cart.item.edit.request.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.price.response.d.ts +22 -0
- package/dist/lib/types/store/cart-item/cart.item.price.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.price.response.js +21 -0
- package/dist/lib/types/store/cart-item/cart.item.price.response.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.quantity.limits.response.d.ts +9 -0
- package/dist/lib/types/store/cart-item/cart.item.quantity.limits.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.quantity.limits.response.js +8 -0
- package/dist/lib/types/store/cart-item/cart.item.quantity.limits.response.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.response.d.ts +73 -0
- package/dist/lib/types/store/cart-item/cart.item.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.response.js +30 -0
- package/dist/lib/types/store/cart-item/cart.item.response.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.total.response.d.ts +16 -0
- package/dist/lib/types/store/cart-item/cart.item.total.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.total.response.js +15 -0
- package/dist/lib/types/store/cart-item/cart.item.total.response.js.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.variation.response.d.ts +8 -0
- package/dist/lib/types/store/cart-item/cart.item.variation.response.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/cart.item.variation.response.js +7 -0
- package/dist/lib/types/store/cart-item/cart.item.variation.response.js.map +1 -0
- package/dist/lib/types/store/cart-item/index.d.ts +8 -0
- package/dist/lib/types/store/cart-item/index.d.ts.map +1 -0
- package/dist/lib/types/store/cart-item/index.js +8 -0
- package/dist/lib/types/store/cart-item/index.js.map +1 -0
- package/dist/lib/types/store/checkout/checkout.billing.response.d.ts +16 -0
- package/dist/lib/types/store/checkout/checkout.billing.response.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/checkout.billing.response.js +15 -0
- package/dist/lib/types/store/checkout/checkout.billing.response.js.map +1 -0
- package/dist/lib/types/store/checkout/checkout.create.request.d.ts +38 -0
- package/dist/lib/types/store/checkout/checkout.create.request.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/checkout.create.request.js +36 -0
- package/dist/lib/types/store/checkout/checkout.create.request.js.map +1 -0
- package/dist/lib/types/store/checkout/checkout.response.d.ts +44 -0
- package/dist/lib/types/store/checkout/checkout.response.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/checkout.response.js +22 -0
- package/dist/lib/types/store/checkout/checkout.response.js.map +1 -0
- package/dist/lib/types/store/checkout/checkout.shipping.d.ts +15 -0
- package/dist/lib/types/store/checkout/checkout.shipping.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/checkout.shipping.js +14 -0
- package/dist/lib/types/store/checkout/checkout.shipping.js.map +1 -0
- package/dist/lib/types/store/checkout/checkout.update.request.d.ts +8 -0
- package/dist/lib/types/store/checkout/checkout.update.request.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/checkout.update.request.js +16 -0
- package/dist/lib/types/store/checkout/checkout.update.request.js.map +1 -0
- package/dist/lib/types/store/checkout/index.d.ts +6 -0
- package/dist/lib/types/store/checkout/index.d.ts.map +1 -0
- package/dist/lib/types/store/checkout/index.js +6 -0
- package/dist/lib/types/store/checkout/index.js.map +1 -0
- package/dist/lib/types/store/error.response.d.ts +10 -0
- package/dist/lib/types/store/error.response.d.ts.map +1 -0
- package/dist/lib/types/store/error.response.js +9 -0
- package/dist/lib/types/store/error.response.js.map +1 -0
- package/dist/lib/types/store/image.response.d.ts +12 -0
- package/dist/lib/types/store/image.response.d.ts.map +1 -0
- package/dist/lib/types/store/image.response.js +11 -0
- package/dist/lib/types/store/image.response.js.map +1 -0
- package/dist/lib/types/store/index.d.ts +19 -0
- package/dist/lib/types/store/index.d.ts.map +1 -0
- package/dist/lib/types/store/index.js +19 -0
- package/dist/lib/types/store/index.js.map +1 -0
- package/dist/lib/types/store/order/index.d.ts +7 -0
- package/dist/lib/types/store/order/index.d.ts.map +1 -0
- package/dist/lib/types/store/order/index.js +7 -0
- package/dist/lib/types/store/order/index.js.map +1 -0
- package/dist/lib/types/store/order/order.billing.response.d.ts +16 -0
- package/dist/lib/types/store/order/order.billing.response.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.billing.response.js +15 -0
- package/dist/lib/types/store/order/order.billing.response.js.map +1 -0
- package/dist/lib/types/store/order/order.coupon.response.d.ts +17 -0
- package/dist/lib/types/store/order/order.coupon.response.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.coupon.response.js +16 -0
- package/dist/lib/types/store/order/order.coupon.response.js.map +1 -0
- package/dist/lib/types/store/order/order.request.d.ts +37 -0
- package/dist/lib/types/store/order/order.request.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.request.js +35 -0
- package/dist/lib/types/store/order/order.request.js.map +1 -0
- package/dist/lib/types/store/order/order.response.d.ts +141 -0
- package/dist/lib/types/store/order/order.response.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.response.js +21 -0
- package/dist/lib/types/store/order/order.response.js.map +1 -0
- package/dist/lib/types/store/order/order.shipping.response.d.ts +15 -0
- package/dist/lib/types/store/order/order.shipping.response.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.shipping.response.js +14 -0
- package/dist/lib/types/store/order/order.shipping.response.js.map +1 -0
- package/dist/lib/types/store/order/order.total.response.d.ts +18 -0
- package/dist/lib/types/store/order/order.total.response.d.ts.map +1 -0
- package/dist/lib/types/store/order/order.total.response.js +17 -0
- package/dist/lib/types/store/order/order.total.response.js.map +1 -0
- package/dist/lib/types/store/paginated.d.ts +8 -0
- package/dist/lib/types/store/paginated.d.ts.map +1 -0
- package/dist/lib/types/store/paginated.js +17 -0
- package/dist/lib/types/store/paginated.js.map +1 -0
- package/dist/lib/types/store/product/index.d.ts +4 -0
- package/dist/lib/types/store/product/index.d.ts.map +1 -0
- package/dist/lib/types/store/product/index.js +4 -0
- package/dist/lib/types/store/product/index.js.map +1 -0
- package/dist/lib/types/store/product/product.price.response.d.ts +16 -0
- package/dist/lib/types/store/product/product.price.response.d.ts.map +1 -0
- package/dist/lib/types/store/product/product.price.response.js +15 -0
- package/dist/lib/types/store/product/product.price.response.js.map +1 -0
- package/dist/lib/types/store/product/product.request.d.ts +94 -0
- package/dist/lib/types/store/product/product.request.d.ts.map +1 -0
- package/dist/lib/types/store/product/product.request.js +167 -0
- package/dist/lib/types/store/product/product.request.js.map +1 -0
- package/dist/lib/types/store/product/product.response.d.ts +82 -0
- package/dist/lib/types/store/product/product.response.d.ts.map +1 -0
- package/dist/lib/types/store/product/product.response.js +63 -0
- package/dist/lib/types/store/product/product.response.js.map +1 -0
- package/dist/lib/types/store/product-attribute/index.d.ts +2 -0
- package/dist/lib/types/store/product-attribute/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-attribute/index.js +2 -0
- package/dist/lib/types/store/product-attribute/index.js.map +1 -0
- package/dist/lib/types/store/product-attribute/product.attribute.response.d.ts +11 -0
- package/dist/lib/types/store/product-attribute/product.attribute.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-attribute/product.attribute.response.js +10 -0
- package/dist/lib/types/store/product-attribute/product.attribute.response.js.map +1 -0
- package/dist/lib/types/store/product-attribute-term/index.d.ts +3 -0
- package/dist/lib/types/store/product-attribute-term/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-attribute-term/index.js +3 -0
- package/dist/lib/types/store/product-attribute-term/index.js.map +1 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.request.d.ts +18 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.request.d.ts.map +1 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.request.js +18 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.request.js.map +1 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.response.d.ts +9 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.response.js +8 -0
- package/dist/lib/types/store/product-attribute-term/product.attribute.term.response.js.map +1 -0
- package/dist/lib/types/store/product-brand/index.d.ts +2 -0
- package/dist/lib/types/store/product-brand/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-brand/index.js +2 -0
- package/dist/lib/types/store/product-brand/index.js.map +1 -0
- package/dist/lib/types/store/product-brand/product.brand.response.d.ts +22 -0
- package/dist/lib/types/store/product-brand/product.brand.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-brand/product.brand.response.js +14 -0
- package/dist/lib/types/store/product-brand/product.brand.response.js.map +1 -0
- package/dist/lib/types/store/product-category/index.d.ts +3 -0
- package/dist/lib/types/store/product-category/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-category/index.js +3 -0
- package/dist/lib/types/store/product-category/index.js.map +1 -0
- package/dist/lib/types/store/product-category/product.category.request.d.ts +8 -0
- package/dist/lib/types/store/product-category/product.category.request.d.ts.map +1 -0
- package/dist/lib/types/store/product-category/product.category.request.js +3 -0
- package/dist/lib/types/store/product-category/product.category.request.js.map +1 -0
- package/dist/lib/types/store/product-category/product.category.response.d.ts +22 -0
- package/dist/lib/types/store/product-category/product.category.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-category/product.category.response.js +14 -0
- package/dist/lib/types/store/product-category/product.category.response.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/index.d.ts +7 -0
- package/dist/lib/types/store/product-collection-data/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/index.js +7 -0
- package/dist/lib/types/store/product-collection-data/index.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.attribute.counts.response.d.ts +7 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.attribute.counts.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.attribute.counts.response.js +6 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.attribute.counts.response.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.price.range.response.d.ts +14 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.price.range.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.price.range.response.js +13 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.price.range.response.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.rating.counts.response.d.ts +7 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.rating.counts.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.rating.counts.response.js +6 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.rating.counts.response.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.request.d.ts +13 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.request.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.request.js +36 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.request.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.response.d.ts +28 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.response.js +12 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.response.js.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.taxonomy.counts.response.d.ts +7 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.taxonomy.counts.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.taxonomy.counts.response.js +6 -0
- package/dist/lib/types/store/product-collection-data/product.collection.data.taxonomy.counts.response.js.map +1 -0
- package/dist/lib/types/store/product-review/index.d.ts +3 -0
- package/dist/lib/types/store/product-review/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-review/index.js +3 -0
- package/dist/lib/types/store/product-review/index.js.map +1 -0
- package/dist/lib/types/store/product-review/product.review.request.d.ts +21 -0
- package/dist/lib/types/store/product-review/product.review.request.d.ts.map +1 -0
- package/dist/lib/types/store/product-review/product.review.request.js +22 -0
- package/dist/lib/types/store/product-review/product.review.request.js.map +1 -0
- package/dist/lib/types/store/product-review/product.review.response.d.ts +26 -0
- package/dist/lib/types/store/product-review/product.review.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-review/product.review.response.js +18 -0
- package/dist/lib/types/store/product-review/product.review.response.js.map +1 -0
- package/dist/lib/types/store/product-tag/index.d.ts +3 -0
- package/dist/lib/types/store/product-tag/index.d.ts.map +1 -0
- package/dist/lib/types/store/product-tag/index.js +3 -0
- package/dist/lib/types/store/product-tag/index.js.map +1 -0
- package/dist/lib/types/store/product-tag/product.tag.request.d.ts +8 -0
- package/dist/lib/types/store/product-tag/product.tag.request.d.ts.map +1 -0
- package/dist/lib/types/store/product-tag/product.tag.request.js +3 -0
- package/dist/lib/types/store/product-tag/product.tag.request.js.map +1 -0
- package/dist/lib/types/store/product-tag/product.tag.response.d.ts +11 -0
- package/dist/lib/types/store/product-tag/product.tag.response.d.ts.map +1 -0
- package/dist/lib/types/store/product-tag/product.tag.response.js +10 -0
- package/dist/lib/types/store/product-tag/product.tag.response.js.map +1 -0
- package/dist/lib/utilities/axios.utility.d.ts +9 -0
- package/dist/lib/utilities/axios.utility.d.ts.map +1 -0
- package/dist/lib/utilities/axios.utility.js +82 -0
- package/dist/lib/utilities/axios.utility.js.map +1 -0
- package/dist/lib/utilities/common.d.ts +14 -0
- package/dist/lib/utilities/common.d.ts.map +1 -0
- package/dist/lib/utilities/common.js +29 -0
- package/dist/lib/utilities/common.js.map +1 -0
- package/dist/lib/utilities/jwt.utility.d.ts +3 -0
- package/dist/lib/utilities/jwt.utility.d.ts.map +1 -0
- package/dist/lib/utilities/jwt.utility.js +15 -0
- package/dist/lib/utilities/jwt.utility.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { BaseService } from './base.service.js';
|
|
2
|
+
import { AdminProductService } from './admin/product.service.js';
|
|
3
|
+
import { AdminOrderService } from './admin/order.service.js';
|
|
4
|
+
import { AdminCustomerService } from './admin/customer.service.js';
|
|
5
|
+
import { AdminCouponService } from './admin/coupon.service.js';
|
|
6
|
+
import { AdminProductCategoryService } from './admin/product-category.service.js';
|
|
7
|
+
import { AdminProductTagService } from './admin/product-tag.service.js';
|
|
8
|
+
import { AdminShippingClassService } from './admin/shipping-class.service.js';
|
|
9
|
+
import { AdminProductAttributeService } from './admin/product-attribute.service.js';
|
|
10
|
+
import { AdminProductAttributeTermService } from './admin/product-attribute-term.service.js';
|
|
11
|
+
import { AdminProductBrandService } from './admin/product-brand.service.js';
|
|
12
|
+
import { AdminProductReviewService } from './admin/product-review.service.js';
|
|
13
|
+
import { AdminRefundService } from './admin/refund.service.js';
|
|
14
|
+
import { AdminTaxService, AdminTaxClassService } from './admin/tax.service.js';
|
|
15
|
+
import { AdminWebhookService } from './admin/webhook.service.js';
|
|
16
|
+
import { AdminSettingService } from './admin/setting.service.js';
|
|
17
|
+
import { AdminReportService } from './admin/report.service.js';
|
|
18
|
+
import { AdminShippingZoneService } from './admin/shipping-zone.service.js';
|
|
19
|
+
import { AdminPaymentGatewayService } from './admin/payment-gateway.service.js';
|
|
20
|
+
import { AdminShippingMethodService } from './admin/shipping-method.service.js';
|
|
21
|
+
import { AdminSystemStatusService } from './admin/system-status.service.js';
|
|
22
|
+
import { AdminDataService } from './admin/data.service.js';
|
|
23
|
+
/**
|
|
24
|
+
* Aggregator service for all WooCommerce REST API services
|
|
25
|
+
*
|
|
26
|
+
* Provides access to all REST API endpoints through organized service instances
|
|
27
|
+
*/
|
|
28
|
+
export declare class AdminService extends BaseService {
|
|
29
|
+
private _products?;
|
|
30
|
+
private _orders?;
|
|
31
|
+
private _customers?;
|
|
32
|
+
private _coupons?;
|
|
33
|
+
private _productCategories?;
|
|
34
|
+
private _productTags?;
|
|
35
|
+
private _shippingClasses?;
|
|
36
|
+
private _productAttributes?;
|
|
37
|
+
private _attributeTerms?;
|
|
38
|
+
private _productBrands?;
|
|
39
|
+
private _productReviews?;
|
|
40
|
+
private _refunds?;
|
|
41
|
+
private _taxes?;
|
|
42
|
+
private _taxClasses?;
|
|
43
|
+
private _webhooks?;
|
|
44
|
+
private _settings?;
|
|
45
|
+
private _reports?;
|
|
46
|
+
private _shippingZones?;
|
|
47
|
+
private _paymentGateways?;
|
|
48
|
+
private _shippingMethods?;
|
|
49
|
+
private _systemStatus?;
|
|
50
|
+
private _data?;
|
|
51
|
+
/**
|
|
52
|
+
* Access to products REST API endpoints
|
|
53
|
+
*/
|
|
54
|
+
get products(): AdminProductService;
|
|
55
|
+
/**
|
|
56
|
+
* Access to orders REST API endpoints
|
|
57
|
+
*/
|
|
58
|
+
get orders(): AdminOrderService;
|
|
59
|
+
/**
|
|
60
|
+
* Access to customers REST API endpoints
|
|
61
|
+
*/
|
|
62
|
+
get customers(): AdminCustomerService;
|
|
63
|
+
/**
|
|
64
|
+
* Access to coupons REST API endpoints
|
|
65
|
+
*/
|
|
66
|
+
get coupons(): AdminCouponService;
|
|
67
|
+
/**
|
|
68
|
+
* Access to product categories REST API endpoints
|
|
69
|
+
*/
|
|
70
|
+
get productCategories(): AdminProductCategoryService;
|
|
71
|
+
/**
|
|
72
|
+
* Access to product tags REST API endpoints
|
|
73
|
+
*/
|
|
74
|
+
get productTags(): AdminProductTagService;
|
|
75
|
+
/**
|
|
76
|
+
* Access to shipping classes REST API endpoints
|
|
77
|
+
*/
|
|
78
|
+
get shippingClasses(): AdminShippingClassService;
|
|
79
|
+
/**
|
|
80
|
+
* Access to product attributes REST API endpoints
|
|
81
|
+
*/
|
|
82
|
+
get productAttributes(): AdminProductAttributeService;
|
|
83
|
+
/**
|
|
84
|
+
* Access to attribute terms REST API endpoints
|
|
85
|
+
*/
|
|
86
|
+
get attributeTerms(): AdminProductAttributeTermService;
|
|
87
|
+
/**
|
|
88
|
+
* Access to product brands REST API endpoints
|
|
89
|
+
*/
|
|
90
|
+
get productBrands(): AdminProductBrandService;
|
|
91
|
+
/**
|
|
92
|
+
* Access to product reviews REST API endpoints
|
|
93
|
+
*/
|
|
94
|
+
get productReviews(): AdminProductReviewService;
|
|
95
|
+
/**
|
|
96
|
+
* Access to refunds REST API endpoints
|
|
97
|
+
*/
|
|
98
|
+
get refunds(): AdminRefundService;
|
|
99
|
+
/**
|
|
100
|
+
* Access to taxes REST API endpoints
|
|
101
|
+
*/
|
|
102
|
+
get taxes(): AdminTaxService;
|
|
103
|
+
/**
|
|
104
|
+
* Access to tax classes REST API endpoints
|
|
105
|
+
*/
|
|
106
|
+
get taxClasses(): AdminTaxClassService;
|
|
107
|
+
/**
|
|
108
|
+
* Access to webhooks REST API endpoints
|
|
109
|
+
*/
|
|
110
|
+
get webhooks(): AdminWebhookService;
|
|
111
|
+
/**
|
|
112
|
+
* Access to settings REST API endpoints
|
|
113
|
+
*/
|
|
114
|
+
get settings(): AdminSettingService;
|
|
115
|
+
/**
|
|
116
|
+
* Access to reports REST API endpoints
|
|
117
|
+
*/
|
|
118
|
+
get reports(): AdminReportService;
|
|
119
|
+
/**
|
|
120
|
+
* Access to shipping zones REST API endpoints
|
|
121
|
+
*/
|
|
122
|
+
get shippingZones(): AdminShippingZoneService;
|
|
123
|
+
/**
|
|
124
|
+
* Access to payment gateways REST API endpoints
|
|
125
|
+
*/
|
|
126
|
+
get paymentGateways(): AdminPaymentGatewayService;
|
|
127
|
+
/**
|
|
128
|
+
* Access to shipping methods REST API endpoints
|
|
129
|
+
*/
|
|
130
|
+
get shippingMethods(): AdminShippingMethodService;
|
|
131
|
+
/**
|
|
132
|
+
* Access to system status REST API endpoints
|
|
133
|
+
*/
|
|
134
|
+
get systemStatus(): AdminSystemStatusService;
|
|
135
|
+
/**
|
|
136
|
+
* Access to data REST API endpoints (countries, currencies, continents)
|
|
137
|
+
*/
|
|
138
|
+
get data(): AdminDataService;
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=admin.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/admin.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OA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e,IAAI,0BAA0B,CAShD;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,wBAAwB,CAS3C;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,gBAAgB,CAK3B;CACF"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { BaseService } from './base.service.js';
|
|
2
|
+
import { AdminProductService } from './admin/product.service.js';
|
|
3
|
+
import { AdminOrderService } from './admin/order.service.js';
|
|
4
|
+
import { AdminCustomerService } from './admin/customer.service.js';
|
|
5
|
+
import { AdminCouponService } from './admin/coupon.service.js';
|
|
6
|
+
import { AdminProductCategoryService } from './admin/product-category.service.js';
|
|
7
|
+
import { AdminProductTagService } from './admin/product-tag.service.js';
|
|
8
|
+
import { AdminShippingClassService } from './admin/shipping-class.service.js';
|
|
9
|
+
import { AdminProductAttributeService } from './admin/product-attribute.service.js';
|
|
10
|
+
import { AdminProductAttributeTermService } from './admin/product-attribute-term.service.js';
|
|
11
|
+
import { AdminProductBrandService } from './admin/product-brand.service.js';
|
|
12
|
+
import { AdminProductReviewService } from './admin/product-review.service.js';
|
|
13
|
+
import { AdminRefundService } from './admin/refund.service.js';
|
|
14
|
+
import { AdminTaxService, AdminTaxClassService } from './admin/tax.service.js';
|
|
15
|
+
import { AdminWebhookService } from './admin/webhook.service.js';
|
|
16
|
+
import { AdminSettingService } from './admin/setting.service.js';
|
|
17
|
+
import { AdminReportService } from './admin/report.service.js';
|
|
18
|
+
import { AdminShippingZoneService } from './admin/shipping-zone.service.js';
|
|
19
|
+
import { AdminPaymentGatewayService } from './admin/payment-gateway.service.js';
|
|
20
|
+
import { AdminShippingMethodService } from './admin/shipping-method.service.js';
|
|
21
|
+
import { AdminSystemStatusService } from './admin/system-status.service.js';
|
|
22
|
+
import { AdminDataService } from './admin/data.service.js';
|
|
23
|
+
/**
|
|
24
|
+
* Aggregator service for all WooCommerce REST API services
|
|
25
|
+
*
|
|
26
|
+
* Provides access to all REST API endpoints through organized service instances
|
|
27
|
+
*/
|
|
28
|
+
export class AdminService extends BaseService {
|
|
29
|
+
/**
|
|
30
|
+
* Access to products REST API endpoints
|
|
31
|
+
*/
|
|
32
|
+
get products() {
|
|
33
|
+
if (!this._products) {
|
|
34
|
+
this._products = new AdminProductService(this.state, this.config, this.events);
|
|
35
|
+
}
|
|
36
|
+
return this._products;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Access to orders REST API endpoints
|
|
40
|
+
*/
|
|
41
|
+
get orders() {
|
|
42
|
+
if (!this._orders) {
|
|
43
|
+
this._orders = new AdminOrderService(this.state, this.config, this.events);
|
|
44
|
+
}
|
|
45
|
+
return this._orders;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Access to customers REST API endpoints
|
|
49
|
+
*/
|
|
50
|
+
get customers() {
|
|
51
|
+
if (!this._customers) {
|
|
52
|
+
this._customers = new AdminCustomerService(this.state, this.config, this.events);
|
|
53
|
+
}
|
|
54
|
+
return this._customers;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Access to coupons REST API endpoints
|
|
58
|
+
*/
|
|
59
|
+
get coupons() {
|
|
60
|
+
if (!this._coupons) {
|
|
61
|
+
this._coupons = new AdminCouponService(this.state, this.config, this.events);
|
|
62
|
+
}
|
|
63
|
+
return this._coupons;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Access to product categories REST API endpoints
|
|
67
|
+
*/
|
|
68
|
+
get productCategories() {
|
|
69
|
+
if (!this._productCategories) {
|
|
70
|
+
this._productCategories = new AdminProductCategoryService(this.state, this.config, this.events);
|
|
71
|
+
}
|
|
72
|
+
return this._productCategories;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Access to product tags REST API endpoints
|
|
76
|
+
*/
|
|
77
|
+
get productTags() {
|
|
78
|
+
if (!this._productTags) {
|
|
79
|
+
this._productTags = new AdminProductTagService(this.state, this.config, this.events);
|
|
80
|
+
}
|
|
81
|
+
return this._productTags;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Access to shipping classes REST API endpoints
|
|
85
|
+
*/
|
|
86
|
+
get shippingClasses() {
|
|
87
|
+
if (!this._shippingClasses) {
|
|
88
|
+
this._shippingClasses = new AdminShippingClassService(this.state, this.config, this.events);
|
|
89
|
+
}
|
|
90
|
+
return this._shippingClasses;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Access to product attributes REST API endpoints
|
|
94
|
+
*/
|
|
95
|
+
get productAttributes() {
|
|
96
|
+
if (!this._productAttributes) {
|
|
97
|
+
this._productAttributes = new AdminProductAttributeService(this.state, this.config, this.events);
|
|
98
|
+
}
|
|
99
|
+
return this._productAttributes;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Access to attribute terms REST API endpoints
|
|
103
|
+
*/
|
|
104
|
+
get attributeTerms() {
|
|
105
|
+
if (!this._attributeTerms) {
|
|
106
|
+
this._attributeTerms = new AdminProductAttributeTermService(this.state, this.config, this.events);
|
|
107
|
+
}
|
|
108
|
+
return this._attributeTerms;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Access to product brands REST API endpoints
|
|
112
|
+
*/
|
|
113
|
+
get productBrands() {
|
|
114
|
+
if (!this._productBrands) {
|
|
115
|
+
this._productBrands = new AdminProductBrandService(this.state, this.config, this.events);
|
|
116
|
+
}
|
|
117
|
+
return this._productBrands;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Access to product reviews REST API endpoints
|
|
121
|
+
*/
|
|
122
|
+
get productReviews() {
|
|
123
|
+
if (!this._productReviews) {
|
|
124
|
+
this._productReviews = new AdminProductReviewService(this.state, this.config, this.events);
|
|
125
|
+
}
|
|
126
|
+
return this._productReviews;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Access to refunds REST API endpoints
|
|
130
|
+
*/
|
|
131
|
+
get refunds() {
|
|
132
|
+
if (!this._refunds) {
|
|
133
|
+
this._refunds = new AdminRefundService(this.state, this.config, this.events);
|
|
134
|
+
}
|
|
135
|
+
return this._refunds;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Access to taxes REST API endpoints
|
|
139
|
+
*/
|
|
140
|
+
get taxes() {
|
|
141
|
+
if (!this._taxes) {
|
|
142
|
+
this._taxes = new AdminTaxService(this.state, this.config, this.events);
|
|
143
|
+
}
|
|
144
|
+
return this._taxes;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Access to tax classes REST API endpoints
|
|
148
|
+
*/
|
|
149
|
+
get taxClasses() {
|
|
150
|
+
if (!this._taxClasses) {
|
|
151
|
+
this._taxClasses = new AdminTaxClassService(this.state, this.config, this.events);
|
|
152
|
+
}
|
|
153
|
+
return this._taxClasses;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Access to webhooks REST API endpoints
|
|
157
|
+
*/
|
|
158
|
+
get webhooks() {
|
|
159
|
+
if (!this._webhooks) {
|
|
160
|
+
this._webhooks = new AdminWebhookService(this.state, this.config, this.events);
|
|
161
|
+
}
|
|
162
|
+
return this._webhooks;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Access to settings REST API endpoints
|
|
166
|
+
*/
|
|
167
|
+
get settings() {
|
|
168
|
+
if (!this._settings) {
|
|
169
|
+
this._settings = new AdminSettingService(this.state, this.config, this.events);
|
|
170
|
+
}
|
|
171
|
+
return this._settings;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Access to reports REST API endpoints
|
|
175
|
+
*/
|
|
176
|
+
get reports() {
|
|
177
|
+
if (!this._reports) {
|
|
178
|
+
this._reports = new AdminReportService(this.state, this.config, this.events);
|
|
179
|
+
}
|
|
180
|
+
return this._reports;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Access to shipping zones REST API endpoints
|
|
184
|
+
*/
|
|
185
|
+
get shippingZones() {
|
|
186
|
+
if (!this._shippingZones) {
|
|
187
|
+
this._shippingZones = new AdminShippingZoneService(this.state, this.config, this.events);
|
|
188
|
+
}
|
|
189
|
+
return this._shippingZones;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Access to payment gateways REST API endpoints
|
|
193
|
+
*/
|
|
194
|
+
get paymentGateways() {
|
|
195
|
+
if (!this._paymentGateways) {
|
|
196
|
+
this._paymentGateways = new AdminPaymentGatewayService(this.state, this.config, this.events);
|
|
197
|
+
}
|
|
198
|
+
return this._paymentGateways;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Access to shipping methods REST API endpoints
|
|
202
|
+
*/
|
|
203
|
+
get shippingMethods() {
|
|
204
|
+
if (!this._shippingMethods) {
|
|
205
|
+
this._shippingMethods = new AdminShippingMethodService(this.state, this.config, this.events);
|
|
206
|
+
}
|
|
207
|
+
return this._shippingMethods;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Access to system status REST API endpoints
|
|
211
|
+
*/
|
|
212
|
+
get systemStatus() {
|
|
213
|
+
if (!this._systemStatus) {
|
|
214
|
+
this._systemStatus = new AdminSystemStatusService(this.state, this.config, this.events);
|
|
215
|
+
}
|
|
216
|
+
return this._systemStatus;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Access to data REST API endpoints (countries, currencies, continents)
|
|
220
|
+
*/
|
|
221
|
+
get data() {
|
|
222
|
+
if (!this._data) {
|
|
223
|
+
this._data = new AdminDataService(this.state, this.config, this.events);
|
|
224
|
+
}
|
|
225
|
+
return this._data;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=admin.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin.service.js","sourceRoot":"","sources":["../../../src/lib/services/admin.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAA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AI,eAAe;QACjB,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC3B,IAAI,CAAC,gBAAgB,GAAG,IAAI,0BAA0B,CACpD,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,MAAM,CACZ,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,IAAI,YAAY;QACd,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,IAAI,CAAC,aAAa,GAAG,IAAI,wBAAwB,CAC/C,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,MAAM,CACZ,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,IAAI,IAAI;QACN,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAChB,IAAI,CAAC,KAAK,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1E,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
+
export declare function createHttpClient(config: AxiosRequestConfig): AxiosInstance;
|
|
3
|
+
export declare function getHttpClient(): AxiosInstance;
|
|
4
|
+
export declare const httpClient: AxiosInstance;
|
|
5
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/lib/services/api.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAIjE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,kBAAkB,GAAG,aAAa,CAI1E;AAED,wBAAgB,aAAa,IAAI,aAAa,CAO7C;AAED,eAAO,MAAM,UAAU,EAAE,aAMvB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
let _http = null;
|
|
3
|
+
export function createHttpClient(config) {
|
|
4
|
+
if (_http)
|
|
5
|
+
return _http; // idempotent
|
|
6
|
+
_http = axios.create(config);
|
|
7
|
+
return _http;
|
|
8
|
+
}
|
|
9
|
+
export function getHttpClient() {
|
|
10
|
+
if (!_http) {
|
|
11
|
+
throw new Error('httpClient not initialized. Call createHttpClient(config) first.');
|
|
12
|
+
}
|
|
13
|
+
return _http;
|
|
14
|
+
}
|
|
15
|
+
export const httpClient = new Proxy({}, {
|
|
16
|
+
get(_t, prop) {
|
|
17
|
+
const client = getHttpClient();
|
|
18
|
+
// Forward property access; TypeScript doesn't allow generic index on AxiosInstance
|
|
19
|
+
return client[prop];
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/lib/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAEjE,IAAI,KAAK,GAAyB,IAAI,CAAC;AAEvC,MAAM,UAAU,gBAAgB,CAAC,MAA0B;IACzD,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC,CAAC,aAAa;IACtC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,aAAa;IAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,kEAAkE,CACnE,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAkB,IAAI,KAAK,CAAC,EAAmB,EAAE;IACtE,GAAG,CAAC,EAAE,EAAE,IAAqB;QAC3B,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;QAC/B,mFAAmF;QACnF,OAAQ,MAAsD,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseService } from '../base.service.js';
|
|
3
|
+
import { ApiResult } from '../../types/api.js';
|
|
4
|
+
import { AuthTokenRequest, AuthTokenResponse, AuthRefreshRequest, AuthRevokeRequest, AuthRevokeResponse, AuthOneTimeTokenRequest, AuthOneTimeTokenResponse, AuthValidateResponse, AuthStatusResponse } from '../../types/index.js';
|
|
5
|
+
export declare class AuthService extends BaseService {
|
|
6
|
+
private readonly endpoint;
|
|
7
|
+
getAutoLoginUrl(ott: string, redirect: string, trackingParams?: Record<string, string | number | boolean>): Promise<string>;
|
|
8
|
+
token(body: AuthTokenRequest, options?: AxiosRequestConfig): Promise<ApiResult<AuthTokenResponse>>;
|
|
9
|
+
refreshToken(body: AuthRefreshRequest, options?: AxiosRequestConfig): Promise<ApiResult<AuthTokenResponse>>;
|
|
10
|
+
revokeToken(body?: AuthRevokeRequest, options?: AxiosRequestConfig): Promise<ApiResult<AuthRevokeResponse>>;
|
|
11
|
+
oneTimeToken(body: AuthOneTimeTokenRequest, options?: AxiosRequestConfig): Promise<ApiResult<AuthOneTimeTokenResponse>>;
|
|
12
|
+
validate(options?: AxiosRequestConfig): Promise<ApiResult<AuthValidateResponse>>;
|
|
13
|
+
status(options?: AxiosRequestConfig): Promise<ApiResult<AuthStatusResponse>>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=auth.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/auth/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EA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CAO1C"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { doGet, doPost } from '../../utilities/axios.utility.js';
|
|
3
|
+
import { BaseService } from '../base.service.js';
|
|
4
|
+
import * as qs from 'qs';
|
|
5
|
+
export class AuthService extends BaseService {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.endpoint = 'wp-json/typewoo/v1/auth';
|
|
9
|
+
}
|
|
10
|
+
getAutoLoginUrl(ott, redirect, trackingParams) {
|
|
11
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
const params = qs.stringify(Object.assign({ token: ott, redirect: redirect }, (trackingParams !== null && trackingParams !== void 0 ? trackingParams : {})));
|
|
13
|
+
const url = `${this.config.baseUrl}/${this.endpoint}/autologin`;
|
|
14
|
+
return `${url}?${params}`;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
token(body, options) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
var _a, _b, _c;
|
|
20
|
+
const url = `/${this.endpoint}/token`;
|
|
21
|
+
if ((_a = this.config.auth) === null || _a === void 0 ? void 0 : _a.revokeTokenBeforeLogin) {
|
|
22
|
+
yield this.revokeToken();
|
|
23
|
+
}
|
|
24
|
+
this.events.emit('auth:login:start');
|
|
25
|
+
const { data, error } = yield doPost(url, body, options);
|
|
26
|
+
this.events.emitIf(!!data, 'auth:login:success');
|
|
27
|
+
this.events.emitIf(!!error, 'auth:login:error', error);
|
|
28
|
+
if (!error && data) {
|
|
29
|
+
if ((_b = this.config.auth) === null || _b === void 0 ? void 0 : _b.setToken) {
|
|
30
|
+
this.state.authenticated = true;
|
|
31
|
+
this.events.emit('auth:changed', true);
|
|
32
|
+
yield this.config.auth.setToken(data.token);
|
|
33
|
+
}
|
|
34
|
+
if ((_c = this.config.auth) === null || _c === void 0 ? void 0 : _c.setRefreshToken) {
|
|
35
|
+
yield this.config.auth.setRefreshToken(data.refresh_token);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return { data: data, error };
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
refreshToken(body, options) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
var _a, _b;
|
|
44
|
+
const url = `/${this.endpoint}/refresh`;
|
|
45
|
+
this.events.emit('auth:token:refresh:start');
|
|
46
|
+
const { data, error } = yield doPost(url, body, options);
|
|
47
|
+
this.events.emitIf(!!data, 'auth:token:refresh:success');
|
|
48
|
+
this.events.emitIf(!!error, 'auth:token:refresh:error', error);
|
|
49
|
+
if (!error && data) {
|
|
50
|
+
if ((_a = this.config.auth) === null || _a === void 0 ? void 0 : _a.setToken) {
|
|
51
|
+
yield this.config.auth.setToken(data.token);
|
|
52
|
+
}
|
|
53
|
+
if ((_b = this.config.auth) === null || _b === void 0 ? void 0 : _b.setRefreshToken) {
|
|
54
|
+
yield this.config.auth.setRefreshToken(data.refresh_token);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return { data: data, error };
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
revokeToken(body, options) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
var _a, _b;
|
|
63
|
+
const url = `/${this.endpoint}/revoke`;
|
|
64
|
+
this.events.emit('auth:token:revoke:start');
|
|
65
|
+
const { data, error } = yield doPost(url, body, options);
|
|
66
|
+
this.events.emitIf(!!data, 'auth:token:revoke:success');
|
|
67
|
+
this.events.emitIf(!!error, 'auth:token:revoke:error', error);
|
|
68
|
+
if (!error) {
|
|
69
|
+
if ((_a = this.config.auth) === null || _a === void 0 ? void 0 : _a.clearToken) {
|
|
70
|
+
yield ((_b = this.config.auth) === null || _b === void 0 ? void 0 : _b.clearToken());
|
|
71
|
+
}
|
|
72
|
+
this.state.authenticated = false;
|
|
73
|
+
this.events.emit('auth:changed', false);
|
|
74
|
+
}
|
|
75
|
+
return { data: data, error };
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
oneTimeToken(body, options) {
|
|
79
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
80
|
+
const url = `/${this.endpoint}/one-time-token`;
|
|
81
|
+
const { data, error } = yield doPost(url, body, options);
|
|
82
|
+
return { data: data, error };
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
validate(options) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const url = `/${this.endpoint}/validate`;
|
|
88
|
+
const { data, error } = yield doGet(url, options);
|
|
89
|
+
return { data: data, error };
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
status(options) {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
const url = `/${this.endpoint}/status`;
|
|
95
|
+
const { data, error } = yield doGet(url, options);
|
|
96
|
+
return { data: data, error };
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=auth.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../src/lib/services/auth/auth.service.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAczB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACmB,aAAQ,GAAG,yBAAyB,CAAC;IAgJxD,CAAC;IA9IO,eAAe,CACnB,GAAW,EACX,QAAgB,EAChB,cAA0D;;YAE1D,MAAM,MAAM,GAAG,EAAE,CAAC,SAAS,iBACzB,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,QAAQ,IACf,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,EAAE,CAAC,EACzB,CAAC;YAEH,MAAM,GAAG,GAAG,G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AExE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QAC/B,CAAC;KAAA;IAEK,MAAM,CACV,OAA4B;;YAE5B,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,QAAQ,SAAS,CAAC;YAEvC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,KAAK,CAAqB,GAAG,EAAE,OAAO,CAAC,CAAC;YAEtE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QAC/B,CAAC;KAAA;CACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SdkState } from '../types/sdk.state.js';
|
|
2
|
+
import { SdkConfig } from '../configs/sdk.config.js';
|
|
3
|
+
import { EventBus } from '../bus/event.bus.js';
|
|
4
|
+
import { SdkEvent } from '../sdk.events.js';
|
|
5
|
+
export declare class BaseService {
|
|
6
|
+
protected NONCE_HEADER: string;
|
|
7
|
+
protected CART_TOKEN_HEADER: string;
|
|
8
|
+
protected readonly state: SdkState;
|
|
9
|
+
protected readonly config: SdkConfig;
|
|
10
|
+
protected readonly events: EventBus<SdkEvent>;
|
|
11
|
+
constructor(state: SdkState, config: SdkConfig, events: EventBus<SdkEvent>);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=base.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/base.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,qBAAa,WAAW;IACtB,SAAS,CAAC,YAAY,SAAW;IACjC,SAAS,CAAC,iBAAiB,SAAgB;IAE3C,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IACnC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IACrC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;gBAElC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAK3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.service.js","sourceRoot":"","sources":["../../../src/lib/services/base.service.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,WAAW;IAQtB,YAAY,KAAe,EAAE,MAAiB,EAAE,MAA0B;QAPhE,iBAAY,GAAG,OAAO,CAAC;QACvB,sBAAiB,GAAG,YAAY,CAAC;QAOzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseService } from '../base.service.js';
|
|
2
|
+
import { ApiResult } from '../../types/api.js';
|
|
3
|
+
import { BatchRequest, BatchResponse } from '../../types/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* Batch API
|
|
6
|
+
*
|
|
7
|
+
* The batch API allows you to make multiple API requests in a single HTTP request.
|
|
8
|
+
* This can be useful for performance optimization when you need to make several API calls.
|
|
9
|
+
*/
|
|
10
|
+
export declare class BatchService extends BaseService {
|
|
11
|
+
private readonly endpoint;
|
|
12
|
+
/**
|
|
13
|
+
* Execute Batch Request
|
|
14
|
+
* Process multiple API requests in a single HTTP request
|
|
15
|
+
* @param params - Batch request parameters containing individual requests
|
|
16
|
+
* @returns {BatchResponse} - Batch response containing individual results
|
|
17
|
+
*/
|
|
18
|
+
execute(params: BatchRequest): Promise<ApiResult<BatchResponse>>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=batch.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/batch.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+B;IAExD;;;;;OAKG;IACG,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;CAoBvE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { BaseService } from '../base.service.js';
|
|
3
|
+
import { doPost } from '../../utilities/axios.utility.js';
|
|
4
|
+
/**
|
|
5
|
+
* Batch API
|
|
6
|
+
*
|
|
7
|
+
* The batch API allows you to make multiple API requests in a single HTTP request.
|
|
8
|
+
* This can be useful for performance optimization when you need to make several API calls.
|
|
9
|
+
*/
|
|
10
|
+
export class BatchService extends BaseService {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.endpoint = 'wp-json/wc/store/v1/batch';
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Execute Batch Request
|
|
17
|
+
* Process multiple API requests in a single HTTP request
|
|
18
|
+
* @param params - Batch request parameters containing individual requests
|
|
19
|
+
* @returns {BatchResponse} - Batch response containing individual results
|
|
20
|
+
*/
|
|
21
|
+
execute(params) {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const url = `/${this.endpoint}`;
|
|
24
|
+
const options = {};
|
|
25
|
+
this.events.emit('batch:loading', true);
|
|
26
|
+
this.events.emit('batch:request:start');
|
|
27
|
+
const { data, error } = yield doPost(url, params, options);
|
|
28
|
+
this.events.emitIf(!!data, 'batch:request:success');
|
|
29
|
+
this.events.emitIf(!!error, 'batch:request:error', { error });
|
|
30
|
+
this.events.emit('batch:loading', false);
|
|
31
|
+
return { data, error };
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=batch.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch.service.js","sourceRoot":"","sources":["../../../../src/lib/services/store/batch.service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAI1D;;;;;GAKG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACmB,aAAQ,GAAG,2BAA2B,CAAC;IA4B1D,CAAC;IA1BC;;;;;OAKG;IACG,OAAO,CAAC,MAAoB;;YAChC,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAEhC,MAAM,OAAO,GAAuB,EAAE,CAAC;YAEvC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;YACxC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;YAExC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAClC,GAAG,EACH,MAAM,EACN,OAAO,CACR,CAAC;YAEF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;YACpD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,EAAE,qBAAqB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YAC9D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;YAEzC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QACzB,CAAC;KAAA;CACF"}
|