ce-storefront 0.3.17 → 0.4.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/FUNCTIONS.md +2 -2
- package/README.md +108 -129
- package/docs/sdks/addresses/README.md +363 -4
- package/docs/sdks/auth/README.md +0 -72
- package/docs/sdks/{cestorefrontaddresses → cestorefrontreviews}/README.md +34 -123
- package/docs/sdks/cestorefrontuser/README.md +735 -6
- package/docs/sdks/customers/README.md +18 -192
- package/docs/sdks/juspay/README.md +15 -15
- package/docs/sdks/loyalty/README.md +81 -0
- package/docs/sdks/notificationpreferences/README.md +162 -4
- package/docs/sdks/orders/README.md +5 -163
- package/docs/sdks/payments/README.md +95 -15
- package/docs/sdks/products/README.md +94 -15
- package/docs/sdks/{cards → refunds}/README.md +11 -12
- package/docs/sdks/reviews/README.md +13 -17
- package/docs/sdks/{catalogproducts → shipments}/README.md +12 -12
- package/docs/sdks/{shipment → shipping}/README.md +5 -5
- package/docs/sdks/{catalogskus → skus}/README.md +3 -3
- package/docs/sdks/user/README.md +0 -425
- package/docs/sdks/utils/README.md +72 -0
- package/docs/sdks/wishlist/README.md +5 -5
- package/esm/funcs/{authUsersAddProfileImage.d.ts → authUserAddProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserAddProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUsersAddProfileImage.js → authUserAddProfileImage.js} +2 -2
- package/esm/funcs/authUserAddProfileImage.js.map +1 -0
- package/esm/funcs/{authUserDeactivate.d.ts → authUserDeactivateAccount.d.ts} +2 -2
- package/esm/funcs/authUserDeactivateAccount.d.ts.map +1 -0
- package/esm/funcs/{authUserDeactivate.js → authUserDeactivateAccount.js} +2 -2
- package/esm/funcs/authUserDeactivateAccount.js.map +1 -0
- package/esm/funcs/{userDeleteProfileImage.d.ts → authUserDeleteProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserDeleteProfileImage.d.ts.map +1 -0
- package/esm/funcs/{userDeleteProfileImage.js → authUserDeleteProfileImage.js} +2 -2
- package/esm/funcs/authUserDeleteProfileImage.js.map +1 -0
- package/esm/funcs/{usersGet.d.ts → authUserGet.d.ts} +2 -2
- package/esm/funcs/authUserGet.d.ts.map +1 -0
- package/esm/funcs/{usersGet.js → authUserGet.js} +2 -2
- package/esm/funcs/authUserGet.js.map +1 -0
- package/esm/funcs/{usersGetProfileImage.d.ts → authUserGetProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserGetProfileImage.d.ts.map +1 -0
- package/esm/funcs/{usersGetProfileImage.js → authUserGetProfileImage.js} +2 -2
- package/esm/funcs/authUserGetProfileImage.js.map +1 -0
- package/esm/funcs/{authLogout.d.ts → authUserLogout.d.ts} +2 -2
- package/esm/funcs/authUserLogout.d.ts.map +1 -0
- package/esm/funcs/{authLogout.js → authUserLogout.js} +2 -2
- package/esm/funcs/authUserLogout.js.map +1 -0
- package/esm/funcs/{userResetPassword.d.ts → authUserResetPassword.d.ts} +2 -2
- package/esm/funcs/authUserResetPassword.d.ts.map +1 -0
- package/esm/funcs/{userResetPassword.js → authUserResetPassword.js} +2 -2
- package/esm/funcs/authUserResetPassword.js.map +1 -0
- package/esm/funcs/{userUpdate.d.ts → authUserUpdate.d.ts} +2 -2
- package/esm/funcs/authUserUpdate.d.ts.map +1 -0
- package/esm/funcs/{userUpdate.js → authUserUpdate.js} +2 -2
- package/esm/funcs/authUserUpdate.js.map +1 -0
- package/esm/funcs/{userUpdateProfileImage.d.ts → authUserUpdateProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserUpdateProfileImage.d.ts.map +1 -0
- package/esm/funcs/{userUpdateProfileImage.js → authUserUpdateProfileImage.js} +2 -2
- package/esm/funcs/authUserUpdateProfileImage.js.map +1 -0
- package/esm/funcs/{addressesGet.d.ts → catalogProductsGetCrossSells.d.ts} +4 -4
- package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +1 -0
- package/esm/funcs/{productsListCrossSells.js → catalogProductsGetCrossSells.js} +2 -2
- package/esm/funcs/catalogProductsGetCrossSells.js.map +1 -0
- package/esm/funcs/{productsGetSimilar.d.ts → catalogProductsGetSimilar.d.ts} +2 -2
- package/esm/funcs/catalogProductsGetSimilar.d.ts.map +1 -0
- package/esm/funcs/{productsGetSimilar.js → catalogProductsGetSimilar.js} +2 -2
- package/esm/funcs/catalogProductsGetSimilar.js.map +1 -0
- package/esm/funcs/{productsGetUpsells.d.ts → catalogProductsGetUpsells.d.ts} +2 -2
- package/esm/funcs/catalogProductsGetUpsells.d.ts.map +1 -0
- package/esm/funcs/{productsGetUpsells.js → catalogProductsGetUpsells.js} +2 -2
- package/esm/funcs/catalogProductsGetUpsells.js.map +1 -0
- package/esm/funcs/{productsList.d.ts → catalogProductsList.d.ts} +2 -2
- package/esm/funcs/{customersAddAddress.d.ts.map → catalogProductsList.d.ts.map} +1 -1
- package/esm/funcs/{productsList.js → catalogProductsList.js} +2 -2
- package/esm/funcs/catalogProductsList.js.map +1 -0
- package/esm/funcs/{catalogProductReviewsCreate.d.ts → catalogProductsReviewsCreate.d.ts} +2 -2
- package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +1 -0
- package/esm/funcs/{catalogProductReviewsCreate.js → catalogProductsReviewsCreate.js} +2 -2
- package/esm/funcs/catalogProductsReviewsCreate.js.map +1 -0
- package/esm/funcs/{customersUpdate.d.ts → customersAddressesAdd.d.ts} +4 -4
- package/esm/funcs/customersAddressesAdd.d.ts.map +1 -0
- package/esm/funcs/{customersAddAddress.js → customersAddressesAdd.js} +2 -2
- package/esm/funcs/customersAddressesAdd.js.map +1 -0
- package/esm/funcs/customersAddressesGet.d.ts +16 -0
- package/esm/funcs/customersAddressesGet.d.ts.map +1 -0
- package/esm/funcs/{addressesGet.js → customersAddressesGet.js} +2 -2
- package/esm/funcs/customersAddressesGet.js.map +1 -0
- package/esm/funcs/{customersGet.d.ts → customersGetCustomersId.d.ts} +2 -2
- package/esm/funcs/customersGetCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersGet.js → customersGetCustomersId.js} +2 -2
- package/esm/funcs/customersGetCustomersId.js.map +1 -0
- package/esm/funcs/{loyaltyPointsListActivities.d.ts → customersLoyaltyListActivities.d.ts} +2 -2
- package/esm/funcs/customersLoyaltyListActivities.d.ts.map +1 -0
- package/esm/funcs/{loyaltyPointsListActivities.js → customersLoyaltyListActivities.js} +2 -2
- package/esm/funcs/customersLoyaltyListActivities.js.map +1 -0
- package/esm/funcs/{customersCreate.d.ts → customersPostCustomers.d.ts} +2 -2
- package/esm/funcs/customersPostCustomers.d.ts.map +1 -0
- package/esm/funcs/{customersCreate.js → customersPostCustomers.js} +2 -2
- package/esm/funcs/customersPostCustomers.js.map +1 -0
- package/esm/funcs/customersPutCustomersId.d.ts +16 -0
- package/esm/funcs/customersPutCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersUpdate.js → customersPutCustomersId.js} +2 -2
- package/esm/funcs/customersPutCustomersId.js.map +1 -0
- package/esm/funcs/{ordersGetPaymentStatus.d.ts → customersReviewsList.d.ts} +4 -4
- package/esm/funcs/{usersGetProfileImage.d.ts.map → customersReviewsList.d.ts.map} +1 -1
- package/esm/funcs/{customersGetReviews.js → customersReviewsList.js} +2 -2
- package/esm/funcs/{usersGetProfileImage.js.map → customersReviewsList.js.map} +1 -1
- package/esm/funcs/{juspayGetCustomer.d.ts → juspayGetPaymentsJuspayCustomer.d.ts} +2 -2
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayGetCustomer.js → juspayGetPaymentsJuspayCustomer.js} +2 -2
- package/esm/funcs/{juspayCreateOrder.js.map → juspayGetPaymentsJuspayCustomer.js.map} +1 -1
- package/esm/funcs/{wishlistRemoveItem.d.ts → juspayPostPaymentsJuspayCreateCustomer.d.ts} +5 -4
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayCreateCustomer.js → juspayPostPaymentsJuspayCreateCustomer.js} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +1 -0
- package/esm/funcs/{juspayCreateOrder.d.ts → juspayPostPaymentsJuspayCreateOrder.d.ts} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +1 -0
- package/esm/funcs/{juspayCreateOrder.js → juspayPostPaymentsJuspayCreateOrder.js} +2 -2
- package/esm/funcs/{juspayGetCustomer.js.map → juspayPostPaymentsJuspayCreateOrder.js.map} +1 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +15 -0
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/{ordersGetPaymentStatus.js → ordersGetOrdersIdPaymentStatus.js} +2 -2
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +1 -0
- package/esm/funcs/{ordersGetRefunds.d.ts → ordersRefundsList.d.ts} +2 -2
- package/esm/funcs/{userResetPassword.d.ts.map → ordersRefundsList.d.ts.map} +1 -1
- package/esm/funcs/{ordersGetRefunds.js → ordersRefundsList.js} +2 -2
- package/esm/funcs/ordersRefundsList.js.map +1 -0
- package/esm/funcs/{ordersGetShipments.d.ts → ordersShipmentsList.d.ts} +2 -2
- package/esm/funcs/ordersShipmentsList.d.ts.map +1 -0
- package/esm/funcs/{ordersGetShipments.js → ordersShipmentsList.js} +2 -2
- package/esm/funcs/ordersShipmentsList.js.map +1 -0
- package/esm/funcs/{paymentsListMethods.d.ts → paymentsGetMethods.d.ts} +2 -2
- package/esm/funcs/{authUserDeactivate.d.ts.map → paymentsGetMethods.d.ts.map} +1 -1
- package/esm/funcs/{paymentsListMethods.js → paymentsGetMethods.js} +2 -2
- package/esm/funcs/paymentsGetMethods.js.map +1 -0
- package/esm/funcs/{paymentsCardsList.d.ts → paymentsGetPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsCardsList.js → paymentsGetPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.js.map +1 -0
- package/esm/funcs/{paymentsVerifyVpa.d.ts → paymentsGetPaymentsVerifyVpa.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +1 -0
- package/esm/funcs/{paymentsVerifyVpa.js → paymentsGetPaymentsVerifyVpa.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +1 -0
- package/esm/funcs/{paymentsAddCard.d.ts → paymentsPostPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsAddCard.js → paymentsPostPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.js.map +1 -0
- package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts → shippingCheckPincodeServiceability.d.ts} +2 -2
- package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts.map → shippingCheckPincodeServiceability.d.ts.map} +1 -1
- package/esm/funcs/{shipmentCheckPincodeServiceability.js → shippingCheckPincodeServiceability.js} +2 -2
- package/esm/funcs/{shipmentCheckPincodeServiceability.js.map → shippingCheckPincodeServiceability.js.map} +1 -1
- package/esm/funcs/{usersCreateNotificationPreferences.d.ts → userNotificationPreferencesCreate.d.ts} +2 -2
- package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +1 -0
- package/esm/funcs/{usersCreateNotificationPreferences.js → userNotificationPreferencesCreate.js} +2 -2
- package/esm/funcs/userNotificationPreferencesCreate.js.map +1 -0
- package/esm/funcs/{authUserNotificationPreferencesGet.d.ts → userNotificationPreferencesGet.d.ts} +2 -2
- package/esm/funcs/userNotificationPreferencesGet.d.ts.map +1 -0
- package/esm/funcs/{authUserNotificationPreferencesGet.js → userNotificationPreferencesGet.js} +2 -2
- package/esm/funcs/userNotificationPreferencesGet.js.map +1 -0
- package/esm/funcs/{userUpdateNotificationPreferences.d.ts → userNotificationPreferencesUpdate.d.ts} +2 -2
- package/esm/funcs/{userUpdateNotificationPreferences.d.ts.map → userNotificationPreferencesUpdate.d.ts.map} +1 -1
- package/esm/funcs/{userUpdateNotificationPreferences.js → userNotificationPreferencesUpdate.js} +2 -2
- package/esm/funcs/{userUpdateNotificationPreferences.js.map → userNotificationPreferencesUpdate.js.map} +1 -1
- package/esm/funcs/{utilsCountriesGet.d.ts → utilsGetCountries.d.ts} +2 -2
- package/esm/funcs/{utilsCountriesGet.d.ts.map → utilsGetCountries.d.ts.map} +1 -1
- package/esm/funcs/{utilsCountriesGet.js → utilsGetCountries.js} +2 -2
- package/esm/funcs/{utilsCountriesGet.js.map → utilsGetCountries.js.map} +1 -1
- package/esm/funcs/{customersAddAddress.d.ts → wishlistDelete.d.ts} +4 -4
- package/esm/funcs/wishlistDelete.d.ts.map +1 -0
- package/esm/funcs/{wishlistRemoveItem.js → wishlistDelete.js} +2 -2
- package/esm/funcs/wishlistDelete.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/components/bundleproduct.d.ts +11 -11
- package/esm/models/components/bundleproduct.d.ts.map +1 -1
- package/esm/models/components/bundleproduct.js +22 -22
- package/esm/models/components/bundleproduct.js.map +1 -1
- package/esm/models/components/bundleproductdetail.d.ts +11 -11
- package/esm/models/components/bundleproductdetail.d.ts.map +1 -1
- package/esm/models/components/bundleproductdetail.js +22 -22
- package/esm/models/components/bundleproductdetail.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +4 -4
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +8 -8
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/productimage.d.ts +2 -0
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +2 -0
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/singleproduct.d.ts +6 -6
- package/esm/models/components/singleproduct.d.ts.map +1 -1
- package/esm/models/components/singleproduct.js +12 -12
- package/esm/models/components/singleproduct.js.map +1 -1
- package/esm/models/components/singleproductdetail.d.ts +6 -6
- package/esm/models/components/singleproductdetail.d.ts.map +1 -1
- package/esm/models/components/singleproductdetail.js +12 -12
- package/esm/models/components/singleproductdetail.js.map +1 -1
- package/esm/models/components/sku.d.ts +5 -5
- package/esm/models/components/sku.d.ts.map +1 -1
- package/esm/models/components/sku.js +10 -10
- package/esm/models/components/sku.js.map +1 -1
- package/esm/models/components/variant.d.ts +3 -3
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -6
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +3 -3
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +6 -6
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/sdk/addresses.d.ts +28 -0
- package/esm/sdk/addresses.d.ts.map +1 -1
- package/esm/sdk/addresses.js +42 -2
- package/esm/sdk/addresses.js.map +1 -1
- package/esm/sdk/auth.d.ts +0 -10
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +0 -14
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/catalog.d.ts +5 -2
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/catalog.js +6 -2
- package/esm/sdk/catalog.js.map +1 -1
- package/esm/sdk/cestorefrontreviews.d.ts +19 -0
- package/esm/sdk/cestorefrontreviews.d.ts.map +1 -0
- package/esm/sdk/cestorefrontreviews.js +28 -0
- package/esm/sdk/cestorefrontreviews.js.map +1 -0
- package/esm/sdk/cestorefrontuser.d.ts +64 -4
- package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
- package/esm/sdk/cestorefrontuser.js +92 -6
- package/esm/sdk/cestorefrontuser.js.map +1 -1
- package/esm/sdk/customers.d.ts +8 -19
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +15 -31
- package/esm/sdk/customers.js.map +1 -1
- package/esm/sdk/juspay.d.ts +3 -3
- package/esm/sdk/juspay.d.ts.map +1 -1
- package/esm/sdk/juspay.js +9 -9
- package/esm/sdk/juspay.js.map +1 -1
- package/esm/sdk/loyalty.d.ts +7 -0
- package/esm/sdk/loyalty.d.ts.map +1 -1
- package/esm/sdk/loyalty.js +10 -0
- package/esm/sdk/loyalty.js.map +1 -1
- package/esm/sdk/notificationpreferences.d.ts +14 -0
- package/esm/sdk/notificationpreferences.d.ts.map +1 -1
- package/esm/sdk/notificationpreferences.js +22 -2
- package/esm/sdk/notificationpreferences.js.map +1 -1
- package/esm/sdk/orders.d.ts +7 -15
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +11 -23
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/payments.d.ts +10 -6
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +19 -13
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/products.d.ts +14 -1
- package/esm/sdk/products.d.ts.map +1 -1
- package/esm/sdk/products.js +27 -9
- package/esm/sdk/products.js.map +1 -1
- package/esm/sdk/refunds.d.ts +12 -0
- package/esm/sdk/refunds.d.ts.map +1 -0
- package/esm/sdk/refunds.js +18 -0
- package/esm/sdk/refunds.js.map +1 -0
- package/esm/sdk/reviews.d.ts +3 -3
- package/esm/sdk/reviews.d.ts.map +1 -1
- package/esm/sdk/reviews.js +4 -4
- package/esm/sdk/reviews.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -35
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/shipments.d.ts +12 -0
- package/esm/sdk/shipments.d.ts.map +1 -0
- package/esm/sdk/shipments.js +18 -0
- package/esm/sdk/shipments.js.map +1 -0
- package/esm/sdk/{shipment.d.ts → shipping.d.ts} +2 -2
- package/esm/sdk/{shipment.d.ts.map → shipping.d.ts.map} +1 -1
- package/esm/sdk/{shipment.js → shipping.js} +4 -4
- package/esm/sdk/{shipment.js.map → shipping.js.map} +1 -1
- package/esm/sdk/{catalogskus.d.ts → skus.d.ts} +2 -2
- package/esm/sdk/skus.d.ts.map +1 -0
- package/esm/sdk/{catalogskus.js → skus.js} +2 -2
- package/esm/sdk/skus.js.map +1 -0
- package/esm/sdk/user.d.ts +4 -37
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +3 -50
- package/esm/sdk/user.js.map +1 -1
- package/esm/sdk/utils.d.ts +7 -3
- package/esm/sdk/utils.d.ts.map +1 -1
- package/esm/sdk/utils.js +9 -3
- package/esm/sdk/utils.js.map +1 -1
- package/esm/sdk/wishlist.d.ts +1 -1
- package/esm/sdk/wishlist.d.ts.map +1 -1
- package/esm/sdk/wishlist.js +3 -3
- package/esm/sdk/wishlist.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{authUsersAddProfileImage.ts → authUserAddProfileImage.ts} +1 -1
- package/src/funcs/{authUserDeactivate.ts → authUserDeactivateAccount.ts} +1 -1
- package/src/funcs/{userDeleteProfileImage.ts → authUserDeleteProfileImage.ts} +1 -1
- package/src/funcs/{usersGet.ts → authUserGet.ts} +1 -1
- package/src/funcs/{usersGetProfileImage.ts → authUserGetProfileImage.ts} +1 -1
- package/src/funcs/{authLogout.ts → authUserLogout.ts} +1 -1
- package/src/funcs/{userResetPassword.ts → authUserResetPassword.ts} +1 -1
- package/src/funcs/{userUpdate.ts → authUserUpdate.ts} +1 -1
- package/src/funcs/{userUpdateProfileImage.ts → authUserUpdateProfileImage.ts} +1 -1
- package/src/funcs/{productsListCrossSells.ts → catalogProductsGetCrossSells.ts} +1 -1
- package/src/funcs/{productsGetSimilar.ts → catalogProductsGetSimilar.ts} +1 -1
- package/src/funcs/{productsGetUpsells.ts → catalogProductsGetUpsells.ts} +1 -1
- package/src/funcs/{productsList.ts → catalogProductsList.ts} +1 -1
- package/src/funcs/{catalogProductReviewsCreate.ts → catalogProductsReviewsCreate.ts} +1 -1
- package/src/funcs/{customersAddAddress.ts → customersAddressesAdd.ts} +1 -1
- package/src/funcs/{addressesGet.ts → customersAddressesGet.ts} +1 -1
- package/src/funcs/{customersGet.ts → customersGetCustomersId.ts} +1 -1
- package/src/funcs/{loyaltyPointsListActivities.ts → customersLoyaltyListActivities.ts} +1 -1
- package/src/funcs/{customersCreate.ts → customersPostCustomers.ts} +1 -1
- package/src/funcs/{customersUpdate.ts → customersPutCustomersId.ts} +1 -1
- package/src/funcs/{customersGetReviews.ts → customersReviewsList.ts} +1 -1
- package/src/funcs/{juspayGetCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
- package/src/funcs/{juspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
- package/src/funcs/{juspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
- package/src/funcs/{ordersGetPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
- package/src/funcs/{ordersGetRefunds.ts → ordersRefundsList.ts} +1 -1
- package/src/funcs/{ordersGetShipments.ts → ordersShipmentsList.ts} +1 -1
- package/src/funcs/{paymentsListMethods.ts → paymentsGetMethods.ts} +1 -1
- package/src/funcs/{paymentsCardsList.ts → paymentsGetPaymentsCards.ts} +1 -1
- package/src/funcs/{paymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
- package/src/funcs/{paymentsAddCard.ts → paymentsPostPaymentsCards.ts} +1 -1
- package/src/funcs/{shipmentCheckPincodeServiceability.ts → shippingCheckPincodeServiceability.ts} +1 -1
- package/src/funcs/{usersCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts} +1 -1
- package/src/funcs/{authUserNotificationPreferencesGet.ts → userNotificationPreferencesGet.ts} +1 -1
- package/src/funcs/{userUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts} +1 -1
- package/src/funcs/{utilsCountriesGet.ts → utilsGetCountries.ts} +1 -1
- package/src/funcs/{wishlistRemoveItem.ts → wishlistDelete.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/bundleproduct.ts +33 -33
- package/src/models/components/bundleproductdetail.ts +33 -33
- package/src/models/components/cartitem.ts +12 -12
- package/src/models/components/productimage.ts +4 -0
- package/src/models/components/singleproduct.ts +18 -18
- package/src/models/components/singleproductdetail.ts +18 -18
- package/src/models/components/sku.ts +15 -15
- package/src/models/components/variant.ts +9 -9
- package/src/models/components/variantdetail.ts +9 -9
- package/src/sdk/addresses.ts +74 -2
- package/src/sdk/auth.ts +0 -22
- package/src/sdk/catalog.ts +10 -4
- package/src/sdk/cestorefrontreviews.ts +45 -0
- package/src/sdk/cestorefrontuser.ts +160 -8
- package/src/sdk/customers.ts +19 -49
- package/src/sdk/juspay.ts +9 -9
- package/src/sdk/loyalty.ts +18 -0
- package/src/sdk/notificationpreferences.ts +38 -2
- package/src/sdk/orders.ts +15 -39
- package/src/sdk/payments.ts +27 -15
- package/src/sdk/products.ts +39 -9
- package/src/sdk/{cards.ts → refunds.ts} +7 -7
- package/src/sdk/reviews.ts +6 -6
- package/src/sdk/sdk.ts +4 -54
- package/src/sdk/shipments.ts +27 -0
- package/src/sdk/{shipment.ts → shipping.ts} +3 -3
- package/src/sdk/{catalogskus.ts → skus.ts} +1 -1
- package/src/sdk/user.ts +6 -90
- package/src/sdk/utils.ts +14 -4
- package/src/sdk/wishlist.ts +3 -3
- package/docs/sdks/authuser/README.md +0 -80
- package/docs/sdks/catalogproductreviews/README.md +0 -97
- package/docs/sdks/cestorefrontproducts/README.md +0 -6
- package/docs/sdks/cestorefrontusers/README.md +0 -92
- package/docs/sdks/countries/README.md +0 -79
- package/docs/sdks/loyaltypoints/README.md +0 -88
- package/docs/sdks/users/README.md +0 -240
- package/esm/funcs/addressesGet.d.ts.map +0 -1
- package/esm/funcs/addressesGet.js.map +0 -1
- package/esm/funcs/authLogout.d.ts.map +0 -1
- package/esm/funcs/authLogout.js.map +0 -1
- package/esm/funcs/authUserDeactivate.js.map +0 -1
- package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +0 -1
- package/esm/funcs/authUserNotificationPreferencesGet.js.map +0 -1
- package/esm/funcs/authUsersAddProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUsersAddProfileImage.js.map +0 -1
- package/esm/funcs/catalogProductReviewsCreate.d.ts.map +0 -1
- package/esm/funcs/catalogProductReviewsCreate.js.map +0 -1
- package/esm/funcs/customersAddAddress.js.map +0 -1
- package/esm/funcs/customersCreate.d.ts.map +0 -1
- package/esm/funcs/customersCreate.js.map +0 -1
- package/esm/funcs/customersGet.d.ts.map +0 -1
- package/esm/funcs/customersGet.js.map +0 -1
- package/esm/funcs/customersGetReviews.d.ts +0 -15
- package/esm/funcs/customersGetReviews.d.ts.map +0 -1
- package/esm/funcs/customersGetReviews.js.map +0 -1
- package/esm/funcs/customersUpdate.d.ts.map +0 -1
- package/esm/funcs/customersUpdate.js.map +0 -1
- package/esm/funcs/juspayCreateCustomer.d.ts +0 -17
- package/esm/funcs/juspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayCreateCustomer.js.map +0 -1
- package/esm/funcs/juspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/juspayGetCustomer.d.ts.map +0 -1
- package/esm/funcs/loyaltyPointsListActivities.d.ts.map +0 -1
- package/esm/funcs/loyaltyPointsListActivities.js.map +0 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersGetPaymentStatus.js.map +0 -1
- package/esm/funcs/ordersGetRefunds.d.ts.map +0 -1
- package/esm/funcs/ordersGetRefunds.js.map +0 -1
- package/esm/funcs/ordersGetShipments.d.ts.map +0 -1
- package/esm/funcs/ordersGetShipments.js.map +0 -1
- package/esm/funcs/paymentsAddCard.d.ts.map +0 -1
- package/esm/funcs/paymentsAddCard.js.map +0 -1
- package/esm/funcs/paymentsCardsList.d.ts.map +0 -1
- package/esm/funcs/paymentsCardsList.js.map +0 -1
- package/esm/funcs/paymentsListMethods.d.ts.map +0 -1
- package/esm/funcs/paymentsListMethods.js.map +0 -1
- package/esm/funcs/paymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/productsGetSimilar.d.ts.map +0 -1
- package/esm/funcs/productsGetSimilar.js.map +0 -1
- package/esm/funcs/productsGetUpsells.d.ts.map +0 -1
- package/esm/funcs/productsGetUpsells.js.map +0 -1
- package/esm/funcs/productsList.d.ts.map +0 -1
- package/esm/funcs/productsList.js.map +0 -1
- package/esm/funcs/productsListCrossSells.d.ts +0 -16
- package/esm/funcs/productsListCrossSells.d.ts.map +0 -1
- package/esm/funcs/productsListCrossSells.js.map +0 -1
- package/esm/funcs/userDeleteProfileImage.d.ts.map +0 -1
- package/esm/funcs/userDeleteProfileImage.js.map +0 -1
- package/esm/funcs/userResetPassword.js.map +0 -1
- package/esm/funcs/userUpdate.d.ts.map +0 -1
- package/esm/funcs/userUpdate.js.map +0 -1
- package/esm/funcs/userUpdateProfileImage.d.ts.map +0 -1
- package/esm/funcs/userUpdateProfileImage.js.map +0 -1
- package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +0 -1
- package/esm/funcs/usersCreateNotificationPreferences.js.map +0 -1
- package/esm/funcs/usersGet.d.ts.map +0 -1
- package/esm/funcs/usersGet.js.map +0 -1
- package/esm/funcs/wishlistRemoveItem.d.ts.map +0 -1
- package/esm/funcs/wishlistRemoveItem.js.map +0 -1
- package/esm/sdk/authuser.d.ts +0 -12
- package/esm/sdk/authuser.d.ts.map +0 -1
- package/esm/sdk/authuser.js +0 -18
- package/esm/sdk/authuser.js.map +0 -1
- package/esm/sdk/cards.d.ts +0 -12
- package/esm/sdk/cards.d.ts.map +0 -1
- package/esm/sdk/cards.js +0 -18
- package/esm/sdk/cards.js.map +0 -1
- package/esm/sdk/catalogproductreviews.d.ts +0 -12
- package/esm/sdk/catalogproductreviews.d.ts.map +0 -1
- package/esm/sdk/catalogproductreviews.js +0 -18
- package/esm/sdk/catalogproductreviews.js.map +0 -1
- package/esm/sdk/catalogproducts.d.ts +0 -12
- package/esm/sdk/catalogproducts.d.ts.map +0 -1
- package/esm/sdk/catalogproducts.js +0 -18
- package/esm/sdk/catalogproducts.js.map +0 -1
- package/esm/sdk/catalogskus.d.ts.map +0 -1
- package/esm/sdk/catalogskus.js.map +0 -1
- package/esm/sdk/cestorefrontaddresses.d.ts +0 -26
- package/esm/sdk/cestorefrontaddresses.d.ts.map +0 -1
- package/esm/sdk/cestorefrontaddresses.js +0 -38
- package/esm/sdk/cestorefrontaddresses.js.map +0 -1
- package/esm/sdk/cestorefrontproducts.d.ts +0 -10
- package/esm/sdk/cestorefrontproducts.d.ts.map +0 -1
- package/esm/sdk/cestorefrontproducts.js +0 -15
- package/esm/sdk/cestorefrontproducts.js.map +0 -1
- package/esm/sdk/cestorefrontusers.d.ts +0 -12
- package/esm/sdk/cestorefrontusers.d.ts.map +0 -1
- package/esm/sdk/cestorefrontusers.js +0 -18
- package/esm/sdk/cestorefrontusers.js.map +0 -1
- package/esm/sdk/countries.d.ts +0 -12
- package/esm/sdk/countries.d.ts.map +0 -1
- package/esm/sdk/countries.js +0 -18
- package/esm/sdk/countries.js.map +0 -1
- package/esm/sdk/loyaltypoints.d.ts +0 -12
- package/esm/sdk/loyaltypoints.d.ts.map +0 -1
- package/esm/sdk/loyaltypoints.js +0 -18
- package/esm/sdk/loyaltypoints.js.map +0 -1
- package/esm/sdk/users.d.ts +0 -26
- package/esm/sdk/users.d.ts.map +0 -1
- package/esm/sdk/users.js +0 -38
- package/esm/sdk/users.js.map +0 -1
- package/src/sdk/authuser.ts +0 -27
- package/src/sdk/catalogproductreviews.ts +0 -27
- package/src/sdk/catalogproducts.ts +0 -27
- package/src/sdk/cestorefrontaddresses.ts +0 -63
- package/src/sdk/cestorefrontproducts.ts +0 -19
- package/src/sdk/cestorefrontusers.ts +0 -27
- package/src/sdk/countries.ts +0 -25
- package/src/sdk/loyaltypoints.ts +0 -27
- package/src/sdk/users.ts +0 -63
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Add new address
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersAddressesAdd(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostAddressRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve address
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersAddressesGet(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetCustomerAddressIdRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve customer detail.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function customersGetCustomersId(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetCustomersIdRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* List all loyalty points activity
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersLoyaltyListActivities(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetLoyaltyPointActivityRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Create customer
|
|
32
32
|
*/
|
|
33
|
-
export async function
|
|
33
|
+
export async function customersPostCustomers(
|
|
34
34
|
client: CeStorefrontCore,
|
|
35
35
|
request: components.CreateCustomer,
|
|
36
36
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Update customer detail
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersPutCustomersId(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PutCustomersIdRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve all reviews
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function customersReviewsList(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetCustomersUserIdReviewsRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve customer from juspay.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function juspayGetPaymentsJuspayCustomer(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsJuspayCustomerRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Create customer in juspay.
|
|
32
32
|
*/
|
|
33
|
-
export async function
|
|
33
|
+
export async function juspayPostPaymentsJuspayCreateCustomer(
|
|
34
34
|
client: CeStorefrontCore,
|
|
35
35
|
request: components.JuspayCreateCustomerPayload,
|
|
36
36
|
options?: RequestOptions,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
32
32
|
* To be used for Express Checkout integration.
|
|
33
33
|
*/
|
|
34
|
-
export async function
|
|
34
|
+
export async function juspayPostPaymentsJuspayCreateOrder(
|
|
35
35
|
client: CeStorefrontCore,
|
|
36
36
|
request: components.JuspayCreateOrderPayload,
|
|
37
37
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve payment status of a paricular order.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function ordersGetOrdersIdPaymentStatus(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetOrdersIdPaymentStatusRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve order refunds
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function ordersRefundsList(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetOrdersIdRefundsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve order shipments
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function ordersShipmentsList(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetOrdersIdShipmentsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* List all payment methods
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function paymentsGetMethods(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetPaymentMethodsRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* List all saved cards.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsGetPaymentsCards(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsCardsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service to send or receive money. In the case of UPI collect VPA is the mandatory param and merchants are always advised to check if the VPA is valid or not.
|
|
30
30
|
* Validating the VPA will help in reducing the failure rate due to incorrect vpa.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsGetPaymentsVerifyVpa(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsVerifyVpaRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Add a new card
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsPostPaymentsCards(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostPaymentsCardsRequestBody,
|
|
35
35
|
options?: RequestOptions,
|
package/src/funcs/{shipmentCheckPincodeServiceability.ts → shippingCheckPincodeServiceability.ts}
RENAMED
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Check shipment delivery availability in an area by pincode
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function shippingCheckPincodeServiceability(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetShipmentPincodeServiceabilityRequest,
|
|
35
35
|
options?: RequestOptions,
|
package/src/funcs/{usersCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userNotificationPreferencesCreate(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PostAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
package/src/funcs/{authUserNotificationPreferencesGet.ts → userNotificationPreferencesGet.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userNotificationPreferencesGet(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
package/src/funcs/{userUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userNotificationPreferencesUpdate(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PutAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Remove product from wishlist
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function wishlistDelete(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.DeleteWishlistRequest,
|
|
35
35
|
options?: RequestOptions,
|
package/src/lib/config.ts
CHANGED
|
@@ -74,7 +74,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "1.0",
|
|
77
|
-
sdkVersion: "0.
|
|
77
|
+
sdkVersion: "0.4.0",
|
|
78
78
|
genVersion: "2.495.1",
|
|
79
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
79
|
+
userAgent: "speakeasy-sdk/typescript 0.4.0 2.495.1 1.0 ce-storefront",
|
|
80
80
|
} as const;
|
|
@@ -79,14 +79,14 @@ export type BundleProductSKU = {
|
|
|
79
79
|
variantName: string | null;
|
|
80
80
|
productType: BundleProductBundleItemsProductType;
|
|
81
81
|
shortDescription: string | null;
|
|
82
|
-
active
|
|
83
|
-
stockAvailable
|
|
82
|
+
active: boolean;
|
|
83
|
+
stockAvailable: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
86
86
|
*/
|
|
87
|
-
onOffer
|
|
88
|
-
onSubscription
|
|
89
|
-
onPromotion
|
|
87
|
+
onOffer: boolean;
|
|
88
|
+
onSubscription: boolean;
|
|
89
|
+
onPromotion: boolean;
|
|
90
90
|
categoryIds: Array<string>;
|
|
91
91
|
tags: Array<string> | null;
|
|
92
92
|
reviewsCount: number;
|
|
@@ -109,27 +109,27 @@ export type BundleProduct = {
|
|
|
109
109
|
slug: string | null;
|
|
110
110
|
shortDescription: string | null;
|
|
111
111
|
productType: BundleProductProductType;
|
|
112
|
-
active
|
|
112
|
+
active: boolean;
|
|
113
113
|
/**
|
|
114
114
|
* Indicates whether the product has stock available
|
|
115
115
|
*/
|
|
116
|
-
stockAvailable
|
|
116
|
+
stockAvailable: boolean;
|
|
117
117
|
/**
|
|
118
118
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
119
119
|
*/
|
|
120
|
-
onOffer
|
|
120
|
+
onOffer: boolean;
|
|
121
121
|
/**
|
|
122
122
|
* Indicates whether the product has any subscription plans avaialble
|
|
123
123
|
*/
|
|
124
|
-
onSubscription
|
|
124
|
+
onSubscription: boolean;
|
|
125
125
|
/**
|
|
126
126
|
* Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion
|
|
127
127
|
*/
|
|
128
|
-
onPromotion
|
|
128
|
+
onPromotion: boolean;
|
|
129
129
|
/**
|
|
130
130
|
* Indicates whether the product has variants
|
|
131
131
|
*/
|
|
132
|
-
hasVariant
|
|
132
|
+
hasVariant: boolean;
|
|
133
133
|
tags: Array<string> | null;
|
|
134
134
|
categoryIds: Array<string>;
|
|
135
135
|
reviewsRatingSum: number;
|
|
@@ -205,11 +205,11 @@ export const BundleProductSKU$inboundSchema: z.ZodType<
|
|
|
205
205
|
variant_name: z.nullable(z.string()),
|
|
206
206
|
product_type: BundleProductBundleItemsProductType$inboundSchema,
|
|
207
207
|
short_description: z.nullable(z.string()),
|
|
208
|
-
active: z.boolean()
|
|
209
|
-
stock_available: z.boolean()
|
|
210
|
-
on_offer: z.boolean()
|
|
211
|
-
on_subscription: z.boolean()
|
|
212
|
-
on_promotion: z.boolean()
|
|
208
|
+
active: z.boolean(),
|
|
209
|
+
stock_available: z.boolean(),
|
|
210
|
+
on_offer: z.boolean(),
|
|
211
|
+
on_subscription: z.boolean(),
|
|
212
|
+
on_promotion: z.boolean(),
|
|
213
213
|
category_ids: z.array(z.string()),
|
|
214
214
|
tags: z.nullable(z.array(z.string())),
|
|
215
215
|
reviews_count: z.number().int(),
|
|
@@ -282,11 +282,11 @@ export const BundleProductSKU$outboundSchema: z.ZodType<
|
|
|
282
282
|
variantName: z.nullable(z.string()),
|
|
283
283
|
productType: BundleProductBundleItemsProductType$outboundSchema,
|
|
284
284
|
shortDescription: z.nullable(z.string()),
|
|
285
|
-
active: z.boolean()
|
|
286
|
-
stockAvailable: z.boolean()
|
|
287
|
-
onOffer: z.boolean()
|
|
288
|
-
onSubscription: z.boolean()
|
|
289
|
-
onPromotion: z.boolean()
|
|
285
|
+
active: z.boolean(),
|
|
286
|
+
stockAvailable: z.boolean(),
|
|
287
|
+
onOffer: z.boolean(),
|
|
288
|
+
onSubscription: z.boolean(),
|
|
289
|
+
onPromotion: z.boolean(),
|
|
290
290
|
categoryIds: z.array(z.string()),
|
|
291
291
|
tags: z.nullable(z.array(z.string())),
|
|
292
292
|
reviewsCount: z.number().int(),
|
|
@@ -359,12 +359,12 @@ export const BundleProduct$inboundSchema: z.ZodType<
|
|
|
359
359
|
slug: z.nullable(z.string()),
|
|
360
360
|
short_description: z.nullable(z.string()),
|
|
361
361
|
product_type: BundleProductProductType$inboundSchema,
|
|
362
|
-
active: z.boolean()
|
|
363
|
-
stock_available: z.boolean()
|
|
364
|
-
on_offer: z.boolean()
|
|
365
|
-
on_subscription: z.boolean()
|
|
366
|
-
on_promotion: z.boolean()
|
|
367
|
-
has_variant: z.boolean()
|
|
362
|
+
active: z.boolean(),
|
|
363
|
+
stock_available: z.boolean(),
|
|
364
|
+
on_offer: z.boolean(),
|
|
365
|
+
on_subscription: z.boolean(),
|
|
366
|
+
on_promotion: z.boolean(),
|
|
367
|
+
has_variant: z.boolean(),
|
|
368
368
|
tags: z.nullable(z.array(z.string())),
|
|
369
369
|
category_ids: z.array(z.string()),
|
|
370
370
|
reviews_rating_sum: z.number(),
|
|
@@ -432,12 +432,12 @@ export const BundleProduct$outboundSchema: z.ZodType<
|
|
|
432
432
|
slug: z.nullable(z.string()),
|
|
433
433
|
shortDescription: z.nullable(z.string()),
|
|
434
434
|
productType: BundleProductProductType$outboundSchema,
|
|
435
|
-
active: z.boolean()
|
|
436
|
-
stockAvailable: z.boolean()
|
|
437
|
-
onOffer: z.boolean()
|
|
438
|
-
onSubscription: z.boolean()
|
|
439
|
-
onPromotion: z.boolean()
|
|
440
|
-
hasVariant: z.boolean()
|
|
435
|
+
active: z.boolean(),
|
|
436
|
+
stockAvailable: z.boolean(),
|
|
437
|
+
onOffer: z.boolean(),
|
|
438
|
+
onSubscription: z.boolean(),
|
|
439
|
+
onPromotion: z.boolean(),
|
|
440
|
+
hasVariant: z.boolean(),
|
|
441
441
|
tags: z.nullable(z.array(z.string())),
|
|
442
442
|
categoryIds: z.array(z.string()),
|
|
443
443
|
reviewsRatingSum: z.number(),
|
|
@@ -97,14 +97,14 @@ export type BundleProductDetailSKU = {
|
|
|
97
97
|
variantName: string | null;
|
|
98
98
|
productType: BundleProductDetailBundleItemsProductType;
|
|
99
99
|
shortDescription: string | null;
|
|
100
|
-
active
|
|
101
|
-
stockAvailable
|
|
100
|
+
active: boolean;
|
|
101
|
+
stockAvailable: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
104
104
|
*/
|
|
105
|
-
onOffer
|
|
106
|
-
onSubscription
|
|
107
|
-
onPromotion
|
|
105
|
+
onOffer: boolean;
|
|
106
|
+
onSubscription: boolean;
|
|
107
|
+
onPromotion: boolean;
|
|
108
108
|
categoryIds: Array<string>;
|
|
109
109
|
tags: Array<string> | null;
|
|
110
110
|
reviewsCount: number;
|
|
@@ -127,27 +127,27 @@ export type BundleProductDetail = {
|
|
|
127
127
|
slug: string | null;
|
|
128
128
|
shortDescription: string | null;
|
|
129
129
|
productType: BundleProductDetailProductType;
|
|
130
|
-
active
|
|
130
|
+
active: boolean;
|
|
131
131
|
/**
|
|
132
132
|
* Indicates whether the product has stock available
|
|
133
133
|
*/
|
|
134
|
-
stockAvailable
|
|
134
|
+
stockAvailable: boolean;
|
|
135
135
|
/**
|
|
136
136
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
137
137
|
*/
|
|
138
|
-
onOffer
|
|
138
|
+
onOffer: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* Indicates whether the product has any subscription plans avaialble
|
|
141
141
|
*/
|
|
142
|
-
onSubscription
|
|
142
|
+
onSubscription: boolean;
|
|
143
143
|
/**
|
|
144
144
|
* Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion
|
|
145
145
|
*/
|
|
146
|
-
onPromotion
|
|
146
|
+
onPromotion: boolean;
|
|
147
147
|
/**
|
|
148
148
|
* Indicates whether the product has variants
|
|
149
149
|
*/
|
|
150
|
-
hasVariant
|
|
150
|
+
hasVariant: boolean;
|
|
151
151
|
tags: Array<string> | null;
|
|
152
152
|
categoryIds: Array<string>;
|
|
153
153
|
reviewsRatingSum: number;
|
|
@@ -237,11 +237,11 @@ export const BundleProductDetailSKU$inboundSchema: z.ZodType<
|
|
|
237
237
|
variant_name: z.nullable(z.string()),
|
|
238
238
|
product_type: BundleProductDetailBundleItemsProductType$inboundSchema,
|
|
239
239
|
short_description: z.nullable(z.string()),
|
|
240
|
-
active: z.boolean()
|
|
241
|
-
stock_available: z.boolean()
|
|
242
|
-
on_offer: z.boolean()
|
|
243
|
-
on_subscription: z.boolean()
|
|
244
|
-
on_promotion: z.boolean()
|
|
240
|
+
active: z.boolean(),
|
|
241
|
+
stock_available: z.boolean(),
|
|
242
|
+
on_offer: z.boolean(),
|
|
243
|
+
on_subscription: z.boolean(),
|
|
244
|
+
on_promotion: z.boolean(),
|
|
245
245
|
category_ids: z.array(z.string()),
|
|
246
246
|
tags: z.nullable(z.array(z.string())),
|
|
247
247
|
reviews_count: z.number().int(),
|
|
@@ -314,11 +314,11 @@ export const BundleProductDetailSKU$outboundSchema: z.ZodType<
|
|
|
314
314
|
variantName: z.nullable(z.string()),
|
|
315
315
|
productType: BundleProductDetailBundleItemsProductType$outboundSchema,
|
|
316
316
|
shortDescription: z.nullable(z.string()),
|
|
317
|
-
active: z.boolean()
|
|
318
|
-
stockAvailable: z.boolean()
|
|
319
|
-
onOffer: z.boolean()
|
|
320
|
-
onSubscription: z.boolean()
|
|
321
|
-
onPromotion: z.boolean()
|
|
317
|
+
active: z.boolean(),
|
|
318
|
+
stockAvailable: z.boolean(),
|
|
319
|
+
onOffer: z.boolean(),
|
|
320
|
+
onSubscription: z.boolean(),
|
|
321
|
+
onPromotion: z.boolean(),
|
|
322
322
|
categoryIds: z.array(z.string()),
|
|
323
323
|
tags: z.nullable(z.array(z.string())),
|
|
324
324
|
reviewsCount: z.number().int(),
|
|
@@ -391,12 +391,12 @@ export const BundleProductDetail$inboundSchema: z.ZodType<
|
|
|
391
391
|
slug: z.nullable(z.string()),
|
|
392
392
|
short_description: z.nullable(z.string()),
|
|
393
393
|
product_type: BundleProductDetailProductType$inboundSchema,
|
|
394
|
-
active: z.boolean()
|
|
395
|
-
stock_available: z.boolean()
|
|
396
|
-
on_offer: z.boolean()
|
|
397
|
-
on_subscription: z.boolean()
|
|
398
|
-
on_promotion: z.boolean()
|
|
399
|
-
has_variant: z.boolean()
|
|
394
|
+
active: z.boolean(),
|
|
395
|
+
stock_available: z.boolean(),
|
|
396
|
+
on_offer: z.boolean(),
|
|
397
|
+
on_subscription: z.boolean(),
|
|
398
|
+
on_promotion: z.boolean(),
|
|
399
|
+
has_variant: z.boolean(),
|
|
400
400
|
tags: z.nullable(z.array(z.string())),
|
|
401
401
|
category_ids: z.array(z.string()),
|
|
402
402
|
reviews_rating_sum: z.number(),
|
|
@@ -483,12 +483,12 @@ export const BundleProductDetail$outboundSchema: z.ZodType<
|
|
|
483
483
|
slug: z.nullable(z.string()),
|
|
484
484
|
shortDescription: z.nullable(z.string()),
|
|
485
485
|
productType: BundleProductDetailProductType$outboundSchema,
|
|
486
|
-
active: z.boolean()
|
|
487
|
-
stockAvailable: z.boolean()
|
|
488
|
-
onOffer: z.boolean()
|
|
489
|
-
onSubscription: z.boolean()
|
|
490
|
-
onPromotion: z.boolean()
|
|
491
|
-
hasVariant: z.boolean()
|
|
486
|
+
active: z.boolean(),
|
|
487
|
+
stockAvailable: z.boolean(),
|
|
488
|
+
onOffer: z.boolean(),
|
|
489
|
+
onSubscription: z.boolean(),
|
|
490
|
+
onPromotion: z.boolean(),
|
|
491
|
+
hasVariant: z.boolean(),
|
|
492
492
|
tags: z.nullable(z.array(z.string())),
|
|
493
493
|
categoryIds: z.array(z.string()),
|
|
494
494
|
reviewsRatingSum: z.number(),
|
|
@@ -145,10 +145,10 @@ export const CartItem$inboundSchema: z.ZodType<
|
|
|
145
145
|
product_name: z.string().optional(),
|
|
146
146
|
product_image_url: z.string().optional(),
|
|
147
147
|
sku: z.string().optional(),
|
|
148
|
-
on_offer: z.boolean().
|
|
149
|
-
on_promotion: z.boolean().
|
|
150
|
-
subscription_eligibility: z.boolean().
|
|
151
|
-
on_subscription: z.boolean().
|
|
148
|
+
on_offer: z.boolean().optional(),
|
|
149
|
+
on_promotion: z.boolean().optional(),
|
|
150
|
+
subscription_eligibility: z.boolean().optional(),
|
|
151
|
+
on_subscription: z.boolean().optional(),
|
|
152
152
|
subscription_plan: z.nullable(z.string()).optional(),
|
|
153
153
|
subscription_interval: z.nullable(z.number().int()).optional(),
|
|
154
154
|
subscription_frequency: z.nullable(z.string()).optional(),
|
|
@@ -194,10 +194,10 @@ export type CartItem$Outbound = {
|
|
|
194
194
|
product_name?: string | undefined;
|
|
195
195
|
product_image_url?: string | undefined;
|
|
196
196
|
sku?: string | undefined;
|
|
197
|
-
on_offer
|
|
198
|
-
on_promotion
|
|
199
|
-
subscription_eligibility
|
|
200
|
-
on_subscription
|
|
197
|
+
on_offer?: boolean | undefined;
|
|
198
|
+
on_promotion?: boolean | undefined;
|
|
199
|
+
subscription_eligibility?: boolean | undefined;
|
|
200
|
+
on_subscription?: boolean | undefined;
|
|
201
201
|
subscription_plan?: string | null | undefined;
|
|
202
202
|
subscription_interval?: number | null | undefined;
|
|
203
203
|
subscription_frequency?: string | null | undefined;
|
|
@@ -224,10 +224,10 @@ export const CartItem$outboundSchema: z.ZodType<
|
|
|
224
224
|
productName: z.string().optional(),
|
|
225
225
|
productImageUrl: z.string().optional(),
|
|
226
226
|
sku: z.string().optional(),
|
|
227
|
-
onOffer: z.boolean().
|
|
228
|
-
onPromotion: z.boolean().
|
|
229
|
-
subscriptionEligibility: z.boolean().
|
|
230
|
-
onSubscription: z.boolean().
|
|
227
|
+
onOffer: z.boolean().optional(),
|
|
228
|
+
onPromotion: z.boolean().optional(),
|
|
229
|
+
subscriptionEligibility: z.boolean().optional(),
|
|
230
|
+
onSubscription: z.boolean().optional(),
|
|
231
231
|
subscriptionPlan: z.nullable(z.string()).optional(),
|
|
232
232
|
subscriptionInterval: z.nullable(z.number().int()).optional(),
|
|
233
233
|
subscriptionFrequency: z.nullable(z.string()).optional(),
|
|
@@ -9,6 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type ProductImage = {
|
|
12
|
+
id: string;
|
|
12
13
|
title: string | null;
|
|
13
14
|
alternateText: string | null;
|
|
14
15
|
sortOrder: number;
|
|
@@ -24,6 +25,7 @@ export const ProductImage$inboundSchema: z.ZodType<
|
|
|
24
25
|
z.ZodTypeDef,
|
|
25
26
|
unknown
|
|
26
27
|
> = z.object({
|
|
28
|
+
id: z.string(),
|
|
27
29
|
title: z.nullable(z.string()),
|
|
28
30
|
alternate_text: z.nullable(z.string()),
|
|
29
31
|
sort_order: z.number().int(),
|
|
@@ -44,6 +46,7 @@ export const ProductImage$inboundSchema: z.ZodType<
|
|
|
44
46
|
|
|
45
47
|
/** @internal */
|
|
46
48
|
export type ProductImage$Outbound = {
|
|
49
|
+
id: string;
|
|
47
50
|
title: string | null;
|
|
48
51
|
alternate_text: string | null;
|
|
49
52
|
sort_order: number;
|
|
@@ -59,6 +62,7 @@ export const ProductImage$outboundSchema: z.ZodType<
|
|
|
59
62
|
z.ZodTypeDef,
|
|
60
63
|
ProductImage
|
|
61
64
|
> = z.object({
|
|
65
|
+
id: z.string(),
|
|
62
66
|
title: z.nullable(z.string()),
|
|
63
67
|
alternateText: z.nullable(z.string()),
|
|
64
68
|
sortOrder: z.number().int(),
|
|
@@ -68,27 +68,27 @@ export type SingleProduct = {
|
|
|
68
68
|
slug: string | null;
|
|
69
69
|
shortDescription: string | null;
|
|
70
70
|
productType: ProductType;
|
|
71
|
-
active
|
|
71
|
+
active: boolean;
|
|
72
72
|
/**
|
|
73
73
|
* Indicates whether the product has stock available
|
|
74
74
|
*/
|
|
75
|
-
stockAvailable
|
|
75
|
+
stockAvailable: boolean;
|
|
76
76
|
/**
|
|
77
77
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
78
78
|
*/
|
|
79
|
-
onOffer
|
|
79
|
+
onOffer: boolean;
|
|
80
80
|
/**
|
|
81
81
|
* Indicates whether the product has any subscription plans avaialble
|
|
82
82
|
*/
|
|
83
|
-
onSubscription
|
|
83
|
+
onSubscription: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion
|
|
86
86
|
*/
|
|
87
|
-
onPromotion
|
|
87
|
+
onPromotion: boolean;
|
|
88
88
|
/**
|
|
89
89
|
* Indicates whether the product has variants
|
|
90
90
|
*/
|
|
91
|
-
hasVariant
|
|
91
|
+
hasVariant: boolean;
|
|
92
92
|
tags: Array<string> | null;
|
|
93
93
|
categoryIds: Array<string>;
|
|
94
94
|
reviewsRatingSum: number;
|
|
@@ -136,12 +136,12 @@ export const SingleProduct$inboundSchema: z.ZodType<
|
|
|
136
136
|
slug: z.nullable(z.string()),
|
|
137
137
|
short_description: z.nullable(z.string()),
|
|
138
138
|
product_type: ProductType$inboundSchema,
|
|
139
|
-
active: z.boolean()
|
|
140
|
-
stock_available: z.boolean()
|
|
141
|
-
on_offer: z.boolean()
|
|
142
|
-
on_subscription: z.boolean()
|
|
143
|
-
on_promotion: z.boolean()
|
|
144
|
-
has_variant: z.boolean()
|
|
139
|
+
active: z.boolean(),
|
|
140
|
+
stock_available: z.boolean(),
|
|
141
|
+
on_offer: z.boolean(),
|
|
142
|
+
on_subscription: z.boolean(),
|
|
143
|
+
on_promotion: z.boolean(),
|
|
144
|
+
has_variant: z.boolean(),
|
|
145
145
|
tags: z.nullable(z.array(z.string())),
|
|
146
146
|
category_ids: z.array(z.string()),
|
|
147
147
|
reviews_rating_sum: z.number(),
|
|
@@ -208,12 +208,12 @@ export const SingleProduct$outboundSchema: z.ZodType<
|
|
|
208
208
|
slug: z.nullable(z.string()),
|
|
209
209
|
shortDescription: z.nullable(z.string()),
|
|
210
210
|
productType: ProductType$outboundSchema,
|
|
211
|
-
active: z.boolean()
|
|
212
|
-
stockAvailable: z.boolean()
|
|
213
|
-
onOffer: z.boolean()
|
|
214
|
-
onSubscription: z.boolean()
|
|
215
|
-
onPromotion: z.boolean()
|
|
216
|
-
hasVariant: z.boolean()
|
|
211
|
+
active: z.boolean(),
|
|
212
|
+
stockAvailable: z.boolean(),
|
|
213
|
+
onOffer: z.boolean(),
|
|
214
|
+
onSubscription: z.boolean(),
|
|
215
|
+
onPromotion: z.boolean(),
|
|
216
|
+
hasVariant: z.boolean(),
|
|
217
217
|
tags: z.nullable(z.array(z.string())),
|
|
218
218
|
categoryIds: z.array(z.string()),
|
|
219
219
|
reviewsRatingSum: z.number(),
|