Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
const toastMessage = {
    defaultErrorMessage: 'Something has went wrong, please try again',
    /* Address */
    addAddressSuccess: 'Address added successfully',
    addAddressFailure: 'Unable to add address, please try again',
    communicationPreferenceFailure: 'Error in setting communication data',
    removeAddressSuccess: 'Address removed successfully',
    removeAddressFailure: 'Unable to remove address, please try again',
    setDefaultAddressSuccess: 'Default address set successfully',
    setDefaultAddressFailure: 'Unable to set default address, please try again',
    updateAddressSuccess: 'Address updated successfully',
    updateAddressFailure: 'Unable to update address, please try again',
    /* card */
    addCardSuccess: 'Card added successfully',
    addCardFailure: 'Unable to add card, please try again',
    deleteCardSuccess: 'Card removed successfully',
    deleteCardFailure: 'Unable to remove card, please try again',
    noValidDefaultAddress: 'You do not have any default address',
    updateCardSuccess: 'Card updated successfully',
    updateCardFailure: 'Unable to update card, please try again',
    setDefaultCardSuccess: 'Default payment method set successfully',
    setDefaultCardFailure: 'Unable to set default payment method, please try again',
    /* favourite */
    addFavouriteSuccess: 'Item saved to cart',
    addFavoritesFailure: 'Unable to save item, please try again',
    removeSaveForLaterSuccess: 'Item removed from saveforlater successfully',
    removeFavouriteFailure: 'Unable to remove item from favourites, please try again',
    moveToCartSuccess: 'Item moved successfully',
    moveToCartFailure: 'Unable to move item to cart, please try again',
    /* cart */
    addToCartSuccess: 'Added to Cart successfully',
    addToCartFailure: 'Unable to add items to the cart, please try again',
    updateQuantityFailure: 'Unable to update quantity, please try again',
    removeFromCartSuccess: 'Item removed from cart successfully',
    removeFromCartFailure: 'Unable to remove item, please try again',
    updateBagFailure: 'Unable to update the quantity, please try again',
    updateBagSuccess: 'Cart updated successfully',
    cartSessionFailure: 'Unable to fetch cart information, please try again',
    cartLimitFailure: 'Sorry, Purchase quantity limit exceeded',
    /* user, details and authentications */
    loginFailure: 'Sign in failed, please try again',
    invalidCredentials: 'Please enter valid credentials',
    accountCreationFailure: 'Sorry, account creation failed',
    updateProfileSuccess: 'Changes saved successfully',
    updateProfileFailure: 'Unable to save changes, please try again',
    updatePasswordSuccess: 'Password updated Successfully',
    updatePasswordFailure: 'Unable to update password, please try again',
    updateQuestionSuccess: 'Security questions updated successfully',
    updateQuestionFailure: 'Unable to update security questions, please try again',
    createAccountFailure: 'Account creation failed, please try again',
    fetchProfileFailure: 'Unable to fetch profile information, please try again',
    /* order */
    reorderFailure: 'Unable to place order, please try later',
    getOrderFailure: 'Unable to fetch order details, please try again',
    cancelOrderSuccess: 'Order successfully canceled',
    cancelOrderFailure: 'Unable to cancel the order, please try again',
    /* checkout*/
    setShippmentFailure: 'Unable to set shipping address, please try agian',
    setShippingMethodFailure: 'Unable to set shipping method, please try again',
    updatePaymentFailure: 'Unable to proceed with payment, please try again',
    couponCodeFailure: 'Unable to add coupon code, please try again',
    couponCodeSuccess: 'Coupon code added successfully',
    couponCodeInvalid: 'Coupon code you have entered is invalid',
    couponCodeAlreadyExists: 'Coupon code you have entered already exists',
    removeCouponFailure: 'Unable to remove coupon code, please try again',
    removeCouponSuccess: 'Coupon code removed successfully',
    placeOrderFailure: 'Unable to place order, please try again',
    placeOrderSuccess: 'Order placed successfully',
    /* social link copy text */
    socialLinkCopy: 'Product link copied successfully',
    orderTrackError: 'Invalid order Id, please try again with valid Id',
    sameOldAndNewPassword: `Old password and new password can not be the same`,
    unregisteredAccount: 'If you have an account, an email/sms will be sent',
    securityQuestionValidation: 'Selected security question and answer does not match, please try again',
    registerSuccess: 'Confirmation will be sent to your email id shortly',
    orderApproved: 'Order approved successfully',
    orderRejected: 'Order rejected successfully',
    inviteUserSuccess: 'Invite Sent Successfully',
    deleteUserAccountSuccess: 'user deleted Successfully',
    deleteUserAccountFailure: 'user doesnot exist or invalid requests',
    /* List toasts */
    listCreatedSuccess: 'List created successfully',
    listDeletedSuccess: 'List deleted successfully',
    itemAddedToList: 'Item added to the list successfully',
    itemAddedToListWithName: 'Item added successfully to the list ',
    itemRemovedFromList: 'Item removed from the list',
    itemMovedToAnotherList: 'Item moved to list',
    itemAlreadyExisting: 'Item already available',
    moveItemUnsuccessful: 'Move item unsuccessful, Please try again',
    listUpdateFailed: 'List update failed',
    listUpdateSuccessful: 'List updated successfully',
    addItemToListFailure: 'Unable to add item to list',
    deleteItemFromListFailure: 'Unable to delete item from list',
    successfully: 'successfully',
    additemToFavoritesSuccess: 'Item added to favorites successfully',
    favoritesAddFailure: 'Unable to add item to favorites, Please try again',
    favoritesDeleteSuccess: 'Item removed from favorites successfully',
    deleteItemFromFavoritesFailure: 'Unable to delete item from favorites, Please try again',
};
const responseMessage = {
    accountCreationSuccess: 'User Created Successfully',
    registerMailFailure: 'User Created and Activated, but we faced issue with sending email to user',
    incorrectPasswordStatus: 'Incorrect Current Password',
    updateBagItemFailure: 'Success - Few or All items has error',
    updateBagSkuFailure: 'Success - No valid SKU in cart to process',
    updateQuantityLimitFailure: 'Failure - Purchase quantity above allowed',
    addCardStatus: 'User Updated Successfully',
    sameOldAndNewPassword: `Old Password And New Password Can't Be Same`,
    securityQuestionValidationFailure: 'Security Question Validation Failed',
    accountValidation: 'If you have an account, an email/sms will be sent',
    invalidPromoCode: /(Failure - Promocode)[a-zA-z\s]{1,}(invalid)/,
    sessionFailure: 'Failure - User not authorized to perform request',
    cartLimitExceeded: 'Failure - max Bag Quantity exceeded',
    invalidUser: 'Invalid User',
    promoAlreadyExists: 'Failure - Promotion Already Exists',
    accountDeletionSuccess: 'Ok',
    saveForLaterFailure: 'ListItem already exists',
    paymentFailureResponse: 'Cant delete the paymentItem as there are incomplete transactions',
};
export { toastMessage, responseMessage };
//# sourceMappingURL=fixture.js.map