# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: services/api.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'services/api.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from areas import area_pb2 as areas_dot_area__pb2
from identities import identities_pb2 as identities_dot_identities__pb2
from financial import financial_pb2 as financial_dot_financial__pb2
from services import repositories_pb2 as services_dot_repositories__pb2
from models import models_pb2 as models_dot_models__pb2
from activities import workflow_pb2 as activities_dot_workflow__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12services/api.proto\x12\x14\x63om.fatehan.services\x1a\x10\x61reas/area.proto\x1a\x1bidentities/identities.proto\x1a\x19\x66inancial/financial.proto\x1a\x1bservices/repositories.proto\x1a\x13models/models.proto\x1a\x19\x61\x63tivities/workflow.proto\"\xf4\x01\n\x10WorkflowResponse\x12\"\n\x0c\x63urrent_page\x18\x01 \x01(\rR\x0c\x63urrent_page\x12\x12\n\x04\x66rom\x18\x02 \x01(\rR\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\rR\x02to\x12\x1c\n\tlast_page\x18\x04 \x01(\rR\tlast_page\x12\x1a\n\x08per_page\x18\x05 \x01(\rR\x08per_page\x12\x12\n\x04\x63ost\x18\x06 \x01(\x12R\x04\x63ost\x12\x14\n\x05total\x18\x07 \x01(\rR\x05total\x12\x34\n\x04\x64\x61ta\x18\x08 \x03(\x0b\x32 .com.fatehan.activities.WorkflowR\x04\x64\x61ta\"\xd1\x03\n\x0fWorkflowRequest\x12.\n\x12\x64isable_pagination\x18\x01 \x01(\x08R\x12\x64isable_pagination\x12\x17\n\x04page\x18\x02 \x01(\rH\x00R\x04page\x88\x01\x01\x12!\n\tpage_size\x18\x03 \x01(\rH\x01R\tpage_size\x88\x01\x01\x12-\n\x0forganization_id\x18\x04 \x01(\x04H\x02R\x0forganization_id\x88\x01\x01\x12Z\n\x0cquery_filter\x18\x08 \x03(\x0b\x32\x36.com.fatehan.services.WorkflowRequest.QueryFilterEntryR\x0cquery_filter\x12\x17\n\x04sort\x18\t \x01(\tH\x03R\x04sort\x88\x01\x01\x12\x19\n\x05order\x18\n \x01(\tH\x04R\x05order\x88\x01\x01\x1aU\n\x10QueryFilterEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.com.fatehan.services.FilterScope:\x02\x38\x01\x42\x07\n\x05_pageB\x0c\n\n_page_sizeB\x12\n\x10_organization_idB\x07\n\x05_sortB\x08\n\x06_order\"k\n\rConfigRequest\x12\x1b\n\x06\x64omain\x18\x01 \x01(\tH\x00R\x06\x64omain\x88\x01\x01\x12#\n\npartner_id\x18\x02 \x01(\x04H\x01R\npartner_id\x88\x01\x01\x42\t\n\x07_domainB\r\n\x0b_partner_id\"n\n\x0e\x43onfigResponse\x12\x12\n\x04\x63ost\x18\x01 \x01(\rR\x04\x63ost\x12\x18\n\x07records\x18\x02 \x01(\rR\x07records\x12.\n\x04list\x18\x03 \x03(\x0b\x32\x1a.com.fatehan.models.ConfigR\x04list\"\xdf\x04\n\rDeviceRequest\x12.\n\x12\x64isable_pagination\x18\x01 \x01(\x08R\x12\x64isable_pagination\x12\x17\n\x04page\x18\x02 \x01(\rH\x00R\x04page\x88\x01\x01\x12!\n\tpage_size\x18\x03 \x01(\rH\x01R\tpage_size\x88\x01\x01\x12-\n\x0forganization_id\x18\x04 \x01(\x04H\x02R\x0forganization_id\x88\x01\x01\x12#\n\ntracker_id\x18\x05 \x01(\x04H\x03R\ntracker_id\x88\x01\x01\x12\x1b\n\x06search\x18\x06 \x01(\tH\x04R\x06search\x88\x01\x01\x12\x34\n\x15include_device_status\x18\x07 \x01(\x08R\x15include_device_status\x12X\n\x0cquery_filter\x18\x08 \x03(\x0b\x32\x34.com.fatehan.services.DeviceRequest.QueryFilterEntryR\x0cquery_filter\x12\x17\n\x04sort\x18\t \x01(\tH\x05R\x04sort\x88\x01\x01\x12\x19\n\x05order\x18\n \x01(\tH\x06R\x05order\x88\x01\x01\x1aU\n\x10QueryFilterEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.com.fatehan.services.FilterScope:\x02\x38\x01\x42\x07\n\x05_pageB\x0c\n\n_page_sizeB\x12\n\x10_organization_idB\r\n\x0b_tracker_idB\t\n\x07_searchB\x07\n\x05_sortB\x08\n\x06_order\"\xf2\x01\n\x0e\x44\x65viceResponse\x12\"\n\x0c\x63urrent_page\x18\x01 \x01(\rR\x0c\x63urrent_page\x12\x12\n\x04\x66rom\x18\x02 \x01(\rR\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\rR\x02to\x12\x1c\n\tlast_page\x18\x04 \x01(\rR\tlast_page\x12\x1a\n\x08per_page\x18\x05 \x01(\rR\x08per_page\x12\x12\n\x04\x63ost\x18\x06 \x01(\x12R\x04\x63ost\x12\x14\n\x05total\x18\x07 \x01(\rR\x05total\x12\x34\n\x04\x64\x61ta\x18\x08 \x03(\x0b\x32 .com.fatehan.services.DeviceRepoR\x04\x64\x61ta\"<\n\tMeRequest\x12!\n\tdevice_id\x18\x01 \x01(\x04H\x00R\tdevice_id\x88\x01\x01\x42\x0c\n\n_device_id\"\x98\x03\n\nMeResponse\x12\x30\n\x04user\x18\x01 \x01(\x0b\x32\x1c.com.fatehan.identities.UserR\x04user\x12\x39\n\x06person\x18\x02 \x03(\x0b\x32 .com.fatehan.services.PersonRepoR\x07persons\x12?\n\ncurrencies\x18\x03 \x03(\x0b\x32\x1f.com.fatehan.financial.CurrencyR\ncurrencies\x12\x44\n\x0bpermissions\x18\x04 \x03(\x0b\x32\".com.fatehan.identities.PermissionR\x0bpermissions\x12=\n\x06\x64\x65vice\x18\x05 \x01(\x0b\x32 .com.fatehan.services.DeviceRepoH\x00R\x06\x64\x65vice\x88\x01\x01\x12\'\n\x0c\x64\x65vice_count\x18\x06 \x01(\rH\x01R\x0c\x64\x65vice_count\x88\x01\x01\x12\x12\n\x04\x63ost\x18\x07 \x01(\x12R\x04\x63ostB\t\n\x07_deviceB\x0f\n\r_device_count\"\xdd\x01\n\x10\x41reaIndexRequest\x12.\n\x12\x64isable_pagination\x18\x01 \x01(\x08R\x12\x64isable_pagination\x12\x17\n\x04page\x18\x02 \x01(\rH\x00R\x04page\x88\x01\x01\x12!\n\tpage_size\x18\x03 \x01(\rH\x01R\tpage_size\x88\x01\x01\x12*\n\x10organization_ids\x18\x04 \x03(\x04R\x10organization_ids\x12\x1a\n\x08\x61rea_ids\x18\x05 \x03(\x04R\x08\x61res_idsB\x07\n\x05_pageB\x0c\n\n_page_size\"\xec\x01\n\x11\x41reaIndexResponse\x12\"\n\x0c\x63urrent_page\x18\x01 \x01(\rR\x0c\x63urrent_page\x12\x12\n\x04\x66rom\x18\x02 \x01(\rR\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\rR\x02to\x12\x1c\n\tlast_page\x18\x04 \x01(\rR\tlast_page\x12\x1a\n\x08per_page\x18\x05 \x01(\rR\x08per_page\x12\x12\n\x04\x63ost\x18\x06 \x01(\x12R\x04\x63ost\x12\x14\n\x05total\x18\x07 \x01(\rR\x05total\x12+\n\x04\x64\x61ta\x18\x08 \x03(\x0b\x32\x17.com.fatehan.areas.AreaR\x04\x64\x61ta\"_\n\x10\x46ilterConditions\x12\x1f\n\x0b\x66ilter_type\x18\x01 \x01(\tR\nfilterType\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n\x06\x66ilter\x18\x03 \x01(\tR\x06\x66ilter\"\xc8\x02\n\x0b\x46ilterScope\x12\x1f\n\x0b\x66ilter_type\x18\x01 \x01(\tR\nfilterType\x12\x1f\n\x08operator\x18\x02 \x01(\tH\x00R\x08operator\x88\x01\x01\x12\x46\n\nconditions\x18\x03 \x03(\x0b\x32&.com.fatehan.services.FilterConditionsR\nconditions\x12\x1b\n\x06\x66ilter\x18\x07 \x01(\tH\x01R\x06\x66ilter\x88\x01\x01\x12 \n\tdate_from\x18\x04 \x01(\tH\x02R\x08\x64\x61teFrom\x88\x01\x01\x12\x1c\n\x07\x64\x61te_to\x18\x05 \x01(\tH\x03R\x06\x64\x61teTo\x88\x01\x01\x12\x17\n\x04type\x18\x06 \x01(\tH\x04R\x04type\x88\x01\x01\x42\x0b\n\t_operatorB\t\n\x07_filterB\x0c\n\n_date_fromB\n\n\x08_date_toB\x07\n\x05_type2\xf7\x04\n\nApiService\x12L\n\x07MeIndex\x12\x1f.com.fatehan.services.MeRequest\x1a .com.fatehan.services.MeResponse\x12\\\n\tAreaIndex\x12&.com.fatehan.services.AreaIndexRequest\x1a\'.com.fatehan.services.AreaIndexResponse\x12X\n\x0b\x44\x65viceIndex\x12#.com.fatehan.services.DeviceRequest\x1a$.com.fatehan.services.DeviceResponse\x12X\n\x0b\x43onfigIndex\x12#.com.fatehan.services.ConfigRequest\x1a$.com.fatehan.services.ConfigResponse\x12S\n\rWorkflowStore\x12 .com.fatehan.activities.Workflow\x1a .com.fatehan.activities.Workflow\x12T\n\x0eWorkflowUpdate\x12 .com.fatehan.activities.Workflow\x1a .com.fatehan.activities.Workflow\x12^\n\rWorkflowIndex\x12%.com.fatehan.services.WorkflowRequest\x1a&.com.fatehan.services.WorkflowResponseBgZ.github.com/FatehanProtocols/protocols/services\xca\x02\x14\x46\x61tehan\\Grpc\\Service\xe2\x02\x1d\x46\x61tehan\\Grpc\\Service\\MetaDatab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.api_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z.github.com/FatehanProtocols/protocols/services\312\002\024Fatehan\\Grpc\\Service\342\002\035Fatehan\\Grpc\\Service\\MetaData'
  _globals['_WORKFLOWREQUEST_QUERYFILTERENTRY']._loaded_options = None
  _globals['_WORKFLOWREQUEST_QUERYFILTERENTRY']._serialized_options = b'8\001'
  _globals['_DEVICEREQUEST_QUERYFILTERENTRY']._loaded_options = None
  _globals['_DEVICEREQUEST_QUERYFILTERENTRY']._serialized_options = b'8\001'
  _globals['_WORKFLOWRESPONSE']._serialized_start=196
  _globals['_WORKFLOWRESPONSE']._serialized_end=440
  _globals['_WORKFLOWREQUEST']._serialized_start=443
  _globals['_WORKFLOWREQUEST']._serialized_end=908
  _globals['_WORKFLOWREQUEST_QUERYFILTERENTRY']._serialized_start=761
  _globals['_WORKFLOWREQUEST_QUERYFILTERENTRY']._serialized_end=846
  _globals['_CONFIGREQUEST']._serialized_start=910
  _globals['_CONFIGREQUEST']._serialized_end=1017
  _globals['_CONFIGRESPONSE']._serialized_start=1019
  _globals['_CONFIGRESPONSE']._serialized_end=1129
  _globals['_DEVICEREQUEST']._serialized_start=1132
  _globals['_DEVICEREQUEST']._serialized_end=1739
  _globals['_DEVICEREQUEST_QUERYFILTERENTRY']._serialized_start=761
  _globals['_DEVICEREQUEST_QUERYFILTERENTRY']._serialized_end=846
  _globals['_DEVICERESPONSE']._serialized_start=1742
  _globals['_DEVICERESPONSE']._serialized_end=1984
  _globals['_MEREQUEST']._serialized_start=1986
  _globals['_MEREQUEST']._serialized_end=2046
  _globals['_MERESPONSE']._serialized_start=2049
  _globals['_MERESPONSE']._serialized_end=2457
  _globals['_AREAINDEXREQUEST']._serialized_start=2460
  _globals['_AREAINDEXREQUEST']._serialized_end=2681
  _globals['_AREAINDEXRESPONSE']._serialized_start=2684
  _globals['_AREAINDEXRESPONSE']._serialized_end=2920
  _globals['_FILTERCONDITIONS']._serialized_start=2922
  _globals['_FILTERCONDITIONS']._serialized_end=3017
  _globals['_FILTERSCOPE']._serialized_start=3020
  _globals['_FILTERSCOPE']._serialized_end=3348
  _globals['_APISERVICE']._serialized_start=3351
  _globals['_APISERVICE']._serialized_end=3982
# @@protoc_insertion_point(module_scope)
