aftership-tracking-sdk 11.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/aftership-tracking-sdk/api/courier.rb +2 -2
- data/lib/aftership-tracking-sdk/api/courier_connection.rb +5 -5
- data/lib/aftership-tracking-sdk/api/estimated_delivery_date.rb +2 -2
- data/lib/aftership-tracking-sdk/api/tracking.rb +7 -7
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_create_tracking_response.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_delete_tracking_by_id_response.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_get_tracking_by_id_response.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_mark_tracking_completed_by_id_response.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_retrack_tracking_by_id_response.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_tracking.rb +1 -1
- data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_update_tracking_by_id_response.rb +1 -1
- data/lib/aftership-tracking-sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0867d2ab6e06b2c9c67e7f72cc34c1e7c84b7c249a40d74320a918af45333a5f'
|
4
|
+
data.tar.gz: 13d741777e63e847e7d0f819be8680eba296a7cb89f814cfe5a52c56a86a3e1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 224dc2f4e17f70983e0aab46f6ad96c8fd7362670e2404bf58d98c4df24843791a2168b71b95216888644d1b3c7c3952057c735c246a6b76173a6151873fbf56
|
7
|
+
data.tar.gz: ac1cfe8bb8d8db9d367112336186f7ad2c032b508bf4eb090bed7b0cf2460c52f796c0d2e38791152dd1d3c838ee8acaf2c0d598ee622c19bebbd0f6e68efb5b
|
data/README.md
CHANGED
@@ -43,6 +43,7 @@ Each SDK version is designed to work with a specific API version. Please refer t
|
|
43
43
|
|
44
44
|
| SDK Version | Supported API Version | Branch |
|
45
45
|
| ----------- | --------------------- | ----------------------------------------------------------- |
|
46
|
+
| 12.x.x | 2025-07 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-07 |
|
46
47
|
| 11.x.x | 2025-04 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-04 |
|
47
48
|
| 10.x.x | 2025-01 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2025-01 |
|
48
49
|
| 9.x.x | 2024-10 | https://github.com/AfterShip/tracking-sdk-ruby/tree/2024-10 |
|
@@ -60,7 +61,7 @@ gem install aftership-tracking-sdk
|
|
60
61
|
Or add a line to your Gemfile
|
61
62
|
|
62
63
|
```bash
|
63
|
-
gem 'aftership-tracking-sdk', '~>
|
64
|
+
gem 'aftership-tracking-sdk', '~> 12.0.0'
|
64
65
|
```
|
65
66
|
|
66
67
|
## Constructor
|
@@ -97,7 +98,7 @@ end
|
|
97
98
|
|
98
99
|
## Rate Limiter
|
99
100
|
|
100
|
-
See the [Rate Limit](https://www.aftership.com/docs/tracking/2025-
|
101
|
+
See the [Rate Limit](https://www.aftership.com/docs/tracking/2025-07/quickstart/rate-limit) to understand the AfterShip rate limit policy.
|
101
102
|
|
102
103
|
## Error Handling
|
103
104
|
|
@@ -33,7 +33,7 @@ module AftershipAPI
|
|
33
33
|
|
34
34
|
|
35
35
|
# resource path
|
36
|
-
local_var_path = "/tracking/2025-
|
36
|
+
local_var_path = "/tracking/2025-07/couriers/detect"
|
37
37
|
method = :'POST'
|
38
38
|
|
39
39
|
# query parameters
|
@@ -83,7 +83,7 @@ module AftershipAPI
|
|
83
83
|
|
84
84
|
|
85
85
|
# resource path
|
86
|
-
local_var_path = "/tracking/2025-
|
86
|
+
local_var_path = "/tracking/2025-07/couriers"
|
87
87
|
method = :'GET'
|
88
88
|
|
89
89
|
# query parameters
|
@@ -31,7 +31,7 @@ module AftershipAPI
|
|
31
31
|
|
32
32
|
|
33
33
|
# resource path
|
34
|
-
local_var_path = "/tracking/2025-
|
34
|
+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
|
35
35
|
method = :'DELETE'
|
36
36
|
|
37
37
|
# query parameters
|
@@ -82,7 +82,7 @@ module AftershipAPI
|
|
82
82
|
|
83
83
|
|
84
84
|
# resource path
|
85
|
-
local_var_path = "/tracking/2025-
|
85
|
+
local_var_path = "/tracking/2025-07/courier-connections"
|
86
86
|
method = :'GET'
|
87
87
|
|
88
88
|
# query parameters
|
@@ -137,7 +137,7 @@ module AftershipAPI
|
|
137
137
|
|
138
138
|
|
139
139
|
# resource path
|
140
|
-
local_var_path = "/tracking/2025-
|
140
|
+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
|
141
141
|
method = :'GET'
|
142
142
|
|
143
143
|
# query parameters
|
@@ -191,7 +191,7 @@ module AftershipAPI
|
|
191
191
|
|
192
192
|
|
193
193
|
# resource path
|
194
|
-
local_var_path = "/tracking/2025-
|
194
|
+
local_var_path = "/tracking/2025-07/courier-connections"
|
195
195
|
method = :'POST'
|
196
196
|
|
197
197
|
# query parameters
|
@@ -249,7 +249,7 @@ module AftershipAPI
|
|
249
249
|
|
250
250
|
|
251
251
|
# resource path
|
252
|
-
local_var_path = "/tracking/2025-
|
252
|
+
local_var_path = "/tracking/2025-07/courier-connections/#{id}"
|
253
253
|
method = :'PATCH'
|
254
254
|
|
255
255
|
# query parameters
|
@@ -33,7 +33,7 @@ module AftershipAPI
|
|
33
33
|
|
34
34
|
|
35
35
|
# resource path
|
36
|
-
local_var_path = "/tracking/2025-
|
36
|
+
local_var_path = "/tracking/2025-07/estimated-delivery-date/predict"
|
37
37
|
method = :'POST'
|
38
38
|
|
39
39
|
# query parameters
|
@@ -87,7 +87,7 @@ module AftershipAPI
|
|
87
87
|
|
88
88
|
|
89
89
|
# resource path
|
90
|
-
local_var_path = "/tracking/2025-
|
90
|
+
local_var_path = "/tracking/2025-07/estimated-delivery-date/predict-batch"
|
91
91
|
method = :'POST'
|
92
92
|
|
93
93
|
# query parameters
|
@@ -33,7 +33,7 @@ module AftershipAPI
|
|
33
33
|
|
34
34
|
|
35
35
|
# resource path
|
36
|
-
local_var_path = "/tracking/2025-
|
36
|
+
local_var_path = "/tracking/2025-07/trackings"
|
37
37
|
method = :'POST'
|
38
38
|
|
39
39
|
# query parameters
|
@@ -85,7 +85,7 @@ module AftershipAPI
|
|
85
85
|
|
86
86
|
|
87
87
|
# resource path
|
88
|
-
local_var_path = "/tracking/2025-
|
88
|
+
local_var_path = "/tracking/2025-07/trackings/#{id}"
|
89
89
|
method = :'DELETE'
|
90
90
|
|
91
91
|
# query parameters
|
@@ -139,7 +139,7 @@ module AftershipAPI
|
|
139
139
|
|
140
140
|
|
141
141
|
# resource path
|
142
|
-
local_var_path = "/tracking/2025-
|
142
|
+
local_var_path = "/tracking/2025-07/trackings/#{id}"
|
143
143
|
method = :'GET'
|
144
144
|
|
145
145
|
# query parameters
|
@@ -207,7 +207,7 @@ module AftershipAPI
|
|
207
207
|
|
208
208
|
|
209
209
|
# resource path
|
210
|
-
local_var_path = "/tracking/2025-
|
210
|
+
local_var_path = "/tracking/2025-07/trackings"
|
211
211
|
method = :'GET'
|
212
212
|
|
213
213
|
# query parameters
|
@@ -283,7 +283,7 @@ module AftershipAPI
|
|
283
283
|
|
284
284
|
|
285
285
|
# resource path
|
286
|
-
local_var_path = "/tracking/2025-
|
286
|
+
local_var_path = "/tracking/2025-07/trackings/#{id}/mark-as-completed"
|
287
287
|
method = :'POST'
|
288
288
|
|
289
289
|
# query parameters
|
@@ -335,7 +335,7 @@ module AftershipAPI
|
|
335
335
|
|
336
336
|
|
337
337
|
# resource path
|
338
|
-
local_var_path = "/tracking/2025-
|
338
|
+
local_var_path = "/tracking/2025-07/trackings/#{id}/retrack"
|
339
339
|
method = :'POST'
|
340
340
|
|
341
341
|
# query parameters
|
@@ -393,7 +393,7 @@ module AftershipAPI
|
|
393
393
|
|
394
394
|
|
395
395
|
# resource path
|
396
|
-
local_var_path = "/tracking/2025-
|
396
|
+
local_var_path = "/tracking/2025-07/trackings/#{id}"
|
397
397
|
method = :'PUT'
|
398
398
|
|
399
399
|
# query parameters
|
data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_create_tracking_response.rb
CHANGED
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_delete_tracking_by_id_response.rb
CHANGED
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_get_tracking_by_id_response.rb
CHANGED
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_retrack_tracking_by_id_response.rb
CHANGED
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
data/lib/aftership-tracking-sdk/models/latest_estimated_delivery_update_tracking_by_id_response.rb
CHANGED
@@ -23,7 +23,7 @@ module AftershipAPI::Model
|
|
23
23
|
# datetime_max?: String;
|
24
24
|
attr_accessor :datetime_max
|
25
25
|
|
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
|
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 .
|
27
27
|
# revise_reason?: String;
|
28
28
|
attr_accessor :revise_reason
|
29
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aftership-tracking-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 12.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AfterShip Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|