<commit_before>/**
 * Endpoints provides a key value list of uri mappings used by the vendorlize api.
 * @class Endpoints
 *
 * @constructor
 *
 */
module.exports = function Endpoints() {

	var slug = '([a-z0-9-]{1,128})';

	return {

		PRODUCTS: '/_/products',
		PRODUCT: new RegExp('^/_/products/' + slug + '$'),

		CART_ITEMS: '/_/cart/items',
		CART_ITEMS_COUNT: '/_/cart/items/@count',
		CART_ITEM: new RegExp('^/_/cart/items/' + slug + '$'),
		CART_ITEM_QUANTITY: new RegExp('^/_/cart/items/' + slug + '/@quantity$'),
		CART_ITEM_QUANTITY_VALUE: new RegExp('^/_/cart/items/' + slug + '/@quantity/([\\d]{1,16})$'),

		CHECKOUT_OPTIONS: '/_/checkout/@options',
		CHECKOUT_TRANSACTIONS: '/_/checkout/transactions',

		DELIVERY_RATES: '/_/delivery/options/rates'



	};


};<commit_msg>Rename cart count endpoint.<commit_after>/**
 * Endpoints provides a key value list of uri mappings used by the vendorlize api.
 * @class Endpoints
 *
 * @constructor
 *
 */
module.exports = function Endpoints() {

	var slug = '([a-z0-9-]{1,128})';

	return {

		PRODUCTS: '/_/products',
		PRODUCT: new RegExp('^/_/products/' + slug + '$'),

		CART_ITEMS: '/_/cart/items',
		CART_ITEMS_COUNT: '/_/cart/items/count',
		CART_ITEM: new RegExp('^/_/cart/items/' + slug + '$'),
		CART_ITEM_QUANTITY: new RegExp('^/_/cart/items/' + slug + '/@quantity$'),
		CART_ITEM_QUANTITY_VALUE: new RegExp('^/_/cart/items/' + slug + '/@quantity/([\\d]{1,16})$'),

		CHECKOUT_OPTIONS: '/_/checkout/@options',
		CHECKOUT_TRANSACTIONS: '/_/checkout/transactions',

		DELIVERY_RATES: '/_/delivery/options/rates'



	};


};
{'fraction_non_alphanumeric': 0.2026431718061674, 'fraction_numerical': 0.011327879169288861, 'mean_word_length': 3.8328267477203646, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4586496', 'n_tokens_mistral': 666, 'n_tokens_neox': 594, 'n_words': 113}