box-node-sdk
Version:
Official SDK for Box Platform APIs
38 lines • 1.95 kB
TypeScript
import { SerializedData } from '../../serialization/json.js';
export type HubUpdateRequestV2025R0CopyHubAccessField = 'all' | 'company' | 'none' | string;
export interface HubUpdateRequestV2025R0 {
/**
* Title of the Box Hub. It cannot be empty and should be less than 50 characters. */
readonly title?: string;
/**
* Description of the Box Hub. */
readonly description?: string;
/**
* Indicates if AI features are enabled for the Box Hub. */
readonly isAiEnabled?: boolean;
/**
* Indicates if collaboration is restricted to the enterprise. */
readonly isCollaborationRestrictedToEnterprise?: boolean;
/**
* Indicates if non-owners can invite others to the Box Hub. */
readonly canNonOwnersInvite?: boolean;
/**
* Indicates if a shared link can be created for the Box Hub. */
readonly canSharedLinkBeCreated?: boolean;
/**
* Indicates if a public shared link can be created for the Box Hub. */
readonly canPublicSharedLinkBeCreated?: boolean;
/**
* Specifies who is allowed to copy the Box Hub.
*
* * `all` - Any user with access to the Hub can copy it.
* * `company` - Only users within the same enterprise as the Hub can copy it.
* * `none` - No one can copy the Hub. */
readonly copyHubAccess?: HubUpdateRequestV2025R0CopyHubAccessField;
readonly rawData?: SerializedData;
}
export declare function serializeHubUpdateRequestV2025R0CopyHubAccessField(val: HubUpdateRequestV2025R0CopyHubAccessField): SerializedData;
export declare function deserializeHubUpdateRequestV2025R0CopyHubAccessField(val: SerializedData): HubUpdateRequestV2025R0CopyHubAccessField;
export declare function serializeHubUpdateRequestV2025R0(val: HubUpdateRequestV2025R0): SerializedData;
export declare function deserializeHubUpdateRequestV2025R0(val: SerializedData): HubUpdateRequestV2025R0;
//# sourceMappingURL=hubUpdateRequestV2025R0.d.ts.map