import * as _wix_sdk_types from '@wix/sdk-types'; import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types'; /** * A Policy is a set of terms and conditions attached to a specific event and shown during RSVP or checkout. * * You can use Policies to communicate refund, cancellation, and ticket-transfer rules by defining a policy name and body that attendees acknowledge. */ interface Policy { /** * Policy ID. * @format GUID * @readonly */ _id?: string | null; /** * Revision number, which increments by 1 each time the policy is updated. The existing revision must be used when updating a policy to prevent conflicting changes. You'll get an error if you try to use the previous revision. * @readonly */ revision?: string | null; /** * Date and time when the policy was created. * @readonly */ _createdDate?: Date | null; /** * Date and time of the policy's latest update in. * @readonly */ _updatedDate?: Date | null; /** * Policy name that is visible in the dashboard and checkout form. * * Min: 1 character * * Max: 40 characters * @minLength 1 * @maxLength 40 */ name?: string; /** * Policy body, usually containing various terms and conditions. * * Min: 1 character * * Max: 50000 characters. * * **Note**: You can format text using various HTML tags such as `

`, ``, `