diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c0434c6b..184e9af89 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# CHANGELOG
+## v8.11.1 (2026-11-30)
+
+- Fixes `claim.getNextPage` sending the `status` filter as `type` and dropping `status`
+- Fixes `report.all` sending `type` as a query parameter and failing on an immutable params map
+- Fixes `getNextPage` (claims, events, insurances, pickups, refunds, scan forms, shipments and trackers) dropping the `start_datetime` and `end_datetime` filters of the original `all` call
+- Fixes `tracker.getNextPage` dropping the `tracking_codes` filter of the original `all` call
+
## v8.11.0 (2026-11-09)
- Adds `deliveryEvidence` property and `DeliveryEvidence` model to `Tracker` object
diff --git a/README.md b/README.md
index 4ff833b53..516905178 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Add this to your project's POM:
com.easypost
easypost-api-client
- 8.11.0
+ 8.11.1
```
@@ -25,7 +25,7 @@ Add this to your project's POM:
Add this to your project's build file:
```groovy
-implementation "com.easypost:easypost-api-client:8.11.0"
+implementation "com.easypost:easypost-api-client:8.11.1"
```
**NOTE:** [Google Gson](http://code.google.com/p/google-gson/) is required.
diff --git a/VERSION b/VERSION
index db3905bf8..2f7697296 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-8.11.0
+8.11.1
diff --git a/pom.xml b/pom.xml
index 410dabecd..e050d93a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.easypost
easypost-api-client
- 8.11.0
+ 8.11.1
jar
com.easypost:easypost-api-client
diff --git a/src/main/java/com/easypost/model/ClaimCollection.java b/src/main/java/com/easypost/model/ClaimCollection.java
index de842214c..f4c238c50 100644
--- a/src/main/java/com/easypost/model/ClaimCollection.java
+++ b/src/main/java/com/easypost/model/ClaimCollection.java
@@ -13,8 +13,16 @@ public final class ClaimCollection extends PaginatedCollection {
@Setter
private String type;
+
+ @Setter
private String status;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List claims, Integer pageSize)
throws EndOfPaginationError {
@@ -29,6 +37,13 @@ protected Map buildNextPageParameters(List claims, Intege
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/EventCollection.java b/src/main/java/com/easypost/model/EventCollection.java
index 1c683d9f6..6353e835f 100644
--- a/src/main/java/com/easypost/model/EventCollection.java
+++ b/src/main/java/com/easypost/model/EventCollection.java
@@ -5,11 +5,18 @@
import com.easypost.exception.General.EndOfPaginationError;
import lombok.Getter;
+import lombok.Setter;
@Getter
public final class EventCollection extends PaginatedCollection {
private List events;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List events, Integer pageSize)
throws EndOfPaginationError {
@@ -22,6 +29,13 @@ protected Map buildNextPageParameters(List events, Intege
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/InsuranceCollection.java b/src/main/java/com/easypost/model/InsuranceCollection.java
index 8c7a1463e..1dc850900 100644
--- a/src/main/java/com/easypost/model/InsuranceCollection.java
+++ b/src/main/java/com/easypost/model/InsuranceCollection.java
@@ -5,11 +5,18 @@
import com.easypost.exception.General.EndOfPaginationError;
import lombok.Getter;
+import lombok.Setter;
@Getter
public final class InsuranceCollection extends PaginatedCollection {
private List insurances;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List insurances, Integer pageSize)
throws EndOfPaginationError {
@@ -22,6 +29,13 @@ protected Map buildNextPageParameters(List insurances
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/PickupCollection.java b/src/main/java/com/easypost/model/PickupCollection.java
index d4a5921e0..c4261f0ac 100644
--- a/src/main/java/com/easypost/model/PickupCollection.java
+++ b/src/main/java/com/easypost/model/PickupCollection.java
@@ -5,11 +5,18 @@
import com.easypost.exception.General.EndOfPaginationError;
import lombok.Getter;
+import lombok.Setter;
@Getter
public final class PickupCollection extends PaginatedCollection {
private List pickups;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List pickups, Integer pageSize)
throws EndOfPaginationError {
@@ -22,6 +29,13 @@ protected Map buildNextPageParameters(List pickups, Inte
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/RefundCollection.java b/src/main/java/com/easypost/model/RefundCollection.java
index b336bc235..ea1a36e82 100644
--- a/src/main/java/com/easypost/model/RefundCollection.java
+++ b/src/main/java/com/easypost/model/RefundCollection.java
@@ -5,11 +5,18 @@
import com.easypost.exception.General.EndOfPaginationError;
import lombok.Getter;
+import lombok.Setter;
@Getter
public final class RefundCollection extends PaginatedCollection {
private List refunds;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List refunds, Integer pageSize)
throws EndOfPaginationError {
@@ -22,6 +29,13 @@ protected Map buildNextPageParameters(List refunds, Inte
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/ScanFormCollection.java b/src/main/java/com/easypost/model/ScanFormCollection.java
index 6fb7312b6..76f3e6fa2 100644
--- a/src/main/java/com/easypost/model/ScanFormCollection.java
+++ b/src/main/java/com/easypost/model/ScanFormCollection.java
@@ -5,11 +5,18 @@
import com.easypost.exception.General.EndOfPaginationError;
import lombok.Getter;
+import lombok.Setter;
@Getter
public final class ScanFormCollection extends PaginatedCollection {
private List scanForms;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected Map buildNextPageParameters(List scanForms, Integer pageSize)
throws EndOfPaginationError {
@@ -22,6 +29,13 @@ protected Map buildNextPageParameters(List scanForms,
parameters.put("page_size", pageSize);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/ShipmentCollection.java b/src/main/java/com/easypost/model/ShipmentCollection.java
index c73db327f..0bdb85da0 100644
--- a/src/main/java/com/easypost/model/ShipmentCollection.java
+++ b/src/main/java/com/easypost/model/ShipmentCollection.java
@@ -17,6 +17,12 @@ public class ShipmentCollection extends PaginatedCollection {
@Setter
private Boolean includeChildren;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected final Map buildNextPageParameters(List shipments, Integer pageSize)
throws EndOfPaginationError {
@@ -37,6 +43,13 @@ protected final Map buildNextPageParameters(List shipm
parameters.put("include_children", includeChildren);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/model/TrackerCollection.java b/src/main/java/com/easypost/model/TrackerCollection.java
index 843abd1f1..9df2ab655 100644
--- a/src/main/java/com/easypost/model/TrackerCollection.java
+++ b/src/main/java/com/easypost/model/TrackerCollection.java
@@ -20,6 +20,12 @@ public class TrackerCollection extends PaginatedCollection {
@Setter
private String carrier;
+ @Setter
+ private Object startDatetime;
+
+ @Setter
+ private Object endDatetime;
+
@Override
protected final Map buildNextPageParameters(List trackers, Integer pageSize)
throws EndOfPaginationError {
@@ -43,6 +49,13 @@ protected final Map buildNextPageParameters(List tracke
parameters.put("carrier", carrier);
}
+ if (startDatetime != null) {
+ parameters.put("start_datetime", startDatetime);
+ }
+ if (endDatetime != null) {
+ parameters.put("end_datetime", endDatetime);
+ }
+
return parameters;
}
}
diff --git a/src/main/java/com/easypost/service/ClaimService.java b/src/main/java/com/easypost/service/ClaimService.java
index e16a008b2..ba8b7ec38 100644
--- a/src/main/java/com/easypost/service/ClaimService.java
+++ b/src/main/java/com/easypost/service/ClaimService.java
@@ -9,6 +9,7 @@
import com.easypost.http.Requestor.RequestMethod;
import com.easypost.model.Claim;
import com.easypost.model.ClaimCollection;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
@@ -60,14 +61,14 @@ public Claim retrieve(final String id) throws EasyPostException {
public ClaimCollection all(final Map params) throws EasyPostException {
String type = (String) params.get("type");
String status = (String) params.get("status");
- params.remove(type);
- params.remove(status);
String endpoint = "claims";
ClaimCollection claimCollection =
Requestor.request(RequestMethod.GET, endpoint, params, ClaimCollection.class, client);
claimCollection.setType(type);
- claimCollection.setType(status);
+ claimCollection.setStatus(status);
+ claimCollection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ claimCollection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
return claimCollection;
}
diff --git a/src/main/java/com/easypost/service/EventService.java b/src/main/java/com/easypost/service/EventService.java
index 3981f996b..7350e0ba2 100644
--- a/src/main/java/com/easypost/service/EventService.java
+++ b/src/main/java/com/easypost/service/EventService.java
@@ -8,6 +8,7 @@
import com.easypost.model.Event;
import com.easypost.model.Payload;
import com.easypost.model.PayloadCollection;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
import java.util.List;
@@ -49,7 +50,12 @@ public Event retrieve(final String id) throws EasyPostException {
public EventCollection all(final Map params) throws EasyPostException {
String endpoint = "events";
- return Requestor.request(RequestMethod.GET, endpoint, params, EventCollection.class, client);
+ EventCollection collection =
+ Requestor.request(RequestMethod.GET, endpoint, params, EventCollection.class, client);
+ collection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ collection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
+
+ return collection;
}
/**
diff --git a/src/main/java/com/easypost/service/InsuranceService.java b/src/main/java/com/easypost/service/InsuranceService.java
index 2c54b87bd..d8d558be0 100644
--- a/src/main/java/com/easypost/service/InsuranceService.java
+++ b/src/main/java/com/easypost/service/InsuranceService.java
@@ -6,6 +6,7 @@
import com.easypost.http.Requestor.RequestMethod;
import com.easypost.model.InsuranceCollection;
import com.easypost.model.Insurance;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
import java.util.HashMap;
@@ -63,7 +64,12 @@ public Insurance retrieve(final String id) throws EasyPostException {
public InsuranceCollection all(final Map params) throws EasyPostException {
String endpoint = "insurances";
- return Requestor.request(RequestMethod.GET, endpoint, params, InsuranceCollection.class, client);
+ InsuranceCollection collection =
+ Requestor.request(RequestMethod.GET, endpoint, params, InsuranceCollection.class, client);
+ collection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ collection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
+
+ return collection;
}
/**
diff --git a/src/main/java/com/easypost/service/PickupService.java b/src/main/java/com/easypost/service/PickupService.java
index a5f974b26..6c910d5cc 100644
--- a/src/main/java/com/easypost/service/PickupService.java
+++ b/src/main/java/com/easypost/service/PickupService.java
@@ -7,6 +7,7 @@
import com.easypost.model.PickupCollection;
import com.easypost.model.Pickup;
import com.easypost.model.PickupRate;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
import java.util.HashMap;
@@ -35,7 +36,12 @@ public class PickupService {
public PickupCollection all(final Map params) throws EasyPostException {
String endpoint = "pickups";
- return Requestor.request(RequestMethod.GET, endpoint, params, PickupCollection.class, client);
+ PickupCollection collection =
+ Requestor.request(RequestMethod.GET, endpoint, params, PickupCollection.class, client);
+ collection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ collection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
+
+ return collection;
}
/**
diff --git a/src/main/java/com/easypost/service/RefundService.java b/src/main/java/com/easypost/service/RefundService.java
index 49ac2638f..827d6c636 100644
--- a/src/main/java/com/easypost/service/RefundService.java
+++ b/src/main/java/com/easypost/service/RefundService.java
@@ -6,6 +6,7 @@
import com.easypost.http.Requestor.RequestMethod;
import com.easypost.model.RefundCollection;
import com.easypost.model.Refund;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
import java.util.Arrays;
@@ -67,7 +68,12 @@ public Refund retrieve(final String id) throws EasyPostException {
public RefundCollection all(final Map params) throws EasyPostException {
String endpoint = "refunds";
- return Requestor.request(RequestMethod.GET, endpoint, params, RefundCollection.class, client);
+ RefundCollection collection =
+ Requestor.request(RequestMethod.GET, endpoint, params, RefundCollection.class, client);
+ collection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ collection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
+
+ return collection;
}
/**
diff --git a/src/main/java/com/easypost/service/ReportService.java b/src/main/java/com/easypost/service/ReportService.java
index 1e029eb83..f0d431dcb 100644
--- a/src/main/java/com/easypost/service/ReportService.java
+++ b/src/main/java/com/easypost/service/ReportService.java
@@ -87,11 +87,12 @@ public Report retrieve(final String id) throws EasyPostException {
*/
public ReportCollection all(final Map params) throws EasyPostException {
String type = (String) params.get("type");
- params.remove(type);
+ Map requestParams = new HashMap<>(params);
+ requestParams.remove("type");
String endpoint = reportURL(type);
ReportCollection collection =
- Requestor.request(RequestMethod.GET, endpoint, params, ReportCollection.class, client);
+ Requestor.request(RequestMethod.GET, endpoint, requestParams, ReportCollection.class, client);
// we store the type of reports in this collection, for use in pagination
collection.setType(type);
return collection;
diff --git a/src/main/java/com/easypost/service/ScanformService.java b/src/main/java/com/easypost/service/ScanformService.java
index a3f95e07a..902673c98 100644
--- a/src/main/java/com/easypost/service/ScanformService.java
+++ b/src/main/java/com/easypost/service/ScanformService.java
@@ -6,6 +6,7 @@
import com.easypost.http.Requestor.RequestMethod;
import com.easypost.model.ScanFormCollection;
import com.easypost.model.ScanForm;
+import com.easypost.utils.InternalUtilities;
import lombok.SneakyThrows;
import java.util.Map;
@@ -59,7 +60,12 @@ public ScanForm retrieve(final String id) throws EasyPostException {
public ScanFormCollection all(final Map params) throws EasyPostException {
String endpoint = "scan_forms";
- return Requestor.request(RequestMethod.GET, endpoint, params, ScanFormCollection.class, client);
+ ScanFormCollection collection =
+ Requestor.request(RequestMethod.GET, endpoint, params, ScanFormCollection.class, client);
+ collection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ collection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
+
+ return collection;
}
/**
diff --git a/src/main/java/com/easypost/service/ShipmentService.java b/src/main/java/com/easypost/service/ShipmentService.java
index 8c8b80c9b..45d12a11c 100644
--- a/src/main/java/com/easypost/service/ShipmentService.java
+++ b/src/main/java/com/easypost/service/ShipmentService.java
@@ -82,6 +82,8 @@ public ShipmentCollection all(final Map params) throws EasyPostE
shipmentCollection.setPurchased(InternalUtilities.getOrDefault(params, "purchased", null));
shipmentCollection.setIncludeChildren(InternalUtilities.getOrDefault(params, "include_children", null));
+ shipmentCollection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ shipmentCollection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
return shipmentCollection;
}
diff --git a/src/main/java/com/easypost/service/TrackerService.java b/src/main/java/com/easypost/service/TrackerService.java
index 9b2f73d2a..f78540761 100644
--- a/src/main/java/com/easypost/service/TrackerService.java
+++ b/src/main/java/com/easypost/service/TrackerService.java
@@ -10,6 +10,7 @@
import lombok.SneakyThrows;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import java.util.function.Function;
@@ -68,7 +69,13 @@ public TrackerCollection all(final Map params) throws EasyPostEx
Requestor.request(RequestMethod.GET, endpoint, params, TrackerCollection.class, client);
// we store the params in the collection so that we can use them to get the next page
trackerCollection.setTrackingCode(InternalUtilities.getOrDefault(params, "tracking_code", null));
+ Object trackingCodes = params.get("tracking_codes");
+ if (trackingCodes instanceof List) {
+ trackerCollection.setTrackingCodes((List) trackingCodes);
+ }
trackerCollection.setCarrier(InternalUtilities.getOrDefault(params, "carrier", null));
+ trackerCollection.setStartDatetime(InternalUtilities.getOrDefault(params, "start_datetime", null));
+ trackerCollection.setEndDatetime(InternalUtilities.getOrDefault(params, "end_datetime", null));
return trackerCollection;
}
diff --git a/src/test/cassettes/report/all_reports.json b/src/test/cassettes/report/all_reports.json
index 8a6395086..536ee517b 100644
--- a/src/test/cassettes/report/all_reports.json
+++ b/src/test/cassettes/report/all_reports.json
@@ -12,7 +12,7 @@
"REDACTED"
]
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35"
},
"response": {
"body": "{\n \"reports\": [\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2024-08-16T15:58:06Z\",\n \"created_at\": \"2024-08-16T15:58:06Z\",\n \"id\": \"shprep_d29f8fb2230d48b6b949d3ef01956632\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2024-08-16T15:58:06Z\",\n \"created_at\": \"2024-08-16T15:58:05Z\",\n \"id\": \"shprep_904c9b5f954b4dd887cc3a5554a42560\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:08Z\",\n \"created_at\": \"2023-12-27T19:39:07Z\",\n \"id\": \"shprep_789367e2ee404ba39eb7b84b1437b25e\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:07Z\",\n \"created_at\": \"2023-12-27T19:39:07Z\",\n \"id\": \"shprep_d9b2d5f15d9942fcb91b848e9a2f3e1a\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:06Z\",\n \"created_at\": \"2023-12-27T19:39:06Z\",\n \"id\": \"shprep_8fec829b910a4a22b1366ad8af28e420\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n }\n ],\n \"has_more\": true\n}",
@@ -81,7 +81,7 @@
"code": 200,
"message": "OK"
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35"
},
"duration": 271
}
diff --git a/src/test/cassettes/report/get_next_page.json b/src/test/cassettes/report/get_next_page.json
index bc49ce44c..4793805fd 100644
--- a/src/test/cassettes/report/get_next_page.json
+++ b/src/test/cassettes/report/get_next_page.json
@@ -12,7 +12,7 @@
"REDACTED"
]
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35"
},
"response": {
"body": "{\n \"reports\": [\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2024-08-16T15:58:06Z\",\n \"created_at\": \"2024-08-16T15:58:06Z\",\n \"id\": \"shprep_d29f8fb2230d48b6b949d3ef01956632\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2024-08-16T15:58:06Z\",\n \"created_at\": \"2024-08-16T15:58:05Z\",\n \"id\": \"shprep_904c9b5f954b4dd887cc3a5554a42560\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:08Z\",\n \"created_at\": \"2023-12-27T19:39:07Z\",\n \"id\": \"shprep_789367e2ee404ba39eb7b84b1437b25e\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:07Z\",\n \"created_at\": \"2023-12-27T19:39:07Z\",\n \"id\": \"shprep_d9b2d5f15d9942fcb91b848e9a2f3e1a\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:06Z\",\n \"created_at\": \"2023-12-27T19:39:06Z\",\n \"id\": \"shprep_8fec829b910a4a22b1366ad8af28e420\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n }\n ],\n \"has_more\": true\n}",
@@ -81,7 +81,7 @@
"code": 200,
"message": "OK"
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35"
},
"duration": 243
},
@@ -98,7 +98,7 @@
"REDACTED"
]
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74\u0026%62%65%66%6F%72%65%5F%69%64\u003d%73%68%70%72%65%70%5F%38%66%65%63%38%32%39%62%39%31%30%61%34%61%32%32%62%31%33%36%36%61%64%38%61%66%32%38%65%34%32%30"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%62%65%66%6F%72%65%5F%69%64\u003d%73%68%70%72%65%70%5F%38%66%65%63%38%32%39%62%39%31%30%61%34%61%32%32%62%31%33%36%36%61%64%38%61%66%32%38%65%34%32%30"
},
"response": {
"body": "{\n \"reports\": [\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-12-27T19:39:06Z\",\n \"created_at\": \"2023-12-27T19:39:05Z\",\n \"id\": \"shprep_23260a93c0464541bf87511100a27acf\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-06-07T17:51:05Z\",\n \"created_at\": \"2023-06-07T17:51:05Z\",\n \"id\": \"shprep_480eaef3080a4e6b834f0081f46e79f2\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-06-07T17:51:05Z\",\n \"created_at\": \"2023-06-07T17:51:05Z\",\n \"id\": \"shprep_bea39cf7d21b48829290104d5f058696\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-06-07T17:51:04Z\",\n \"created_at\": \"2023-06-07T17:51:04Z\",\n \"id\": \"shprep_098c647ce9684fe2a90711c7cedbd808\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n },\n {\n \"end_date\": \"2022-05-04\",\n \"mode\": \"test\",\n \"include_children\": false,\n \"updated_at\": \"2023-06-07T17:51:04Z\",\n \"created_at\": \"2023-06-07T17:51:04Z\",\n \"id\": \"shprep_aea0ec64945e4f289936ec0effaed8b7\",\n \"url_expires_at\": null,\n \"url\": null,\n \"object\": \"ShipmentReport\",\n \"start_date\": \"2022-05-04\",\n \"status\": \"empty\"\n }\n ],\n \"has_more\": true\n}",
@@ -167,7 +167,7 @@
"code": 200,
"message": "OK"
},
- "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%74%79%70%65\u003d%73%68%69%70%6D%65%6E%74\u0026%62%65%66%6F%72%65%5F%69%64\u003d%73%68%70%72%65%70%5F%38%66%65%63%38%32%39%62%39%31%30%61%34%61%32%32%62%31%33%36%36%61%64%38%61%66%32%38%65%34%32%30"
+ "uri": "https://api.easypost.com/v2/reports/shipment?%70%61%67%65%5F%73%69%7A%65\u003d%35\u0026%62%65%66%6F%72%65%5F%69%64\u003d%73%68%70%72%65%70%5F%38%66%65%63%38%32%39%62%39%31%30%61%34%61%32%32%62%31%33%36%36%61%64%38%61%66%32%38%65%34%32%30"
},
"duration": 290
}