diff --git a/.github/workflows/publish-sonatype.yml b/.github/workflows/publish-sonatype.yml new file mode 100644 index 0000000..f7f7193 --- /dev/null +++ b/.github/workflows/publish-sonatype.yml @@ -0,0 +1,39 @@ +# This workflow is triggered when a GitHub release is created. +# It can also be run manually to re-publish to Sonatype in case it failed for some reason. +# You can run this workflow by navigating to https://www.github.com/clear-street/studio-sdk-java/actions/workflows/publish-sonatype.yml +name: Publish Sonatype +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: | + 8 + 17 + cache: gradle + + - name: Set up Gradle + uses: gradle/gradle-build-action@v2 + + - name: Publish to Sonatype + run: | + ./gradlew --parallel --no-daemon publish + env: + SONATYPE_USERNAME: ${{ secrets.STUDIO_SDK_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.STUDIO_SDK_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }} + GPG_SIGNING_KEY_ID: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_KEY_ID || secrets.GPG_SIGNING_KEY_ID }} + GPG_SIGNING_KEY: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }} + GPG_SIGNING_PASSWORD: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml new file mode 100644 index 0000000..8d15d83 --- /dev/null +++ b/.github/workflows/release-doctor.yml @@ -0,0 +1,23 @@ +name: Release Doctor +on: + pull_request: + workflow_dispatch: + +jobs: + release_doctor: + name: release doctor + runs-on: ubuntu-latest + if: github.repository == 'clear-street/studio-sdk-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + + steps: + - uses: actions/checkout@v4 + + - name: Check release environment + run: | + bash ./bin/check-release-environment + env: + SONATYPE_USERNAME: ${{ secrets.STUDIO_SDK_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.STUDIO_SDK_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }} + GPG_SIGNING_KEY_ID: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_KEY_ID || secrets.GPG_SIGNING_KEY_ID }} + GPG_SIGNING_KEY: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }} + GPG_SIGNING_PASSWORD: ${{ secrets.STUDIO_SDK_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..c476280 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.1-alpha.0" +} \ No newline at end of file diff --git a/README.md b/README.md index 2712330..efd1590 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # Studio SDK Java API Library -[![Maven Central](https://img.shields.io/maven-central/v/com.studio_sdk.api/studio-sdk-java)](https://central.sonatype.com/artifact/com.studio_sdk.api/studio-sdk-java/0.0.1-alpha.0) + + +[![Maven Central](https://img.shields.io/maven-central/v/io.clearstreet.studio/studio-sdk-java)](https://central.sonatype.com/artifact/io.clearstreet.studio/studio-sdk-java/0.0.1-alpha.0) + + The Studio SDK Java SDK provides convenient access to the Studio SDK REST API from applications written in Java. It includes helper classes with helpful types and documentation for every request and response property. @@ -20,27 +24,31 @@ The REST API documentation can be foundĀ [on docs.clearstreet.io](https://docs.c #### Gradle + + ```kotlin -implementation("com.studio_sdk.api:studio-sdk-java:0.0.1-alpha.0") +implementation("io.clearstreet.studio:studio-sdk-java:0.0.1-alpha.0") ``` #### Maven ```xml - com.studio_sdk.api + io.clearstreet.studio studio-sdk-java 0.0.1-alpha.0 ``` + + ### Configure the client Use `StudioSdkOkHttpClient.builder()` to configure the client. At a minimum you need to set `.bearerToken()`: ```java -import com.studio_sdk.api.client.StudioSdkClient; -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient; +import io.clearstreet.studio.client.StudioSdkClient; +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient; StudioSdkClient client = StudioSdkOkHttpClient.builder() .bearerToken("My Bearer Token") @@ -73,8 +81,8 @@ To create a new entity, first use the `EntityRetrieveParams` builder to specify then pass that to the `retrieve` method of the `entities` service. ```java -import com.studio_sdk.api.models.Entity; -import com.studio_sdk.api.models.EntityRetrieveParams; +import io.clearstreet.studio.models.Entity; +import io.clearstreet.studio.models.EntityRetrieveParams; EntityRetrieveParams params = EntityRetrieveParams.builder() .entityId("") @@ -242,7 +250,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/studio-sdk-java/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/clear-street/studio-sdk-java/issues) with questions, bugs, or suggestions. ## Requirements diff --git a/bin/check-release-environment b/bin/check-release-environment new file mode 100644 index 0000000..6398977 --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,44 @@ +#!/usr/bin/env bash + +warnings=() +errors=() + +if [ -z "${SONATYPE_USERNAME}" ]; then + warnings+=("The STUDIO_SDK_SONATYPE_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets") +fi + +if [ -z "${SONATYPE_PASSWORD}" ]; then + warnings+=("The STUDIO_SDK_SONATYPE_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets") +fi + +if [ -z "${GPG_SIGNING_KEY}" ]; then + warnings+=("The STUDIO_SDK_SONATYPE_GPG_SIGNING_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets") +fi + +if [ -z "${GPG_SIGNING_PASSWORD}" ]; then + warnings+=("The STUDIO_SDK_SONATYPE_GPG_SIGNING_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets") +fi + +lenWarnings=${#warnings[@]} + +if [[ lenWarnings -gt 0 ]]; then + echo -e "Found the following warnings in the release environment:\n" + + for warning in "${warnings[@]}"; do + echo -e "- $warning\n" + done +fi + +lenErrors=${#errors[@]} + +if [[ lenErrors -gt 0 ]]; then + echo -e "Found the following errors in the release environment:\n" + + for error in "${errors[@]}"; do + echo -e "- $error\n" + done + + exit 1 +fi + +echo "The environment is ready to push releases!" diff --git a/build.gradle.kts b/build.gradle.kts index d0f7ca3..99ed57a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,8 +3,8 @@ plugins { } allprojects { - group = "com.studio_sdk.api" - version = "0.0.1-alpha.0" + group = "io.clearstreet.studio" + version = "0.0.1-alpha.0" // x-release-please-version } nexusPublishing { diff --git a/buildSrc/src/main/kotlin/studio-sdk.publish.gradle.kts b/buildSrc/src/main/kotlin/studio-sdk.publish.gradle.kts index 0edcf98..1125ed8 100644 --- a/buildSrc/src/main/kotlin/studio-sdk.publish.gradle.kts +++ b/buildSrc/src/main/kotlin/studio-sdk.publish.gradle.kts @@ -33,9 +33,9 @@ configure { } scm { - connection.set("scm:git:git://github.com/stainless-sdks/studio-sdk-java.git") - developerConnection.set("scm:git:git://github.com/stainless-sdks/studio-sdk-java.git") - url.set("https://github.com/stainless-sdks/studio-sdk-java") + connection.set("scm:git:git://github.com/clear-street/studio-sdk-java.git") + developerConnection.set("scm:git:git://github.com/clear-street/studio-sdk-java.git") + url.set("https://github.com/clear-street/studio-sdk-java") } versionMapping { diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..8f98719 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,67 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "release-type": "simple", + "extra-files": [ + "README.md", + "build.gradle.kts" + ] +} \ No newline at end of file diff --git a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/OkHttpClient.kt b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/OkHttpClient.kt similarity index 93% rename from studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/OkHttpClient.kt rename to studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/OkHttpClient.kt index 4ab05e1..ed24c30 100644 --- a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/OkHttpClient.kt +++ b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/OkHttpClient.kt @@ -1,14 +1,14 @@ -package com.studio_sdk.api.client.okhttp +package io.clearstreet.studio.client.okhttp import com.google.common.collect.ListMultimap import com.google.common.collect.MultimapBuilder -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpClient -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpRequestBody -import com.studio_sdk.api.core.http.HttpResponse -import com.studio_sdk.api.errors.StudioSdkIoException +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpClient +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpRequestBody +import io.clearstreet.studio.core.http.HttpResponse +import io.clearstreet.studio.errors.StudioSdkIoException import java.io.IOException import java.io.InputStream import java.net.Proxy diff --git a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClient.kt b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClient.kt similarity index 92% rename from studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClient.kt rename to studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClient.kt index 3fadd6d..ca90654 100644 --- a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClient.kt +++ b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClient.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.client.okhttp +package io.clearstreet.studio.client.okhttp import com.fasterxml.jackson.databind.json.JsonMapper -import com.studio_sdk.api.client.StudioSdkClient -import com.studio_sdk.api.client.StudioSdkClientImpl -import com.studio_sdk.api.core.ClientOptions +import io.clearstreet.studio.client.StudioSdkClient +import io.clearstreet.studio.client.StudioSdkClientImpl +import io.clearstreet.studio.core.ClientOptions import java.net.Proxy import java.time.Clock import java.time.Duration diff --git a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClientAsync.kt b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClientAsync.kt similarity index 92% rename from studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClientAsync.kt rename to studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClientAsync.kt index fac375a..c274b0a 100644 --- a/studio-sdk-java-client-okhttp/src/main/kotlin/com/studio_sdk/api/client/okhttp/StudioSdkOkHttpClientAsync.kt +++ b/studio-sdk-java-client-okhttp/src/main/kotlin/io/clearstreet/studio/client/okhttp/StudioSdkOkHttpClientAsync.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.client.okhttp +package io.clearstreet.studio.client.okhttp import com.fasterxml.jackson.databind.json.JsonMapper -import com.studio_sdk.api.client.StudioSdkClientAsync -import com.studio_sdk.api.client.StudioSdkClientAsyncImpl -import com.studio_sdk.api.core.ClientOptions +import io.clearstreet.studio.client.StudioSdkClientAsync +import io.clearstreet.studio.client.StudioSdkClientAsyncImpl +import io.clearstreet.studio.core.ClientOptions import java.net.Proxy import java.time.Clock import java.time.Duration diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClient.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClient.kt similarity index 72% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClient.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClient.kt index f10ff38..719b713 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClient.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClient.kt @@ -2,10 +2,10 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.client +package io.clearstreet.studio.client -import com.studio_sdk.api.models.* -import com.studio_sdk.api.services.blocking.* +import io.clearstreet.studio.models.* +import io.clearstreet.studio.services.blocking.* interface StudioSdkClient { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsync.kt similarity index 74% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsync.kt index a270704..fe9e115 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsync.kt @@ -2,10 +2,10 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.client +package io.clearstreet.studio.client -import com.studio_sdk.api.models.* -import com.studio_sdk.api.services.async.* +import io.clearstreet.studio.models.* +import io.clearstreet.studio.services.async.* interface StudioSdkClientAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsyncImpl.kt similarity index 73% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsyncImpl.kt index d653177..45f902e 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientAsyncImpl.kt @@ -1,13 +1,13 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.client - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.* -import com.studio_sdk.api.services.async.* -import com.studio_sdk.api.services.errorHandler +package io.clearstreet.studio.client + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.* +import io.clearstreet.studio.services.async.* +import io.clearstreet.studio.services.errorHandler class StudioSdkClientAsyncImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientImpl.kt similarity index 72% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientImpl.kt index d6ec28f..b0f7912 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/client/StudioSdkClientImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/client/StudioSdkClientImpl.kt @@ -1,13 +1,13 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.client - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.* -import com.studio_sdk.api.services.blocking.* -import com.studio_sdk.api.services.errorHandler +package io.clearstreet.studio.client + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.* +import io.clearstreet.studio.services.blocking.* +import io.clearstreet.studio.services.errorHandler class StudioSdkClientImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseDeserializer.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseDeserializer.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseDeserializer.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseDeserializer.kt index eaf999c..0ab2779 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseDeserializer.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseDeserializer.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.core.ObjectCodec diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseSerializer.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseSerializer.kt similarity index 83% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseSerializer.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseSerializer.kt index a9b5949..66240f7 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/BaseSerializer.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/BaseSerializer.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.fasterxml.jackson.databind.ser.std.StdSerializer import kotlin.reflect.KClass diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ClientOptions.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ClientOptions.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ClientOptions.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ClientOptions.kt index b29295d..1655aab 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ClientOptions.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ClientOptions.kt @@ -1,12 +1,12 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.fasterxml.jackson.databind.json.JsonMapper import com.google.common.collect.ArrayListMultimap import com.google.common.collect.ListMultimap -import com.studio_sdk.api.core.http.HttpClient -import com.studio_sdk.api.core.http.RetryingHttpClient +import io.clearstreet.studio.core.http.HttpClient +import io.clearstreet.studio.core.http.RetryingHttpClient import java.time.Clock class ClientOptions diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ObjectMappers.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ObjectMappers.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ObjectMappers.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ObjectMappers.kt index 7784f1e..c5a0e9b 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/ObjectMappers.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/ObjectMappers.kt @@ -1,6 +1,6 @@ @file:JvmName("ObjectMappers") -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.DeserializationFeature diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Properties.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Properties.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Properties.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Properties.kt index 2789180..4206e18 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Properties.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Properties.kt @@ -1,6 +1,6 @@ @file:JvmName("Properties") -package com.studio_sdk.api.core +package io.clearstreet.studio.core import java.util.Properties diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/RequestOptions.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/RequestOptions.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/RequestOptions.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/RequestOptions.kt index 1fab613..e203b0b 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/RequestOptions.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/RequestOptions.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core +package io.clearstreet.studio.core import java.time.Duration diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Utils.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Utils.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Utils.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Utils.kt index 3119bce..efc388a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Utils.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Utils.kt @@ -1,11 +1,11 @@ @file:JvmName("Utils") -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.google.common.collect.ImmutableListMultimap import com.google.common.collect.ListMultimap import com.google.common.collect.Multimaps -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Collections @JvmSynthetic diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Values.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Values.kt similarity index 99% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Values.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Values.kt index 759dcbc..14001d9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/Values.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/Values.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core +package io.clearstreet.studio.core import com.fasterxml.jackson.annotation.JacksonAnnotationsInside import com.fasterxml.jackson.annotation.JsonAutoDetect @@ -26,7 +26,7 @@ import com.fasterxml.jackson.databind.node.JsonNodeType.OBJECT import com.fasterxml.jackson.databind.node.JsonNodeType.POJO import com.fasterxml.jackson.databind.node.JsonNodeType.STRING import com.fasterxml.jackson.databind.ser.std.NullSerializer -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.nio.charset.Charset import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/BinaryResponseContent.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/BinaryResponseContent.kt similarity index 87% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/BinaryResponseContent.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/BinaryResponseContent.kt index 4f03360..24e0424 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/BinaryResponseContent.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/BinaryResponseContent.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import java.io.Closeable import java.io.IOException diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpClient.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpClient.kt similarity index 81% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpClient.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpClient.kt index 94d73fe..0d8ba34 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpClient.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpClient.kt @@ -1,6 +1,6 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http -import com.studio_sdk.api.core.RequestOptions +import io.clearstreet.studio.core.RequestOptions import java.io.Closeable import java.util.concurrent.CompletableFuture diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpMethod.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpMethod.kt similarity index 75% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpMethod.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpMethod.kt index 5f169d0..51de995 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpMethod.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpMethod.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http enum class HttpMethod { GET, diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequest.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequest.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequest.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequest.kt index 9459dcc..18ec1d1 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequest.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequest.kt @@ -1,10 +1,10 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import com.google.common.collect.ArrayListMultimap import com.google.common.collect.ListMultimap import com.google.common.collect.Multimap import com.google.common.collect.MultimapBuilder -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.toUnmodifiable class HttpRequest private constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequestBody.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequestBody.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequestBody.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequestBody.kt index 99ae1fc..01ae4ed 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpRequestBody.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpRequestBody.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import java.io.Closeable import java.io.IOException diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpResponse.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpResponse.kt index 40fca37..e1513e7 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/HttpResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/HttpResponse.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import com.google.common.collect.ListMultimap import java.io.Closeable diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/RetryingHttpClient.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/RetryingHttpClient.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/RetryingHttpClient.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/RetryingHttpClient.kt index c33a88e..ee742a6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/core/http/RetryingHttpClient.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/core/http/RetryingHttpClient.kt @@ -1,10 +1,10 @@ @file:JvmSynthetic -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import com.google.common.util.concurrent.MoreExecutors -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.errors.StudioSdkIoException +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.errors.StudioSdkIoException import java.io.IOException import java.time.Clock import java.time.Duration diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/BadRequestException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/BadRequestException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/BadRequestException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/BadRequestException.kt index 7d8af96..906ad59 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/BadRequestException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/BadRequestException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/InternalServerException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/InternalServerException.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/InternalServerException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/InternalServerException.kt index 9b15fae..5608aca 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/InternalServerException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/InternalServerException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/NotFoundException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/NotFoundException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/NotFoundException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/NotFoundException.kt index c9067ad..3083693 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/NotFoundException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/NotFoundException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/PermissionDeniedException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/PermissionDeniedException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/PermissionDeniedException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/PermissionDeniedException.kt index 81eb1f1..d946fff 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/PermissionDeniedException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/PermissionDeniedException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/RateLimitException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/RateLimitException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/RateLimitException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/RateLimitException.kt index abdb3c8..b6c6131 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/RateLimitException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/RateLimitException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkError.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkError.kt similarity index 91% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkError.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkError.kt index 40675e8..9da7ca2 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkError.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkError.kt @@ -1,13 +1,13 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = StudioSdkError.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkException.kt similarity index 79% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkException.kt index 25929d1..18965cf 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors open class StudioSdkException @JvmOverloads diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkInvalidDataException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkInvalidDataException.kt similarity index 80% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkInvalidDataException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkInvalidDataException.kt index fc8fd25..dbe524c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkInvalidDataException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkInvalidDataException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors class StudioSdkInvalidDataException @JvmOverloads diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkIoException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkIoException.kt similarity index 79% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkIoException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkIoException.kt index ca3a4db..9c3e8d6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkIoException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkIoException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors class StudioSdkIoException @JvmOverloads diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkServiceException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkServiceException.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkServiceException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkServiceException.kt index 2d0cc80..486c7e1 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/StudioSdkServiceException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/StudioSdkServiceException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnauthorizedException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnauthorizedException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnauthorizedException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnauthorizedException.kt index b6c32b8..a9d28e9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnauthorizedException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnauthorizedException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnexpectedStatusCodeException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnexpectedStatusCodeException.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnexpectedStatusCodeException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnexpectedStatusCodeException.kt index 5d8121d..7ac99f5 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnexpectedStatusCodeException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnexpectedStatusCodeException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnprocessableEntityException.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnprocessableEntityException.kt similarity index 89% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnprocessableEntityException.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnprocessableEntityException.kt index 2d32912..9ee406a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/errors/UnprocessableEntityException.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/errors/UnprocessableEntityException.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.errors +package io.clearstreet.studio.errors import com.google.common.collect.ListMultimap diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Account.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Account.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Account.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Account.kt index eb0f183..db457a2 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Account.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Account.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = Account.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParams.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParams.kt index 6a2d1d2..c20b621 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParams.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.models.* import java.util.Objects class AccountBulkOrderCreateParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponse.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponse.kt index d271dcb..4b36928 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParams.kt index d242b7b..ae76ccb 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountEasyBorrowListParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponse.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponse.kt index 6c16ceb..1ef567a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = AccountEasyBorrowListResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListParams.kt similarity index 95% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListParams.kt index 0058212..833cbba 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountListParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListResponse.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListResponse.kt index 865b344..f1a755a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParams.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParams.kt index 3032741..2d149fb 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParams.kt @@ -1,16 +1,16 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParams.kt index 3f2e421..2aac291 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountLocateOrderListParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponse.kt similarity index 91% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponse.kt index 48eb1f4..7e48afd 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = AccountLocateOrderListResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParams.kt index 5cc5866..3aa31b6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountLocateOrderRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParams.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParams.kt index ae02b4b..9460eb6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParams.kt @@ -1,16 +1,16 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountLocateOrderUpdateParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCancelParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCancelParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCancelParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCancelParams.kt index 318c2f9..b28e4d8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCancelParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCancelParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateParams.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateParams.kt index 919091d..96c07a3 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateParams.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponse.kt similarity index 91% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponse.kt index 39e04bc..d946f39 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = AccountOrderCreateResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParams.kt similarity index 95% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParams.kt index d6c243b..f263bf9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParams.kt @@ -1,15 +1,15 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonCreator -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponse.kt similarity index 91% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponse.kt index e3bc3ec..283110f 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = AccountOrderDeleteResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListParams.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListParams.kt index a400af6..202a2ba 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListResponse.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListResponse.kt index a272511..57774b0 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParams.kt index 59a44af..0da0d86 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountOrderRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponse.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponse.kt index cd2d961..2a8eadb 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = AccountOrderRetrieveResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParams.kt index 83d265c..9f32b55 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountPnlDetailListParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponse.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponse.kt index 7cacf2e..1f7e0fa 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponse.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects @JsonDeserialize(builder = AccountPnlDetailListResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParams.kt index f25d5ed..09e6e42 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountPnlSummaryRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListParams.kt index 1231a2b..0b4f3b0 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListResponse.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListResponse.kt index 94e2510..18c1a0c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParams.kt index 99747b4..76478a6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountPositionRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountRetrieveParams.kt index 434e607..6fda7a5 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListParams.kt index 3039ee0..c37d5dd 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListResponse.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListResponse.kt index a14526f..d79d40e 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParams.kt index 85a1aba..9d876ae 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class AccountTradeRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Entity.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Entity.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Entity.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Entity.kt index 6dd5a30..f8db61b 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Entity.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Entity.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListParams.kt similarity index 95% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListParams.kt index 6c3ce13..648afb9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityListParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListResponse.kt similarity index 90% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListResponse.kt index 54e77c2..59fcc13 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityListResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityListResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParams.kt index cf936af..355ca90 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityPnlSummaryRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParams.kt index bb5966a..e52717d 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityPortfolioMarginRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParams.kt index 7ecd4df..adc550c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityRegtMarginRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParams.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParams.kt index a8add12..9babe09 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParams.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponse.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponse.kt similarity index 92% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponse.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponse.kt index 6640e6d..f58f9f9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponse.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponse.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = EntityRegtMarginSimulationCreateResponse.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParams.kt index 7dff48c..cdd2b7d 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityRegtMarginSimulationRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRetrieveParams.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRetrieveParams.kt index 06e0b34..7756e28 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/EntityRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/EntityRetrieveParams.kt @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.models.* import java.util.Objects class EntityRetrieveParams diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Instrument.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Instrument.kt similarity index 97% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Instrument.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Instrument.kt index 834d0f0..4d8ca7d 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Instrument.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Instrument.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParams.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParams.kt similarity index 95% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParams.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParams.kt index a52d364..9441407 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParams.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParams.kt @@ -1,15 +1,15 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonCreator -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.models.* import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/LocateOrder.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/LocateOrder.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/LocateOrder.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/LocateOrder.kt index 92882f4..a2d1b18 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/LocateOrder.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/LocateOrder.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Order.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Order.kt similarity index 99% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Order.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Order.kt index 2594f09..5488373 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Order.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Order.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummary.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummary.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummary.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummary.kt index 85edfb0..1006215 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummary.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummary.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = PnlSummary.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummaryForAccount.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummaryForAccount.kt similarity index 98% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummaryForAccount.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummaryForAccount.kt index 08f4fbd..cf3f1a7 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PnlSummaryForAccount.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PnlSummaryForAccount.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = PnlSummaryForAccount.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PortfolioMargin.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PortfolioMargin.kt similarity index 99% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PortfolioMargin.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PortfolioMargin.kt index fd18665..6e0bda8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/PortfolioMargin.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/PortfolioMargin.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Position.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Position.kt similarity index 93% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Position.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Position.kt index 2f2e367..d655992 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Position.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Position.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMargin.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMargin.kt similarity index 99% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMargin.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMargin.kt index 59d18d4..038d0e4 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMargin.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMargin.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMarginSimulation.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMarginSimulation.kt similarity index 95% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMarginSimulation.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMarginSimulation.kt index 59ee264..5c54d8a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/RegtMarginSimulation.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/RegtMarginSimulation.kt @@ -1,17 +1,17 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable import java.util.Objects @JsonDeserialize(builder = RegtMarginSimulation.Builder::class) diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Trade.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Trade.kt similarity index 96% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Trade.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Trade.kt index 8678cc2..33beebc 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/models/Trade.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/models/Trade.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.ExcludeMissing -import com.studio_sdk.api.core.JsonField -import com.studio_sdk.api.core.JsonMissing -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.NoAutoDetect -import com.studio_sdk.api.core.toUnmodifiable -import com.studio_sdk.api.errors.StudioSdkInvalidDataException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.ExcludeMissing +import io.clearstreet.studio.core.JsonField +import io.clearstreet.studio.core.JsonMissing +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.NoAutoDetect +import io.clearstreet.studio.core.toUnmodifiable +import io.clearstreet.studio.errors.StudioSdkInvalidDataException import java.util.Objects import java.util.Optional diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/Handlers.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/Handlers.kt similarity index 83% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/Handlers.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/Handlers.kt index 9da32a2..eb89ef8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/Handlers.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/Handlers.kt @@ -1,22 +1,22 @@ @file:JvmName("Handlers") -package com.studio_sdk.api.services +package io.clearstreet.studio.services import com.fasterxml.jackson.databind.json.JsonMapper import com.fasterxml.jackson.module.kotlin.jacksonTypeRef -import com.studio_sdk.api.core.http.BinaryResponseContent -import com.studio_sdk.api.core.http.HttpResponse -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.BadRequestException -import com.studio_sdk.api.errors.InternalServerException -import com.studio_sdk.api.errors.NotFoundException -import com.studio_sdk.api.errors.PermissionDeniedException -import com.studio_sdk.api.errors.RateLimitException -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.errors.StudioSdkException -import com.studio_sdk.api.errors.UnauthorizedException -import com.studio_sdk.api.errors.UnexpectedStatusCodeException -import com.studio_sdk.api.errors.UnprocessableEntityException +import io.clearstreet.studio.core.http.BinaryResponseContent +import io.clearstreet.studio.core.http.HttpResponse +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.BadRequestException +import io.clearstreet.studio.errors.InternalServerException +import io.clearstreet.studio.errors.NotFoundException +import io.clearstreet.studio.errors.PermissionDeniedException +import io.clearstreet.studio.errors.RateLimitException +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.errors.StudioSdkException +import io.clearstreet.studio.errors.UnauthorizedException +import io.clearstreet.studio.errors.UnexpectedStatusCodeException +import io.clearstreet.studio.errors.UnprocessableEntityException import java.io.InputStream import java.io.OutputStream diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/HttpRequestBodies.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/HttpRequestBodies.kt similarity index 92% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/HttpRequestBodies.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/HttpRequestBodies.kt index 7c161b4..11e7297 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/HttpRequestBodies.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/HttpRequestBodies.kt @@ -1,13 +1,13 @@ @file:JvmName("HttpRequestBodies") -package com.studio_sdk.api.services +package io.clearstreet.studio.services import com.fasterxml.jackson.databind.json.JsonMapper -import com.studio_sdk.api.core.Enum -import com.studio_sdk.api.core.JsonValue -import com.studio_sdk.api.core.MultipartFormValue -import com.studio_sdk.api.core.http.HttpRequestBody -import com.studio_sdk.api.errors.StudioSdkException +import io.clearstreet.studio.core.Enum +import io.clearstreet.studio.core.JsonValue +import io.clearstreet.studio.core.MultipartFormValue +import io.clearstreet.studio.core.http.HttpRequestBody +import io.clearstreet.studio.errors.StudioSdkException import java.io.ByteArrayOutputStream import java.io.OutputStream import org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsync.kt similarity index 53% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsync.kt index 4548583..e6a97ae 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsync.kt @@ -2,21 +2,21 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Account -import com.studio_sdk.api.models.AccountListParams -import com.studio_sdk.api.models.AccountListResponse -import com.studio_sdk.api.models.AccountRetrieveParams -import com.studio_sdk.api.services.async.accounts.BulkOrderServiceAsync -import com.studio_sdk.api.services.async.accounts.EasyBorrowServiceAsync -import com.studio_sdk.api.services.async.accounts.LocateOrderServiceAsync -import com.studio_sdk.api.services.async.accounts.OrderServiceAsync -import com.studio_sdk.api.services.async.accounts.PnlDetailServiceAsync -import com.studio_sdk.api.services.async.accounts.PnlSummaryServiceAsync -import com.studio_sdk.api.services.async.accounts.PositionServiceAsync -import com.studio_sdk.api.services.async.accounts.TradeServiceAsync +package io.clearstreet.studio.services.async + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Account +import io.clearstreet.studio.models.AccountListParams +import io.clearstreet.studio.models.AccountListResponse +import io.clearstreet.studio.models.AccountRetrieveParams +import io.clearstreet.studio.services.async.accounts.BulkOrderServiceAsync +import io.clearstreet.studio.services.async.accounts.EasyBorrowServiceAsync +import io.clearstreet.studio.services.async.accounts.LocateOrderServiceAsync +import io.clearstreet.studio.services.async.accounts.OrderServiceAsync +import io.clearstreet.studio.services.async.accounts.PnlDetailServiceAsync +import io.clearstreet.studio.services.async.accounts.PnlSummaryServiceAsync +import io.clearstreet.studio.services.async.accounts.PositionServiceAsync +import io.clearstreet.studio.services.async.accounts.TradeServiceAsync import java.util.concurrent.CompletableFuture interface AccountServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsyncImpl.kt similarity index 67% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsyncImpl.kt index 684b2c9..93dae27 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/AccountServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/AccountServiceAsyncImpl.kt @@ -1,36 +1,36 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Account -import com.studio_sdk.api.models.AccountListParams -import com.studio_sdk.api.models.AccountListResponse -import com.studio_sdk.api.models.AccountRetrieveParams -import com.studio_sdk.api.services.async.accounts.BulkOrderServiceAsync -import com.studio_sdk.api.services.async.accounts.BulkOrderServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.EasyBorrowServiceAsync -import com.studio_sdk.api.services.async.accounts.EasyBorrowServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.LocateOrderServiceAsync -import com.studio_sdk.api.services.async.accounts.LocateOrderServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.OrderServiceAsync -import com.studio_sdk.api.services.async.accounts.OrderServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.PnlDetailServiceAsync -import com.studio_sdk.api.services.async.accounts.PnlDetailServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.PnlSummaryServiceAsync -import com.studio_sdk.api.services.async.accounts.PnlSummaryServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.PositionServiceAsync -import com.studio_sdk.api.services.async.accounts.PositionServiceAsyncImpl -import com.studio_sdk.api.services.async.accounts.TradeServiceAsync -import com.studio_sdk.api.services.async.accounts.TradeServiceAsyncImpl -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +package io.clearstreet.studio.services.async + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Account +import io.clearstreet.studio.models.AccountListParams +import io.clearstreet.studio.models.AccountListResponse +import io.clearstreet.studio.models.AccountRetrieveParams +import io.clearstreet.studio.services.async.accounts.BulkOrderServiceAsync +import io.clearstreet.studio.services.async.accounts.BulkOrderServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.EasyBorrowServiceAsync +import io.clearstreet.studio.services.async.accounts.EasyBorrowServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.LocateOrderServiceAsync +import io.clearstreet.studio.services.async.accounts.LocateOrderServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.OrderServiceAsync +import io.clearstreet.studio.services.async.accounts.OrderServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.PnlDetailServiceAsync +import io.clearstreet.studio.services.async.accounts.PnlDetailServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.PnlSummaryServiceAsync +import io.clearstreet.studio.services.async.accounts.PnlSummaryServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.PositionServiceAsync +import io.clearstreet.studio.services.async.accounts.PositionServiceAsyncImpl +import io.clearstreet.studio.services.async.accounts.TradeServiceAsync +import io.clearstreet.studio.services.async.accounts.TradeServiceAsyncImpl +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class AccountServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsync.kt similarity index 58% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsync.kt index f67e147..37855dd 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsync.kt @@ -2,17 +2,17 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Entity -import com.studio_sdk.api.models.EntityListParams -import com.studio_sdk.api.models.EntityListResponse -import com.studio_sdk.api.models.EntityRetrieveParams -import com.studio_sdk.api.services.async.entities.PnlSummaryServiceAsync -import com.studio_sdk.api.services.async.entities.PortfolioMarginServiceAsync -import com.studio_sdk.api.services.async.entities.RegtMarginServiceAsync -import com.studio_sdk.api.services.async.entities.RegtMarginSimulationServiceAsync +package io.clearstreet.studio.services.async + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Entity +import io.clearstreet.studio.models.EntityListParams +import io.clearstreet.studio.models.EntityListResponse +import io.clearstreet.studio.models.EntityRetrieveParams +import io.clearstreet.studio.services.async.entities.PnlSummaryServiceAsync +import io.clearstreet.studio.services.async.entities.PortfolioMarginServiceAsync +import io.clearstreet.studio.services.async.entities.RegtMarginServiceAsync +import io.clearstreet.studio.services.async.entities.RegtMarginSimulationServiceAsync import java.util.concurrent.CompletableFuture interface EntityServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsyncImpl.kt similarity index 71% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsyncImpl.kt index 87d0f16..a9b5f8a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/EntityServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/EntityServiceAsyncImpl.kt @@ -1,28 +1,28 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Entity -import com.studio_sdk.api.models.EntityListParams -import com.studio_sdk.api.models.EntityListResponse -import com.studio_sdk.api.models.EntityRetrieveParams -import com.studio_sdk.api.services.async.entities.PnlSummaryServiceAsync -import com.studio_sdk.api.services.async.entities.PnlSummaryServiceAsyncImpl -import com.studio_sdk.api.services.async.entities.PortfolioMarginServiceAsync -import com.studio_sdk.api.services.async.entities.PortfolioMarginServiceAsyncImpl -import com.studio_sdk.api.services.async.entities.RegtMarginServiceAsync -import com.studio_sdk.api.services.async.entities.RegtMarginServiceAsyncImpl -import com.studio_sdk.api.services.async.entities.RegtMarginSimulationServiceAsync -import com.studio_sdk.api.services.async.entities.RegtMarginSimulationServiceAsyncImpl -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +package io.clearstreet.studio.services.async + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Entity +import io.clearstreet.studio.models.EntityListParams +import io.clearstreet.studio.models.EntityListResponse +import io.clearstreet.studio.models.EntityRetrieveParams +import io.clearstreet.studio.services.async.entities.PnlSummaryServiceAsync +import io.clearstreet.studio.services.async.entities.PnlSummaryServiceAsyncImpl +import io.clearstreet.studio.services.async.entities.PortfolioMarginServiceAsync +import io.clearstreet.studio.services.async.entities.PortfolioMarginServiceAsyncImpl +import io.clearstreet.studio.services.async.entities.RegtMarginServiceAsync +import io.clearstreet.studio.services.async.entities.RegtMarginServiceAsyncImpl +import io.clearstreet.studio.services.async.entities.RegtMarginSimulationServiceAsync +import io.clearstreet.studio.services.async.entities.RegtMarginSimulationServiceAsyncImpl +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class EntityServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsync.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsync.kt index d864e03..3638111 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async +package io.clearstreet.studio.services.async -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Instrument -import com.studio_sdk.api.models.InstrumentRetrieveParams +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Instrument +import io.clearstreet.studio.models.InstrumentRetrieveParams import java.util.concurrent.CompletableFuture interface InstrumentServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsyncImpl.kt index f07aa48..568acc0 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/InstrumentServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/InstrumentServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async +package io.clearstreet.studio.services.async -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Instrument -import com.studio_sdk.api.models.InstrumentRetrieveParams -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Instrument +import io.clearstreet.studio.models.InstrumentRetrieveParams +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class InstrumentServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsync.kt similarity index 85% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsync.kt index 417f3f6..6469a01 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountBulkOrderCreateParams -import com.studio_sdk.api.models.AccountBulkOrderCreateResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountBulkOrderCreateParams +import io.clearstreet.studio.models.AccountBulkOrderCreateResponse import java.util.concurrent.CompletableFuture interface BulkOrderServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsyncImpl.kt similarity index 78% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsyncImpl.kt index 25b4faa..ee19c8a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/BulkOrderServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/BulkOrderServiceAsyncImpl.kt @@ -1,19 +1,19 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountBulkOrderCreateParams -import com.studio_sdk.api.models.AccountBulkOrderCreateResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountBulkOrderCreateParams +import io.clearstreet.studio.models.AccountBulkOrderCreateResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class BulkOrderServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsync.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsync.kt index c17a34b..1ae3499 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountEasyBorrowListParams -import com.studio_sdk.api.models.AccountEasyBorrowListResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountEasyBorrowListParams +import io.clearstreet.studio.models.AccountEasyBorrowListResponse import java.util.concurrent.CompletableFuture interface EasyBorrowServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsyncImpl.kt similarity index 71% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsyncImpl.kt index 99af659..37e68f8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/EasyBorrowServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/EasyBorrowServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountEasyBorrowListParams -import com.studio_sdk.api.models.AccountEasyBorrowListResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountEasyBorrowListParams +import io.clearstreet.studio.models.AccountEasyBorrowListResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class EasyBorrowServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsync.kt similarity index 71% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsync.kt index 92aecce..5203a29 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsync.kt @@ -2,15 +2,15 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountLocateOrderCreateParams -import com.studio_sdk.api.models.AccountLocateOrderListParams -import com.studio_sdk.api.models.AccountLocateOrderListResponse -import com.studio_sdk.api.models.AccountLocateOrderRetrieveParams -import com.studio_sdk.api.models.AccountLocateOrderUpdateParams -import com.studio_sdk.api.models.LocateOrder +package io.clearstreet.studio.services.async.accounts + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountLocateOrderCreateParams +import io.clearstreet.studio.models.AccountLocateOrderListParams +import io.clearstreet.studio.models.AccountLocateOrderListResponse +import io.clearstreet.studio.models.AccountLocateOrderRetrieveParams +import io.clearstreet.studio.models.AccountLocateOrderUpdateParams +import io.clearstreet.studio.models.LocateOrder import java.util.concurrent.CompletableFuture interface LocateOrderServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsyncImpl.kt similarity index 84% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsyncImpl.kt index 94d9d80..37f6eeb 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/LocateOrderServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/LocateOrderServiceAsyncImpl.kt @@ -1,24 +1,24 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountLocateOrderCreateParams -import com.studio_sdk.api.models.AccountLocateOrderListParams -import com.studio_sdk.api.models.AccountLocateOrderListResponse -import com.studio_sdk.api.models.AccountLocateOrderRetrieveParams -import com.studio_sdk.api.models.AccountLocateOrderUpdateParams -import com.studio_sdk.api.models.LocateOrder -import com.studio_sdk.api.services.emptyHandler -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountLocateOrderCreateParams +import io.clearstreet.studio.models.AccountLocateOrderListParams +import io.clearstreet.studio.models.AccountLocateOrderListResponse +import io.clearstreet.studio.models.AccountLocateOrderRetrieveParams +import io.clearstreet.studio.models.AccountLocateOrderUpdateParams +import io.clearstreet.studio.models.LocateOrder +import io.clearstreet.studio.services.emptyHandler +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class LocateOrderServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsync.kt similarity index 75% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsync.kt index 9e6dbc5..2626081 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsync.kt @@ -2,18 +2,18 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountOrderCancelParams -import com.studio_sdk.api.models.AccountOrderCreateParams -import com.studio_sdk.api.models.AccountOrderCreateResponse -import com.studio_sdk.api.models.AccountOrderDeleteParams -import com.studio_sdk.api.models.AccountOrderDeleteResponse -import com.studio_sdk.api.models.AccountOrderListParams -import com.studio_sdk.api.models.AccountOrderListResponse -import com.studio_sdk.api.models.AccountOrderRetrieveParams -import com.studio_sdk.api.models.AccountOrderRetrieveResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountOrderCancelParams +import io.clearstreet.studio.models.AccountOrderCreateParams +import io.clearstreet.studio.models.AccountOrderCreateResponse +import io.clearstreet.studio.models.AccountOrderDeleteParams +import io.clearstreet.studio.models.AccountOrderDeleteResponse +import io.clearstreet.studio.models.AccountOrderListParams +import io.clearstreet.studio.models.AccountOrderListResponse +import io.clearstreet.studio.models.AccountOrderRetrieveParams +import io.clearstreet.studio.models.AccountOrderRetrieveResponse import java.util.concurrent.CompletableFuture interface OrderServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsyncImpl.kt similarity index 86% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsyncImpl.kt index de8b0d1..384a5ae 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/OrderServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/OrderServiceAsyncImpl.kt @@ -1,27 +1,27 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountOrderCancelParams -import com.studio_sdk.api.models.AccountOrderCreateParams -import com.studio_sdk.api.models.AccountOrderCreateResponse -import com.studio_sdk.api.models.AccountOrderDeleteParams -import com.studio_sdk.api.models.AccountOrderDeleteResponse -import com.studio_sdk.api.models.AccountOrderListParams -import com.studio_sdk.api.models.AccountOrderListResponse -import com.studio_sdk.api.models.AccountOrderRetrieveParams -import com.studio_sdk.api.models.AccountOrderRetrieveResponse -import com.studio_sdk.api.services.emptyHandler -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountOrderCancelParams +import io.clearstreet.studio.models.AccountOrderCreateParams +import io.clearstreet.studio.models.AccountOrderCreateResponse +import io.clearstreet.studio.models.AccountOrderDeleteParams +import io.clearstreet.studio.models.AccountOrderDeleteResponse +import io.clearstreet.studio.models.AccountOrderListParams +import io.clearstreet.studio.models.AccountOrderListResponse +import io.clearstreet.studio.models.AccountOrderRetrieveParams +import io.clearstreet.studio.models.AccountOrderRetrieveResponse +import io.clearstreet.studio.services.emptyHandler +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class OrderServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsync.kt similarity index 67% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsync.kt index f4d37cc..b3c2344 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPnlDetailListParams -import com.studio_sdk.api.models.AccountPnlDetailListResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPnlDetailListParams +import io.clearstreet.studio.models.AccountPnlDetailListResponse import java.util.concurrent.CompletableFuture interface PnlDetailServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsyncImpl.kt index ec2ddd7..f3dc785 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlDetailServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlDetailServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPnlDetailListParams -import com.studio_sdk.api.models.AccountPnlDetailListResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPnlDetailListParams +import io.clearstreet.studio.models.AccountPnlDetailListResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class PnlDetailServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsync.kt similarity index 67% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsync.kt index 564d080..5c67e9c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummaryForAccount +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummaryForAccount import java.util.concurrent.CompletableFuture interface PnlSummaryServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsyncImpl.kt index 89e73c0..03977fd 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PnlSummaryServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PnlSummaryServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummaryForAccount -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummaryForAccount +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class PnlSummaryServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsync.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsync.kt index 7d3eff2..164bdc7 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsync.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPositionListParams -import com.studio_sdk.api.models.AccountPositionListResponse -import com.studio_sdk.api.models.AccountPositionRetrieveParams -import com.studio_sdk.api.models.Position +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPositionListParams +import io.clearstreet.studio.models.AccountPositionListResponse +import io.clearstreet.studio.models.AccountPositionRetrieveParams +import io.clearstreet.studio.models.Position import java.util.concurrent.CompletableFuture interface PositionServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsyncImpl.kt similarity index 79% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsyncImpl.kt index 28b75ba..599eae3 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/PositionServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/PositionServiceAsyncImpl.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPositionListParams -import com.studio_sdk.api.models.AccountPositionListResponse -import com.studio_sdk.api.models.AccountPositionRetrieveParams -import com.studio_sdk.api.models.Position -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPositionListParams +import io.clearstreet.studio.models.AccountPositionListResponse +import io.clearstreet.studio.models.AccountPositionRetrieveParams +import io.clearstreet.studio.models.Position +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class PositionServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsync.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsync.kt index b313b45..6371a3a 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsync.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountTradeListParams -import com.studio_sdk.api.models.AccountTradeListResponse -import com.studio_sdk.api.models.AccountTradeRetrieveParams -import com.studio_sdk.api.models.Trade +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountTradeListParams +import io.clearstreet.studio.models.AccountTradeListResponse +import io.clearstreet.studio.models.AccountTradeRetrieveParams +import io.clearstreet.studio.models.Trade import java.util.concurrent.CompletableFuture interface TradeServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsyncImpl.kt similarity index 79% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsyncImpl.kt index 19ad101..3c087a6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/accounts/TradeServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/accounts/TradeServiceAsyncImpl.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.accounts +package io.clearstreet.studio.services.async.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountTradeListParams -import com.studio_sdk.api.models.AccountTradeListResponse -import com.studio_sdk.api.models.AccountTradeRetrieveParams -import com.studio_sdk.api.models.Trade -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountTradeListParams +import io.clearstreet.studio.models.AccountTradeListResponse +import io.clearstreet.studio.models.AccountTradeRetrieveParams +import io.clearstreet.studio.models.Trade +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class TradeServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsync.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsync.kt index 7bee22d..83ba5fe 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummary +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummary import java.util.concurrent.CompletableFuture interface PnlSummaryServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsyncImpl.kt index 993203e..3bf36b3 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PnlSummaryServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PnlSummaryServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummary -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummary +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class PnlSummaryServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsync.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsync.kt index 1dfcf86..0fb3005 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityPortfolioMarginRetrieveParams -import com.studio_sdk.api.models.PortfolioMargin +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityPortfolioMarginRetrieveParams +import io.clearstreet.studio.models.PortfolioMargin import java.util.concurrent.CompletableFuture interface PortfolioMarginServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsyncImpl.kt index e1c61b8..a7e265e 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/PortfolioMarginServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/PortfolioMarginServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityPortfolioMarginRetrieveParams -import com.studio_sdk.api.models.PortfolioMargin -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityPortfolioMarginRetrieveParams +import io.clearstreet.studio.models.PortfolioMargin +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class PortfolioMarginServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsync.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsync.kt index 37d7966..141b5d1 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsync.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityRegtMarginRetrieveParams -import com.studio_sdk.api.models.RegtMargin +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityRegtMarginRetrieveParams +import io.clearstreet.studio.models.RegtMargin import java.util.concurrent.CompletableFuture interface RegtMarginServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsyncImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsyncImpl.kt index 3133bba..1025181 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginServiceAsyncImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityRegtMarginRetrieveParams -import com.studio_sdk.api.models.RegtMargin -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityRegtMarginRetrieveParams +import io.clearstreet.studio.models.RegtMargin +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class RegtMarginServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsync.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsync.kt similarity index 77% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsync.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsync.kt index 528ff4d..34ba9dc 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsync.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsync.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateParams -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateResponse -import com.studio_sdk.api.models.EntityRegtMarginSimulationRetrieveParams -import com.studio_sdk.api.models.RegtMarginSimulation +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateParams +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateResponse +import io.clearstreet.studio.models.EntityRegtMarginSimulationRetrieveParams +import io.clearstreet.studio.models.RegtMarginSimulation import java.util.concurrent.CompletableFuture interface RegtMarginSimulationServiceAsync { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt similarity index 81% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt index ee041c6..3ffa8d5 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/async/entities/RegtMarginSimulationServiceAsyncImpl.kt @@ -1,21 +1,21 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.async.entities +package io.clearstreet.studio.services.async.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateParams -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateResponse -import com.studio_sdk.api.models.EntityRegtMarginSimulationRetrieveParams -import com.studio_sdk.api.models.RegtMarginSimulation -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateParams +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateResponse +import io.clearstreet.studio.models.EntityRegtMarginSimulationRetrieveParams +import io.clearstreet.studio.models.RegtMarginSimulation +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler import java.util.concurrent.CompletableFuture class RegtMarginSimulationServiceAsyncImpl diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountService.kt similarity index 50% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountService.kt index a120a2b..72825d9 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountService.kt @@ -2,21 +2,21 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Account -import com.studio_sdk.api.models.AccountListParams -import com.studio_sdk.api.models.AccountListResponse -import com.studio_sdk.api.models.AccountRetrieveParams -import com.studio_sdk.api.services.blocking.accounts.BulkOrderService -import com.studio_sdk.api.services.blocking.accounts.EasyBorrowService -import com.studio_sdk.api.services.blocking.accounts.LocateOrderService -import com.studio_sdk.api.services.blocking.accounts.OrderService -import com.studio_sdk.api.services.blocking.accounts.PnlDetailService -import com.studio_sdk.api.services.blocking.accounts.PnlSummaryService -import com.studio_sdk.api.services.blocking.accounts.PositionService -import com.studio_sdk.api.services.blocking.accounts.TradeService +package io.clearstreet.studio.services.blocking + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Account +import io.clearstreet.studio.models.AccountListParams +import io.clearstreet.studio.models.AccountListResponse +import io.clearstreet.studio.models.AccountRetrieveParams +import io.clearstreet.studio.services.blocking.accounts.BulkOrderService +import io.clearstreet.studio.services.blocking.accounts.EasyBorrowService +import io.clearstreet.studio.services.blocking.accounts.LocateOrderService +import io.clearstreet.studio.services.blocking.accounts.OrderService +import io.clearstreet.studio.services.blocking.accounts.PnlDetailService +import io.clearstreet.studio.services.blocking.accounts.PnlSummaryService +import io.clearstreet.studio.services.blocking.accounts.PositionService +import io.clearstreet.studio.services.blocking.accounts.TradeService interface AccountService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountServiceImpl.kt similarity index 66% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountServiceImpl.kt index d90fb8c..a0813c5 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/AccountServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/AccountServiceImpl.kt @@ -1,36 +1,36 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Account -import com.studio_sdk.api.models.AccountListParams -import com.studio_sdk.api.models.AccountListResponse -import com.studio_sdk.api.models.AccountRetrieveParams -import com.studio_sdk.api.services.blocking.accounts.BulkOrderService -import com.studio_sdk.api.services.blocking.accounts.BulkOrderServiceImpl -import com.studio_sdk.api.services.blocking.accounts.EasyBorrowService -import com.studio_sdk.api.services.blocking.accounts.EasyBorrowServiceImpl -import com.studio_sdk.api.services.blocking.accounts.LocateOrderService -import com.studio_sdk.api.services.blocking.accounts.LocateOrderServiceImpl -import com.studio_sdk.api.services.blocking.accounts.OrderService -import com.studio_sdk.api.services.blocking.accounts.OrderServiceImpl -import com.studio_sdk.api.services.blocking.accounts.PnlDetailService -import com.studio_sdk.api.services.blocking.accounts.PnlDetailServiceImpl -import com.studio_sdk.api.services.blocking.accounts.PnlSummaryService -import com.studio_sdk.api.services.blocking.accounts.PnlSummaryServiceImpl -import com.studio_sdk.api.services.blocking.accounts.PositionService -import com.studio_sdk.api.services.blocking.accounts.PositionServiceImpl -import com.studio_sdk.api.services.blocking.accounts.TradeService -import com.studio_sdk.api.services.blocking.accounts.TradeServiceImpl -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +package io.clearstreet.studio.services.blocking + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Account +import io.clearstreet.studio.models.AccountListParams +import io.clearstreet.studio.models.AccountListResponse +import io.clearstreet.studio.models.AccountRetrieveParams +import io.clearstreet.studio.services.blocking.accounts.BulkOrderService +import io.clearstreet.studio.services.blocking.accounts.BulkOrderServiceImpl +import io.clearstreet.studio.services.blocking.accounts.EasyBorrowService +import io.clearstreet.studio.services.blocking.accounts.EasyBorrowServiceImpl +import io.clearstreet.studio.services.blocking.accounts.LocateOrderService +import io.clearstreet.studio.services.blocking.accounts.LocateOrderServiceImpl +import io.clearstreet.studio.services.blocking.accounts.OrderService +import io.clearstreet.studio.services.blocking.accounts.OrderServiceImpl +import io.clearstreet.studio.services.blocking.accounts.PnlDetailService +import io.clearstreet.studio.services.blocking.accounts.PnlDetailServiceImpl +import io.clearstreet.studio.services.blocking.accounts.PnlSummaryService +import io.clearstreet.studio.services.blocking.accounts.PnlSummaryServiceImpl +import io.clearstreet.studio.services.blocking.accounts.PositionService +import io.clearstreet.studio.services.blocking.accounts.PositionServiceImpl +import io.clearstreet.studio.services.blocking.accounts.TradeService +import io.clearstreet.studio.services.blocking.accounts.TradeServiceImpl +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class AccountServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityService.kt similarity index 55% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityService.kt index 1eee9f7..167bfbe 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityService.kt @@ -2,17 +2,17 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Entity -import com.studio_sdk.api.models.EntityListParams -import com.studio_sdk.api.models.EntityListResponse -import com.studio_sdk.api.models.EntityRetrieveParams -import com.studio_sdk.api.services.blocking.entities.PnlSummaryService -import com.studio_sdk.api.services.blocking.entities.PortfolioMarginService -import com.studio_sdk.api.services.blocking.entities.RegtMarginService -import com.studio_sdk.api.services.blocking.entities.RegtMarginSimulationService +package io.clearstreet.studio.services.blocking + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Entity +import io.clearstreet.studio.models.EntityListParams +import io.clearstreet.studio.models.EntityListResponse +import io.clearstreet.studio.models.EntityRetrieveParams +import io.clearstreet.studio.services.blocking.entities.PnlSummaryService +import io.clearstreet.studio.services.blocking.entities.PortfolioMarginService +import io.clearstreet.studio.services.blocking.entities.RegtMarginService +import io.clearstreet.studio.services.blocking.entities.RegtMarginSimulationService interface EntityService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityServiceImpl.kt similarity index 70% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityServiceImpl.kt index 4d555dc..1994a30 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/EntityServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/EntityServiceImpl.kt @@ -1,28 +1,28 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking - -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Entity -import com.studio_sdk.api.models.EntityListParams -import com.studio_sdk.api.models.EntityListResponse -import com.studio_sdk.api.models.EntityRetrieveParams -import com.studio_sdk.api.services.blocking.entities.PnlSummaryService -import com.studio_sdk.api.services.blocking.entities.PnlSummaryServiceImpl -import com.studio_sdk.api.services.blocking.entities.PortfolioMarginService -import com.studio_sdk.api.services.blocking.entities.PortfolioMarginServiceImpl -import com.studio_sdk.api.services.blocking.entities.RegtMarginService -import com.studio_sdk.api.services.blocking.entities.RegtMarginServiceImpl -import com.studio_sdk.api.services.blocking.entities.RegtMarginSimulationService -import com.studio_sdk.api.services.blocking.entities.RegtMarginSimulationServiceImpl -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +package io.clearstreet.studio.services.blocking + +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Entity +import io.clearstreet.studio.models.EntityListParams +import io.clearstreet.studio.models.EntityListResponse +import io.clearstreet.studio.models.EntityRetrieveParams +import io.clearstreet.studio.services.blocking.entities.PnlSummaryService +import io.clearstreet.studio.services.blocking.entities.PnlSummaryServiceImpl +import io.clearstreet.studio.services.blocking.entities.PortfolioMarginService +import io.clearstreet.studio.services.blocking.entities.PortfolioMarginServiceImpl +import io.clearstreet.studio.services.blocking.entities.RegtMarginService +import io.clearstreet.studio.services.blocking.entities.RegtMarginServiceImpl +import io.clearstreet.studio.services.blocking.entities.RegtMarginSimulationService +import io.clearstreet.studio.services.blocking.entities.RegtMarginSimulationServiceImpl +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class EntityServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentService.kt index 098bbe5..779eea5 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking +package io.clearstreet.studio.services.blocking -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.Instrument -import com.studio_sdk.api.models.InstrumentRetrieveParams +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.Instrument +import io.clearstreet.studio.models.InstrumentRetrieveParams interface InstrumentService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceImpl.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceImpl.kt index 00ea316..48daa8b 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking +package io.clearstreet.studio.services.blocking -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.Instrument -import com.studio_sdk.api.models.InstrumentRetrieveParams -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.Instrument +import io.clearstreet.studio.models.InstrumentRetrieveParams +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class InstrumentServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderService.kt similarity index 84% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderService.kt index e3c4e41..f0bc5d0 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountBulkOrderCreateParams -import com.studio_sdk.api.models.AccountBulkOrderCreateResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountBulkOrderCreateParams +import io.clearstreet.studio.models.AccountBulkOrderCreateResponse interface BulkOrderService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceImpl.kt similarity index 77% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceImpl.kt index b03301b..47481e8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceImpl.kt @@ -1,19 +1,19 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountBulkOrderCreateParams -import com.studio_sdk.api.models.AccountBulkOrderCreateResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountBulkOrderCreateParams +import io.clearstreet.studio.models.AccountBulkOrderCreateResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class BulkOrderServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowService.kt index ca7276b..9fcf1b4 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountEasyBorrowListParams -import com.studio_sdk.api.models.AccountEasyBorrowListResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountEasyBorrowListParams +import io.clearstreet.studio.models.AccountEasyBorrowListResponse interface EasyBorrowService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceImpl.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceImpl.kt index e97eb09..1afe795 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountEasyBorrowListParams -import com.studio_sdk.api.models.AccountEasyBorrowListResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountEasyBorrowListParams +import io.clearstreet.studio.models.AccountEasyBorrowListResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class EasyBorrowServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderService.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderService.kt index 06493b4..a9775d6 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderService.kt @@ -2,15 +2,15 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts - -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountLocateOrderCreateParams -import com.studio_sdk.api.models.AccountLocateOrderListParams -import com.studio_sdk.api.models.AccountLocateOrderListResponse -import com.studio_sdk.api.models.AccountLocateOrderRetrieveParams -import com.studio_sdk.api.models.AccountLocateOrderUpdateParams -import com.studio_sdk.api.models.LocateOrder +package io.clearstreet.studio.services.blocking.accounts + +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountLocateOrderCreateParams +import io.clearstreet.studio.models.AccountLocateOrderListParams +import io.clearstreet.studio.models.AccountLocateOrderListResponse +import io.clearstreet.studio.models.AccountLocateOrderRetrieveParams +import io.clearstreet.studio.models.AccountLocateOrderUpdateParams +import io.clearstreet.studio.models.LocateOrder interface LocateOrderService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceImpl.kt similarity index 83% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceImpl.kt index c93e736..c099c89 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceImpl.kt @@ -1,24 +1,24 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountLocateOrderCreateParams -import com.studio_sdk.api.models.AccountLocateOrderListParams -import com.studio_sdk.api.models.AccountLocateOrderListResponse -import com.studio_sdk.api.models.AccountLocateOrderRetrieveParams -import com.studio_sdk.api.models.AccountLocateOrderUpdateParams -import com.studio_sdk.api.models.LocateOrder -import com.studio_sdk.api.services.emptyHandler -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountLocateOrderCreateParams +import io.clearstreet.studio.models.AccountLocateOrderListParams +import io.clearstreet.studio.models.AccountLocateOrderListResponse +import io.clearstreet.studio.models.AccountLocateOrderRetrieveParams +import io.clearstreet.studio.models.AccountLocateOrderUpdateParams +import io.clearstreet.studio.models.LocateOrder +import io.clearstreet.studio.services.emptyHandler +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class LocateOrderServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderService.kt similarity index 73% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderService.kt index c4e9d1b..e50a675 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderService.kt @@ -2,18 +2,18 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountOrderCancelParams -import com.studio_sdk.api.models.AccountOrderCreateParams -import com.studio_sdk.api.models.AccountOrderCreateResponse -import com.studio_sdk.api.models.AccountOrderDeleteParams -import com.studio_sdk.api.models.AccountOrderDeleteResponse -import com.studio_sdk.api.models.AccountOrderListParams -import com.studio_sdk.api.models.AccountOrderListResponse -import com.studio_sdk.api.models.AccountOrderRetrieveParams -import com.studio_sdk.api.models.AccountOrderRetrieveResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountOrderCancelParams +import io.clearstreet.studio.models.AccountOrderCreateParams +import io.clearstreet.studio.models.AccountOrderCreateResponse +import io.clearstreet.studio.models.AccountOrderDeleteParams +import io.clearstreet.studio.models.AccountOrderDeleteResponse +import io.clearstreet.studio.models.AccountOrderListParams +import io.clearstreet.studio.models.AccountOrderListResponse +import io.clearstreet.studio.models.AccountOrderRetrieveParams +import io.clearstreet.studio.models.AccountOrderRetrieveResponse interface OrderService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceImpl.kt similarity index 85% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceImpl.kt index ca0db7f..0eef851 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceImpl.kt @@ -1,27 +1,27 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountOrderCancelParams -import com.studio_sdk.api.models.AccountOrderCreateParams -import com.studio_sdk.api.models.AccountOrderCreateResponse -import com.studio_sdk.api.models.AccountOrderDeleteParams -import com.studio_sdk.api.models.AccountOrderDeleteResponse -import com.studio_sdk.api.models.AccountOrderListParams -import com.studio_sdk.api.models.AccountOrderListResponse -import com.studio_sdk.api.models.AccountOrderRetrieveParams -import com.studio_sdk.api.models.AccountOrderRetrieveResponse -import com.studio_sdk.api.services.emptyHandler -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountOrderCancelParams +import io.clearstreet.studio.models.AccountOrderCreateParams +import io.clearstreet.studio.models.AccountOrderCreateResponse +import io.clearstreet.studio.models.AccountOrderDeleteParams +import io.clearstreet.studio.models.AccountOrderDeleteResponse +import io.clearstreet.studio.models.AccountOrderListParams +import io.clearstreet.studio.models.AccountOrderListResponse +import io.clearstreet.studio.models.AccountOrderRetrieveParams +import io.clearstreet.studio.models.AccountOrderRetrieveResponse +import io.clearstreet.studio.services.emptyHandler +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class OrderServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailService.kt similarity index 63% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailService.kt index 5fbdb67..b9acfc8 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPnlDetailListParams -import com.studio_sdk.api.models.AccountPnlDetailListResponse +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPnlDetailListParams +import io.clearstreet.studio.models.AccountPnlDetailListResponse interface PnlDetailService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceImpl.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceImpl.kt index dbe22cf..7f55b5c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPnlDetailListParams -import com.studio_sdk.api.models.AccountPnlDetailListResponse -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPnlDetailListParams +import io.clearstreet.studio.models.AccountPnlDetailListResponse +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class PnlDetailServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryService.kt similarity index 63% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryService.kt index bdf4f68..7554b73 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummaryForAccount +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummaryForAccount interface PnlSummaryService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceImpl.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceImpl.kt index 15fcf51..22b9726 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummaryForAccount -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummaryForAccount +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class PnlSummaryServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionService.kt index 7a04925..a109d8d 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionService.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountPositionListParams -import com.studio_sdk.api.models.AccountPositionListResponse -import com.studio_sdk.api.models.AccountPositionRetrieveParams -import com.studio_sdk.api.models.Position +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountPositionListParams +import io.clearstreet.studio.models.AccountPositionListResponse +import io.clearstreet.studio.models.AccountPositionRetrieveParams +import io.clearstreet.studio.models.Position interface PositionService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceImpl.kt similarity index 78% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceImpl.kt index ed9a270..ace850e 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceImpl.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountPositionListParams -import com.studio_sdk.api.models.AccountPositionListResponse -import com.studio_sdk.api.models.AccountPositionRetrieveParams -import com.studio_sdk.api.models.Position -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountPositionListParams +import io.clearstreet.studio.models.AccountPositionListResponse +import io.clearstreet.studio.models.AccountPositionRetrieveParams +import io.clearstreet.studio.models.Position +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class PositionServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeService.kt index 6951752..93fd76e 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeService.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.AccountTradeListParams -import com.studio_sdk.api.models.AccountTradeListResponse -import com.studio_sdk.api.models.AccountTradeRetrieveParams -import com.studio_sdk.api.models.Trade +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.AccountTradeListParams +import io.clearstreet.studio.models.AccountTradeListResponse +import io.clearstreet.studio.models.AccountTradeRetrieveParams +import io.clearstreet.studio.models.Trade interface TradeService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceImpl.kt similarity index 78% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceImpl.kt index f28426e..e7ad163 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceImpl.kt @@ -1,20 +1,20 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.AccountTradeListParams -import com.studio_sdk.api.models.AccountTradeListResponse -import com.studio_sdk.api.models.AccountTradeRetrieveParams -import com.studio_sdk.api.models.Trade -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.AccountTradeListParams +import io.clearstreet.studio.models.AccountTradeListResponse +import io.clearstreet.studio.models.AccountTradeRetrieveParams +import io.clearstreet.studio.models.Trade +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class TradeServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryService.kt similarity index 64% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryService.kt index 66868d7..1ff66cc 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummary +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummary interface PnlSummaryService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceImpl.kt similarity index 68% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceImpl.kt index d2badba..18d7d64 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityPnlSummaryRetrieveParams -import com.studio_sdk.api.models.PnlSummary -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityPnlSummaryRetrieveParams +import io.clearstreet.studio.models.PnlSummary +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class PnlSummaryServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginService.kt index 5e1dd5d..6537128 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityPortfolioMarginRetrieveParams -import com.studio_sdk.api.models.PortfolioMargin +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityPortfolioMarginRetrieveParams +import io.clearstreet.studio.models.PortfolioMargin interface PortfolioMarginService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceImpl.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceImpl.kt index a2b7a44..327b88c 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityPortfolioMarginRetrieveParams -import com.studio_sdk.api.models.PortfolioMargin -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityPortfolioMarginRetrieveParams +import io.clearstreet.studio.models.PortfolioMargin +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class PortfolioMarginServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginService.kt similarity index 65% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginService.kt index a21934f..49f9b07 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginService.kt @@ -2,11 +2,11 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityRegtMarginRetrieveParams -import com.studio_sdk.api.models.RegtMargin +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityRegtMarginRetrieveParams +import io.clearstreet.studio.models.RegtMargin interface RegtMarginService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceImpl.kt similarity index 69% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceImpl.kt index 0896fcf..36be557 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceImpl.kt @@ -1,18 +1,18 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityRegtMarginRetrieveParams -import com.studio_sdk.api.models.RegtMargin -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityRegtMarginRetrieveParams +import io.clearstreet.studio.models.RegtMargin +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class RegtMarginServiceImpl constructor( diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationService.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationService.kt similarity index 75% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationService.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationService.kt index 58f98d6..60aee67 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationService.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationService.kt @@ -2,13 +2,13 @@ @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateParams -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateResponse -import com.studio_sdk.api.models.EntityRegtMarginSimulationRetrieveParams -import com.studio_sdk.api.models.RegtMarginSimulation +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateParams +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateResponse +import io.clearstreet.studio.models.EntityRegtMarginSimulationRetrieveParams +import io.clearstreet.studio.models.RegtMarginSimulation interface RegtMarginSimulationService { diff --git a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceImpl.kt b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceImpl.kt similarity index 80% rename from studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceImpl.kt rename to studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceImpl.kt index 56f5ac7..d1049cd 100644 --- a/studio-sdk-java-core/src/main/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceImpl.kt +++ b/studio-sdk-java-core/src/main/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceImpl.kt @@ -1,21 +1,21 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.core.ClientOptions -import com.studio_sdk.api.core.RequestOptions -import com.studio_sdk.api.core.http.HttpMethod -import com.studio_sdk.api.core.http.HttpRequest -import com.studio_sdk.api.core.http.HttpResponse.Handler -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateParams -import com.studio_sdk.api.models.EntityRegtMarginSimulationCreateResponse -import com.studio_sdk.api.models.EntityRegtMarginSimulationRetrieveParams -import com.studio_sdk.api.models.RegtMarginSimulation -import com.studio_sdk.api.services.errorHandler -import com.studio_sdk.api.services.json -import com.studio_sdk.api.services.jsonHandler -import com.studio_sdk.api.services.withErrorHandler +import io.clearstreet.studio.core.ClientOptions +import io.clearstreet.studio.core.RequestOptions +import io.clearstreet.studio.core.http.HttpMethod +import io.clearstreet.studio.core.http.HttpRequest +import io.clearstreet.studio.core.http.HttpResponse.Handler +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateParams +import io.clearstreet.studio.models.EntityRegtMarginSimulationCreateResponse +import io.clearstreet.studio.models.EntityRegtMarginSimulationRetrieveParams +import io.clearstreet.studio.models.RegtMarginSimulation +import io.clearstreet.studio.services.errorHandler +import io.clearstreet.studio.services.json +import io.clearstreet.studio.services.jsonHandler +import io.clearstreet.studio.services.withErrorHandler class RegtMarginSimulationServiceImpl constructor( diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/TestServerExtension.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/TestServerExtension.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/TestServerExtension.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/TestServerExtension.kt index 888b1d0..05db2ee 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/TestServerExtension.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/TestServerExtension.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api +package io.clearstreet.studio import java.lang.RuntimeException import java.net.URL diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/client/StudioSdkClientTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/client/StudioSdkClientTest.kt similarity index 68% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/client/StudioSdkClientTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/client/StudioSdkClientTest.kt index 35c79f0..022c054 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/client/StudioSdkClientTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/client/StudioSdkClientTest.kt @@ -1,5 +1,5 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.client +package io.clearstreet.studio.client class StudioSdkClientTest diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/HttpRequestTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/HttpRequestTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/HttpRequestTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/HttpRequestTest.kt index 2b0185b..c93e1b5 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/HttpRequestTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/HttpRequestTest.kt @@ -1,4 +1,4 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/RetryingHttpClientTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/RetryingHttpClientTest.kt similarity index 97% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/RetryingHttpClientTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/RetryingHttpClientTest.kt index 58fed2e..b46f6b3 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/RetryingHttpClientTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/RetryingHttpClientTest.kt @@ -1,10 +1,10 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import com.github.tomakehurst.wiremock.client.WireMock.* import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo import com.github.tomakehurst.wiremock.junit5.WireMockTest import com.github.tomakehurst.wiremock.stubbing.Scenario -import com.studio_sdk.api.client.okhttp.OkHttpClient +import io.clearstreet.studio.client.okhttp.OkHttpClient import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/SerializerTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/SerializerTest.kt similarity index 97% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/SerializerTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/SerializerTest.kt index 830651a..20b874d 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/core/http/SerializerTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/core/http/SerializerTest.kt @@ -1,10 +1,10 @@ -package com.studio_sdk.api.core.http +package io.clearstreet.studio.core.http import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize -import com.studio_sdk.api.core.* +import io.clearstreet.studio.core.* import java.util.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParamsTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParamsTest.kt index 29682c7..23dc3de 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponseTest.kt similarity index 97% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponseTest.kt index 0b08350..33d02e7 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountBulkOrderCreateResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountBulkOrderCreateResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParamsTest.kt index 847ce47..b2ca94d 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponseTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponseTest.kt index 027c795..1980e70 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountEasyBorrowListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountEasyBorrowListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListParamsTest.kt similarity index 74% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListParamsTest.kt index 51136c2..0bf7bf2 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test class AccountListParamsTest { diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListResponseTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListResponseTest.kt index 459de5c..2ae20b9 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParamsTest.kt similarity index 96% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParamsTest.kt index f927389..682d664 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderCreateParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderCreateParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParamsTest.kt index c81c57c..ad58742 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponseTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponseTest.kt index e672548..127f8a4 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParamsTest.kt similarity index 91% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParamsTest.kt index dfd82ef..42c3a08 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParamsTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParamsTest.kt index c1aff14..31ef2ec 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountLocateOrderUpdateParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountLocateOrderUpdateParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCancelParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCancelParamsTest.kt similarity index 91% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCancelParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCancelParamsTest.kt index 23aa43a..d6afc26 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCancelParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCancelParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateParamsTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateParamsTest.kt index 291eaf8..d170265 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponseTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponseTest.kt index 0d522ab..9b32bff 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderCreateResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderCreateResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParamsTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParamsTest.kt index 1c81511..369c947 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponseTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponseTest.kt index d94bef7..2c58cc6 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderDeleteResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderDeleteResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListParamsTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListParamsTest.kt index 9ad0f42..347fac7 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListResponseTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListResponseTest.kt index c816db3..a758bf8 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParamsTest.kt similarity index 91% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParamsTest.kt index 41852d6..89ebfa1 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponseTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponseTest.kt index 5b7b9a3..c94c24a 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountOrderRetrieveResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountOrderRetrieveResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParamsTest.kt index 9dce3d1..cab9505 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponseTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponseTest.kt index 00313b1..19ea4c3 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlDetailListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlDetailListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParamsTest.kt similarity index 90% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParamsTest.kt index 8590e70..6029b19 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPnlSummaryRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPnlSummaryRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListParamsTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListParamsTest.kt index 66e2b54..3127194 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListResponseTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListResponseTest.kt index fe4ce4e..67745a5 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParamsTest.kt similarity index 91% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParamsTest.kt index adb5116..e24f178 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountPositionRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountPositionRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountRetrieveParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountRetrieveParamsTest.kt index d99d3d7..c7534a1 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTest.kt index 6cd25cf..3a8966e 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListParamsTest.kt similarity index 94% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListParamsTest.kt index 9d39a93..500de80 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListResponseTest.kt similarity index 97% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListResponseTest.kt index d5aed73..a507001 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParamsTest.kt similarity index 91% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParamsTest.kt index 06b8edc..342ce87 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/AccountTradeRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/AccountTradeRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListParamsTest.kt similarity index 74% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListParamsTest.kt index 1562627..005fbae 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test class EntityListParamsTest { diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListResponseTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListResponseTest.kt index 2888bc0..a05c4de 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityListResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityListResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParamsTest.kt index f41826b..942c52f 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPnlSummaryRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPnlSummaryRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParamsTest.kt similarity index 90% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParamsTest.kt index 304279d..0fb6a3c 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityPortfolioMarginRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityPortfolioMarginRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParamsTest.kt index 5b1f1f4..7fb6e94 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParamsTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParamsTest.kt index 8b54462..7923860 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponseTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponseTest.kt similarity index 94% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponseTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponseTest.kt index e18d551..0859a51 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationCreateResponseTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationCreateResponseTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParamsTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParamsTest.kt index 0a5ee27..33a71af 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRegtMarginSimulationRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRegtMarginSimulationRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRetrieveParamsTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRetrieveParamsTest.kt index 61b3f14..ce8295d 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityTest.kt index 859eb91..dca86cb 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/EntityTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/EntityTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParamsTest.kt similarity index 95% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParamsTest.kt index 6e4772d..cf5a897 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentRetrieveParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentRetrieveParamsTest.kt @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models -import com.studio_sdk.api.models.* +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentTest.kt similarity index 97% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentTest.kt index 6b4a053..662aa17 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/InstrumentTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/InstrumentTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/LocateOrderTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/LocateOrderTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/LocateOrderTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/LocateOrderTest.kt index f2a6b3a..518effe 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/LocateOrderTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/LocateOrderTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/OrderTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/OrderTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/OrderTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/OrderTest.kt index ff8b91e..0e7b06c 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/OrderTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/OrderTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PnlSummaryTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PnlSummaryTest.kt similarity index 98% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PnlSummaryTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PnlSummaryTest.kt index 72b4b47..8f2790a 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PnlSummaryTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PnlSummaryTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PortfolioMarginTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PortfolioMarginTest.kt similarity index 99% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PortfolioMarginTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PortfolioMarginTest.kt index 98cd27c..2a6a4a1 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PortfolioMarginTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PortfolioMarginTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PositionTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PositionTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PositionTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PositionTest.kt index ae31452..933ff31 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/PositionTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/PositionTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginSimulationTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginSimulationTest.kt similarity index 99% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginSimulationTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginSimulationTest.kt index c858c26..dbd188a 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginSimulationTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginSimulationTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginTest.kt similarity index 99% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginTest.kt index c029701..0cfe1e0 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/RegtMarginTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/RegtMarginTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/TradeTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/TradeTest.kt similarity index 96% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/TradeTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/TradeTest.kt index 61b1e9e..863f8b9 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/models/TradeTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/models/TradeTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.models +package io.clearstreet.studio.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ErrorHandlingTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ErrorHandlingTest.kt similarity index 92% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ErrorHandlingTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ErrorHandlingTest.kt index 0c689d7..bf5f2fc 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ErrorHandlingTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ErrorHandlingTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services +package io.clearstreet.studio.services import com.fasterxml.jackson.databind.json.JsonMapper import com.github.tomakehurst.wiremock.client.WireMock.anyUrl @@ -12,21 +12,21 @@ import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo import com.github.tomakehurst.wiremock.junit5.WireMockTest import com.google.common.collect.ImmutableListMultimap import com.google.common.collect.ListMultimap -import com.studio_sdk.api.client.StudioSdkClient -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.core.JsonString -import com.studio_sdk.api.core.jsonMapper -import com.studio_sdk.api.errors.BadRequestException -import com.studio_sdk.api.errors.InternalServerException -import com.studio_sdk.api.errors.NotFoundException -import com.studio_sdk.api.errors.PermissionDeniedException -import com.studio_sdk.api.errors.RateLimitException -import com.studio_sdk.api.errors.StudioSdkError -import com.studio_sdk.api.errors.StudioSdkException -import com.studio_sdk.api.errors.UnauthorizedException -import com.studio_sdk.api.errors.UnexpectedStatusCodeException -import com.studio_sdk.api.errors.UnprocessableEntityException -import com.studio_sdk.api.models.* +import io.clearstreet.studio.client.StudioSdkClient +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.core.JsonString +import io.clearstreet.studio.core.jsonMapper +import io.clearstreet.studio.errors.BadRequestException +import io.clearstreet.studio.errors.InternalServerException +import io.clearstreet.studio.errors.NotFoundException +import io.clearstreet.studio.errors.PermissionDeniedException +import io.clearstreet.studio.errors.RateLimitException +import io.clearstreet.studio.errors.StudioSdkError +import io.clearstreet.studio.errors.StudioSdkException +import io.clearstreet.studio.errors.UnauthorizedException +import io.clearstreet.studio.errors.UnexpectedStatusCodeException +import io.clearstreet.studio.errors.UnprocessableEntityException +import io.clearstreet.studio.models.* import org.assertj.core.api.Assertions.assertThat import org.assertj.core.api.Assertions.assertThatThrownBy import org.assertj.core.api.InstanceOfAssertFactories diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ServiceParamsTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ServiceParamsTest.kt similarity index 90% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ServiceParamsTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ServiceParamsTest.kt index bd67a44..4255c24 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/ServiceParamsTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/ServiceParamsTest.kt @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services +package io.clearstreet.studio.services import com.fasterxml.jackson.databind.json.JsonMapper import com.github.tomakehurst.wiremock.client.WireMock.anyUrl @@ -13,10 +13,10 @@ import com.github.tomakehurst.wiremock.client.WireMock.stubFor import com.github.tomakehurst.wiremock.client.WireMock.verify import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo import com.github.tomakehurst.wiremock.junit5.WireMockTest -import com.studio_sdk.api.client.StudioSdkClient -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.core.jsonMapper -import com.studio_sdk.api.models.* +import io.clearstreet.studio.client.StudioSdkClient +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.core.jsonMapper +import io.clearstreet.studio.models.* import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/AccountServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/AccountServiceTest.kt similarity index 84% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/AccountServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/AccountServiceTest.kt index 0963b4a..2013a89 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/AccountServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/AccountServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking +package io.clearstreet.studio.services.blocking -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/EntityServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/EntityServiceTest.kt similarity index 84% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/EntityServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/EntityServiceTest.kt index 60ea918..5dc50db 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/EntityServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/EntityServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking +package io.clearstreet.studio.services.blocking -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceTest.kt similarity index 80% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceTest.kt index 8121606..59a412a 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/InstrumentServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/InstrumentServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking +package io.clearstreet.studio.services.blocking -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceTest.kt similarity index 89% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceTest.kt index 14e9a69..be9eee2 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/BulkOrderServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/BulkOrderServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceTest.kt similarity index 78% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceTest.kt index d4101f8..73f6a70 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/EasyBorrowServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/EasyBorrowServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceTest.kt similarity index 92% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceTest.kt index 30e597b..53d2548 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/LocateOrderServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/LocateOrderServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceTest.kt similarity index 94% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceTest.kt index 371a2c9..95ac711 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/OrderServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/OrderServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceTest.kt similarity index 77% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceTest.kt index 050314c..d618985 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlDetailServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlDetailServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceTest.kt similarity index 77% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceTest.kt index 91ecdd9..4ecf121 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PnlSummaryServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PnlSummaryServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceTest.kt similarity index 86% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceTest.kt index 865eb92..99d13ff 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/PositionServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/PositionServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceTest.kt similarity index 86% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceTest.kt index 56bcb5e..838c78a 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/accounts/TradeServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/accounts/TradeServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.accounts +package io.clearstreet.studio.services.blocking.accounts -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceTest.kt similarity index 77% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceTest.kt index 178f5b4..3c89ea9 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PnlSummaryServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PnlSummaryServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceTest.kt similarity index 78% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceTest.kt index 96d5be8..0ebac71 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/PortfolioMarginServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/PortfolioMarginServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceTest.kt similarity index 77% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceTest.kt index ac0eaa3..e2fe630 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith diff --git a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceTest.kt b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceTest.kt similarity index 93% rename from studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceTest.kt rename to studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceTest.kt index b3afd91..68ec4ef 100644 --- a/studio-sdk-java-core/src/test/kotlin/com/studio_sdk/api/services/blocking/entities/RegtMarginSimulationServiceTest.kt +++ b/studio-sdk-java-core/src/test/kotlin/io/clearstreet/studio/services/blocking/entities/RegtMarginSimulationServiceTest.kt @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. -package com.studio_sdk.api.services.blocking.entities +package io.clearstreet.studio.services.blocking.entities -import com.studio_sdk.api.TestServerExtension -import com.studio_sdk.api.client.okhttp.StudioSdkOkHttpClient -import com.studio_sdk.api.models.* +import io.clearstreet.studio.TestServerExtension +import io.clearstreet.studio.client.okhttp.StudioSdkOkHttpClient +import io.clearstreet.studio.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith