Skip to content
Merged
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
19 changes: 10 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 23304fef-40f3-4268-ad52-8df627e80cfa
management:
docChecksum: 2d24d99543d5376427756737ba505990
docVersion: 3.0.0-beta01
speakeasyVersion: 1.658.1
generationVersion: 2.755.6
releaseVersion: 0.8.3
configChecksum: 724243128a243735fffc08d1fc57b52e
docChecksum: a9c33e466fad7a1e8249ff3254d6c1fc
docVersion: 3.0.0-beta95
speakeasyVersion: 1.660.0
generationVersion: 2.760.2
releaseVersion: 0.8.4
configChecksum: 7579c72aeaba04e7d859b4d75d2b0afa
repoURL: https://github.com/dailypay/dailypay-typescript-sdk.git
installationURL: https://github.com/dailypay/dailypay-typescript-sdk
features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12
core: 3.26.7
core: 3.26.9
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
enumUnions: 0.1.0
Expand Down Expand Up @@ -625,6 +625,7 @@ generatedFiles:
- src/types/operations.ts
- src/types/rfcdate.ts
- src/types/streams.ts
- src/types/unrecognized.ts
- tsconfig.json
examples:
requestToken:
Expand Down Expand Up @@ -743,7 +744,7 @@ examples:
header:
DailyPay-API-Version: 3
requestBody:
application/vnd.api+json: {"data": {"type": "accounts", "attributes": {"name": "Acme Bank Debit Card", "account_type": "CARD", "subtype": "DEBIT", "details": {"token": "abc.efg.123", "issuer": "411600", "first_name": "Edith", "last_name": "Clarke", "expiration_month": "02", "expiration_year": "2027", "address_line_one": "123 Kebly Street", "address_city": "Fort Lee", "address_state": "NJ", "address_zip_code": "72374", "address_country": "US"}}, "relationships": {"person": {"data": {"type": "people", "id": "3fa8f641-5717-4562-b3fc-2c963f66afa6"}}}}}
application/vnd.api+json: {"data": {"type": "accounts", "attributes": {"name": "Acme Bank Debit Card", "account_type": "CARD", "subtype": "DEBIT", "details": {"token": "abc.efg.123", "first_name": "Edith", "last_name": "Clarke", "expiration_month": "02", "expiration_year": "2027", "address_line_one": "123 Kebly Street", "address_city": "Fort Lee", "address_state": "NJ", "address_zip_code": "72374", "address_country": "US"}}, "relationships": {"person": {"data": {"type": "people", "id": "3fa8f641-5717-4562-b3fc-2c963f66afa6"}}}}}
responses:
"200":
application/vnd.api+json: {"data": {"id": "2bc7d781-3247-46f6-b60f-4090d214936a", "type": "accounts", "attributes": {"verification_status": "VERIFIED", "balances": {"available": 12000, "current": 50000, "currency": "USD"}, "capabilities": {"transfer_destination": [{"schedule": "WITHIN_THIRTY_MINUTES", "fee": 300, "currency": "USD"}, {"schedule": "NEXT_BUSINESS_DAY", "fee": 0, "currency": "USD"}]}, "name": "Checking Account", "account_type": "DEPOSITORY", "subtype": "CHECKING", "details": {"first_name": "Edith", "last_name": "Clarke", "routing_number": "XXXXX2021", "account_number": "XXXXXX4321"}}, "links": {"self": "https://api.dailypay.com/rest/accounts/2bc7d781-3247-46f6-b60f-4090d214936a"}, "relationships": {"person": {"data": {"type": "people", "id": "3fa8f641-5717-4562-b3fc-2c963f66afa6"}}}}}
Expand Down Expand Up @@ -997,4 +998,4 @@ generatedTests:
createGenericCardToken: "2025-07-02T14:55:51-03:00"
getHealth: "2025-07-02T14:55:51-03:00"
createAccount: "2025-07-08T13:03:32-03:00"
releaseNotes: "## Typescript SDK Changes Detected:\n* `sdk.accounts.create()`: \n * `request.data.attributes.[card].cardAccountDetails.issuer` **Added** **Breaking** :warning:\n"
releaseNotes: "## Typescript SDK Changes Detected:\n* `sdk.accounts.create()`: \n * `request.data.attributes.[card].cardAccountDetails.issuer` **Removed** **Breaking** :warning:\n"
4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
typescript:
version: 0.8.3
version: 0.8.4
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand All @@ -49,6 +49,7 @@ typescript:
exportZodModelNamespace: false
flattenGlobalSecurity: true
flatteningOrder: parameters-first
forwardCompatibleEnumsByDefault: false
generateExamples: true
imports:
option: openapi
Expand All @@ -60,6 +61,7 @@ typescript:
webhooks: models/webhooks
inputModelSuffix: input
jsonpath: rfc9535
laxMode: strict
maxMethodParams: 0
methodArguments: infer-optional-args
modelPropertyCasing: camel
Expand Down
1 change: 0 additions & 1 deletion .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ workflows:
expiration_month: "02"
expiration_year: "2027"
first_name: Edith
issuer: "411600"
last_name: Clarke
token: abc.efg.123
name: Acme Bank Debit Card
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
speakeasyVersion: 1.658.1
speakeasyVersion: 1.660.0
sources:
cloud:
sourceNamespace: xapi
sourceRevisionDigest: sha256:6773b80fac452268c273947c49ba3a09f1576fde5a0e975b308ce948a51eb9b2
sourceBlobDigest: sha256:b22d8187055367d04516104d49378432a21a0fdec37c74f0c798070a2341cd9b
sourceRevisionDigest: sha256:abd46597685c59c103d5c6dec4af081e20419fc13be8aee72ff392c82e9751db
sourceBlobDigest: sha256:eab8752b090382aeb5f74019d56580a59276c6859f1abc8d3e09cd2ad582c533
tags:
- latest
- speakeasy-sdk-regen-1763156618
- 3.0.0-beta01
- speakeasy-sdk-regen-1763408845
- 3.0.0-beta95
local:
sourceNamespace: xapi
sourceRevisionDigest: sha256:c8958a44906d7cb262b5abb70159f73eaf15ae72ac950268b56c7fb49e5085d5
Expand All @@ -20,10 +20,10 @@ targets:
typescript:
source: cloud
sourceNamespace: xapi
sourceRevisionDigest: sha256:6773b80fac452268c273947c49ba3a09f1576fde5a0e975b308ce948a51eb9b2
sourceBlobDigest: sha256:b22d8187055367d04516104d49378432a21a0fdec37c74f0c798070a2341cd9b
sourceRevisionDigest: sha256:abd46597685c59c103d5c6dec4af081e20419fc13be8aee72ff392c82e9751db
sourceBlobDigest: sha256:eab8752b090382aeb5f74019d56580a59276c6859f1abc8d3e09cd2ad582c533
codeSamplesNamespace: xapi-typescript-code-samples
codeSamplesRevisionDigest: sha256:64b47b8485c2a22410f5e8d60bed9fef333062557819049d19b3c7ea81f77c1c
codeSamplesRevisionDigest: sha256:ff05fd0527879419b861e8ab0a5ca323068ffca3f9949e858436f3422a3af182
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.658.1 (2.755.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.3] .
- [typescript v0.8.3] .

## 2025-11-24 00:06:15
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.660.0 (2.760.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.4] .
20 changes: 16 additions & 4 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ actions:

async function run() {
const result = await sdk.accounts.list({
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
filterAccountType: "EARNINGS_BALANCE",
filterSubtype: "ODP",
});

console.log(result);
Expand Down Expand Up @@ -177,7 +179,13 @@ actions:
});

async function run() {
const result = await sdk.jobs.list();
const result = await sdk.jobs.list({
filterExternalIdentifiersPrimaryIdentifier: "PRIMARY_ID_98765",
filterExternalIdentifiersEmployeeId: "EMP123456",
filterExternalIdentifiersGroup: "12345",
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
filterOrganizationId: "f0b30634-108c-439c-a8c1-c6a91197f022",
});

console.log(result);
}
Expand Down Expand Up @@ -279,7 +287,7 @@ actions:
});

async function run() {
const result = await sdk.organizations.list();
const result = await sdk.organizations.list({});

console.log(result);
}
Expand Down Expand Up @@ -332,6 +340,8 @@ actions:

async function run() {
const result = await sdk.paychecks.list({
filterJobId: "e9d84b0d-92ba-43c9-93bf-7c993313fa6f",
filterStatus: "DEPOSITED",
filterDepositExpectedAtGte: new Date("2023-03-15T04:00:00Z"),
filterDepositExpectedAtLt: new Date("2023-03-15T04:00:00Z"),
filterPayPeriodEndsAtGte: new Date("2023-03-15T04:00:00Z"),
Expand Down Expand Up @@ -453,7 +463,9 @@ actions:
});

async function run() {
const result = await sdk.transfers.list();
const result = await sdk.transfers.list({
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
});

console.log(result);
}
Expand All @@ -479,7 +491,7 @@ actions:

async function run() {
const result = await sdk.transfers.create({
idempotencyKey: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
idempotencyKey: "e2736aa1-78c4-4cc6-b0a6-848e733f232a",
transferCreateData: {
data: {
type: "transfers",
Expand Down
1 change: 0 additions & 1 deletion docs/models/accountattributesinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const value: models.CardInput = {
subtype: "DEBIT",
cardAccountDetails: {
token: "HX46TY794RG",
issuer: "411600",
firstName: "Edith",
lastName: "Clarke",
expirationMonth: "02",
Expand Down
1 change: 0 additions & 1 deletion docs/models/accountresourceinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ let value: AccountResourceInput = {
subtype: "DEBIT",
cardAccountDetails: {
token: "HX46TY794RG",
issuer: "411600",
firstName: "Edith",
lastName: "Clarke",
expirationMonth: "02",
Expand Down
2 changes: 0 additions & 2 deletions docs/models/cardaccountdetailsinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { CardAccountDetailsInput } from "@dailypay/dailypay/models";

let value: CardAccountDetailsInput = {
token: "HX46TY794RG",
issuer: "411600",
firstName: "Edith",
lastName: "Clarke",
expirationMonth: "02",
Expand All @@ -28,7 +27,6 @@ let value: CardAccountDetailsInput = {
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `token` | *string* | :heavy_check_mark: | A tokenized string replacement for the card data. | HX46TY794RG |
| `issuer` | *string* | :heavy_check_mark: | The issuer of the card. | 411600 |
| `firstName` | *string* | :heavy_check_mark: | The first name of the account holder. | Edith |
| `lastName` | *string* | :heavy_check_mark: | The last name of the account holder. | Clarke |
| `expirationMonth` | *string* | :heavy_check_mark: | The month of the expiration date for the card. | 02 |
Expand Down
1 change: 0 additions & 1 deletion docs/models/cardinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ let value: CardInput = {
subtype: "DEBIT",
cardAccountDetails: {
token: "HX46TY794RG",
issuer: "411600",
firstName: "Edith",
lastName: "Clarke",
expirationMonth: "02",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/filterpaycheckstatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { FilterPaycheckStatus } from "@dailypay/dailypay/models";

let value: FilterPaycheckStatus = "IN_TRANSIT";
let value: FilterPaycheckStatus = "DEPOSITED";
```

## Values
Expand Down
Loading