Skip to content

Commit 6c3b130

Browse files
## Typescript SDK Changes Detected: (#54)
* `sdk.accounts.create()`: * `request.data.attributes.[card].cardAccountDetails.issuer` **Removed** **Breaking** ⚠️ Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 3d08c23 commit 6c3b130

38 files changed

+196
-104
lines changed

.speakeasy/gen.lock

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 23304fef-40f3-4268-ad52-8df627e80cfa
33
management:
4-
docChecksum: 2d24d99543d5376427756737ba505990
5-
docVersion: 3.0.0-beta01
6-
speakeasyVersion: 1.656.2
7-
generationVersion: 2.753.6
8-
releaseVersion: 0.8.1
9-
configChecksum: 33f43d0f2cd0ff190375241e133364a1
4+
docChecksum: b322e1a9dd709cfe89500aff41c873f0
5+
docVersion: 3.0.0-beta87
6+
speakeasyVersion: 1.657.0
7+
generationVersion: 2.755.0
8+
releaseVersion: 0.8.2
9+
configChecksum: 8d2dd1e725a99808c97a90dd480cd945
1010
repoURL: https://github.com/dailypay/dailypay-typescript-sdk.git
1111
installationURL: https://github.com/dailypay/dailypay-typescript-sdk
1212
features:
1313
typescript:
1414
additionalDependencies: 0.1.0
1515
constsAndDefaults: 0.1.12
16-
core: 3.26.6
16+
core: 3.26.7
1717
defaultEnabledRetries: 0.1.0
1818
deprecations: 2.81.1
1919
enumUnions: 0.1.0
@@ -705,6 +705,8 @@ examples:
705705
parameters:
706706
query:
707707
filter[account_type]: "EARNINGS_BALANCE"
708+
filter[person.id]: "aa860051-c411-4709-9685-c1b716df611b"
709+
filter[subtype]: "ODP"
708710
header:
709711
DailyPay-API-Version: 3
710712
responses:
@@ -741,7 +743,7 @@ examples:
741743
header:
742744
DailyPay-API-Version: 3
743745
requestBody:
744-
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"}}}}}
746+
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"}}}}}
745747
responses:
746748
"200":
747749
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"}}}}}
@@ -776,6 +778,8 @@ examples:
776778
listTransfers:
777779
speakeasy-default-list-transfers:
778780
parameters:
781+
query:
782+
filter[person.id]: "aa860051-c411-4709-9685-c1b716df611b"
779783
header:
780784
DailyPay-API-Version: 3
781785
responses:
@@ -794,7 +798,7 @@ examples:
794798
parameters:
795799
header:
796800
DailyPay-API-Version: 3
797-
Idempotency-Key: "ea9f2225-403b-4e2c-93b0-0eda090ffa65"
801+
Idempotency-Key: "e2736aa1-78c4-4cc6-b0a6-848e733f232a"
798802
requestBody:
799803
application/vnd.api+json: {"data": {"type": "transfers", "id": "aba332a2-24a2-46de-8257-5040e71ab210", "attributes": {"preview": true, "amount": 2500, "currency": "USD", "schedule": "WITHIN_THIRTY_MINUTES"}, "relationships": {"origin": {"data": {"type": "accounts", "id": "2bc7d781-3247-46f6-b60f-4090d214936a"}}, "destination": {"data": {"type": "accounts", "id": "2bc7d781-3247-46f6-b60f-4090d214936a"}}, "person": {"data": {"type": "people", "id": "3fa8f641-5717-4562-b3fc-2c963f66afa6"}}}}}
800804
responses:
@@ -840,6 +844,8 @@ examples:
840844
filter[pay_period_ends_at__lt]: "2023-03-15T04:00:00Z"
841845
filter[pay_period_starts_at__gte]: "2023-03-15T04:00:00Z"
842846
filter[pay_period_starts_at__lt]: "2023-03-15T04:00:00Z"
847+
filter[job.id]: "e9d84b0d-92ba-43c9-93bf-7c993313fa6f"
848+
filter[status]: "DEPOSITED"
843849
header:
844850
DailyPay-API-Version: 3
845851
responses:
@@ -950,6 +956,12 @@ examples:
950956
listJobs:
951957
speakeasy-default-list-jobs:
952958
parameters:
959+
query:
960+
filter[external_identifiers.primary_identifier]: "PRIMARY_ID_98765"
961+
filter[external_identifiers.employee_id]: "EMP123456"
962+
filter[external_identifiers.group]: "12345"
963+
filter[person.id]: "aa860051-c411-4709-9685-c1b716df611b"
964+
filter[organization.id]: "f0b30634-108c-439c-a8c1-c6a91197f022"
953965
header:
954966
DailyPay-API-Version: 3
955967
responses:
@@ -985,8 +997,4 @@ generatedTests:
985997
createGenericCardToken: "2025-07-02T14:55:51-03:00"
986998
getHealth: "2025-07-02T14:55:51-03:00"
987999
createAccount: "2025-07-08T13:03:32-03:00"
988-
releaseNotes: |
989-
## Typescript SDK Changes Detected:
990-
* `sdk.cardTokenization.create()`: **Added**
991-
* `sdk.cards.create()`: **Deleted** **Breaking** :warning:
992-
* `sdk.transfers.create()`: `error.status[409]` **Added**
1000+
releaseNotes: "## Typescript SDK Changes Detected:\n* `sdk.accounts.create()`: \n * `request.data.attributes.[card].cardAccountDetails.issuer` **Removed** **Breaking** :warning:\n"

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: true
2727
skipResponseBodyAssertions: false
2828
typescript:
29-
version: 0.8.1
29+
version: 0.8.2
3030
acceptHeaderEnum: true
3131
additionalDependencies:
3232
dependencies: {}

.speakeasy/tests.arazzo.yaml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,21 @@ workflows:
9898
- stepId: test
9999
operationId: listJobs
100100
parameters:
101+
- name: filter[external_identifiers.primary_identifier]
102+
in: query
103+
value: PRIMARY_ID_98765
104+
- name: filter[external_identifiers.employee_id]
105+
in: query
106+
value: EMP123456
107+
- name: filter[external_identifiers.group]
108+
in: query
109+
value: "12345"
110+
- name: filter[person.id]
111+
in: query
112+
value: aa860051-c411-4709-9685-c1b716df611b
113+
- name: filter[organization.id]
114+
in: query
115+
value: f0b30634-108c-439c-a8c1-c6a91197f022
101116
- name: DailyPay-API-Version
102117
in: header
103118
value: 3
@@ -138,6 +153,12 @@ workflows:
138153
- name: filter[account_type]
139154
in: query
140155
value: EARNINGS_BALANCE
156+
- name: filter[person.id]
157+
in: query
158+
value: aa860051-c411-4709-9685-c1b716df611b
159+
- name: filter[subtype]
160+
in: query
161+
value: ODP
141162
- name: DailyPay-API-Version
142163
in: header
143164
value: 3
@@ -209,7 +230,6 @@ workflows:
209230
expiration_month: "02"
210231
expiration_year: "2027"
211232
first_name: Edith
212-
issuer: "411600"
213233
last_name: Clarke
214234
token: abc.efg.123
215235
name: Acme Bank Debit Card
@@ -254,6 +274,9 @@ workflows:
254274
- stepId: test
255275
operationId: listTransfers
256276
parameters:
277+
- name: filter[person.id]
278+
in: query
279+
value: aa860051-c411-4709-9685-c1b716df611b
257280
- name: DailyPay-API-Version
258281
in: header
259282
value: 3
@@ -276,7 +299,7 @@ workflows:
276299
value: 3
277300
- name: Idempotency-Key
278301
in: header
279-
value: ea9f2225-403b-4e2c-93b0-0eda090ffa65
302+
value: e2736aa1-78c4-4cc6-b0a6-848e733f232a
280303
requestBody:
281304
contentType: application/vnd.api+json
282305
payload:
@@ -353,6 +376,12 @@ workflows:
353376
- name: filter[pay_period_starts_at__lt]
354377
in: query
355378
value: "2023-03-15T04:00:00Z"
379+
- name: filter[job.id]
380+
in: query
381+
value: e9d84b0d-92ba-43c9-93bf-7c993313fa6f
382+
- name: filter[status]
383+
in: query
384+
value: DEPOSITED
356385
- name: DailyPay-API-Version
357386
in: header
358387
value: 3

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
speakeasyVersion: 1.656.2
1+
speakeasyVersion: 1.657.0
22
sources:
33
cloud:
44
sourceNamespace: xapi
5-
sourceRevisionDigest: sha256:6773b80fac452268c273947c49ba3a09f1576fde5a0e975b308ce948a51eb9b2
6-
sourceBlobDigest: sha256:b22d8187055367d04516104d49378432a21a0fdec37c74f0c798070a2341cd9b
5+
sourceRevisionDigest: sha256:16d6200e08fdabf9632b9026759679fc378dd6347f3f4c8fcc8dd814c64fe85b
6+
sourceBlobDigest: sha256:ab10ebe57e2caa051432661823cb7b954fe1ec1c6dd92d56b9c482e8092679f9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763071843
10-
- 3.0.0-beta01
9+
- speakeasy-sdk-regen-1763149895
10+
- 3.0.0-beta87
1111
local:
1212
sourceNamespace: xapi
1313
sourceRevisionDigest: sha256:c8958a44906d7cb262b5abb70159f73eaf15ae72ac950268b56c7fb49e5085d5
@@ -20,10 +20,10 @@ targets:
2020
typescript:
2121
source: cloud
2222
sourceNamespace: xapi
23-
sourceRevisionDigest: sha256:6773b80fac452268c273947c49ba3a09f1576fde5a0e975b308ce948a51eb9b2
24-
sourceBlobDigest: sha256:b22d8187055367d04516104d49378432a21a0fdec37c74f0c798070a2341cd9b
23+
sourceRevisionDigest: sha256:16d6200e08fdabf9632b9026759679fc378dd6347f3f4c8fcc8dd814c64fe85b
24+
sourceBlobDigest: sha256:ab10ebe57e2caa051432661823cb7b954fe1ec1c6dd92d56b9c482e8092679f9
2525
codeSamplesNamespace: xapi-typescript-code-samples
26-
codeSamplesRevisionDigest: sha256:48c761bf96f47157199d9e2bcfe4dd0bb01a3e61a4dc43e9fab71dd40aecb553
26+
codeSamplesRevisionDigest: sha256:e9c8b25c9e2d5e04eca2e28394ea6c9a7f7e84f2622efd51ff6c0b6bfeeab098
2727
workflow:
2828
workflowVersion: 1.0.0
2929
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ const sdk = new SDKCore({
3737

3838
async function run() {
3939
const res = await accountsList(sdk, {
40+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
4041
filterAccountType: "EARNINGS_BALANCE",
42+
filterSubtype: "ODP",
4143
});
4244
if (res.ok) {
4345
const { value: result } = res;

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ const sdk = new SDK({
101101

102102
async function run() {
103103
const result = await sdk.accounts.list({
104+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
104105
filterAccountType: "EARNINGS_BALANCE",
106+
filterSubtype: "ODP",
105107
});
106108

107109
console.log(result);
@@ -131,7 +133,7 @@ const sdk = new SDK({
131133

132134
async function run() {
133135
const result = await sdk.transfers.create({
134-
idempotencyKey: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
136+
idempotencyKey: "e2736aa1-78c4-4cc6-b0a6-848e733f232a",
135137
transferCreateData: {
136138
data: {
137139
type: "transfers",

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,12 @@ Based on:
158158
- OpenAPI Doc
159159
- Speakeasy CLI 1.656.2 (2.753.6) https://github.com/speakeasy-api/speakeasy
160160
### Generated
161-
- [typescript v0.8.1] .
161+
- [typescript v0.8.1] .
162+
163+
## 2025-11-14 19:51:18
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc
167+
- Speakeasy CLI 1.657.0 (2.755.0) https://github.com/speakeasy-api/speakeasy
168+
### Generated
169+
- [typescript v0.8.2] .

USAGE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ const sdk = new SDK({
1919

2020
async function run() {
2121
const result = await sdk.accounts.list({
22+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
2223
filterAccountType: "EARNINGS_BALANCE",
24+
filterSubtype: "ODP",
2325
});
2426

2527
console.log(result);
@@ -49,7 +51,7 @@ const sdk = new SDK({
4951

5052
async function run() {
5153
const result = await sdk.transfers.create({
52-
idempotencyKey: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
54+
idempotencyKey: "e2736aa1-78c4-4cc6-b0a6-848e733f232a",
5355
transferCreateData: {
5456
data: {
5557
type: "transfers",

codeSamples.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ actions:
5252
5353
async function run() {
5454
const result = await sdk.accounts.list({
55+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
5556
filterAccountType: "EARNINGS_BALANCE",
57+
filterSubtype: "ODP",
5658
});
5759
5860
console.log(result);
@@ -177,7 +179,13 @@ actions:
177179
});
178180
179181
async function run() {
180-
const result = await sdk.jobs.list();
182+
const result = await sdk.jobs.list({
183+
filterExternalIdentifiersPrimaryIdentifier: "PRIMARY_ID_98765",
184+
filterExternalIdentifiersEmployeeId: "EMP123456",
185+
filterExternalIdentifiersGroup: "12345",
186+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
187+
filterOrganizationId: "f0b30634-108c-439c-a8c1-c6a91197f022",
188+
});
181189
182190
console.log(result);
183191
}
@@ -279,7 +287,7 @@ actions:
279287
});
280288
281289
async function run() {
282-
const result = await sdk.organizations.list();
290+
const result = await sdk.organizations.list({});
283291
284292
console.log(result);
285293
}
@@ -332,6 +340,8 @@ actions:
332340
333341
async function run() {
334342
const result = await sdk.paychecks.list({
343+
filterJobId: "e9d84b0d-92ba-43c9-93bf-7c993313fa6f",
344+
filterStatus: "DEPOSITED",
335345
filterDepositExpectedAtGte: new Date("2023-03-15T04:00:00Z"),
336346
filterDepositExpectedAtLt: new Date("2023-03-15T04:00:00Z"),
337347
filterPayPeriodEndsAtGte: new Date("2023-03-15T04:00:00Z"),
@@ -453,7 +463,9 @@ actions:
453463
});
454464
455465
async function run() {
456-
const result = await sdk.transfers.list();
466+
const result = await sdk.transfers.list({
467+
filterPersonId: "aa860051-c411-4709-9685-c1b716df611b",
468+
});
457469
458470
console.log(result);
459471
}
@@ -479,7 +491,7 @@ actions:
479491
480492
async function run() {
481493
const result = await sdk.transfers.create({
482-
idempotencyKey: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
494+
idempotencyKey: "e2736aa1-78c4-4cc6-b0a6-848e733f232a",
483495
transferCreateData: {
484496
data: {
485497
type: "transfers",

docs/models/accountattributesinput.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const value: models.CardInput = {
1414
subtype: "DEBIT",
1515
cardAccountDetails: {
1616
token: "HX46TY794RG",
17-
issuer: "411600",
1817
firstName: "Edith",
1918
lastName: "Clarke",
2019
expirationMonth: "02",

0 commit comments

Comments
 (0)