import Long from 'long'; type $GeneratedMessageClassNominal$ = { __$$generatedFromProtobuf$$__: Symbol; } type $$GeneratedMessage$$ = Function & { prototype: C } & $GeneratedMessageClassNominal$; declare namespace $wrapper { export namespace wix { export namespace velo { export namespace edm { export namespace v1 { export interface IEdmDefinition { edmName?: (string | null); codeOwnersTag?: (string | null); services?: ($wrapper.wix.velo.edm.v1.IExposedProtoService[] | null); customCodePackages?: ($wrapper.wix.velo.edm.v1.ICustomCodePackage[] | null); } export class EdmDefinition implements IEdmDefinition { constructor(data?: IEdmDefinition); edmName?: (string | null); codeOwnersTag?: (string | null); services?: ($wrapper.wix.velo.edm.v1.IExposedProtoService[] | null); customCodePackages?: ($wrapper.wix.velo.edm.v1.ICustomCodePackage[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IExposedProtoService { fqn?: (string | null); artifactId?: (string | null); baseUrl?: (string | null); methodOverrides?: ($wrapper.wix.velo.edm.v1.IMethodOverride[] | null); exportedPath?: (string | null); } export class ExposedProtoService implements IExposedProtoService { constructor(data?: IExposedProtoService); fqn?: (string | null); artifactId?: (string | null); baseUrl?: (string | null); methodOverrides?: ($wrapper.wix.velo.edm.v1.IMethodOverride[] | null); exportedPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMethodOverride { methodName?: (string | null); elevation?: ($wrapper.wix.velo.edm.v1.MethodOverride.Elevation | null); exposed?: (boolean | null); edmMethodName?: (string | null); transformation?: ($wrapper.wix.velo.edm.v1.ITransformation | null); argumentNames?: (string[] | null); exportedPath?: (string | null); omitUndefinedValues?: (boolean | null); } export class MethodOverride implements IMethodOverride { constructor(data?: IMethodOverride); methodName?: (string | null); elevation?: ($wrapper.wix.velo.edm.v1.MethodOverride.Elevation | null); exposed?: (boolean | null); edmMethodName?: (string | null); transformation?: ($wrapper.wix.velo.edm.v1.ITransformation | null); argumentNames?: (string[] | null); exportedPath?: (string | null); omitUndefinedValues?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace MethodOverride { export enum Elevation { USER_IDENTITY = 0, USER_BACKEND_CODE_IDENTITY = 1, DYNAMIC = 2, } } export interface ICustomCodePackage { name?: (string | null); version?: (string | null); customCodeMethods?: ($wrapper.wix.velo.edm.v1.CustomCodePackage.ICustomCodeMethod[] | null); } export class CustomCodePackage implements ICustomCodePackage { constructor(data?: ICustomCodePackage); name?: (string | null); version?: (string | null); customCodeMethods?: ($wrapper.wix.velo.edm.v1.CustomCodePackage.ICustomCodeMethod[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace CustomCodePackage { export interface ICustomCodeMethod { edmMethodName?: (string | null); methodPathInSourcePackage?: (string | null); exportedPath?: (string | null); } export class CustomCodeMethod implements ICustomCodeMethod { constructor(data?: ICustomCodeMethod); edmMethodName?: (string | null); methodPathInSourcePackage?: (string | null); exportedPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface ICustomTransformationDefinition { complexMapping?: ({ [key: string]: any } | null); simpleMapping?: (string | null); } export class CustomTransformationDefinition implements ICustomTransformationDefinition { constructor(data?: ICustomTransformationDefinition); complexMapping?: ({ [key: string]: any } | null); simpleMapping?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICustomTransformation { inputParamsTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformationDefinition | null); returnValueTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformationDefinition | null); } export class CustomTransformation implements ICustomTransformation { constructor(data?: ICustomTransformation); inputParamsTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformationDefinition | null); returnValueTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformationDefinition | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ITransformation { createMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.ICreateMethodTransformation | null); deleteMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IDeleteMethodTransformation | null); updateMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IUpdateMethodTransformation | null); listMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IListMethodTransformation | null); queryMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IQueryMethodTransformation | null); getMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IGetMethodTransformation | null); customTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformation | null); } export class Transformation implements ITransformation { constructor(data?: ITransformation); createMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.ICreateMethodTransformation | null); deleteMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IDeleteMethodTransformation | null); updateMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IUpdateMethodTransformation | null); listMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IListMethodTransformation | null); queryMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IQueryMethodTransformation | null); getMethodTransformation?: ($wrapper.wix.velo.edm.v1.Transformation.IGetMethodTransformation | null); customTransformation?: ($wrapper.wix.velo.edm.v1.ICustomTransformation | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Transformation { export interface ICreateMethodTransformation { requestMessageEntityPath?: (string | null); responseMessageResultPath?: (string | null); } export class CreateMethodTransformation implements ICreateMethodTransformation { constructor(data?: ICreateMethodTransformation); requestMessageEntityPath?: (string | null); responseMessageResultPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDeleteMethodTransformation { requestMessageIdentifierPath?: (string | null); requestMessageOptionsPath?: (string | null); } export class DeleteMethodTransformation implements IDeleteMethodTransformation { constructor(data?: IDeleteMethodTransformation); requestMessageIdentifierPath?: (string | null); requestMessageOptionsPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IListMethodTransformation { responseMessageResultPath?: (string | null); } export class ListMethodTransformation implements IListMethodTransformation { constructor(data?: IListMethodTransformation); responseMessageResultPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IQueryMethodTransformation { responseMessageResultPath?: (string | null); itemTransformation?: (any | null); responseMessagePagingMetadataPath?: (string | null); resultIteratorType?: ($wrapper.wix.velo.edm.v1.Transformation.QueryMethodTransformation.ResultIteratorType | null); requestQueryObjectPropertyName?: (string | null); } export class QueryMethodTransformation implements IQueryMethodTransformation { constructor(data?: IQueryMethodTransformation); responseMessageResultPath?: (string | null); itemTransformation?: (any | null); responseMessagePagingMetadataPath?: (string | null); resultIteratorType?: ($wrapper.wix.velo.edm.v1.Transformation.QueryMethodTransformation.ResultIteratorType | null); requestQueryObjectPropertyName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace QueryMethodTransformation { export enum ResultIteratorType { OFFSET = 0, CURSOR = 1, } } export interface IGetMethodTransformation { requestMessageIdentifierPath?: (string | null); responseMessageResultPath?: (string | null); } export class GetMethodTransformation implements IGetMethodTransformation { constructor(data?: IGetMethodTransformation); requestMessageIdentifierPath?: (string | null); responseMessageResultPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateMethodTransformation { requestMessageEntityPath?: (string | null); requestMessageEntityIdentifierField?: (string | null); requestMessageOptionsPath?: (string | null); responseMessageResultPath?: (string | null); } export class UpdateMethodTransformation implements IUpdateMethodTransformation { constructor(data?: IUpdateMethodTransformation); requestMessageEntityPath?: (string | null); requestMessageEntityIdentifierField?: (string | null); requestMessageOptionsPath?: (string | null); responseMessageResultPath?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } } export abstract class EdmDefinitionService { abstract listEdmDefinitions(aspects: object, req: $wrapper.wix.velo.edm.v1.IListEdmDefinitionsRequest): Promise<$wrapper.wix.velo.edm.v1.IListEdmDefinitionsResponse> abstract getEdmDefinition(aspects: object, req: $wrapper.wix.velo.edm.v1.IGetEdmDefinitionRequest): Promise<$wrapper.wix.velo.edm.v1.IGetEdmDefinitionResponse> abstract createEdmDefinition(aspects: object, req: $wrapper.wix.velo.edm.v1.ICreateEdmDefinitionRequest): Promise<$wrapper.wix.velo.edm.v1.ICreateEdmDefinitionResponse> abstract updateEdmDefinition(aspects: object, req: $wrapper.wix.velo.edm.v1.IUpdateEdmDefinitionRequest): Promise<$wrapper.wix.velo.edm.v1.IUpdateEdmDefinitionResponse> abstract deleteEdmDefinition(aspects: object, req: $wrapper.wix.velo.edm.v1.IDeleteEdmDefinitionRequest): Promise<$wrapper.wix.velo.edm.v1.IDeleteEdmDefinitionResponse> } export interface IListEdmDefinitionsRequest { } export class ListEdmDefinitionsRequest implements IListEdmDefinitionsRequest { constructor(data?: IListEdmDefinitionsRequest); static __$$generatedFromProtobuf$$__: Symbol; } export interface IListEdmDefinitionsResponse { definitions?: ($wrapper.wix.velo.edm.v1.IEdmDefinition[] | null); } export class ListEdmDefinitionsResponse implements IListEdmDefinitionsResponse { constructor(data?: IListEdmDefinitionsResponse); definitions?: ($wrapper.wix.velo.edm.v1.IEdmDefinition[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGetEdmDefinitionRequest { edmName?: (string | null); } export class GetEdmDefinitionRequest implements IGetEdmDefinitionRequest { constructor(data?: IGetEdmDefinitionRequest); edmName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGetEdmDefinitionResponse { definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); } export class GetEdmDefinitionResponse implements IGetEdmDefinitionResponse { constructor(data?: IGetEdmDefinitionResponse); definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICreateEdmDefinitionRequest { definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); } export class CreateEdmDefinitionRequest implements ICreateEdmDefinitionRequest { constructor(data?: ICreateEdmDefinitionRequest); definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICreateEdmDefinitionResponse { } export class CreateEdmDefinitionResponse implements ICreateEdmDefinitionResponse { constructor(data?: ICreateEdmDefinitionResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateEdmDefinitionRequest { definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); } export class UpdateEdmDefinitionRequest implements IUpdateEdmDefinitionRequest { constructor(data?: IUpdateEdmDefinitionRequest); definition?: ($wrapper.wix.velo.edm.v1.IEdmDefinition | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateEdmDefinitionResponse { } export class UpdateEdmDefinitionResponse implements IUpdateEdmDefinitionResponse { constructor(data?: IUpdateEdmDefinitionResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDeleteEdmDefinitionRequest { edmName?: (string | null); } export class DeleteEdmDefinitionRequest implements IDeleteEdmDefinitionRequest { constructor(data?: IDeleteEdmDefinitionRequest); edmName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDeleteEdmDefinitionResponse { } export class DeleteEdmDefinitionResponse implements IDeleteEdmDefinitionResponse { constructor(data?: IDeleteEdmDefinitionResponse); static __$$generatedFromProtobuf$$__: Symbol; } export abstract class EdmDeployedVersionService { abstract update(aspects: object, req: $wrapper.wix.velo.edm.v1.IUpdateDeployedVersionsRequest): Promise<$wrapper.wix.velo.edm.v1.IUpdateEdmDeployedVersionsResponse> abstract freeze(aspects: object, req: $wrapper.wix.velo.edm.v1.IFreezeDeployedVersionRequest): Promise<$wrapper.wix.velo.edm.v1.IFreezeDeployedVersionResponse> abstract unfreeze(aspects: object, req: $wrapper.wix.velo.edm.v1.IUnfreezeDeployedVersionRequest): Promise<$wrapper.wix.velo.edm.v1.IUnfreezeDeployedVersionResponse> } export interface IUpdateDeployedVersionsRequest { } export class UpdateDeployedVersionsRequest implements IUpdateDeployedVersionsRequest { constructor(data?: IUpdateDeployedVersionsRequest); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateEdmDeployedVersionsResponse { } export class UpdateEdmDeployedVersionsResponse implements IUpdateEdmDeployedVersionsResponse { constructor(data?: IUpdateEdmDeployedVersionsResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFreezeDeployedVersionRequest { edmName?: (string | null); version?: (string | null); } export class FreezeDeployedVersionRequest implements IFreezeDeployedVersionRequest { constructor(data?: IFreezeDeployedVersionRequest); edmName?: (string | null); version?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFreezeDeployedVersionResponse { } export class FreezeDeployedVersionResponse implements IFreezeDeployedVersionResponse { constructor(data?: IFreezeDeployedVersionResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUnfreezeDeployedVersionRequest { edmName?: (string | null); } export class UnfreezeDeployedVersionRequest implements IUnfreezeDeployedVersionRequest { constructor(data?: IUnfreezeDeployedVersionRequest); edmName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUnfreezeDeployedVersionResponse { } export class UnfreezeDeployedVersionResponse implements IUnfreezeDeployedVersionResponse { constructor(data?: IUnfreezeDeployedVersionResponse); static __$$generatedFromProtobuf$$__: Symbol; } export abstract class EdmDocsService { abstract generateDocs(aspects: object, req: $wrapper.wix.velo.edm.v1.IGenerateDocsRequest): Promise<$wrapper.wix.velo.edm.v1.IGenerateDocsResponse> } export interface IGenerateDocsRequest { edmName?: (string | null); swaggerUrlOverrides?: (string[] | null); } export class GenerateDocsRequest implements IGenerateDocsRequest { constructor(data?: IGenerateDocsRequest); edmName?: (string | null); swaggerUrlOverrides?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGenerateDocsResponse { filesAndContents?: ({ [k: string]: string } | null); } export class GenerateDocsResponse implements IGenerateDocsResponse { constructor(data?: IGenerateDocsResponse); filesAndContents?: ({ [k: string]: string }); static __$$generatedFromProtobuf$$__: Symbol; } export abstract class EdmGenerationService { abstract generate(aspects: object, req: $wrapper.wix.velo.edm.v1.IGenerateEdmRequest): Promise<$wrapper.wix.velo.edm.v1.IGenerateEdmResponse> abstract generateAll(aspects: object, req: $wrapper.wix.velo.edm.v1.IGenerateAllEdmsRequest): Promise<$wrapper.wix.velo.edm.v1.IGenerateAllEdmsResponse> } export interface IGenerateEdmRequest { edmName?: (string | null); } export class GenerateEdmRequest implements IGenerateEdmRequest { constructor(data?: IGenerateEdmRequest); edmName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGenerateEdmResponse { } export class GenerateEdmResponse implements IGenerateEdmResponse { constructor(data?: IGenerateEdmResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGenerateAllEdmsRequest { } export class GenerateAllEdmsRequest implements IGenerateAllEdmsRequest { constructor(data?: IGenerateAllEdmsRequest); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGenerateAllEdmsResponse { } export class GenerateAllEdmsResponse implements IGenerateAllEdmsResponse { constructor(data?: IGenerateAllEdmsResponse); static __$$generatedFromProtobuf$$__: Symbol; } export abstract class EdmSwaggerService { abstract saveSwagger(aspects: object, req: $wrapper.wix.velo.edm.v1.ISaveSwaggerRequest): Promise<$wrapper.wix.velo.edm.v1.ISaveSwaggerResponse> abstract removeSwagger(aspects: object, req: $wrapper.wix.velo.edm.v1.IRemoveSwaggerRequest): Promise<$wrapper.wix.velo.edm.v1.IRemoveSwaggerResponse> } export interface ISaveSwaggerRequest { swaggerUrl?: (string | null); } export class SaveSwaggerRequest implements ISaveSwaggerRequest { constructor(data?: ISaveSwaggerRequest); swaggerUrl?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISaveSwaggerResponse { } export class SaveSwaggerResponse implements ISaveSwaggerResponse { constructor(data?: ISaveSwaggerResponse); static __$$generatedFromProtobuf$$__: Symbol; } export interface IRemoveSwaggerRequest { swaggerUrl?: (string | null); } export class RemoveSwaggerRequest implements IRemoveSwaggerRequest { constructor(data?: IRemoveSwaggerRequest); swaggerUrl?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IRemoveSwaggerResponse { } export class RemoveSwaggerResponse implements IRemoveSwaggerResponse { constructor(data?: IRemoveSwaggerResponse); static __$$generatedFromProtobuf$$__: Symbol; } } } } export namespace api { export interface IServiceEntity { message?: (string | null); namespace?: (string | null); } export class ServiceEntity implements IServiceEntity { constructor(data?: IServiceEntity); message?: (string | null); namespace?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEntity { fqdn?: (string | null); exposure?: ($wrapper.wix.api.Exposure | null); appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null); oldFqdnForBackwardsCompatibility?: (string | null); segment?: ($wrapper.wix.api.Segment.SegmentName | null); implements?: (string[] | null); extensible?: ($wrapper.wix.api.IExtensible | null); trashbin?: (boolean | null); plural?: (string | null); domainEventsReadPermission?: (string | null); appDefId?: (string | null); domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null); taggable?: ($wrapper.wix.api.ITaggable | null); queryOptions?: ($wrapper.wix.api.IQueryOptions | null); eventsExposure?: ($wrapper.wix.api.Exposure | null); eventsMaturity?: ($wrapper.wix.api.Maturity | null); persistence?: ($wrapper.wix.api.IPersistence | null); permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null); } export class Entity implements IEntity { constructor(data?: IEntity); fqdn?: (string | null); exposure?: ($wrapper.wix.api.Exposure | null); appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null); oldFqdnForBackwardsCompatibility?: (string | null); segment?: ($wrapper.wix.api.Segment.SegmentName | null); implements?: (string[] | null); extensible?: ($wrapper.wix.api.IExtensible | null); trashbin?: (boolean | null); plural?: (string | null); domainEventsReadPermission?: (string | null); appDefId?: (string | null); domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null); taggable?: ($wrapper.wix.api.ITaggable | null); queryOptions?: ($wrapper.wix.api.IQueryOptions | null); eventsExposure?: ($wrapper.wix.api.Exposure | null); eventsMaturity?: ($wrapper.wix.api.Maturity | null); persistence?: ($wrapper.wix.api.IPersistence | null); permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPermissionCatalogOptions { autoGeneratePermissions?: (boolean | null); autoGenerateScopes?: (boolean | null); } export class PermissionCatalogOptions implements IPermissionCatalogOptions { constructor(data?: IPermissionCatalogOptions); autoGeneratePermissions?: (boolean | null); autoGenerateScopes?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPersistence { type?: ($wrapper.wix.api.Persistence.Type | null); } export class Persistence implements IPersistence { constructor(data?: IPersistence); type?: ($wrapper.wix.api.Persistence.Type | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Persistence { export enum Type { STANDARD = 0, SINGLETON = 1, NONE = 2, } } export interface IExtensible { nestedExtensionFieldPath?: (string | null); filterable?: (boolean | null); nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null); } export class Extensible implements IExtensible { constructor(data?: IExtensible); nestedExtensionFieldPath?: (string | null); filterable?: (boolean | null); nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface INestedExtensionPointMapping { extensionPoint?: (string | null); path?: (string | null); } export class NestedExtensionPointMapping implements INestedExtensionPointMapping { constructor(data?: INestedExtensionPointMapping); extensionPoint?: (string | null); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMessageAppendix { type?: ($wrapper.wix.api.MessageAppendix.Type | null); path?: (string | null); } export class MessageAppendix implements IMessageAppendix { constructor(data?: IMessageAppendix); type?: ($wrapper.wix.api.MessageAppendix.Type | null); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace MessageAppendix { export enum Type { UNKNOWN_APPENDIX_TYPE = 0, AUTO_VELO = 1, DOCS_CONF = 2, MULTILINGUAL = 3, SEARCH = 4, AUTO_SDK = 5, } } export interface IDomainEventOptions { eventSequenceNumber?: (boolean | null); deletedIncludeEntity?: (boolean | null); updatedIncludeModifiedFields?: (boolean | null); } export class DomainEventOptions implements IDomainEventOptions { constructor(data?: IDomainEventOptions); eventSequenceNumber?: (boolean | null); deletedIncludeEntity?: (boolean | null); updatedIncludeModifiedFields?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ITaggable { } export class Taggable implements ITaggable { constructor(data?: ITaggable); static __$$generatedFromProtobuf$$__: Symbol; } export interface IQueryOptions { wql?: ($wrapper.wix.api.IWql | null); search?: ($wrapper.wix.api.ISearch[] | null); additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null); } export class QueryOptions implements IQueryOptions { constructor(data?: IQueryOptions); wql?: ($wrapper.wix.api.IWql | null); search?: ($wrapper.wix.api.ISearch[] | null); additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface INamedQueryOptions { name?: (string | null); wql?: ($wrapper.wix.api.IWql | null); search?: ($wrapper.wix.api.ISearch[] | null); } export class NamedQueryOptions implements INamedQueryOptions { constructor(data?: INamedQueryOptions); name?: (string | null); wql?: ($wrapper.wix.api.IWql | null); search?: ($wrapper.wix.api.ISearch[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IReferenceEntityField { path?: (string | null); } export class ReferenceEntityField implements IReferenceEntityField { constructor(data?: IReferenceEntityField); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICacheSettings { maxAgeSeconds?: (number | null); manual?: (boolean | null); } export class CacheSettings implements ICacheSettings { constructor(data?: ICacheSettings); maxAgeSeconds?: (number | null); manual?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFieldSet { field?: (string[] | null); } export class FieldSet implements IFieldSet { constructor(data?: IFieldSet); field?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDeprecated { replacedBy?: (string | null); targetRemovalDate?: (string | null); } export class Deprecated implements IDeprecated { constructor(data?: IDeprecated); replacedBy?: (string | null); targetRemovalDate?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUnique { field?: (string[] | null); } export class Unique implements IUnique { constructor(data?: IUnique); field?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICrud { method?: ($wrapper.wix.api.Crud.Method | null); createOptions?: ($wrapper.wix.api.ICreateMethodOptions | null); getOptions?: ($wrapper.wix.api.IGetItemMethodOptions | null); updateOptions?: ($wrapper.wix.api.IUpdateMethodOptions | null); deleteOptions?: ($wrapper.wix.api.IDeleteMethodOptions | null); listOptions?: ($wrapper.wix.api.IListMethodOptions | null); queryOptions?: ($wrapper.wix.api.IQueryMethodOptions | null); searchOptions?: ($wrapper.wix.api.ISearchMethodOptions | null); bulkCreateOptions?: ($wrapper.wix.api.IBulkCreateMethodOptions | null); bulkUpdateOptions?: ($wrapper.wix.api.IBulkUpdateMethodOptions | null); bulkUpdateByFilterOptions?: ($wrapper.wix.api.IBulkUpdateByFilterMethodOptions | null); bulkDeleteOptions?: ($wrapper.wix.api.IBulkDeleteMethodOptions | null); bulkDeleteByFilterOptions?: ($wrapper.wix.api.IBulkDeleteByFilterMethodOptions | null); upsertOptions?: ($wrapper.wix.api.IUpsertMethodOptions | null); bulkUpsertOptions?: ($wrapper.wix.api.IBulkUpsertMethodOptions | null); listDeletedOptions?: ($wrapper.wix.api.IListDeletedMethodOptions | null); getDeletedOptions?: ($wrapper.wix.api.IGetDeletedMethodOptions | null); restoreFromTrashbinOptions?: ($wrapper.wix.api.IRestoreFromTrashbinMethodOptions | null); removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null); countOptions?: ($wrapper.wix.api.ICountOptions | null); searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null); updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null); customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null); bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null); bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null); } export class Crud implements ICrud { constructor(data?: ICrud); method?: ($wrapper.wix.api.Crud.Method | null); createOptions?: ($wrapper.wix.api.ICreateMethodOptions | null); getOptions?: ($wrapper.wix.api.IGetItemMethodOptions | null); updateOptions?: ($wrapper.wix.api.IUpdateMethodOptions | null); deleteOptions?: ($wrapper.wix.api.IDeleteMethodOptions | null); listOptions?: ($wrapper.wix.api.IListMethodOptions | null); queryOptions?: ($wrapper.wix.api.IQueryMethodOptions | null); searchOptions?: ($wrapper.wix.api.ISearchMethodOptions | null); bulkCreateOptions?: ($wrapper.wix.api.IBulkCreateMethodOptions | null); bulkUpdateOptions?: ($wrapper.wix.api.IBulkUpdateMethodOptions | null); bulkUpdateByFilterOptions?: ($wrapper.wix.api.IBulkUpdateByFilterMethodOptions | null); bulkDeleteOptions?: ($wrapper.wix.api.IBulkDeleteMethodOptions | null); bulkDeleteByFilterOptions?: ($wrapper.wix.api.IBulkDeleteByFilterMethodOptions | null); upsertOptions?: ($wrapper.wix.api.IUpsertMethodOptions | null); bulkUpsertOptions?: ($wrapper.wix.api.IBulkUpsertMethodOptions | null); listDeletedOptions?: ($wrapper.wix.api.IListDeletedMethodOptions | null); getDeletedOptions?: ($wrapper.wix.api.IGetDeletedMethodOptions | null); restoreFromTrashbinOptions?: ($wrapper.wix.api.IRestoreFromTrashbinMethodOptions | null); removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null); countOptions?: ($wrapper.wix.api.ICountOptions | null); searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null); updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null); customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null); bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null); bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Crud { export enum Method { UNKNOWN_METHOD = 0, CREATE = 1, GET_ITEM = 2, UPDATE = 3, DELETE = 4, UPSERT = 12, LIST = 5, QUERY = 6, SEARCH = 18, BULK_CREATE = 7, BULK_UPDATE = 8, BULK_UPDATE_BY_FILTER = 9, BULK_DELETE = 10, BULK_DELETE_BY_FILTER = 11, BULK_UPSERT = 13, LIST_DELETED = 14, GET_DELETED = 15, RESTORE_FROM_TRASHBIN = 16, REMOVE_FROM_TRASHBIN = 17, COUNT = 19, SEARCH_RELATED = 20, UPDATE_EXTENDED_FIELDS = 21, BULK_UPDATE_TAGS = 22, BULK_UPDATE_TAGS_BY_FILTER = 23, CUSTOM_ACTION = 24, } } export interface IPaging { type?: ($wrapper.wix.api.Paging.Type | null); pagingMetadataField?: (string | null); cursorPagingMetadataField?: (string | null); offsetPagingMetadataField?: (string | null); } export class Paging implements IPaging { constructor(data?: IPaging); type?: ($wrapper.wix.api.Paging.Type | null); pagingMetadataField?: (string | null); cursorPagingMetadataField?: (string | null); offsetPagingMetadataField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Paging { export enum Type { UNKNOWN_TYPE = 0, OFFSET = 1, CURSOR = 2, BOTH = 3, } } export interface ICustomActionOptions { readOperation?: (boolean | null); wql?: ($wrapper.wix.api.IWqlOptions | null); } export class CustomActionOptions implements ICustomActionOptions { constructor(data?: ICustomActionOptions); readOperation?: (boolean | null); wql?: ($wrapper.wix.api.IWqlOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IWqlOptions { queryOptionsName?: (string | null); filterField?: (string | null); queryField?: (string | null); searchField?: (string | null); } export class WqlOptions implements IWqlOptions { constructor(data?: IWqlOptions); queryOptionsName?: (string | null); filterField?: (string | null); queryField?: (string | null); searchField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICreateMethodOptions { itemField?: (string | null); } export class CreateMethodOptions implements ICreateMethodOptions { constructor(data?: ICreateMethodOptions); itemField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGetItemMethodOptions { itemField?: (string | null); idField?: (string | null); } export class GetItemMethodOptions implements IGetItemMethodOptions { constructor(data?: IGetItemMethodOptions); itemField?: (string | null); idField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateMethodOptions { itemField?: (string | null); fieldmaskField?: (string | null); } export class UpdateMethodOptions implements IUpdateMethodOptions { constructor(data?: IUpdateMethodOptions); itemField?: (string | null); fieldmaskField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpsertMethodOptions { itemField?: (string | null); fieldmaskField?: (string | null); } export class UpsertMethodOptions implements IUpsertMethodOptions { constructor(data?: IUpsertMethodOptions); itemField?: (string | null); fieldmaskField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDeleteMethodOptions { idField?: (string | null); } export class DeleteMethodOptions implements IDeleteMethodOptions { constructor(data?: IDeleteMethodOptions); idField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IListMethodOptions { idsField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); meAliasableField?: (string[] | null); } export class ListMethodOptions implements IListMethodOptions { constructor(data?: IListMethodOptions); idsField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); meAliasableField?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IQueryMethodOptions { queryField?: (string | null); cursorQueryField?: (string | null); offsetQueryField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); wql?: ($wrapper.wix.api.IWql | null); queryOptionsName?: (string | null); meAliasableField?: (string[] | null); } export class QueryMethodOptions implements IQueryMethodOptions { constructor(data?: IQueryMethodOptions); queryField?: (string | null); cursorQueryField?: (string | null); offsetQueryField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); wql?: ($wrapper.wix.api.IWql | null); queryOptionsName?: (string | null); meAliasableField?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISearchMethodOptions { searchField?: (string | null); cursorSearchField?: (string | null); offsetSearchField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); wql?: ($wrapper.wix.api.IWql | null); queryOptionsName?: (string | null); meAliasableField?: (string[] | null); search?: ($wrapper.wix.api.ISearch[] | null); } export class SearchMethodOptions implements ISearchMethodOptions { constructor(data?: ISearchMethodOptions); searchField?: (string | null); cursorSearchField?: (string | null); offsetSearchField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); wql?: ($wrapper.wix.api.IWql | null); queryOptionsName?: (string | null); meAliasableField?: (string[] | null); search?: ($wrapper.wix.api.ISearch[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkCreateMethodOptions { itemField?: (string | null); } export class BulkCreateMethodOptions implements IBulkCreateMethodOptions { constructor(data?: IBulkCreateMethodOptions); itemField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkUpdateMethodOptions { itemsField?: (string | null); itemField?: (string | null); fieldmaskField?: (string | null); } export class BulkUpdateMethodOptions implements IBulkUpdateMethodOptions { constructor(data?: IBulkUpdateMethodOptions); itemsField?: (string | null); itemField?: (string | null); fieldmaskField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkUpdateByFilterMethodOptions { itemField?: (string | null); fieldmaskField?: (string | null); filterField?: (string | null); queryOptionsName?: (string | null); } export class BulkUpdateByFilterMethodOptions implements IBulkUpdateByFilterMethodOptions { constructor(data?: IBulkUpdateByFilterMethodOptions); itemField?: (string | null); fieldmaskField?: (string | null); filterField?: (string | null); queryOptionsName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkUpdateTagsMethodOptions { idsField?: (string | null); } export class BulkUpdateTagsMethodOptions implements IBulkUpdateTagsMethodOptions { constructor(data?: IBulkUpdateTagsMethodOptions); idsField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkUpdateTagsByFilterMethodOptions { filterField?: (string | null); queryOptionsName?: (string | null); } export class BulkUpdateTagsByFilterMethodOptions implements IBulkUpdateTagsByFilterMethodOptions { constructor(data?: IBulkUpdateTagsByFilterMethodOptions); filterField?: (string | null); queryOptionsName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkUpsertMethodOptions { itemField?: (string | null); fieldmaskField?: (string | null); } export class BulkUpsertMethodOptions implements IBulkUpsertMethodOptions { constructor(data?: IBulkUpsertMethodOptions); itemField?: (string | null); fieldmaskField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkDeleteMethodOptions { idsField?: (string | null); } export class BulkDeleteMethodOptions implements IBulkDeleteMethodOptions { constructor(data?: IBulkDeleteMethodOptions); idsField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkDeleteByFilterMethodOptions { filterField?: (string | null); queryOptionsName?: (string | null); } export class BulkDeleteByFilterMethodOptions implements IBulkDeleteByFilterMethodOptions { constructor(data?: IBulkDeleteByFilterMethodOptions); filterField?: (string | null); queryOptionsName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IListDeletedMethodOptions { idsField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); meAliasableField?: (string[] | null); } export class ListDeletedMethodOptions implements IListDeletedMethodOptions { constructor(data?: IListDeletedMethodOptions); idsField?: (string | null); itemsField?: (string | null); paging?: ($wrapper.wix.api.IPaging | null); meAliasableField?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IGetDeletedMethodOptions { itemField?: (string | null); idField?: (string | null); } export class GetDeletedMethodOptions implements IGetDeletedMethodOptions { constructor(data?: IGetDeletedMethodOptions); itemField?: (string | null); idField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IRestoreFromTrashbinMethodOptions { itemField?: (string | null); idField?: (string | null); } export class RestoreFromTrashbinMethodOptions implements IRestoreFromTrashbinMethodOptions { constructor(data?: IRestoreFromTrashbinMethodOptions); itemField?: (string | null); idField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IRemoveFromTrashbinMethodOptions { idField?: (string | null); } export class RemoveFromTrashbinMethodOptions implements IRemoveFromTrashbinMethodOptions { constructor(data?: IRemoveFromTrashbinMethodOptions); idField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICountOptions { inheritWqlFrom?: (string | null); queryOptionsName?: (string | null); filterField?: (string | null); countField?: (string | null); } export class CountOptions implements ICountOptions { constructor(data?: ICountOptions); inheritWqlFrom?: (string | null); queryOptionsName?: (string | null); filterField?: (string | null); countField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISearchRelatedOptions { inheritWqlFrom?: (string | null); queryOptionsName?: (string | null); } export class SearchRelatedOptions implements ISearchRelatedOptions { constructor(data?: ISearchRelatedOptions); inheritWqlFrom?: (string | null); queryOptionsName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IUpdateExtendedFieldsOptions { itemField?: (string | null); } export class UpdateExtendedFieldsOptions implements IUpdateExtendedFieldsOptions { constructor(data?: IUpdateExtendedFieldsOptions); itemField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IWql { operatorFieldSupport?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null); pattern?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null); validateQuery?: (boolean | null); } export class Wql implements IWql { constructor(data?: IWql); operatorFieldSupport?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null); pattern?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null); validateQuery?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Wql { export enum Operator { ALL_APPLICABLE_OPERATORS = 0, EQ = 1, GT = 2, GTE = 3, IN = 4, LT = 5, LTE = 6, NE = 7, NIN = 8, BEGINS = 9, EXISTS = 10, HAS_ALL = 11, ALL = 11, HAS_SOME = 12, ANY = 12, EMPTY = 13, MATCH_ALL = 14, MATCH_ITEMS = 16, ENHANCED_DATE = 17, } export enum Sort { NONE = 0, ASC = 1, DESC = 2, BOTH = 3, } export interface IRequiredFields { field?: (string[] | null); requiredField?: ($wrapper.wix.api.Wql.RequiredFields.IRequiredField[] | null); } export class RequiredFields implements IRequiredFields { constructor(data?: IRequiredFields); field?: (string[] | null); requiredField?: ($wrapper.wix.api.Wql.RequiredFields.IRequiredField[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace RequiredFields { export interface IRequiredField { path?: (string | null); sort?: ($wrapper.wix.api.Wql.Sort | null); } export class RequiredField implements IRequiredField { constructor(data?: IRequiredField); path?: (string | null); sort?: ($wrapper.wix.api.Wql.Sort | null); static __$$generatedFromProtobuf$$__: Symbol; } } export enum VirtualSubfields { NO_VIRTUAL_SUBFIELDS = 0, DATE = 1, EMAIL = 2, } export interface IOperatorFieldSupport { operator?: ($wrapper.wix.api.Wql.Operator[] | null); glob?: (string | null); field?: (string[] | null); sort?: ($wrapper.wix.api.Wql.Sort | null); requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null); maturity?: ($wrapper.wix.api.Maturity | null); virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null); } export class OperatorFieldSupport implements IOperatorFieldSupport { constructor(data?: IOperatorFieldSupport); operator?: ($wrapper.wix.api.Wql.Operator[] | null); glob?: (string | null); field?: (string[] | null); sort?: ($wrapper.wix.api.Wql.Sort | null); requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null); maturity?: ($wrapper.wix.api.Maturity | null); virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface ISearch { field?: (string[] | null); maturity?: ($wrapper.wix.api.Maturity | null); } export class Search implements ISearch { constructor(data?: ISearch); field?: (string[] | null); maturity?: ($wrapper.wix.api.Maturity | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ITranslatable { name?: (string | null); hidden?: (boolean | null); grouping?: (string | null); type?: ($wrapper.wix.api.Translatable.Type | null); displayOnly?: (boolean | null); } export class Translatable implements ITranslatable { constructor(data?: ITranslatable); name?: (string | null); hidden?: (boolean | null); grouping?: (string | null); type?: ($wrapper.wix.api.Translatable.Type | null); displayOnly?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Translatable { export enum Type { UNDEFINED_TYPE = 0, SHORT_TEXT = 1, LONG_TEXT = 2, RICH_TEXT = 3, RICH_CONTENT_EDITOR = 4, SELECTION = 5, MULTI_SELECTION = 6, DOCUMENT = 7, IMAGE = 8, VIDEO = 9, IMAGE_LINK = 10, } } export interface IConditional { permission?: (string | null); requestedField?: (string | null); } export class Conditional implements IConditional { constructor(data?: IConditional); permission?: (string | null); requestedField?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IServiceAppendix { type?: ($wrapper.wix.api.ServiceAppendix.Type | null); path?: (string | null); } export class ServiceAppendix implements IServiceAppendix { constructor(data?: IServiceAppendix); type?: ($wrapper.wix.api.ServiceAppendix.Type | null); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace ServiceAppendix { export enum Type { UNKNOWN_APPENDIX_TYPE = 0, NILE = 1, MESSAGE_BUS = 2, } } export enum Exposure { PRIVATE = 0, INTERNAL = 1, PUBLIC = 2, } export enum Maturity { ALPHA = 0, BETA = 1, IA = 2, GA = 3, NOT_IMPLEMENTED = 4, } export interface ICallback { topic?: (string | null); segment?: ($wrapper.wix.api.Segment.SegmentName | null); payload?: (string | null); permission?: (string | null); eventType?: ($wrapper.wix.api.Callback.EventType | null); exposure?: ($wrapper.wix.api.Exposure | null); maturity?: ($wrapper.wix.api.Maturity | null); } export class Callback implements ICallback { constructor(data?: ICallback); topic?: (string | null); segment?: ($wrapper.wix.api.Segment.SegmentName | null); payload?: (string | null); permission?: (string | null); eventType?: ($wrapper.wix.api.Callback.EventType | null); exposure?: ($wrapper.wix.api.Exposure | null); maturity?: ($wrapper.wix.api.Maturity | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Callback { export enum EventType { UNKNOWN = 0, CREATED = 1, UPDATED = 2, DELETED = 3, ACTION = 4, } } export interface IDomainEvent { actionMessageFqn?: (string | null); webhookPermissionOverride?: (string | null); eventType?: ($wrapper.wix.api.DomainEvent.EventType | null); exposure?: ($wrapper.wix.api.Exposure | null); maturity?: ($wrapper.wix.api.Maturity | null); additionalMetadataFqn?: (string | null); deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null); } export class DomainEvent implements IDomainEvent { constructor(data?: IDomainEvent); actionMessageFqn?: (string | null); webhookPermissionOverride?: (string | null); eventType?: ($wrapper.wix.api.DomainEvent.EventType | null); exposure?: ($wrapper.wix.api.Exposure | null); maturity?: ($wrapper.wix.api.Maturity | null); additionalMetadataFqn?: (string | null); deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace DomainEvent { export enum EventType { UNKNOWN = 0, CREATED = 1, UPDATED = 2, DELETED = 3, ACTION = 4, } } export interface IEmits { eventType?: ($wrapper.wix.api.DomainEvent.EventType | null); actionMessageFqn?: (string | null); } export class Emits implements IEmits { constructor(data?: IEmits); eventType?: ($wrapper.wix.api.DomainEvent.EventType | null); actionMessageFqn?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDomainEventDeprecation { replacedBy?: (string | null); targetRemovalDate?: (string | null); } export class DomainEventDeprecation implements IDomainEventDeprecation { constructor(data?: IDomainEventDeprecation); replacedBy?: (string | null); targetRemovalDate?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICallbackDeprecation { replacedBy?: (string | null); targetRemovalDate?: (string | null); eventType?: ($wrapper.wix.api.Callback.EventType | null); customSlug?: (string | null); payload?: (string | null); } export class CallbackDeprecation implements ICallbackDeprecation { constructor(data?: ICallbackDeprecation); replacedBy?: (string | null); targetRemovalDate?: (string | null); eventType?: ($wrapper.wix.api.Callback.EventType | null); customSlug?: (string | null); payload?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISegment { } export class Segment implements ISegment { constructor(data?: ISegment); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Segment { /** * [Segment] annotation registers to Confluent clusters. * Existing topics might have a hard-coded segment in Greyhound, so this option is not required in proto. * However, new topics must provide a segment, or greyhound will throw an exception. * @see https://bo.wix.com/wix-docs/rnd/p13n-guidelines---aips/guidance-aips/design-patterns/[7016]-events#p13n-guidelines---aips_guidance-aips_design-patterns_[7016]-events_12-choose-the-right-segment */ export enum SegmentName { UNSPECIFIED = 0, USERS = 1, PUBLIC = 2, OTHERS = 3, } } /** * Decimal value validation rules. * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE */ export interface IDecimalValueOptions { lte?: (string | null); gte?: (string | null); lt?: (string | null); gt?: (string | null); maxScale?: (number | null); } export class DecimalValueOptions implements IDecimalValueOptions { constructor(data?: IDecimalValueOptions); lte?: (string | null); gte?: (string | null); lt?: (string | null); gt?: (string | null); maxScale?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IAlignedWithEnum { field?: (string | null); suffix?: (string | null); } export class AlignedWithEnum implements IAlignedWithEnum { constructor(data?: IAlignedWithEnum); field?: (string | null); suffix?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum Format { EMAIL = 0, HOSTNAME = 1, IPV4 = 2, IPV6 = 3, URI = 4, WEB_URL = 5, PHONE = 7, CREDIT_CARD = 8, GUID = 9, COUNTRY = 10, LANGUAGE = 11, DECIMAL_VALUE = 12, CURRENCY = 13, LANGUAGE_TAG = 14, COLOR_HEX = 15, LOCAL_DATE = 16, LOCAL_TIME = 17, LOCAL_DATE_TIME = 18, URL_SLUG = 19, SYSTEM_SLUG = 20, SECURE_WEB_URL = 21, SUBDIVISION = 22, } /** * ApplicationError: named Error for backwards compatibility */ export interface IError { httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null); applicationCode?: (string | null); data?: (string | null); } export class Error implements IError { constructor(data?: IError); httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null); applicationCode?: (string | null); data?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } /** * Method-level reference to a service-level error. */ export interface IErrorRef { applicationCode?: (string | null); } export class ErrorRef implements IErrorRef { constructor(data?: IErrorRef); applicationCode?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } /** * CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra */ export interface ICustomValidationError { ruleName?: (string | null); data?: (string | null); } export class CustomValidationError implements ICustomValidationError { constructor(data?: ICustomValidationError); ruleName?: (string | null); data?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } /** * InheritCrudErrors: does this method throw standard crud errors? */ export interface IInheritCrudErrors { method?: ($wrapper.wix.api.Crud.Method | null); } export class InheritCrudErrors implements IInheritCrudErrors { constructor(data?: IInheritCrudErrors); method?: ($wrapper.wix.api.Crud.Method | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IStatusCodes { } export class StatusCodes implements IStatusCodes { constructor(data?: IStatusCodes); static __$$generatedFromProtobuf$$__: Symbol; } export namespace StatusCodes { export enum HttpStatusCode { OK = 0, UNAUTHENTICATED = 1, PERMISSION_DENIED = 2, INVALID_ARGUMENT = 3, NOT_FOUND = 4, INTERNAL = 5, UNAVAILABLE = 6, RESOURCE_EXHAUSTED = 7, CANCELED = 8, ALREADY_EXISTS = 9, FAILED_PRECONDITION = 10, } } export interface IPermissionRule { name?: (string | null); type?: ($wrapper.wix.api.PermissionType | null); abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null); } export class PermissionRule implements IPermissionRule { constructor(data?: IPermissionRule); name?: (string | null); type?: ($wrapper.wix.api.PermissionType | null); abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum PermissionType { AUTO = 0, MANUAL = 1, } export enum AbacRequestValidationMode { ON = 0, OFF = 1, } export interface IDetails { applicationError?: ($wrapper.wix.api.IApplicationError | null); validationError?: ($wrapper.wix.api.IValidationError | null); systemError?: ($wrapper.wix.api.ISystemError | null); tracing?: ({ [k: string]: string } | null); } export class Details implements IDetails { constructor(data?: IDetails); applicationError?: ($wrapper.wix.api.IApplicationError | null); validationError?: ($wrapper.wix.api.IValidationError | null); systemError?: ($wrapper.wix.api.ISystemError | null); tracing?: ({ [k: string]: string }); static __$$generatedFromProtobuf$$__: Symbol; } export interface IApplicationError { code?: (string | null); description?: (string | null); data?: ({ [key: string]: any } | null); } export class ApplicationError implements IApplicationError { constructor(data?: IApplicationError); code?: (string | null); description?: (string | null); data?: ({ [key: string]: any } | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISystemError { errorCode?: (string | null); } export class SystemError implements ISystemError { constructor(data?: ISystemError); errorCode?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } /** * example result: * { * "fieldViolations": [ * { * "field": "fieldA", * "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]", * "violatedRule": "OTHER", * "ruleName": "INVALID_NOTE", * "data": { * "value": "FI" * } * }, * { * "field": "fieldB", * "description": "field value out of range. supported range: [0-20]", * "violatedRule": "MAX", * "data": { * "threshold": 20 * } * }, * { * "field": "fieldC", * "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]", * "violatedRule": "FORMAT", * "data": { * "type": "PHONE" * } * } * ] * } */ export interface IValidationError { fieldViolations?: ($wrapper.wix.api.ValidationError.IFieldViolation[] | null); } export class ValidationError implements IValidationError { constructor(data?: IValidationError); fieldViolations?: ($wrapper.wix.api.ValidationError.IFieldViolation[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace ValidationError { export enum RuleType { VALIDATION = 0, OTHER = 1, MAX = 2, MIN = 3, MAX_LENGTH = 4, MIN_LENGTH = 5, MAX_SIZE = 6, MIN_SIZE = 7, FORMAT = 8, DECIMAL_LTE = 9, DECIMAL_GTE = 10, DECIMAL_LT = 11, DECIMAL_GT = 12, DECIMAL_MAX_SCALE = 13, INVALID_ENUM_VALUE = 14, REQUIRED_FIELD = 15, FIELD_NOT_ALLOWED = 16, ONE_OF_ALIGNMENT = 17, EXACT_LENGTH = 18, EXACT_SIZE = 19, REQUIRED_ONE_OF_FIELD = 20, } export interface IFieldViolation { field?: (string | null); description?: (string | null); violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null); ruleName?: (string | null); data?: ({ [key: string]: any } | null); } export class FieldViolation implements IFieldViolation { constructor(data?: IFieldViolation); field?: (string | null); description?: (string | null); violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null); ruleName?: (string | null); data?: ({ [key: string]: any } | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface ILimitRuleInt32DataPayload { threshold?: (number | null); } export class LimitRuleInt32DataPayload implements ILimitRuleInt32DataPayload { constructor(data?: ILimitRuleInt32DataPayload); threshold?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ILimitRuleDoubleDataPayload { threshold?: (number | null); } export class LimitRuleDoubleDataPayload implements ILimitRuleDoubleDataPayload { constructor(data?: ILimitRuleDoubleDataPayload); threshold?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ILimitRuleStringDataPayload { threshold?: (string | null); } export class LimitRuleStringDataPayload implements ILimitRuleStringDataPayload { constructor(data?: ILimitRuleStringDataPayload); threshold?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFormatRuleDataPayload { type?: (string | null); } export class FormatRuleDataPayload implements IFormatRuleDataPayload { constructor(data?: IFormatRuleDataPayload); type?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEnumRuleDataPayload { supported?: (string[] | null); } export class EnumRuleDataPayload implements IEnumRuleDataPayload { constructor(data?: IEnumRuleDataPayload); supported?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IRequiredOneOfRuleDataPayload { supported?: (string[] | null); } export class RequiredOneOfRuleDataPayload implements IRequiredOneOfRuleDataPayload { constructor(data?: IRequiredOneOfRuleDataPayload); supported?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } } export namespace common { export interface IAddress { country?: (string | null); subdivision?: (string | null); subdivisionIso31662?: (string | null); city?: (string | null); postalCode?: (string | null); streetAddress?: ($wrapper.wix.common.IStreetAddress | null); addressLine?: (string | null); addressLine2?: (string | null); formattedAddress?: (string | null); hint?: (string | null); geocode?: ($wrapper.wix.common.IAddressLocation | null); countryFullname?: (string | null); subdivisionFullname?: (string | null); subdivisions?: ($wrapper.wix.common.ISubdivision[] | null); } export class Address implements IAddress { constructor(data?: IAddress); country?: (string | null); subdivision?: (string | null); subdivisionIso31662?: (string | null); city?: (string | null); postalCode?: (string | null); streetAddress?: ($wrapper.wix.common.IStreetAddress | null); addressLine?: (string | null); addressLine2?: (string | null); formattedAddress?: (string | null); hint?: (string | null); geocode?: ($wrapper.wix.common.IAddressLocation | null); countryFullname?: (string | null); subdivisionFullname?: (string | null); subdivisions?: ($wrapper.wix.common.ISubdivision[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISubdivision { code?: (string | null); name?: (string | null); type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null); typeInfo?: (string | null); standardDetails?: ($wrapper.wix.common.Subdivision.IStandardDetails | null); } export class Subdivision implements ISubdivision { constructor(data?: ISubdivision); code?: (string | null); name?: (string | null); type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null); typeInfo?: (string | null); standardDetails?: ($wrapper.wix.common.Subdivision.IStandardDetails | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Subdivision { export enum SubdivisionType { UNKNOWN_SUBDIVISION_TYPE = 0, ADMINISTRATIVE_AREA_LEVEL_1 = 1, ADMINISTRATIVE_AREA_LEVEL_2 = 2, ADMINISTRATIVE_AREA_LEVEL_3 = 3, ADMINISTRATIVE_AREA_LEVEL_4 = 4, ADMINISTRATIVE_AREA_LEVEL_5 = 5, COUNTRY = 6, } export interface IStandardDetails { iso31662?: (string | null); } export class StandardDetails implements IStandardDetails { constructor(data?: IStandardDetails); iso31662?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface IStreetAddress { number?: (string | null); name?: (string | null); apt?: (string | null); formattedAddressLine?: (string | null); } export class StreetAddress implements IStreetAddress { constructor(data?: IStreetAddress); number?: (string | null); name?: (string | null); apt?: (string | null); formattedAddressLine?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IAddressContactDetails { fullName?: (string | null); phone?: (string | null); company?: (string | null); email?: (string | null); } export class AddressContactDetails implements IAddressContactDetails { constructor(data?: IAddressContactDetails); fullName?: (string | null); phone?: (string | null); company?: (string | null); email?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFullAddressContactDetails { firstName?: (string | null); lastName?: (string | null); fullName?: (string | null); phone?: (string | null); company?: (string | null); email?: (string | null); vatId?: ($wrapper.wix.common.IVatId | null); } export class FullAddressContactDetails implements IFullAddressContactDetails { constructor(data?: IFullAddressContactDetails); firstName?: (string | null); lastName?: (string | null); fullName?: (string | null); phone?: (string | null); company?: (string | null); email?: (string | null); vatId?: ($wrapper.wix.common.IVatId | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IVatId { id?: (string | null); type?: ($wrapper.wix.common.VatType | null); } export class VatId implements IVatId { constructor(data?: IVatId); id?: (string | null); type?: ($wrapper.wix.common.VatType | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum VatType { UNSPECIFIED = 0, CPF = 1, CNPJ = 2, } export interface IAddressLocation { latitude?: (number | null); longitude?: (number | null); } export class AddressLocation implements IAddressLocation { constructor(data?: IAddressLocation); latitude?: (number | null); longitude?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IBulkActionMetadata { totalSuccesses?: (number | null); totalFailures?: (number | null); undetailedFailures?: (number | null); } export class BulkActionMetadata implements IBulkActionMetadata { constructor(data?: IBulkActionMetadata); totalSuccesses?: (number | null); totalFailures?: (number | null); undetailedFailures?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IItemMetadata { id?: (string | null); originalIndex?: (number | null); success?: (boolean | null); error?: ($wrapper.wix.api.IApplicationError | null); } export class ItemMetadata implements IItemMetadata { constructor(data?: IItemMetadata); id?: (string | null); originalIndex?: (number | null); success?: (boolean | null); error?: ($wrapper.wix.api.IApplicationError | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum BulkActionType { UNKNOWN_ACTION_TYPE = 0, INSERT = 1, UPDATE = 2, DELETE = 3, } export interface IIdentificationData { contactId?: (string | null); identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null); anonymousVisitorId?: (string | null); memberId?: (string | null); wixUserId?: (string | null); appId?: (string | null); } export class IdentificationData implements IIdentificationData { constructor(data?: IIdentificationData); contactId?: (string | null); identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null); anonymousVisitorId?: (string | null); memberId?: (string | null); wixUserId?: (string | null); appId?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace IdentificationData { export enum IdentityType { UNKNOWN = 0, ANONYMOUS_VISITOR = 1, MEMBER = 2, WIX_USER = 3, APP = 4, } } export interface IImage { id?: (string | null); url?: (string | null); height?: (number | null); width?: (number | null); altText?: (string | null); urlExpirationDate?: (Date | null); filename?: (string | null); sizeInBytes?: (string | null); focalPoint?: ($wrapper.wix.common.IFocalPoint | null); } export class Image implements IImage { constructor(data?: IImage); id?: (string | null); url?: (string | null); height?: (number | null); width?: (number | null); altText?: (string | null); urlExpirationDate?: (Date | null); filename?: (string | null); sizeInBytes?: (string | null); focalPoint?: ($wrapper.wix.common.IFocalPoint | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IVideo { id?: (string | null); url?: (string | null); height?: (number | null); width?: (number | null); thumbnail?: ($wrapper.wix.common.IImage | null); } export class Video implements IVideo { constructor(data?: IVideo); id?: (string | null); url?: (string | null); height?: (number | null); width?: (number | null); thumbnail?: ($wrapper.wix.common.IImage | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IVideoV2 { id?: (string | null); url?: (string | null); resolutions?: ($wrapper.wix.common.IVideoResolution[] | null); filename?: (string | null); posters?: ($wrapper.wix.common.IImage[] | null); sizeInBytes?: (string | null); urlExpirationDate?: (Date | null); durationInMilliseconds?: (number | null); title?: (string | null); description?: (string | null); height?: (number | null); width?: (number | null); } export class VideoV2 implements IVideoV2 { constructor(data?: IVideoV2); id?: (string | null); url?: (string | null); resolutions?: ($wrapper.wix.common.IVideoResolution[] | null); filename?: (string | null); posters?: ($wrapper.wix.common.IImage[] | null); sizeInBytes?: (string | null); urlExpirationDate?: (Date | null); durationInMilliseconds?: (number | null); title?: (string | null); description?: (string | null); height?: (number | null); width?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IVideoResolution { url?: (string | null); height?: (number | null); width?: (number | null); poster?: ($wrapper.wix.common.IImage | null); format?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); quality?: (string | null); filename?: (string | null); durationInSeconds?: (number | null); durationInMilliseconds?: (number | null); private?: (boolean | null); assetKey?: (string | null); } export class VideoResolution implements IVideoResolution { constructor(data?: IVideoResolution); url?: (string | null); height?: (number | null); width?: (number | null); poster?: ($wrapper.wix.common.IImage | null); format?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); quality?: (string | null); filename?: (string | null); durationInSeconds?: (number | null); durationInMilliseconds?: (number | null); private?: (boolean | null); assetKey?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IAudio { id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); duration?: (number | null); private?: (boolean | null); assetKey?: (string | null); format?: (string | null); quality?: (string | null); } export class Audio implements IAudio { constructor(data?: IAudio); id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); duration?: (number | null); private?: (boolean | null); assetKey?: (string | null); format?: (string | null); quality?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDocument { id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); thumbnail?: ($wrapper.wix.common.IImage | null); } export class Document implements IDocument { constructor(data?: IDocument); id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); thumbnail?: ($wrapper.wix.common.IImage | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IModel3D { id?: (string | null); url?: (string | null); thumbnail?: ($wrapper.wix.common.IImage | null); altText?: (string | null); urlExpirationDate?: (Date | null); filename?: (string | null); sizeInBytes?: (string | null); } export class Model3D implements IModel3D { constructor(data?: IModel3D); id?: (string | null); url?: (string | null); thumbnail?: ($wrapper.wix.common.IImage | null); altText?: (string | null); urlExpirationDate?: (Date | null); filename?: (string | null); sizeInBytes?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IArchive { id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); } export class Archive implements IArchive { constructor(data?: IArchive); id?: (string | null); url?: (string | null); urlExpirationDate?: (Date | null); sizeInBytes?: (string | null); filename?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMediaItem { image?: ($wrapper.wix.common.IImage | null); video?: ($wrapper.wix.common.IVideo | null); document?: ($wrapper.wix.common.IDocument | null); } export class MediaItem implements IMediaItem { constructor(data?: IMediaItem); image?: ($wrapper.wix.common.IImage | null); video?: ($wrapper.wix.common.IVideo | null); document?: ($wrapper.wix.common.IDocument | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFocalPoint { x?: (number | null); y?: (number | null); height?: (number | null); width?: (number | null); } export class FocalPoint implements IFocalPoint { constructor(data?: IFocalPoint); x?: (number | null); y?: (number | null); height?: (number | null); width?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMoney { value?: (string | null); currency?: (string | null); formattedValue?: (string | null); } export class Money implements IMoney { constructor(data?: IMoney); value?: (string | null); currency?: (string | null); formattedValue?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPageUrl { base?: (string | null); path?: (string | null); } export class PageUrl implements IPageUrl { constructor(data?: IPageUrl); base?: (string | null); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPageUrlV2 { relativePath?: (string | null); url?: (string | null); } export class PageUrlV2 implements IPageUrlV2 { constructor(data?: IPageUrlV2); relativePath?: (string | null); url?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPaging { limit?: (number | null); offset?: (number | null); } export class Paging implements IPaging { constructor(data?: IPaging); limit?: (number | null); offset?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICursorPaging { limit?: (number | null); cursor?: (string | null); } export class CursorPaging implements ICursorPaging { constructor(data?: ICursorPaging); limit?: (number | null); cursor?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPagingMetadata { count?: (number | null); offset?: (number | null); total?: (number | null); tooManyToCount?: (boolean | null); hasNext?: (boolean | null); } export class PagingMetadata implements IPagingMetadata { constructor(data?: IPagingMetadata); count?: (number | null); offset?: (number | null); total?: (number | null); tooManyToCount?: (boolean | null); hasNext?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPagingMetadataV2 { count?: (number | null); offset?: (number | null); total?: (number | null); tooManyToCount?: (boolean | null); cursors?: ($wrapper.wix.common.ICursors | null); hasNext?: (boolean | null); } export class PagingMetadataV2 implements IPagingMetadataV2 { constructor(data?: IPagingMetadataV2); count?: (number | null); offset?: (number | null); total?: (number | null); tooManyToCount?: (boolean | null); cursors?: ($wrapper.wix.common.ICursors | null); hasNext?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICursorPagingMetadata { count?: (number | null); cursors?: ($wrapper.wix.common.ICursors | null); hasNext?: (boolean | null); total?: (number | null); } export class CursorPagingMetadata implements ICursorPagingMetadata { constructor(data?: ICursorPagingMetadata); count?: (number | null); cursors?: ($wrapper.wix.common.ICursors | null); hasNext?: (boolean | null); total?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICursors { next?: (string | null); prev?: (string | null); } export class Cursors implements ICursors { constructor(data?: ICursors); next?: (string | null); prev?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ISorting { fieldName?: (string | null); order?: ($wrapper.wix.common.SortOrder | null); selectItemsBy?: ({ [key: string]: any }[] | null); } export class Sorting implements ISorting { constructor(data?: ISorting); fieldName?: (string | null); order?: ($wrapper.wix.common.SortOrder | null); selectItemsBy?: ({ [key: string]: any }[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum SortOrder { ASC = 0, DESC = 1, } export namespace spi { export interface ISpiBaseUri { baseUri?: (string | null); alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.IAlternativeUri[] | null); } export class SpiBaseUri implements ISpiBaseUri { constructor(data?: ISpiBaseUri); baseUri?: (string | null); alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.IAlternativeUri[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace SpiBaseUri { export interface IAlternativeUri { methodName?: (string | null); absoluteUri?: (string | null); } export class AlternativeUri implements IAlternativeUri { constructor(data?: IAlternativeUri); methodName?: (string | null); absoluteUri?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } } /** * this message is not directly used by any service, * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform. * e.g. SPIs, event-handlers, etc.. * NOTE: this context object MUST be provided as the last argument in each Velo method signature. * * Example: * ```typescript * export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) { * ... * } * ``` */ export interface IContext { requestId?: (string | null); currency?: (string | null); identity?: ($wrapper.wix.common.spi.Context.IIdentificationData | null); languages?: (string[] | null); instanceId?: (string | null); appExtensionId?: (string | null); appExtensionType?: (string | null); functionName?: (string | null); } export class Context implements IContext { constructor(data?: IContext); requestId?: (string | null); currency?: (string | null); identity?: ($wrapper.wix.common.spi.Context.IIdentificationData | null); languages?: (string[] | null); instanceId?: (string | null); appExtensionId?: (string | null); appExtensionType?: (string | null); functionName?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Context { export interface IIdentificationData { identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null); anonymousVisitorId?: (string | null); memberId?: (string | null); wixUserId?: (string | null); appId?: (string | null); } export class IdentificationData implements IIdentificationData { constructor(data?: IIdentificationData); identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null); anonymousVisitorId?: (string | null); memberId?: (string | null); wixUserId?: (string | null); appId?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace IdentificationData { export enum IdentityType { UNKNOWN = 0, ANONYMOUS_VISITOR = 1, MEMBER = 2, WIX_USER = 3, APP = 4, } } } } export namespace tags { export interface ITags { privateTags?: ($wrapper.wix.common.tags.Tags.ITagList | null); tags?: ($wrapper.wix.common.tags.Tags.ITagList | null); } export class Tags implements ITags { constructor(data?: ITags); privateTags?: ($wrapper.wix.common.tags.Tags.ITagList | null); tags?: ($wrapper.wix.common.tags.Tags.ITagList | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace Tags { export interface ITagList { tagIds?: (string[] | null); } export class TagList implements ITagList { constructor(data?: ITagList); tagIds?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface IPublicTags { tags?: ($wrapper.wix.common.tags.PublicTags.ITagList | null); } export class PublicTags implements IPublicTags { constructor(data?: IPublicTags); tags?: ($wrapper.wix.common.tags.PublicTags.ITagList | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace PublicTags { export interface ITagList { tagIds?: (string[] | null); } export class TagList implements ITagList { constructor(data?: ITagList); tagIds?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } } } export interface IWixLink { external?: ($wrapper.wix.common.IExternalLink | null); page?: ($wrapper.wix.common.IPageLink | null); anchor?: ($wrapper.wix.common.IAnchorLink | null); dynamicPage?: ($wrapper.wix.common.IDynamicPageLink | null); document?: ($wrapper.wix.common.IDocumentLink | null); email?: ($wrapper.wix.common.IEmailLink | null); phone?: ($wrapper.wix.common.IPhoneLink | null); address?: ($wrapper.wix.common.IAddressLink | null); whatsApp?: ($wrapper.wix.common.IWhatsAppLink | null); tpaPage?: ($wrapper.wix.common.ITpaPageLink | null); } export class WixLink implements IWixLink { constructor(data?: IWixLink); external?: ($wrapper.wix.common.IExternalLink | null); page?: ($wrapper.wix.common.IPageLink | null); anchor?: ($wrapper.wix.common.IAnchorLink | null); dynamicPage?: ($wrapper.wix.common.IDynamicPageLink | null); document?: ($wrapper.wix.common.IDocumentLink | null); email?: ($wrapper.wix.common.IEmailLink | null); phone?: ($wrapper.wix.common.IPhoneLink | null); address?: ($wrapper.wix.common.IAddressLink | null); whatsApp?: ($wrapper.wix.common.IWhatsAppLink | null); tpaPage?: ($wrapper.wix.common.ITpaPageLink | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IExternalLink { url?: (string | null); target?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); } export class ExternalLink implements IExternalLink { constructor(data?: IExternalLink); url?: (string | null); target?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPageLink { pageId?: (string | null); target?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); } export class PageLink implements IPageLink { constructor(data?: IPageLink); pageId?: (string | null); target?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IAnchorLink { anchorName?: (string | null); anchorDataId?: (string | null); pageId?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); } export class AnchorLink implements IAnchorLink { constructor(data?: IAnchorLink); anchorName?: (string | null); anchorDataId?: (string | null); pageId?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDynamicPageLink { routerId?: (string | null); innerRoute?: (string | null); anchorDataId?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); } export class DynamicPageLink implements IDynamicPageLink { constructor(data?: IDynamicPageLink); routerId?: (string | null); innerRoute?: (string | null); anchorDataId?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDocumentLink { docId?: (string | null); name?: (string | null); indexable?: (boolean | null); } export class DocumentLink implements IDocumentLink { constructor(data?: IDocumentLink); docId?: (string | null); name?: (string | null); indexable?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEmailLink { recipient?: (string | null); subject?: (string | null); body?: (string | null); } export class EmailLink implements IEmailLink { constructor(data?: IEmailLink); recipient?: (string | null); subject?: (string | null); body?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IPhoneLink { phoneNumber?: (string | null); } export class PhoneLink implements IPhoneLink { constructor(data?: IPhoneLink); phoneNumber?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IAddressLink { address?: (string | null); } export class AddressLink implements IAddressLink { constructor(data?: IAddressLink); address?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IWhatsAppLink { phoneNumber?: (string | null); } export class WhatsAppLink implements IWhatsAppLink { constructor(data?: IWhatsAppLink); phoneNumber?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ITpaPageLink { itemTypeIdentifier?: (string | null); itemId?: (string | null); pageId?: (string | null); appDefinitionId?: (string | null); path?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); } export class TpaPageLink implements ITpaPageLink { constructor(data?: ITpaPageLink); itemTypeIdentifier?: (string | null); itemId?: (string | null); pageId?: (string | null); appDefinitionId?: (string | null); path?: (string | null); rel?: ($wrapper.wix.common.LinkRel[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export enum LinkRel { unknown_link_rel = 0, nofollow = 1, noopener = 2, noreferrer = 3, sponsored = 4, } } } export namespace google { export namespace protobuf { export interface IFileDescriptorSet { file?: ($wrapper.google.protobuf.IFileDescriptorProto[] | null); } export class FileDescriptorSet implements IFileDescriptorSet { constructor(data?: IFileDescriptorSet); file?: ($wrapper.google.protobuf.IFileDescriptorProto[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFileDescriptorProto { name?: (string | null); package?: (string | null); dependency?: (string[] | null); publicDependency?: (number[] | null); weakDependency?: (number[] | null); messageType?: ($wrapper.google.protobuf.IDescriptorProto[] | null); enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null); service?: ($wrapper.google.protobuf.IServiceDescriptorProto[] | null); extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IFileOptions | null); sourceCodeInfo?: ($wrapper.google.protobuf.ISourceCodeInfo | null); syntax?: (string | null); } export class FileDescriptorProto implements IFileDescriptorProto { constructor(data?: IFileDescriptorProto); name?: (string | null); package?: (string | null); dependency?: (string[] | null); publicDependency?: (number[] | null); weakDependency?: (number[] | null); messageType?: ($wrapper.google.protobuf.IDescriptorProto[] | null); enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null); service?: ($wrapper.google.protobuf.IServiceDescriptorProto[] | null); extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IFileOptions | null); sourceCodeInfo?: ($wrapper.google.protobuf.ISourceCodeInfo | null); syntax?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IDescriptorProto { name?: (string | null); field?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); nestedType?: ($wrapper.google.protobuf.IDescriptorProto[] | null); enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null); extensionRange?: ($wrapper.google.protobuf.DescriptorProto.IExtensionRange[] | null); oneofDecl?: ($wrapper.google.protobuf.IOneofDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IMessageOptions | null); reservedRange?: ($wrapper.google.protobuf.DescriptorProto.IReservedRange[] | null); reservedName?: (string[] | null); } export class DescriptorProto implements IDescriptorProto { constructor(data?: IDescriptorProto); name?: (string | null); field?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null); nestedType?: ($wrapper.google.protobuf.IDescriptorProto[] | null); enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null); extensionRange?: ($wrapper.google.protobuf.DescriptorProto.IExtensionRange[] | null); oneofDecl?: ($wrapper.google.protobuf.IOneofDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IMessageOptions | null); reservedRange?: ($wrapper.google.protobuf.DescriptorProto.IReservedRange[] | null); reservedName?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace DescriptorProto { export interface IExtensionRange { start?: (number | null); end?: (number | null); options?: ($wrapper.google.protobuf.IExtensionRangeOptions | null); } export class ExtensionRange implements IExtensionRange { constructor(data?: IExtensionRange); start?: (number | null); end?: (number | null); options?: ($wrapper.google.protobuf.IExtensionRangeOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IReservedRange { start?: (number | null); end?: (number | null); } export class ReservedRange implements IReservedRange { constructor(data?: IReservedRange); start?: (number | null); end?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface IExtensionRangeOptions { uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); } export class ExtensionRangeOptions implements IExtensionRangeOptions { constructor(data?: IExtensionRangeOptions); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFieldDescriptorProto { name?: (string | null); number?: (number | null); label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null); type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null); typeName?: (string | null); extendee?: (string | null); defaultValue?: (string | null); oneofIndex?: (number | null); jsonName?: (string | null); options?: ($wrapper.google.protobuf.IFieldOptions | null); proto3Optional?: (boolean | null); } export class FieldDescriptorProto implements IFieldDescriptorProto { constructor(data?: IFieldDescriptorProto); name?: (string | null); number?: (number | null); label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null); type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null); typeName?: (string | null); extendee?: (string | null); defaultValue?: (string | null); oneofIndex?: (number | null); jsonName?: (string | null); options?: ($wrapper.google.protobuf.IFieldOptions | null); proto3Optional?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace FieldDescriptorProto { export enum Type { TYPE_DOUBLE = 1, TYPE_FLOAT = 2, TYPE_INT64 = 3, TYPE_UINT64 = 4, TYPE_INT32 = 5, TYPE_FIXED64 = 6, TYPE_FIXED32 = 7, TYPE_BOOL = 8, TYPE_STRING = 9, TYPE_GROUP = 10, TYPE_MESSAGE = 11, TYPE_BYTES = 12, TYPE_UINT32 = 13, TYPE_ENUM = 14, TYPE_SFIXED32 = 15, TYPE_SFIXED64 = 16, TYPE_SINT32 = 17, TYPE_SINT64 = 18, } export enum Label { LABEL_OPTIONAL = 1, LABEL_REQUIRED = 2, LABEL_REPEATED = 3, } } export interface IOneofDescriptorProto { name?: (string | null); options?: ($wrapper.google.protobuf.IOneofOptions | null); } export class OneofDescriptorProto implements IOneofDescriptorProto { constructor(data?: IOneofDescriptorProto); name?: (string | null); options?: ($wrapper.google.protobuf.IOneofOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEnumDescriptorProto { name?: (string | null); value?: ($wrapper.google.protobuf.IEnumValueDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IEnumOptions | null); reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.IEnumReservedRange[] | null); reservedName?: (string[] | null); } export class EnumDescriptorProto implements IEnumDescriptorProto { constructor(data?: IEnumDescriptorProto); name?: (string | null); value?: ($wrapper.google.protobuf.IEnumValueDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IEnumOptions | null); reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.IEnumReservedRange[] | null); reservedName?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace EnumDescriptorProto { export interface IEnumReservedRange { start?: (number | null); end?: (number | null); } export class EnumReservedRange implements IEnumReservedRange { constructor(data?: IEnumReservedRange); start?: (number | null); end?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface IEnumValueDescriptorProto { name?: (string | null); number?: (number | null); options?: ($wrapper.google.protobuf.IEnumValueOptions | null); } export class EnumValueDescriptorProto implements IEnumValueDescriptorProto { constructor(data?: IEnumValueDescriptorProto); name?: (string | null); number?: (number | null); options?: ($wrapper.google.protobuf.IEnumValueOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IServiceDescriptorProto { name?: (string | null); method?: ($wrapper.google.protobuf.IMethodDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IServiceOptions | null); } export class ServiceDescriptorProto implements IServiceDescriptorProto { constructor(data?: IServiceDescriptorProto); name?: (string | null); method?: ($wrapper.google.protobuf.IMethodDescriptorProto[] | null); options?: ($wrapper.google.protobuf.IServiceOptions | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMethodDescriptorProto { name?: (string | null); inputType?: (string | null); outputType?: (string | null); options?: ($wrapper.google.protobuf.IMethodOptions | null); clientStreaming?: (boolean | null); serverStreaming?: (boolean | null); } export class MethodDescriptorProto implements IMethodDescriptorProto { constructor(data?: IMethodDescriptorProto); name?: (string | null); inputType?: (string | null); outputType?: (string | null); options?: ($wrapper.google.protobuf.IMethodOptions | null); clientStreaming?: (boolean | null); serverStreaming?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFileOptions { javaPackage?: (string | null); javaOuterClassname?: (string | null); javaMultipleFiles?: (boolean | null); javaGenerateEqualsAndHash?: (boolean | null); javaStringCheckUtf8?: (boolean | null); optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null); goPackage?: (string | null); ccGenericServices?: (boolean | null); javaGenericServices?: (boolean | null); pyGenericServices?: (boolean | null); phpGenericServices?: (boolean | null); deprecated?: (boolean | null); ccEnableArenas?: (boolean | null); objcClassPrefix?: (string | null); csharpNamespace?: (string | null); swiftPrefix?: (string | null); phpClassPrefix?: (string | null); phpNamespace?: (string | null); phpMetadataNamespace?: (string | null); rubyPackage?: (string | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); } export class FileOptions implements IFileOptions { constructor(data?: IFileOptions); javaPackage?: (string | null); javaOuterClassname?: (string | null); javaMultipleFiles?: (boolean | null); javaGenerateEqualsAndHash?: (boolean | null); javaStringCheckUtf8?: (boolean | null); optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null); goPackage?: (string | null); ccGenericServices?: (boolean | null); javaGenericServices?: (boolean | null); pyGenericServices?: (boolean | null); phpGenericServices?: (boolean | null); deprecated?: (boolean | null); ccEnableArenas?: (boolean | null); objcClassPrefix?: (string | null); csharpNamespace?: (string | null); swiftPrefix?: (string | null); phpClassPrefix?: (string | null); phpNamespace?: (string | null); phpMetadataNamespace?: (string | null); rubyPackage?: (string | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace FileOptions { export enum OptimizeMode { SPEED = 1, CODE_SIZE = 2, LITE_RUNTIME = 3, } } export interface IMessageOptions { messageSetWireFormat?: (boolean | null); noStandardDescriptorAccessor?: (boolean | null); deprecated?: (boolean | null); mapEntry?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.entity'?: ($wrapper.wix.api.IEntity | null); '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null); '.wix.api.decompositeOf'?: (string | null); '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null); '.wix.api.unwrapArrayValue'?: (boolean | null); '.wix.api.messageDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null); } export class MessageOptions implements IMessageOptions { constructor(data?: IMessageOptions); messageSetWireFormat?: (boolean | null); noStandardDescriptorAccessor?: (boolean | null); deprecated?: (boolean | null); mapEntry?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.entity'?: ($wrapper.wix.api.IEntity | null); '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null); '.wix.api.decompositeOf'?: (string | null); '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null); '.wix.api.unwrapArrayValue'?: (boolean | null); '.wix.api.messageDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IFieldOptions { ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null); packed?: (boolean | null); jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null); lazy?: (boolean | null); deprecated?: (boolean | null); weak?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.pii'?: (boolean | null); '.wix.api.referencedEntity'?: (string | null); '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null); '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null); '.wix.api.sampleData'?: (string | null); '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null); '.wix.api.nullable'?: (boolean | null); '.wix.api.max'?: (number | null); '.wix.api.min'?: (number | null); '.wix.api.maxLength'?: (number | null); '.wix.api.minLength'?: (number | null); '.wix.api.exactLength'?: (number | null); '.wix.api.maxSize'?: (number | null); '.wix.api.minSize'?: (number | null); '.wix.api.exactSize'?: (number | null); '.wix.api.format'?: ($wrapper.wix.api.Format | null); '.wix.api.readOnly'?: (boolean | null); '.wix.api.immutable'?: (boolean | null); '.wix.api.writeOnly'?: (boolean | null); '.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null); '.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null); } export class FieldOptions implements IFieldOptions { constructor(data?: IFieldOptions); ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null); packed?: (boolean | null); jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null); lazy?: (boolean | null); deprecated?: (boolean | null); weak?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.pii'?: (boolean | null); '.wix.api.referencedEntity'?: (string | null); '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null); '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null); '.wix.api.sampleData'?: (string | null); '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null); '.wix.api.nullable'?: (boolean | null); '.wix.api.max'?: (number | null); '.wix.api.min'?: (number | null); '.wix.api.maxLength'?: (number | null); '.wix.api.minLength'?: (number | null); '.wix.api.exactLength'?: (number | null); '.wix.api.maxSize'?: (number | null); '.wix.api.minSize'?: (number | null); '.wix.api.exactSize'?: (number | null); '.wix.api.format'?: ($wrapper.wix.api.Format | null); '.wix.api.readOnly'?: (boolean | null); '.wix.api.immutable'?: (boolean | null); '.wix.api.writeOnly'?: (boolean | null); '.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null); '.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace FieldOptions { export enum CType { STRING = 0, CORD = 1, STRING_PIECE = 2, } export enum JSType { JS_NORMAL = 0, JS_STRING = 1, JS_NUMBER = 2, } } export interface IOneofOptions { uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.alignedWithEnum'?: ($wrapper.wix.api.IAlignedWithEnum | null); } export class OneofOptions implements IOneofOptions { constructor(data?: IOneofOptions); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.alignedWithEnum'?: ($wrapper.wix.api.IAlignedWithEnum | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEnumOptions { allowAlias?: (boolean | null); deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); } export class EnumOptions implements IEnumOptions { constructor(data?: IEnumOptions); allowAlias?: (boolean | null); deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IEnumValueOptions { deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null); } export class EnumValueOptions implements IEnumValueOptions { constructor(data?: IEnumValueOptions); deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IServiceOptions { deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null); '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null); '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null); '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null); '.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null); } export class ServiceOptions implements IServiceOptions { constructor(data?: IServiceOptions); deprecated?: (boolean | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null); '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null); '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null); '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null); '.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IMethodOptions { deprecated?: (boolean | null); idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null); '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null); '.wix.api.acceptsLinguist'?: (boolean | null); '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null); '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null); '.wix.api.required'?: (string[] | null); '.wix.api.writable'?: (string[] | null); '.wix.api.error'?: ($wrapper.wix.api.IError[] | null); '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null); '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null); '.wix.api.errorRef'?: ($wrapper.wix.api.IErrorRef[] | null); '.wix.api.permission'?: ($wrapper.wix.api.IPermissionRule | null); '.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null); '.google.api.http'?: ($wrapper.google.api.IHttpRule | null); } export class MethodOptions implements IMethodOptions { constructor(data?: IMethodOptions); deprecated?: (boolean | null); idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null); uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null); '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null); '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null); '.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null); '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null); '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null); '.wix.api.acceptsLinguist'?: (boolean | null); '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null); '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null); '.wix.api.required'?: (string[] | null); '.wix.api.writable'?: (string[] | null); '.wix.api.error'?: ($wrapper.wix.api.IError[] | null); '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null); '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null); '.wix.api.errorRef'?: ($wrapper.wix.api.IErrorRef[] | null); '.wix.api.permission'?: ($wrapper.wix.api.IPermissionRule | null); '.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null); '.google.api.http'?: ($wrapper.google.api.IHttpRule | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace MethodOptions { export enum IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, NO_SIDE_EFFECTS = 1, IDEMPOTENT = 2, } } export interface IUninterpretedOption { name?: ($wrapper.google.protobuf.UninterpretedOption.INamePart[] | null); identifierValue?: (string | null); positiveIntValue?: ((number | Long) | null); negativeIntValue?: ((number | Long) | null); doubleValue?: (number | null); stringValue?: (Uint8Array | null); aggregateValue?: (string | null); } export class UninterpretedOption implements IUninterpretedOption { constructor(data?: IUninterpretedOption); name?: ($wrapper.google.protobuf.UninterpretedOption.INamePart[] | null); identifierValue?: (string | null); positiveIntValue?: ((number | Long) | null); negativeIntValue?: ((number | Long) | null); doubleValue?: (number | null); stringValue?: (Uint8Array | null); aggregateValue?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace UninterpretedOption { export interface INamePart { namePart?: (string | null); isExtension?: (boolean | null); } export class NamePart implements INamePart { constructor(data?: INamePart); namePart?: (string | null); isExtension?: (boolean | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface ISourceCodeInfo { location?: ($wrapper.google.protobuf.SourceCodeInfo.ILocation[] | null); } export class SourceCodeInfo implements ISourceCodeInfo { constructor(data?: ISourceCodeInfo); location?: ($wrapper.google.protobuf.SourceCodeInfo.ILocation[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace SourceCodeInfo { export interface ILocation { path?: (number[] | null); span?: (number[] | null); leadingComments?: (string | null); trailingComments?: (string | null); leadingDetachedComments?: (string[] | null); } export class Location implements ILocation { constructor(data?: ILocation); path?: (number[] | null); span?: (number[] | null); leadingComments?: (string | null); trailingComments?: (string | null); leadingDetachedComments?: (string[] | null); static __$$generatedFromProtobuf$$__: Symbol; } } export interface IGeneratedCodeInfo { annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.IAnnotation[] | null); } export class GeneratedCodeInfo implements IGeneratedCodeInfo { constructor(data?: IGeneratedCodeInfo); annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.IAnnotation[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export namespace GeneratedCodeInfo { export interface IAnnotation { path?: (number[] | null); sourceFile?: (string | null); begin?: (number | null); end?: (number | null); } export class Annotation implements IAnnotation { constructor(data?: IAnnotation); path?: (number[] | null); sourceFile?: (string | null); begin?: (number | null); end?: (number | null); static __$$generatedFromProtobuf$$__: Symbol; } } } export namespace api { export interface IHttp { rules?: ($wrapper.google.api.IHttpRule[] | null); } export class Http implements IHttp { constructor(data?: IHttp); rules?: ($wrapper.google.api.IHttpRule[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface IHttpRule { selector?: (string | null); get?: (string | null); put?: (string | null); post?: (string | null); delete?: (string | null); patch?: (string | null); custom?: ($wrapper.google.api.ICustomHttpPattern | null); body?: (string | null); additionalBindings?: ($wrapper.google.api.IHttpRule[] | null); } export class HttpRule implements IHttpRule { constructor(data?: IHttpRule); selector?: (string | null); get?: (string | null); put?: (string | null); post?: (string | null); delete?: (string | null); patch?: (string | null); custom?: ($wrapper.google.api.ICustomHttpPattern | null); body?: (string | null); additionalBindings?: ($wrapper.google.api.IHttpRule[] | null); static __$$generatedFromProtobuf$$__: Symbol; } export interface ICustomHttpPattern { kind?: (string | null); path?: (string | null); } export class CustomHttpPattern implements ICustomHttpPattern { constructor(data?: ICustomHttpPattern); kind?: (string | null); path?: (string | null); static __$$generatedFromProtobuf$$__: Symbol; } } } } export default $wrapper;