query: {
    getBranches: [{
        data: Variable<"GetBranchesInput!", "data">;
    }, {
        bank_account: {
            created_at: boolean;
            data: {
                account_number: boolean;
                bank_name: boolean;
                card_number: boolean;
                currency: boolean;
                details: {
                    bik: boolean;
                    corr: boolean;
                    kpp: boolean;
                };
            };
            is_default: boolean;
            method_id: boolean;
            method_type: boolean;
            updated_at: boolean;
            username: boolean;
        };
        braname: boolean;
        city: boolean;
        coopname: boolean;
        country: boolean;
        details: {
            inn: boolean;
            kpp: boolean;
            ogrn: boolean;
        };
        email: boolean;
        fact_address: boolean;
        full_address: boolean;
        full_name: boolean;
        phone: boolean;
        represented_by: {
            based_on: boolean;
            first_name: boolean;
            last_name: boolean;
            middle_name: boolean;
            position: boolean;
        };
        short_name: boolean;
        type: boolean;
    }];
} = ...

Извлекает информацию о кооперативных участках для пользователя с ролью user

Type declaration

  • getBranches: [{
        data: Variable<"GetBranchesInput!", "data">;
    }, {
        bank_account: {
            created_at: boolean;
            data: {
                account_number: boolean;
                bank_name: boolean;
                card_number: boolean;
                currency: boolean;
                details: {
                    bik: boolean;
                    corr: boolean;
                    kpp: boolean;
                };
            };
            is_default: boolean;
            method_id: boolean;
            method_type: boolean;
            updated_at: boolean;
            username: boolean;
        };
        braname: boolean;
        city: boolean;
        coopname: boolean;
        country: boolean;
        details: {
            inn: boolean;
            kpp: boolean;
            ogrn: boolean;
        };
        email: boolean;
        fact_address: boolean;
        full_address: boolean;
        full_name: boolean;
        phone: boolean;
        represented_by: {
            based_on: boolean;
            first_name: boolean;
            last_name: boolean;
            middle_name: boolean;
            position: boolean;
        };
        short_name: boolean;
        type: boolean;
    }]