// package: xrc.ecnova.commerce.admin.enterprise.v1 // file: api/ecnova/commerce/admin/enterprise/v1/enterprise_proto/enterprise.proto import * as jspb from "google-protobuf"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; import * as google_type_postal_address_pb from "../../../../../../../google/type/postal_address_pb"; export class Enterprise extends jspb.Message { getName(): string; setName(value: string): void; getTitle(): string; setTitle(value: string): void; getCurrencyCode(): string; setCurrencyCode(value: string): void; hasPublishInMarketplace(): boolean; clearPublishInMarketplace(): void; getPublishInMarketplace(): Enterprise.PublishInMarketplace | undefined; setPublishInMarketplace(value?: Enterprise.PublishInMarketplace): void; hasContactAddress(): boolean; clearContactAddress(): void; getContactAddress(): google_type_postal_address_pb.PostalAddress | undefined; setContactAddress(value?: google_type_postal_address_pb.PostalAddress): void; hasLastAccessTime(): boolean; clearLastAccessTime(): void; getLastAccessTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setLastAccessTime(value?: google_protobuf_timestamp_pb.Timestamp): void; hasCreateTime(): boolean; clearCreateTime(): void; getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void; hasUpdateTime(): boolean; clearUpdateTime(): void; getUpdateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setUpdateTime(value?: google_protobuf_timestamp_pb.Timestamp): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Enterprise.AsObject; static toObject(includeInstance: boolean, msg: Enterprise): Enterprise.AsObject; static fromObject(obj: Enterprise.AsObject): Enterprise; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Enterprise, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Enterprise; static deserializeBinaryFromReader(message: Enterprise, reader: jspb.BinaryReader): Enterprise; } export namespace Enterprise { export type AsObject = { name: string, title: string, currencyCode: string, publishInMarketplace?: Enterprise.PublishInMarketplace.AsObject, contactAddress?: google_type_postal_address_pb.PostalAddress.AsObject, lastAccessTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, } export class PublishInMarketplace extends jspb.Message { hasContact(): boolean; clearContact(): void; getContact(): Enterprise.PublishInMarketplace.Contact | undefined; setContact(value?: Enterprise.PublishInMarketplace.Contact): void; getLogoUrl(): string; setLogoUrl(value: string): void; getDescription(): string; setDescription(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PublishInMarketplace.AsObject; static toObject(includeInstance: boolean, msg: PublishInMarketplace): PublishInMarketplace.AsObject; static fromObject(obj: PublishInMarketplace.AsObject): PublishInMarketplace; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: PublishInMarketplace, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): PublishInMarketplace; static deserializeBinaryFromReader(message: PublishInMarketplace, reader: jspb.BinaryReader): PublishInMarketplace; } export namespace PublishInMarketplace { export type AsObject = { contact?: Enterprise.PublishInMarketplace.Contact.AsObject, logoUrl: string, description: string, } export class Contact extends jspb.Message { getTitle(): string; setTitle(value: string): void; getPhoneNumber(): string; setPhoneNumber(value: string): void; getEmailAddress(): string; setEmailAddress(value: string): void; hasContactAddress(): boolean; clearContactAddress(): void; getContactAddress(): google_type_postal_address_pb.PostalAddress | undefined; setContactAddress(value?: google_type_postal_address_pb.PostalAddress): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Contact.AsObject; static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; static fromObject(obj: Contact.AsObject): Contact; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Contact; static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; } export namespace Contact { export type AsObject = { title: string, phoneNumber: string, emailAddress: string, contactAddress?: google_type_postal_address_pb.PostalAddress.AsObject, } } } } export class CreateEnterpriseRequest extends jspb.Message { getId(): string; setId(value: string): void; hasEnterprise(): boolean; clearEnterprise(): void; getEnterprise(): Enterprise | undefined; setEnterprise(value?: Enterprise): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateEnterpriseRequest.AsObject; static toObject(includeInstance: boolean, msg: CreateEnterpriseRequest): CreateEnterpriseRequest.AsObject; static fromObject(obj: CreateEnterpriseRequest.AsObject): CreateEnterpriseRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: CreateEnterpriseRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): CreateEnterpriseRequest; static deserializeBinaryFromReader(message: CreateEnterpriseRequest, reader: jspb.BinaryReader): CreateEnterpriseRequest; } export namespace CreateEnterpriseRequest { export type AsObject = { id: string, enterprise?: Enterprise.AsObject, } } export class UpdateEnterpriseRequest extends jspb.Message { hasEnterprise(): boolean; clearEnterprise(): void; getEnterprise(): Enterprise | undefined; setEnterprise(value?: Enterprise): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateEnterpriseRequest.AsObject; static toObject(includeInstance: boolean, msg: UpdateEnterpriseRequest): UpdateEnterpriseRequest.AsObject; static fromObject(obj: UpdateEnterpriseRequest.AsObject): UpdateEnterpriseRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: UpdateEnterpriseRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): UpdateEnterpriseRequest; static deserializeBinaryFromReader(message: UpdateEnterpriseRequest, reader: jspb.BinaryReader): UpdateEnterpriseRequest; } export namespace UpdateEnterpriseRequest { export type AsObject = { enterprise?: Enterprise.AsObject, } } export class DeleteEnterpriseRequest extends jspb.Message { getName(): string; setName(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteEnterpriseRequest.AsObject; static toObject(includeInstance: boolean, msg: DeleteEnterpriseRequest): DeleteEnterpriseRequest.AsObject; static fromObject(obj: DeleteEnterpriseRequest.AsObject): DeleteEnterpriseRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: DeleteEnterpriseRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DeleteEnterpriseRequest; static deserializeBinaryFromReader(message: DeleteEnterpriseRequest, reader: jspb.BinaryReader): DeleteEnterpriseRequest; } export namespace DeleteEnterpriseRequest { export type AsObject = { name: string, } } export class GetEnterpriseRequest extends jspb.Message { getName(): string; setName(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetEnterpriseRequest.AsObject; static toObject(includeInstance: boolean, msg: GetEnterpriseRequest): GetEnterpriseRequest.AsObject; static fromObject(obj: GetEnterpriseRequest.AsObject): GetEnterpriseRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: GetEnterpriseRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): GetEnterpriseRequest; static deserializeBinaryFromReader(message: GetEnterpriseRequest, reader: jspb.BinaryReader): GetEnterpriseRequest; } export namespace GetEnterpriseRequest { export type AsObject = { name: string, } }