import { SdPlatformModelTokenScopes } from "../commons/SdPlatformModelTokenScopes"; import { SdPlatformOrganizationTokenScopes } from "../commons/SdPlatformOrganizationTokenScopes"; import { SdPlatformUserTokenScopes } from "../commons/SdPlatformUserTokenScopes"; /** * Scopes allowed when creating a geometry backend token (model, user, or organization target). */ export type SdPlatformGeometryBackendTokenScope = SdPlatformModelTokenScopes | SdPlatformUserTokenScopes | SdPlatformOrganizationTokenScopes; /** * DTO for requesting a token for accessing models, users, or organizations on a ShapeDiver Geometry Backend system. */ export interface SdPlatformRequestModelTokenCreate { /** * Id of the model for which to create a geometry backend access token. */ id?: string; /** * Ids of the models for which to create an authorization group and a geometry backend access token. */ ids?: Array; /** * Platform user ids for which to create a geometry backend access token. */ user_ids?: Array; /** * Platform organization ids for which to create a geometry backend access token. */ org_ids?: Array; /** * Alias of the geometry backend system. Required when {@link user_ids} or {@link org_ids} is set. */ backend_system_alias?: string; /** * Token scopes to include. Allowed values depend on whether a model, user, or organization token is requested. */ scope: Array; /** * The lifetime of a token in seconds, which is only set if lifetime is less then minimum lifetime for a client. */ lifetime?: number; } //# sourceMappingURL=SdPlatformRequestModelToken.d.ts.map