import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility"; import { SdPlatformOrganizationMemberRole } from "../commons/SdPlatformOrganizationCommons"; import { SdPlatformOrganizationTokenScopes } from "../commons/SdPlatformOrganizationTokenScopes"; /** * DTO for creating an organization */ export interface SdPlatformRequestOrganizationCreate { /** * Name of the organization, minimum 5 characters. */ name: string; /** * Avatar image base64 encoded, maximum 1MB */ avatar?: string; /** * Visibility of the organization. */ visibility?: SdPlatformOrganizationVisibility; /** * Should sharing be allowed for organization members? */ allow_sharing?: boolean; /** * Should private link sharing be allowed for organization members? */ allow_link_sharing?: boolean; /** * Should organization members be allowed to expose their email address? */ allow_expose_email?: boolean; /** * Website of organization. */ website?: string; /** * Description of organization */ description?: string; } /** * DTO creating an organization - admin access level */ export interface SdPlatformOrganizationCreateAdmin extends SdPlatformRequestOrganizationCreate { /** * The primary domain of an organization. */ domain?: string; /** * The domains of an organization. */ domains?: string[]; } /** * DTO for patching an organization - organization administrator access level */ export interface SdPlatformRequestOrganizationPatchAdministrator { /** * Visibility of the organization. */ visibility?: SdPlatformOrganizationVisibility; /** * Should sharing be allowed for organization members? */ allow_sharing?: boolean; /** * Should private link sharing be allowed for organization members? */ allow_link_sharing?: boolean; /** * Should organization members be allowed to expose their email address? */ allow_expose_email?: boolean; /** * Website of organization. */ website?: string; /** * Description of organization */ description?: string; /** * List of host names (optionally including port) to set as allowed domains for embedding. */ accessdomains?: Array; /** * Should {@link SdPlatformResponseModelOwner.require_token} be forced to true for all models of the organization? */ force_require_token?: boolean; /** * Should credit consumption be limited once the monthly quota has been reached? */ limit_credit_consumption?: boolean; /** * updates the default backend system for the organization based on the given backend system alias, */ backend_system_alias?: string; /** * Should webhook calls shall be allowed? */ allow_webhook?: boolean; /** * The default team for the organization. */ default_team?: string; /** * Consider organization teams. */ filter_by_team?: boolean; /** * List of query parameters which should always be added before opening Apps. */ app_builder_url_params?: { [id: string]: string; }; /** * App mode of the organization. */ appmode?: boolean; } /** * DTO for patching an organization - organization owner access level */ export interface SdPlatformRequestOrganizationPatchOwner extends SdPlatformRequestOrganizationPatchAdministrator { /** * Name of the organization. */ name?: string; /** * avatar image base64 encoded, maximum 1MB */ avatar?: string; /** * URL-compatible short name of the organization, minimum 5 characters. Used for links to the organizations's profile on the ShapeDiver Platform. */ slug?: string; /** Max excess credit */ max_excess_credits?: number; } /** * DTO for patching an organization - admin access level */ export interface SdPlatformRequestOrganizationPatchAdmin extends SdPlatformRequestOrganizationPatchOwner { /** * Id of the geometry backend system of the organization. */ backend_system_id?: string; /** * Chargebee customer id of the organization. */ chargebee_customer_id?: string; /** * The primary domain of an organization. */ domain?: string; /** * The domains of an organization. */ domains?: string[]; /** * updates the application name prefix */ app_builder_slug?: string; } /** * DTO for patching an organization - admin access level */ export type SdPlatformRequestOrganizationPatchAny = SdPlatformRequestOrganizationPatchAdmin | SdPlatformRequestOrganizationPatchOwner | SdPlatformRequestOrganizationPatchAdministrator; /** * DTO for patching an organization user - organization admin/owner access level */ export interface SdPlatformRequestOrganizationPatchMemberRole { /** * Organization role of the user. */ organization_role?: SdPlatformOrganizationMemberRole; /** * Organization team of the user. */ organization_team?: string; } /** * DTO for getting a organization token */ export interface SdPlatformRequestOrganizationToken { timestamp_from: number; timestamp_to: number; scope: SdPlatformOrganizationTokenScopes; } //# sourceMappingURL=SdPlatformRequestOrganization.d.ts.map