ce-storefront 0.3.11 → 0.3.17
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 +129 -108
- package/docs/sdks/addresses/README.md +4 -363
- package/docs/sdks/auth/README.md +72 -0
- package/docs/sdks/authuser/README.md +80 -0
- package/docs/sdks/{refunds → cards}/README.md +12 -11
- package/docs/sdks/catalogproductreviews/README.md +97 -0
- package/docs/sdks/{shipments → catalogproducts}/README.md +12 -12
- package/docs/sdks/{skus → catalogskus}/README.md +3 -3
- package/docs/sdks/{cestorefrontreviews → cestorefrontaddresses}/README.md +123 -34
- package/docs/sdks/cestorefrontproducts/README.md +6 -0
- package/docs/sdks/cestorefrontuser/README.md +6 -735
- package/docs/sdks/cestorefrontusers/README.md +92 -0
- package/docs/sdks/countries/README.md +79 -0
- package/docs/sdks/customers/README.md +192 -18
- package/docs/sdks/juspay/README.md +15 -15
- package/docs/sdks/loyalty/README.md +0 -81
- package/docs/sdks/loyaltypoints/README.md +88 -0
- package/docs/sdks/notificationpreferences/README.md +4 -162
- package/docs/sdks/orders/README.md +163 -5
- package/docs/sdks/payments/README.md +15 -95
- package/docs/sdks/products/README.md +15 -94
- package/docs/sdks/reviews/README.md +17 -13
- package/docs/sdks/{shipping → shipment}/README.md +5 -5
- package/docs/sdks/user/README.md +425 -0
- package/docs/sdks/users/README.md +240 -0
- package/docs/sdks/utils/README.md +0 -72
- package/docs/sdks/wishlist/README.md +5 -5
- package/esm/funcs/{catalogProductsGetCrossSells.d.ts → addressesGet.d.ts} +4 -4
- package/esm/funcs/addressesGet.d.ts.map +1 -0
- package/esm/funcs/{customersAddressesGet.js → addressesGet.js} +2 -2
- package/esm/funcs/addressesGet.js.map +1 -0
- package/esm/funcs/{authUserLogout.d.ts → authLogout.d.ts} +2 -2
- package/esm/funcs/authLogout.d.ts.map +1 -0
- package/esm/funcs/{authUserLogout.js → authLogout.js} +2 -2
- package/esm/funcs/authLogout.js.map +1 -0
- package/esm/funcs/{authUserDeactivateAccount.d.ts → authUserDeactivate.d.ts} +2 -2
- package/esm/funcs/{paymentsGetMethods.d.ts.map → authUserDeactivate.d.ts.map} +1 -1
- package/esm/funcs/{authUserDeactivateAccount.js → authUserDeactivate.js} +2 -2
- package/esm/funcs/authUserDeactivate.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesGet.d.ts → authUserNotificationPreferencesGet.d.ts} +2 -2
- package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +1 -0
- package/esm/funcs/{userNotificationPreferencesGet.js → authUserNotificationPreferencesGet.js} +2 -2
- package/esm/funcs/authUserNotificationPreferencesGet.js.map +1 -0
- package/esm/funcs/{authUserAddProfileImage.d.ts → authUsersAddProfileImage.d.ts} +2 -2
- package/esm/funcs/authUsersAddProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserAddProfileImage.js → authUsersAddProfileImage.js} +2 -2
- package/esm/funcs/authUsersAddProfileImage.js.map +1 -0
- package/esm/funcs/{catalogProductsReviewsCreate.d.ts → catalogProductReviewsCreate.d.ts} +2 -2
- package/esm/funcs/catalogProductReviewsCreate.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsReviewsCreate.js → catalogProductReviewsCreate.js} +2 -2
- package/esm/funcs/catalogProductReviewsCreate.js.map +1 -0
- package/esm/funcs/customersAddAddress.d.ts +16 -0
- package/esm/funcs/{catalogProductsList.d.ts.map → customersAddAddress.d.ts.map} +1 -1
- package/esm/funcs/{customersAddressesAdd.js → customersAddAddress.js} +2 -2
- package/esm/funcs/customersAddAddress.js.map +1 -0
- package/esm/funcs/{customersPostCustomers.d.ts → customersCreate.d.ts} +2 -2
- package/esm/funcs/customersCreate.d.ts.map +1 -0
- package/esm/funcs/{customersPostCustomers.js → customersCreate.js} +2 -2
- package/esm/funcs/customersCreate.js.map +1 -0
- package/esm/funcs/{customersGetCustomersId.d.ts → customersGet.d.ts} +2 -2
- package/esm/funcs/customersGet.d.ts.map +1 -0
- package/esm/funcs/{customersGetCustomersId.js → customersGet.js} +2 -2
- package/esm/funcs/customersGet.js.map +1 -0
- package/esm/funcs/customersGetReviews.d.ts +15 -0
- package/esm/funcs/customersGetReviews.d.ts.map +1 -0
- package/esm/funcs/{customersReviewsList.js → customersGetReviews.js} +2 -2
- package/esm/funcs/customersGetReviews.js.map +1 -0
- package/esm/funcs/{customersAddressesAdd.d.ts → customersUpdate.d.ts} +4 -4
- package/esm/funcs/customersUpdate.d.ts.map +1 -0
- package/esm/funcs/{customersPutCustomersId.js → customersUpdate.js} +2 -2
- package/esm/funcs/customersUpdate.js.map +1 -0
- package/esm/funcs/juspayCreateCustomer.d.ts +17 -0
- package/esm/funcs/juspayCreateCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.js → juspayCreateCustomer.js} +2 -2
- package/esm/funcs/juspayCreateCustomer.js.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.d.ts → juspayCreateOrder.d.ts} +2 -2
- package/esm/funcs/juspayCreateOrder.d.ts.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js → juspayCreateOrder.js} +2 -2
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js.map → juspayCreateOrder.js.map} +1 -1
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.d.ts → juspayGetCustomer.d.ts} +2 -2
- package/esm/funcs/juspayGetCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js → juspayGetCustomer.js} +2 -2
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js.map → juspayGetCustomer.js.map} +1 -1
- package/esm/funcs/{customersLoyaltyListActivities.d.ts → loyaltyPointsListActivities.d.ts} +2 -2
- package/esm/funcs/loyaltyPointsListActivities.d.ts.map +1 -0
- package/esm/funcs/{customersLoyaltyListActivities.js → loyaltyPointsListActivities.js} +2 -2
- package/esm/funcs/loyaltyPointsListActivities.js.map +1 -0
- package/esm/funcs/{customersReviewsList.d.ts → ordersGetPaymentStatus.d.ts} +4 -4
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/{ordersGetOrdersIdPaymentStatus.js → ordersGetPaymentStatus.js} +2 -2
- package/esm/funcs/ordersGetPaymentStatus.js.map +1 -0
- package/esm/funcs/{ordersRefundsList.d.ts → ordersGetRefunds.d.ts} +2 -2
- package/esm/funcs/ordersGetRefunds.d.ts.map +1 -0
- package/esm/funcs/{ordersRefundsList.js → ordersGetRefunds.js} +2 -2
- package/esm/funcs/ordersGetRefunds.js.map +1 -0
- package/esm/funcs/{ordersShipmentsList.d.ts → ordersGetShipments.d.ts} +2 -2
- package/esm/funcs/ordersGetShipments.d.ts.map +1 -0
- package/esm/funcs/{ordersShipmentsList.js → ordersGetShipments.js} +2 -2
- package/esm/funcs/ordersGetShipments.js.map +1 -0
- package/esm/funcs/{paymentsPostPaymentsCards.d.ts → paymentsAddCard.d.ts} +2 -2
- package/esm/funcs/paymentsAddCard.d.ts.map +1 -0
- package/esm/funcs/{paymentsPostPaymentsCards.js → paymentsAddCard.js} +2 -2
- package/esm/funcs/paymentsAddCard.js.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsCards.d.ts → paymentsCardsList.d.ts} +2 -2
- package/esm/funcs/paymentsCardsList.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsCards.js → paymentsCardsList.js} +2 -2
- package/esm/funcs/paymentsCardsList.js.map +1 -0
- package/esm/funcs/{paymentsGetMethods.d.ts → paymentsListMethods.d.ts} +2 -2
- package/esm/funcs/paymentsListMethods.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetMethods.js → paymentsListMethods.js} +2 -2
- package/esm/funcs/paymentsListMethods.js.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsVerifyVpa.d.ts → paymentsVerifyVpa.d.ts} +2 -2
- package/esm/funcs/paymentsVerifyVpa.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsVerifyVpa.js → paymentsVerifyVpa.js} +2 -2
- package/esm/funcs/paymentsVerifyVpa.js.map +1 -0
- package/esm/funcs/{catalogProductsGetSimilar.d.ts → productsGetSimilar.d.ts} +2 -2
- package/esm/funcs/productsGetSimilar.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetSimilar.js → productsGetSimilar.js} +2 -2
- package/esm/funcs/productsGetSimilar.js.map +1 -0
- package/esm/funcs/{catalogProductsGetUpsells.d.ts → productsGetUpsells.d.ts} +2 -2
- package/esm/funcs/productsGetUpsells.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetUpsells.js → productsGetUpsells.js} +2 -2
- package/esm/funcs/productsGetUpsells.js.map +1 -0
- package/esm/funcs/{catalogProductsList.d.ts → productsList.d.ts} +2 -2
- package/esm/funcs/productsList.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsList.js → productsList.js} +2 -2
- package/esm/funcs/productsList.js.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.d.ts → productsListCrossSells.d.ts} +4 -5
- package/esm/funcs/productsListCrossSells.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetCrossSells.js → productsListCrossSells.js} +2 -2
- package/esm/funcs/productsListCrossSells.js.map +1 -0
- package/esm/funcs/{shippingCheckPincodeServiceability.d.ts → shipmentCheckPincodeServiceability.d.ts} +2 -2
- package/esm/funcs/{shippingCheckPincodeServiceability.d.ts.map → shipmentCheckPincodeServiceability.d.ts.map} +1 -1
- package/esm/funcs/{shippingCheckPincodeServiceability.js → shipmentCheckPincodeServiceability.js} +2 -2
- package/esm/funcs/{shippingCheckPincodeServiceability.js.map → shipmentCheckPincodeServiceability.js.map} +1 -1
- package/esm/funcs/{authUserDeleteProfileImage.d.ts → userDeleteProfileImage.d.ts} +2 -2
- package/esm/funcs/userDeleteProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserDeleteProfileImage.js → userDeleteProfileImage.js} +2 -2
- package/esm/funcs/userDeleteProfileImage.js.map +1 -0
- package/esm/funcs/{authUserResetPassword.d.ts → userResetPassword.d.ts} +2 -2
- package/esm/funcs/{ordersRefundsList.d.ts.map → userResetPassword.d.ts.map} +1 -1
- package/esm/funcs/{authUserResetPassword.js → userResetPassword.js} +2 -2
- package/esm/funcs/userResetPassword.js.map +1 -0
- package/esm/funcs/{authUserUpdate.d.ts → userUpdate.d.ts} +2 -2
- package/esm/funcs/userUpdate.d.ts.map +1 -0
- package/esm/funcs/{authUserUpdate.js → userUpdate.js} +2 -2
- package/esm/funcs/userUpdate.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesUpdate.d.ts → userUpdateNotificationPreferences.d.ts} +2 -2
- package/esm/funcs/{userNotificationPreferencesUpdate.d.ts.map → userUpdateNotificationPreferences.d.ts.map} +1 -1
- package/esm/funcs/{userNotificationPreferencesUpdate.js → userUpdateNotificationPreferences.js} +2 -2
- package/esm/funcs/{userNotificationPreferencesUpdate.js.map → userUpdateNotificationPreferences.js.map} +1 -1
- package/esm/funcs/{authUserUpdateProfileImage.d.ts → userUpdateProfileImage.d.ts} +2 -2
- package/esm/funcs/userUpdateProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserUpdateProfileImage.js → userUpdateProfileImage.js} +2 -2
- package/esm/funcs/userUpdateProfileImage.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesCreate.d.ts → usersCreateNotificationPreferences.d.ts} +2 -2
- package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +1 -0
- package/esm/funcs/{userNotificationPreferencesCreate.js → usersCreateNotificationPreferences.js} +2 -2
- package/esm/funcs/usersCreateNotificationPreferences.js.map +1 -0
- package/esm/funcs/{authUserGet.d.ts → usersGet.d.ts} +2 -2
- package/esm/funcs/usersGet.d.ts.map +1 -0
- package/esm/funcs/{authUserGet.js → usersGet.js} +2 -2
- package/esm/funcs/usersGet.js.map +1 -0
- package/esm/funcs/{authUserGetProfileImage.d.ts → usersGetProfileImage.d.ts} +2 -2
- package/esm/funcs/{customersReviewsList.d.ts.map → usersGetProfileImage.d.ts.map} +1 -1
- package/esm/funcs/{authUserGetProfileImage.js → usersGetProfileImage.js} +2 -2
- package/esm/funcs/{customersReviewsList.js.map → usersGetProfileImage.js.map} +1 -1
- package/esm/funcs/{utilsGetCountries.d.ts → utilsCountriesGet.d.ts} +2 -2
- package/esm/funcs/{utilsGetCountries.d.ts.map → utilsCountriesGet.d.ts.map} +1 -1
- package/esm/funcs/{utilsGetCountries.js → utilsCountriesGet.js} +2 -2
- package/esm/funcs/{utilsGetCountries.js.map → utilsCountriesGet.js.map} +1 -1
- package/esm/funcs/{wishlistDelete.d.ts → wishlistRemoveItem.d.ts} +2 -2
- package/esm/funcs/wishlistRemoveItem.d.ts.map +1 -0
- package/esm/funcs/{wishlistDelete.js → wishlistRemoveItem.js} +2 -2
- package/esm/funcs/wishlistRemoveItem.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/sdk/addresses.d.ts +0 -28
- package/esm/sdk/addresses.d.ts.map +1 -1
- package/esm/sdk/addresses.js +2 -42
- package/esm/sdk/addresses.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -0
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +14 -0
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/authuser.d.ts +12 -0
- package/esm/sdk/authuser.d.ts.map +1 -0
- package/esm/sdk/authuser.js +18 -0
- package/esm/sdk/authuser.js.map +1 -0
- package/esm/sdk/cards.d.ts +12 -0
- package/esm/sdk/cards.d.ts.map +1 -0
- package/esm/sdk/cards.js +18 -0
- package/esm/sdk/cards.js.map +1 -0
- package/esm/sdk/catalog.d.ts +2 -5
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/catalog.js +2 -6
- package/esm/sdk/catalog.js.map +1 -1
- package/esm/sdk/catalogproductreviews.d.ts +12 -0
- package/esm/sdk/catalogproductreviews.d.ts.map +1 -0
- package/esm/sdk/catalogproductreviews.js +18 -0
- package/esm/sdk/catalogproductreviews.js.map +1 -0
- package/esm/sdk/catalogproducts.d.ts +12 -0
- package/esm/sdk/catalogproducts.d.ts.map +1 -0
- package/esm/sdk/catalogproducts.js +18 -0
- package/esm/sdk/catalogproducts.js.map +1 -0
- package/esm/sdk/{skus.d.ts → catalogskus.d.ts} +2 -2
- package/esm/sdk/catalogskus.d.ts.map +1 -0
- package/esm/sdk/{skus.js → catalogskus.js} +2 -2
- package/esm/sdk/catalogskus.js.map +1 -0
- package/esm/sdk/cestorefrontaddresses.d.ts +26 -0
- package/esm/sdk/cestorefrontaddresses.d.ts.map +1 -0
- package/esm/sdk/cestorefrontaddresses.js +38 -0
- package/esm/sdk/cestorefrontaddresses.js.map +1 -0
- package/esm/sdk/cestorefrontproducts.d.ts +10 -0
- package/esm/sdk/cestorefrontproducts.d.ts.map +1 -0
- package/esm/sdk/cestorefrontproducts.js +15 -0
- package/esm/sdk/cestorefrontproducts.js.map +1 -0
- package/esm/sdk/cestorefrontuser.d.ts +4 -64
- package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
- package/esm/sdk/cestorefrontuser.js +6 -92
- package/esm/sdk/cestorefrontuser.js.map +1 -1
- package/esm/sdk/cestorefrontusers.d.ts +12 -0
- package/esm/sdk/cestorefrontusers.d.ts.map +1 -0
- package/esm/sdk/cestorefrontusers.js +18 -0
- package/esm/sdk/cestorefrontusers.js.map +1 -0
- package/esm/sdk/countries.d.ts +12 -0
- package/esm/sdk/countries.d.ts.map +1 -0
- package/esm/sdk/countries.js +18 -0
- package/esm/sdk/countries.js.map +1 -0
- package/esm/sdk/customers.d.ts +19 -8
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +31 -15
- 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 +0 -7
- package/esm/sdk/loyalty.d.ts.map +1 -1
- package/esm/sdk/loyalty.js +0 -10
- package/esm/sdk/loyalty.js.map +1 -1
- package/esm/sdk/loyaltypoints.d.ts +12 -0
- package/esm/sdk/loyaltypoints.d.ts.map +1 -0
- package/esm/sdk/loyaltypoints.js +18 -0
- package/esm/sdk/loyaltypoints.js.map +1 -0
- package/esm/sdk/notificationpreferences.d.ts +0 -14
- package/esm/sdk/notificationpreferences.d.ts.map +1 -1
- package/esm/sdk/notificationpreferences.js +2 -22
- package/esm/sdk/notificationpreferences.js.map +1 -1
- package/esm/sdk/orders.d.ts +15 -7
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +23 -11
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/payments.d.ts +6 -10
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +13 -19
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/products.d.ts +1 -14
- package/esm/sdk/products.d.ts.map +1 -1
- package/esm/sdk/products.js +9 -27
- package/esm/sdk/products.js.map +1 -1
- 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 +27 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +35 -3
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/{shipping.d.ts → shipment.d.ts} +2 -2
- package/esm/sdk/{shipping.d.ts.map → shipment.d.ts.map} +1 -1
- package/esm/sdk/{shipping.js → shipment.js} +4 -4
- package/esm/sdk/{shipping.js.map → shipment.js.map} +1 -1
- package/esm/sdk/user.d.ts +37 -4
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +50 -3
- package/esm/sdk/user.js.map +1 -1
- package/esm/sdk/users.d.ts +26 -0
- package/esm/sdk/users.d.ts.map +1 -0
- package/esm/sdk/users.js +38 -0
- package/esm/sdk/users.js.map +1 -0
- package/esm/sdk/utils.d.ts +3 -7
- package/esm/sdk/utils.d.ts.map +1 -1
- package/esm/sdk/utils.js +3 -9
- 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/{customersAddressesGet.ts → addressesGet.ts} +1 -1
- package/src/funcs/{authUserLogout.ts → authLogout.ts} +1 -1
- package/src/funcs/{authUserDeactivateAccount.ts → authUserDeactivate.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesGet.ts → authUserNotificationPreferencesGet.ts} +1 -1
- package/src/funcs/{authUserAddProfileImage.ts → authUsersAddProfileImage.ts} +1 -1
- package/src/funcs/{catalogProductsReviewsCreate.ts → catalogProductReviewsCreate.ts} +1 -1
- package/src/funcs/{customersAddressesAdd.ts → customersAddAddress.ts} +1 -1
- package/src/funcs/{customersPostCustomers.ts → customersCreate.ts} +1 -1
- package/src/funcs/{customersGetCustomersId.ts → customersGet.ts} +1 -1
- package/src/funcs/{customersReviewsList.ts → customersGetReviews.ts} +1 -1
- package/src/funcs/{customersPutCustomersId.ts → customersUpdate.ts} +1 -1
- package/src/funcs/{juspayPostPaymentsJuspayCreateCustomer.ts → juspayCreateCustomer.ts} +1 -1
- package/src/funcs/{juspayPostPaymentsJuspayCreateOrder.ts → juspayCreateOrder.ts} +1 -1
- package/src/funcs/{juspayGetPaymentsJuspayCustomer.ts → juspayGetCustomer.ts} +1 -1
- package/src/funcs/{customersLoyaltyListActivities.ts → loyaltyPointsListActivities.ts} +1 -1
- package/src/funcs/{ordersGetOrdersIdPaymentStatus.ts → ordersGetPaymentStatus.ts} +1 -1
- package/src/funcs/{ordersRefundsList.ts → ordersGetRefunds.ts} +1 -1
- package/src/funcs/{ordersShipmentsList.ts → ordersGetShipments.ts} +1 -1
- package/src/funcs/{paymentsPostPaymentsCards.ts → paymentsAddCard.ts} +1 -1
- package/src/funcs/{paymentsGetPaymentsCards.ts → paymentsCardsList.ts} +1 -1
- package/src/funcs/{paymentsGetMethods.ts → paymentsListMethods.ts} +1 -1
- package/src/funcs/{paymentsGetPaymentsVerifyVpa.ts → paymentsVerifyVpa.ts} +1 -1
- package/src/funcs/{catalogProductsGetSimilar.ts → productsGetSimilar.ts} +1 -1
- package/src/funcs/{catalogProductsGetUpsells.ts → productsGetUpsells.ts} +1 -1
- package/src/funcs/{catalogProductsList.ts → productsList.ts} +1 -1
- package/src/funcs/{catalogProductsGetCrossSells.ts → productsListCrossSells.ts} +1 -1
- package/src/funcs/{shippingCheckPincodeServiceability.ts → shipmentCheckPincodeServiceability.ts} +1 -1
- package/src/funcs/{authUserDeleteProfileImage.ts → userDeleteProfileImage.ts} +1 -1
- package/src/funcs/{authUserResetPassword.ts → userResetPassword.ts} +1 -1
- package/src/funcs/{authUserUpdate.ts → userUpdate.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesUpdate.ts → userUpdateNotificationPreferences.ts} +1 -1
- package/src/funcs/{authUserUpdateProfileImage.ts → userUpdateProfileImage.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesCreate.ts → usersCreateNotificationPreferences.ts} +1 -1
- package/src/funcs/{authUserGet.ts → usersGet.ts} +1 -1
- package/src/funcs/{authUserGetProfileImage.ts → usersGetProfileImage.ts} +1 -1
- package/src/funcs/{utilsGetCountries.ts → utilsCountriesGet.ts} +1 -1
- package/src/funcs/{wishlistDelete.ts → wishlistRemoveItem.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/addresses.ts +2 -74
- package/src/sdk/auth.ts +22 -0
- package/src/sdk/authuser.ts +27 -0
- package/src/sdk/{refunds.ts → cards.ts} +7 -7
- package/src/sdk/catalog.ts +4 -10
- package/src/sdk/catalogproductreviews.ts +27 -0
- package/src/sdk/catalogproducts.ts +27 -0
- package/src/sdk/{skus.ts → catalogskus.ts} +1 -1
- package/src/sdk/cestorefrontaddresses.ts +63 -0
- package/src/sdk/cestorefrontproducts.ts +19 -0
- package/src/sdk/cestorefrontuser.ts +8 -160
- package/src/sdk/cestorefrontusers.ts +27 -0
- package/src/sdk/countries.ts +25 -0
- package/src/sdk/customers.ts +49 -19
- package/src/sdk/juspay.ts +9 -9
- package/src/sdk/loyalty.ts +0 -18
- package/src/sdk/loyaltypoints.ts +27 -0
- package/src/sdk/notificationpreferences.ts +2 -38
- package/src/sdk/orders.ts +39 -15
- package/src/sdk/payments.ts +15 -27
- package/src/sdk/products.ts +9 -39
- package/src/sdk/reviews.ts +6 -6
- package/src/sdk/sdk.ts +54 -4
- package/src/sdk/{shipping.ts → shipment.ts} +3 -3
- package/src/sdk/user.ts +90 -6
- package/src/sdk/users.ts +63 -0
- package/src/sdk/utils.ts +4 -14
- package/src/sdk/wishlist.ts +3 -3
- package/esm/funcs/authUserAddProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserAddProfileImage.js.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.d.ts.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.js.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.js.map +0 -1
- package/esm/funcs/authUserGet.d.ts.map +0 -1
- package/esm/funcs/authUserGet.js.map +0 -1
- package/esm/funcs/authUserGetProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserGetProfileImage.js.map +0 -1
- package/esm/funcs/authUserLogout.d.ts.map +0 -1
- package/esm/funcs/authUserLogout.js.map +0 -1
- package/esm/funcs/authUserResetPassword.d.ts.map +0 -1
- package/esm/funcs/authUserResetPassword.js.map +0 -1
- package/esm/funcs/authUserUpdate.d.ts.map +0 -1
- package/esm/funcs/authUserUpdate.js.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.js.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.js.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.js.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.js.map +0 -1
- package/esm/funcs/catalogProductsList.js.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.js.map +0 -1
- package/esm/funcs/customersAddressesAdd.d.ts.map +0 -1
- package/esm/funcs/customersAddressesAdd.js.map +0 -1
- package/esm/funcs/customersAddressesGet.d.ts +0 -16
- package/esm/funcs/customersAddressesGet.d.ts.map +0 -1
- package/esm/funcs/customersAddressesGet.js.map +0 -1
- package/esm/funcs/customersGetCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersGetCustomersId.js.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.d.ts.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.js.map +0 -1
- package/esm/funcs/customersPostCustomers.d.ts.map +0 -1
- package/esm/funcs/customersPostCustomers.js.map +0 -1
- package/esm/funcs/customersPutCustomersId.d.ts +0 -16
- package/esm/funcs/customersPutCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersPutCustomersId.js.map +0 -1
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +0 -15
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +0 -1
- package/esm/funcs/ordersRefundsList.js.map +0 -1
- package/esm/funcs/ordersShipmentsList.d.ts.map +0 -1
- package/esm/funcs/ordersShipmentsList.js.map +0 -1
- package/esm/funcs/paymentsGetMethods.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.js.map +0 -1
- package/esm/funcs/wishlistDelete.d.ts.map +0 -1
- package/esm/funcs/wishlistDelete.js.map +0 -1
- package/esm/sdk/cestorefrontreviews.d.ts +0 -19
- package/esm/sdk/cestorefrontreviews.d.ts.map +0 -1
- package/esm/sdk/cestorefrontreviews.js +0 -28
- package/esm/sdk/cestorefrontreviews.js.map +0 -1
- package/esm/sdk/refunds.d.ts +0 -12
- package/esm/sdk/refunds.d.ts.map +0 -1
- package/esm/sdk/refunds.js +0 -18
- package/esm/sdk/refunds.js.map +0 -1
- package/esm/sdk/shipments.d.ts +0 -12
- package/esm/sdk/shipments.d.ts.map +0 -1
- package/esm/sdk/shipments.js +0 -18
- package/esm/sdk/shipments.js.map +0 -1
- package/esm/sdk/skus.d.ts.map +0 -1
- package/esm/sdk/skus.js.map +0 -1
- package/src/sdk/cestorefrontreviews.ts +0 -45
- package/src/sdk/shipments.ts +0 -27
package/esm/sdk/customers.js
CHANGED
|
@@ -1,32 +1,30 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { customersAddAddress } from "../funcs/customersAddAddress.js";
|
|
5
|
+
import { customersCreate } from "../funcs/customersCreate.js";
|
|
6
|
+
import { customersGet } from "../funcs/customersGet.js";
|
|
7
|
+
import { customersGetReviews } from "../funcs/customersGetReviews.js";
|
|
8
|
+
import { customersUpdate } from "../funcs/customersUpdate.js";
|
|
7
9
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
-
import {
|
|
11
|
+
import { CeStorefrontAddresses } from "./cestorefrontaddresses.js";
|
|
10
12
|
import { Loyalty } from "./loyalty.js";
|
|
11
|
-
import { Reviews } from "./reviews.js";
|
|
12
13
|
export class Customers extends ClientSDK {
|
|
13
14
|
get addresses() {
|
|
14
|
-
return (this._addresses ?? (this._addresses = new
|
|
15
|
+
return (this._addresses ?? (this._addresses = new CeStorefrontAddresses(this._options)));
|
|
15
16
|
}
|
|
16
17
|
get loyalty() {
|
|
17
18
|
return (this._loyalty ?? (this._loyalty = new Loyalty(this._options)));
|
|
18
19
|
}
|
|
19
|
-
get reviews() {
|
|
20
|
-
return (this._reviews ?? (this._reviews = new Reviews(this._options)));
|
|
21
|
-
}
|
|
22
20
|
/**
|
|
23
21
|
* Create customer
|
|
24
22
|
*
|
|
25
23
|
* @remarks
|
|
26
24
|
* Create customer
|
|
27
25
|
*/
|
|
28
|
-
async
|
|
29
|
-
return unwrapAsync(
|
|
26
|
+
async create(request, options) {
|
|
27
|
+
return unwrapAsync(customersCreate(this, request, options));
|
|
30
28
|
}
|
|
31
29
|
/**
|
|
32
30
|
* Retrieve customer detail
|
|
@@ -34,8 +32,8 @@ export class Customers extends ClientSDK {
|
|
|
34
32
|
* @remarks
|
|
35
33
|
* Retrieve customer detail.
|
|
36
34
|
*/
|
|
37
|
-
async
|
|
38
|
-
return unwrapAsync(
|
|
35
|
+
async get(request, options) {
|
|
36
|
+
return unwrapAsync(customersGet(this, request, options));
|
|
39
37
|
}
|
|
40
38
|
/**
|
|
41
39
|
* Update customer detail
|
|
@@ -43,8 +41,26 @@ export class Customers extends ClientSDK {
|
|
|
43
41
|
* @remarks
|
|
44
42
|
* Update customer detail
|
|
45
43
|
*/
|
|
46
|
-
async
|
|
47
|
-
return unwrapAsync(
|
|
44
|
+
async update(request, options) {
|
|
45
|
+
return unwrapAsync(customersUpdate(this, request, options));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Add address
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Add new address
|
|
52
|
+
*/
|
|
53
|
+
async addAddress(request, options) {
|
|
54
|
+
return unwrapAsync(customersAddAddress(this, request, options));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve all reviews
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Retrieve all reviews
|
|
61
|
+
*/
|
|
62
|
+
async getReviews(request, options) {
|
|
63
|
+
return unwrapAsync(customersGetReviews(this, request, options));
|
|
48
64
|
}
|
|
49
65
|
}
|
|
50
66
|
//# sourceMappingURL=customers.js.map
|
package/esm/sdk/customers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,OAAO,SAAU,SAAQ,SAAS;IAEtC,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/juspay.d.ts
CHANGED
|
@@ -9,20 +9,20 @@ export declare class Juspay extends ClientSDK {
|
|
|
9
9
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
10
10
|
* To be used for Express Checkout integration.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
createOrder(request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateOrderResponseBody>;
|
|
13
13
|
/**
|
|
14
14
|
* Create customer in juspay
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
* Create customer in juspay.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
createCustomer(request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateCustomerResponseBody>;
|
|
20
20
|
/**
|
|
21
21
|
* Retrieve customer from juspay
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
24
|
* Retrieve customer from juspay.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
getCustomer(request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<operations.GetPaymentsJuspayCustomerResponseBody>;
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=juspay.d.ts.map
|
package/esm/sdk/juspay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,
|
|
1
|
+
{"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yCAAyC,CAAC;IAQhE;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;IAQnE;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAO7D"}
|
package/esm/sdk/juspay.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { juspayCreateCustomer } from "../funcs/juspayCreateCustomer.js";
|
|
5
|
+
import { juspayCreateOrder } from "../funcs/juspayCreateOrder.js";
|
|
6
|
+
import { juspayGetCustomer } from "../funcs/juspayGetCustomer.js";
|
|
7
7
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
export class Juspay extends ClientSDK {
|
|
@@ -14,8 +14,8 @@ export class Juspay extends ClientSDK {
|
|
|
14
14
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
15
15
|
* To be used for Express Checkout integration.
|
|
16
16
|
*/
|
|
17
|
-
async
|
|
18
|
-
return unwrapAsync(
|
|
17
|
+
async createOrder(request, options) {
|
|
18
|
+
return unwrapAsync(juspayCreateOrder(this, request, options));
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Create customer in juspay
|
|
@@ -23,8 +23,8 @@ export class Juspay extends ClientSDK {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* Create customer in juspay.
|
|
25
25
|
*/
|
|
26
|
-
async
|
|
27
|
-
return unwrapAsync(
|
|
26
|
+
async createCustomer(request, options) {
|
|
27
|
+
return unwrapAsync(juspayCreateCustomer(this, request, options));
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Retrieve customer from juspay
|
|
@@ -32,8 +32,8 @@ export class Juspay extends ClientSDK {
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve customer from juspay.
|
|
34
34
|
*/
|
|
35
|
-
async
|
|
36
|
-
return unwrapAsync(
|
|
35
|
+
async getCustomer(request, options) {
|
|
36
|
+
return unwrapAsync(juspayGetCustomer(this, request, options));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=juspay.js.map
|
package/esm/sdk/juspay.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACH,KAAK,CAAC,WAAW,CACf,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,oBAAoB,CACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/loyalty.d.ts
CHANGED
|
@@ -8,12 +8,5 @@ export declare class Loyalty extends ClientSDK {
|
|
|
8
8
|
* Retrieve loyalty details
|
|
9
9
|
*/
|
|
10
10
|
get(request: operations.GetLoyaltyPointRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointResponseBody>;
|
|
11
|
-
/**
|
|
12
|
-
* List all loyalty points activity
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* List all loyalty points activity
|
|
16
|
-
*/
|
|
17
|
-
listActivities(request: operations.GetLoyaltyPointActivityRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointActivityResponseBody>;
|
|
18
11
|
}
|
|
19
12
|
//# sourceMappingURL=loyalty.d.ts.map
|
package/esm/sdk/loyalty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
|
package/esm/sdk/loyalty.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { customersLoyaltyGet } from "../funcs/customersLoyaltyGet.js";
|
|
5
|
-
import { customersLoyaltyListActivities } from "../funcs/customersLoyaltyListActivities.js";
|
|
6
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
7
6
|
import { unwrapAsync } from "../types/fp.js";
|
|
8
7
|
export class Loyalty extends ClientSDK {
|
|
@@ -15,14 +14,5 @@ export class Loyalty extends ClientSDK {
|
|
|
15
14
|
async get(request, options) {
|
|
16
15
|
return unwrapAsync(customersLoyaltyGet(this, request, options));
|
|
17
16
|
}
|
|
18
|
-
/**
|
|
19
|
-
* List all loyalty points activity
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* List all loyalty points activity
|
|
23
|
-
*/
|
|
24
|
-
async listActivities(request, options) {
|
|
25
|
-
return unwrapAsync(customersLoyaltyListActivities(this, request, options));
|
|
26
|
-
}
|
|
27
17
|
}
|
|
28
18
|
//# sourceMappingURL=loyalty.js.map
|
package/esm/sdk/loyalty.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class LoyaltyPoints extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* List all loyalty points activity
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* List all loyalty points activity
|
|
9
|
+
*/
|
|
10
|
+
listActivities(request: operations.GetLoyaltyPointActivityRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointActivityResponseBody>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=loyaltypoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loyaltypoints.d.ts","sourceRoot":"","sources":["../../src/sdk/loyaltypoints.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;CAO3D"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { loyaltyPointsListActivities } from "../funcs/loyaltyPointsListActivities.js";
|
|
5
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export class LoyaltyPoints extends ClientSDK {
|
|
8
|
+
/**
|
|
9
|
+
* List all loyalty points activity
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* List all loyalty points activity
|
|
13
|
+
*/
|
|
14
|
+
async listActivities(request, options) {
|
|
15
|
+
return unwrapAsync(loyaltyPointsListActivities(this, request, options));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=loyaltypoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loyaltypoints.js","sourceRoot":"","sources":["../../src/sdk/loyaltypoints.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -8,19 +8,5 @@ export declare class NotificationPreferences extends ClientSDK {
|
|
|
8
8
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
9
9
|
*/
|
|
10
10
|
get(request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdNotificationPreferencesResponseBody>;
|
|
11
|
-
/**
|
|
12
|
-
* Create user notification preferences
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
16
|
-
*/
|
|
17
|
-
create(request: operations.PostAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdNotificationPreferencesResponseBody>;
|
|
18
|
-
/**
|
|
19
|
-
* Update user notification preferences
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
23
|
-
*/
|
|
24
|
-
update(request: operations.PutAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody>;
|
|
25
11
|
}
|
|
26
12
|
//# sourceMappingURL=notificationpreferences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,uBAAwB,SAAQ,SAAS;IACpD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;CAOxE"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import { userNotificationPreferencesGet } from "../funcs/userNotificationPreferencesGet.js";
|
|
6
|
-
import { userNotificationPreferencesUpdate } from "../funcs/userNotificationPreferencesUpdate.js";
|
|
4
|
+
import { authUserNotificationPreferencesGet } from "../funcs/authUserNotificationPreferencesGet.js";
|
|
7
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
6
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
7
|
export class NotificationPreferences extends ClientSDK {
|
|
@@ -14,25 +12,7 @@ export class NotificationPreferences extends ClientSDK {
|
|
|
14
12
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
15
13
|
*/
|
|
16
14
|
async get(request, options) {
|
|
17
|
-
return unwrapAsync(
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Create user notification preferences
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
24
|
-
*/
|
|
25
|
-
async create(request, options) {
|
|
26
|
-
return unwrapAsync(userNotificationPreferencesCreate(this, request, options));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Update user notification preferences
|
|
30
|
-
*
|
|
31
|
-
* @remarks
|
|
32
|
-
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
33
|
-
*/
|
|
34
|
-
async update(request, options) {
|
|
35
|
-
return unwrapAsync(userNotificationPreferencesUpdate(this, request, options));
|
|
15
|
+
return unwrapAsync(authUserNotificationPreferencesGet(this, request, options));
|
|
36
16
|
}
|
|
37
17
|
}
|
|
38
18
|
//# sourceMappingURL=notificationpreferences.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationpreferences.js","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"notificationpreferences.js","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,uBAAwB,SAAQ,SAAS;IACpD;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA+D,EAC/D,OAAwB;QAExB,OAAO,WAAW,CAAC,kCAAkC,CACnD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/orders.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
3
|
import { CeStorefrontOrdersPayments } from "./cestorefrontorderspayments.js";
|
|
4
|
-
import { Refunds } from "./refunds.js";
|
|
5
|
-
import { Shipments } from "./shipments.js";
|
|
6
4
|
export declare class Orders extends ClientSDK {
|
|
7
|
-
private _shipments?;
|
|
8
|
-
get shipments(): Shipments;
|
|
9
|
-
private _refunds?;
|
|
10
|
-
get refunds(): Refunds;
|
|
11
5
|
private _payments?;
|
|
12
6
|
get payments(): CeStorefrontOrdersPayments;
|
|
13
7
|
/**
|
|
@@ -31,6 +25,20 @@ export declare class Orders extends ClientSDK {
|
|
|
31
25
|
* view particular order details
|
|
32
26
|
*/
|
|
33
27
|
get(request: operations.GetOrdersIdRequest, options?: RequestOptions): Promise<operations.GetOrdersIdResponseBody>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve order shipments
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Retrieve order shipments
|
|
33
|
+
*/
|
|
34
|
+
getShipments(request: operations.GetOrdersIdShipmentsRequest, options?: RequestOptions): Promise<operations.GetOrdersIdShipmentsResponseBody>;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve order refunds
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Retrieve order refunds
|
|
40
|
+
*/
|
|
41
|
+
getRefunds(request: operations.GetOrdersIdRefundsRequest, options?: RequestOptions): Promise<operations.GetOrdersIdRefundsResponseBody>;
|
|
34
42
|
/**
|
|
35
43
|
* Cancel order
|
|
36
44
|
*
|
|
@@ -51,6 +59,6 @@ export declare class Orders extends ClientSDK {
|
|
|
51
59
|
* @remarks
|
|
52
60
|
* Retrieve payment status of a paricular order.
|
|
53
61
|
*/
|
|
54
|
-
|
|
62
|
+
getPaymentStatus(request: operations.GetOrdersIdPaymentStatusRequest, options?: RequestOptions): Promise<operations.GetOrdersIdPaymentStatusResponseBody>;
|
|
55
63
|
}
|
|
56
64
|
//# sourceMappingURL=orders.d.ts.map
|
package/esm/sdk/orders.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../src/sdk/orders.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../src/sdk/orders.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,qBAAa,MAAO,SAAQ,SAAS;IACnC,OAAO,CAAC,SAAS,CAAC,CAA6B;IAC/C,IAAI,QAAQ,IAAI,0BAA0B,CAEzC;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAQ9C;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAQrD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;IAQ1D;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oCAAoC,CAAC;CAO5D"}
|
package/esm/sdk/orders.js
CHANGED
|
@@ -4,21 +4,15 @@
|
|
|
4
4
|
import { ordersCancel } from "../funcs/ordersCancel.js";
|
|
5
5
|
import { ordersCreate } from "../funcs/ordersCreate.js";
|
|
6
6
|
import { ordersGet } from "../funcs/ordersGet.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ordersGetPaymentStatus } from "../funcs/ordersGetPaymentStatus.js";
|
|
8
|
+
import { ordersGetRefunds } from "../funcs/ordersGetRefunds.js";
|
|
9
|
+
import { ordersGetShipments } from "../funcs/ordersGetShipments.js";
|
|
8
10
|
import { ordersList } from "../funcs/ordersList.js";
|
|
9
11
|
import { ordersRetryPayment } from "../funcs/ordersRetryPayment.js";
|
|
10
12
|
import { ClientSDK } from "../lib/sdks.js";
|
|
11
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
14
|
import { CeStorefrontOrdersPayments } from "./cestorefrontorderspayments.js";
|
|
13
|
-
import { Refunds } from "./refunds.js";
|
|
14
|
-
import { Shipments } from "./shipments.js";
|
|
15
15
|
export class Orders extends ClientSDK {
|
|
16
|
-
get shipments() {
|
|
17
|
-
return (this._shipments ?? (this._shipments = new Shipments(this._options)));
|
|
18
|
-
}
|
|
19
|
-
get refunds() {
|
|
20
|
-
return (this._refunds ?? (this._refunds = new Refunds(this._options)));
|
|
21
|
-
}
|
|
22
16
|
get payments() {
|
|
23
17
|
return (this._payments ?? (this._payments = new CeStorefrontOrdersPayments(this._options)));
|
|
24
18
|
}
|
|
@@ -49,6 +43,24 @@ export class Orders extends ClientSDK {
|
|
|
49
43
|
async get(request, options) {
|
|
50
44
|
return unwrapAsync(ordersGet(this, request, options));
|
|
51
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve order shipments
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* Retrieve order shipments
|
|
51
|
+
*/
|
|
52
|
+
async getShipments(request, options) {
|
|
53
|
+
return unwrapAsync(ordersGetShipments(this, request, options));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Retrieve order refunds
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Retrieve order refunds
|
|
60
|
+
*/
|
|
61
|
+
async getRefunds(request, options) {
|
|
62
|
+
return unwrapAsync(ordersGetRefunds(this, request, options));
|
|
63
|
+
}
|
|
52
64
|
/**
|
|
53
65
|
* Cancel order
|
|
54
66
|
*
|
|
@@ -73,8 +85,8 @@ export class Orders extends ClientSDK {
|
|
|
73
85
|
* @remarks
|
|
74
86
|
* Retrieve payment status of a paricular order.
|
|
75
87
|
*/
|
|
76
|
-
async
|
|
77
|
-
return unwrapAsync(
|
|
88
|
+
async getPaymentStatus(request, options) {
|
|
89
|
+
return unwrapAsync(ordersGetPaymentStatus(this, request, options));
|
|
78
90
|
}
|
|
79
91
|
}
|
|
80
92
|
//# sourceMappingURL=orders.js.map
|
package/esm/sdk/orders.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.js","sourceRoot":"","sources":["../../src/sdk/orders.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"orders.js","sourceRoot":"","sources":["../../src/sdk/orders.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,MAAM,OAAO,MAAO,SAAQ,SAAS;IAEnC,IAAI,QAAQ;QACV,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,0BAA0B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5E,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAoC,EACpC,OAAwB;QAExB,OAAO,WAAW,CAAC,UAAU,CAC3B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,SAAS,CAC1B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAmD,EACnD,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/payments.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
|
+
import { Cards } from "./cards.js";
|
|
3
4
|
export declare class Payments extends ClientSDK {
|
|
5
|
+
private _cards?;
|
|
6
|
+
get cards(): Cards;
|
|
4
7
|
/**
|
|
5
8
|
* Generate hash
|
|
6
9
|
*
|
|
@@ -14,21 +17,14 @@ export declare class Payments extends ClientSDK {
|
|
|
14
17
|
* @remarks
|
|
15
18
|
* List all payment methods
|
|
16
19
|
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* List all saved cards
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* List all saved cards.
|
|
23
|
-
*/
|
|
24
|
-
getPaymentsCards(request: operations.GetPaymentsCardsRequest, options?: RequestOptions): Promise<operations.GetPaymentsCardsResponseBody>;
|
|
20
|
+
listMethods(request: operations.GetPaymentMethodsRequest, options?: RequestOptions): Promise<operations.GetPaymentMethodsResponseBody>;
|
|
25
21
|
/**
|
|
26
22
|
* Add card
|
|
27
23
|
*
|
|
28
24
|
* @remarks
|
|
29
25
|
* Add a new card
|
|
30
26
|
*/
|
|
31
|
-
|
|
27
|
+
addCard(request: operations.PostPaymentsCardsRequestBody, options?: RequestOptions): Promise<operations.PostPaymentsCardsResponseBody>;
|
|
32
28
|
/**
|
|
33
29
|
* Verify VPA
|
|
34
30
|
*
|
|
@@ -36,6 +32,6 @@ export declare class Payments extends ClientSDK {
|
|
|
36
32
|
* 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.
|
|
37
33
|
* Validating the VPA will help in reducing the failure rate due to incorrect vpa.
|
|
38
34
|
*/
|
|
39
|
-
|
|
35
|
+
verifyVpa(request: operations.GetPaymentsVerifyVpaRequest, options?: RequestOptions): Promise<operations.GetPaymentsVerifyVpaResponseBody>;
|
|
40
36
|
}
|
|
41
37
|
//# sourceMappingURL=payments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../src/sdk/payments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../src/sdk/payments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAa,QAAS,SAAQ,SAAS;IACrC,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAQ3D;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;OAKG;IACG,OAAO,CACX,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;;OAMG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;CAOxD"}
|
package/esm/sdk/payments.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
+
import { paymentsAddCard } from "../funcs/paymentsAddCard.js";
|
|
4
5
|
import { paymentsGenerateHash } from "../funcs/paymentsGenerateHash.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { paymentsGetPaymentsVerifyVpa } from "../funcs/paymentsGetPaymentsVerifyVpa.js";
|
|
8
|
-
import { paymentsPostPaymentsCards } from "../funcs/paymentsPostPaymentsCards.js";
|
|
6
|
+
import { paymentsListMethods } from "../funcs/paymentsListMethods.js";
|
|
7
|
+
import { paymentsVerifyVpa } from "../funcs/paymentsVerifyVpa.js";
|
|
9
8
|
import { ClientSDK } from "../lib/sdks.js";
|
|
10
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
import { Cards } from "./cards.js";
|
|
11
11
|
export class Payments extends ClientSDK {
|
|
12
|
+
get cards() {
|
|
13
|
+
return (this._cards ?? (this._cards = new Cards(this._options)));
|
|
14
|
+
}
|
|
12
15
|
/**
|
|
13
16
|
* Generate hash
|
|
14
17
|
*
|
|
@@ -24,17 +27,8 @@ export class Payments extends ClientSDK {
|
|
|
24
27
|
* @remarks
|
|
25
28
|
* List all payment methods
|
|
26
29
|
*/
|
|
27
|
-
async
|
|
28
|
-
return unwrapAsync(
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* List all saved cards
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* List all saved cards.
|
|
35
|
-
*/
|
|
36
|
-
async getPaymentsCards(request, options) {
|
|
37
|
-
return unwrapAsync(paymentsGetPaymentsCards(this, request, options));
|
|
30
|
+
async listMethods(request, options) {
|
|
31
|
+
return unwrapAsync(paymentsListMethods(this, request, options));
|
|
38
32
|
}
|
|
39
33
|
/**
|
|
40
34
|
* Add card
|
|
@@ -42,8 +36,8 @@ export class Payments extends ClientSDK {
|
|
|
42
36
|
* @remarks
|
|
43
37
|
* Add a new card
|
|
44
38
|
*/
|
|
45
|
-
async
|
|
46
|
-
return unwrapAsync(
|
|
39
|
+
async addCard(request, options) {
|
|
40
|
+
return unwrapAsync(paymentsAddCard(this, request, options));
|
|
47
41
|
}
|
|
48
42
|
/**
|
|
49
43
|
* Verify VPA
|
|
@@ -52,8 +46,8 @@ export class Payments extends ClientSDK {
|
|
|
52
46
|
* 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.
|
|
53
47
|
* Validating the VPA will help in reducing the failure rate due to incorrect vpa.
|
|
54
48
|
*/
|
|
55
|
-
async
|
|
56
|
-
return unwrapAsync(
|
|
49
|
+
async verifyVpa(request, options) {
|
|
50
|
+
return unwrapAsync(paymentsVerifyVpa(this, request, options));
|
|
57
51
|
}
|
|
58
52
|
}
|
|
59
53
|
//# sourceMappingURL=payments.js.map
|
package/esm/sdk/payments.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.js","sourceRoot":"","sources":["../../src/sdk/payments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"payments.js","sourceRoot":"","sources":["../../src/sdk/payments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,OAAO,QAAS,SAAQ,SAAS;IAErC,IAAI,KAAK;QACP,OAAO,CAAC,IAAI,CAAC,MAAM,KAAX,IAAI,CAAC,MAAM,GAAK,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuD,EACvD,OAAwB;QAExB,OAAO,WAAW,CAAC,oBAAoB,CACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,SAAS,CACb,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|