Skip to content

Commit a5d59ba

Browse files
feat(api): manual updates
1 parent bf287c3 commit a5d59ba

1,451 files changed

Lines changed: 13649 additions & 13649 deletions

File tree

Some content is hidden

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

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 971
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot%2Fhubspot-sdk-b0d8bc008db9e485496b486b6fb770a256d16caf430e7c8696cb5e2f61cb42ef.yml
33
openapi_spec_hash: 73818ecf3b80406f1ff2729a9f1b2c97
4-
config_hash: abfa8210fc5e71076a7866f31a7b6979
4+
config_hash: 928de3e9f6cab7e7e9f4f44bd0845cdf

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2026 Hubspot
189+
Copyright 2026 HubSpot
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

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

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ before making any information public.
1616
## Reporting Non-SDK Related Security Issues
1717

1818
If you encounter security issues that are not directly related to SDKs but pertain to the services
19-
or products provided by Hubspot, please follow the respective company's security reporting guidelines.
19+
or products provided by HubSpot, please follow the respective company's security reporting guidelines.
2020

2121
---
2222

buildSrc/src/main/kotlin/hubspot.publish.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ configure<PublishingExtension> {
2121

2222
developers {
2323
developer {
24-
name.set("Hubspot")
24+
name.set("HubSpot")
2525
}
2626
}
2727

hubspot-java-client-okhttp/src/main/kotlin/com/hubspot_sdk/api/client/okhttp/HubspotOkHttpClient.kt renamed to hubspot-java-client-okhttp/src/main/kotlin/com/hubspot_sdk/api/client/okhttp/HubSpotOkHttpClient.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package com.hubspot_sdk.api.client.okhttp
44

55
import com.fasterxml.jackson.databind.json.JsonMapper
6-
import com.hubspot_sdk.api.client.HubspotClient
7-
import com.hubspot_sdk.api.client.HubspotClientImpl
6+
import com.hubspot_sdk.api.client.HubSpotClient
7+
import com.hubspot_sdk.api.client.HubSpotClientImpl
88
import com.hubspot_sdk.api.core.ClientOptions
99
import com.hubspot_sdk.api.core.Sleeper
1010
import com.hubspot_sdk.api.core.Timeout
@@ -25,25 +25,25 @@ import javax.net.ssl.X509TrustManager
2525
import kotlin.jvm.optionals.getOrNull
2626

2727
/**
28-
* A class that allows building an instance of [HubspotClient] with [OkHttpClient] as the underlying
28+
* A class that allows building an instance of [HubSpotClient] with [OkHttpClient] as the underlying
2929
* [HttpClient].
3030
*/
31-
class HubspotOkHttpClient private constructor() {
31+
class HubSpotOkHttpClient private constructor() {
3232

3333
companion object {
3434

35-
/** Returns a mutable builder for constructing an instance of [HubspotClient]. */
35+
/** Returns a mutable builder for constructing an instance of [HubSpotClient]. */
3636
@JvmStatic fun builder() = Builder()
3737

3838
/**
3939
* Returns a client configured using system properties and environment variables.
4040
*
4141
* @see ClientOptions.Builder.fromEnv
4242
*/
43-
@JvmStatic fun fromEnv(): HubspotClient = builder().fromEnv().build()
43+
@JvmStatic fun fromEnv(): HubSpotClient = builder().fromEnv().build()
4444
}
4545

46-
/** A builder for [HubspotOkHttpClient]. */
46+
/** A builder for [HubSpotOkHttpClient]. */
4747
class Builder internal constructor() {
4848

4949
private var clientOptions: ClientOptions.Builder = ClientOptions.builder()
@@ -372,12 +372,12 @@ class HubspotOkHttpClient private constructor() {
372372
fun fromEnv() = apply { clientOptions.fromEnv() }
373373

374374
/**
375-
* Returns an immutable instance of [HubspotClient].
375+
* Returns an immutable instance of [HubSpotClient].
376376
*
377377
* Further updates to this [Builder] will not mutate the returned instance.
378378
*/
379-
fun build(): HubspotClient =
380-
HubspotClientImpl(
379+
fun build(): HubSpotClient =
380+
HubSpotClientImpl(
381381
clientOptions
382382
.httpClient(
383383
OkHttpClient.builder()

hubspot-java-client-okhttp/src/main/kotlin/com/hubspot_sdk/api/client/okhttp/HubspotOkHttpClientAsync.kt renamed to hubspot-java-client-okhttp/src/main/kotlin/com/hubspot_sdk/api/client/okhttp/HubSpotOkHttpClientAsync.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package com.hubspot_sdk.api.client.okhttp
44

55
import com.fasterxml.jackson.databind.json.JsonMapper
6-
import com.hubspot_sdk.api.client.HubspotClientAsync
7-
import com.hubspot_sdk.api.client.HubspotClientAsyncImpl
6+
import com.hubspot_sdk.api.client.HubSpotClientAsync
7+
import com.hubspot_sdk.api.client.HubSpotClientAsyncImpl
88
import com.hubspot_sdk.api.core.ClientOptions
99
import com.hubspot_sdk.api.core.Sleeper
1010
import com.hubspot_sdk.api.core.Timeout
@@ -25,25 +25,25 @@ import javax.net.ssl.X509TrustManager
2525
import kotlin.jvm.optionals.getOrNull
2626

2727
/**
28-
* A class that allows building an instance of [HubspotClientAsync] with [OkHttpClient] as the
28+
* A class that allows building an instance of [HubSpotClientAsync] with [OkHttpClient] as the
2929
* underlying [HttpClient].
3030
*/
31-
class HubspotOkHttpClientAsync private constructor() {
31+
class HubSpotOkHttpClientAsync private constructor() {
3232

3333
companion object {
3434

35-
/** Returns a mutable builder for constructing an instance of [HubspotClientAsync]. */
35+
/** Returns a mutable builder for constructing an instance of [HubSpotClientAsync]. */
3636
@JvmStatic fun builder() = Builder()
3737

3838
/**
3939
* Returns a client configured using system properties and environment variables.
4040
*
4141
* @see ClientOptions.Builder.fromEnv
4242
*/
43-
@JvmStatic fun fromEnv(): HubspotClientAsync = builder().fromEnv().build()
43+
@JvmStatic fun fromEnv(): HubSpotClientAsync = builder().fromEnv().build()
4444
}
4545

46-
/** A builder for [HubspotOkHttpClientAsync]. */
46+
/** A builder for [HubSpotOkHttpClientAsync]. */
4747
class Builder internal constructor() {
4848

4949
private var clientOptions: ClientOptions.Builder = ClientOptions.builder()
@@ -372,12 +372,12 @@ class HubspotOkHttpClientAsync private constructor() {
372372
fun fromEnv() = apply { clientOptions.fromEnv() }
373373

374374
/**
375-
* Returns an immutable instance of [HubspotClientAsync].
375+
* Returns an immutable instance of [HubSpotClientAsync].
376376
*
377377
* Further updates to this [Builder] will not mutate the returned instance.
378378
*/
379-
fun build(): HubspotClientAsync =
380-
HubspotClientAsyncImpl(
379+
fun build(): HubSpotClientAsync =
380+
HubSpotClientAsyncImpl(
381381
clientOptions
382382
.httpClient(
383383
OkHttpClient.builder()

hubspot-java-client-okhttp/src/main/kotlin/com/hubspot_sdk/api/client/okhttp/OkHttpClient.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.hubspot_sdk.api.core.http.HttpMethod
88
import com.hubspot_sdk.api.core.http.HttpRequest
99
import com.hubspot_sdk.api.core.http.HttpRequestBody
1010
import com.hubspot_sdk.api.core.http.HttpResponse
11-
import com.hubspot_sdk.api.errors.HubspotIoException
11+
import com.hubspot_sdk.api.errors.HubSpotIoException
1212
import java.io.IOException
1313
import java.io.InputStream
1414
import java.net.Proxy
@@ -43,7 +43,7 @@ internal constructor(@JvmSynthetic internal val okHttpClient: okhttp3.OkHttpClie
4343
return try {
4444
call.execute().toResponse()
4545
} catch (e: IOException) {
46-
throw HubspotIoException("Request failed", e)
46+
throw HubSpotIoException("Request failed", e)
4747
} finally {
4848
request.body?.close()
4949
}
@@ -63,7 +63,7 @@ internal constructor(@JvmSynthetic internal val okHttpClient: okhttp3.OkHttpClie
6363
}
6464

6565
override fun onFailure(call: Call, e: IOException) {
66-
future.completeExceptionally(HubspotIoException("Request failed", e))
66+
future.completeExceptionally(HubSpotIoException("Request failed", e))
6767
}
6868
}
6969
)

hubspot-java-core/src/main/kotlin/com/hubspot_sdk/api/client/HubspotClient.kt renamed to hubspot-java-core/src/main/kotlin/com/hubspot_sdk/api/client/HubSpotClient.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import com.hubspot_sdk.api.services.blocking.WebhookService
2121
import java.util.function.Consumer
2222

2323
/**
24-
* A client for interacting with the Hubspot REST API synchronously. You can also switch to
24+
* A client for interacting with the HubSpot REST API synchronously. You can also switch to
2525
* asynchronous execution via the [async] method.
2626
*
2727
* This client performs best when you create a single instance and reuse it for all interactions
@@ -34,15 +34,15 @@ import java.util.function.Consumer
3434
* if you are writing an application that needs to aggressively release unused resources, then you
3535
* may call [close].
3636
*/
37-
interface HubspotClient {
37+
interface HubSpotClient {
3838

3939
/**
4040
* Returns a version of this client that uses asynchronous execution.
4141
*
4242
* The returned client shares its resources, like its connection pool and thread pools, with
4343
* this client.
4444
*/
45-
fun async(): HubspotClientAsync
45+
fun async(): HubSpotClientAsync
4646

4747
/**
4848
* Returns a view of this service that provides access to raw HTTP responses for each method.
@@ -54,7 +54,7 @@ interface HubspotClient {
5454
*
5555
* The original service is not modified.
5656
*/
57-
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubspotClient
57+
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubSpotClient
5858

5959
fun account(): AccountService
6060

@@ -99,15 +99,15 @@ interface HubspotClient {
9999
*/
100100
fun close()
101101

102-
/** A view of [HubspotClient] that provides access to raw HTTP responses for each method. */
102+
/** A view of [HubSpotClient] that provides access to raw HTTP responses for each method. */
103103
interface WithRawResponse {
104104

105105
/**
106106
* Returns a view of this service with the given option modifications applied.
107107
*
108108
* The original service is not modified.
109109
*/
110-
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubspotClient.WithRawResponse
110+
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubSpotClient.WithRawResponse
111111

112112
fun account(): AccountService.WithRawResponse
113113

hubspot-java-core/src/main/kotlin/com/hubspot_sdk/api/client/HubspotClientAsync.kt renamed to hubspot-java-core/src/main/kotlin/com/hubspot_sdk/api/client/HubSpotClientAsync.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import com.hubspot_sdk.api.services.async.WebhookServiceAsync
2121
import java.util.function.Consumer
2222

2323
/**
24-
* A client for interacting with the Hubspot REST API asynchronously. You can also switch to
24+
* A client for interacting with the HubSpot REST API asynchronously. You can also switch to
2525
* synchronous execution via the [sync] method.
2626
*
2727
* This client performs best when you create a single instance and reuse it for all interactions
@@ -34,15 +34,15 @@ import java.util.function.Consumer
3434
* if you are writing an application that needs to aggressively release unused resources, then you
3535
* may call [close].
3636
*/
37-
interface HubspotClientAsync {
37+
interface HubSpotClientAsync {
3838

3939
/**
4040
* Returns a version of this client that uses synchronous execution.
4141
*
4242
* The returned client shares its resources, like its connection pool and thread pools, with
4343
* this client.
4444
*/
45-
fun sync(): HubspotClient
45+
fun sync(): HubSpotClient
4646

4747
/**
4848
* Returns a view of this service that provides access to raw HTTP responses for each method.
@@ -54,7 +54,7 @@ interface HubspotClientAsync {
5454
*
5555
* The original service is not modified.
5656
*/
57-
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubspotClientAsync
57+
fun withOptions(modifier: Consumer<ClientOptions.Builder>): HubSpotClientAsync
5858

5959
fun account(): AccountServiceAsync
6060

@@ -100,7 +100,7 @@ interface HubspotClientAsync {
100100
fun close()
101101

102102
/**
103-
* A view of [HubspotClientAsync] that provides access to raw HTTP responses for each method.
103+
* A view of [HubSpotClientAsync] that provides access to raw HTTP responses for each method.
104104
*/
105105
interface WithRawResponse {
106106

@@ -111,7 +111,7 @@ interface HubspotClientAsync {
111111
*/
112112
fun withOptions(
113113
modifier: Consumer<ClientOptions.Builder>
114-
): HubspotClientAsync.WithRawResponse
114+
): HubSpotClientAsync.WithRawResponse
115115

116116
fun account(): AccountServiceAsync.WithRawResponse
117117

0 commit comments

Comments
 (0)