import DateTime from "@web-atoms/date-time/dist/DateTime.js"; import type IClrEntity from "@web-atoms/entity/dist/models/IClrEntity.js"; import { ICollection, IModel } from "@web-atoms/entity/dist/services/BaseEntityService.js"; export declare const modelEntitySchemas: {}; export interface IAppRole extends IClrEntity { roleName?: string; roles?: ICollection; } export declare const AppRole: IModel; export interface IAppFile extends IClrEntity { readonly appFileID?: number; readonly path?: string | null; isFolder?: boolean; name?: string; fileSize?: number; contentType?: string; contentDisposition?: "attachment" | "inline" | null; contentID?: string | null; fileContentID?: number | null; creatorID?: number | null; parentID?: number | null; emailID?: number | null; isDeleted?: boolean; readonly isShared?: boolean; readonly dateCreated?: DateTime; dateUpdated?: DateTime | null; versions?: number | null; sourceUrl?: string; sourceEmailLogID?: number; postID?: string; url?: string; fileContent?: IFileContent; creator?: IUser; parent?: IAppFile; children?: ICollection; email?: IEmail; mailboxLogos?: ICollection; websiteFolder?: IWebSite; currentVersionWebSites?: ICollection; storeItems?: ICollection; fileVersions?: ICollection; folderVersions?: ICollection; accessList?: ICollection; tags?: ICollection; previewContacts?: ICollection; templates?: ICollection; channelEmails?: ICollection; storeJournals?: ICollection; storeMediaFiles?: ICollection; userPins?: ICollection; websiteVersions?: ICollection; } export declare const AppFileContentDispositionArray: { label: string; value: string; }[]; export declare const AppFile: IModel; export interface IWebHook extends IClrEntity { readonly webHookID?: number; mailboxID?: number | null; emailAddressID?: number | null; storeID?: number | null; storeItemID?: number | null; eventType?: "email-received" | "order-paid"; name?: string; description?: string | null; url?: string; httpVerb?: "POST" | "GET"; headers?: string | null; lastEvent?: string; lastEventTime?: DateTime | null; mailbox?: IMailbox; store?: IWebSite; storeItem?: IStoreItem; mailboxContact?: IMailboxContact; events?: ICollection; } export declare const WebHookEventTypeArray: { label: string; value: string; }[]; export declare const WebHookHttpVerbArray: { label: string; value: string; }[]; export declare const WebHook: IModel; export interface IWebHookEvent extends IClrEntity { readonly webHookEventID?: number; webHookID?: number; dateCreated?: DateTime; dateUpdated?: DateTime; status?: number | null; response?: string | null; success?: boolean | null; cloudPath?: string | null; webHook?: IWebHook; } export declare const WebHookEvent: IModel; export interface IAccessToken extends IClrEntity { readonly tokenID?: number; userID?: number; dateCreated?: DateTime; expiryDate?: DateTime; lastUsed?: DateTime | null; displaySecret?: Object; user?: IUser; } export declare const AccessToken: IModel; export interface IAppFileVersion extends IClrEntity { readonly versionID?: number; fileID?: number; userID?: number | null; sessionID?: number | null; fileContentID?: number; name?: string; folderID?: number | null; dateCreated?: DateTime; file?: IAppFile; user?: IUser; session?: ILoginSession; fileContent?: IFileContent; folder?: IAppFile; } export declare const AppFileVersion: IModel; export interface IAppFileAccess extends IClrEntity { fileID?: number; userID?: number; type?: "create" | "read" | "write" | "delegate"; readonly accessCode?: string | null; expires?: DateTime | null; dateCreated?: DateTime; dateUpdated?: DateTime; externalUser?: { emailAddress?: string; name?: string; }; file?: IAppFile; user?: IUser; } export declare const AppFileAccessTypeArray: { label: string; value: string; }[]; export declare const AppFileAccess: IModel; export interface IAppFileTag extends IClrEntity { appFileID?: number; tagID?: number; file?: IAppFile; tag?: ITag; } export declare const AppFileTag: IModel; export interface IFileContent extends IClrEntity { readonly fileContentID?: number; contentHash?: string; cloudPath?: string | null; contentType?: string; contentSize?: number; compression?: string | null; dateCreated?: DateTime; textDocumentID?: number | null; deleted?: boolean; appFiles?: ICollection; versions?: ICollection; textDocument?: ITextDocument; } export declare const FileContent: IModel; export interface IConfiguration extends IClrEntity { name?: string; configValue?: string | null; } export declare const Configuration: IModel; export interface IContact extends IClrEntity { readonly contactID?: number; externalID?: string | null; userID?: number | null; mailboxID?: number | null; domainID?: number | null; name?: string; description?: string | null; companyID?: string | null; salesTaxID?: string | null; gstTaxID?: string | null; vatTaxID?: string | null; incomeTaxID?: string | null; type?: string; synchronization?: string | null; dateCreated?: DateTime; dateUpdated?: DateTime; previewID?: number | null; billingAddressID?: number | null; shippingAddressID?: number | null; user?: IUser; mailbox?: IMailbox; hostedDomain?: IHostedDomain; preview?: IAppFile; billingAddress?: IContactAddress; addresses?: ICollection; shippingAddress?: IContactAddress; emails?: ICollection; phones?: ICollection; items?: ICollection; domains?: ICollection; } export declare const Contact: IModel; export interface IContactEmail extends IClrEntity { emailAddressID?: number; contactID?: number; type?: string; notes?: string | null; blocked?: boolean; emailAddressText?: string; emailAddress?: IEmailAddress; contact?: IContact; } export declare const ContactEmail: IModel; export interface IContactPhone extends IClrEntity { contactID?: number; phoneNumberE64?: string; type?: string; notes?: string | null; contact?: IContact; } export declare const ContactPhone: IModel; export interface IContactItem extends IClrEntity { readonly itemID?: number; contactID?: number; type?: string; title?: string; valuesJson?: string; contact?: IContact; } export declare const ContactItem: IModel; export interface IContactDomain extends IClrEntity { domainID?: number; contactID?: number; blocked?: boolean; domain?: IDomain; contact?: IContact; } export declare const ContactDomain: IModel; export interface IContactAddress extends IClrEntity { readonly addressID?: number; contactID?: number; title?: string; line1?: string; line2?: string | null; line3?: string | null; city?: string | null; state?: string | null; countryCode?: string | null; phoneNumber?: string | null; notes?: string | null; contact?: IContact; billingContacts?: ICollection; shippingContacts?: ICollection; } export declare const ContactAddress: IModel; export interface ICachedItem extends IClrEntity { readonly itemID?: number; keyHash?: string; key?: string; expiry?: DateTime; ready?: boolean; slide?: boolean; } export declare const CachedItem: IModel; export interface IDomain extends IClrEntity { readonly domainID?: number; name?: string; received?: number; failed?: number; emailAddresses?: ICollection; mailboxes?: ICollection; hostedDomain?: IHostedDomain; contactDomains?: ICollection; hostedZone?: IHostedZone; activities?: ICollection; } export declare const Domain: IModel; export interface IHostedDomain extends IClrEntity { domainID?: number; enableReceive?: boolean; enableSend?: boolean; useRelay?: boolean; maxSendPerSecond?: number; aliasForName?: string | null; domainNameToCreate?: string; domain?: IDomain; aliasFor?: IHostedDomain; aliases?: ICollection; contacts?: ICollection; domainUsers?: ICollection; relays?: ICollection; domainKeys?: ICollection; templates?: ICollection; websiteChannelDomains?: ICollection; } export declare const HostedDomain: IModel; export interface IDomainUser extends IClrEntity { domainID?: number; userID?: number; prefix?: string | null; isAdmin?: boolean; allowCreateMailbox?: boolean; hostedDomain?: IHostedDomain; user?: IUser; } export declare const DomainUser: IModel; export interface IHostedZone extends IClrEntity { zoneID?: number; readonly dnsHosted?: boolean; readonly unsigned?: string | null; readonly digest?: string | null; dateUpdated?: DateTime; dateSigned?: DateTime | null; zone?: string; domain?: IDomain; records?: ICollection; users?: ICollection; } export declare const HostedZone: IModel; export interface IHostedZoneRecord extends IClrEntity { readonly recordID?: number; zoneID?: number; disabled?: boolean; readonly?: boolean; name?: string; type?: "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "PTR" | "SRV" | "CAA" | "NS" | "SOA"; isAlias?: boolean; value?: string; ttl?: number; dateCreated?: DateTime; dateUpdated?: DateTime; notes?: string | null; expiryDate?: DateTime | null; hosted?: boolean; readonly fqdn?: string | null; zone?: IHostedZone; } export declare const HostedZoneRecordTypeArray: { label: string; value: string; }[]; export declare const HostedZoneRecord: IModel; export interface IHostedZoneUser extends IClrEntity { zoneID?: number; userID?: number; zone?: IHostedZone; user?: IUser; } export declare const HostedZoneUser: IModel; export interface IDomainRelay extends IClrEntity { readonly domainRelayID?: number; domainID?: number; type?: "smtp" | "ses" | "https"; host?: string; username?: string; password?: string; priority?: number; script?: string | null; hostedDomain?: IHostedDomain; } export declare const DomainRelayTypeArray: { label: string; value: string; }[]; export declare const DomainRelay: IModel; export interface IDomainKey extends IClrEntity { readonly domainKeyID?: number; name?: string; keyType?: string; readonly publicKey?: string; domainID?: number; hostedDomain?: IHostedDomain; } export declare const DomainKey: IModel; export interface IEmail extends IClrEntity { readonly emailID?: number; subject?: string | null; summary?: string | null; textBody?: string | null; htmlBody?: string | null; senderName?: string; senderID?: number; userID?: number | null; readonly received?: boolean; headers?: string | null; hasUnsubscribe?: boolean; headerMessageID?: string | null; inReplyTo?: string | null; externalEmailID?: string | null; dateReceived?: DateTime; dateCreated?: DateTime; dateSent?: DateTime | null; dateUpdated?: DateTime | null; status?: "queued" | "received" | "draft" | "published" | "pending-approval" | "scheduled" | "sent" | "sent-failed" | "deleted" | "closed"; forwardCount?: number; replyCount?: number; viewCount?: number; engagementCount?: number; mimeFileID?: number | null; sentMessageID?: string | null; htmlBodyID?: number | null; emailSize?: number; originalFileSize?: number; workflowID?: string | null; parentID?: number | null; threadID?: number | null; forwardedID?: number | null; lastReplyID?: number | null; engagement?: string | null; tags?: string | null; postID?: string; senderEmail?: IEmailAddress; senderUser?: IUser; mimeFile?: IEmailLog; logs?: ICollection; htmlBodyFile?: IEmailLog; parent?: IEmail; children?: ICollection; thread?: IEmail; threadChildren?: ICollection; forwarded?: IEmail; forwards?: ICollection; lastReply?: IEmail; lastRepliedThreads?: ICollection; attachments?: ICollection; lastEmailThreads?: ICollection; engagements?: ICollection; recipients?: ICollection; emailTags?: ICollection; channelEmails?: ICollection; mailboxContactEvents?: ICollection; threadContacts?: ICollection; subscriberActivities?: ICollection; threadParticipants?: ICollection; } export declare const EmailStatusArray: { label: string; value: string; }[]; export declare const Email: IModel; export interface IEmailEngagement extends IClrEntity { emailID?: number; engagement?: string; count?: number; email?: IEmail; } export declare const EmailEngagement: IModel; export interface IEmailLog extends IClrEntity { readonly logID?: number; emailID?: number; fileName?: string; fileSize?: number; compression?: string; dateCreated?: DateTime; cloudPath?: string; url?: string; email?: IEmail; mimeFileEmails?: ICollection; htmlBodyFileEmails?: ICollection; } export declare const EmailLog: IModel; export interface IEmailRecipient extends IClrEntity { emailID?: number; emailAddressID?: number; type?: "from" | "to" | "cc" | "bcc" | "viewer" | "editor" | "unsubscribed"; name?: string | null; dateSent?: DateTime | null; error?: string | null; status?: string | null; replyTo?: string | null; emailAddressText?: string; email?: IEmail; emailAddress?: IEmailAddress; } export declare const EmailRecipientTypeArray: { label: string; value: string; }[]; export declare const EmailRecipient: IModel; export interface IEmailTag extends IClrEntity { emailID?: number; tagID?: number; email?: IEmail; tag?: ITag; } export declare const EmailTag: IModel; export interface IEmailAddress extends IClrEntity { readonly emailAddressID?: number; emailAddress?: string; domainID?: number; name?: string; blocked?: boolean; domain?: IDomain; senders?: ICollection; mailbox?: IMailbox; threads?: ICollection; contactEmails?: ICollection; recipients?: ICollection; mailboxContactEmails?: ICollection; subscriberActivities?: ICollection; storeAccounts?: ICollection; names?: ICollection; threadParticipants?: ICollection; } export declare const EmailAddress: IModel; export interface IEmailTemplate extends IClrEntity { readonly templateID?: number; domainID?: number | null; mailboxID?: number | null; folderID?: number; hostedDomain?: IHostedDomain; mailbox?: IMailbox; folder?: IAppFile; } export declare const EmailTemplate: IModel; export interface IMailbox extends IClrEntity { mailboxID?: number; domainID?: number; storage?: number; maxStorage?: number; indexAttachments?: boolean; indexImageAttachments?: boolean; readonly openThreads?: number; readonly totalThreads?: number; readonly unread?: number; logoID?: number | null; isExternal?: boolean; maxSendPerSecond?: number; description?: string | null; dateCreated?: DateTime; dateUpdated?: DateTime; isChannel?: boolean; isPrivateChannel?: boolean; nonMembersCanPost?: boolean; nonMembersCanComment?: boolean; nonMembersCanReact?: boolean; requiresMembershipApproval?: boolean; requiresPostModeration?: boolean; requiresCommentModeration?: boolean; requiresSignup?: boolean; subscriberCount?: number; datePublished?: DateTime | null; dateEngaged?: DateTime | null; username?: string; externalEmailAddress?: string; name?: string; notify?: boolean; deleteVerificationID?: string; emailAddress?: IEmailAddress; domain?: IDomain; logo?: IAppFile; webHooks?: ICollection; mailboxContacts?: ICollection; contacts?: ICollection; templates?: ICollection; emails?: ICollection; mailboxEvents?: ICollection; folders?: ICollection; threadEmails?: ICollection; tags?: ICollection; syncTargets?: ICollection; channelConfig?: IChannelConfig; subscriberActivities?: ICollection; userPins?: ICollection; userMailboxes?: ICollection; websiteChannels?: ICollection; } export declare const Mailbox: IModel; export interface IChannelEmail extends IClrEntity { mailboxID?: number; emailID?: number; engagementCount?: number; dateUpdated?: DateTime | null; datePublished?: DateTime | null; isThread?: boolean; previewFileID?: number | null; postID?: string; mailbox?: IMailbox; email?: IEmail; previewFile?: IAppFile; } export declare const ChannelEmail: IModel; export interface IMailboxContact extends IClrEntity { mailboxID?: number; emailAddressID?: number; folderTagID?: number | null; lastEmailID?: number | null; dateCreated?: DateTime; dateUpdated?: DateTime; unread?: number; readonly openThreads?: number; readonly totalThreads?: number; autoClose?: boolean; total?: number; doNotIndex?: boolean | null; doNotIndexAttachments?: boolean | null; isOwner?: boolean; canContribute?: boolean; priority?: number; blocked?: boolean; newRequest?: boolean; spam?: boolean; mute?: boolean; status?: "invited" | "added" | "active" | "unsubscribed" | "blocked"; closeAllConversations?: boolean; notify?: boolean; emailAddressText?: string; name?: string; mailbox?: IMailbox; emailAddress?: IEmailAddress; lastEmail?: IEmail; webHooks?: ICollection; contactEvents?: ICollection; contactEmails?: ICollection; tags?: ICollection; } export declare const MailboxContactStatusArray: { label: string; value: string; }[]; export declare const MailboxContact: IModel; export interface IMailboxContactEvent extends IClrEntity { readonly eventID?: number; mailboxID?: number; emailAddressID?: number; emailID?: number | null; startDate?: DateTime; endDate?: DateTime; title?: string | null; description?: string | null; location?: string | null; mailbox?: IMailbox; email?: IEmail; mailboxContact?: IMailboxContact; } export declare const MailboxContactEvent: IModel; export interface IMailboxFolder extends IClrEntity { mailboxID?: number; tagID?: number; count?: number; isSystem?: boolean; main?: boolean; mailbox?: IMailbox; tag?: ITag; } export declare const MailboxFolder: IModel; export interface IMailboxContactEmail extends IClrEntity { mailboxID?: number; emailAddressID?: number; emailID?: number; dateReceived?: DateTime; timeRead?: DateTime | null; engagement?: string | null; signedFileLogID?: number | null; mailbox?: IMailbox; emailAddress?: IEmailAddress; email?: IEmail; mailboxContact?: IMailboxContact; } export declare const MailboxContactEmail: IModel; export interface IMailboxContactTag extends IClrEntity { mailboxID?: number; emailAddressID?: number; tagID?: number; count?: number; dateUpdated?: DateTime; tag?: ITag; mailboxContact?: IMailboxContact; mailboxTag?: IMailboxTag; } export declare const MailboxContactTag: IModel; export interface IMailboxTag extends IClrEntity { mailboxID?: number; tagID?: number; count?: number; dateUpdated?: DateTime; mailbox?: IMailbox; tag?: ITag; contactTags?: ICollection; } export declare const MailboxTag: IModel; export interface IMailboxSyncTarget extends IClrEntity { readonly syncTargetID?: number; mailboxID?: number; direction?: "in" | "out"; protocol?: "imap" | "smtp"; username?: string; host?: string; port?: number; isSecure?: boolean; syncAllFolders?: boolean; syncJunkMails?: boolean; allFolderName?: string | null; intervalSeconds?: number; active?: boolean; lastSync?: DateTime | null; lastSyncStatus?: "none" | "success" | "failed" | null; lastSyncError?: string | null; newPassword?: string; syncLog?: string; mailbox?: IMailbox; } export declare const MailboxSyncTargetDirectionArray: { label: string; value: string; }[]; export declare const MailboxSyncTargetProtocolArray: { label: string; value: string; }[]; export declare const MailboxSyncTargetLastSyncStatusArray: { label: string; value: string; }[]; export declare const MailboxSyncTarget: IModel; export interface INameToken extends IClrEntity { readonly nameTokenID?: number; word?: string; readonly suggest?: boolean; emailAddressNames?: ICollection; } export declare const NameToken: IModel; export interface IChannelConfig extends IClrEntity { mailboxID?: number; inviteContent?: string | null; welcomeContent?: string | null; sendInviteOnEngagement?: boolean; memberOnlyEngagement?: boolean; notSafeForWork?: boolean; postFooter?: string | null; mailbox?: IMailbox; } export declare const ChannelConfig: IModel; export interface ISubscriberActivity extends IClrEntity { readonly activityID?: number; mailboxID?: number; emailID?: number; emailAddressID?: number; activity?: string; dateCreated?: DateTime; ipAddress?: string | null; accessCode?: string | null; mailbox?: IMailbox; email?: IEmail; subscriber?: IEmailAddress; } export declare const SubscriberActivity: IModel; export interface ISearchWord extends IClrEntity { readonly wordID?: number; word?: string; dateCreated?: DateTime; dateUpdated?: DateTime; expires?: DateTime | null; status?: "begin" | "ready" | "deleted"; recentID?: number | null; firstID?: number | null; indexes?: ICollection; } export declare const SearchWordStatusArray: { label: string; value: string; }[]; export declare const SearchWord: IModel; export interface ISearchWordIndex extends IClrEntity { wordID?: number; fileContentID?: number; rank?: number; word?: ISearchWord; } export declare const SearchWordIndex: IModel; export interface IServerActivity extends IClrEntity { readonly activityID?: number; domainID?: number | null; webSiteFolderID?: number | null; dateCreated?: DateTime; ipAddress?: string; activity?: "visit" | "rcpt-not-found" | "mail-received"; domain?: IDomain; webSite?: IWebSite; } export declare const ServerActivityActivityArray: { label: string; value: string; }[]; export declare const ServerActivity: IModel; export interface IStoreConfig extends IClrEntity { storeID?: number; groupName?: string; configName?: string; encrypted?: boolean; configValue?: string; store?: IWebSite; } export declare const StoreConfig: IModel; export interface IStoreItem extends IClrEntity { readonly storeItemID?: number; storeID?: number; itemFolderID?: number | null; name?: string; active?: boolean; internalNotes?: string | null; description?: string | null; itemType?: "product" | "e-product" | "shipping" | "service" | "tax" | "fee" | "commission" | "variant" | "size"; itemUnitType?: "product" | "e-product" | "shipping" | "service" | "tax" | "fee" | "commission" | "variant" | "size" | null; itemUnit?: number; folderID?: number | null; sizeForID?: number | null; variantForID?: number | null; dateCreated?: DateTime; dateUpdated?: DateTime; vendorID?: number | null; readonly price?: number; readonly maxPrice?: number; publicFolderID?: string; signed?: string; store?: IWebSite; itemFolder?: IStoreItemFolder; fileFolder?: IAppFile; sizeFor?: IStoreItem; sizes?: ICollection; variantFor?: IStoreItem; variants?: ICollection; vendor?: IStoreAccount; webHooks?: ICollection; itemCoupons?: ICollection; lineItems?: ICollection; storeItemPrices?: ICollection; mediaFiles?: ICollection; insights?: ICollection; applicableTaxes?: ICollection; taxItems?: ICollection; storeItemTags?: ICollection; } export declare const StoreItemItemTypeArray: { label: string; value: string; }[]; export declare const StoreItemItemUnitTypeArray: { label: string; value: string; }[]; export declare const StoreItem: IModel; export interface IStoreCoupon extends IClrEntity { readonly couponID?: number; storeID?: number; code?: string; active?: boolean; hidden?: boolean; itemID?: number | null; startDate?: DateTime; endDate?: DateTime | null; dateCreated?: DateTime; dateUpdated?: DateTime; exclusive?: boolean; minOrderAmount?: number; maxOrderAmount?: number; minQuantity?: number; maxQuantity?: number; amount?: number; type?: "discount" | "subtract"; store?: IWebSite; item?: IStoreItem; orders?: ICollection; } export declare const StoreCouponTypeArray: { label: string; value: string; }[]; export declare const StoreCoupon: IModel; export interface IStoreJournalCoupon extends IClrEntity { readonly appliedCouponID?: number; couponID?: number; orderID?: number; lineItemID?: number | null; couponCode?: string; coupon?: IStoreCoupon; order?: IStoreJournal; lineItem?: IStoreJournalLineItem; } export declare const StoreJournalCoupon: IModel; export interface IStoreItemFolder extends IClrEntity { readonly itemFolderID?: number; storeID?: number; name?: string; path?: string; parentID?: number | null; store?: IWebSite; parent?: IStoreItemFolder; children?: ICollection; items?: ICollection; tags?: ICollection; } export declare const StoreItemFolder: IModel; export interface IStoreItemFolderTag extends IClrEntity { itemFolderID?: number; tagID?: number; count?: number; itemFolder?: IStoreItemFolder; tag?: ITag; } export declare const StoreItemFolderTag: IModel; export interface IStoreItemPrice extends IClrEntity { readonly priceID?: number; storeItemID?: number; startDate?: DateTime; endDate?: DateTime | null; currency?: string; recurring?: boolean; durationDays?: number | null; amount?: number; maxAmount?: number | null; maxQuantity?: number; taxIncluded?: boolean; readonly taxAmount?: number; active?: boolean; storeItem?: IStoreItem; lineItems?: ICollection; } export declare const StoreItemPrice: IModel; export interface IStorePaymentAttempt extends IClrEntity { readonly attemptID?: number; orderID?: number; gatewayID?: number; externalID?: string | null; dateCreated?: DateTime; dateUpdated?: DateTime; success?: boolean; order?: IStoreJournal; gateway?: IStorePaymentGateway; } export declare const StorePaymentAttempt: IModel; export interface IStoreMediaFile extends IClrEntity { storeItemID?: number; appFileID?: number; fileContentID?: number | null; sortOrder?: number; title?: string; description?: string | null; isPreview?: boolean; isDeleted?: boolean; fileHtmlView?: string | null; fileLink?: string | null; signed?: string; storeItem?: IStoreItem; appFile?: IAppFile; } export declare const StoreMediaFile: IModel; export interface IStoreInsight extends IClrEntity { readonly insightID?: number; storeID?: number | null; storeItemID?: number | null; name?: string; value?: number; isPublic?: boolean; store?: IWebSite; storeItem?: IStoreItem; } export declare const StoreInsight: IModel; export interface IStoreAccount extends IClrEntity { accountID?: number; path?: string | null; storeID?: number; parentID?: number | null; head?: string | null; dateCreated?: DateTime; ledgerType?: string; name?: string; description?: string | null; balance?: number; billingAddressID?: number | null; shippingAddressID?: number | null; user?: IUser; store?: IWebSite; parent?: IStoreAccount; children?: ICollection; vendorItems?: ICollection; soldInvoices?: ICollection; boughtInvoices?: ICollection; addresses?: ICollection; soldItems?: ICollection; storePaymentGateway?: IStorePaymentGateway; emails?: ICollection; phones?: ICollection; entries?: ICollection; } export declare const StoreAccount: IModel; export interface IStoreAccountAddress extends IClrEntity { readonly addressID?: number; accountID?: number; title?: string; line1?: string; line2?: string | null; line3?: string | null; city?: string | null; state?: string | null; countryCode?: string | null; phoneNumber?: string | null; incomeTaxID?: string | null; gstTaxID?: string | null; salesTaxID?: string | null; vatTaxID?: string | null; otherTaxID?: string | null; notes?: string | null; storeAccount?: IStoreAccount; billedOrders?: ICollection; shippedOrders?: ICollection; } export declare const StoreAccountAddress: IModel; export interface IStoreAccountEmail extends IClrEntity { accountID?: number; emailAddressID?: number; storeAccount?: IStoreAccount; emailAddress?: IEmailAddress; } export declare const StoreAccountEmail: IModel; export interface IStoreAccountPhone extends IClrEntity { accountID?: number; phoneNumberE64?: string; type?: string | null; notes?: string | null; storeAccount?: IStoreAccount; } export declare const StoreAccountPhone: IModel; export interface IStorePaymentGateway extends IClrEntity { accountID?: number; paymentGateway?: "paypal" | "phone-pe" | "stripe" | null; isGatewayActive?: boolean; isDefault?: boolean; merchantID?: string | null; url?: string | null; accessID?: string | null; publicKey?: string | null; clientID?: string | null; saltIndex?: string | null; encryptedSalt?: string | null; encryptedSecret?: string | null; country?: string | null; currency?: string | null; dateCreated?: DateTime; dateUpdated?: DateTime; salt?: string; secret?: string; storeAccount?: IStoreAccount; paymentAttempts?: ICollection; } export declare const StorePaymentGatewayPaymentGatewayArray: { label: string; value: string; }[]; export declare const StorePaymentGateway: IModel; export interface IStoreJournal extends IClrEntity { readonly journalID?: number; storeID?: number; dateCreated?: DateTime; dateUpdated?: DateTime; journalType?: "order" | "purchase-order" | "sales-invoice" | "journal" | "purchase-bill" | "payment"; description?: string | null; posted?: boolean; status?: "new" | "paid" | "draft"; sellerID?: number | null; buyerID?: number | null; buyerBillingAddressID?: number | null; buyerShippingAddressID?: number | null; total?: number; balance?: number; referenceID?: number | null; folderID?: number | null; taxExempt?: boolean; taxExemptNotes?: string | null; taxExemptTaxID?: string | null; store?: IWebSite; seller?: IStoreAccount; buyer?: IStoreAccount; buyerBillingAddress?: IStoreAccountAddress; buyerShippingAddress?: IStoreAccountAddress; reference?: IStoreJournal; references?: ICollection; folder?: IAppFile; orderCoupons?: ICollection; lineItems?: ICollection; paymentAttempts?: ICollection; entries?: ICollection; } export declare const StoreJournalJournalTypeArray: { label: string; value: string; }[]; export declare const StoreJournalStatusArray: { label: string; value: string; }[]; export declare const StoreJournal: IModel; export interface IStoreJournalEntry extends IClrEntity { readonly entryID?: number; journalID?: number; accountID?: number; credit?: number; debit?: number; balance?: number | null; description?: string | null; lineItemID?: number | null; journal?: IStoreJournal; storeAccount?: IStoreAccount; lineItem?: IStoreJournalLineItem; } export declare const StoreJournalEntry: IModel; export interface IStoreJournalLineItem extends IClrEntity { readonly lineItemID?: number; journalID?: number; itemID?: number; itemPriceID?: number | null; price?: number; discountPercentage?: number; discount?: number; priceAfterDiscount?: number; couponDiscount?: number; quantity?: number; amount?: number; taxes?: number; total?: number; inclusive?: boolean; itemType?: "product" | "e-product" | "shipping" | "service" | "tax" | "fee" | "commission" | "variant" | "size" | null; hide?: boolean; vendorID?: number | null; sourceID?: number | null; taxForID?: number | null; journal?: IStoreJournal; item?: IStoreItem; itemPrice?: IStoreItemPrice; vendor?: IStoreAccount; source?: IStoreJournalLineItem; relatedItems?: ICollection; taxFor?: IStoreJournalLineItem; taxLineItems?: ICollection; coupons?: ICollection; entries?: ICollection; } export declare const StoreJournalLineItemItemTypeArray: { label: string; value: string; }[]; export declare const StoreJournalLineItem: IModel; export interface IStoreItemTax extends IClrEntity { storeItemID?: number; taxItemID?: number; inclusive?: boolean; print?: boolean; storeItem?: IStoreItem; taxItem?: IStoreItem; } export declare const StoreItemTax: IModel; export interface IStoreTag extends IClrEntity { storeID?: number; tagID?: number; count?: number; store?: IWebSite; tag?: ITag; } export declare const StoreTag: IModel; export interface IStoreItemTag extends IClrEntity { storeItemID?: number; tagID?: number; sortOrder?: number; tagValue?: string | null; name?: string; storeItem?: IStoreItem; tag?: ITag; } export declare const StoreItemTag: IModel; export interface IUser extends IClrEntity { readonly userID?: number; userName?: string; displayName?: string; readonly status?: "active" | "blocked" | "locked" | "change-password" | "external"; isExternal?: boolean; readonly multiFactor?: boolean; dateUpdated?: DateTime; readonly storage?: number; maxStorage?: number; maxWebSites?: number; maxExternalInboxes?: number; maxChildUsers?: number; parentID?: number | null; changePassword?: { oldPassword?: string; newPassword?: string; forceChangePasswordOnLogin?: boolean; }; createFolder?: boolean; createWebSite?: boolean; autoEnableMF?: boolean; parent?: IUser; children?: ICollection; createdFiles?: ICollection; sentEmails?: ICollection; storeAccount?: IStoreAccount; accessTokens?: ICollection; versions?: ICollection; sessions?: ICollection; fileAccessList?: ICollection; contacts?: ICollection; domainUsers?: ICollection; hostedZones?: ICollection; pins?: ICollection; userPushSubscriptions?: ICollection; roles?: ICollection; userMailboxes?: ICollection; authFactors?: ICollection; publishedWebSiteVersions?: ICollection; } export declare const UserStatusArray: { label: string; value: string; }[]; export declare const User: IModel; export interface IUserPin extends IClrEntity { readonly pinID?: number; userID?: number; appFileID?: number | null; mailboxID?: number | null; user?: IUser; file?: IAppFile; mailbox?: IMailbox; } export declare const UserPin: IModel; export interface IUserPushSubscription extends IClrEntity { readonly subscriptionID?: number; userID?: number; mailboxID?: number | null; emailAddressID?: number | null; notify?: boolean; user?: IUser; } export declare const UserPushSubscription: IModel; export interface IUserRole extends IClrEntity { userID?: number; roleName?: string; user?: IUser; role?: IAppRole; } export declare const UserRole: IModel; export interface IUserMailbox extends IClrEntity { userID?: number; mailboxID?: number; user?: IUser; mailbox?: IMailbox; } export declare const UserMailbox: IModel; export interface IUserAuthFactor extends IClrEntity { readonly authFactorID?: number; userID?: number; method?: "totp" | "hotp" | "fido2" | "one-time" | "otp" | "otp-in"; hint?: string | null; phoneNumber?: string | null; isdCode?: string | null; verificationID?: number | null; verified?: boolean; dateUpdated?: DateTime; qrCodeDataUrl?: string; token?: string; displaySecret?: string; smsConfig?: string; user?: IUser; verificationToken?: IVerificationToken; } export declare const UserAuthFactorMethodArray: { label: string; value: string; }[]; export declare const UserAuthFactor: IModel; export interface IWebSite extends IClrEntity { folderID?: number; currentVersionID?: number | null; isStatic?: boolean; isTemplate?: boolean; readonly storeEnabled?: boolean; isModified?: boolean; snapshotStorage?: number; supportEmail?: string | null; fromEmail?: string | null; currency?: string; folder?: IAppFile; currentVersion?: IAppFile; webHooks?: ICollection; storeItems?: ICollection; itemFolders?: ICollection; storeAccounts?: ICollection; activities?: ICollection; configs?: ICollection; coupons?: ICollection; journals?: ICollection; insights?: ICollection; tags?: ICollection; hosts?: ICollection; versions?: ICollection; channelDomains?: ICollection; channels?: ICollection; } export declare const WebSite: IModel; export interface IWebSiteHost extends IClrEntity { host?: string; folderID?: number; folder?: IWebSite; } export declare const WebSiteHost: IModel; export interface IWebSiteVersion extends IClrEntity { folderID?: number; snapshotFolderID?: number; dateCreated?: DateTime; name?: string; description?: string | null; authorID?: number | null; publish?: boolean; versionType?: "major" | "minor" | "patch"; websiteFolder?: IWebSite; snapshotFolder?: IAppFile; author?: IUser; } export declare const WebSiteVersion: IModel; export interface IWebSiteChannelDomain extends IClrEntity { folderID?: number; domainID?: number; website?: IWebSite; domain?: IHostedDomain; } export declare const WebSiteChannelDomain: IModel; export interface IWebSiteChannel extends IClrEntity { folderID?: number; channelID?: number; website?: IWebSite; channel?: IMailbox; } export declare const WebSiteChannel: IModel; export interface ILoginSession extends IClrEntity { readonly sessionID?: number; userID?: number; invalid?: boolean; dateUpdated?: DateTime; status?: string | null; deviceToken?: string | null; deviceTokenType?: string | null; verificationID?: number | null; userName?: string; checkPassword?: string; passwordIsAccessToken?: boolean; newPassword?: string; timeToken?: string; oneTimePassword?: string; user?: IUser; verificationToken?: IVerificationToken; versions?: ICollection; } export declare const LoginSession: IModel; export interface ITextDocument extends IClrEntity { textDocumentID?: number; searchable?: string; fileContent?: IFileContent; } export declare const TextDocument: IModel; export interface IIncomingSmsSource extends IClrEntity { readonly textInSourceID?: number; name?: string; username?: string | null; encryptedPassword?: string | null; isdPrefix?: string; keyword?: string | null; phoneNumber?: string; dateUpdated?: DateTime; countryCode?: string; password?: string; } export declare const IncomingSmsSource: IModel; export interface IVerificationToken extends IClrEntity { readonly verificationID?: number; userID?: number | null; dateCreated?: DateTime; expiry?: DateTime; verified?: boolean; accessCode?: string; externalConfig?: string | null; type?: "email" | "sms" | "captcha" | "totp"; smsConfig?: Object; verifyAddresses?: string; verifyCode?: string; loginSessions?: ICollection; authFactors?: ICollection; addresses?: ICollection; } export declare const VerificationTokenTypeArray: { label: string; value: string; }[]; export declare const VerificationToken: IModel; export interface IVerificationTokenAddress extends IClrEntity { verificationID?: number; address?: string; verificationToken?: IVerificationToken; } export declare const VerificationTokenAddress: IModel; export interface IEmailAddressName extends IClrEntity { nameTokenID?: number; emailAddressID?: number; nameToken?: INameToken; emailAddress?: IEmailAddress; } export declare const EmailAddressName: IModel; export interface IThreadParticipant extends IClrEntity { emailID?: number; emailAddressID?: number; unsubscribed?: boolean; email?: IEmail; emailAddress?: IEmailAddress; } export declare const ThreadParticipant: IModel; export interface ITag extends IClrEntity { readonly tagID?: number; name?: string; label?: string; readonly lowerCaseName?: string; path?: string | null; isSystemTag?: boolean; contentTypes?: string | null; parentID?: number | null; parent?: ITag; children?: ICollection; fileTags?: ICollection; emailTags?: ICollection; mailboxFolders?: ICollection; mailboxContactTags?: ICollection; mailboxTags?: ICollection; storeItemFolderTags?: ICollection; storeTags?: ICollection; storeItemTags?: ICollection; } export declare const Tag: IModel; export interface IVirtualServer extends IClrEntity { readonly serverID?: number; serverName?: string; ownerEmailAddress?: string | null; ownerPhoneNumber?: string | null; active?: boolean; bucketName?: string | null; database?: string | null; host?: string; forwardHost?: string | null; forwardPublicKey?: string | null; environmentVariables?: string | null; maxStorageGB?: number; dnsZones?: ICollection; } export declare const VirtualServer: IModel; export interface IDnsZone extends IClrEntity { readonly zoneID?: number; serverID?: number; zone?: string; keySigningKeyID?: number; zoneSigningKeyID?: number; dateCreated?: DateTime; dateUpdated?: DateTime; signed?: string | null; unsigned?: string | null; lastSync?: DateTime | null; hosted?: boolean; virtualServer?: IVirtualServer; ksk?: IDnsSigningKey; zsk?: IDnsSigningKey; records?: ICollection; } export declare const DnsZone: IModel; export interface IDnsZoneRecord extends IClrEntity { readonly recordID?: number; zoneID?: number; disabled?: boolean; name?: string; type?: "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "PTR" | "SRV" | "CAA" | "NS" | "SOA"; isAlias?: boolean; value?: string; ttl?: number; dateCreated?: DateTime; dateUpdated?: DateTime; notes?: string | null; signature?: string | null; expiryDate?: DateTime | null; readonly fqdn?: string | null; externalID?: string | null; lastSync?: DateTime | null; hosted?: boolean; zone?: IDnsZone; } export declare const DnsZoneRecordTypeArray: { label: string; value: string; }[]; export declare const DnsZoneRecord: IModel; export interface IDnsSigningKey extends IClrEntity { readonly keyID?: number; publicKey?: string; digestAlgorithm?: number; signingAlgorithm?: number; digest?: string; flags?: number; dateCreated?: DateTime; expiryDate?: DateTime; fileName?: string; kskZones?: ICollection; zskZones?: ICollection; } export declare const DnsSigningKey: IModel; export interface ILEToken extends IClrEntity { host?: string; token?: string; tokenAuth?: string; } export declare const LEToken: IModel; //# sourceMappingURL=model.d.ts.map