/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Discriminator for what kind of share this reshare ceremony is minting. * Determines the destination of the new share, whether a webhook fires, * and what BackupLocation tag is applied. Defaults to `rootUser` for * backwards compatibility with clients that don't yet pass the field. * * * `rootUser` — refresh/rotate the user's primary shares (password * change, key rotation). Shares stay on the user's device + Dynamic. * * `cloudBackup` — add a cloud-stored share (Google Drive / iCloud). * Encrypted with the user's password and uploaded to the third-party * provider determined by request context. * * `delegation` — add a delegated signing share. Encrypted with the * env's delegated-access RSA key and POSTed to the env's * `delegatedAccessEndpoint`. Includes an encrypted wallet API key so * the developer can sign on behalf of the user. * * `offlineRecovery` — add a non-signing recovery share. Same endpoint * + RSA key as `delegation`, but no API key in the payload and the * resulting share is tagged `BackupLocation: 'offlineRecovery'` so * wallet-service refuses to use it for signing. * @export * @enum {string} */ export declare enum ReshareKind { RootUser = "rootUser", CloudBackup = "cloudBackup", Delegation = "delegation", OfflineRecovery = "offlineRecovery" } export declare function ReshareKindFromJSON(json: any): ReshareKind; export declare function ReshareKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareKind; export declare function ReshareKindToJSON(value?: ReshareKind | null): any;