=begin
#Patch API V2

#The core API used to integrate with Patch's service

The version of the OpenAPI document: 2
Contact: engineering@usepatch.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.1

=end

# Common files
require 'patch_ruby/api_client'
require 'patch_ruby/api_error'
require 'patch_ruby/version'
require 'patch_ruby/configuration'

# Models
require 'patch_ruby/models/create_air_shipping_estimate_request'
require 'patch_ruby/models/create_bitcoin_estimate_request'
require 'patch_ruby/models/create_mass_estimate_request'
require 'patch_ruby/models/create_order_line_item_request'
require 'patch_ruby/models/create_order_request'
require 'patch_ruby/models/create_rail_shipping_estimate_request'
require 'patch_ruby/models/create_road_shipping_estimate_request'
require 'patch_ruby/models/create_sea_shipping_estimate_request'
require 'patch_ruby/models/create_success_response'
require 'patch_ruby/models/delete_order_line_item_response'
require 'patch_ruby/models/delete_order_response'
require 'patch_ruby/models/disclaimer'
require 'patch_ruby/models/error_response'
require 'patch_ruby/models/estimate'
require 'patch_ruby/models/estimate_list_response'
require 'patch_ruby/models/estimate_response'
require 'patch_ruby/models/highlight'
require 'patch_ruby/models/inventory'
require 'patch_ruby/models/meta_index_object'
require 'patch_ruby/models/order'
require 'patch_ruby/models/order_issued_to'
require 'patch_ruby/models/order_line_item'
require 'patch_ruby/models/order_line_item_project'
require 'patch_ruby/models/order_line_item_response'
require 'patch_ruby/models/order_list_response'
require 'patch_ruby/models/order_response'
require 'patch_ruby/models/parent_technology_type'
require 'patch_ruby/models/photo'
require 'patch_ruby/models/place_order_request'
require 'patch_ruby/models/project'
require 'patch_ruby/models/project_list_response'
require 'patch_ruby/models/project_response'
require 'patch_ruby/models/sdg'
require 'patch_ruby/models/standard'
require 'patch_ruby/models/technology_type'
require 'patch_ruby/models/technology_type_list_response'
require 'patch_ruby/models/update_order_line_item_request'

# APIs
require 'patch_ruby/api/estimates_api'
require 'patch_ruby/api/order_line_items_api'
require 'patch_ruby/api/orders_api'
require 'patch_ruby/api/projects_api'
require 'patch_ruby/api/technology_types_api'

module Patch
  class << self
    # Customize default settings for the SDK using block.
    #   Patch.configure do |config|
    #     config.username = "xxx"
    #     config.password = "xxx"
    #   end
    # If no block given, return the default Configuration object.
    def configure
      if block_given?
        yield(Configuration.default)
      else
        Configuration.default
      end
    end
  end
end
