Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 254
openapi_spec_hash: 55fb271eb29805e8a49ed72fb5ed8843
openapi_spec_hash: e26db9a4f5055fc4534007aa9c4eaea8
config_hash: f0e1844d06c76a9e145f7986d993dda6
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/AccountStatements/AccountStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ final class AccountStatement implements BaseModel
public int $startingBalance;

/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end of the period the Account Statement covers. The statement covers all transactions up to, but not including this timestamp. Usually, this is the beginning of the following month.
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end of the period the Account Statement covers. The statement covers all transactions up to, but not including this timestamp. Statement periods are measured in UTC days, so this is usually midnight UTC on the first day of the following month.
*/
#[Required('statement_period_end')]
public \DateTimeInterface $statementPeriodEnd;

/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the start of the period the Account Statement covers. This is the first moment of the statement period and is inclusive. Usually, this is the beginning of the month this statement covers.
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the start of the period the Account Statement covers. This is the first moment of the statement period and is inclusive. Statement periods are measured in UTC days, so this is usually midnight UTC on the first day of the month this statement covers.
*/
#[Required('statement_period_start')]
public \DateTimeInterface $statementPeriodStart;
Expand Down Expand Up @@ -251,7 +251,7 @@ public function withStartingBalance(int $startingBalance): self
}

/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end of the period the Account Statement covers. The statement covers all transactions up to, but not including this timestamp. Usually, this is the beginning of the following month.
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end of the period the Account Statement covers. The statement covers all transactions up to, but not including this timestamp. Statement periods are measured in UTC days, so this is usually midnight UTC on the first day of the following month.
*/
public function withStatementPeriodEnd(
\DateTimeInterface $statementPeriodEnd
Expand All @@ -263,7 +263,7 @@ public function withStatementPeriodEnd(
}

/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the start of the period the Account Statement covers. This is the first moment of the statement period and is inclusive. Usually, this is the beginning of the month this statement covers.
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the start of the period the Account Statement covers. This is the first moment of the statement period and is inclusive. Statement periods are measured in UTC days, so this is usually midnight UTC on the first day of the month this statement covers.
*/
public function withStatementPeriodStart(
\DateTimeInterface $statementPeriodStart
Expand Down
4 changes: 2 additions & 2 deletions src/Exports/Export/AccountStatementBai2.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class AccountStatementBai2 implements BaseModel
public ?string $accountID;

/**
* The date for which to retrieve the balance.
* The UTC date for which to retrieve the balance.
*/
#[Required('effective_date')]
public ?string $effectiveDate;
Expand Down Expand Up @@ -91,7 +91,7 @@ public function withAccountID(?string $accountID): self
}

/**
* The date for which to retrieve the balance.
* The UTC date for which to retrieve the balance.
*/
public function withEffectiveDate(?string $effectiveDate): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/Exports/Export/AccountVerificationLetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class AccountVerificationLetter implements BaseModel
public string $accountNumberID;

/**
* The date of the balance to include in the letter.
* The UTC date of the balance to include in the letter.
*/
#[Required('balance_date')]
public ?string $balanceDate;
Expand Down Expand Up @@ -80,7 +80,7 @@ public function withAccountNumberID(string $accountNumberID): self
}

/**
* The date of the balance to include in the letter.
* The UTC date of the balance to include in the letter.
*/
public function withBalanceDate(?string $balanceDate): self
{
Expand Down
8 changes: 4 additions & 4 deletions src/Exports/Export/BookkeepingAccountBalanceCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ final class BookkeepingAccountBalanceCsv implements BaseModel
public ?string $bookkeepingAccountID;

/**
* Filter balances to those on or after this date.
* Filter balances to those on or after this UTC date.
*/
#[Required('on_or_after_date')]
public ?string $onOrAfterDate;

/**
* Filter balances to those on or before this date.
* Filter balances to those on or before this UTC date.
*/
#[Required('on_or_before_date')]
public ?string $onOrBeforeDate;
Expand Down Expand Up @@ -96,7 +96,7 @@ public function withBookkeepingAccountID(
}

/**
* Filter balances to those on or after this date.
* Filter balances to those on or after this UTC date.
*/
public function withOnOrAfterDate(?string $onOrAfterDate): self
{
Expand All @@ -107,7 +107,7 @@ public function withOnOrAfterDate(?string $onOrAfterDate): self
}

/**
* Filter balances to those on or before this date.
* Filter balances to those on or before this UTC date.
*/
public function withOnOrBeforeDate(?string $onOrBeforeDate): self
{
Expand Down
8 changes: 4 additions & 4 deletions src/Exports/Export/DailyAccountBalanceCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ final class DailyAccountBalanceCsv implements BaseModel
public ?string $accountID;

/**
* Filter balances on or after this date.
* Filter balances on or after this UTC date.
*/
#[Required('on_or_after_date')]
public ?string $onOrAfterDate;

/**
* Filter balances on or before this date.
* Filter balances on or before this UTC date.
*/
#[Required('on_or_before_date')]
public ?string $onOrBeforeDate;
Expand Down Expand Up @@ -95,7 +95,7 @@ public function withAccountID(?string $accountID): self
}

/**
* Filter balances on or after this date.
* Filter balances on or after this UTC date.
*/
public function withOnOrAfterDate(?string $onOrAfterDate): self
{
Expand All @@ -106,7 +106,7 @@ public function withOnOrAfterDate(?string $onOrAfterDate): self
}

/**
* Filter balances on or before this date.
* Filter balances on or before this UTC date.
*/
public function withOnOrBeforeDate(?string $onOrBeforeDate): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/Exports/ExportCreateParams/AccountStatementBai2.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class AccountStatementBai2 implements BaseModel
public ?string $accountID;

/**
* The date to create a BAI2 report for. If not provided, the current date will be used. The timezone is UTC. If the current date is used, the report will include intraday balances, otherwise it will include end-of-day balances for the provided date.
* The UTC date to create a BAI2 report for. If not provided, the current date will be used. If the current date is used, the report will include intraday balances, otherwise it will include end-of-day balances for the provided date.
*/
#[Optional('effective_date')]
public ?string $effectiveDate;
Expand Down Expand Up @@ -74,7 +74,7 @@ public function withAccountID(string $accountID): self
}

/**
* The date to create a BAI2 report for. If not provided, the current date will be used. The timezone is UTC. If the current date is used, the report will include intraday balances, otherwise it will include end-of-day balances for the provided date.
* The UTC date to create a BAI2 report for. If not provided, the current date will be used. If the current date is used, the report will include intraday balances, otherwise it will include end-of-day balances for the provided date.
*/
public function withEffectiveDate(string $effectiveDate): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/Exports/ExportCreateParams/AccountVerificationLetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class AccountVerificationLetter implements BaseModel
public string $accountNumberID;

/**
* The date of the balance to include in the letter. Defaults to the current date.
* The UTC date of the balance to include in the letter. Defaults to the current date.
*/
#[Optional('balance_date')]
public ?string $balanceDate;
Expand Down Expand Up @@ -82,7 +82,7 @@ public function withAccountNumberID(string $accountNumberID): self
}

/**
* The date of the balance to include in the letter. Defaults to the current date.
* The UTC date of the balance to include in the letter. Defaults to the current date.
*/
public function withBalanceDate(string $balanceDate): self
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ final class BookkeepingAccountBalanceCsv implements BaseModel
public ?string $bookkeepingAccountID;

/**
* Filter exported Balances to those on or after this date.
* Filter exported Balances to those on or after this UTC date.
*/
#[Optional('on_or_after_date')]
public ?string $onOrAfterDate;

/**
* Filter exported Balances to those on or before this date.
* Filter exported Balances to those on or before this UTC date.
*/
#[Optional('on_or_before_date')]
public ?string $onOrBeforeDate;
Expand Down Expand Up @@ -76,7 +76,7 @@ public function withBookkeepingAccountID(string $bookkeepingAccountID): self
}

/**
* Filter exported Balances to those on or after this date.
* Filter exported Balances to those on or after this UTC date.
*/
public function withOnOrAfterDate(string $onOrAfterDate): self
{
Expand All @@ -87,7 +87,7 @@ public function withOnOrAfterDate(string $onOrAfterDate): self
}

/**
* Filter exported Balances to those on or before this date.
* Filter exported Balances to those on or before this UTC date.
*/
public function withOnOrBeforeDate(string $onOrBeforeDate): self
{
Expand Down
8 changes: 4 additions & 4 deletions src/Exports/ExportCreateParams/DailyAccountBalanceCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ final class DailyAccountBalanceCsv implements BaseModel
public ?string $accountID;

/**
* Filter exported Balances to those on or after this date.
* Filter exported Balances to those on or after this UTC date.
*/
#[Optional('on_or_after_date')]
public ?string $onOrAfterDate;

/**
* Filter exported Balances to those on or before this date.
* Filter exported Balances to those on or before this UTC date.
*/
#[Optional('on_or_before_date')]
public ?string $onOrBeforeDate;
Expand Down Expand Up @@ -76,7 +76,7 @@ public function withAccountID(string $accountID): self
}

/**
* Filter exported Balances to those on or after this date.
* Filter exported Balances to those on or after this UTC date.
*/
public function withOnOrAfterDate(string $onOrAfterDate): self
{
Expand All @@ -87,7 +87,7 @@ public function withOnOrAfterDate(string $onOrAfterDate): self
}

/**
* Filter exported Balances to those on or before this date.
* Filter exported Balances to those on or before this UTC date.
*/
public function withOnOrBeforeDate(string $onOrBeforeDate): self
{
Expand Down
27 changes: 25 additions & 2 deletions src/InboundFednowTransfers/InboundFednowTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* debtorRoutingNumber: string,
* decline: null|Decline|DeclineShape,
* endToEndIdentification: string|null,
* messageIdentification: string,
* status: Status|value-of<Status>,
* transactionID: string|null,
* transactionIdentification: string|null,
Expand Down Expand Up @@ -126,6 +127,12 @@ final class InboundFednowTransfer implements BaseModel
#[Required('end_to_end_identification')]
public ?string $endToEndIdentification;

/**
* The FedNow network identification of the transfer.
*/
#[Required('message_identification')]
public string $messageIdentification;

/**
* The lifecycle status of the transfer.
*
Expand All @@ -141,7 +148,7 @@ final class InboundFednowTransfer implements BaseModel
public ?string $transactionID;

/**
* The FedNow network identification of the transfer.
* An optional identifier for the transfer set by the sending bank.
*/
#[Required('transaction_identification')]
public ?string $transactionIdentification;
Expand Down Expand Up @@ -185,6 +192,7 @@ final class InboundFednowTransfer implements BaseModel
* debtorRoutingNumber: ...,
* decline: ...,
* endToEndIdentification: ...,
* messageIdentification: ...,
* status: ...,
* transactionID: ...,
* transactionIdentification: ...,
Expand All @@ -211,6 +219,7 @@ final class InboundFednowTransfer implements BaseModel
* ->withDebtorRoutingNumber(...)
* ->withDecline(...)
* ->withEndToEndIdentification(...)
* ->withMessageIdentification(...)
* ->withStatus(...)
* ->withTransactionID(...)
* ->withTransactionIdentification(...)
Expand Down Expand Up @@ -249,6 +258,7 @@ public static function with(
string $debtorRoutingNumber,
Decline|array|null $decline,
?string $endToEndIdentification,
string $messageIdentification,
Status|string $status,
?string $transactionID,
?string $transactionIdentification,
Expand All @@ -271,6 +281,7 @@ public static function with(
$self['debtorRoutingNumber'] = $debtorRoutingNumber;
$self['decline'] = $decline;
$self['endToEndIdentification'] = $endToEndIdentification;
$self['messageIdentification'] = $messageIdentification;
$self['status'] = $status;
$self['transactionID'] = $transactionID;
$self['transactionIdentification'] = $transactionIdentification;
Expand Down Expand Up @@ -432,6 +443,18 @@ public function withEndToEndIdentification(
return $self;
}

/**
* The FedNow network identification of the transfer.
*/
public function withMessageIdentification(
string $messageIdentification
): self {
$self = clone $this;
$self['messageIdentification'] = $messageIdentification;

return $self;
}

/**
* The lifecycle status of the transfer.
*
Expand All @@ -457,7 +480,7 @@ public function withTransactionID(?string $transactionID): self
}

/**
* The FedNow network identification of the transfer.
* An optional identifier for the transfer set by the sending bank.
*/
public function withTransactionIdentification(
?string $transactionIdentification
Expand Down
2 changes: 1 addition & 1 deletion src/Services/FilesRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function create(
/**
* @api
*
* Retrieve a File
* Fetch metadata about a File, like its `purpose` and MIME type. To access the content, use the [Get File contents](/documentation/api/files#get-file-contents) API.
*
* @param string $fileID the identifier of the File
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/FilesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function create(
/**
* @api
*
* Retrieve a File
* Fetch metadata about a File, like its `purpose` and MIME type. To access the content, use the [Get File contents](/documentation/api/files#get-file-contents) API.
*
* @param string $fileID the identifier of the File
* @param RequestOpts|null $requestOptions
Expand Down
Loading