# Copyright (c) 2021 CloudZero - ALL RIGHTS RESERVED - PROPRIETARY AND CONFIDENTIAL
# Unauthorized copying of this file and/or project, via any medium is strictly prohibited.
# Direct all questions to legal@cloudzero.com

import os

from czc.internal_api.client import invoked as invokes_internal_api


FEATURE_ORGANIZATION_ACCOUNTS_IAPI = (lambda x: os.environ.get('ORGANIZATIONS_ACCOUNTS_NAMESPACE') or os.environ['NAMESPACE'], 'organization-accounts')


@invokes_internal_api(*FEATURE_ORGANIZATION_ACCOUNTS_IAPI, api='get-accounts')
def get_accounts(cz_organization_id: str):
    pass


@invokes_internal_api(*FEATURE_ORGANIZATION_ACCOUNTS_IAPI, api='get-account-id-name-map')
def get_account_id_name_map(cz_organization_id: str):
    pass


@invokes_internal_api(*FEATURE_ORGANIZATION_ACCOUNTS_IAPI, api='get-organizations')
def get_organizations(ids_only: bool = True, connected_only: bool = True):
    pass


@invokes_internal_api(*FEATURE_ORGANIZATION_ACCOUNTS_IAPI, api='get-organization-by-id')
def get_organization_by_id(cz_organization_id: str):
	pass
