diff --git a/pay-api/src/pay_api/resources/v1/__init__.py b/pay-api/src/pay_api/resources/v1/__init__.py index 89cc9577c..340084d4a 100644 --- a/pay-api/src/pay_api/resources/v1/__init__.py +++ b/pay-api/src/pay_api/resources/v1/__init__.py @@ -16,24 +16,24 @@ from flask import Flask -from ..account import bp as account_bp -from ..account_statements import bp as account_statements_bp -from ..account_statements_notifications import bp as account_notifications_bp -from ..account_statements_settings import bp as account_settings_bp -from ..bank_accounts import bp as bank_accounts_bp -from ..code import bp as code_bp -from ..distributions import bp as distributions_bp -from ..fas import fas_refund_bp, fas_routing_slip_bp -from ..fee import bp as fee_bp -from ..fee_schedule import bp as fee_schedule_bp -from ..invoice import bp as invoice_bp -from ..invoice_receipt import bp as invoice_receipt_bp -from ..invoices import bp as invoices_bp -from ..meta import bp as meta_bp +from .account import bp as account_bp +from .account_statements import bp as account_statements_bp +from .account_statements_notifications import bp as account_notifications_bp +from .account_statements_settings import bp as account_settings_bp +from .bank_accounts import bp as bank_accounts_bp +from .code import bp as code_bp +from .distributions import bp as distributions_bp +from .fas import fas_refund_bp, fas_routing_slip_bp +from .fee import bp as fee_bp +from .fee_schedule import bp as fee_schedule_bp +from .invoice import bp as invoice_bp +from .invoice_receipt import bp as invoice_receipt_bp +from .invoices import bp as invoices_bp +from .meta import bp as meta_bp from ..ops import bp as ops_bp -from ..payment import bp as payment_bp -from ..refund import bp as refund_bp -from ..transaction import bp as transaction_bp +from .payment import bp as payment_bp +from .refund import bp as refund_bp +from .transaction import bp as transaction_bp class V1Endpoint: # pylint: disable=too-few-public-methods, diff --git a/pay-api/src/pay_api/resources/account.py b/pay-api/src/pay_api/resources/v1/account.py similarity index 100% rename from pay-api/src/pay_api/resources/account.py rename to pay-api/src/pay_api/resources/v1/account.py diff --git a/pay-api/src/pay_api/resources/account_statements.py b/pay-api/src/pay_api/resources/v1/account_statements.py similarity index 100% rename from pay-api/src/pay_api/resources/account_statements.py rename to pay-api/src/pay_api/resources/v1/account_statements.py diff --git a/pay-api/src/pay_api/resources/account_statements_notifications.py b/pay-api/src/pay_api/resources/v1/account_statements_notifications.py similarity index 100% rename from pay-api/src/pay_api/resources/account_statements_notifications.py rename to pay-api/src/pay_api/resources/v1/account_statements_notifications.py diff --git a/pay-api/src/pay_api/resources/account_statements_settings.py b/pay-api/src/pay_api/resources/v1/account_statements_settings.py similarity index 100% rename from pay-api/src/pay_api/resources/account_statements_settings.py rename to pay-api/src/pay_api/resources/v1/account_statements_settings.py diff --git a/pay-api/src/pay_api/resources/bank_accounts.py b/pay-api/src/pay_api/resources/v1/bank_accounts.py similarity index 100% rename from pay-api/src/pay_api/resources/bank_accounts.py rename to pay-api/src/pay_api/resources/v1/bank_accounts.py diff --git a/pay-api/src/pay_api/resources/code.py b/pay-api/src/pay_api/resources/v1/code.py similarity index 100% rename from pay-api/src/pay_api/resources/code.py rename to pay-api/src/pay_api/resources/v1/code.py diff --git a/pay-api/src/pay_api/resources/distributions.py b/pay-api/src/pay_api/resources/v1/distributions.py similarity index 100% rename from pay-api/src/pay_api/resources/distributions.py rename to pay-api/src/pay_api/resources/v1/distributions.py diff --git a/pay-api/src/pay_api/resources/fas/__init__.py b/pay-api/src/pay_api/resources/v1/fas/__init__.py similarity index 100% rename from pay-api/src/pay_api/resources/fas/__init__.py rename to pay-api/src/pay_api/resources/v1/fas/__init__.py diff --git a/pay-api/src/pay_api/resources/fas/refund.py b/pay-api/src/pay_api/resources/v1/fas/refund.py similarity index 100% rename from pay-api/src/pay_api/resources/fas/refund.py rename to pay-api/src/pay_api/resources/v1/fas/refund.py diff --git a/pay-api/src/pay_api/resources/fas/routing_slip.py b/pay-api/src/pay_api/resources/v1/fas/routing_slip.py similarity index 100% rename from pay-api/src/pay_api/resources/fas/routing_slip.py rename to pay-api/src/pay_api/resources/v1/fas/routing_slip.py diff --git a/pay-api/src/pay_api/resources/fee.py b/pay-api/src/pay_api/resources/v1/fee.py similarity index 100% rename from pay-api/src/pay_api/resources/fee.py rename to pay-api/src/pay_api/resources/v1/fee.py diff --git a/pay-api/src/pay_api/resources/fee_schedule.py b/pay-api/src/pay_api/resources/v1/fee_schedule.py similarity index 100% rename from pay-api/src/pay_api/resources/fee_schedule.py rename to pay-api/src/pay_api/resources/v1/fee_schedule.py diff --git a/pay-api/src/pay_api/resources/invoice.py b/pay-api/src/pay_api/resources/v1/invoice.py similarity index 100% rename from pay-api/src/pay_api/resources/invoice.py rename to pay-api/src/pay_api/resources/v1/invoice.py diff --git a/pay-api/src/pay_api/resources/invoice_receipt.py b/pay-api/src/pay_api/resources/v1/invoice_receipt.py similarity index 100% rename from pay-api/src/pay_api/resources/invoice_receipt.py rename to pay-api/src/pay_api/resources/v1/invoice_receipt.py diff --git a/pay-api/src/pay_api/resources/invoices.py b/pay-api/src/pay_api/resources/v1/invoices.py similarity index 100% rename from pay-api/src/pay_api/resources/invoices.py rename to pay-api/src/pay_api/resources/v1/invoices.py diff --git a/pay-api/src/pay_api/resources/meta.py b/pay-api/src/pay_api/resources/v1/meta.py similarity index 100% rename from pay-api/src/pay_api/resources/meta.py rename to pay-api/src/pay_api/resources/v1/meta.py diff --git a/pay-api/src/pay_api/resources/payment.py b/pay-api/src/pay_api/resources/v1/payment.py similarity index 100% rename from pay-api/src/pay_api/resources/payment.py rename to pay-api/src/pay_api/resources/v1/payment.py diff --git a/pay-api/src/pay_api/resources/refund.py b/pay-api/src/pay_api/resources/v1/refund.py similarity index 100% rename from pay-api/src/pay_api/resources/refund.py rename to pay-api/src/pay_api/resources/v1/refund.py diff --git a/pay-api/src/pay_api/resources/transaction.py b/pay-api/src/pay_api/resources/v1/transaction.py similarity index 100% rename from pay-api/src/pay_api/resources/transaction.py rename to pay-api/src/pay_api/resources/v1/transaction.py