@levo-so/client
Version:
<img alt="Levo" src="https://static.levocdn.com/png/Levo-Logo.png" width="50" height="50">
3,196 lines (3,185 loc) • 671 kB
TypeScript
import type { FieldValueType } from './types/lema';
/**
* The root type for the "Beacon Notification" (`so_levo_beacon_notification`) collection.
*/
type so_levo_beacon_notification_root = {
/**
* "Id" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Slug" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
*/
slug: string;
/**
* "Provider" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: "sendgrid"
*
*/
provider: string;
/**
* "Job Id" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
job_id: string;
/**
* "Subject" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
subject: string;
/**
* "Content" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
content: string;
/**
* "Key" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: "richtext"
*
*/
key: string;
/**
* "Variables" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: json
*
*/
variables: FieldValueType['json'] | null;
/**
* "Status" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "draft", "scheduled", "sent", "archived", "failed", "scheduled", "processed", "delivered", "open", "click", "spamreport", "bounce", "unsubscribed"
*
* Default Value: "draft"
*
*/
status: "draft" | "scheduled" | "sent" | "archived" | "failed" | "scheduled" | "processed" | "delivered" | "open" | "click" | "spamreport" | "bounce" | "unsubscribed";
/**
* "From Name" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
from_name: string;
/**
* "To" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-string
*
*/
to: string[];
/**
* "Reply to" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Formats: "email"
*
*/
reply_to: string;
/**
* "Redacted" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-string
*
*/
redacted: string[];
/**
* "Module" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
module: {
/**
* "Name" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
name: string;
/**
* "Context" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
context: string;
/**
* "Context Label" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
context_label: string;
/**
* "Key" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
key: string;
/**
* "Identifier" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
identifier: string;
/**
* "Identifier Label" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
identifier_label: string;
};
/**
* "Auto Generated" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
* Default Value: true
*
*/
auto_generated: boolean;
/**
* "Email Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
email_count: number | null;
/**
* "Processed Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
processed_count: number | null;
/**
* "Delivered Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
delivered_count: number | null;
/**
* "Open Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
open_count: number | null;
/**
* "Click Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
click_count: number | null;
/**
* "Spamreport Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
spamreport_count: number | null;
/**
* "Bounced Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
bounced_count: number | null;
/**
* "Unsubscribed Count" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
unsubscribed_count: number | null;
/**
* "Scheduled at" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
scheduled_at: Date | string | null;
/**
* "Template" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
template: string | so_levo_beacon_template_root | null;
/**
* "Created at" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Created by" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
created_by: string | so_levo_membership_staff_root | null;
/**
* "Updated at" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
/**
* "Updated by" field in the "so_levo_beacon_notification" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
updated_by: string | so_levo_membership_staff_root | null;
}
/**
* The root type for the "Beacon Delivery" (`so_levo_beacon_delivery`) collection.
*/
type so_levo_beacon_delivery_root = {
/**
* "Id" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Notification Id" field in the "so_levo_beacon_delivery" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: collection
*
*/
notification_id: string | so_levo_beacon_notification_root;
/**
* "Message Id" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
message_id: string;
/**
* "Status" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "failed", "scheduled", "processed", "delivered", "open", "click", "spamreport", "bounce", "unsubscribed"
*
* Default Value: "scheduled"
*
*/
status: "failed" | "scheduled" | "processed" | "delivered" | "open" | "click" | "spamreport" | "bounce" | "unsubscribed";
/**
* "Email" field in the "so_levo_beacon_delivery" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
email: string;
/**
* "Events" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-json
*
*/
events: FieldValueType['array-json'];
/**
* "Account" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
account: string | so_levo_membership_account_root | null;
/**
* "Failure Reasons" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
failure_reasons: string;
/**
* "Processed at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
processed_at: Date | string | null;
/**
* "Delivered at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
delivered_at: Date | string | null;
/**
* "Open at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
open_at: Date | string | null;
/**
* "Click at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
click_at: Date | string | null;
/**
* "Spamreport at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
spamreport_at: Date | string | null;
/**
* "Bounced at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
bounced_at: Date | string | null;
/**
* "Unsubscribed at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
unsubscribed_at: Date | string | null;
/**
* "Created at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Updated at" field in the "so_levo_beacon_delivery" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
}
/**
* The root type for the "Beacon Template" (`so_levo_beacon_template`) collection.
*/
type so_levo_beacon_template_root = {
/**
* "Id" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Title" field in the "so_levo_beacon_template" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
title: string;
/**
* "Slug" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
*/
slug: string;
/**
* "Subject" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
subject: string;
/**
* "Content" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
content: string;
/**
* "Module" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
module: {
/**
* "Name" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
name: string;
/**
* "Context" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
context: string;
/**
* "Context Label" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
context_label: string;
/**
* "Key" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
key: string;
/**
* "Identifier" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
identifier: string;
/**
* "Identifier Label" field in the "module" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
identifier_label: string;
};
/**
* "Created at" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Created by" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
created_by: string | so_levo_membership_staff_root | null;
/**
* "Updated at" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
/**
* "Updated by" field in the "so_levo_beacon_template" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
updated_by: string | so_levo_membership_staff_root | null;
}
/**
* The root type for the "Membership Account" (`so_levo_membership_account`) collection.
*/
type so_levo_membership_account_root = {
/**
* "Id" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Slug" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Formats: "slug"
*
*/
slug: string;
/**
* "First Name" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Max: 128
*
*/
first_name: string;
/**
* "Last Name" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Max: 128
*
*/
last_name: string;
/**
* "Email" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Min: 6
*
* Max: 128
*
* Formats: "email"
*
*/
email: string;
/**
* "Display Email" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Min: 6
*
* Max: 128
*
* Readonly: Yes
*
* Formats: "email"
*
*/
display_email: string;
/**
* "Reducted Email" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Max: 128
*
* Readonly: Yes
*
*/
reducted_email: string;
/**
* "Username" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Min: 1
*
* Max: 30
*
* Formats: "username"
*
*/
username: string;
/**
* "Organizations" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-string
*
*/
organizations: string[];
/**
* "Mobile" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Formats: "phone"
*
*/
mobile: string;
/**
* "Reducted Mobile" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Max: 16
*
* Readonly: Yes
*
*/
reducted_mobile: string;
/**
* "Profile Picture" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: file
*
*/
profile_picture: FieldValueType['file'] | null;
/**
* "Verified At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
verified_at: Date | string | null;
/**
* "Email Verified At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
email_verified_at: Date | string | null;
/**
* "Mobile Verified At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
mobile_verified_at: Date | string | null;
/**
* "Last Access At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
last_access_at: Date | string | null;
/**
* "Account Locked At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
account_locked_at: Date | string | null;
/**
* "Credentials Expired At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
credentials_expired_at: Date | string | null;
/**
* "Referral Code" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
*/
referral_code: string;
/**
* "Deactivated At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
deactivated_at: Date | string | null;
/**
* "Flagged At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
flagged_at: Date | string | null;
/**
* "Created At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
created_at: Date | string | null;
/**
* "Updated At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
updated_at: Date | string | null;
/**
* "Onboarded At" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Readonly: Yes
*
*/
onboarded_at: Date | string | null;
/**
* "Password" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Min: 8
*
* Max: 64
*
*/
password: string;
/**
* "Two-Factor Authentication Secret" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
tfa_secret: string;
/**
* "Source" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
* Default Value: null
*
* Readonly: Yes
*
*/
source: {
/**
* "Method" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "automated", "otp", "password", "google", "microsoft", "magic_link"
*
* Readonly: Yes
*
*/
method: "automated" | "otp" | "password" | "google" | "microsoft" | "magic_link";
/**
* "Kind" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "session", "dashboard", "automated"
*
* Readonly: Yes
*
*/
kind: "session" | "dashboard" | "automated";
/**
* "Module" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "so.levo.blog", "so.levo.beacon", "so.levo.event", "so.levo.membership", "so.levo.payment", "so.levo.collection", "so.levo.studio", "com.google.search_console"
*
* Readonly: Yes
*
*/
module: "so.levo.blog" | "so.levo.beacon" | "so.levo.event" | "so.levo.membership" | "so.levo.payment" | "so.levo.collection" | "so.levo.studio" | "com.google.search_console";
/**
* "Context" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
context: string;
/**
* "Context Label" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
context_label: string;
/**
* "Resource" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
resource: string;
/**
* "Identifier" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
identifier: string;
/**
* "Identifier Label" field in the "source" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
identifier_label: string;
};
/**
* "Acquisition Visit" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Readonly: Yes
*
*/
acquisition_visit: string | so_levo_membership_visit_root | null;
/**
* "Acquisition Page" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
* Default Value: null
*
* Readonly: Yes
*
*/
acquisition_page: {
/**
* "URL" field in the "acquisition_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
url: string;
/**
* "Hostname" field in the "acquisition_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
hostname: string;
/**
* "Pathname" field in the "acquisition_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
pathname: string;
/**
* "Page ID" field in the "acquisition_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
id: string;
/**
* "Studio Title" field in the "acquisition_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
title: string;
};
/**
* "Conversion Visit" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Readonly: Yes
*
*/
conversion_visit: string | so_levo_membership_visit_root | null;
/**
* "Conversion Page" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
* Default Value: null
*
* Readonly: Yes
*
*/
conversion_page: {
/**
* "URL" field in the "conversion_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
url: string;
/**
* "Hostname" field in the "conversion_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
hostname: string;
/**
* "Pathname" field in the "conversion_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
pathname: string;
/**
* "Page ID" field in the "conversion_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
id: string;
/**
* "Studio Title" field in the "conversion_page" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Readonly: Yes
*
*/
title: string;
};
/**
* "OAuth Credentials" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: group
*
* Default Value: []
*
* Readonly: Yes
*
*/
oauth_credentials: {
/**
* "Provider" field in the "oauth_credentials" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "google", "microsoft"
*
*/
provider: "google" | "microsoft";
/**
* "OAuth Id" field in the "oauth_credentials" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: []
*
* Readonly: Yes
*
*/
oauth_id: string;
}[];
/**
* "Attendees" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: []
*
* Readonly: Yes
*
*/
attendees: so_levo_event_attendee_root[];
/**
* "Bookings" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: []
*
* Readonly: Yes
*
*/
bookings: so_levo_event_booking_root[];
/**
* "Deliveries" field in the "so_levo_membership_account" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: []
*
* Readonly: Yes
*
*/
deliveries: so_levo_beacon_delivery_root[];
}
/**
* The root type for the "Membership Otp" (`so_levo_membership_otp`) collection.
*/
type so_levo_membership_otp_root = {
/**
* "Id" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Code" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
code: string;
/**
* "Content" field in the "so_levo_membership_otp" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
content: string;
/**
* "Medium" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "mobile", "email", "whatsapp"
*
* Default Value: "email"
*
*/
medium: "mobile" | "email" | "whatsapp";
/**
* "Attempt" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Max: 5
*
* Default Value: 0
*
*/
attempt: number | null;
/**
* "Created at" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Expires at" field in the "so_levo_membership_otp" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
expires_at: Date | string | null;
}
/**
* The root type for the "Membership Staff" (`so_levo_membership_staff`) collection.
*/
type so_levo_membership_staff_root = {
/**
* "Id" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Slug" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Formats: "slug"
*
*/
slug: string;
/**
* "First Name" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
first_name: string;
/**
* "Last Name" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
last_name: string;
/**
* "Email" field in the "so_levo_membership_staff" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
* Formats: "email"
*
*/
email: string;
/**
* "Bio" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
bio: string;
/**
* "Profile Picture" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: file
*
*/
profile_picture: FieldValueType['file'] | null;
/**
* "Website" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Formats: "url"
*
*/
website: string;
/**
* "Og Image" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: file
*
*/
og_image: FieldValueType['file'] | null;
/**
* "Og Title" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
og_title: string;
/**
* "Og Description" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
og_description: string;
/**
* "Meta Title" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
meta_title: string;
/**
* "Meta Description" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
meta_description: string;
/**
* "Posts" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: []
*
*/
posts: string[] | so_levo_blog_post_root[];
/**
* "Last Access at" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
last_access_at: Date | string | null;
/**
* "Active at" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
active_at: Date | string | null;
/**
* "Created at" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Updated at" field in the "so_levo_membership_staff" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
}
/**
* The root type for the "Membership Organization" (`so_levo_membership_organization`) collection.
*/
type so_levo_membership_organization_root = {
/**
* "Id" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Name" field in the "so_levo_membership_organization" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
name: string;
/**
* "Member Count" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
member_count: number | null;
/**
* "Size" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "1-10", "10-100", "100-1000", "1000+"
*
*/
size: "1-10" | "10-100" | "100-1000" | "1000+";
/**
* "Accounts" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-string
*
*/
accounts: string[];
/**
* "Owner" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
owner: string;
/**
* "Approval Status" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Values: "Pending", "Approved", "Rejected"
*
* Default Value: "Pending"
*
*/
approval_status: Date | string | null;
/**
* "Approval Updated by" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
approval_updated_by: string | so_levo_membership_account_root | null;
/**
* "Approval Updated at" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
approval_updated_at: Date | string | null;
/**
* "Referral Count" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
referral_count: number | null;
/**
* "Referral Code" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
*/
referral_code: string;
/**
* "Created at" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Updated at" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
/**
* "Deleted at" field in the "so_levo_membership_organization" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
deleted_at: Date | string | null;
}
/**
* The root type for the "Membership Visit" (`so_levo_membership_visit`) collection.
*/
type so_levo_membership_visit_root = {
/**
* "Id" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Device Id" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
device_id: string;
/**
* "City" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
city: string;
/**
* "Country" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
country: string;
/**
* "Continent" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
continent: string;
/**
* "Zip" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
zip: string;
/**
* "Hostname" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
hostname: string;
/**
* "Query Params" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: json
*
*/
query_params: FieldValueType['json'] | null;
/**
* "Url" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
url: string;
/**
* "Dark Mode" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
dark_mode: boolean;
/**
* "Paid" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
paid: boolean;
/**
* "Ad Source" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: json
*
*/
ad_source: FieldValueType['json'] | null;
/**
* "Hosting" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
hosting: boolean;
/**
* "Ip" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
ip: string;
/**
* "Latitude" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
*/
latitude: number | null;
/**
* "Longitude" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
*/
longitude: number | null;
/**
* "Locale" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
locale: string;
/**
* "Mobile" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
mobile: boolean;
/**
* "Offset" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
*/
offset: number | null;
/**
* "Private Mode" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
private_mode: boolean;
/**
* "Proxy" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
*/
proxy: boolean;
/**
* "Referrer" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
referrer: {
/**
* "Referrer" field in the "referrer" collection.
*
* Required: No
*
* Unique: No
*
* Type: json
*
*/
referrer: FieldValueType['json'] | null;
/**
* "Data" field in the "referrer" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
data: {
};
/**
* "Type" field in the "referrer" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
type: string;
};
/**
* "Region" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
region: string;
/**
* "Timezone" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
timezone: string;
/**
* "Os Name" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
os_name: string;
/**
* "Os Version" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
os_version: string;
/**
* "Browser Name" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
browser_name: string;
/**
* "Browser Version" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
browser_version: string;
/**
* "Device" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
device: string;
/**
* "Device Model" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
device_model: string;
/**
* "Device Brand" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
device_brand: string;
/**
* "Device Name" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
device_name: string;
/**
* "Display Language" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
display_language: {
/**
* "Code" field in the "display_language" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
code: string;
/**
* "Label" field in the "display_language" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
label: string;
};
/**
* "Display Referrer" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: record
*
*/
display_referrer: {
/**
* "Domain" field in the "display_referrer" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
domain: string;
/**
* "Label" field in the "display_referrer" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
label: string;
};
/**
* "Created at" field in the "so_levo_membership_visit" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
}
/**
* The root type for the "Membership Segment" (`so_levo_membership_segment`) collection.
*/
type so_levo_membership_segment_root = {
/**
* "Id" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Slug" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: Yes
*
* Type: string
*
* Formats: "slug"
*
*/
slug: string;
/**
* "Title" field in the "so_levo_membership_segment" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
* Max: 255
*
*/
title: string;
/**
* "Accounts" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-string
*
*/
accounts: string[];
/**
* "Member Count" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
member_count: number | null;
/**
* "Filters" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: json
*
* Default Value: {}
*
*/
filters: FieldValueType['json'] | null;
/**
* "Created at" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Updated at" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
/**
* "Created by" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
created_by: string | so_levo_membership_staff_root | null;
/**
* "Updated by" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
updated_by: string | so_levo_membership_staff_root | null;
/**
* "Deleted at" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
deleted_at: Date | string | null;
/**
* "Deleted by" field in the "so_levo_membership_segment" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
deleted_by: string | so_levo_membership_staff_root | null;
}
/**
* The root type for the "Membership Import" (`so_levo_membership_import`) collection.
*/
type so_levo_membership_import_root = {
/**
* "Id" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Segment" field in the "so_levo_membership_import" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: collection
*
*/
segment: string | so_levo_membership_segment_root;
/**
* "Job Id" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
job_id: string;
/**
* "Filename" field in the "so_levo_membership_import" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
filename: string;
/**
* "Location" field in the "so_levo_membership_import" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
location: string;
/**
* "Status" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "pending", "processing", "failed", "completed"
*
*/
status: "pending" | "processing" | "failed" | "completed";
/**
* "Total" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
total: number | null;
/**
* "Processed" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
processed: number | null;
/**
* "Failed" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
failed: number | null;
/**
* "Succeeded" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
succeeded: number | null;
/**
* "Errors" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: array-json
*
* Default Value: []
*
*/
errors: FieldValueType['array-json'];
/**
* "Created at" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
created_at: Date | string | null;
/**
* "Updated at" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
*/
updated_at: Date | string | null;
/**
* "Created by" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
created_by: string | so_levo_membership_staff_root | null;
/**
* "Updated by" field in the "so_levo_membership_import" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
*/
updated_by: string | so_levo_membership_staff_root | null;
}
/**
* The root type for the "Event" (`event`) collection.
*/
type event_root = {
/**
* "Event Type" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: null
*
*/
event_type: string | event_type_root | null;
/**
* "Chapter" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: collection
*
* Default Value: null
*
*/
chapter: string | chapter_root | null;
/**
* "Is Featured" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
* Default Value: false
*
*/
is_featured: boolean;
/**
* "Contact" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: group
*
* Default Value: []
*
*/
contact: {
/**
* "Name" field in the "contact" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: ""
*
*/
name: string;
/**
* "Email" field in the "contact" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: ""
*
*/
email: string;
/**
* "Phone" field in the "contact" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: ""
*
*/
phone: string;
}[];
/**
* "Trailer Link" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Default Value: ""
*
* Formats: "url"
*
*/
trailer_link: string;
/**
* "Id" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: identifier
*
*/
_id: string;
/**
* "Cover Image" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: file
*
*/
cover_image: FieldValueType['file'] | null;
/**
* "Title" field in the "event" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
*/
title: string;
/**
* "Kind" field in the "event" collection.
*
* Required: Yes
*
* Unique: No
*
* Type: string
*
* Values: "virtual", "in_person", "hybrid"
*
*/
kind: "virtual" | "in_person" | "hybrid";
/**
* "Timing" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "one_time", "recurring"
*
* Default Value: "one_time"
*
*/
timing: "one_time" | "recurring";
/**
* "Url" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Formats: "url"
*
*/
url: string;
/**
* "External Ticketing" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Formats: "url"
*
*/
external_ticketing: string;
/**
* "Location" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: location
*
*/
location: FieldValueType['location'] | null;
/**
* "Starts at" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Min: ends_at
*
*/
starts_at: Date | string | null;
/**
* "Ends at" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: date
*
* Max: starts_at
*
*/
ends_at: Date | string | null;
/**
* "Cadence" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "daily", "weekly", "monthly", "yearly"
*
*/
cadence: "daily" | "weekly" | "monthly" | "yearly";
/**
* "Repeat Every" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
*/
repeat_every: number | null;
/**
* "Description" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
description: string;
/**
* "Slug" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
*/
slug: string;
/**
* "Status" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Values: "draft", "published", "canceled"
*
* Default Value: "draft"
*
*/
status: "draft" | "published" | "canceled";
/**
* "Accept Registration" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: boolean
*
* Default Value: true
*
*/
accept_registration: boolean;
/**
* "Contact Email" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: string
*
* Formats: "email"
*
*/
contact_email: string;
/**
* "Attendee Count" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
attendee_count: number | null;
/**
* "Waitlisted Count" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
* Default Value: 0
*
*/
waitlisted_count: number | null;
/**
* "Max Capacity" field in the "event" collection.
*
* Required: No
*
* Unique: No
*
* Type: number
*
*/
max_capacity: number | null;
/**
* "Banners" field in the "event" collecti