Skip to content

Commit b9df117

Browse files
## Typescript SDK Changes Detected: (#56)
1 parent 938fafa commit b9df117

30 files changed

+130
-109
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 9 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.658.1
7-
generationVersion: 2.755.6
8-
releaseVersion: 0.8.3
9-
configChecksum: 724243128a243735fffc08d1fc57b52e
4+
docChecksum: a9c33e466fad7a1e8249ff3254d6c1fc
5+
docVersion: 3.0.0-beta95
6+
speakeasyVersion: 1.660.0
7+
generationVersion: 2.760.2
8+
releaseVersion: 0.8.4
9+
configChecksum: 7579c72aeaba04e7d859b4d75d2b0afa
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.7
16+
core: 3.26.9
1717
defaultEnabledRetries: 0.1.0
1818
deprecations: 2.81.1
1919
enumUnions: 0.1.0
@@ -625,6 +625,7 @@ generatedFiles:
625625
- src/types/operations.ts
626626
- src/types/rfcdate.ts
627627
- src/types/streams.ts
628+
- src/types/unrecognized.ts
628629
- tsconfig.json
629630
examples:
630631
requestToken:
@@ -743,7 +744,7 @@ examples:
743744
header:
744745
DailyPay-API-Version: 3
745746
requestBody:
746-
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"}}}}}
747+
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"}}}}}
747748
responses:
748749
"200":
749750
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"}}}}}
@@ -997,4 +998,4 @@ generatedTests:
997998
createGenericCardToken: "2025-07-02T14:55:51-03:00"
998999
getHealth: "2025-07-02T14:55:51-03:00"
9991000
createAccount: "2025-07-08T13:03:32-03:00"
1000-
releaseNotes: "## Typescript SDK Changes Detected:\n* `sdk.accounts.create()`: \n * `request.data.attributes.[card].cardAccountDetails.issuer` **Added** **Breaking** :warning:\n"
1001+
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: 3 additions & 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.3
29+
version: 0.8.4
3030
acceptHeaderEnum: true
3131
additionalDependencies:
3232
dependencies: {}
@@ -49,6 +49,7 @@ typescript:
4949
exportZodModelNamespace: false
5050
flattenGlobalSecurity: true
5151
flatteningOrder: parameters-first
52+
forwardCompatibleEnumsByDefault: false
5253
generateExamples: true
5354
imports:
5455
option: openapi
@@ -60,6 +61,7 @@ typescript:
6061
webhooks: models/webhooks
6162
inputModelSuffix: input
6263
jsonpath: rfc9535
64+
laxMode: strict
6365
maxMethodParams: 0
6466
methodArguments: infer-optional-args
6567
modelPropertyCasing: camel

.speakeasy/tests.arazzo.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ workflows:
230230
expiration_month: "02"
231231
expiration_year: "2027"
232232
first_name: Edith
233-
issuer: "411600"
234233
last_name: Clarke
235234
token: abc.efg.123
236235
name: Acme Bank Debit Card

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
speakeasyVersion: 1.658.1
1+
speakeasyVersion: 1.660.0
22
sources:
33
cloud:
44
sourceNamespace: xapi
5-
sourceRevisionDigest: sha256:6773b80fac452268c273947c49ba3a09f1576fde5a0e975b308ce948a51eb9b2
6-
sourceBlobDigest: sha256:b22d8187055367d04516104d49378432a21a0fdec37c74f0c798070a2341cd9b
5+
sourceRevisionDigest: sha256:abd46597685c59c103d5c6dec4af081e20419fc13be8aee72ff392c82e9751db
6+
sourceBlobDigest: sha256:eab8752b090382aeb5f74019d56580a59276c6859f1abc8d3e09cd2ad582c533
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763156618
10-
- 3.0.0-beta01
9+
- speakeasy-sdk-regen-1763408845
10+
- 3.0.0-beta95
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:abd46597685c59c103d5c6dec4af081e20419fc13be8aee72ff392c82e9751db
24+
sourceBlobDigest: sha256:eab8752b090382aeb5f74019d56580a59276c6859f1abc8d3e09cd2ad582c533
2525
codeSamplesNamespace: xapi-typescript-code-samples
26-
codeSamplesRevisionDigest: sha256:64b47b8485c2a22410f5e8d60bed9fef333062557819049d19b3c7ea81f77c1c
26+
codeSamplesRevisionDigest: sha256:ff05fd0527879419b861e8ab0a5ca323068ffca3f9949e858436f3422a3af182
2727
workflow:
2828
workflowVersion: 1.0.0
2929
speakeasyVersion: latest

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,12 @@ Based on:
174174
- OpenAPI Doc
175175
- Speakeasy CLI 1.658.1 (2.755.6) https://github.com/speakeasy-api/speakeasy
176176
### Generated
177-
- [typescript v0.8.3] .
177+
- [typescript v0.8.3] .
178+
179+
## 2025-11-24 00:06:15
180+
### Changes
181+
Based on:
182+
- OpenAPI Doc
183+
- Speakeasy CLI 1.660.0 (2.760.2) https://github.com/speakeasy-api/speakeasy
184+
### Generated
185+
- [typescript v0.8.4] .

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",

docs/models/accountresourceinput.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ let value: AccountResourceInput = {
1313
subtype: "DEBIT",
1414
cardAccountDetails: {
1515
token: "HX46TY794RG",
16-
issuer: "411600",
1716
firstName: "Edith",
1817
lastName: "Clarke",
1918
expirationMonth: "02",

docs/models/cardaccountdetailsinput.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { CardAccountDetailsInput } from "@dailypay/dailypay/models";
99

1010
let value: CardAccountDetailsInput = {
1111
token: "HX46TY794RG",
12-
issuer: "411600",
1312
firstName: "Edith",
1413
lastName: "Clarke",
1514
expirationMonth: "02",
@@ -28,7 +27,6 @@ let value: CardAccountDetailsInput = {
2827
| Field | Type | Required | Description | Example |
2928
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
3029
| `token` | *string* | :heavy_check_mark: | A tokenized string replacement for the card data. | HX46TY794RG |
31-
| `issuer` | *string* | :heavy_check_mark: | The issuer of the card. | 411600 |
3230
| `firstName` | *string* | :heavy_check_mark: | The first name of the account holder. | Edith |
3331
| `lastName` | *string* | :heavy_check_mark: | The last name of the account holder. | Clarke |
3432
| `expirationMonth` | *string* | :heavy_check_mark: | The month of the expiration date for the card. | 02 |

docs/models/cardinput.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ let value: CardInput = {
1313
subtype: "DEBIT",
1414
cardAccountDetails: {
1515
token: "HX46TY794RG",
16-
issuer: "411600",
1716
firstName: "Edith",
1817
lastName: "Clarke",
1918
expirationMonth: "02",

0 commit comments

Comments
 (0)