Skip to content

Commit dd71cbb

Browse files
authored
Merge pull request #11 from 1415003719/2025-07
support 2025-07
2 parents 89a64ec + 33344b3 commit dd71cbb

13 files changed

Lines changed: 27 additions & 26 deletions

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Each SDK version is designed to work with a specific API version. Please refer t
4343

4444
| SDK Version | Supported API Version | Branch |
4545
| ----------- | --------------------- | ----------------------------------------------------------- |
46+
| 12.x.x | 2025-07 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-07 |
4647
| 11.x.x | 2025-04 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-04 |
4748
| 10.x.x | 2025-01 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-01 |
4849
| 9.x.x | 2024-10 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2024-10 |
@@ -60,7 +61,7 @@ gem install aftership-tracking-sdk
6061
Or add a line to your Gemfile
6162

6263
```bash
63-
gem 'aftership-tracking-sdk', '~> 11.0.0'
64+
gem 'aftership-tracking-sdk', '~> 12.0.0'
6465
```
6566

6667
## Constructor
@@ -97,7 +98,7 @@ end
9798

9899
## Rate Limiter
99100

100-
See the [Rate Limit](https://www.aftership.com/docs/tracking/2025-04/quickstart/rate-limit) to understand the AfterShip rate limit policy.
101+
See the [Rate Limit](https://www.aftership.com/docs/tracking/2025-07/quickstart/rate-limit) to understand the AfterShip rate limit policy.
101102

102103
## Error Handling
103104

lib/aftership-tracking-sdk/api/courier.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def detect_courier_with_http_info(opts: {})
3333

3434

3535
# resource path
36-
local_var_path = "/tracking/2025-04/couriers/detect"
36+
local_var_path = "/tracking/2025-07/couriers/detect"
3737
method = :'POST'
3838

3939
# query parameters
@@ -83,7 +83,7 @@ def get_couriers_with_http_info(opts: {})
8383

8484

8585
# resource path
86-
local_var_path = "/tracking/2025-04/couriers"
86+
local_var_path = "/tracking/2025-07/couriers"
8787
method = :'GET'
8888

8989
# query parameters

lib/aftership-tracking-sdk/api/courier_connection.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def delete_courier_connections_by_id_with_http_info(id:, opts: {})
3131

3232

3333
# resource path
34-
local_var_path = "/tracking/2025-04/courier-connections/#{id}"
34+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
3535
method = :'DELETE'
3636

3737
# query parameters
@@ -82,7 +82,7 @@ def get_courier_connections_with_http_info(opts: {})
8282

8383

8484
# resource path
85-
local_var_path = "/tracking/2025-04/courier-connections"
85+
local_var_path = "/tracking/2025-07/courier-connections"
8686
method = :'GET'
8787

8888
# query parameters
@@ -137,7 +137,7 @@ def get_courier_connections_by_id_with_http_info(id:, opts: {})
137137

138138

139139
# resource path
140-
local_var_path = "/tracking/2025-04/courier-connections/#{id}"
140+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
141141
method = :'GET'
142142

143143
# query parameters
@@ -191,7 +191,7 @@ def post_courier_connections_with_http_info(opts: {})
191191

192192

193193
# resource path
194-
local_var_path = "/tracking/2025-04/courier-connections"
194+
local_var_path = "/tracking/2025-07/courier-connections"
195195
method = :'POST'
196196

197197
# query parameters
@@ -249,7 +249,7 @@ def put_courier_connections_by_id_with_http_info(id:, opts: {})
249249

250250

251251
# resource path
252-
local_var_path = "/tracking/2025-04/courier-connections/#{id}"
252+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
253253
method = :'PATCH'
254254

255255
# query parameters

lib/aftership-tracking-sdk/api/estimated_delivery_date.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def predict_with_http_info(opts: {})
3333

3434

3535
# resource path
36-
local_var_path = "/tracking/2025-04/estimated-delivery-date/predict"
36+
local_var_path = "/tracking/2025-07/estimated-delivery-date/predict"
3737
method = :'POST'
3838

3939
# query parameters
@@ -87,7 +87,7 @@ def predict_batch_with_http_info(opts: {})
8787

8888

8989
# resource path
90-
local_var_path = "/tracking/2025-04/estimated-delivery-date/predict-batch"
90+
local_var_path = "/tracking/2025-07/estimated-delivery-date/predict-batch"
9191
method = :'POST'
9292

9393
# query parameters

lib/aftership-tracking-sdk/api/tracking.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def create_tracking_with_http_info(opts: {})
3333

3434

3535
# resource path
36-
local_var_path = "/tracking/2025-04/trackings"
36+
local_var_path = "/tracking/2025-07/trackings"
3737
method = :'POST'
3838

3939
# query parameters
@@ -85,7 +85,7 @@ def delete_tracking_by_id_with_http_info(id:, opts: {})
8585

8686

8787
# resource path
88-
local_var_path = "/tracking/2025-04/trackings/#{id}"
88+
local_var_path = "/tracking/2025-07/trackings/#{id}"
8989
method = :'DELETE'
9090

9191
# query parameters
@@ -139,7 +139,7 @@ def get_tracking_by_id_with_http_info(id:, opts: {})
139139

140140

141141
# resource path
142-
local_var_path = "/tracking/2025-04/trackings/#{id}"
142+
local_var_path = "/tracking/2025-07/trackings/#{id}"
143143
method = :'GET'
144144

145145
# query parameters
@@ -207,7 +207,7 @@ def get_trackings_with_http_info(opts: {})
207207

208208

209209
# resource path
210-
local_var_path = "/tracking/2025-04/trackings"
210+
local_var_path = "/tracking/2025-07/trackings"
211211
method = :'GET'
212212

213213
# query parameters
@@ -283,7 +283,7 @@ def mark_tracking_completed_by_id_with_http_info(id:, opts: {})
283283

284284

285285
# resource path
286-
local_var_path = "/tracking/2025-04/trackings/#{id}/mark-as-completed"
286+
local_var_path = "/tracking/2025-07/trackings/#{id}/mark-as-completed"
287287
method = :'POST'
288288

289289
# query parameters
@@ -335,7 +335,7 @@ def retrack_tracking_by_id_with_http_info(id:, opts: {})
335335

336336

337337
# resource path
338-
local_var_path = "/tracking/2025-04/trackings/#{id}/retrack"
338+
local_var_path = "/tracking/2025-07/trackings/#{id}/retrack"
339339
method = :'POST'
340340

341341
# query parameters
@@ -393,7 +393,7 @@ def update_tracking_by_id_with_http_info(id:, opts: {})
393393

394394

395395
# resource path
396-
local_var_path = "/tracking/2025-04/trackings/#{id}"
396+
local_var_path = "/tracking/2025-07/trackings/#{id}"
397397
method = :'PUT'
398398

399399
# query parameters

lib/aftership-tracking-sdk/models/latest_estimated_delivery_create_tracking_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LatestEstimatedDeliveryCreateTrackingResponse
2323
# datetime_max?: String;
2424
attr_accessor :datetime_max
2525

26-
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to this document.
26+
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to .
2727
# revise_reason?: String;
2828
attr_accessor :revise_reason
2929

lib/aftership-tracking-sdk/models/latest_estimated_delivery_delete_tracking_by_id_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LatestEstimatedDeliveryDeleteTrackingByIdResponse
2323
# datetime_max?: String;
2424
attr_accessor :datetime_max
2525

26-
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to this document.
26+
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to .
2727
# revise_reason?: String;
2828
attr_accessor :revise_reason
2929

lib/aftership-tracking-sdk/models/latest_estimated_delivery_get_tracking_by_id_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LatestEstimatedDeliveryGetTrackingByIdResponse
2323
# datetime_max?: String;
2424
attr_accessor :datetime_max
2525

26-
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to this document.
26+
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to .
2727
# revise_reason?: String;
2828
attr_accessor :revise_reason
2929

lib/aftership-tracking-sdk/models/latest_estimated_delivery_mark_tracking_completed_by_id_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LatestEstimatedDeliveryMarkTrackingCompletedByIdResponse
2323
# datetime_max?: String;
2424
attr_accessor :datetime_max
2525

26-
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to this document.
26+
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to .
2727
# revise_reason?: String;
2828
attr_accessor :revise_reason
2929

lib/aftership-tracking-sdk/models/latest_estimated_delivery_retrack_tracking_by_id_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LatestEstimatedDeliveryRetrackTrackingByIdResponse
2323
# datetime_max?: String;
2424
attr_accessor :datetime_max
2525

26-
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to this document.
26+
# Explains the reason for a change to the latest_estimated_delivery. This string will only have a value if:1. The source for the latest EDD is AfterShip EDD. 2. The reason for the change is known.For a comprehensive list of reasons, please refer to .
2727
# revise_reason?: String;
2828
attr_accessor :revise_reason
2929

0 commit comments

Comments
 (0)