@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
150 lines (149 loc) • 8.03 kB
TypeScript
/**
* Ory APIs
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
*
* The version of the OpenAPI document: v1.20.10
* Contact: support@ory.sh
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface QuotaUsage
*/
export interface QuotaUsage {
/**
* The additional price per unit in cents.
* @type {string}
* @memberof QuotaUsage
*/
additional_price: string;
/**
*
* @type {boolean}
* @memberof QuotaUsage
*/
can_use_more: boolean;
/**
*
* production_projects ProductionProjects
* staging_projects StagingProjects
* development_projects DevelopmentProjects
* daily_active_users DailyActiveUsers
* custom_domains CustomDomains
* event_streams EventStreams
* event_stream_events EventStreamEvents
* sla SLA
* collaborator_seats CollaboratorSeats
* edge_cache EdgeCache
* branding_themes BrandingThemes
* zendesk_support ZendeskSupport
* project_metrics ProjectMetrics
* project_metrics_time_window ProjectMetricsTimeWindow
* project_metrics_events_history ProjectMetricsEventsHistory
* organizations Organizations
* rop_grant ResourceOwnerPasswordGrant
* concierge_onboarding ConciergeOnboarding
* credit Credit
* data_location_global DataLocationGlobal
* data_location_us DataLocationUS
* data_location_asiane DataLocationAsiaNorthEast
* m2m_token_issuance M2MTokenIssuance
* permission_checks PermissionChecks
* captcha Captcha
* saml_sp SAMLSP
* saml_idp SAMLIDP
* auto_link_policy AutoLinkPolicy
* scim_clients SCIMClients
* default_smtp_email_customization DefaultSMTPEmailCustomization
* data_location_regional DataLocationRegional Required Features
* rate_limit_tier RateLimitTier
* session_rate_limit_tier RateLimitTierSessions
* identities_list_rate_limit_tier RateLimitTierIdentitiesList
* permission_checks_rate_limit_tier RateLimitTierPermissionChecks
* oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect
* create_recovery_admin_rate_limit_tier RateLimitTierCreateAdminRecovery
* @type {string}
* @memberof QuotaUsage
*/
feature: QuotaUsageFeatureEnum;
/**
*
* @type {boolean}
* @memberof QuotaUsage
*/
feature_available: boolean;
/**
*
* @type {number}
* @memberof QuotaUsage
*/
included: number;
/**
*
* @type {boolean}
* @memberof QuotaUsage
*/
is_unlimited: boolean;
/**
*
* @type {number}
* @memberof QuotaUsage
*/
used: number;
}
/**
* @export
*/
export declare const QuotaUsageFeatureEnum: {
readonly ProductionProjects: "production_projects";
readonly StagingProjects: "staging_projects";
readonly DevelopmentProjects: "development_projects";
readonly DailyActiveUsers: "daily_active_users";
readonly CustomDomains: "custom_domains";
readonly EventStreams: "event_streams";
readonly EventStreamEvents: "event_stream_events";
readonly Sla: "sla";
readonly CollaboratorSeats: "collaborator_seats";
readonly EdgeCache: "edge_cache";
readonly BrandingThemes: "branding_themes";
readonly ZendeskSupport: "zendesk_support";
readonly ProjectMetrics: "project_metrics";
readonly ProjectMetricsTimeWindow: "project_metrics_time_window";
readonly ProjectMetricsEventsHistory: "project_metrics_events_history";
readonly Organizations: "organizations";
readonly RopGrant: "rop_grant";
readonly ConciergeOnboarding: "concierge_onboarding";
readonly Credit: "credit";
readonly DataLocationGlobal: "data_location_global";
readonly DataLocationUs: "data_location_us";
readonly DataLocationAsiane: "data_location_asiane";
readonly M2mTokenIssuance: "m2m_token_issuance";
readonly PermissionChecks: "permission_checks";
readonly Captcha: "captcha";
readonly SamlSp: "saml_sp";
readonly SamlIdp: "saml_idp";
readonly AutoLinkPolicy: "auto_link_policy";
readonly ScimClients: "scim_clients";
readonly DefaultSmtpEmailCustomization: "default_smtp_email_customization";
readonly DataLocationRegional: "data_location_regional";
readonly RateLimitTier: "rate_limit_tier";
readonly SessionRateLimitTier: "session_rate_limit_tier";
readonly IdentitiesListRateLimitTier: "identities_list_rate_limit_tier";
readonly PermissionChecksRateLimitTier: "permission_checks_rate_limit_tier";
readonly Oauth2IntrospectRateLimitTier: "oauth2_introspect_rate_limit_tier";
readonly CreateRecoveryAdminRateLimitTier: "create_recovery_admin_rate_limit_tier";
readonly UnknownDefaultOpenApi: "11184809";
};
export type QuotaUsageFeatureEnum = typeof QuotaUsageFeatureEnum[keyof typeof QuotaUsageFeatureEnum];
/**
* Check if a given object implements the QuotaUsage interface.
*/
export declare function instanceOfQuotaUsage(value: object): value is QuotaUsage;
export declare function QuotaUsageFromJSON(json: any): QuotaUsage;
export declare function QuotaUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotaUsage;
export declare function QuotaUsageToJSON(json: any): QuotaUsage;
export declare function QuotaUsageToJSONTyped(value?: QuotaUsage | null, ignoreDiscriminator?: boolean): any;