@wix/l10n 1.205.0 → 1.206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/generated/proto-generated.d.ts"],"sourcesContent":["\n\ndeclare namespace $wrapper {\n export namespace wix {\n export namespace common {\n export interface Address {\n country?: (string | null);\n subdivision?: (string | null);\n subdivisionIso31662?: (string | null);\n city?: (string | null);\n postalCode?: (string | null);\n streetAddress?: ($wrapper.wix.common.StreetAddress | null);\n addressLine?: (string | null);\n addressLine2?: (string | null);\n formattedAddress?: (string | null);\n hint?: (string | null);\n geocode?: ($wrapper.wix.common.AddressLocation | null);\n countryFullname?: (string | null);\n subdivisionFullname?: (string | null);\n subdivisions?: ($wrapper.wix.common.Subdivision[] | null);\n }\n export interface Subdivision {\n code?: (string | null);\n name?: (string | null);\n type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null);\n typeInfo?: (string | null);\n standardDetails?: ($wrapper.wix.common.Subdivision.StandardDetails | null);\n }\n export namespace Subdivision {\n export enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = \"UNKNOWN_SUBDIVISION_TYPE\",\n ADMINISTRATIVE_AREA_LEVEL_1 = \"ADMINISTRATIVE_AREA_LEVEL_1\",\n ADMINISTRATIVE_AREA_LEVEL_2 = \"ADMINISTRATIVE_AREA_LEVEL_2\",\n ADMINISTRATIVE_AREA_LEVEL_3 = \"ADMINISTRATIVE_AREA_LEVEL_3\",\n ADMINISTRATIVE_AREA_LEVEL_4 = \"ADMINISTRATIVE_AREA_LEVEL_4\",\n ADMINISTRATIVE_AREA_LEVEL_5 = \"ADMINISTRATIVE_AREA_LEVEL_5\",\n COUNTRY = \"COUNTRY\",\n }\n export interface StandardDetails {\n iso31662?: (string | null);\n }\n }\n export interface StreetAddress {\n number?: (string | null);\n name?: (string | null);\n apt?: (string | null);\n formattedAddressLine?: (string | null);\n }\n export interface AddressContactDetails {\n fullName?: (string | null);\n phone?: (string | null);\n company?: (string | null);\n email?: (string | null);\n }\n export interface FullAddressContactDetails {\n firstName?: (string | null);\n lastName?: (string | null);\n fullName?: (string | null);\n phone?: (string | null);\n company?: (string | null);\n email?: (string | null);\n vatId?: ($wrapper.wix.common.VatId | null);\n }\n export interface VatId {\n id?: (string | null);\n type?: ($wrapper.wix.common.VatType | null);\n }\n export enum VatType {\n UNSPECIFIED = \"UNSPECIFIED\",\n CPF = \"CPF\",\n CNPJ = \"CNPJ\",\n }\n export interface AddressLocation {\n latitude?: (number | null);\n longitude?: (number | null);\n }\n export interface BulkActionMetadata {\n totalSuccesses?: (number | null);\n totalFailures?: (number | null);\n undetailedFailures?: (number | null);\n }\n export interface ItemMetadata {\n id?: (string | null);\n originalIndex?: (number | null);\n success?: (boolean | null);\n error?: ($wrapper.wix.api.ApplicationError | null);\n }\n export enum BulkActionType {\n UNKNOWN_ACTION_TYPE = \"UNKNOWN_ACTION_TYPE\",\n INSERT = \"INSERT\",\n UPDATE = \"UPDATE\",\n DELETE = \"DELETE\",\n }\n export interface IdentificationData {\n contactId?: (string | null);\n identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);\n anonymousVisitorId?: (string | null);\n memberId?: (string | null);\n wixUserId?: (string | null);\n appId?: (string | null);\n }\n export namespace IdentificationData {\n export enum IdentityType {\n UNKNOWN = \"UNKNOWN\",\n ANONYMOUS_VISITOR = \"ANONYMOUS_VISITOR\",\n MEMBER = \"MEMBER\",\n WIX_USER = \"WIX_USER\",\n APP = \"APP\",\n }\n }\n export interface Image {\n id?: (string | null);\n url?: (string | null);\n height?: (number | null);\n width?: (number | null);\n altText?: (string | null);\n urlExpirationDate?: (Date | null);\n filename?: (string | null);\n sizeInBytes?: (string | null);\n focalPoint?: ($wrapper.wix.common.FocalPoint | null);\n }\n export interface Video {\n id?: (string | null);\n url?: (string | null);\n height?: (number | null);\n width?: (number | null);\n thumbnail?: ($wrapper.wix.common.Image | null);\n }\n export interface VideoV2 {\n id?: (string | null);\n url?: (string | null);\n resolutions?: ($wrapper.wix.common.VideoResolution[] | null);\n filename?: (string | null);\n posters?: ($wrapper.wix.common.Image[] | null);\n sizeInBytes?: (string | null);\n urlExpirationDate?: (Date | null);\n durationInMilliseconds?: (number | null);\n title?: (string | null);\n description?: (string | null);\n height?: (number | null);\n width?: (number | null);\n }\n export interface VideoResolution {\n url?: (string | null);\n height?: (number | null);\n width?: (number | null);\n poster?: ($wrapper.wix.common.Image | null);\n format?: (string | null);\n urlExpirationDate?: (Date | null);\n sizeInBytes?: (string | null);\n quality?: (string | null);\n filename?: (string | null);\n durationInSeconds?: (number | null);\n durationInMilliseconds?: (number | null);\n private?: (boolean | null);\n assetKey?: (string | null);\n }\n export interface Audio {\n id?: (string | null);\n url?: (string | null);\n urlExpirationDate?: (Date | null);\n sizeInBytes?: (string | null);\n filename?: (string | null);\n duration?: (number | null);\n private?: (boolean | null);\n assetKey?: (string | null);\n format?: (string | null);\n quality?: (string | null);\n }\n export interface Document {\n id?: (string | null);\n url?: (string | null);\n urlExpirationDate?: (Date | null);\n sizeInBytes?: (string | null);\n filename?: (string | null);\n thumbnail?: ($wrapper.wix.common.Image | null);\n }\n export interface Model3D {\n id?: (string | null);\n url?: (string | null);\n thumbnail?: ($wrapper.wix.common.Image | null);\n altText?: (string | null);\n urlExpirationDate?: (Date | null);\n filename?: (string | null);\n sizeInBytes?: (string | null);\n }\n export interface Archive {\n id?: (string | null);\n url?: (string | null);\n urlExpirationDate?: (Date | null);\n sizeInBytes?: (string | null);\n filename?: (string | null);\n }\n export interface MediaItem {\n image?: ($wrapper.wix.common.Image | null);\n video?: ($wrapper.wix.common.Video | null);\n document?: ($wrapper.wix.common.Document | null);\n }\n export interface FocalPoint {\n x?: (number | null);\n y?: (number | null);\n height?: (number | null);\n width?: (number | null);\n }\n export interface Money {\n value?: (string | null);\n currency?: (string | null);\n formattedValue?: (string | null);\n }\n export interface PageUrl {\n base?: (string | null);\n path?: (string | null);\n }\n export interface PageUrlV2 {\n relativePath?: (string | null);\n url?: (string | null);\n }\n export interface Paging {\n limit?: (number | null);\n offset?: (number | null);\n }\n export interface CursorPaging {\n limit?: (number | null);\n cursor?: (string | null);\n }\n export interface PagingMetadata {\n count?: (number | null);\n offset?: (number | null);\n total?: (number | null);\n tooManyToCount?: (boolean | null);\n hasNext?: (boolean | null);\n }\n export interface PagingMetadataV2 {\n count?: (number | null);\n offset?: (number | null);\n total?: (number | null);\n tooManyToCount?: (boolean | null);\n cursors?: ($wrapper.wix.common.Cursors | null);\n hasNext?: (boolean | null);\n }\n export interface CursorPagingMetadata {\n count?: (number | null);\n cursors?: ($wrapper.wix.common.Cursors | null);\n hasNext?: (boolean | null);\n total?: (number | null);\n }\n export interface Cursors {\n next?: (string | null);\n prev?: (string | null);\n }\n export interface Sorting {\n fieldName?: (string | null);\n order?: ($wrapper.wix.common.SortOrder | null);\n selectItemsBy?: ({ [key: string]: any }[] | null);\n }\n export enum SortOrder {\n ASC = \"ASC\",\n DESC = \"DESC\",\n }\n export namespace spi {\n export interface SpiBaseUri {\n baseUri?: (string | null);\n alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.AlternativeUri[] | null);\n }\n export namespace SpiBaseUri {\n export interface AlternativeUri {\n methodName?: (string | null);\n absoluteUri?: (string | null);\n }\n }\n /**\n * this message is not directly used by any service,\n * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.\n * e.g. SPIs, event-handlers, etc..\n * NOTE: this context object MUST be provided as the last argument in each Velo method signature.\n * \n * Example:\n * ```typescript\n * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {\n * ...\n * }\n * ```\n */\n export interface Context {\n requestId?: (string | null);\n currency?: (string | null);\n identity?: ($wrapper.wix.common.spi.Context.IdentificationData | null);\n languages?: (string[] | null);\n instanceId?: (string | null);\n appExtensionId?: (string | null);\n appExtensionType?: (string | null);\n functionName?: (string | null);\n }\n export namespace Context {\n export interface IdentificationData {\n identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null);\n anonymousVisitorId?: (string | null);\n memberId?: (string | null);\n wixUserId?: (string | null);\n appId?: (string | null);\n }\n export namespace IdentificationData {\n export enum IdentityType {\n UNKNOWN = \"UNKNOWN\",\n ANONYMOUS_VISITOR = \"ANONYMOUS_VISITOR\",\n MEMBER = \"MEMBER\",\n WIX_USER = \"WIX_USER\",\n APP = \"APP\",\n }\n }\n }\n }\n export namespace tags {\n export interface Tags {\n privateTags?: ($wrapper.wix.common.tags.Tags.TagList | null);\n tags?: ($wrapper.wix.common.tags.Tags.TagList | null);\n }\n export namespace Tags {\n export interface TagList {\n tagIds?: (string[] | null);\n }\n }\n export interface PublicTags {\n tags?: ($wrapper.wix.common.tags.PublicTags.TagList | null);\n }\n export namespace PublicTags {\n export interface TagList {\n tagIds?: (string[] | null);\n }\n }\n }\n export interface WixLink {\n external?: ($wrapper.wix.common.ExternalLink | null);\n page?: ($wrapper.wix.common.PageLink | null);\n anchor?: ($wrapper.wix.common.AnchorLink | null);\n dynamicPage?: ($wrapper.wix.common.DynamicPageLink | null);\n document?: ($wrapper.wix.common.DocumentLink | null);\n email?: ($wrapper.wix.common.EmailLink | null);\n phone?: ($wrapper.wix.common.PhoneLink | null);\n address?: ($wrapper.wix.common.AddressLink | null);\n whatsApp?: ($wrapper.wix.common.WhatsAppLink | null);\n tpaPage?: ($wrapper.wix.common.TpaPageLink | null);\n }\n export interface ExternalLink {\n url?: (string | null);\n target?: (string | null);\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface PageLink {\n pageId?: (string | null);\n target?: (string | null);\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface AnchorLink {\n anchorName?: (string | null);\n anchorDataId?: (string | null);\n pageId?: (string | null);\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface DynamicPageLink {\n routerId?: (string | null);\n innerRoute?: (string | null);\n anchorDataId?: (string | null);\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface DocumentLink {\n docId?: (string | null);\n name?: (string | null);\n indexable?: (boolean | null);\n }\n export interface EmailLink {\n recipient?: (string | null);\n subject?: (string | null);\n body?: (string | null);\n }\n export interface PhoneLink {\n phoneNumber?: (string | null);\n }\n export interface AddressLink {\n address?: (string | null);\n }\n export interface WhatsAppLink {\n phoneNumber?: (string | null);\n }\n export interface TpaPageLink {\n itemTypeIdentifier?: (string | null);\n itemId?: (string | null);\n pageId?: (string | null);\n appDefinitionId?: (string | null);\n path?: (string | null);\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export enum LinkRel {\n unknown_link_rel = \"unknown_link_rel\",\n nofollow = \"nofollow\",\n noopener = \"noopener\",\n noreferrer = \"noreferrer\",\n sponsored = \"sponsored\",\n }\n }\n export namespace api {\n export interface ReferenceEntityField {\n path?: (string | null);\n }\n export interface CacheSettings {\n maxAgeSeconds?: (number | null);\n manual?: (boolean | null);\n }\n export interface FieldSet {\n field?: (string[] | null);\n }\n export interface Deprecated {\n replacedBy?: (string | null);\n targetRemovalDate?: (string | null);\n }\n export interface Unique {\n field?: (string[] | null);\n }\n export interface Crud {\n method?: ($wrapper.wix.api.Crud.Method | null);\n createOptions?: ($wrapper.wix.api.CreateMethodOptions | null);\n getOptions?: ($wrapper.wix.api.GetItemMethodOptions | null);\n updateOptions?: ($wrapper.wix.api.UpdateMethodOptions | null);\n deleteOptions?: ($wrapper.wix.api.DeleteMethodOptions | null);\n listOptions?: ($wrapper.wix.api.ListMethodOptions | null);\n queryOptions?: ($wrapper.wix.api.QueryMethodOptions | null);\n searchOptions?: ($wrapper.wix.api.SearchMethodOptions | null);\n bulkCreateOptions?: ($wrapper.wix.api.BulkCreateMethodOptions | null);\n bulkUpdateOptions?: ($wrapper.wix.api.BulkUpdateMethodOptions | null);\n bulkUpdateByFilterOptions?: ($wrapper.wix.api.BulkUpdateByFilterMethodOptions | null);\n bulkDeleteOptions?: ($wrapper.wix.api.BulkDeleteMethodOptions | null);\n bulkDeleteByFilterOptions?: ($wrapper.wix.api.BulkDeleteByFilterMethodOptions | null);\n upsertOptions?: ($wrapper.wix.api.UpsertMethodOptions | null);\n bulkUpsertOptions?: ($wrapper.wix.api.BulkUpsertMethodOptions | null);\n listDeletedOptions?: ($wrapper.wix.api.ListDeletedMethodOptions | null);\n getDeletedOptions?: ($wrapper.wix.api.GetDeletedMethodOptions | null);\n restoreFromTrashbinOptions?: ($wrapper.wix.api.RestoreFromTrashbinMethodOptions | null);\n removeFromTrashbinOptions?: ($wrapper.wix.api.RemoveFromTrashbinMethodOptions | null);\n countOptions?: ($wrapper.wix.api.CountOptions | null);\n searchRelatedOptions?: ($wrapper.wix.api.SearchRelatedOptions | null);\n updateExtendedFieldsOptions?: ($wrapper.wix.api.UpdateExtendedFieldsOptions | null);\n customActionOptions?: ($wrapper.wix.api.CustomActionOptions | null);\n bulkUpdateTagsOptions?: ($wrapper.wix.api.BulkUpdateTagsMethodOptions | null);\n bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.BulkUpdateTagsByFilterMethodOptions | null);\n }\n export namespace Crud {\n export enum Method {\n UNKNOWN_METHOD = \"UNKNOWN_METHOD\",\n CREATE = \"CREATE\",\n GET_ITEM = \"GET_ITEM\",\n UPDATE = \"UPDATE\",\n DELETE = \"DELETE\",\n UPSERT = \"UPSERT\",\n LIST = \"LIST\",\n QUERY = \"QUERY\",\n SEARCH = \"SEARCH\",\n BULK_CREATE = \"BULK_CREATE\",\n BULK_UPDATE = \"BULK_UPDATE\",\n BULK_UPDATE_BY_FILTER = \"BULK_UPDATE_BY_FILTER\",\n BULK_DELETE = \"BULK_DELETE\",\n BULK_DELETE_BY_FILTER = \"BULK_DELETE_BY_FILTER\",\n BULK_UPSERT = \"BULK_UPSERT\",\n LIST_DELETED = \"LIST_DELETED\",\n GET_DELETED = \"GET_DELETED\",\n RESTORE_FROM_TRASHBIN = \"RESTORE_FROM_TRASHBIN\",\n REMOVE_FROM_TRASHBIN = \"REMOVE_FROM_TRASHBIN\",\n COUNT = \"COUNT\",\n SEARCH_RELATED = \"SEARCH_RELATED\",\n UPDATE_EXTENDED_FIELDS = \"UPDATE_EXTENDED_FIELDS\",\n BULK_UPDATE_TAGS = \"BULK_UPDATE_TAGS\",\n BULK_UPDATE_TAGS_BY_FILTER = \"BULK_UPDATE_TAGS_BY_FILTER\",\n CUSTOM_ACTION = \"CUSTOM_ACTION\",\n }\n }\n export interface Paging {\n type?: ($wrapper.wix.api.Paging.Type | null);\n pagingMetadataField?: (string | null);\n cursorPagingMetadataField?: (string | null);\n offsetPagingMetadataField?: (string | null);\n }\n export namespace Paging {\n export enum Type {\n UNKNOWN_TYPE = \"UNKNOWN_TYPE\",\n OFFSET = \"OFFSET\",\n CURSOR = \"CURSOR\",\n BOTH = \"BOTH\",\n }\n }\n export interface CustomActionOptions {\n readOperation?: (boolean | null);\n wql?: ($wrapper.wix.api.WqlOptions | null);\n }\n export interface WqlOptions {\n queryOptionsName?: (string | null);\n filterField?: (string | null);\n queryField?: (string | null);\n searchField?: (string | null);\n }\n export interface CreateMethodOptions {\n itemField?: (string | null);\n }\n export interface GetItemMethodOptions {\n itemField?: (string | null);\n idField?: (string | null);\n }\n export interface UpdateMethodOptions {\n itemField?: (string | null);\n fieldmaskField?: (string | null);\n }\n export interface UpsertMethodOptions {\n itemField?: (string | null);\n fieldmaskField?: (string | null);\n }\n export interface DeleteMethodOptions {\n idField?: (string | null);\n }\n export interface ListMethodOptions {\n idsField?: (string | null);\n itemsField?: (string | null);\n paging?: ($wrapper.wix.api.Paging | null);\n meAliasableField?: (string[] | null);\n }\n export interface QueryMethodOptions {\n queryField?: (string | null);\n cursorQueryField?: (string | null);\n offsetQueryField?: (string | null);\n itemsField?: (string | null);\n paging?: ($wrapper.wix.api.Paging | null);\n wql?: ($wrapper.wix.api.Wql | null);\n queryOptionsName?: (string | null);\n meAliasableField?: (string[] | null);\n }\n export interface SearchMethodOptions {\n searchField?: (string | null);\n cursorSearchField?: (string | null);\n offsetSearchField?: (string | null);\n itemsField?: (string | null);\n paging?: ($wrapper.wix.api.Paging | null);\n wql?: ($wrapper.wix.api.Wql | null);\n queryOptionsName?: (string | null);\n meAliasableField?: (string[] | null);\n search?: ($wrapper.wix.api.Search[] | null);\n }\n export interface BulkCreateMethodOptions {\n itemField?: (string | null);\n }\n export interface BulkUpdateMethodOptions {\n itemsField?: (string | null);\n itemField?: (string | null);\n fieldmaskField?: (string | null);\n }\n export interface BulkUpdateByFilterMethodOptions {\n itemField?: (string | null);\n fieldmaskField?: (string | null);\n filterField?: (string | null);\n queryOptionsName?: (string | null);\n }\n export interface BulkUpdateTagsMethodOptions {\n idsField?: (string | null);\n }\n export interface BulkUpdateTagsByFilterMethodOptions {\n filterField?: (string | null);\n queryOptionsName?: (string | null);\n }\n export interface BulkUpsertMethodOptions {\n itemField?: (string | null);\n fieldmaskField?: (string | null);\n }\n export interface BulkDeleteMethodOptions {\n idsField?: (string | null);\n }\n export interface BulkDeleteByFilterMethodOptions {\n filterField?: (string | null);\n queryOptionsName?: (string | null);\n }\n export interface ListDeletedMethodOptions {\n idsField?: (string | null);\n itemsField?: (string | null);\n paging?: ($wrapper.wix.api.Paging | null);\n meAliasableField?: (string[] | null);\n }\n export interface GetDeletedMethodOptions {\n itemField?: (string | null);\n idField?: (string | null);\n }\n export interface RestoreFromTrashbinMethodOptions {\n itemField?: (string | null);\n idField?: (string | null);\n }\n export interface RemoveFromTrashbinMethodOptions {\n idField?: (string | null);\n }\n export interface CountOptions {\n inheritWqlFrom?: (string | null);\n queryOptionsName?: (string | null);\n filterField?: (string | null);\n countField?: (string | null);\n }\n export interface SearchRelatedOptions {\n inheritWqlFrom?: (string | null);\n queryOptionsName?: (string | null);\n }\n export interface UpdateExtendedFieldsOptions {\n itemField?: (string | null);\n }\n export interface Wql {\n operatorFieldSupport?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);\n pattern?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);\n validateQuery?: (boolean | null);\n }\n export namespace Wql {\n export enum Operator {\n ALL_APPLICABLE_OPERATORS = \"ALL_APPLICABLE_OPERATORS\",\n EQ = \"EQ\",\n GT = \"GT\",\n GTE = \"GTE\",\n IN = \"IN\",\n LT = \"LT\",\n LTE = \"LTE\",\n NE = \"NE\",\n NIN = \"NIN\",\n BEGINS = \"BEGINS\",\n EXISTS = \"EXISTS\",\n HAS_ALL = \"HAS_ALL\",\n ALL = \"ALL\",\n HAS_SOME = \"HAS_SOME\",\n ANY = \"ANY\",\n EMPTY = \"EMPTY\",\n MATCH_ALL = \"MATCH_ALL\",\n MATCH_ITEMS = \"MATCH_ITEMS\",\n ENHANCED_DATE = \"ENHANCED_DATE\",\n }\n export enum Sort {\n NONE = \"NONE\",\n ASC = \"ASC\",\n DESC = \"DESC\",\n BOTH = \"BOTH\",\n }\n export interface RequiredFields {\n field?: (string[] | null);\n requiredField?: ($wrapper.wix.api.Wql.RequiredFields.RequiredField[] | null);\n }\n export namespace RequiredFields {\n export interface RequiredField {\n path?: (string | null);\n sort?: ($wrapper.wix.api.Wql.Sort | null);\n }\n }\n export enum VirtualSubfields {\n NO_VIRTUAL_SUBFIELDS = \"NO_VIRTUAL_SUBFIELDS\",\n DATE = \"DATE\",\n EMAIL = \"EMAIL\",\n }\n export interface OperatorFieldSupport {\n operator?: ($wrapper.wix.api.Wql.Operator[] | null);\n glob?: (string | null);\n field?: (string[] | null);\n sort?: ($wrapper.wix.api.Wql.Sort | null);\n requiredFields?: ($wrapper.wix.api.Wql.RequiredFields[] | null);\n maturity?: ($wrapper.wix.api.Maturity | null);\n virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);\n }\n }\n export interface Search {\n field?: (string[] | null);\n maturity?: ($wrapper.wix.api.Maturity | null);\n }\n export interface Translatable {\n name?: (string | null);\n hidden?: (boolean | null);\n grouping?: (string | null);\n type?: ($wrapper.wix.api.Translatable.Type | null);\n displayOnly?: (boolean | null);\n }\n export namespace Translatable {\n export enum Type {\n UNDEFINED_TYPE = \"UNDEFINED_TYPE\",\n SHORT_TEXT = \"SHORT_TEXT\",\n LONG_TEXT = \"LONG_TEXT\",\n RICH_TEXT = \"RICH_TEXT\",\n RICH_CONTENT_EDITOR = \"RICH_CONTENT_EDITOR\",\n SELECTION = \"SELECTION\",\n MULTI_SELECTION = \"MULTI_SELECTION\",\n DOCUMENT = \"DOCUMENT\",\n IMAGE = \"IMAGE\",\n VIDEO = \"VIDEO\",\n IMAGE_LINK = \"IMAGE_LINK\",\n }\n }\n export interface Conditional {\n permission?: (string | null);\n requestedField?: (string | null);\n }\n export interface ServiceAppendix {\n type?: ($wrapper.wix.api.ServiceAppendix.Type | null);\n path?: (string | null);\n }\n export namespace ServiceAppendix {\n export enum Type {\n UNKNOWN_APPENDIX_TYPE = \"UNKNOWN_APPENDIX_TYPE\",\n NILE = \"NILE\",\n MESSAGE_BUS = \"MESSAGE_BUS\",\n }\n }\n export enum Exposure {\n PRIVATE = \"PRIVATE\",\n INTERNAL = \"INTERNAL\",\n PUBLIC = \"PUBLIC\",\n }\n export enum Maturity {\n ALPHA = \"ALPHA\",\n BETA = \"BETA\",\n IA = \"IA\",\n GA = \"GA\",\n NOT_IMPLEMENTED = \"NOT_IMPLEMENTED\",\n }\n /**\n * Decimal value validation rules.\n * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE\n */\n export interface DecimalValueOptions {\n lte?: (string | null);\n gte?: (string | null);\n lt?: (string | null);\n gt?: (string | null);\n maxScale?: (number | null);\n }\n export interface AlignedWithEnum {\n field?: (string | null);\n suffix?: (string | null);\n }\n export enum Format {\n EMAIL = \"EMAIL\",\n HOSTNAME = \"HOSTNAME\",\n IPV4 = \"IPV4\",\n IPV6 = \"IPV6\",\n URI = \"URI\",\n WEB_URL = \"WEB_URL\",\n PHONE = \"PHONE\",\n CREDIT_CARD = \"CREDIT_CARD\",\n GUID = \"GUID\",\n COUNTRY = \"COUNTRY\",\n LANGUAGE = \"LANGUAGE\",\n DECIMAL_VALUE = \"DECIMAL_VALUE\",\n CURRENCY = \"CURRENCY\",\n LANGUAGE_TAG = \"LANGUAGE_TAG\",\n COLOR_HEX = \"COLOR_HEX\",\n LOCAL_DATE = \"LOCAL_DATE\",\n LOCAL_TIME = \"LOCAL_TIME\",\n LOCAL_DATE_TIME = \"LOCAL_DATE_TIME\",\n URL_SLUG = \"URL_SLUG\",\n SYSTEM_SLUG = \"SYSTEM_SLUG\",\n SECURE_WEB_URL = \"SECURE_WEB_URL\",\n SUBDIVISION = \"SUBDIVISION\",\n }\n /**\n * ApplicationError: named Error for backwards compatibility\n */\n export interface Error {\n httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);\n applicationCode?: (string | null);\n data?: (string | null);\n }\n /**\n * Method-level reference to a service-level error.\n */\n export interface ErrorRef {\n applicationCode?: (string | null);\n }\n /**\n * CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra\n */\n export interface CustomValidationError {\n ruleName?: (string | null);\n data?: (string | null);\n }\n /**\n * InheritCrudErrors: does this method throw standard crud errors?\n */\n export interface InheritCrudErrors {\n method?: ($wrapper.wix.api.Crud.Method | null);\n }\n export interface StatusCodes {\n }\n export namespace StatusCodes {\n export enum HttpStatusCode {\n OK = \"OK\",\n UNAUTHENTICATED = \"UNAUTHENTICATED\",\n PERMISSION_DENIED = \"PERMISSION_DENIED\",\n INVALID_ARGUMENT = \"INVALID_ARGUMENT\",\n NOT_FOUND = \"NOT_FOUND\",\n INTERNAL = \"INTERNAL\",\n UNAVAILABLE = \"UNAVAILABLE\",\n RESOURCE_EXHAUSTED = \"RESOURCE_EXHAUSTED\",\n CANCELED = \"CANCELED\",\n ALREADY_EXISTS = \"ALREADY_EXISTS\",\n FAILED_PRECONDITION = \"FAILED_PRECONDITION\",\n }\n }\n export interface Details {\n applicationError?: ($wrapper.wix.api.ApplicationError | null);\n validationError?: ($wrapper.wix.api.ValidationError | null);\n systemError?: ($wrapper.wix.api.SystemError | null);\n tracing?: ({ [k: string]: string } | null);\n }\n export interface ApplicationError {\n code?: (string | null);\n description?: (string | null);\n data?: ({ [key: string]: any } | null);\n }\n export interface SystemError {\n errorCode?: (string | null);\n }\n /**\n * example result:\n * {\n * \"fieldViolations\": [\n * {\n * \"field\": \"fieldA\",\n * \"description\": \"invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]\",\n * \"violatedRule\": \"OTHER\",\n * \"ruleName\": \"INVALID_NOTE\",\n * \"data\": {\n * \"value\": \"FI\"\n * }\n * },\n * {\n * \"field\": \"fieldB\",\n * \"description\": \"field value out of range. supported range: [0-20]\",\n * \"violatedRule\": \"MAX\",\n * \"data\": {\n * \"threshold\": 20\n * }\n * },\n * {\n * \"field\": \"fieldC\",\n * \"description\": \"invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]\",\n * \"violatedRule\": \"FORMAT\",\n * \"data\": {\n * \"type\": \"PHONE\"\n * }\n * }\n * ]\n * }\n */\n export interface ValidationError {\n fieldViolations?: ($wrapper.wix.api.ValidationError.FieldViolation[] | null);\n }\n export namespace ValidationError {\n export enum RuleType {\n VALIDATION = \"VALIDATION\",\n OTHER = \"OTHER\",\n MAX = \"MAX\",\n MIN = \"MIN\",\n MAX_LENGTH = \"MAX_LENGTH\",\n MIN_LENGTH = \"MIN_LENGTH\",\n MAX_SIZE = \"MAX_SIZE\",\n MIN_SIZE = \"MIN_SIZE\",\n FORMAT = \"FORMAT\",\n DECIMAL_LTE = \"DECIMAL_LTE\",\n DECIMAL_GTE = \"DECIMAL_GTE\",\n DECIMAL_LT = \"DECIMAL_LT\",\n DECIMAL_GT = \"DECIMAL_GT\",\n DECIMAL_MAX_SCALE = \"DECIMAL_MAX_SCALE\",\n INVALID_ENUM_VALUE = \"INVALID_ENUM_VALUE\",\n REQUIRED_FIELD = \"REQUIRED_FIELD\",\n FIELD_NOT_ALLOWED = \"FIELD_NOT_ALLOWED\",\n ONE_OF_ALIGNMENT = \"ONE_OF_ALIGNMENT\",\n EXACT_LENGTH = \"EXACT_LENGTH\",\n EXACT_SIZE = \"EXACT_SIZE\",\n REQUIRED_ONE_OF_FIELD = \"REQUIRED_ONE_OF_FIELD\",\n }\n export interface FieldViolation {\n field?: (string | null);\n description?: (string | null);\n violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null);\n ruleName?: (string | null);\n data?: ({ [key: string]: any } | null);\n }\n }\n export interface LimitRuleInt32DataPayload {\n threshold?: (number | null);\n }\n export interface LimitRuleDoubleDataPayload {\n threshold?: (number | null);\n }\n export interface LimitRuleStringDataPayload {\n threshold?: (string | null);\n }\n export interface FormatRuleDataPayload {\n type?: (string | null);\n }\n export interface EnumRuleDataPayload {\n supported?: (string[] | null);\n }\n export interface RequiredOneOfRuleDataPayload {\n supported?: (string[] | null);\n }\n }\n }\n export namespace google {\n export namespace protobuf {\n export interface FileDescriptorSet {\n file?: ($wrapper.google.protobuf.FileDescriptorProto[] | null);\n }\n export interface FileDescriptorProto {\n name?: (string | null);\n package?: (string | null);\n dependency?: (string[] | null);\n publicDependency?: (number[] | null);\n weakDependency?: (number[] | null);\n messageType?: ($wrapper.google.protobuf.DescriptorProto[] | null);\n enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);\n service?: ($wrapper.google.protobuf.ServiceDescriptorProto[] | null);\n extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.FileOptions | null);\n sourceCodeInfo?: ($wrapper.google.protobuf.SourceCodeInfo | null);\n syntax?: (string | null);\n }\n export interface DescriptorProto {\n name?: (string | null);\n field?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n nestedType?: ($wrapper.google.protobuf.DescriptorProto[] | null);\n enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);\n extensionRange?: ($wrapper.google.protobuf.DescriptorProto.ExtensionRange[] | null);\n oneofDecl?: ($wrapper.google.protobuf.OneofDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.MessageOptions | null);\n reservedRange?: ($wrapper.google.protobuf.DescriptorProto.ReservedRange[] | null);\n reservedName?: (string[] | null);\n }\n export namespace DescriptorProto {\n export interface ExtensionRange {\n start?: (number | null);\n end?: (number | null);\n options?: ($wrapper.google.protobuf.ExtensionRangeOptions | null);\n }\n export interface ReservedRange {\n start?: (number | null);\n end?: (number | null);\n }\n }\n export interface ExtensionRangeOptions {\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n export interface FieldDescriptorProto {\n name?: (string | null);\n number?: (number | null);\n label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null);\n type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null);\n typeName?: (string | null);\n extendee?: (string | null);\n defaultValue?: (string | null);\n oneofIndex?: (number | null);\n jsonName?: (string | null);\n options?: ($wrapper.google.protobuf.FieldOptions | null);\n proto3Optional?: (boolean | null);\n }\n export namespace FieldDescriptorProto {\n export enum Type {\n TYPE_DOUBLE = \"TYPE_DOUBLE\",\n TYPE_FLOAT = \"TYPE_FLOAT\",\n TYPE_INT64 = \"TYPE_INT64\",\n TYPE_UINT64 = \"TYPE_UINT64\",\n TYPE_INT32 = \"TYPE_INT32\",\n TYPE_FIXED64 = \"TYPE_FIXED64\",\n TYPE_FIXED32 = \"TYPE_FIXED32\",\n TYPE_BOOL = \"TYPE_BOOL\",\n TYPE_STRING = \"TYPE_STRING\",\n TYPE_GROUP = \"TYPE_GROUP\",\n TYPE_MESSAGE = \"TYPE_MESSAGE\",\n TYPE_BYTES = \"TYPE_BYTES\",\n TYPE_UINT32 = \"TYPE_UINT32\",\n TYPE_ENUM = \"TYPE_ENUM\",\n TYPE_SFIXED32 = \"TYPE_SFIXED32\",\n TYPE_SFIXED64 = \"TYPE_SFIXED64\",\n TYPE_SINT32 = \"TYPE_SINT32\",\n TYPE_SINT64 = \"TYPE_SINT64\",\n }\n export enum Label {\n LABEL_OPTIONAL = \"LABEL_OPTIONAL\",\n LABEL_REQUIRED = \"LABEL_REQUIRED\",\n LABEL_REPEATED = \"LABEL_REPEATED\",\n }\n }\n export interface OneofDescriptorProto {\n name?: (string | null);\n options?: ($wrapper.google.protobuf.OneofOptions | null);\n }\n export interface EnumDescriptorProto {\n name?: (string | null);\n value?: ($wrapper.google.protobuf.EnumValueDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.EnumOptions | null);\n reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.EnumReservedRange[] | null);\n reservedName?: (string[] | null);\n }\n export namespace EnumDescriptorProto {\n export interface EnumReservedRange {\n start?: (number | null);\n end?: (number | null);\n }\n }\n export interface EnumValueDescriptorProto {\n name?: (string | null);\n number?: (number | null);\n options?: ($wrapper.google.protobuf.EnumValueOptions | null);\n }\n export interface ServiceDescriptorProto {\n name?: (string | null);\n method?: ($wrapper.google.protobuf.MethodDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.ServiceOptions | null);\n }\n export interface MethodDescriptorProto {\n name?: (string | null);\n inputType?: (string | null);\n outputType?: (string | null);\n options?: ($wrapper.google.protobuf.MethodOptions | null);\n clientStreaming?: (boolean | null);\n serverStreaming?: (boolean | null);\n }\n export interface FileOptions {\n javaPackage?: (string | null);\n javaOuterClassname?: (string | null);\n javaMultipleFiles?: (boolean | null);\n javaGenerateEqualsAndHash?: (boolean | null);\n javaStringCheckUtf8?: (boolean | null);\n optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null);\n goPackage?: (string | null);\n ccGenericServices?: (boolean | null);\n javaGenericServices?: (boolean | null);\n pyGenericServices?: (boolean | null);\n phpGenericServices?: (boolean | null);\n deprecated?: (boolean | null);\n ccEnableArenas?: (boolean | null);\n objcClassPrefix?: (string | null);\n csharpNamespace?: (string | null);\n swiftPrefix?: (string | null);\n phpClassPrefix?: (string | null);\n phpNamespace?: (string | null);\n phpMetadataNamespace?: (string | null);\n rubyPackage?: (string | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n export namespace FileOptions {\n export enum OptimizeMode {\n SPEED = \"SPEED\",\n CODE_SIZE = \"CODE_SIZE\",\n LITE_RUNTIME = \"LITE_RUNTIME\",\n }\n }\n export interface MessageOptions {\n messageSetWireFormat?: (boolean | null);\n noStandardDescriptorAccessor?: (boolean | null);\n deprecated?: (boolean | null);\n mapEntry?: (boolean | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.decompositeOf'?: (string | null);\n '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.FieldSet[] | null);\n '.wix.api.unwrapArrayValue'?: (boolean | null);\n '.wix.api.messageDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.unique'?: ($wrapper.wix.api.Unique[] | null);\n }\n export interface FieldOptions {\n ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null);\n packed?: (boolean | null);\n jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null);\n lazy?: (boolean | null);\n deprecated?: (boolean | null);\n weak?: (boolean | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.pii'?: (boolean | null);\n '.wix.api.referencedEntity'?: (string | null);\n '.wix.api.referencedEntityField'?: ($wrapper.wix.api.ReferenceEntityField | null);\n '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.translatable'?: ($wrapper.wix.api.Translatable | null);\n '.wix.api.sampleData'?: (string | null);\n '.wix.api.conditional'?: ($wrapper.wix.api.Conditional | null);\n '.wix.api.nullable'?: (boolean | null);\n '.wix.api.max'?: (number | null);\n '.wix.api.min'?: (number | null);\n '.wix.api.maxLength'?: (number | null);\n '.wix.api.minLength'?: (number | null);\n '.wix.api.exactLength'?: (number | null);\n '.wix.api.maxSize'?: (number | null);\n '.wix.api.minSize'?: (number | null);\n '.wix.api.exactSize'?: (number | null);\n '.wix.api.format'?: ($wrapper.wix.api.Format | null);\n '.wix.api.readOnly'?: (boolean | null);\n '.wix.api.immutable'?: (boolean | null);\n '.wix.api.writeOnly'?: (boolean | null);\n '.wix.api.decimalValue'?: ($wrapper.wix.api.DecimalValueOptions | null);\n '.wix.api.customValidation'?: ($wrapper.wix.api.CustomValidationError | null);\n }\n export namespace FieldOptions {\n export enum CType {\n STRING = \"STRING\",\n CORD = \"CORD\",\n STRING_PIECE = \"STRING_PIECE\",\n }\n export enum JSType {\n JS_NORMAL = \"JS_NORMAL\",\n JS_STRING = \"JS_STRING\",\n JS_NUMBER = \"JS_NUMBER\",\n }\n }\n export interface OneofOptions {\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.alignedWithEnum'?: ($wrapper.wix.api.AlignedWithEnum | null);\n }\n export interface EnumOptions {\n allowAlias?: (boolean | null);\n deprecated?: (boolean | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n export interface EnumValueOptions {\n deprecated?: (boolean | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null);\n }\n export interface ServiceOptions {\n deprecated?: (boolean | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.appendixFiles'?: ($wrapper.wix.api.ServiceAppendix[] | null);\n '.wix.api.errorDef'?: ($wrapper.wix.api.Error[] | null);\n }\n export interface MethodOptions {\n deprecated?: (boolean | null);\n idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.cacheable'?: ($wrapper.wix.api.CacheSettings | null);\n '.wix.api.deprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.crud'?: ($wrapper.wix.api.Crud | null);\n '.wix.api.acceptsLinguist'?: (boolean | null);\n '.wix.api.required'?: (string[] | null);\n '.wix.api.writable'?: (string[] | null);\n '.wix.api.error'?: ($wrapper.wix.api.Error[] | null);\n '.wix.api.customValidationError'?: ($wrapper.wix.api.CustomValidationError[] | null);\n '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.InheritCrudErrors[] | null);\n '.wix.api.errorRef'?: ($wrapper.wix.api.ErrorRef[] | null);\n }\n export namespace MethodOptions {\n export enum IdempotencyLevel {\n IDEMPOTENCY_UNKNOWN = \"IDEMPOTENCY_UNKNOWN\",\n NO_SIDE_EFFECTS = \"NO_SIDE_EFFECTS\",\n IDEMPOTENT = \"IDEMPOTENT\",\n }\n }\n export interface UninterpretedOption {\n name?: ($wrapper.google.protobuf.UninterpretedOption.NamePart[] | null);\n identifierValue?: (string | null);\n positiveIntValue?: ((number | string) | null);\n negativeIntValue?: ((number | string) | null);\n doubleValue?: (number | null);\n stringValue?: (Uint8Array | null);\n aggregateValue?: (string | null);\n }\n export namespace UninterpretedOption {\n export interface NamePart {\n namePart?: (string | null);\n isExtension?: (boolean | null);\n }\n }\n export interface SourceCodeInfo {\n location?: ($wrapper.google.protobuf.SourceCodeInfo.Location[] | null);\n }\n export namespace SourceCodeInfo {\n export interface Location {\n path?: (number[] | null);\n span?: (number[] | null);\n leadingComments?: (string | null);\n trailingComments?: (string | null);\n leadingDetachedComments?: (string[] | null);\n }\n }\n export interface GeneratedCodeInfo {\n annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.Annotation[] | null);\n }\n export namespace GeneratedCodeInfo {\n export interface Annotation {\n path?: (number[] | null);\n sourceFile?: (string | null);\n begin?: (number | null);\n end?: (number | null);\n }\n }\n }\n }\n}\n\nexport default $wrapper;\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/generated/proto-generated.d.ts"],"sourcesContent":["\n\ndeclare namespace $wrapper {\n export namespace wix {\n export namespace common {\n /**\n * Physical address\n */\n export interface Address {\n /**\n * Country code.\n */\n country?: (string | null);\n /**\n * Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY\n */\n subdivision?: (string | null);\n /**\n * Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2), e.g. US-NY\n */\n subdivisionIso31662?: (string | null);\n /**\n * City name.\n */\n city?: (string | null);\n /**\n * Zip/postal code.\n */\n postalCode?: (string | null);\n /**\n * Street name and number.\n */\n streetAddress?: ($wrapper.wix.common.StreetAddress | null);\n /**\n * Main address line, usually street and number as free text.\n */\n addressLine?: (string | null);\n /**\n * Free text providing more detailed address info. Usually contains Apt, Suite, and Floor.\n */\n addressLine2?: (string | null);\n /**\n * A string containing the full address of this location.\n */\n formattedAddress?: (string | null);\n /**\n * Free text to help find the address.\n */\n hint?: (string | null);\n /**\n * Coordinates of the physical address.\n */\n geocode?: ($wrapper.wix.common.AddressLocation | null);\n /**\n * Country full name.\n */\n countryFullname?: (string | null);\n /**\n * Subdivision full name.\n */\n subdivisionFullname?: (string | null);\n /**\n * Multi-level subdivisions from top to bottom.\n */\n subdivisions?: ($wrapper.wix.common.Subdivision[] | null);\n }\n export interface Subdivision {\n /**\n * Short subdivision code.\n */\n code?: (string | null);\n /**\n * Subdivision full name.\n */\n name?: (string | null);\n /**\n * Subdivision level\n */\n type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null);\n /**\n * Free text description of subdivision type.\n */\n typeInfo?: (string | null);\n /**\n * Standard organizations details (e.g. ISO).\n */\n standardDetails?: ($wrapper.wix.common.Subdivision.StandardDetails | null);\n }\n export namespace Subdivision {\n export enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = \"UNKNOWN_SUBDIVISION_TYPE\",\n ADMINISTRATIVE_AREA_LEVEL_1 = \"ADMINISTRATIVE_AREA_LEVEL_1\",\n ADMINISTRATIVE_AREA_LEVEL_2 = \"ADMINISTRATIVE_AREA_LEVEL_2\",\n ADMINISTRATIVE_AREA_LEVEL_3 = \"ADMINISTRATIVE_AREA_LEVEL_3\",\n ADMINISTRATIVE_AREA_LEVEL_4 = \"ADMINISTRATIVE_AREA_LEVEL_4\",\n ADMINISTRATIVE_AREA_LEVEL_5 = \"ADMINISTRATIVE_AREA_LEVEL_5\",\n COUNTRY = \"COUNTRY\",\n }\n /**\n * Subdivision Concordance values\n */\n export interface StandardDetails {\n /**\n * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30\n */\n iso31662?: (string | null);\n }\n }\n export interface StreetAddress {\n /**\n * Street number.\n */\n number?: (string | null);\n /**\n * Street name.\n */\n name?: (string | null);\n /**\n * Apartment number.\n */\n apt?: (string | null);\n /**\n * Optional address line 1\n */\n formattedAddressLine?: (string | null);\n }\n /**\n * Contact details for the address\n */\n export interface AddressContactDetails {\n /**\n * Contact's full name.\n */\n fullName?: (string | null);\n /**\n * Contact's phone number.\n */\n phone?: (string | null);\n /**\n * Contact's company name.\n */\n company?: (string | null);\n /**\n * Email associated with the address.\n */\n email?: (string | null);\n }\n /**\n * Full contact details for an address\n */\n export interface FullAddressContactDetails {\n /**\n * Contact's first name.\n */\n firstName?: (string | null);\n /**\n * Contact's last name.\n */\n lastName?: (string | null);\n /**\n * Contact's full name.\n */\n fullName?: (string | null);\n /**\n * Contact's phone number.\n */\n phone?: (string | null);\n /**\n * Contact's company name.\n */\n company?: (string | null);\n /**\n * Email associated with the address.\n */\n email?: (string | null);\n /**\n * Tax info. Currently usable only in Brazil.\n */\n vatId?: ($wrapper.wix.common.VatId | null);\n }\n export interface VatId {\n /**\n * Customer's tax ID.\n */\n id?: (string | null);\n /**\n * Tax type.\n * \n * Supported values:\n * + `CPF`: for individual tax payers\n * + `CNPJ`: for corporations\n */\n type?: ($wrapper.wix.common.VatType | null);\n }\n /**\n * tax info types\n */\n export enum VatType {\n UNSPECIFIED = \"UNSPECIFIED\",\n CPF = \"CPF\",\n CNPJ = \"CNPJ\",\n }\n export interface AddressLocation {\n /**\n * Address latitude.\n */\n latitude?: (number | null);\n /**\n * Address longitude.\n */\n longitude?: (number | null);\n }\n export interface BulkActionMetadata {\n /**\n * Number of items that were successfully processed.\n */\n totalSuccesses?: (number | null);\n /**\n * Number of items that couldn't be processed.\n */\n totalFailures?: (number | null);\n /**\n * Number of failures without details because detailed failure threshold was exceeded.\n */\n undetailedFailures?: (number | null);\n }\n export interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n */\n id?: (string | null);\n /**\n * Index of the item within the request array. Allows for correlation between request and response items.\n */\n originalIndex?: (number | null);\n /**\n * Whether the requested action was successful for this item. When `false`, the `error` field is populated.\n */\n success?: (boolean | null);\n /**\n * Details about the error in case of failure.\n */\n error?: ($wrapper.wix.api.ApplicationError | null);\n }\n export enum BulkActionType {\n UNKNOWN_ACTION_TYPE = \"UNKNOWN_ACTION_TYPE\",\n INSERT = \"INSERT\",\n UPDATE = \"UPDATE\",\n DELETE = \"DELETE\",\n }\n export interface IdentificationData {\n /**\n * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.\n */\n contactId?: (string | null);\n identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);\n /**\n * ID of a site visitor that has not logged in to the site.\n */\n anonymousVisitorId?: (string | null);\n /**\n * ID of a site visitor that has logged in to the site.\n */\n memberId?: (string | null);\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n */\n wixUserId?: (string | null);\n /**\n * ID of an app.\n */\n appId?: (string | null);\n }\n export namespace IdentificationData {\n export enum IdentityType {\n UNKNOWN = \"UNKNOWN\",\n ANONYMOUS_VISITOR = \"ANONYMOUS_VISITOR\",\n MEMBER = \"MEMBER\",\n WIX_USER = \"WIX_USER\",\n APP = \"APP\",\n }\n }\n /**\n * flynt-disable deleted-field-enum-reserved\n */\n export interface Image {\n /**\n * WixMedia image ID.\n */\n id?: (string | null);\n /**\n * Image URL.\n */\n url?: (string | null);\n /**\n * Original image height.\n */\n height?: (number | null);\n /**\n * Original image width.\n */\n width?: (number | null);\n /**\n * Image alt text.\n */\n altText?: (string | null);\n /**\n * Image URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * Image filename.\n */\n filename?: (string | null);\n /**\n * Image size in bytes.\n */\n sizeInBytes?: (string | null);\n /**\n * Focal point of the image.\n */\n focalPoint?: ($wrapper.wix.common.FocalPoint | null);\n }\n /**\n * Deprecated - use VideoV2\n */\n export interface Video {\n /**\n * WixMedia ID\n */\n id?: (string | null);\n /**\n * URL of video\n */\n url?: (string | null);\n /**\n * Original image height\n */\n height?: (number | null);\n /**\n * Original image width\n */\n width?: (number | null);\n /**\n * Video poster\n */\n thumbnail?: ($wrapper.wix.common.Image | null);\n }\n export interface VideoV2 {\n /**\n * WixMedia ID.\n */\n id?: (string | null);\n /**\n * Original video URL.\n */\n url?: (string | null);\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n */\n resolutions?: ($wrapper.wix.common.VideoResolution[] | null);\n /**\n * Video filename.\n */\n filename?: (string | null);\n /**\n * Video posters.\n */\n posters?: ($wrapper.wix.common.Image[] | null);\n /**\n * Original video size in bytes.\n */\n sizeInBytes?: (string | null);\n /**\n * Video URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * Original video duration in milliseconds.\n */\n durationInMilliseconds?: (number | null);\n /**\n * A short title for the video. will be used for SEO purposes.\n */\n title?: (string | null);\n /**\n * A long description for the video. will be used for SEO purposes.\n */\n description?: (string | null);\n /**\n * Original video height.\n */\n height?: (number | null);\n /**\n * Original video width.\n */\n width?: (number | null);\n }\n export interface VideoResolution {\n /**\n * Video URL.\n */\n url?: (string | null);\n /**\n * Video height.\n */\n height?: (number | null);\n /**\n * Video width.\n */\n width?: (number | null);\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n */\n poster?: ($wrapper.wix.common.Image | null);\n /**\n * Video format for example, mp4, hls.\n */\n format?: (string | null);\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n */\n urlExpirationDate?: (Date | null);\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n */\n sizeInBytes?: (string | null);\n /**\n * Video quality. For example: 480p, 720p.\n */\n quality?: (string | null);\n /**\n * Video filename.\n */\n filename?: (string | null);\n /**\n * Video duration in seconds.\n */\n durationInSeconds?: (number | null);\n /**\n * Video duration in milliseconds.\n */\n durationInMilliseconds?: (number | null);\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n */\n private?: (boolean | null);\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n */\n assetKey?: (string | null);\n }\n export interface Audio {\n /**\n * WixMedia ID.\n */\n id?: (string | null);\n /**\n * Audio URL.\n */\n url?: (string | null);\n /**\n * Audio URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * Audio size in bytes.\n */\n sizeInBytes?: (string | null);\n /**\n * Audio filename.\n */\n filename?: (string | null);\n /**\n * Audio duration in milliseconds.\n */\n duration?: (number | null);\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n */\n private?: (boolean | null);\n /**\n * Key to identify the object relationship to the original media in WixMedia.\n * Can be used to request a download for the specific asset.\n * For example: 128-30kbs.mp3, 320kbs.mp3, 128kbs.mp3\n */\n assetKey?: (string | null);\n /**\n * Audio format.\n */\n format?: (string | null);\n /**\n * Audio quality.\n */\n quality?: (string | null);\n }\n export interface Document {\n /**\n * WixMedia ID.\n */\n id?: (string | null);\n /**\n * Document URL.\n */\n url?: (string | null);\n /**\n * Document URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * Document size in bytes.\n */\n sizeInBytes?: (string | null);\n /**\n * Document filename.\n */\n filename?: (string | null);\n /**\n * Document thumbnail.\n */\n thumbnail?: ($wrapper.wix.common.Image | null);\n }\n export interface Model3D {\n /**\n * WixMedia 3D ID.\n */\n id?: (string | null);\n /**\n * 3D URL.\n */\n url?: (string | null);\n /**\n * 3D thumbnail Image\n */\n thumbnail?: ($wrapper.wix.common.Image | null);\n /**\n * 3D alt text.\n */\n altText?: (string | null);\n /**\n * 3D URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * 3D filename.\n */\n filename?: (string | null);\n /**\n * 3D size in bytes.\n */\n sizeInBytes?: (string | null);\n }\n export interface Archive {\n /**\n * WixMedia ID.\n */\n id?: (string | null);\n /**\n * Archive URL.\n */\n url?: (string | null);\n /**\n * Archive URL expiration date (when relevant).\n */\n urlExpirationDate?: (Date | null);\n /**\n * Archive size in bytes.\n */\n sizeInBytes?: (string | null);\n /**\n * Archive filename.\n */\n filename?: (string | null);\n }\n /**\n * Deprecated - Copy this message into your service, do not reference it\n */\n export interface MediaItem {\n /**\n * WixMedia image\n */\n image?: ($wrapper.wix.common.Image | null);\n /**\n * WixMedia video\n */\n video?: ($wrapper.wix.common.Video | null);\n /**\n * WixMedia document\n */\n document?: ($wrapper.wix.common.Document | null);\n }\n export interface FocalPoint {\n /**\n * X-coordinate of the focal point.\n */\n x?: (number | null);\n /**\n * Y-coordinate of the focal point.\n */\n y?: (number | null);\n /**\n * crop by height\n */\n height?: (number | null);\n /**\n * crop by width\n */\n width?: (number | null);\n }\n /**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\n export interface Money {\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.\n */\n value?: (string | null);\n /**\n * Currency code. Must be valid ISO 4217 currency code (e.g., USD).\n */\n currency?: (string | null);\n /**\n * Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative.\n */\n formattedValue?: (string | null);\n }\n export interface PageUrl {\n /**\n * The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`.\n */\n base?: (string | null);\n /**\n * The relative path for the page within the site. For example, `/product-page/a-product`.\n */\n path?: (string | null);\n }\n export interface PageUrlV2 {\n /**\n * The relative path for the page within the site. For example, `/product-page/a-product`.\n */\n relativePath?: (string | null);\n /**\n * The page's full URL. For example, `https://mysite.com/product-page/a-product`.\n */\n url?: (string | null);\n }\n export interface Paging {\n /**\n * Number of items to load.\n */\n limit?: (number | null);\n /**\n * Number of items to skip in the current sort order.\n */\n offset?: (number | null);\n }\n export interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n */\n limit?: (number | null);\n /**\n * Pointer to the next or previous page in the list of results.\n * \n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n */\n cursor?: (string | null);\n }\n export interface PagingMetadata {\n /**\n * Number of items returned in the response.\n */\n count?: (number | null);\n /**\n * Offset that was requested.\n */\n offset?: (number | null);\n /**\n * Total number of items that match the query.\n */\n total?: (number | null);\n /**\n * Flag that indicates the server failed to calculate the `total` field.\n */\n tooManyToCount?: (boolean | null);\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: (boolean | null);\n }\n export interface PagingMetadataV2 {\n /**\n * Number of items returned in the response.\n */\n count?: (number | null);\n /**\n * Offset that was requested.\n */\n offset?: (number | null);\n /**\n * Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.\n */\n total?: (number | null);\n /**\n * Flag that indicates the server failed to calculate the `total` field.\n */\n tooManyToCount?: (boolean | null);\n /**\n * Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.\n */\n cursors?: ($wrapper.wix.common.Cursors | null);\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: (boolean | null);\n }\n export interface CursorPagingMetadata {\n /**\n * Number of items returned in current page.\n */\n count?: (number | null);\n /**\n * Cursor strings that point to the next page, previous page, or both.\n */\n cursors?: ($wrapper.wix.common.Cursors | null);\n /**\n * Whether there are more pages to retrieve following the current page.\n * \n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: (boolean | null);\n /**\n * Total number of items matching the filter.\n * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n */\n total?: (number | null);\n }\n export interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n */\n next?: (string | null);\n /**\n * Cursor pointing to the previous page in the list of results.\n */\n prev?: (string | null);\n }\n export interface Sorting {\n /**\n * Name of the field to sort by.\n */\n fieldName?: (string | null);\n /**\n * Sort order.\n */\n order?: ($wrapper.wix.common.SortOrder | null);\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n * \n * If multiple filters are provided, they are combined with AND operator.\n * \n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n */\n selectItemsBy?: ({ [key: string]: any }[] | null);\n }\n export enum SortOrder {\n ASC = \"ASC\",\n DESC = \"DESC\",\n }\n export namespace spi {\n export interface SpiBaseUri {\n /**\n * Base URI where the methods are called. Wix appends the path to the `baseUri`.\n * For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.\n */\n baseUri?: (string | null);\n /**\n * Alternate, custom URIs to replace the default URIs for specific service plugin methods.\n */\n alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.AlternativeUri[] | null);\n }\n export namespace SpiBaseUri {\n export interface AlternativeUri {\n /**\n * Name of the method to create a custom URI for.\n * \n * For `methodName`, use the name of the method in PascalCase.\n * For example, for Get Shipping Rates use `GetShippingRates`.\n */\n methodName?: (string | null);\n /**\n * Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.\n * Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.\n */\n absoluteUri?: (string | null);\n }\n }\n /**\n * this message is not directly used by any service,\n * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.\n * e.g. SPIs, event-handlers, etc..\n * NOTE: this context object MUST be provided as the last argument in each Velo method signature.\n * \n * Example:\n * ```typescript\n * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {\n * ...\n * }\n * ```\n */\n export interface Context {\n /**\n * A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs.\n */\n requestId?: (string | null);\n /**\n * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.\n */\n currency?: (string | null);\n /**\n * An object that describes the identity that triggered this request.\n */\n identity?: ($wrapper.wix.common.spi.Context.IdentificationData | null);\n /**\n * A string representing a language and region in the format of `\"xx-XX\"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash \"-\", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `\"en-US\"`.\n */\n languages?: (string[] | null);\n /**\n * The service provider app's instance ID.\n */\n instanceId?: (string | null);\n /**\n * Extension ID in Dev Center.\n */\n appExtensionId?: (string | null);\n /**\n * Extension type in Dev Center.\n */\n appExtensionType?: (string | null);\n /**\n * Invoked function.\n */\n functionName?: (string | null);\n }\n export namespace Context {\n export interface IdentificationData {\n identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null);\n /**\n * ID of a site visitor that has not logged in to the site.\n */\n anonymousVisitorId?: (string | null);\n /**\n * ID of a site visitor that has logged in to the site.\n */\n memberId?: (string | null);\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n */\n wixUserId?: (string | null);\n /**\n * ID of an app.\n */\n appId?: (string | null);\n }\n export namespace IdentificationData {\n export enum IdentityType {\n UNKNOWN = \"UNKNOWN\",\n ANONYMOUS_VISITOR = \"ANONYMOUS_VISITOR\",\n MEMBER = \"MEMBER\",\n WIX_USER = \"WIX_USER\",\n APP = \"APP\",\n }\n }\n }\n }\n export namespace tags {\n /**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n * \n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\n export interface Tags {\n /**\n * Tags that require an additional permission in order to access them, normally not given to site members or visitors.\n */\n privateTags?: ($wrapper.wix.common.tags.Tags.TagList | null);\n /**\n * Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.\n */\n tags?: ($wrapper.wix.common.tags.Tags.TagList | null);\n }\n export namespace Tags {\n export interface TagList {\n /**\n * List of tag IDs\n */\n tagIds?: (string[] | null);\n }\n }\n export interface PublicTags {\n /**\n * Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.\n */\n tags?: ($wrapper.wix.common.tags.PublicTags.TagList | null);\n }\n export namespace PublicTags {\n export interface TagList {\n /**\n * List of tag IDs\n */\n tagIds?: (string[] | null);\n }\n }\n }\n /**\n * The link object generated by panels in the editor and used by applications in Wix\n */\n export interface WixLink {\n /**\n * External link type\n */\n external?: ($wrapper.wix.common.ExternalLink | null);\n /**\n * Page link type\n */\n page?: ($wrapper.wix.common.PageLink | null);\n /**\n * Anchor link type\n */\n anchor?: ($wrapper.wix.common.AnchorLink | null);\n /**\n * Dynamic page link type\n */\n dynamicPage?: ($wrapper.wix.common.DynamicPageLink | null);\n /**\n * Document link type\n */\n document?: ($wrapper.wix.common.DocumentLink | null);\n /**\n * Email link type\n */\n email?: ($wrapper.wix.common.EmailLink | null);\n /**\n * Phone link type\n */\n phone?: ($wrapper.wix.common.PhoneLink | null);\n /**\n * Address link type\n */\n address?: ($wrapper.wix.common.AddressLink | null);\n /**\n * WhatsApp link type\n */\n whatsApp?: ($wrapper.wix.common.WhatsAppLink | null);\n /**\n * TPA link type\n */\n tpaPage?: ($wrapper.wix.common.TpaPageLink | null);\n }\n export interface ExternalLink {\n /**\n * The url of the page\n */\n url?: (string | null);\n /**\n * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.\n */\n target?: (string | null);\n /**\n * rel of link\n */\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface PageLink {\n /**\n * The page id we want from the site\n */\n pageId?: (string | null);\n /**\n * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.\n */\n target?: (string | null);\n /**\n * rel of link\n */\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface AnchorLink {\n /**\n * The name of the anchor\n */\n anchorName?: (string | null);\n /**\n * The data id (from the JSON page) of the anchor that should be used\n */\n anchorDataId?: (string | null);\n /**\n * The page id we want from the site\n */\n pageId?: (string | null);\n /**\n * rel of link\n */\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface DynamicPageLink {\n /**\n * The router that handles this link\n */\n routerId?: (string | null);\n /**\n * The path data we'd like\n */\n innerRoute?: (string | null);\n /**\n * The data id (from the JSON page) of the anchor that should be used\n */\n anchorDataId?: (string | null);\n /**\n * rel of link\n */\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n export interface DocumentLink {\n /**\n * The id of the document\n */\n docId?: (string | null);\n /**\n * The name of the document for download purposes\n */\n name?: (string | null);\n /**\n * If this document can be indexed by scrapers, default is false\n */\n indexable?: (boolean | null);\n }\n export interface EmailLink {\n /**\n * The email we will be sending a message to\n */\n recipient?: (string | null);\n /**\n * The subject of the email\n */\n subject?: (string | null);\n /**\n * The body of the email\n */\n body?: (string | null);\n }\n export interface PhoneLink {\n /**\n * The phone number we want to link to\n */\n phoneNumber?: (string | null);\n }\n export interface AddressLink {\n /**\n * An address that we can link to\n */\n address?: (string | null);\n }\n export interface WhatsAppLink {\n /**\n * The whatsApp phone number we want to connect with\n */\n phoneNumber?: (string | null);\n }\n /**\n * Link to a TPA page\n */\n export interface TpaPageLink {\n /**\n * Type of item (e.g. 'wix.stores.sub_pages.product')\n */\n itemTypeIdentifier?: (string | null);\n /**\n * Id of linked item\n */\n itemId?: (string | null);\n /**\n * Id of linked page\n */\n pageId?: (string | null);\n /**\n * Id of app being linked to (AppDefId)\n */\n appDefinitionId?: (string | null);\n /**\n * The relativepath of linked page\n */\n path?: (string | null);\n /**\n * rel of link\n */\n rel?: ($wrapper.wix.common.LinkRel[] | null);\n }\n /**\n * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.\n * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel\n * Following are the accepted 'rel' types by Wix applications.\n */\n export enum LinkRel {\n unknown_link_rel = \"unknown_link_rel\",\n nofollow = \"nofollow\",\n noopener = \"noopener\",\n noreferrer = \"noreferrer\",\n sponsored = \"sponsored\",\n }\n }\n export namespace api {\n export interface ReferenceEntityField {\n /**\n * field path from root of a message annotated with `wix.api.entity` annotation. For example 'item.name'.\n */\n path?: (string | null);\n }\n export interface CacheSettings {\n /**\n * default is 604800 seconds = 1 week\n */\n maxAgeSeconds?: (number | null);\n /**\n * default is false\n */\n manual?: (boolean | null);\n }\n export interface FieldSet {\n field?: (string[] | null);\n }\n export interface Deprecated {\n /**\n * use relative proto FQN as absolute identifier. e.g. \"wix.common.Query\"\n */\n replacedBy?: (string | null);\n /**\n * a human readable sunset date of the deprecated resource YYYY-MM-DD\n */\n targetRemovalDate?: (string | null);\n }\n export interface Unique {\n field?: (string[] | null);\n }\n export interface Crud {\n /**\n * method type\n */\n method?: ($wrapper.wix.api.Crud.Method | null);\n createOptions?: ($wrapper.wix.api.CreateMethodOptions | null);\n getOptions?: ($wrapper.wix.api.GetItemMethodOptions | null);\n updateOptions?: ($wrapper.wix.api.UpdateMethodOptions | null);\n deleteOptions?: ($wrapper.wix.api.DeleteMethodOptions | null);\n listOptions?: ($wrapper.wix.api.ListMethodOptions | null);\n queryOptions?: ($wrapper.wix.api.QueryMethodOptions | null);\n searchOptions?: ($wrapper.wix.api.SearchMethodOptions | null);\n bulkCreateOptions?: ($wrapper.wix.api.BulkCreateMethodOptions | null);\n bulkUpdateOptions?: ($wrapper.wix.api.BulkUpdateMethodOptions | null);\n bulkUpdateByFilterOptions?: ($wrapper.wix.api.BulkUpdateByFilterMethodOptions | null);\n bulkDeleteOptions?: ($wrapper.wix.api.BulkDeleteMethodOptions | null);\n bulkDeleteByFilterOptions?: ($wrapper.wix.api.BulkDeleteByFilterMethodOptions | null);\n upsertOptions?: ($wrapper.wix.api.UpsertMethodOptions | null);\n bulkUpsertOptions?: ($wrapper.wix.api.BulkUpsertMethodOptions | null);\n listDeletedOptions?: ($wrapper.wix.api.ListDeletedMethodOptions | null);\n getDeletedOptions?: ($wrapper.wix.api.GetDeletedMethodOptions | null);\n restoreFromTrashbinOptions?: ($wrapper.wix.api.RestoreFromTrashbinMethodOptions | null);\n removeFromTrashbinOptions?: ($wrapper.wix.api.RemoveFromTrashbinMethodOptions | null);\n countOptions?: ($wrapper.wix.api.CountOptions | null);\n searchRelatedOptions?: ($wrapper.wix.api.SearchRelatedOptions | null);\n updateExtendedFieldsOptions?: ($wrapper.wix.api.UpdateExtendedFieldsOptions | null);\n /**\n * marks that this method is a custom-action, that unfolds a read/write operation\n */\n customActionOptions?: ($wrapper.wix.api.CustomActionOptions | null);\n bulkUpdateTagsOptions?: ($wrapper.wix.api.BulkUpdateTagsMethodOptions | null);\n bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.BulkUpdateTagsByFilterMethodOptions | null);\n }\n export namespace Crud {\n export enum Method {\n UNKNOWN_METHOD = \"UNKNOWN_METHOD\",\n CREATE = \"CREATE\",\n GET_ITEM = \"GET_ITEM\",\n UPDATE = \"UPDATE\",\n DELETE = \"DELETE\",\n UPSERT = \"UPSERT\",\n LIST = \"LIST\",\n QUERY = \"QUERY\",\n SEARCH = \"SEARCH\",\n BULK_CREATE = \"BULK_CREATE\",\n BULK_UPDATE = \"BULK_UPDATE\",\n BULK_UPDATE_BY_FILTER = \"BULK_UPDATE_BY_FILTER\",\n BULK_DELETE = \"BULK_DELETE\",\n BULK_DELETE_BY_FILTER = \"BULK_DELETE_BY_FILTER\",\n BULK_UPSERT = \"BULK_UPSERT\",\n LIST_DELETED = \"LIST_DELETED\",\n GET_DELETED = \"GET_DELETED\",\n RESTORE_FROM_TRASHBIN = \"RESTORE_FROM_TRASHBIN\",\n REMOVE_FROM_TRASHBIN = \"REMOVE_FROM_TRASHBIN\",\n COUNT = \"COUNT\",\n SEARCH_RELATED = \"SEARCH_RELATED\",\n UPDATE_EXTENDED_FIELDS = \"UPDATE_EXTENDED_FIELDS\",\n BULK_UPDATE_TAGS = \"BULK_UPDATE_TAGS\",\n BULK_UPDATE_TAGS_BY_FILTER = \"BULK_UPDATE_TAGS_BY_FILTER\",\n CUSTOM_ACTION = \"CUSTOM_ACTION\",\n }\n }\n export interface Paging {\n /**\n * paging type\n */\n type?: ($wrapper.wix.api.Paging.Type | null);\n /**\n * paging field name in response object. default is `metadata`, DEPRECATED in commons V2\n */\n pagingMetadataField?: (string | null);\n /**\n * cursor paging field name in response object. default is `cursor_paging_metadata`\n */\n cursorPagingMetadataField?: (string | null);\n /**\n * offset paging field name in response object. default is `offset_paging_metadata`\n */\n offsetPagingMetadataField?: (string | null);\n }\n export namespace Paging {\n export enum Type {\n UNKNOWN_TYPE = \"UNKNOWN_TYPE\",\n OFFSET = \"OFFSET\",\n CURSOR = \"CURSOR\",\n BOTH = \"BOTH\",\n }\n }\n export interface CustomActionOptions {\n /**\n * the custom-action's operation will do nothing but read data.\n */\n readOperation?: (boolean | null);\n /**\n * if WQL validation is needed in this method, provide the data needed for the validator\n */\n wql?: ($wrapper.wix.api.WqlOptions | null);\n }\n export interface WqlOptions {\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n /**\n * provide path to filter field (struct) in your request message\n */\n filterField?: (string | null);\n /**\n * provide path to query field (wix.common.QueryV2) in your request message\n */\n queryField?: (string | null);\n /**\n * provide path to search field (wix.common.Search) in your request message\n */\n searchField?: (string | null);\n }\n export interface CreateMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n }\n export interface GetItemMethodOptions {\n /**\n * item field name in response object only. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * id field name in request object. default is `<entity-name>_id`\n */\n idField?: (string | null);\n }\n export interface UpdateMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * fieldmask field name in request object. default is `fieldmask`, only if it really exists in model\n */\n fieldmaskField?: (string | null);\n }\n export interface UpsertMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * fieldmask field name in request object. default is `fieldmask`, only if it really exists in model\n */\n fieldmaskField?: (string | null);\n }\n export interface DeleteMethodOptions {\n /**\n * id field name in request object. default is `<entity-name>_id`\n */\n idField?: (string | null);\n }\n export interface ListMethodOptions {\n /**\n * ids field name in request object if such exists. recommended field-name: `<entity-name>_ids`\n */\n idsField?: (string | null);\n /**\n * items field name in response object.\n */\n itemsField?: (string | null);\n /**\n * present paging mechanism info, default will be of type=`CURSOR`\n */\n paging?: ($wrapper.wix.api.Paging | null);\n /**\n * collection of FQNs of fields that MAY be aliased with the const `\"me\"`\n */\n meAliasableField?: (string[] | null);\n }\n export interface QueryMethodOptions {\n /**\n * query field name in request object. default is `query`, DEPRECATED in commons V2\n */\n queryField?: (string | null);\n /**\n * cursor query field name in request object. default is `cursor_query`\n */\n cursorQueryField?: (string | null);\n /**\n * offset query field name in request object. default is `offset_query`\n */\n offsetQueryField?: (string | null);\n /**\n * items field name in response object.\n */\n itemsField?: (string | null);\n /**\n * present paging mechanism info, default will be of type=`CURSOR`\n */\n paging?: ($wrapper.wix.api.Paging | null);\n /**\n * mark fields that are available for filtering and sorting via WixQueryLanguage\n * Deprecated - use wql annotation on the entity level\n */\n wql?: ($wrapper.wix.api.Wql | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n /**\n * collection of FQNs of fields that MAY be aliased with the const `\"me\"`\n */\n meAliasableField?: (string[] | null);\n }\n export interface SearchMethodOptions {\n /**\n * search field name in request object. default is `search`, DEPRECATED in commons V2\n */\n searchField?: (string | null);\n /**\n * cursor search field name in request object. default is `cursor_search`\n */\n cursorSearchField?: (string | null);\n /**\n * offset search field name in request object. default is `offset_search`\n */\n offsetSearchField?: (string | null);\n /**\n * items field name in response object.\n */\n itemsField?: (string | null);\n /**\n * present paging mechanism info, default will be of type=`CURSOR`\n */\n paging?: ($wrapper.wix.api.Paging | null);\n /**\n * mark fields that are available for filtering and sorting via WixQueryLanguage\n */\n wql?: ($wrapper.wix.api.Wql | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n /**\n * collection of FQNs of fields that MAY be aliased with the const `\"me\"`\n */\n meAliasableField?: (string[] | null);\n /**\n * mark fields that are available for search\n */\n search?: ($wrapper.wix.api.Search[] | null);\n }\n export interface BulkCreateMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n }\n export interface BulkUpdateMethodOptions {\n /**\n * items field name in request and response objects. default is `<entity-name>` in plural. For the request, the field is expected to be a repeated message that includes entity and fieldmask.\n */\n itemsField?: (string | null);\n /**\n * item field name under the message used for the repeated field pointed by items_field. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * fieldmask field name under the message used for the repeated field pointed by items_field. default is `fieldmask`, only if it really exists in model\n */\n fieldmaskField?: (string | null);\n }\n export interface BulkUpdateByFilterMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * fieldmask field name in request object. default is `fieldmask`, only if it really exists in model\n */\n fieldmaskField?: (string | null);\n /**\n * filter field name in request object. default is `filter`\n */\n filterField?: (string | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n }\n export interface BulkUpdateTagsMethodOptions {\n /**\n * ids field name in request object. default is `<entity-name>_ids`\n */\n idsField?: (string | null);\n }\n export interface BulkUpdateTagsByFilterMethodOptions {\n /**\n * filter field name in request object. default is `filter`\n */\n filterField?: (string | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n }\n export interface BulkUpsertMethodOptions {\n /**\n * item field name in request and response objects. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * fieldmask field name in request object. default is `fieldmask`, only if it really exists in model\n */\n fieldmaskField?: (string | null);\n }\n export interface BulkDeleteMethodOptions {\n /**\n * ids field name in request object. default is `<entity-name>_ids`\n */\n idsField?: (string | null);\n }\n export interface BulkDeleteByFilterMethodOptions {\n /**\n * filter field name in request object. default is `filter`\n */\n filterField?: (string | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n }\n export interface ListDeletedMethodOptions {\n /**\n * ids field name in request object if such exists. recommended field-name: `<entity-name>_ids`\n */\n idsField?: (string | null);\n /**\n * items field name in response object.\n */\n itemsField?: (string | null);\n /**\n * present paging mechanism info, default will be of type=`CURSOR`\n */\n paging?: ($wrapper.wix.api.Paging | null);\n /**\n * collection of FQNs of fields that MAY be aliased with the const `\"me\"`\n */\n meAliasableField?: (string[] | null);\n }\n export interface GetDeletedMethodOptions {\n /**\n * item field name in response object only. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * id field name in request object. default is `<entity-name>_id`\n */\n idField?: (string | null);\n }\n export interface RestoreFromTrashbinMethodOptions {\n /**\n * item field name in response object only. default is `<entity-name>`\n */\n itemField?: (string | null);\n /**\n * id field name in request object. default is `<entity-name>_id`\n */\n idField?: (string | null);\n }\n export interface RemoveFromTrashbinMethodOptions {\n /**\n * id field name in request object. default is `<entity-name>_id`\n */\n idField?: (string | null);\n }\n export interface CountOptions {\n /**\n * The name of the endpoint that the count \"copy\" the WQL settings from - e.g inherit_wql_from: 'QueryProducts'\n * Usually, that will be the query endpoint since you want the same filter capabilities for query and count\n */\n inheritWqlFrom?: (string | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n /**\n * query field name in request object. default is `filter`\n */\n filterField?: (string | null);\n /**\n * count field name in response object. default is `count`\n */\n countField?: (string | null);\n }\n export interface SearchRelatedOptions {\n /**\n * The name of the endpoint that the related-search \"copy\" the WQL settings from - e.g inherit_wql_from: 'SearchProducts'\n * Usually, that will be the search endpoint since you want the same filter capabilities for search and related search\n */\n inheritWqlFrom?: (string | null);\n /**\n * Name of WQL variant to use\n */\n queryOptionsName?: (string | null);\n }\n export interface UpdateExtendedFieldsOptions {\n /**\n * item field name in response object only. default is `<entity-name>`\n */\n itemField?: (string | null);\n }\n export interface Wql {\n /**\n * this field is deprecated due to a better and shorter naming\n */\n operatorFieldSupport?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);\n /**\n * supported operators for subject query method\n */\n pattern?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);\n /**\n * false by default. all new services will have it set to true\n */\n validateQuery?: (boolean | null);\n }\n export namespace Wql {\n export enum Operator {\n ALL_APPLICABLE_OPERATORS = \"ALL_APPLICABLE_OPERATORS\",\n EQ = \"EQ\",\n GT = \"GT\",\n GTE = \"GTE\",\n IN = \"IN\",\n LT = \"LT\",\n LTE = \"LTE\",\n NE = \"NE\",\n NIN = \"NIN\",\n BEGINS = \"BEGINS\",\n EXISTS = \"EXISTS\",\n HAS_ALL = \"HAS_ALL\",\n ALL = \"ALL\",\n HAS_SOME = \"HAS_SOME\",\n ANY = \"ANY\",\n EMPTY = \"EMPTY\",\n MATCH_ALL = \"MATCH_ALL\",\n MATCH_ITEMS = \"MATCH_ITEMS\",\n ENHANCED_DATE = \"ENHANCED_DATE\",\n }\n export enum Sort {\n NONE = \"NONE\",\n ASC = \"ASC\",\n DESC = \"DESC\",\n BOTH = \"BOTH\",\n }\n export interface RequiredFields {\n /**\n * this field is deprecated because we need sort direction alongside to field path\n */\n field?: (string[] | null);\n /**\n * all required field configurations to satisfy composite index\n */\n requiredField?: ($wrapper.wix.api.Wql.RequiredFields.RequiredField[] | null);\n }\n export namespace RequiredFields {\n export interface RequiredField {\n /**\n * a field path that accepts this operator\n */\n path?: (string | null);\n /**\n * sort type enabled for this glob\n */\n sort?: ($wrapper.wix.api.Wql.Sort | null);\n }\n }\n export enum VirtualSubfields {\n NO_VIRTUAL_SUBFIELDS = \"NO_VIRTUAL_SUBFIELDS\",\n DATE = \"DATE\",\n EMAIL = \"EMAIL\",\n DATE_TIME = \"DATE_TIME\",\n }\n export interface OperatorFieldSupport {\n /**\n * Operators supported for fields that match the glob\n */\n operator?: ($wrapper.wix.api.Wql.Operator[] | null);\n /**\n * this field is deprecated because glob is hard to read. moved to a direct field config approach\n */\n glob?: (string | null);\n /**\n * a collection of field paths that accepts this operator\n */\n field?: (string[] | null);\n /**\n * sort type enabled for this glob\n */\n sort?: ($wrapper.wix.api.Wql.Sort | null);\n /**\n * fields that match this glob, can be used only if the query is also filtered by required_fields\n */\n requiredFields?: ($wrapper.wix.api.Wql.RequiredFields[] | null);\n maturity?: ($wrapper.wix.api.Maturity | null);\n /**\n * kind of virtual subfields are supported for this field\n */\n virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);\n }\n }\n export interface Search {\n /**\n * a collection of field paths that supports Free Text Search\n */\n field?: (string[] | null);\n maturity?: ($wrapper.wix.api.Maturity | null);\n }\n export interface Translatable {\n /**\n * a human friendly field name\n */\n name?: (string | null);\n /**\n * is this translatable field hidden in Multilingual\n */\n hidden?: (boolean | null);\n /**\n * fields in schema may be grouped under meaningful topic or category of the source entity\n */\n grouping?: (string | null);\n /**\n * translation input component type e.g. \"freetext\", \"dropdown\", etc..\n */\n type?: ($wrapper.wix.api.Translatable.Type | null);\n /**\n * is this field for preview and not translatable\n */\n displayOnly?: (boolean | null);\n }\n export namespace Translatable {\n export enum Type {\n UNDEFINED_TYPE = \"UNDEFINED_TYPE\",\n SHORT_TEXT = \"SHORT_TEXT\",\n LONG_TEXT = \"LONG_TEXT\",\n RICH_TEXT = \"RICH_TEXT\",\n RICH_CONTENT_EDITOR = \"RICH_CONTENT_EDITOR\",\n SELECTION = \"SELECTION\",\n MULTI_SELECTION = \"MULTI_SELECTION\",\n DOCUMENT = \"DOCUMENT\",\n IMAGE = \"IMAGE\",\n VIDEO = \"VIDEO\",\n IMAGE_LINK = \"IMAGE_LINK\",\n }\n }\n export interface Conditional {\n /**\n * field will not be returned by the server, unless the client has this permission. If `requested_field` is also set, and a client explicitly requests this field but does not have permission, server will return 403-Forbidden error\n */\n permission?: (string | null);\n /**\n * field will not be returned by the server, unless the client explicitly requested it using `fields` parameter in the request, with the enum value specified by this annotation\n */\n requestedField?: (string | null);\n }\n export interface ServiceAppendix {\n /**\n * appendix type\n */\n type?: ($wrapper.wix.api.ServiceAppendix.Type | null);\n /**\n * absolute from module root\n */\n path?: (string | null);\n }\n export namespace ServiceAppendix {\n export enum Type {\n UNKNOWN_APPENDIX_TYPE = \"UNKNOWN_APPENDIX_TYPE\",\n NILE = \"NILE\",\n MESSAGE_BUS = \"MESSAGE_BUS\",\n }\n }\n /**\n * Defines the target audience of your API\n * @see https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/api-lifecycle/2005-exposure\n */\n export enum Exposure {\n PRIVATE = \"PRIVATE\",\n INTERNAL = \"INTERNAL\",\n PUBLIC = \"PUBLIC\",\n }\n export enum Maturity {\n ALPHA = \"ALPHA\",\n BETA = \"BETA\",\n IA = \"IA\",\n GA = \"GA\",\n NOT_IMPLEMENTED = \"NOT_IMPLEMENTED\",\n }\n /**\n * Defines which identity audiences are allowed to call this method.\n * \n * Example usage:\n * rpc UpdateSomething(UpdateSomethingRequest) returns (UpdateSomethingResponse) {\n * option (wix.api.audience) = {\n * uou: { access: MEMBERS_AND_VISITORS }\n * apps: { access: WIX_AND_PUBLIC_APPS }\n * users: { access: ALLOWED }\n * bo_users: { access: NOT_ALLOWED }\n * anonymous: { access: NOT_ALLOWED }\n * };\n * }\n */\n export interface Audience {\n uou?: ($wrapper.wix.api.Audience.Uou | null);\n apps?: ($wrapper.wix.api.Audience.Apps | null);\n users?: ($wrapper.wix.api.Audience.Users | null);\n boUsers?: ($wrapper.wix.api.Audience.BoUsers | null);\n anonymous?: ($wrapper.wix.api.Audience.Anonymous | null);\n }\n export namespace Audience {\n export interface Uou {\n /**\n * Level of access for UoU identities.\n */\n access?: ($wrapper.wix.api.Audience.Uou.Access | null);\n }\n export namespace Uou {\n export enum Access {\n NOT_ALLOWED = \"NOT_ALLOWED\",\n MEMBER_ONLY = \"MEMBER_ONLY\",\n MEMBERS_AND_VISITORS = \"MEMBERS_AND_VISITORS\",\n }\n }\n export interface Apps {\n /**\n * Level of access for app identities (TPAs / Wix-apps).\n */\n access?: ($wrapper.wix.api.Audience.Apps.Access | null);\n }\n export namespace Apps {\n export enum Access {\n NOT_ALLOWED = \"NOT_ALLOWED\",\n WIX_APPS_ONLY = \"WIX_APPS_ONLY\",\n WIX_AND_PUBLIC_APPS = \"WIX_AND_PUBLIC_APPS\",\n }\n }\n export interface Users {\n /**\n * Level of access for Wix users/employees.\n */\n access?: ($wrapper.wix.api.Audience.Users.Access | null);\n }\n export namespace Users {\n export enum Access {\n NOT_ALLOWED = \"NOT_ALLOWED\",\n ALLOWED = \"ALLOWED\",\n }\n }\n export interface BoUsers {\n /**\n * Level of access for Wix users/employees.\n */\n access?: ($wrapper.wix.api.Audience.BoUsers.Access | null);\n }\n export namespace BoUsers {\n export enum Access {\n NOT_ALLOWED = \"NOT_ALLOWED\",\n ALLOWED = \"ALLOWED\",\n }\n }\n export interface Anonymous {\n /**\n * Level of access for anonymous clients (with no identity).\n * Requires opt-out from a Flynt rule.\n */\n access?: ($wrapper.wix.api.Audience.Anonymous.Access | null);\n }\n export namespace Anonymous {\n export enum Access {\n NOT_ALLOWED = \"NOT_ALLOWED\",\n ALLOWED = \"ALLOWED\",\n }\n }\n }\n /**\n * Indicates the tenancy context of this method.\n * \n * Note: this is named TenancyOptions (not Tenancy) because `wix.api` already contains\n * an `enum Tenancy` used by callbacks/events.\n * \n * Override order:\n * - `(wix.api.entity).tenancy` on the main entity (default, see `wix/api/entity.proto`)\n * - `(wix.api.service_tenancy)` on the service (overrides entity)\n * - `(wix.api.tenancy)` on the method (overrides service/entity)\n * \n * Example usage:\n * rpc UpdateSomething(UpdateSomethingRequest) returns (UpdateSomethingResponse) {\n * option (wix.api.tenancy).type = SITE;\n * }\n */\n export interface TenancyOptions {\n type?: ($wrapper.wix.api.TenancyOptions.Type | null);\n }\n export namespace TenancyOptions {\n export enum Type {\n SITE = \"SITE\",\n ACCOUNT = \"ACCOUNT\",\n ORGANIZATION = \"ORGANIZATION\",\n CUSTOM = \"CUSTOM\",\n INSTANCE = \"INSTANCE\",\n }\n }\n /**\n * Decimal value validation rules.\n * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE\n */\n export interface DecimalValueOptions {\n /**\n * less than or equal\n */\n lte?: (string | null);\n /**\n * greater than or equal\n */\n gte?: (string | null);\n /**\n * less than\n */\n lt?: (string | null);\n /**\n * greater than\n */\n gt?: (string | null);\n /**\n * max number of fractional digits\n */\n maxScale?: (number | null);\n }\n export interface AlignedWithEnum {\n field?: (string | null);\n /**\n * defaults to _options if not specified\n */\n suffix?: (string | null);\n /**\n * By default, when the enum field is updated to a value that has no corresponding\n * message option within the `oneof`, the framework automatically clears the `oneof`.\n * This cleanup is achieved by programmatically adding the `oneof` field's path to the\n * update mask. Set `skip_empty_options_handling` to `true` to disable this behavior.\n */\n skipEmptyOptionsHandling?: (boolean | null);\n }\n export enum Format {\n EMAIL = \"EMAIL\",\n HOSTNAME = \"HOSTNAME\",\n IPV4 = \"IPV4\",\n IPV6 = \"IPV6\",\n URI = \"URI\",\n WEB_URL = \"WEB_URL\",\n PHONE = \"PHONE\",\n CREDIT_CARD = \"CREDIT_CARD\",\n GUID = \"GUID\",\n COUNTRY = \"COUNTRY\",\n LANGUAGE = \"LANGUAGE\",\n DECIMAL_VALUE = \"DECIMAL_VALUE\",\n CURRENCY = \"CURRENCY\",\n LANGUAGE_TAG = \"LANGUAGE_TAG\",\n COLOR_HEX = \"COLOR_HEX\",\n LOCAL_DATE = \"LOCAL_DATE\",\n LOCAL_TIME = \"LOCAL_TIME\",\n LOCAL_DATE_TIME = \"LOCAL_DATE_TIME\",\n URL_SLUG = \"URL_SLUG\",\n SYSTEM_SLUG = \"SYSTEM_SLUG\",\n SECURE_WEB_URL = \"SECURE_WEB_URL\",\n SUBDIVISION = \"SUBDIVISION\",\n }\n /**\n * ApplicationError: named Error for backwards compatibility\n */\n export interface Error {\n httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);\n applicationCode?: (string | null);\n /**\n * FQN path to the message that will be sent as payload for this error\n */\n data?: (string | null);\n }\n /**\n * Method-level reference to a service-level error.\n */\n export interface ErrorRef {\n /**\n * Must match existing service-level error application code.\n */\n applicationCode?: (string | null);\n }\n /**\n * CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra\n */\n export interface CustomValidationError {\n ruleName?: (string | null);\n /**\n * FQN path to the message that will be sent as payload for this error\n */\n data?: (string | null);\n }\n /**\n * InheritCrudErrors: does this method throw standard crud errors?\n */\n export interface InheritCrudErrors {\n /**\n * types of crud methods to inherit default errors from\n */\n method?: ($wrapper.wix.api.Crud.Method | null);\n }\n export interface StatusCodes {\n }\n export namespace StatusCodes {\n export enum HttpStatusCode {\n OK = \"OK\",\n UNAUTHENTICATED = \"UNAUTHENTICATED\",\n PERMISSION_DENIED = \"PERMISSION_DENIED\",\n INVALID_ARGUMENT = \"INVALID_ARGUMENT\",\n NOT_FOUND = \"NOT_FOUND\",\n INTERNAL = \"INTERNAL\",\n UNAVAILABLE = \"UNAVAILABLE\",\n RESOURCE_EXHAUSTED = \"RESOURCE_EXHAUSTED\",\n CANCELED = \"CANCELED\",\n ALREADY_EXISTS = \"ALREADY_EXISTS\",\n FAILED_PRECONDITION = \"FAILED_PRECONDITION\",\n }\n }\n export interface Details {\n applicationError?: ($wrapper.wix.api.ApplicationError | null);\n validationError?: ($wrapper.wix.api.ValidationError | null);\n systemError?: ($wrapper.wix.api.SystemError | null);\n /**\n * deprecated in API's - to enable migration from rendering arbitrary tracing to rest response\n */\n tracing?: ({ [k: string]: string } | null);\n }\n export interface ApplicationError {\n /**\n * Error code.\n */\n code?: (string | null);\n /**\n * Description of the error.\n */\n description?: (string | null);\n /**\n * Data related to the error.\n */\n data?: ({ [key: string]: any } | null);\n }\n export interface SystemError {\n /**\n * Error code.\n */\n errorCode?: (string | null);\n }\n /**\n * example result:\n * {\n * \"fieldViolations\": [\n * {\n * \"field\": \"fieldA\",\n * \"description\": \"invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]\",\n * \"violatedRule\": \"OTHER\",\n * \"ruleName\": \"INVALID_NOTE\",\n * \"data\": {\n * \"value\": \"FI\"\n * }\n * },\n * {\n * \"field\": \"fieldB\",\n * \"description\": \"field value out of range. supported range: [0-20]\",\n * \"violatedRule\": \"MAX\",\n * \"data\": {\n * \"threshold\": 20\n * }\n * },\n * {\n * \"field\": \"fieldC\",\n * \"description\": \"invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]\",\n * \"violatedRule\": \"FORMAT\",\n * \"data\": {\n * \"type\": \"PHONE\"\n * }\n * }\n * ]\n * }\n */\n export interface ValidationError {\n fieldViolations?: ($wrapper.wix.api.ValidationError.FieldViolation[] | null);\n }\n export namespace ValidationError {\n export enum RuleType {\n VALIDATION = \"VALIDATION\",\n OTHER = \"OTHER\",\n MAX = \"MAX\",\n MIN = \"MIN\",\n MAX_LENGTH = \"MAX_LENGTH\",\n MIN_LENGTH = \"MIN_LENGTH\",\n MAX_SIZE = \"MAX_SIZE\",\n MIN_SIZE = \"MIN_SIZE\",\n FORMAT = \"FORMAT\",\n DECIMAL_LTE = \"DECIMAL_LTE\",\n DECIMAL_GTE = \"DECIMAL_GTE\",\n DECIMAL_LT = \"DECIMAL_LT\",\n DECIMAL_GT = \"DECIMAL_GT\",\n DECIMAL_MAX_SCALE = \"DECIMAL_MAX_SCALE\",\n INVALID_ENUM_VALUE = \"INVALID_ENUM_VALUE\",\n REQUIRED_FIELD = \"REQUIRED_FIELD\",\n FIELD_NOT_ALLOWED = \"FIELD_NOT_ALLOWED\",\n ONE_OF_ALIGNMENT = \"ONE_OF_ALIGNMENT\",\n EXACT_LENGTH = \"EXACT_LENGTH\",\n EXACT_SIZE = \"EXACT_SIZE\",\n REQUIRED_ONE_OF_FIELD = \"REQUIRED_ONE_OF_FIELD\",\n }\n export interface FieldViolation {\n field?: (string | null);\n description?: (string | null);\n violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null);\n /**\n * applicable when violated_rule=OTHER\n */\n ruleName?: (string | null);\n data?: ({ [key: string]: any } | null);\n }\n }\n /**\n * for all kinds of min/max violations - match to type provided in annotation\n */\n export interface LimitRuleInt32DataPayload {\n threshold?: (number | null);\n }\n /**\n * for all kinds of min/max violations - match to type provided in annotation\n */\n export interface LimitRuleDoubleDataPayload {\n threshold?: (number | null);\n }\n /**\n * for all kinds of min/max violations - match to type provided in annotation\n */\n export interface LimitRuleStringDataPayload {\n threshold?: (string | null);\n }\n /**\n * for format violations\n */\n export interface FormatRuleDataPayload {\n type?: (string | null);\n }\n /**\n * for enum violations\n */\n export interface EnumRuleDataPayload {\n supported?: (string[] | null);\n }\n /**\n * for required one-of violations\n */\n export interface RequiredOneOfRuleDataPayload {\n supported?: (string[] | null);\n }\n }\n }\n export namespace google {\n export namespace protobuf {\n /**\n * The protocol compiler can output a FileDescriptorSet containing the .proto\n * files it parses.\n */\n export interface FileDescriptorSet {\n file?: ($wrapper.google.protobuf.FileDescriptorProto[] | null);\n }\n /**\n * Describes a complete .proto file.\n */\n export interface FileDescriptorProto {\n /**\n * file name, relative to root of source tree\n */\n name?: (string | null);\n /**\n * e.g. \"foo\", \"foo.bar\", etc.\n */\n package?: (string | null);\n /**\n * Names of files imported by this file.\n */\n dependency?: (string[] | null);\n /**\n * Indexes of the public imported files in the dependency list above.\n */\n publicDependency?: (number[] | null);\n /**\n * Indexes of the weak imported files in the dependency list.\n * For Google-internal migration only. Do not use.\n */\n weakDependency?: (number[] | null);\n /**\n * All top-level definitions in this file.\n */\n messageType?: ($wrapper.google.protobuf.DescriptorProto[] | null);\n enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);\n service?: ($wrapper.google.protobuf.ServiceDescriptorProto[] | null);\n extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.FileOptions | null);\n /**\n * This field contains optional information about the original source code.\n * You may safely remove this entire field without harming runtime\n * functionality of the descriptors -- the information is needed only by\n * development tools.\n */\n sourceCodeInfo?: ($wrapper.google.protobuf.SourceCodeInfo | null);\n /**\n * The syntax of the proto file.\n * The supported values are \"proto2\" and \"proto3\".\n */\n syntax?: (string | null);\n }\n /**\n * Describes a message type.\n */\n export interface DescriptorProto {\n name?: (string | null);\n field?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);\n nestedType?: ($wrapper.google.protobuf.DescriptorProto[] | null);\n enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);\n extensionRange?: ($wrapper.google.protobuf.DescriptorProto.ExtensionRange[] | null);\n oneofDecl?: ($wrapper.google.protobuf.OneofDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.MessageOptions | null);\n reservedRange?: ($wrapper.google.protobuf.DescriptorProto.ReservedRange[] | null);\n /**\n * Reserved field names, which may not be used by fields in the same message.\n * A given name may only be reserved once.\n */\n reservedName?: (string[] | null);\n }\n export namespace DescriptorProto {\n export interface ExtensionRange {\n /**\n * Inclusive.\n */\n start?: (number | null);\n /**\n * Exclusive.\n */\n end?: (number | null);\n options?: ($wrapper.google.protobuf.ExtensionRangeOptions | null);\n }\n /**\n * Range of reserved tag numbers. Reserved tag numbers may not be used by\n * fields or extension ranges in the same message. Reserved ranges may\n * not overlap.\n */\n export interface ReservedRange {\n /**\n * Inclusive.\n */\n start?: (number | null);\n /**\n * Exclusive.\n */\n end?: (number | null);\n }\n }\n export interface ExtensionRangeOptions {\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n /**\n * Describes a field within a message.\n */\n export interface FieldDescriptorProto {\n name?: (string | null);\n number?: (number | null);\n label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null);\n /**\n * If type_name is set, this need not be set. If both this and type_name\n * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n */\n type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null);\n /**\n * For message and enum types, this is the name of the type. If the name\n * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n * rules are used to find the type (i.e. first the nested types within this\n * message are searched, then within the parent, on up to the root\n * namespace).\n */\n typeName?: (string | null);\n /**\n * For extensions, this is the name of the type being extended. It is\n * resolved in the same manner as type_name.\n */\n extendee?: (string | null);\n /**\n * For numeric types, contains the original text representation of the value.\n * For booleans, \"true\" or \"false\".\n * For strings, contains the default text contents (not escaped in any way).\n * For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n * TODO(kenton): Base-64 encode?\n */\n defaultValue?: (string | null);\n /**\n * If set, gives the index of a oneof in the containing type's oneof_decl\n * list. This field is a member of that oneof.\n */\n oneofIndex?: (number | null);\n /**\n * JSON name of this field. The value is set by protocol compiler. If the\n * user has set a \"json_name\" option on this field, that option's value\n * will be used. Otherwise, it's deduced from the field's name by converting\n * it to camelCase.\n */\n jsonName?: (string | null);\n options?: ($wrapper.google.protobuf.FieldOptions | null);\n /**\n * If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n * tracks presence regardless of field type.\n * \n * When proto3_optional is true, this field must be belong to a oneof to\n * signal to old proto3 clients that presence is tracked for this field. This\n * oneof is known as a \"synthetic\" oneof, and this field must be its sole\n * member (each proto3 optional field gets its own synthetic oneof). Synthetic\n * oneofs exist in the descriptor only, and do not generate any API. Synthetic\n * oneofs must be ordered after all \"real\" oneofs.\n * \n * For message fields, proto3_optional doesn't create any semantic change,\n * since non-repeated message fields always track presence. However it still\n * indicates the semantic detail of whether the user wrote \"optional\" or not.\n * This can be useful for round-tripping the .proto file. For consistency we\n * give message fields a synthetic oneof also, even though it is not required\n * to track presence. This is especially important because the parser can't\n * tell if a field is a message or an enum, so it must always create a\n * synthetic oneof.\n * \n * Proto2 optional fields do not set this flag, because they already indicate\n * optional with `LABEL_OPTIONAL`.\n */\n proto3Optional?: (boolean | null);\n }\n export namespace FieldDescriptorProto {\n export enum Type {\n TYPE_DOUBLE = \"TYPE_DOUBLE\",\n TYPE_FLOAT = \"TYPE_FLOAT\",\n TYPE_INT64 = \"TYPE_INT64\",\n TYPE_UINT64 = \"TYPE_UINT64\",\n TYPE_INT32 = \"TYPE_INT32\",\n TYPE_FIXED64 = \"TYPE_FIXED64\",\n TYPE_FIXED32 = \"TYPE_FIXED32\",\n TYPE_BOOL = \"TYPE_BOOL\",\n TYPE_STRING = \"TYPE_STRING\",\n TYPE_GROUP = \"TYPE_GROUP\",\n TYPE_MESSAGE = \"TYPE_MESSAGE\",\n TYPE_BYTES = \"TYPE_BYTES\",\n TYPE_UINT32 = \"TYPE_UINT32\",\n TYPE_ENUM = \"TYPE_ENUM\",\n TYPE_SFIXED32 = \"TYPE_SFIXED32\",\n TYPE_SFIXED64 = \"TYPE_SFIXED64\",\n TYPE_SINT32 = \"TYPE_SINT32\",\n TYPE_SINT64 = \"TYPE_SINT64\",\n }\n export enum Label {\n LABEL_OPTIONAL = \"LABEL_OPTIONAL\",\n LABEL_REQUIRED = \"LABEL_REQUIRED\",\n LABEL_REPEATED = \"LABEL_REPEATED\",\n }\n }\n /**\n * Describes a oneof.\n */\n export interface OneofDescriptorProto {\n name?: (string | null);\n options?: ($wrapper.google.protobuf.OneofOptions | null);\n }\n /**\n * Describes an enum type.\n */\n export interface EnumDescriptorProto {\n name?: (string | null);\n value?: ($wrapper.google.protobuf.EnumValueDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.EnumOptions | null);\n /**\n * Range of reserved numeric values. Reserved numeric values may not be used\n * by enum values in the same enum declaration. Reserved ranges may not\n * overlap.\n */\n reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.EnumReservedRange[] | null);\n /**\n * Reserved enum value names, which may not be reused. A given name may only\n * be reserved once.\n */\n reservedName?: (string[] | null);\n }\n export namespace EnumDescriptorProto {\n /**\n * Range of reserved numeric values. Reserved values may not be used by\n * entries in the same enum. Reserved ranges may not overlap.\n * \n * Note that this is distinct from DescriptorProto.ReservedRange in that it\n * is inclusive such that it can appropriately represent the entire int32\n * domain.\n */\n export interface EnumReservedRange {\n /**\n * Inclusive.\n */\n start?: (number | null);\n /**\n * Inclusive.\n */\n end?: (number | null);\n }\n }\n /**\n * Describes a value within an enum.\n */\n export interface EnumValueDescriptorProto {\n name?: (string | null);\n number?: (number | null);\n options?: ($wrapper.google.protobuf.EnumValueOptions | null);\n }\n /**\n * Describes a service.\n */\n export interface ServiceDescriptorProto {\n name?: (string | null);\n method?: ($wrapper.google.protobuf.MethodDescriptorProto[] | null);\n options?: ($wrapper.google.protobuf.ServiceOptions | null);\n }\n /**\n * Describes a method of a service.\n */\n export interface MethodDescriptorProto {\n name?: (string | null);\n /**\n * Input and output type names. These are resolved in the same way as\n * FieldDescriptorProto.type_name, but must refer to a message type.\n */\n inputType?: (string | null);\n outputType?: (string | null);\n options?: ($wrapper.google.protobuf.MethodOptions | null);\n /**\n * Identifies if client streams multiple client messages\n */\n clientStreaming?: (boolean | null);\n /**\n * Identifies if server streams multiple server messages\n */\n serverStreaming?: (boolean | null);\n }\n export interface FileOptions {\n /**\n * Sets the Java package where classes generated from this .proto will be\n * placed. By default, the proto package is used, but this is often\n * inappropriate because proto packages do not normally start with backwards\n * domain names.\n */\n javaPackage?: (string | null);\n /**\n * Controls the name of the wrapper Java class generated for the .proto file.\n * That class will always contain the .proto file's getDescriptor() method as\n * well as any top-level extensions defined in the .proto file.\n * If java_multiple_files is disabled, then all the other classes from the\n * .proto file will be nested inside the single wrapper outer class.\n */\n javaOuterClassname?: (string | null);\n /**\n * If enabled, then the Java code generator will generate a separate .java\n * file for each top-level message, enum, and service defined in the .proto\n * file. Thus, these types will *not* be nested inside the wrapper class\n * named by java_outer_classname. However, the wrapper class will still be\n * generated to contain the file's getDescriptor() method as well as any\n * top-level extensions defined in the file.\n */\n javaMultipleFiles?: (boolean | null);\n /**\n * This option does nothing.\n */\n javaGenerateEqualsAndHash?: (boolean | null);\n /**\n * If set true, then the Java2 code generator will generate code that\n * throws an exception whenever an attempt is made to assign a non-UTF-8\n * byte sequence to a string field.\n * Message reflection will do the same.\n * However, an extension field still accepts non-UTF-8 byte sequences.\n * This option has no effect on when used with the lite runtime.\n */\n javaStringCheckUtf8?: (boolean | null);\n optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null);\n /**\n * Sets the Go package where structs generated from this .proto will be\n * placed. If omitted, the Go package will be derived from the following:\n * - The basename of the package import path, if provided.\n * - Otherwise, the package statement in the .proto file, if present.\n * - Otherwise, the basename of the .proto file, without extension.\n */\n goPackage?: (string | null);\n /**\n * Should generic services be generated in each language? \"Generic\" services\n * are not specific to any particular RPC system. They are generated by the\n * main code generators in each language (without additional plugins).\n * Generic services were the only kind of service generation supported by\n * early versions of google.protobuf.\n * \n * Generic services are now considered deprecated in favor of using plugins\n * that generate code specific to your particular RPC system. Therefore,\n * these default to false. Old code which depends on generic services should\n * explicitly set them to true.\n */\n ccGenericServices?: (boolean | null);\n javaGenericServices?: (boolean | null);\n pyGenericServices?: (boolean | null);\n phpGenericServices?: (boolean | null);\n /**\n * Is this file deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for everything in the file, or it will be completely ignored; in the very\n * least, this is a formalization for deprecating files.\n */\n deprecated?: (boolean | null);\n /**\n * Enables the use of arenas for the proto messages in this file. This applies\n * only to generated classes for C++.\n */\n ccEnableArenas?: (boolean | null);\n /**\n * Sets the objective c class prefix which is prepended to all objective c\n * generated classes from this .proto. There is no default.\n */\n objcClassPrefix?: (string | null);\n /**\n * Namespace for generated classes; defaults to the package.\n */\n csharpNamespace?: (string | null);\n /**\n * By default Swift generators will take the proto package and CamelCase it\n * replacing '.' with underscore and use that to prefix the types/symbols\n * defined. When this options is provided, they will use this value instead\n * to prefix the types/symbols defined.\n */\n swiftPrefix?: (string | null);\n /**\n * Sets the php class prefix which is prepended to all php generated classes\n * from this .proto. Default is empty.\n */\n phpClassPrefix?: (string | null);\n /**\n * Use this option to change the namespace of php generated classes. Default\n * is empty. When this option is empty, the package name will be used for\n * determining the namespace.\n */\n phpNamespace?: (string | null);\n /**\n * Use this option to change the namespace of php generated metadata classes.\n * Default is empty. When this option is empty, the proto file name will be\n * used for determining the namespace.\n */\n phpMetadataNamespace?: (string | null);\n /**\n * Use this option to change the package of ruby generated classes. Default\n * is empty. When this option is not set, the package name will be used for\n * determining the ruby package.\n */\n rubyPackage?: (string | null);\n /**\n * The parser stores options it doesn't recognize here.\n * See the documentation for the \"Options\" section above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n export namespace FileOptions {\n /**\n * Generated classes can be optimized for speed or code size.\n */\n export enum OptimizeMode {\n SPEED = \"SPEED\",\n CODE_SIZE = \"CODE_SIZE\",\n LITE_RUNTIME = \"LITE_RUNTIME\",\n }\n }\n export interface MessageOptions {\n /**\n * Set true to use the old proto1 MessageSet wire format for extensions.\n * This is provided for backwards-compatibility with the MessageSet wire\n * format. You should not use this for any other reason: It's less\n * efficient, has fewer features, and is more complicated.\n * \n * The message must be defined exactly as follows:\n * message Foo {\n * option message_set_wire_format = true;\n * extensions 4 to max;\n * }\n * Note that the message cannot have any defined fields; MessageSets only\n * have extensions.\n * \n * All extensions of your type must be singular messages; e.g. they cannot\n * be int32s, enums, or repeated messages.\n * \n * Because this is an option, the above two restrictions are not enforced by\n * the protocol compiler.\n */\n messageSetWireFormat?: (boolean | null);\n /**\n * Disables the generation of the standard \"descriptor()\" accessor, which can\n * conflict with a field of the same name. This is meant to make migration\n * from proto1 easier; new code should avoid fields named \"descriptor\".\n */\n noStandardDescriptorAccessor?: (boolean | null);\n /**\n * Is this message deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for the message, or it will be completely ignored; in the very least,\n * this is a formalization for deprecating messages.\n */\n deprecated?: (boolean | null);\n /**\n * Whether the message is an automatically generated map entry type for the\n * maps field.\n * \n * For maps fields:\n * map<KeyType, ValueType> map_field = 1;\n * The parsed descriptor looks like:\n * message MapFieldEntry {\n * option map_entry = true;\n * optional KeyType key = 1;\n * optional ValueType value = 2;\n * }\n * repeated MapFieldEntry map_field = 1;\n * \n * Implementations may choose not to generate the map_entry=true message, but\n * use a native map in the target language to hold the keys and values.\n * The reflection APIs in such implementations still need to work as\n * if the field is a repeated message field.\n * \n * NOTE: Do not set the option in .proto files. Always use the maps syntax\n * instead. The option should only be implicitly set by the proto compiler\n * parser.\n */\n mapEntry?: (boolean | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.decompositeOf'?: (string | null);\n '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.FieldSet[] | null);\n '.wix.api.unwrapArrayValue'?: (boolean | null);\n '.wix.api.messageDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.unique'?: ($wrapper.wix.api.Unique[] | null);\n }\n export interface FieldOptions {\n /**\n * The ctype option instructs the C++ code generator to use a different\n * representation of the field than it normally would. See the specific\n * options below. This option is not yet implemented in the open source\n * release -- sorry, we'll try to include it in a future version!\n */\n ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null);\n /**\n * The packed option can be enabled for repeated primitive fields to enable\n * a more efficient representation on the wire. Rather than repeatedly\n * writing the tag and type for each element, the entire array is encoded as\n * a single length-delimited blob. In proto3, only explicit setting it to\n * false will avoid using packed encoding.\n */\n packed?: (boolean | null);\n /**\n * The jstype option determines the JavaScript type used for values of the\n * field. The option is permitted only for 64 bit integral and fixed types\n * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING\n * is represented as JavaScript string, which avoids loss of precision that\n * can happen when a large value is converted to a floating point JavaScript.\n * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to\n * use the JavaScript \"number\" type. The behavior of the default option\n * JS_NORMAL is implementation dependent.\n * \n * This option is an enum to permit additional types to be added, e.g.\n * goog.math.Integer.\n */\n jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null);\n /**\n * Should this field be parsed lazily? Lazy applies only to message-type\n * fields. It means that when the outer message is initially parsed, the\n * inner message's contents will not be parsed but instead stored in encoded\n * form. The inner message will actually be parsed when it is first accessed.\n * \n * This is only a hint. Implementations are free to choose whether to use\n * eager or lazy parsing regardless of the value of this option. However,\n * setting this option true suggests that the protocol author believes that\n * using lazy parsing on this field is worth the additional bookkeeping\n * overhead typically needed to implement it.\n * \n * This option does not affect the public interface of any generated code;\n * all method signatures remain the same. Furthermore, thread-safety of the\n * interface is not affected by this option; const methods remain safe to\n * call from multiple threads concurrently, while non-const methods continue\n * to require exclusive access.\n * \n * \n * Note that implementations may choose not to check required fields within\n * a lazy sub-message. That is, calling IsInitialized() on the outer message\n * may return true even if the inner message has missing required fields.\n * This is necessary because otherwise the inner message would have to be\n * parsed in order to perform the check, defeating the purpose of lazy\n * parsing. An implementation which chooses not to check required fields\n * must be consistent about it. That is, for any particular sub-message, the\n * implementation must either *always* check its required fields, or *never*\n * check its required fields, regardless of whether or not the message has\n * been parsed.\n */\n lazy?: (boolean | null);\n /**\n * Is this field deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for accessors, or it will be completely ignored; in the very least, this\n * is a formalization for deprecating fields.\n */\n deprecated?: (boolean | null);\n /**\n * For Google-internal migration only. Do not use.\n */\n weak?: (boolean | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.pii'?: (boolean | null);\n '.wix.api.referencedEntity'?: (string | null);\n '.wix.api.referencedEntityField'?: ($wrapper.wix.api.ReferenceEntityField | null);\n '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.translatable'?: ($wrapper.wix.api.Translatable | null);\n '.wix.api.sampleData'?: (string | null);\n '.wix.api.conditional'?: ($wrapper.wix.api.Conditional | null);\n '.wix.api.nullable'?: (boolean | null);\n '.wix.api.max'?: (number | null);\n '.wix.api.min'?: (number | null);\n '.wix.api.maxLength'?: (number | null);\n '.wix.api.minLength'?: (number | null);\n '.wix.api.exactLength'?: (number | null);\n '.wix.api.maxSize'?: (number | null);\n '.wix.api.minSize'?: (number | null);\n '.wix.api.exactSize'?: (number | null);\n '.wix.api.format'?: ($wrapper.wix.api.Format | null);\n '.wix.api.readOnly'?: (boolean | null);\n '.wix.api.immutable'?: (boolean | null);\n '.wix.api.writeOnly'?: (boolean | null);\n '.wix.api.decimalValue'?: ($wrapper.wix.api.DecimalValueOptions | null);\n '.wix.api.customValidation'?: ($wrapper.wix.api.CustomValidationError | null);\n }\n export namespace FieldOptions {\n export enum CType {\n STRING = \"STRING\",\n CORD = \"CORD\",\n STRING_PIECE = \"STRING_PIECE\",\n }\n export enum JSType {\n JS_NORMAL = \"JS_NORMAL\",\n JS_STRING = \"JS_STRING\",\n JS_NUMBER = \"JS_NUMBER\",\n }\n }\n export interface OneofOptions {\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.alignedWithEnum'?: ($wrapper.wix.api.AlignedWithEnum | null);\n }\n export interface EnumOptions {\n /**\n * Set this option to true to allow mapping different tag names to the same\n * value.\n */\n allowAlias?: (boolean | null);\n /**\n * Is this enum deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for the enum, or it will be completely ignored; in the very least, this\n * is a formalization for deprecating enums.\n */\n deprecated?: (boolean | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n }\n export interface EnumValueOptions {\n /**\n * Is this enum value deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for the enum value, or it will be completely ignored; in the very least,\n * this is a formalization for deprecating enum values.\n */\n deprecated?: (boolean | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null);\n }\n export interface ServiceOptions {\n /**\n * Is this service deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for the service, or it will be completely ignored; in the very least,\n * this is a formalization for deprecating services.\n */\n deprecated?: (boolean | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.serviceTenancy'?: ($wrapper.wix.api.TenancyOptions | null);\n '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.appendixFiles'?: ($wrapper.wix.api.ServiceAppendix[] | null);\n '.wix.api.errorDef'?: ($wrapper.wix.api.Error[] | null);\n }\n export interface MethodOptions {\n /**\n * Is this method deprecated?\n * Depending on the target platform, this can emit Deprecated annotations\n * for the method, or it will be completely ignored; in the very least,\n * this is a formalization for deprecating methods.\n */\n deprecated?: (boolean | null);\n idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);\n /**\n * The parser stores options it doesn't recognize here. See above.\n */\n uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);\n '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);\n '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);\n '.wix.api.cacheable'?: ($wrapper.wix.api.CacheSettings | null);\n '.wix.api.deprecated'?: ($wrapper.wix.api.Deprecated | null);\n '.wix.api.crud'?: ($wrapper.wix.api.Crud | null);\n '.wix.api.acceptsLinguist'?: (boolean | null);\n '.wix.api.audience'?: ($wrapper.wix.api.Audience | null);\n '.wix.api.tenancy'?: ($wrapper.wix.api.TenancyOptions | null);\n '.wix.api.required'?: (string[] | null);\n '.wix.api.writable'?: (string[] | null);\n '.wix.api.error'?: ($wrapper.wix.api.Error[] | null);\n '.wix.api.customValidationError'?: ($wrapper.wix.api.CustomValidationError[] | null);\n '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.InheritCrudErrors[] | null);\n '.wix.api.errorRef'?: ($wrapper.wix.api.ErrorRef[] | null);\n }\n export namespace MethodOptions {\n /**\n * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,\n * or neither? HTTP based RPC implementation may choose GET verb for safe\n * methods, and PUT verb for idempotent methods instead of the default POST.\n */\n export enum IdempotencyLevel {\n IDEMPOTENCY_UNKNOWN = \"IDEMPOTENCY_UNKNOWN\",\n NO_SIDE_EFFECTS = \"NO_SIDE_EFFECTS\",\n IDEMPOTENT = \"IDEMPOTENT\",\n }\n }\n /**\n * A message representing a option the parser does not recognize. This only\n * appears in options protos created by the compiler::Parser class.\n * DescriptorPool resolves these when building Descriptor objects. Therefore,\n * options protos in descriptor objects (e.g. returned by Descriptor::options(),\n * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n * in them.\n */\n export interface UninterpretedOption {\n name?: ($wrapper.google.protobuf.UninterpretedOption.NamePart[] | null);\n /**\n * The value of the uninterpreted option, in whatever type the tokenizer\n * identified it as during parsing. Exactly one of these should be set.\n */\n identifierValue?: (string | null);\n positiveIntValue?: ((number | string) | null);\n negativeIntValue?: ((number | string) | null);\n doubleValue?: (number | null);\n stringValue?: (Uint8Array | null);\n aggregateValue?: (string | null);\n }\n export namespace UninterpretedOption {\n /**\n * The name of the uninterpreted option. Each string represents a segment in\n * a dot-separated name. is_extension is true iff a segment represents an\n * extension (denoted with parentheses in options specs in .proto files).\n * E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"qux\", false] } represents\n * \"foo.(bar.baz).qux\".\n */\n export interface NamePart {\n namePart?: (string | null);\n isExtension?: (boolean | null);\n }\n }\n /**\n * Encapsulates information about the original source file from which a\n * FileDescriptorProto was generated.\n */\n export interface SourceCodeInfo {\n /**\n * A Location identifies a piece of source code in a .proto file which\n * corresponds to a particular definition. This information is intended\n * to be useful to IDEs, code indexers, documentation generators, and similar\n * tools.\n * \n * For example, say we have a file like:\n * message Foo {\n * optional string foo = 1;\n * }\n * Let's look at just the field definition:\n * optional string foo = 1;\n * ^ ^^ ^^ ^ ^^^\n * a bc de f ghi\n * We have the following locations:\n * span path represents\n * [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n * \n * Notes:\n * - A location may refer to a repeated field itself (i.e. not to any\n * particular index within it). This is used whenever a set of elements are\n * logically enclosed in a single code segment. For example, an entire\n * extend block (possibly containing multiple extension definitions) will\n * have an outer location whose path refers to the \"extensions\" repeated\n * field without an index.\n * - Multiple locations may have the same path. This happens when a single\n * logical declaration is spread out across multiple places. The most\n * obvious example is the \"extend\" block again -- there may be multiple\n * extend blocks in the same scope, each of which will have the same path.\n * - A location's span is not always a subset of its parent's span. For\n * example, the \"extendee\" of an extension declaration appears at the\n * beginning of the \"extend\" block and is shared by all extensions within\n * the block.\n * - Just because a location's span is a subset of some other location's span\n * does not mean that it is a descendant. For example, a \"group\" defines\n * both a type and a field in a single declaration. Thus, the locations\n * corresponding to the type and field and their components will overlap.\n * - Code which tries to interpret locations should probably be designed to\n * ignore those that it doesn't understand, as more types of locations could\n * be recorded in the future.\n */\n location?: ($wrapper.google.protobuf.SourceCodeInfo.Location[] | null);\n }\n export namespace SourceCodeInfo {\n export interface Location {\n /**\n * Identifies which part of the FileDescriptorProto was defined at this\n * location.\n * \n * Each element is a field number or an index. They form a path from\n * the root FileDescriptorProto to the place where the definition. For\n * example, this path:\n * [ 4, 3, 2, 7, 1 ]\n * refers to:\n * file.message_type(3) // 4, 3\n * .field(7) // 2, 7\n * .name() // 1\n * This is because FileDescriptorProto.message_type has field number 4:\n * repeated DescriptorProto message_type = 4;\n * and DescriptorProto.field has field number 2:\n * repeated FieldDescriptorProto field = 2;\n * and FieldDescriptorProto.name has field number 1:\n * optional string name = 1;\n * \n * Thus, the above path gives the location of a field name. If we removed\n * the last element:\n * [ 4, 3, 2, 7 ]\n * this path refers to the whole field declaration (from the beginning\n * of the label to the terminating semicolon).\n */\n path?: (number[] | null);\n /**\n * Always has exactly three or four elements: start line, start column,\n * end line (optional, otherwise assumed same as start line), end column.\n * These are packed into a single field for efficiency. Note that line\n * and column numbers are zero-based -- typically you will want to add\n * 1 to each before displaying to a user.\n */\n span?: (number[] | null);\n /**\n * If this SourceCodeInfo represents a complete declaration, these are any\n * comments appearing before and after the declaration which appear to be\n * attached to the declaration.\n * \n * A series of line comments appearing on consecutive lines, with no other\n * tokens appearing on those lines, will be treated as a single comment.\n * \n * leading_detached_comments will keep paragraphs of comments that appear\n * before (but not connected to) the current element. Each paragraph,\n * separated by empty lines, will be one comment element in the repeated\n * field.\n * \n * Only the comment content is provided; comment markers (e.g. //) are\n * stripped out. For block comments, leading whitespace and an asterisk\n * will be stripped from the beginning of each line other than the first.\n * Newlines are included in the output.\n * \n * Examples:\n * \n * optional int32 foo = 1; // Comment attached to foo.\n * // Comment attached to bar.\n * optional int32 bar = 2;\n * \n * optional string baz = 3;\n * // Comment attached to baz.\n * // Another line attached to baz.\n * \n * // Comment attached to qux.\n * //\n * // Another line attached to qux.\n * optional double qux = 4;\n * \n * // Detached comment for corge. This is not leading or trailing comments\n * // to qux or corge because there are blank lines separating it from\n * // both.\n * \n * // Detached comment for corge paragraph 2.\n * \n * optional string corge = 5;\n * /* Block comment attached\n * * to corge. Leading asterisks\n * * will be removed. * /\n * /* Block comment attached to\n * * grault. * /\n * optional int32 grault = 6;\n * \n * // ignored detached comments.\n */\n leadingComments?: (string | null);\n trailingComments?: (string | null);\n leadingDetachedComments?: (string[] | null);\n }\n }\n /**\n * Describes the relationship between generated code and its original source\n * file. A GeneratedCodeInfo message is associated with only one generated\n * source file, but may contain references to different source .proto files.\n */\n export interface GeneratedCodeInfo {\n /**\n * An Annotation connects some span of text in generated code to an element\n * of its generating .proto file.\n */\n annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.Annotation[] | null);\n }\n export namespace GeneratedCodeInfo {\n export interface Annotation {\n /**\n * Identifies the element in the original source .proto file. This field\n * is formatted the same as SourceCodeInfo.Location.path.\n */\n path?: (number[] | null);\n /**\n * Identifies the filesystem path to the original source .proto.\n */\n sourceFile?: (string | null);\n /**\n * Identifies the starting offset in bytes in the generated code\n * that relates to the identified object.\n */\n begin?: (number | null);\n /**\n * Identifies the ending offset in bytes in the generated code that\n * relates to the identified offset. The end offset should be one past\n * the last relevant byte (so the length of the text = end - begin).\n */\n end?: (number | null);\n }\n }\n }\n }\n}\n\nexport default $wrapper;\n"],"mappings":"","ignoreList":[]}
|