Skip to content

Commit 91842e4

Browse files
authored
Merge pull request #512 from EasyPost/claim_reference
feat: adds reference to claims
2 parents 5ccb213 + fd4f870 commit 91842e4

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v8.1.0 (2025-05-29)
4+
5+
- Adds `reference` and `recipient_name` to Claims
6+
37
## v8.0.2 (2025-05-27)
48

59
- Corrects the endpoint used for creating/updating UPS accounts

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@easypost/api",
33
"description": "EasyPost Node Client Library",
4-
"version": "8.0.2",
4+
"version": "8.1.0",
55
"author": "Easypost Engineering <[email protected]>",
66
"homepage": "https://easypost.com",
77
"exports": {

src/models/claim.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ export default class Claim extends EasyPostObject {
1717
static insurance_amount;
1818
static insurance_id;
1919
static payment_method;
20+
static recipient_name;
21+
static reference;
2022
static requested_amount;
2123
static shipment_id;
22-
static status;
2324
static status_detail;
2425
static status_timestamp;
26+
static status;
2527
static tracking_code;
2628
static type;
2729
static updated_at;

types/Claim/Claim.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export declare interface IClaim extends IObjectWithId<'Claim'>, IDatedObject {
4040
/** The name of the person who was to receive the shipment */
4141
recipient_name: null;
4242

43+
/** An optional value that may be used in place of ID when doing Retrieve calls for this claim. */
44+
reference: string | null;
45+
4346
/** The amount the claim is for */
4447
requested_amount: string;
4548

0 commit comments

Comments
 (0)