import { CreatePolicyRequest as CreatePolicyRequest$1, CreatePolicyResponse as CreatePolicyResponse$1, UpdatePolicyRequest as UpdatePolicyRequest$1, UpdatePolicyResponse as UpdatePolicyResponse$1, DeletePolicyRequest as DeletePolicyRequest$1, DeletePolicyResponse as DeletePolicyResponse$1, QueryPoliciesRequest as QueryPoliciesRequest$1, QueryPoliciesResponse as QueryPoliciesResponse$1, ReorderEventPoliciesRequest as ReorderEventPoliciesRequest$1, ReorderEventPoliciesResponse as ReorderEventPoliciesResponse$1, GetPolicyRequest as GetPolicyRequest$1, GetPolicyResponse as GetPolicyResponse$1 } from './index.typings.js'; import '@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. * * To prevent conflicting changes, the current revision must be used when updating a policy. * @readonly */ revision?: string | null; /** * Date and time the policy was created in `yyyy-mm-ddThh:mm:sssZ` format. * @readonly */ createdDate?: Date | null; /** * Date and time the policy was updated in `yyyy-mm-ddThh:mm:sssZ` format. * @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 contains various terms and conditions. * * Min: 1 character * Max: 50,000 characters * * Note: You can format text using various HTML tags such as `

`, ``, `