<?php
/**
 * REST API Loader
 *
 * @category   WordPress_Plugin
 * @package    Common
 * @subpackage Rest_APIs
 * @author     miniOrange <info@miniorange.com>
 * @license    MIT/Expat
 * @link       https://plugins.miniorange.com/woocommerce-api-product-sync-with-woocommerce-rest-apis
 */

namespace MOWCPS\Common\Rest_APIs;

if ( ! defined( 'ABSPATH' ) ) {
	die;
}

/**
 * Class Rest_APIs
 *
 * Main loader that includes and initializes all separated API classes
 */
class Rest_APIs {

	/**
	 * Register all routes by calling individual API classes
	 *
	 * @return void
	 */
	public static function register_routes() {
		// Register all route groups by calling their static methods.
		Suppliers_APIs::register_routes();
		Authorization_APIs::register_routes();
		Connection_APIs::register_routes();
		Attribute_Mapping_APIs::register_routes();
		Settings_APIs::register_routes();
		Sync_APIs::register_routes();
		Preview_APIs::register_routes();
		User_APIs::register_routes();
		Product_Sync_Audit_APIs::register_routes();
		Auto_Attribute_Mapping_APIs::register_routes();
		WooCommerce_Attributes_APIs::register_routes();
		Plugin_Utility_APIs::register_routes();
	}
}
