<commit_before><?php

return array(

    /*
    |--------------------------------------------------------------------------
    | Operations
    |--------------------------------------------------------------------------
    |
    | This array of operations is translated into methods that complete these
    | requests based on their configuration.
    |
    */

    "operations" => array(

        /**
         *    getCustomerAddresses() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "getCustomerAddresses" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/customers/{id}/addresses.json",
            "summary" => "Retrieve all addresses for a customer",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "id" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Customer.",
                    "required" => true
                ),
                "limit" => array(
	                "type" => "integer",
	                "location" => "query",
	                "description" => "Amount of results (default: 50) (maximum: 250)"
                ),
                "page" => array(
	             	"type" => "integer",
	             	"location" => "query",
	             	"description" => "Page to show (default: 1)"   
                )
            )
        ),
        
        /**
         *    getCustomerAddress() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "getCustomerAddress" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/customers/{id}/addresses/{addressId}.json",
            "summary" => "Get a count of all articles from a certain blog",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "id" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Customer.",
                    "required" => true
                ),
                "addressId" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Address.",
                    "required" => true
                )
            )
        ),


        /**
         *    createCustomerAddress() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "createCustomerAddress" => array(
            "httpMethod" => "POST",
            "uri" => "/admin/customers.json",
            "summary" => "Creates a new address for a customer.",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "address" => array(
                    "location" => "json",
                    "parameters" => array(
                        "address1" => array(
                            "type" => "string",
                            "location" => "json",
                        ),
                        "address2" => array(<commit_msg>Corrected createCustomerAddress method<commit_after><?php

return array(

    /*
    |--------------------------------------------------------------------------
    | Operations
    |--------------------------------------------------------------------------
    |
    | This array of operations is translated into methods that complete these
    | requests based on their configuration.
    |
    */

    "operations" => array(

        /**
         *    getCustomerAddresses() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "getCustomerAddresses" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/customers/{id}/addresses.json",
            "summary" => "Retrieve all addresses for a customer",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "id" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Customer.",
                    "required" => true
                ),
                "limit" => array(
	                "type" => "integer",
	                "location" => "query",
	                "description" => "Amount of results (default: 50) (maximum: 250)"
                ),
                "page" => array(
	             	"type" => "integer",
	             	"location" => "query",
	             	"description" => "Page to show (default: 1)"   
                )
            )
        ),
        
        /**
         *    getCustomerAddress() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "getCustomerAddress" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/customers/{id}/addresses/{addressId}.json",
            "summary" => "Get a count of all articles from a certain blog",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "id" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Customer.",
                    "required" => true
                ),
                "addressId" => array(
                    "type" => "integer",
                    "location" => "uri",
                    "description" => "The ID of the Address.",
                    "required" => true
                )
            )
        ),


        /**
         *    createCustomerAddress() method
         *
         *    reference: http://docs.shopify.com/api/customeraddress
         */
        "createCustomerAddress" => array(
            "httpMethod" => "POST",
            "uri" => "/admin/customers/{customer_id}/addresses.json",
            "summary" => "Creates a new address for a customer.",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "customer_id" => array(
                    "type" => "number",
                    "location" => "uri",
                    "required" => true
                ),
                "address" => array(
                    "location" => "json",
                    "parameters" => array(
                        "address1" => array(
                            "type" => "string",
                            "location" => "json",
                        ),
                        "address2" => array(
{'fraction_non_alphanumeric': 0.17407517899761338, 'fraction_numerical': 0.002386634844868735, 'mean_word_length': 1.0517135862913096, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4720193', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1509, 'n_words': 353}