// package: xrc.ecnova.commerce.warehousing.v1 // file: api/ecnova/commerce/warehousing/v1/warehousing_proto/inventory.proto import * as jspb from "google-protobuf"; import * as api_ecnova_commerce_warehousing_v1_warehousing_proto_receipt_pb from "../../../../../../api/ecnova/commerce/warehousing/v1/warehousing_proto/receipt_pb"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; export class Inventory extends jspb.Message { getName(): string; setName(value: string): void; getSkuId(): string; setSkuId(value: string): void; hasNone(): boolean; clearNone(): void; getNone(): google_protobuf_empty_pb.Empty | undefined; setNone(value?: google_protobuf_empty_pb.Empty): void; hasReceipt(): boolean; clearReceipt(): void; getReceipt(): api_ecnova_commerce_warehousing_v1_warehousing_proto_receipt_pb.Receipt | undefined; setReceipt(value?: api_ecnova_commerce_warehousing_v1_warehousing_proto_receipt_pb.Receipt): void; clearShipmentIdsList(): void; getShipmentIdsList(): Array; setShipmentIdsList(value: Array): void; addShipmentIds(value: string, index?: number): string; getItemsCount(): number; setItemsCount(value: number): void; getLotNumber(): string; setLotNumber(value: string): void; getBlocked(): boolean; setBlocked(value: boolean): 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; getSourceCase(): Inventory.SourceCase; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Inventory.AsObject; static toObject(includeInstance: boolean, msg: Inventory): Inventory.AsObject; static fromObject(obj: Inventory.AsObject): Inventory; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Inventory, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Inventory; static deserializeBinaryFromReader(message: Inventory, reader: jspb.BinaryReader): Inventory; } export namespace Inventory { export type AsObject = { name: string, skuId: string, none?: google_protobuf_empty_pb.Empty.AsObject, receipt?: api_ecnova_commerce_warehousing_v1_warehousing_proto_receipt_pb.Receipt.AsObject, shipmentIdsList: Array, itemsCount: number, lotNumber: string, blocked: boolean, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, } export enum SourceCase { SOURCE_NOT_SET = 0, NONE = 3, RECEIPT = 4, } }