Skip to content

Commit

Permalink
generated from 792335b8e4467e41f39301db34a4316dec610c62
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 26, 2024
1 parent 2c78b0a commit 0e63f20
Show file tree
Hide file tree
Showing 290 changed files with 1,811 additions and 1,322 deletions.
85 changes: 85 additions & 0 deletions dist/generated/Auth/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,25 @@ export interface SoftwareTokenSecretCode {
*/
'secret_code': string;
}
/**
*
* @export
* @interface StripeCustomer
*/
export interface StripeCustomer {
/**
* stripe Customer ID
* @type {string}
* @memberof StripeCustomer
*/
'customer_id': string;
/**
* stripe Subscription Schedule ID
* @type {string}
* @memberof StripeCustomer
*/
'subscription_schedule_id': string;
}
/**
*
* @export
Expand Down Expand Up @@ -4546,6 +4565,14 @@ export declare const TenantApiAxiosParamCreator: (configuration?: Configuration)
* @throws {RequiredError}
*/
deleteTenant: (tenantId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStripeCustomer: (tenantId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -4648,6 +4675,14 @@ export declare const TenantApiFp: (configuration?: Configuration) => {
* @throws {RequiredError}
*/
deleteTenant(tenantId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStripeCustomer(tenantId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeCustomer>>;
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -4750,6 +4785,14 @@ export declare const TenantApiFactory: (configuration?: Configuration, basePath?
* @throws {RequiredError}
*/
deleteTenant(tenantId: string, options?: any): AxiosPromise<void>;
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStripeCustomer(tenantId: string, options?: any): AxiosPromise<StripeCustomer>;
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -4858,6 +4901,15 @@ export declare class TenantApi extends BaseAPI {
* @memberof TenantApi
*/
deleteTenant(tenantId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof TenantApi
*/
getStripeCustomer(tenantId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StripeCustomer, any>>;
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -5584,6 +5636,14 @@ export declare const UserInfoApiAxiosParamCreator: (configuration?: Configuratio
* @throws {RequiredError}
*/
getUserInfo: (token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserInfoByEmail: (email: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* UserInfoApi - functional programming interface
Expand All @@ -5598,6 +5658,14 @@ export declare const UserInfoApiFp: (configuration?: Configuration) => {
* @throws {RequiredError}
*/
getUserInfo(token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInfo>>;
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserInfoByEmail(email: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInfo>>;
};
/**
* UserInfoApi - factory interface
Expand All @@ -5612,6 +5680,14 @@ export declare const UserInfoApiFactory: (configuration?: Configuration, basePat
* @throws {RequiredError}
*/
getUserInfo(token: string, options?: any): AxiosPromise<UserInfo>;
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserInfoByEmail(email: string, options?: any): AxiosPromise<UserInfo>;
};
/**
* UserInfoApi - object-oriented interface
Expand All @@ -5629,4 +5705,13 @@ export declare class UserInfoApi extends BaseAPI {
* @memberof UserInfoApi
*/
getUserInfo(token: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInfo, any>>;
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof UserInfoApi
*/
getUserInfoByEmail(email: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInfo, any>>;
}
110 changes: 110 additions & 0 deletions dist/saasus-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3540,6 +3540,38 @@
options: localVarRequestOptions,
};
},
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStripeCustomer: async (tenantId, options = {}) => {
// verify required parameter 'tenantId' is not null or undefined
assertParamExists$3('getStripeCustomer', 'tenantId', tenantId);
const localVarPath = `/tenants/{tenant_id}/stripe-customer`
.replace(`{${"tenant_id"}}`, encodeURIComponent(String(tenantId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
const localVarHeaderParameter = {};
const localVarQueryParameter = {};
// authentication Bearer required
// http bearer authentication required
await setBearerAuthToObject$5(localVarHeaderParameter, configuration);
setSearchParams$5(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
return {
url: toPathString$5(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -3851,6 +3883,17 @@
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTenant(tenantId, options);
return createRequestFunction$5(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH$5, configuration);
},
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getStripeCustomer(tenantId, options) {
const localVarAxiosArgs = await localVarAxiosParamCreator.getStripeCustomer(tenantId, options);
return createRequestFunction$5(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH$5, configuration);
},
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -3992,6 +4035,17 @@
deleteTenant(tenantId, options) {
return TenantApiFp(this.configuration).deleteTenant(tenantId, options).then((request) => request(this.axios, this.basePath));
}
/**
* Get the Stripe Customer information associated with the tenant, including their subscriptions.
* @summary Get Stripe Customer
* @param {string} tenantId Tenant ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof TenantApi
*/
getStripeCustomer(tenantId, options) {
return TenantApiFp(this.configuration).getStripeCustomer(tenantId, options).then((request) => request(this.axios, this.basePath));
}
/**
* Get the details of tenant managed on the SaaSus Platform.
* @summary Get Tenant Details
Expand Down Expand Up @@ -5104,6 +5158,40 @@
options: localVarRequestOptions,
};
},
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserInfoByEmail: async (email, options = {}) => {
// verify required parameter 'email' is not null or undefined
assertParamExists$3('getUserInfoByEmail', 'email', email);
const localVarPath = `/userinfo/search/email`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
const localVarHeaderParameter = {};
const localVarQueryParameter = {};
// authentication Bearer required
// http bearer authentication required
await setBearerAuthToObject$5(localVarHeaderParameter, configuration);
if (email !== undefined) {
localVarQueryParameter['email'] = email;
}
setSearchParams$5(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
return {
url: toPathString$5(localVarUrlObj),
options: localVarRequestOptions,
};
},
};
};
/**
Expand All @@ -5124,6 +5212,17 @@
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfo(token, options);
return createRequestFunction$5(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH$5, configuration);
},
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getUserInfoByEmail(email, options) {
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfoByEmail(email, options);
return createRequestFunction$5(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH$5, configuration);
},
};
};
/**
Expand All @@ -5144,6 +5243,17 @@
getUserInfo(token, options) {
return UserInfoApiFp(this.configuration).getUserInfo(token, options).then((request) => request(this.axios, this.basePath));
}
/**
* Get user information by email address.
* @summary Get User Info by Email
* @param {string} email Email
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof UserInfoApi
*/
getUserInfoByEmail(email, options) {
return UserInfoApiFp(this.configuration).getUserInfoByEmail(email, options).then((request) => request(this.axios, this.basePath));
}
}

/* tslint:disable */
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/ApiLog_api.ApiLogApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ApiLogApi

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

## Properties

Expand All @@ -71,7 +71,7 @@ ApiLogApi

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

___

Expand All @@ -85,7 +85,7 @@ ___

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

___

Expand All @@ -99,7 +99,7 @@ ___

#### Defined in

[src/generated/ApiLog/base.ts:50](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L50)
[src/generated/ApiLog/base.ts:50](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L50)

## Methods

Expand Down Expand Up @@ -132,7 +132,7 @@ ApiLogApi

#### Defined in

[src/generated/ApiLog/api.ts:433](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/api.ts#L433)
[src/generated/ApiLog/api.ts:433](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/api.ts#L433)

___

Expand Down Expand Up @@ -168,4 +168,4 @@ ApiLogApi

#### Defined in

[src/generated/ApiLog/api.ts:448](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/api.ts#L448)
[src/generated/ApiLog/api.ts:448](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/api.ts#L448)
10 changes: 5 additions & 5 deletions docs/classes/ApiLog_api.ErrorApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ErrorApi

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

## Properties

Expand All @@ -70,7 +70,7 @@ ErrorApi

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

___

Expand All @@ -84,7 +84,7 @@ ___

#### Defined in

[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L52)
[src/generated/ApiLog/base.ts:52](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L52)

___

Expand All @@ -98,7 +98,7 @@ ___

#### Defined in

[src/generated/ApiLog/base.ts:50](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/base.ts#L50)
[src/generated/ApiLog/base.ts:50](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/base.ts#L50)

## Methods

Expand Down Expand Up @@ -130,4 +130,4 @@ ErrorApi

#### Defined in

[src/generated/ApiLog/api.ts:550](https://github.com/saasus-platform/saasus-sdk-javascript/blob/6b95732/src/generated/ApiLog/api.ts#L550)
[src/generated/ApiLog/api.ts:550](https://github.com/saasus-platform/saasus-sdk-javascript/blob/2c78b0a/src/generated/ApiLog/api.ts#L550)
Loading

0 comments on commit 0e63f20

Please sign in to comment.