The TransferEventType has some inconsistencies, lacks the 'settled' type
ngatiajim opened this issue · comments
I believe there are some inconsistencies with the documentation for the below Transfer Event Types:
- Documentation: "settled, swept_settled"
- Interface: "reverse_swept"
...
"Possible values: pending, cancelled, failed, posted, settled, returned, swept, swept_settled, return_swept"
export declare enum TransferEventType {
Pending = "pending",
Cancelled = "cancelled",
Failed = "failed",
Posted = "posted",
Returned = "returned",
Swept = "swept",
ReverseSwept = "reverse_swept",
ReturnSwept = "return_swept"
}
...
@ngatiajim it seems like you might be using an outdated version of the client libraries -- can you try updating to latest? I checked the api.d.ts file currently on master in this repo (https://github.com/plaid/plaid-node/blob/master/dist/api.d.ts) and it appears to have the correct values in it:
export declare enum TransferEventType {
Pending = "pending",
Cancelled = "cancelled",
Failed = "failed",
Posted = "posted",
Settled = "settled",
Returned = "returned",
Swept = "swept",
SweptSettled = "swept_settled",
ReturnSwept = "return_swept"
}
Confirmed. Thanks, the current version 12.0.0 has the valid values.