from flask import Blueprint

from V2.routes.bigcartel import bigcartelV2
from V2.routes.ebay import ebayV2
from V2.routes.enterprises import enterprisesV2
from V2.routes.etsy import etsyV2
from V2.routes.invoices import invoicesV2
from V2.routes.orderdesk import orderdeskV2
from V2.routes.orders import ordersv2
from V2.routes.printify import printifyBlueprint
from V2.routes.products import productsv2
from V2.routes.public import publicV2
from V2.routes.shipments import shipmentsv2
from V2.routes.shopify import shopifyV2
from V2.routes.shops import shopsV2
from V2.routes.squarespace import squarespaceV2
from V2.routes.stripe import stripeV2
from V2.routes.suppliers import suppliersV2

v2 = Blueprint("v2", __name__)

v2.register_blueprint(enterprisesV2, url_prefix="/enterprises")
v2.register_blueprint(etsyV2, url_prefix="/etsy")
v2.register_blueprint(ebayV2, url_prefix="/ebay")
v2.register_blueprint(squarespaceV2, url_prefix="/squarespace")
v2.register_blueprint(productsv2, url_prefix="/products")
v2.register_blueprint(ordersv2, url_prefix="/orders")
v2.register_blueprint(shipmentsv2, url_prefix="/shipments")
v2.register_blueprint(printifyBlueprint, url_prefix = "/printify/v2019-06")
v2.register_blueprint(suppliersV2, url_prefix = "/suppliers")
v2.register_blueprint(shopifyV2, url_prefix = "/shopify")
v2.register_blueprint(invoicesV2, url_prefix = "/invoices")
v2.register_blueprint(stripeV2, url_prefix = "/stripe")
v2.register_blueprint(bigcartelV2, url_prefix = "/bigcartel")
v2.register_blueprint(orderdeskV2, url_prefix = "/orderdesk")
v2.register_blueprint(publicV2, url_prefix = "/public")
v2.register_blueprint(shopsV2, url_prefix = "/shops")

