# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: v1/sales/product.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from omni.pro.protos.common import base_pb2 as common_dot_base__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\x16v1/sales/product.proto\x12!pro.omni.oms.api.v1.sales.product\x1a\x11\x63ommon/base.proto"\xa5\x01\n\x07Product\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x16\n\x0eproduct_doc_id\x18\x02 \x01(\t\x12\x17\n\x0ftemplate_doc_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06\x61\x63tive\x18\x05 \x01(\x08\x12?\n\x0cobject_audit\x18\x06 \x01(\x0b\x32).pro.omni.oms.api.common.base.ObjectAudit"\x8d\x01\n\x14ProductCreateRequest\x12\x16\n\x0eproduct_doc_id\x18\x01 \x01(\t\x12\x17\n\x0ftemplate_doc_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x36\n\x07\x63ontext\x18\x04 \x01(\x0b\x32%.pro.omni.oms.api.common.base.Context"\x9f\x01\n\x15ProductCreateResponse\x12;\n\x07product\x18\x01 \x01(\x0b\x32*.pro.omni.oms.api.v1.sales.product.Product\x12I\n\x11response_standard\x18\x02 \x01(\x0b\x32..pro.omni.oms.api.common.base.ResponseStandard"\xf0\x02\n\x12ProductReadRequest\x12\x37\n\x08group_by\x18\x01 \x03(\x0b\x32%.pro.omni.oms.api.common.base.GroupBy\x12\x35\n\x07sort_by\x18\x02 \x01(\x0b\x32$.pro.omni.oms.api.common.base.SortBy\x12\x34\n\x06\x66ields\x18\x03 \x01(\x0b\x32$.pro.omni.oms.api.common.base.Fields\x12\x34\n\x06\x66ilter\x18\x04 \x01(\x0b\x32$.pro.omni.oms.api.common.base.Filter\x12:\n\tpaginated\x18\x05 \x01(\x0b\x32\'.pro.omni.oms.api.common.base.Paginated\x12\n\n\x02id\x18\x06 \x01(\x05\x12\x36\n\x07\x63ontext\x18\x07 \x01(\x0b\x32%.pro.omni.oms.api.common.base.Context"\xd9\x01\n\x13ProductReadResponse\x12<\n\x08products\x18\x01 \x03(\x0b\x32*.pro.omni.oms.api.v1.sales.product.Product\x12I\n\x11response_standard\x18\x02 \x01(\x0b\x32..pro.omni.oms.api.common.base.ResponseStandard\x12\x39\n\tmeta_data\x18\x03 \x01(\x0b\x32&.pro.omni.oms.api.common.base.MetaData"\x8b\x01\n\x14ProductUpdateRequest\x12;\n\x07product\x18\x01 \x01(\x0b\x32*.pro.omni.oms.api.v1.sales.product.Product\x12\x36\n\x07\x63ontext\x18\x02 \x01(\x0b\x32%.pro.omni.oms.api.common.base.Context"\x9f\x01\n\x15ProductUpdateResponse\x12;\n\x07product\x18\x01 \x01(\x0b\x32*.pro.omni.oms.api.v1.sales.product.Product\x12I\n\x11response_standard\x18\x02 \x01(\x0b\x32..pro.omni.oms.api.common.base.ResponseStandard"Z\n\x14ProductDeleteRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x36\n\x07\x63ontext\x18\x02 \x01(\x0b\x32%.pro.omni.oms.api.common.base.Context"b\n\x15ProductDeleteResponse\x12I\n\x11response_standard\x18\x01 \x01(\x0b\x32..pro.omni.oms.api.common.base.ResponseStandard2\xa5\x04\n\x0eProductService\x12\x84\x01\n\rProductCreate\x12\x37.pro.omni.oms.api.v1.sales.product.ProductCreateRequest\x1a\x38.pro.omni.oms.api.v1.sales.product.ProductCreateResponse"\x00\x12~\n\x0bProductRead\x12\x35.pro.omni.oms.api.v1.sales.product.ProductReadRequest\x1a\x36.pro.omni.oms.api.v1.sales.product.ProductReadResponse"\x00\x12\x84\x01\n\rProductUpdate\x12\x37.pro.omni.oms.api.v1.sales.product.ProductUpdateRequest\x1a\x38.pro.omni.oms.api.v1.sales.product.ProductUpdateResponse"\x00\x12\x84\x01\n\rProductDelete\x12\x37.pro.omni.oms.api.v1.sales.product.ProductDeleteRequest\x1a\x38.pro.omni.oms.api.v1.sales.product.ProductDeleteResponse"\x00\x62\x06proto3'
)

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "v1.sales.product_pb2", globals())
if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    _PRODUCT._serialized_start = 81
    _PRODUCT._serialized_end = 246
    _PRODUCTCREATEREQUEST._serialized_start = 249
    _PRODUCTCREATEREQUEST._serialized_end = 390
    _PRODUCTCREATERESPONSE._serialized_start = 393
    _PRODUCTCREATERESPONSE._serialized_end = 552
    _PRODUCTREADREQUEST._serialized_start = 555
    _PRODUCTREADREQUEST._serialized_end = 923
    _PRODUCTREADRESPONSE._serialized_start = 926
    _PRODUCTREADRESPONSE._serialized_end = 1143
    _PRODUCTUPDATEREQUEST._serialized_start = 1146
    _PRODUCTUPDATEREQUEST._serialized_end = 1285
    _PRODUCTUPDATERESPONSE._serialized_start = 1288
    _PRODUCTUPDATERESPONSE._serialized_end = 1447
    _PRODUCTDELETEREQUEST._serialized_start = 1449
    _PRODUCTDELETEREQUEST._serialized_end = 1539
    _PRODUCTDELETERESPONSE._serialized_start = 1541
    _PRODUCTDELETERESPONSE._serialized_end = 1639
    _PRODUCTSERVICE._serialized_start = 1642
    _PRODUCTSERVICE._serialized_end = 2191
# @@protoc_insertion_point(module_scope)
