Skip to content

Commit 58a5ad0

Browse files
authored
Merge pull request #35 from Dwolla/DEV-1812
DEV-1812: update tests and prepare for v1.0.0 GA release
2 parents d882f5a + 8090445 commit 58a5ad0

File tree

119 files changed

+9167
-3849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+9167
-3849
lines changed

.genignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# Manually maintained test files - excluded from Speakeasy generation
22
src/__tests__/**
33

4+
# Vitest configuration
5+
vitest.config.ts
6+

.speakeasy/gen.lock

Lines changed: 7194 additions & 1449 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@ generation:
2424
schemas:
2525
allOfMergeStrategy: shallowMerge
2626
requestBodyFieldName: ""
27+
persistentEdits: {}
2728
tests:
2829
generateTests: true
2930
generateNewTests: true
3031
skipResponseBodyAssertions: false
3132
typescript:
32-
version: 0.0.1-beta.14
33+
version: 1.0.0
3334
acceptHeaderEnum: true
3435
additionalDependencies:
3536
dependencies: {}
3637
devDependencies: {}
3738
peerDependencies: {}
3839
additionalPackageJSON:
39-
description: Dwolla TypeScript SDK (Beta). Breaking changes may occur between beta versions.
40+
description: Dwolla TypeScript SDK.
4041
additionalScripts: {}
4142
alwaysIncludeInboundAndOutbound: false
4243
author: Speakeasy

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.667.0
1+
speakeasyVersion: 1.675.4
22
sources:
33
Dwolla API:
44
sourceNamespace: dwolla-api
5-
sourceRevisionDigest: sha256:8cb2abe41e95d73817dac1f48cc94e1731ab7ffab4ac9f4cd244fd41bd551d6e
6-
sourceBlobDigest: sha256:85a12398d13f5d9a11c6d9382157f30fdd58d89b3f5b14d043b2ae4cdb8fc5b6
5+
sourceRevisionDigest: sha256:6662bae467d85f5c452d66fa9e352c57342755ad8c926a376d1810c16602a827
6+
sourceBlobDigest: sha256:77f9e81739dc462184381927f99952f35c42bb13d9d64aa783bae555a9725329
77
tags:
88
- latest
99
- "2.0"
1010
targets:
1111
dwolla:
1212
source: Dwolla API
1313
sourceNamespace: dwolla-api
14-
sourceRevisionDigest: sha256:8cb2abe41e95d73817dac1f48cc94e1731ab7ffab4ac9f4cd244fd41bd551d6e
15-
sourceBlobDigest: sha256:85a12398d13f5d9a11c6d9382157f30fdd58d89b3f5b14d043b2ae4cdb8fc5b6
14+
sourceRevisionDigest: sha256:6662bae467d85f5c452d66fa9e352c57342755ad8c926a376d1810c16602a827
15+
sourceBlobDigest: sha256:77f9e81739dc462184381927f99952f35c42bb13d9d64aa783bae555a9725329
1616
codeSamplesNamespace: dwolla-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:fb7ceb12123821f6441823d3404f0f0bcda81618af11a012fa91eba387766f71
17+
codeSamplesRevisionDigest: sha256:9b44c444bc5c3495acd0e5e108cfbd1bbf6ea911e80277d070c342b7b24a4041
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 82 additions & 53 deletions
Large diffs are not rendered by default.

docs/models/account.md

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,18 @@ let value: Account = {
1414
},
1515
},
1616
id: "2e21f010-3023-4891-aced-ed726d7cd5e1",
17-
name: "Self Employed",
18-
authorizedRep: "Jane Doe",
17+
name: "Jane Doe's Business",
1918
timezoneOffset: -6,
20-
21-
phone: "5555552368",
22-
address: {
23-
address1: "462 Main Street",
24-
address2: "Suite 124",
25-
city: "Des Moines",
26-
postalCode: "50309",
27-
state: "IA",
28-
country: "US",
29-
},
30-
verificationStatus: "Verified",
31-
ownershipStatus: "Exempt",
32-
ownershipCertificationStatus: "Exempt",
3319
type: "Commercial",
34-
created: new Date("2021-10-25T00:39:38.283Z"),
3520
};
3621
```
3722

3823
## Fields
3924

40-
| Field | Type | Required | Description | Example |
41-
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
42-
| `links` | Record<string, [models.HalLink](../models/hallink.md)> | :heavy_minus_sign: | N/A | |
43-
| `id` | *string* | :heavy_minus_sign: | N/A | 2e21f010-3023-4891-aced-ed726d7cd5e1 |
44-
| `name` | *string* | :heavy_minus_sign: | N/A | Self Employed |
45-
| `authorizedRep` | *string* | :heavy_minus_sign: | N/A | Jane Doe |
46-
| `timezoneOffset` | *number* | :heavy_minus_sign: | N/A | -6 |
47-
| `email` | *string* | :heavy_minus_sign: | N/A | [email protected] |
48-
| `phone` | *string* | :heavy_minus_sign: | N/A | 5555552368 |
49-
| `address` | [models.Address](../models/address.md) | :heavy_minus_sign: | N/A | |
50-
| `verificationStatus` | *string* | :heavy_minus_sign: | N/A | Verified |
51-
| `ownershipStatus` | *string* | :heavy_minus_sign: | N/A | Exempt |
52-
| `ownershipCertificationStatus` | *string* | :heavy_minus_sign: | N/A | Exempt |
53-
| `type` | *string* | :heavy_minus_sign: | N/A | Commercial |
54-
| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | 2021-10-25T00:39:38.283Z |
25+
| Field | Type | Required | Description | Example |
26+
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
27+
| `links` | Record<string, [models.HalLink](../models/hallink.md)> | :heavy_minus_sign: | N/A | |
28+
| `id` | *string* | :heavy_minus_sign: | N/A | 2e21f010-3023-4891-aced-ed726d7cd5e1 |
29+
| `name` | *string* | :heavy_minus_sign: | N/A | Jane Doe's Business |
30+
| `timezoneOffset` | *number* | :heavy_minus_sign: | N/A | -6 |
31+
| `type` | *string* | :heavy_minus_sign: | N/A | Commercial |

docs/models/address.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,23 @@ import { Address } from "dwolla/models";
77

88
let value: Address = {
99
address1: "462 Main Street",
10-
address2: "Suite 124",
10+
address2: "Suite 123",
11+
address3: "Unit 123",
1112
city: "Des Moines",
1213
postalCode: "50309",
13-
state: "IA",
14-
country: "US",
14+
country: "USA",
15+
stateProvinceRegion: "IA",
1516
};
1617
```
1718

1819
## Fields
1920

20-
| Field | Type | Required | Description | Example |
21-
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
22-
| `address1` | *string* | :heavy_check_mark: | N/A | 462 Main Street |
23-
| `address2` | *string* | :heavy_minus_sign: | N/A | Suite 124 |
24-
| `city` | *string* | :heavy_check_mark: | N/A | Des Moines |
25-
| `postalCode` | *string* | :heavy_check_mark: | N/A | 50309 |
26-
| `state` | *string* | :heavy_check_mark: | N/A | IA |
27-
| `country` | *string* | :heavy_check_mark: | N/A | US |
21+
| Field | Type | Required | Description | Example |
22+
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
23+
| `address1` | *string* | :heavy_minus_sign: | N/A | 462 Main Street |
24+
| `address2` | *string* | :heavy_minus_sign: | N/A | Suite 123 |
25+
| `address3` | *string* | :heavy_minus_sign: | N/A | Unit 123 |
26+
| `city` | *string* | :heavy_minus_sign: | N/A | Des Moines |
27+
| `postalCode` | *string* | :heavy_minus_sign: | N/A | 50309 |
28+
| `country` | *string* | :heavy_minus_sign: | N/A | USA |
29+
| `stateProvinceRegion` | *string* | :heavy_minus_sign: | N/A | IA |

docs/models/operations/createcustomerlabelamount.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
import { CreateCustomerLabelAmount } from "dwolla/models/operations";
77

88
let value: CreateCustomerLabelAmount = {
9-
currency: "12.34",
10-
value: "USD",
9+
currency: "USD",
10+
value: "12.34",
1111
};
1212
```
1313

1414
## Fields
1515

1616
| Field | Type | Required | Description | Example |
1717
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
18-
| `currency` | *string* | :heavy_minus_sign: | N/A | 12.34 |
19-
| `value` | *string* | :heavy_minus_sign: | N/A | USD |
18+
| `currency` | *string* | :heavy_minus_sign: | N/A | USD |
19+
| `value` | *string* | :heavy_minus_sign: | N/A | 12.34 |

docs/models/operations/createcustomerlabelrequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ let value: CreateCustomerLabelRequest = {
99
id: "<id>",
1010
requestBody: {
1111
amount: {
12-
currency: "12.34",
13-
value: "USD",
12+
currency: "USD",
13+
value: "12.34",
1414
},
1515
},
1616
};

docs/models/operations/createcustomerlabelrequestbody.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { CreateCustomerLabelRequestBody } from "dwolla/models/operations";
99

1010
let value: CreateCustomerLabelRequestBody = {
1111
amount: {
12-
currency: "12.34",
13-
value: "USD",
12+
currency: "USD",
13+
value: "12.34",
1414
},
1515
};
1616
```

0 commit comments

Comments
 (0)