@apet97/clockify115-sdk - v0.1.0
    Preparing search index...
    interface CreateTimeOffPolicyRequestBody {
        allowHalfDay?: boolean;
        allowNegativeBalance?: boolean;
        approve: PolicyApprovalDto;
        archived?: boolean;
        automaticAccrual?: AutomaticAccrualRequest;
        automaticTimeEntryCreation?: AutomaticTimeEntryCreationRequest;
        color?: string;
        everyoneIncludingNew?: boolean;
        hasExpiration?: boolean;
        icon?:
            | "UMBRELLA"
            | "SNOWFLAKE"
            | "FAMILY"
            | "PLANE"
            | "STETHOSCOPE"
            | "HEALTH_METRICS"
            | "CHILDCARE"
            | "LUGGAGE"
            | "MONETIZATION"
            | "CALENDAR";
        name: string;
        negativeBalance?: NegativeBalanceRequest;
        timeUnit?: "DAYS"
        | "HOURS";
        userGroups?: PoliciesUserGroupIdsSchema;
        users?: PoliciesUserIdsSchema;
    }
    Index
    allowHalfDay?: boolean

    Indicates whether policy allows half days.

    allowNegativeBalance?: boolean

    Indicates whether policy allows negative balances.

    archived?: boolean

    Indicates whether policy is archived.

    automaticAccrual?: AutomaticAccrualRequest
    automaticTimeEntryCreation?: AutomaticTimeEntryCreationRequest
    color?: string

    Policy color as a hex RGB value.

    everyoneIncludingNew?: boolean

    Indicates whether policy is applied to future new users.

    hasExpiration?: boolean

    Indicates whether the policy balance should have expiration.

    icon?:
        | "UMBRELLA"
        | "SNOWFLAKE"
        | "FAMILY"
        | "PLANE"
        | "STETHOSCOPE"
        | "HEALTH_METRICS"
        | "CHILDCARE"
        | "LUGGAGE"
        | "MONETIZATION"
        | "CALENDAR"

    Policy icon.

    name: string

    Represents a name of the new policy.

    negativeBalance?: NegativeBalanceRequest
    timeUnit?: "DAYS" | "HOURS"

    Indicates time unit of the policy.