export interface CustomFieldSuggestion { /** Human-readable name shown in the business manager and live site. */ name?: string | null; /** Default privacy of custom field. */ defaultPrivacy?: Privacy; /** Type of data the field holds. */ fieldType?: Type; /** Social field type. */ socialType?: SocialTypeType; /** Field origin. */ fieldOrigin?: Origin; /** Custom field ID. */ customFieldId?: string | null; } export declare enum Privacy { UNKNOWN = "UNKNOWN", PUBLIC = "PUBLIC", PRIVATE = "PRIVATE" } export declare enum Type { UNKNOWN = "UNKNOWN", TEXT = "TEXT", NUMBER = "NUMBER", DATE = "DATE", URL = "URL", SOCIAL = "SOCIAL" } export declare enum SocialTypeType { UNKNOWN = "UNKNOWN", FACEBOOK = "FACEBOOK", INSTAGRAM = "INSTAGRAM", LINKEDIN = "LINKEDIN", TWITTER = "TWITTER", YOUTUBE = "YOUTUBE", PINTEREST = "PINTEREST", TIKTOK = "TIKTOK", DEVIANTART = "DEVIANTART", SOUNDCLOUD = "SOUNDCLOUD", TUMBLR = "TUMBLR", VIMEO = "VIMEO", VKONTAKTE = "VKONTAKTE", ODNOKLASSNIKI = "ODNOKLASSNIKI", OTHER = "OTHER" } export declare enum Origin { UNKNOWN = "UNKNOWN", CUSTOM = "CUSTOM", CONTACT = "CONTACT", SYSTEM = "SYSTEM" } export interface ListCustomFieldSuggestionsRequest { paging?: Paging; sorting?: Sorting[]; } export interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } export interface Sorting { /** Name of the field to sort by. */ fieldName?: string; /** Sort order. */ order?: SortOrder; } export declare enum SortOrder { ASC = "ASC", DESC = "DESC" } export interface ListCustomFieldSuggestionsResponse { /** Custom field suggestion. */ suggestions?: CustomFieldSuggestion[]; metadata?: PagingMetadata; } export interface PagingMetadata { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; } export interface QueryCustomFieldSuggestionsRequest { query?: Query; } export interface Query { /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */ filter?: any; /** Limit number of results */ paging?: Paging; /** Sort the results */ sorting?: Sorting[]; } export interface QueryCustomFieldSuggestionsResponse { /** Custom field suggestion. */ suggestions?: CustomFieldSuggestion[]; metadata?: PagingMetadata; } interface CustomFieldSuggestionNonNullableFields { defaultPrivacy: Privacy; fieldType: Type; socialType: SocialTypeType; fieldOrigin: Origin; } export interface ListCustomFieldSuggestionsResponseNonNullableFields { suggestions: CustomFieldSuggestionNonNullableFields[]; } export interface QueryCustomFieldSuggestionsResponseNonNullableFields { suggestions: CustomFieldSuggestionNonNullableFields[]; } export {};