import type { SourceCodeRedirectInfo } from './SourceCodeRedirectInfo'; import type { SourceCodeSpecification } from './SourceCodeSpecification'; /** * @type SourceCodeGroup: Document representing a source code group. * * @property active: The active flag, a computed value based on start and end time. * * @property activeRedirect: The active redirect information. * * @property cookieDuration: The cookie duration in days. * * @property creationDate: Returns the value of attribute \'creationDate\'. * * @property description: The description. * * @property enabled: The enabled flag for storefront to consider the source code group, default to false. * * @property endTime: The end time. * * @property id: The ID of source code group. * - **Min Length:** 1 * - **Max Length:** 28 * * @property inactiveRedirect: The inactive redirect information. * * @property lastModified: Returns the value of attribute \'lastModified\'. * * @property specifications: Source code specifications. * * @property startTime: The start time. * */ export type SourceCodeGroup = { active?: boolean; activeRedirect?: SourceCodeRedirectInfo; cookieDuration?: number; creationDate?: string; description?: string; enabled?: boolean; endTime?: string; id: string; inactiveRedirect?: SourceCodeRedirectInfo; lastModified?: string; specifications?: Array; startTime?: string; } & { [key: string]: any; };