Skip to content

Commit eb3950e

Browse files
authored
Merge pull request #27 from Dwolla/DEV-1806
Dev 1806: Fix invalid OpenAPI response references in Overlay file
2 parents 1c07f0a + d5213e5 commit eb3950e

39 files changed

+3674
-4054
lines changed

.speakeasy/gen.lock

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
11
lockVersion: 2.0.0
22
id: 53ac026a-ff11-435d-914b-31df5268afb0
33
management:
4-
docChecksum: 67585827410652e1e5f03d8b8a95f20a
4+
docChecksum: b4407d2e88300cc806c499a165e62149
55
docVersion: "2.0"
6-
speakeasyVersion: 1.632.0
7-
generationVersion: 2.719.3
8-
releaseVersion: 0.0.1-beta.7
9-
configChecksum: 5c85c22ddfd9630e89b906563d051edd
6+
speakeasyVersion: 1.637.3
7+
generationVersion: 2.727.9
8+
releaseVersion: 0.0.1-beta.8
9+
configChecksum: 1e900c42a49d01c34a8a423e4159f8cc
1010
repoURL: https://github.com/Dwolla/dwolla-typescript.git
1111
installationURL: https://github.com/Dwolla/dwolla-typescript
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.12
17-
core: 3.21.26
17+
core: 3.22.0
1818
defaultEnabledRetries: 0.1.0
1919
devContainers: 2.90.1
2020
enumUnions: 0.1.0
21-
enums: 2.83.0
2221
envVarSecurityUsage: 0.1.2
2322
errorUnions: 0.1.1
2423
globalSecurity: 2.82.14
2524
globalSecurityCallbacks: 0.1.0
2625
globalServerURLs: 2.82.5
27-
groups: 2.81.2
26+
groups: 2.81.3
2827
nameOverrides: 2.81.2
29-
oauth2ClientCredentials: 0.5.0
28+
oauth2ClientCredentials: 1.1.0
3029
responseFormat: 0.2.3
3130
retries: 2.83.0
3231
sdkHooks: 0.3.0
3332
serverIDs: 2.81.2
34-
unions: 2.85.12
33+
unions: 2.86.0
3534
uploadStreams: 0.1.0
3635
generatedFiles:
3736
- .devcontainer/README.md
@@ -191,8 +190,6 @@ generatedFiles:
191190
- docs/models/errors/createreauthexchangesessionbadrequestdwollav1haljsonerror.md
192191
- docs/models/errors/createreauthexchangesessionforbiddendwollav1haljsonerror.md
193192
- docs/models/errors/createwebhooksubscriptiondwollav1haljson.md
194-
- docs/models/errors/customercreationbadrequestresponseerror.md
195-
- docs/models/errors/customercreationforbiddenresponseerror.md
196193
- docs/models/errors/deletebeneficialownerdwollav1haljsonerror.md
197194
- docs/models/errors/depositaccountrestrictederror.md
198195
- docs/models/errors/destinationaddendamaxlengtherror.md
@@ -609,6 +606,7 @@ generatedFiles:
609606
- docs/models/operations/initiatemasspaymentmetadata.md
610607
- docs/models/operations/initiatemasspaymentprocessingchannel.md
611608
- docs/models/operations/initiatemasspaymentrequest.md
609+
- docs/models/operations/initiatemasspaymentrequestbody.md
612610
- docs/models/operations/initiatemasspaymentresponse.md
613611
- docs/models/operations/initiatemasspaymentsourceaddenda.md
614612
- docs/models/operations/initiatemicrodepositsrequest.md
@@ -625,6 +623,7 @@ generatedFiles:
625623
- docs/models/operations/initiatetransfermetadata.md
626624
- docs/models/operations/initiatetransferprocessingchannel.md
627625
- docs/models/operations/initiatetransferrequest.md
626+
- docs/models/operations/initiatetransferrequestbody.md
628627
- docs/models/operations/initiatetransferresponse.md
629628
- docs/models/operations/initiatetransfersourceaddenda.md
630629
- docs/models/operations/instantdetails.md
@@ -880,7 +879,6 @@ generatedFiles:
880879
- docs/sdks/customersmasspayments/README.md
881880
- docs/sdks/customerstransfers/README.md
882881
- docs/sdks/documents/README.md
883-
- docs/sdks/dwolla/README.md
884882
- docs/sdks/events/README.md
885883
- docs/sdks/exchangepartners/README.md
886884
- docs/sdks/exchanges/README.md
@@ -1015,6 +1013,7 @@ generatedFiles:
10151013
- src/lib/is-plain-object.ts
10161014
- src/lib/logger.ts
10171015
- src/lib/matchers.ts
1016+
- src/lib/oauth2-sessions.ts
10181017
- src/lib/primitives.ts
10191018
- src/lib/retries.ts
10201019
- src/lib/schemas.ts
@@ -1083,8 +1082,6 @@ generatedFiles:
10831082
- src/models/errors/createlabelreallocation.ts
10841083
- src/models/errors/createreauthexchangesession.ts
10851084
- src/models/errors/createwebhooksubscription.ts
1086-
- src/models/errors/customercreationbadrequestresponseerror.ts
1087-
- src/models/errors/customercreationforbiddenresponseerror.ts
10881085
- src/models/errors/deletebeneficialowner.ts
10891086
- src/models/errors/depositaccountrestrictederror.ts
10901087
- src/models/errors/destinationaddendamaxlengtherror.ts
@@ -2526,54 +2523,54 @@ examples:
25262523
application/vnd.dwolla.v1.hal+json: {"firstName": "Account", "lastName": "Admin", "email": "accountAdmin@email.com", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "businessName": "Jane Corp llc"}
25272524
responses:
25282525
"400":
2529-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2526+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25302527
"403":
2531-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2528+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25322529
createReceiveOnlyCustomer:
25332530
speakeasy-default-create-receive-only-customer:
25342531
requestBody:
25352532
application/vnd.dwolla.v1.hal+json: {"firstName": "Account", "lastName": "Admin", "email": "accountAdmin@email.com", "type": "receive-only", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "businessName": "Jane Corp llc"}
25362533
responses:
25372534
"400":
2538-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2535+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25392536
"403":
2540-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2537+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25412538
createVerifiedPersonalCustomer:
25422539
speakeasy-default-create-verified-personal-customer:
25432540
requestBody:
25442541
application/vnd.dwolla.v1.hal+json: {"firstName": "Account", "lastName": "Admin", "email": "accountAdmin@email.com", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "type": "personal", "address1": "99-99 33rd St", "address2": "99-99 33rd St", "city": "Some City", "state": "NY", "postalCode": "11101", "ssn": "1234", "dateOfBirth": "1980-09-12"}
25452542
responses:
25462543
"400":
2547-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2544+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25482545
"403":
2549-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2546+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25502547
createVerifiedSolePropCustomer:
25512548
speakeasy-default-create-verified-sole-prop-customer:
25522549
requestBody:
25532550
application/vnd.dwolla.v1.hal+json: {"firstName": "John", "lastName": "Doe", "email": "johndoe@email.com", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "type": "business", "address1": "99-99 33rd St", "address2": "99-99 33rd St", "city": "Some City", "state": "NY", "postalCode": "11101", "ssn": "1234", "dateOfBirth": "1980-09-12", "businessClassification": "9ed3f670-7d6f-11e3-b1ce-5404a6144203", "businessName": "Jane Corp", "doingBusinessAs": "Jane's Electronics", "ein": "00-0000000", "website": "https://www.domain.com", "businessType": "soleProprietorship"}
25542551
responses:
25552552
"400":
2556-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2553+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25572554
"403":
2558-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2555+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25592556
createVerifiedBusinessCustomer:
25602557
speakeasy-default-create-verified-business-customer:
25612558
requestBody:
25622559
application/vnd.dwolla.v1.hal+json: {"firstName": "Jane", "lastName": "Business", "email": "jane.business@email.com", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "type": "business", "address1": "99-99 33rd St", "address2": "99-99 33rd St", "city": "Some City", "state": "NY", "postalCode": "11101", "businessClassification": "9ed3f670-7d6f-11e3-b1ce-5404a6144203", "businessName": "Jane Corp", "doingBusinessAs": "Jane's Electronics", "ein": "00-0000000", "website": "https://www.domain.com", "controller": {"firstName": "John", "lastName": "Controller", "title": "CEO", "dateOfBirth": "1980-01-31", "address": {"address1": "462 Main Street", "address2": "Suite 123", "address3": "Unit 123", "city": "Des Moines", "postalCode": "50309", "country": "USA", "stateProvinceRegion": "IA"}, "ssn": "1234"}, "businessType": "llc"}
25632560
responses:
25642561
"400":
2565-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2562+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25662563
"403":
2567-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2564+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25682565
createVerifiedBusinessInternationalCustomer:
25692566
speakeasy-default-create-verified-business-international-customer:
25702567
requestBody:
25712568
application/vnd.dwolla.v1.hal+json: {"firstName": "Jane", "lastName": "Business", "email": "jane.business@email.com", "ipAddress": "143.156.7.8", "phone": "5555555555", "correlationId": "fc451a7a-ae30-4404-aB95-e3553fcd733", "type": "business", "address1": "99-99 33rd St", "address2": "99-99 33rd St", "city": "Some City", "state": "NY", "postalCode": "11101", "businessClassification": "9ed3f670-7d6f-11e3-b1ce-5404a6144203", "businessName": "Jane Corp", "doingBusinessAs": "Jane's Electronics", "ein": "00-0000000", "website": "https://www.domain.com", "controller": {"firstName": "John", "lastName": "Controller", "title": "CEO", "dateOfBirth": "1980-01-31", "address": {"address1": "462 Main Street", "address2": "Suite 123", "address3": "Unit 123", "city": "Des Moines", "postalCode": "50309", "country": "USA", "stateProvinceRegion": "IA"}, "passport": {"number": "<value>", "country": "Zimbabwe"}}, "businessType": "llc"}
25722569
responses:
25732570
"400":
2574-
application/vnd.dwolla.v1.hal+json: {"code": "BadRequest", "message": "The request body contains bad syntax or is incomplete."}
2571+
application/vnd.dwolla.v1.hal+json: {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details.", "_embedded": {"code": "ValidationError", "message": "Validation error(s) present. See embedded errors list for more details."}}
25752572
"403":
2576-
application/vnd.dwolla.v1.hal+json: {"code": "forbidden", "message": "Not authorized to create customers."}
2573+
application/vnd.dwolla.v1.hal+json: {"code": "Forbidden", "message": "The supplied credentials are not authorized for this resource."}
25772574
initiateMicroDeposits:
25782575
speakeasy-default-initiate-micro-deposits:
25792576
parameters:

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ generation:
2121
oAuth2PasswordEnabled: true
2222
hoistGlobalSecurity: true
2323
sdkHooksConfigAccess: true
24+
schemas:
25+
allOfMergeStrategy: shallowMerge
2426
tests:
2527
generateTests: true
2628
generateNewTests: false
2729
skipResponseBodyAssertions: false
2830
typescript:
29-
version: 0.0.1-beta.7
31+
version: 0.0.1-beta.8
3032
acceptHeaderEnum: true
3133
additionalDependencies:
3234
dependencies: {}

0 commit comments

Comments
 (0)