UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

115 lines (114 loc) 5.57 kB
/** * 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 MemberInvite */ export interface MemberInvite { /** * The Project's Revision Creation Date * @type {Date} * @memberof MemberInvite */ readonly created_at: Date; /** * The invite's ID. * @type {string} * @memberof MemberInvite */ readonly id: string; /** * The invitee's email * @type {string} * @memberof MemberInvite */ invitee_email: string; /** * * @type {string} * @memberof MemberInvite */ invitee_id?: string | null; /** * The invite owner's email * Usually the project's owner email * @type {string} * @memberof MemberInvite */ owner_email: string; /** * The invite owner's ID * Usually the project's owner * @type {string} * @memberof MemberInvite */ owner_id: string; /** * * @type {string} * @memberof MemberInvite */ project_id?: string | null; /** * * @type {string} * @memberof MemberInvite */ role?: string | null; /** * The invite's status * Keeps track of the invites status such as pending, accepted, declined, expired * pending PENDING * accepted ACCEPTED * declined DECLINED * expired EXPIRED * cancelled CANCELLED * removed REMOVED * @type {string} * @memberof MemberInvite */ status: MemberInviteStatusEnum; /** * Last Time Project's Revision was Updated * @type {Date} * @memberof MemberInvite */ readonly updated_at: Date; /** * * @type {string} * @memberof MemberInvite */ workspace_id?: string | null; } /** * @export */ export declare const MemberInviteStatusEnum: { readonly Pending: "pending"; readonly Accepted: "accepted"; readonly Declined: "declined"; readonly Expired: "expired"; readonly Cancelled: "cancelled"; readonly Removed: "removed"; readonly UnknownDefaultOpenApi: "11184809"; }; export type MemberInviteStatusEnum = typeof MemberInviteStatusEnum[keyof typeof MemberInviteStatusEnum]; /** * Check if a given object implements the MemberInvite interface. */ export declare function instanceOfMemberInvite(value: object): value is MemberInvite; export declare function MemberInviteFromJSON(json: any): MemberInvite; export declare function MemberInviteFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemberInvite; export declare function MemberInviteToJSON(json: any): MemberInvite; export declare function MemberInviteToJSONTyped(value?: Omit<MemberInvite, 'created_at' | 'id' | 'updated_at'> | null, ignoreDiscriminator?: boolean): any;