def get_query_params_str(params: dict, array_type_params: dict) -> str:
    """ Used for API queries that include array type parameters. Passing them in a dictionary won't work
        because their keys must be equal which is not possible in python dictionaries, thus we will
        eventually pass the parameters in the URL itself.

        Example: Because we can't pass {"a": "0", "a": "1"} as a dict to the params argument of the request function,
        we will pass the parameters as a part of the URL suffix: ?a=0&a=1.

            Args:
                params: string/integer parameters
                array_type_params: array type parameters

            Returns:
                (str) The query params string, which will be appended to the API request URL suffix.
            """
    query_params_str = '&'.join([f'{k}={v}' for k, v in params.items()])
    for array_type_param, values in array_type_params.items():
        curr_param_str = '&'.join([f'{array_type_param}={v}' for v in values])
        query_params_str += '&' + curr_param_str
    return query_params_str