Skip to content
Open
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
2,603 changes: 2,166 additions & 437 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ generation:
requestResponseComponentNamesFeb2024: true
securityFeb2025: true
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.12.0
version: 0.13.0
additionalDependencies: []
additionalPlugins: []
artifactID: workflows
Expand All @@ -37,10 +39,11 @@ java:
companyURL: https://www.thetradedesk.com/
defaultErrorName: APIException
enableCustomCodeRegions: false
enableSlf4jLogging: false
enableStreamingUploads: false
enhancedUnionMemberResolution: true
envVarPrefix: WORKFLOWS
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
githubURL: github.com/thetradedesk/ttd-workflows-java
Expand All @@ -53,6 +56,7 @@ java:
operations: models/operations
shared: models/components
webhooks: models/webhooks
inferUnionDiscriminators: false
inputModelSuffix: input
languageVersion: 11
license:
Expand All @@ -61,9 +65,12 @@ java:
url: https://mit-license.org/
maxMethodParams: 999
methodArguments: infer-optional-args
multipartArrayFormat: legacy
nullFriendlyParameters: false
openUnions: true
operationScopedParams: true
outputModelSuffix: output
projectName: ttd-workflows
responseFormat: envelope-http
templateVersion: v2
unionStrategy: populated-fields
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.659.0
speakeasyVersion: 1.700.2
sources:
Workflows API:
sourceNamespace: workflows-api
sourceRevisionDigest: sha256:3aa657c02887fcb0ef2cfab5f5bdb208acba9d6931520130b81c496004dd5c30
sourceBlobDigest: sha256:36e1dc69edd63f499614e073d4730afdb239c8a265f7ef5414f2315276d7653a
sourceRevisionDigest: sha256:b06ac2eb644887b8365a000048a9ee2a7c432c45e7308170d1b7e2d3c4635da9
sourceBlobDigest: sha256:49368707edd9eafe3e822225831cae077b1ee5621e8f9335b998534867f4ac16
tags:
- latest
- speakeasy-sdk-regen-1762133040
- speakeasy-sdk-regen-1765243467
- v1
targets:
ttd-workflows:
source: Workflows API
sourceNamespace: workflows-api
sourceRevisionDigest: sha256:3aa657c02887fcb0ef2cfab5f5bdb208acba9d6931520130b81c496004dd5c30
sourceBlobDigest: sha256:36e1dc69edd63f499614e073d4730afdb239c8a265f7ef5414f2315276d7653a
sourceRevisionDigest: sha256:b06ac2eb644887b8365a000048a9ee2a7c432c45e7308170d1b7e2d3c4635da9
sourceBlobDigest: sha256:49368707edd9eafe3e822225831cae077b1ee5621e8f9335b998534867f4ac16
codeSamplesNamespace: workflows-api-java-code-samples
codeSamplesRevisionDigest: sha256:3c1de06201eb90df74c8494ac195ce46b3140ce5b07a65202a1a74a0e735cb37
codeSamplesRevisionDigest: sha256:fe5a30f2275c2aea68847d4e4a9ce2ec1aab2558bf089df9d665ba6ab51f8f82
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.thetradedesk:workflows:0.12.0'
implementation 'com.thetradedesk:workflows:0.13.0'
```

Maven:
```xml
<dependency>
<groupId>com.thetradedesk</groupId>
<artifactId>workflows</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
</dependency>
```

Expand Down Expand Up @@ -678,15 +678,15 @@ public class Application {
<details open>
<summary>Available methods</summary>

### [adGroup()](docs/sdks/adgroup/README.md)
### [AdGroup](docs/sdks/adgroup/README.md)

* [createAdGroup](docs/sdks/adgroup/README.md#createadgroup) - Create a new ad group
* [updateAdGroup](docs/sdks/adgroup/README.md#updateadgroup) - Update an ad group
* [archiveAdGroups](docs/sdks/adgroup/README.md#archiveadgroups) - Archive multiple ad groups
* [createAdGroupsJob](docs/sdks/adgroup/README.md#createadgroupsjob) - Submit a job to create multiple new ad groups
* [updateAdGroupsJob](docs/sdks/adgroup/README.md#updateadgroupsjob) - Submit a job to update multiple ad groups

### [campaign()](docs/sdks/campaign/README.md)
### [Campaign](docs/sdks/campaign/README.md)

* [create](docs/sdks/campaign/README.md#create) - Create a new campaign
* [updateCampaign](docs/sdks/campaign/README.md#updatecampaign) - Update a campaign
Expand All @@ -695,22 +695,22 @@ public class Application {
* [archiveCampaigns](docs/sdks/campaign/README.md#archivecampaigns) - Archive multiple campaigns
* [getVersion](docs/sdks/campaign/README.md#getversion) - Get a campaign's version

### [dmp()](docs/sdks/dmp/README.md)
### [Dmp](docs/sdks/dmp/README.md)

* [getFirstPartyDataJob](docs/sdks/dmp/README.md#getfirstpartydatajob) - Submit a job for first-party data retrieval for an advertiser
* [getThirdPartyDataJob](docs/sdks/dmp/README.md#getthirdpartydatajob) - Submit a job for third-party data retrieval for a partner

### [graphQLRequest()](docs/sdks/graphqlrequest/README.md)
### [GraphQLRequest](docs/sdks/graphqlrequest/README.md)

* [submitGraphQlRequest](docs/sdks/graphqlrequest/README.md#submitgraphqlrequest) - Submit a valid GraphQL query or mutation
* [submitGraphQlBulkQueryJob](docs/sdks/graphqlrequest/README.md#submitgraphqlbulkqueryjob) - Submit a valid bulk GraphQL query job

### [jobStatus()](docs/sdks/jobstatus/README.md)
### [JobStatus](docs/sdks/jobstatus/README.md)

* [getGraphQlBulkJobStatus](docs/sdks/jobstatus/README.md#getgraphqlbulkjobstatus) - Get the status of a previously submitted GraphQL bulk job
* [getJobStatus](docs/sdks/jobstatus/README.md#getjobstatus) - Get the status of a previously submitted job

### [restRequest()](docs/sdks/restrequest/README.md)
### [RESTRequest](docs/sdks/restrequest/README.md)

* [submitRestRequest](docs/sdks/restrequest/README.md#submitrestrequest) - Submit a valid REST request

Expand Down Expand Up @@ -1686,9 +1686,11 @@ public class Application {
## Debugging

### Debug

You can setup your SDK to emit debug logs for SDK requests and responses.

For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:

```java
SDK.builder()
.enableHTTPDebugLogging(true)
Expand All @@ -1706,10 +1708,11 @@ Response body:
"token": "global"
}
```
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
__WARNING__: This logging should only be used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.

__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.


Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
<!-- End Debugging [debug] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,14 @@ Based on:
### Generated
- [java v0.12.0] .
### Releases
- [Maven Central v0.12.0] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.12.0 - .
- [Maven Central v0.12.0] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.12.0 - .

## 2026-02-01 02:09:43
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.700.2 (2.801.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.13.0] .
### Releases
- [Maven Central v0.13.0] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.13.0 - .
5 changes: 3 additions & 2 deletions docs/models/components/CampaignCreateWorkflowAdvancedInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `flights` | List\<[CampaignWorkflowFlightInput](../../models/components/CampaignWorkflowFlightInput.md)> | :heavy_minus_sign: | N/A |
| `purchaseOrderNumber` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |
| `flights` | List\<[CampaignWorkflowFlightInput](../../models/components/CampaignWorkflowFlightInput.md)> | :heavy_minus_sign: | N/A |
| `includeDefaultsFromAdvertiser` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A |
| `passThroughFeeCard` | [Optional\<CampaignCreateWorkflowPassThroughFeeCardInput>](../../models/components/CampaignCreateWorkflowPassThroughFeeCardInput.md) | :heavy_minus_sign: | N/A |
| `callerSource` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |
| `callerSource` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |
| `frequencyConfigs` | List\<[FrequencyConfig](../../models/components/FrequencyConfig.md)> | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CampaignWorkflowBudgetInput
# CampaignCreateWorkflowBudgetInput


## Fields
Expand Down
Loading