Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/auth/CreateSaasUserParam.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**email** | **String** | E-mail | |
|**password** | **String** | Password | |
|**password** | **String** | Password | [optional] |



2 changes: 1 addition & 1 deletion docs/auth/SaasUserApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public class Example {

Create SaaS User

Create SaaS User.
Create SaaS User. If attributes is empty, a temporary password will be sent to the registered email.

### Example
```java
Expand Down
16 changes: 8 additions & 8 deletions docs/auth/SingleTenantApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ All URIs are relative to *https://api.saasus.io/v1/auth*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**getCloudFormationLaunchStackLinkForSingleTenant**](SingleTenantApi.md#getCloudFormationLaunchStackLinkForSingleTenant) | **GET** /single-tenant/cloudformation-launch-stack-link | Get CloudFormation Stack Launch Link For Single Tenant |
| [**getSingleTenantSettings**](SingleTenantApi.md#getSingleTenantSettings) | **GET** /single-tenant/settings | Retrieve the settings of the single tenant. |
| [**updateSingleTenantSettings**](SingleTenantApi.md#updateSingleTenantSettings) | **PATCH** /single-tenant/settings | Update configuration information for single-tenant functionality |
| [**getCloudFormationLaunchStackLinkForSingleTenant**](SingleTenantApi.md#getCloudFormationLaunchStackLinkForSingleTenant) | **GET** /single-tenant/cloudformation-launch-stack-link | Get CloudFormation Stack Launch Link For SaaS Infrastructure Management |
| [**getSingleTenantSettings**](SingleTenantApi.md#getSingleTenantSettings) | **GET** /single-tenant/settings | Retrieve the settings of the SaaS Infrastructure Management. |
| [**updateSingleTenantSettings**](SingleTenantApi.md#updateSingleTenantSettings) | **PATCH** /single-tenant/settings | Update configuration information for SaaS Infrastructure Management |


<a id="getCloudFormationLaunchStackLinkForSingleTenant"></a>
# **getCloudFormationLaunchStackLinkForSingleTenant**
> CloudFormationLaunchStackLink getCloudFormationLaunchStackLinkForSingleTenant()

Get CloudFormation Stack Launch Link For Single Tenant
Get CloudFormation Stack Launch Link For SaaS Infrastructure Management

Get the CloudFormation stack activation link for Single Tenant.
Get the CloudFormation stack activation link for SaaS Infrastructure Management.

### Example
```java
Expand Down Expand Up @@ -77,7 +77,7 @@ This endpoint does not need any parameter.
# **getSingleTenantSettings**
> SingleTenantSettings getSingleTenantSettings()

Retrieve the settings of the single tenant.
Retrieve the settings of the SaaS Infrastructure Management.

### Example
```java
Expand Down Expand Up @@ -139,9 +139,9 @@ This endpoint does not need any parameter.
# **updateSingleTenantSettings**
> updateSingleTenantSettings(updateSingleTenantSettingsParam)

Update configuration information for single-tenant functionality
Update configuration information for SaaS Infrastructure Management

Updates configuration information for single-tenant functionality Returns error if single tenant feature cannot be enabled.
Updates configuration information for SaaS Infrastructure Management Returns error if SaaS Infrastructure Management feature cannot be enabled.

### Example
```java
Expand Down
2 changes: 1 addition & 1 deletion docs/auth/SingleTenantSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**enabled** | **Boolean** | enable Single Tenant settings or not | |
|**enabled** | **Boolean** | enable SaaS Infrastructure Management settings or not | |
|**roleArn** | **String** | ARN of the role for SaaS Platform to AssumeRole | |
|**cloudformationTemplateUrl** | **String** | S3 URL where the CloudFormationTemplate to be executed in the SaaS environment is stored | |
|**ddlTemplateUrl** | **String** | S3 URL where the CloudFormationTemplate to be executed in the SaaS environment is stored | |
Expand Down
14 changes: 14 additions & 0 deletions docs/auth/StripeCustomer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# StripeCustomer


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**customerId** | **String** | stripe Customer ID | |
|**subscriptionScheduleId** | **String** | stripe Subscription Schedule ID | |



69 changes: 69 additions & 0 deletions docs/auth/TenantApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All URIs are relative to *https://api.saasus.io/v1/auth*
| [**createTenantAndPricing**](TenantApi.md#createTenantAndPricing) | **PATCH** /stripe/init | Stripe Initial Setting |
| [**deleteStripeTenantAndPricing**](TenantApi.md#deleteStripeTenantAndPricing) | **DELETE** /stripe | Delete Customer and Product From Stripe |
| [**deleteTenant**](TenantApi.md#deleteTenant) | **DELETE** /tenants/{tenant_id} | Delete Tenant |
| [**getStripeCustomer**](TenantApi.md#getStripeCustomer) | **GET** /tenants/{tenant_id}/stripe-customer | Get Stripe Customer |
| [**getTenant**](TenantApi.md#getTenant) | **GET** /tenants/{tenant_id} | Get Tenant Details |
| [**getTenantIdentityProviders**](TenantApi.md#getTenantIdentityProviders) | **GET** /tenants/{tenant_id}/identity-providers | Get identity provider per tenant |
| [**getTenants**](TenantApi.md#getTenants) | **GET** /tenants | Get Tenants |
Expand Down Expand Up @@ -279,6 +280,74 @@ null (empty response body)
| **200** | OK | - |
| **500** | Internal Server Error | - |

<a id="getStripeCustomer"></a>
# **getStripeCustomer**
> StripeCustomer getStripeCustomer(tenantId)

Get Stripe Customer

Get the Stripe Customer information associated with the tenant, including their subscriptions.

### Example
```java
// Import classes:
import saasus.sdk.auth.ApiClient;
import saasus.sdk.auth.ApiException;
import saasus.sdk.auth.Configuration;
import saasus.sdk.auth.auth.*;
import saasus.sdk.auth.models.*;
import saasus.sdk.auth.api.TenantApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.saasus.io/v1/auth");

// Configure HTTP bearer authorization: Bearer
HttpBearerAuth Bearer = (HttpBearerAuth) defaultClient.getAuthentication("Bearer");
Bearer.setBearerToken("BEARER TOKEN");

TenantApi apiInstance = new TenantApi(defaultClient);
String tenantId = "tenantId_example"; // String | Tenant ID
try {
StripeCustomer result = apiInstance.getStripeCustomer(tenantId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TenantApi#getStripeCustomer");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| Tenant ID | |

### Return type

[**StripeCustomer**](StripeCustomer.md)

### Authorization

[Bearer](../README.md#Bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **500** | Internal Server Error | - |

<a id="getTenant"></a>
# **getTenant**
> TenantDetail getTenant(tenantId)
Expand Down
2 changes: 1 addition & 1 deletion docs/auth/UpdateSingleTenantSettingsParam.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**enabled** | **Boolean** | enable Single Tenant settings or not | [optional] |
|**enabled** | **Boolean** | enable SaaS Infrastructure Management settings or not | [optional] |
|**roleArn** | **String** | ARN of the role for SaaS Platform to AssumeRole | [optional] |
|**cloudformationTemplate** | **String** | CloudFormation template file | [optional] |
|**ddlTemplate** | **String** | ddl file to run in SaaS environment | [optional] |
Expand Down
70 changes: 70 additions & 0 deletions docs/auth/UserInfoApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All URIs are relative to *https://api.saasus.io/v1/auth*
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**getUserInfo**](UserInfoApi.md#getUserInfo) | **GET** /userinfo | Get User Info |
| [**getUserInfoByEmail**](UserInfoApi.md#getUserInfoByEmail) | **GET** /userinfo/search/email | Get User Info by Email |


<a id="getUserInfo"></a>
Expand Down Expand Up @@ -76,3 +77,72 @@ public class Example {
| **401** | Unauthorized | - |
| **500** | Internal Server Error | - |

<a id="getUserInfoByEmail"></a>
# **getUserInfoByEmail**
> UserInfo getUserInfoByEmail(email)

Get User Info by Email

Get user information by email address.

### Example
```java
// Import classes:
import saasus.sdk.auth.ApiClient;
import saasus.sdk.auth.ApiException;
import saasus.sdk.auth.Configuration;
import saasus.sdk.auth.auth.*;
import saasus.sdk.auth.models.*;
import saasus.sdk.auth.api.UserInfoApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.saasus.io/v1/auth");

// Configure HTTP bearer authorization: Bearer
HttpBearerAuth Bearer = (HttpBearerAuth) defaultClient.getAuthentication("Bearer");
Bearer.setBearerToken("BEARER TOKEN");

UserInfoApi apiInstance = new UserInfoApi(defaultClient);
String email = "email_example"; // String | Email
try {
UserInfo result = apiInstance.getUserInfoByEmail(email);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserInfoApi#getUserInfoByEmail");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **email** | **String**| Email | |

### Return type

[**UserInfo**](UserInfo.md)

### Authorization

[Bearer](../README.md#Bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **404** | Not Found | - |
| **500** | Internal Server Error | - |

2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package saasus.sdk.apilog;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class Configuration {
public static final String VERSION = "1.0.0";

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package saasus.sdk.apilog;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/auth/ApiKeyAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/auth/HttpBearerAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Optional;
import java.util.function.Supplier;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private Supplier<String> tokenSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public abstract class AbstractOpenApiSchema {

// store the actual instance of the schema/object
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/models/ApiLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/**
* ApiLog
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class ApiLog {
public static final String SERIALIZED_NAME_TRACE_ID = "trace_id";
@SerializedName(SERIALIZED_NAME_TRACE_ID)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/models/ApiLogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/**
* ApiLogs
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class ApiLogs {
public static final String SERIALIZED_NAME_API_LOGS = "api_logs";
@SerializedName(SERIALIZED_NAME_API_LOGS)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/apilog/models/Error.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/**
* Error
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:40.405574501Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:19.402234454Z[Etc/UTC]")
public class Error {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/auth/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:21.529968105Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:01.025650104Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/auth/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package saasus.sdk.auth;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:21.529968105Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:01.025650104Z[Etc/UTC]")
public class Configuration {
public static final String VERSION = "1.0.0";

Expand Down
1 change: 1 addition & 0 deletions src/main/java/saasus/sdk/auth/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.SignUpWithAwsMarketplaceParam.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.SingleTenantSettings.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.SoftwareTokenSecretCode.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.StripeCustomer.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.Tenant.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.TenantAttributes.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new saasus.sdk.auth.models.TenantDetail.CustomTypeAdapterFactory());
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/auth/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package saasus.sdk.auth;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:21.529968105Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:01.025650104Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/saasus/sdk/auth/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-16T05:09:21.529968105Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-26T03:51:01.025650104Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
Loading