/** * 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. */ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme'; import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum'; /** * * @export * @interface BackupKeySharesToLocationsRequestLocations */ export interface BackupKeySharesToLocationsRequestLocations { /** * * @type {WaasBackupOptionsEnum} * @memberof BackupKeySharesToLocationsRequestLocations */ location: WaasBackupOptionsEnum; /** * * @type {string} * @memberof BackupKeySharesToLocationsRequestLocations */ keygenId?: string; /** * * @type {ThresholdSignatureScheme} * @memberof BackupKeySharesToLocationsRequestLocations */ thresholdSignatureScheme?: ThresholdSignatureScheme; /** * * @type {string} * @memberof BackupKeySharesToLocationsRequestLocations */ externalKeyShareId?: string; /** * Audit-only indicator of which OAuth token the client used to back * up this location: `external` (consumer-supplied, e.g. Fanpla's own * Drive-scoped token) or `stored_oauth` (resolved from the user's * linked account). Enum only — never the token value. Currently set * only for the `googleDrive` location; persisted verbatim on the * `backupKeyShares` wallet action metadata. * @type {string} * @memberof BackupKeySharesToLocationsRequestLocations */ tokenSource?: BackupKeySharesToLocationsRequestLocationsTokenSourceEnum; } /** * @export * @enum {string} */ export declare enum BackupKeySharesToLocationsRequestLocationsTokenSourceEnum { External = "external", StoredOauth = "stored_oauth" } export declare function BackupKeySharesToLocationsRequestLocationsFromJSON(json: any): BackupKeySharesToLocationsRequestLocations; export declare function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsRequestLocations; export declare function BackupKeySharesToLocationsRequestLocationsToJSON(value?: BackupKeySharesToLocationsRequestLocations | null): any;