lib/patch_ruby.rb in patch_ruby-1.24.2 vs lib/patch_ruby.rb in patch_ruby-2.0.0
- old
+ new
@@ -1,11 +1,11 @@
=begin
-#Patch API V1
+#Patch API V2
#The core API used to integrate with Patch's service
-The version of the OpenAPI document: v1
+The version of the OpenAPI document: 2
Contact: engineering@usepatch.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.1
=end
@@ -15,36 +15,39 @@
require 'patch_ruby/api_error'
require 'patch_ruby/version'
require 'patch_ruby/configuration'
# Models
-require 'patch_ruby/models/allocation'
require 'patch_ruby/models/create_air_shipping_estimate_request'
require 'patch_ruby/models/create_bitcoin_estimate_request'
require 'patch_ruby/models/create_ecommerce_estimate_request'
require 'patch_ruby/models/create_ethereum_estimate_request'
require 'patch_ruby/models/create_flight_estimate_request'
require 'patch_ruby/models/create_hotel_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_shipping_estimate_request'
require 'patch_ruby/models/create_success_response'
require 'patch_ruby/models/create_vehicle_estimate_request'
+require 'patch_ruby/models/delete_order_line_item_response'
+require 'patch_ruby/models/delete_order_response'
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_inventory'
-require 'patch_ruby/models/order_inventory_project'
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'
@@ -53,12 +56,14 @@
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