# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------


def cf_teams_beta_cl(cli_ctx, *_):
    from msgraph.cli.core.commands.client_factory import get_mgmt_service_client
    from azext_teams_beta.vendored_sdks.teams import Teams
    return get_mgmt_service_client(cli_ctx,
                                   Teams,
                                   subscription_bound=False,
                                   base_url_bound=False)


def cf_app_catalog(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).app_catalogs


def cf_app_catalog_team_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).app_catalogs_teams_apps


def cf_chat_chat(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_chat


def cf_chat(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats


def cf_chat_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_installed_apps


def cf_chat_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_members


def cf_chat_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_messages


def cf_chat_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_messages_replies


def cf_chat_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_tabs


def cf_group(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).groups


def cf_team_team(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_team


def cf_team(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams


def cf_team_channel(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels


def cf_team_channel_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_members


def cf_team_channel_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_messages


def cf_team_channel_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_messages_replies


def cf_team_channel_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_tabs


def cf_team_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_installed_apps


def cf_team_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_members


def cf_team_primary_channel(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel


def cf_team_primary_channel_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_members


def cf_team_primary_channel_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_messages


def cf_team_primary_channel_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_messages_replies


def cf_team_primary_channel_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_tabs


def cf_team_schedule(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_schedule


def cf_team_schedule_time_card(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_schedule_time_cards


def cf_teamwork_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teamwork_teamwork


def cf_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teamwork


def cf_user(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users


def cf_user_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users_teamwork


def cf_user_teamwork_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users_teamwork_installed_apps

# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------


def cf_teams_beta_cl(cli_ctx, *_):
    from msgraph.cli.core.commands.client_factory import get_mgmt_service_client
    from azext_teams_beta.vendored_sdks.teams import Teams
    return get_mgmt_service_client(cli_ctx,
                                   Teams,
                                   subscription_bound=False,
                                   base_url_bound=False)


def cf_app_catalog(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).app_catalogs


def cf_app_catalog_team_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).app_catalogs_teams_apps


def cf_chat_chat(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_chat


def cf_chat(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats


def cf_chat_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_installed_apps


def cf_chat_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_members


def cf_chat_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_messages


def cf_chat_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_messages_replies


def cf_chat_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).chats_tabs


def cf_group(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).groups


def cf_team_team(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_team


def cf_team(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams


def cf_team_channel(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels


def cf_team_channel_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_members


def cf_team_channel_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_messages


def cf_team_channel_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_messages_replies


def cf_team_channel_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_channels_tabs


def cf_team_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_installed_apps


def cf_team_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_members


def cf_team_primary_channel(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel


def cf_team_primary_channel_member(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_members


def cf_team_primary_channel_message(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_messages


def cf_team_primary_channel_message_reply(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_messages_replies


def cf_team_primary_channel_tab(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_primary_channel_tabs


def cf_team_schedule(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_schedule


def cf_team_schedule_time_card(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teams_schedule_time_cards


def cf_teamwork_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teamwork_teamwork


def cf_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).teamwork


def cf_user(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users


def cf_user_teamwork(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users_teamwork


def cf_user_teamwork_installed_app(cli_ctx, *_):
    return cf_teams_beta_cl(cli_ctx).users_teamwork_installed_apps

# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # --------------------------------------------------------------------------