Skip to content

Commit 74a901b

Browse files
committed
API version 2.1.0 See https://docs.patch.io/#/changelog for changes
1 parent ed569b9 commit 74a901b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+417
-94
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0] - 2023-03-30
9+
10+
### Added
11+
12+
- Adds optional `vintage_start_year` and `vintage_end_year` field to `order` creation
13+
- Adds optional `vintage_start_year` and `vintage_end_year` field to `order_line_item` create and update
14+
- Adds optional `vintage_start_year` and `vintage_end_year` field to `inventory` creation
15+
- Adds `vintage_start_year` and `vintage_end_year` field to `order` response
16+
- Adds `vintage_start_year` and `vintage_end_year` field to `order_line_item` response
17+
- Adds optional `carrier_scac` field to `patch.estimates.create_road_shipping_estimate`
18+
819
## [1.24.2] - 2022-08-10
920

1021
### Added

Gemfile.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
patch_ruby (2.0.0)
4+
patch_ruby (2.1.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM
@@ -17,7 +17,7 @@ GEM
1717
coderay (1.1.3)
1818
concurrent-ruby (1.2.2)
1919
diff-lcs (1.4.4)
20-
ethon (0.15.0)
20+
ethon (0.16.0)
2121
ffi (>= 1.15.0)
2222
factory_bot (6.2.0)
2323
activesupport (>= 5.0.0)
@@ -70,6 +70,7 @@ GEM
7070
PLATFORMS
7171
arm64-darwin-20
7272
arm64-darwin-21
73+
arm64-darwin-22
7374
x86_64-darwin-20
7475
x86_64-darwin-21
7576
x86_64-linux

lib/patch_ruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api/estimates_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api/order_line_items_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api/orders_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api/projects_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api/technology_types_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

lib/patch_ruby/api_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1
@@ -31,7 +31,7 @@ class ApiClient
3131
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
3232
def initialize(config = Configuration.default)
3333
@config = config
34-
@user_agent = "patch-ruby/2.0.0"
34+
@user_agent = "patch-ruby/2.1.0"
3535
@default_headers = {
3636
'Content-Type' => 'application/json',
3737
'User-Agent' => @user_agent

lib/patch_ruby/api_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#The core API used to integrate with Patch's service
55
6-
The version of the OpenAPI document: 2
6+
The version of the OpenAPI document: 2.1.0
77
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.3.1

0 commit comments

Comments
 (0)